@@ -25,7 +25,8 @@ import '@polymer/paper-listbox/paper-listbox';
25
25
import { PaperDialogElement } from '@polymer/paper-dialog/paper-dialog' ;
26
26
import { PaperInputElement } from '@polymer/paper-input/paper-input' ;
27
27
import { PaperListboxElement } from '@polymer/paper-listbox/paper-listbox' ;
28
- import { css , customElement , html , internalProperty , LitElement , property } from 'lit-element' ;
28
+ import { css , html , LitElement } from 'lit' ;
29
+ import { customElement , property } from 'lit/decorators.js' ;
29
30
30
31
import {
31
32
bytesToDisplayDataAmount ,
@@ -46,7 +47,7 @@ import {COMMON_STYLES} from './cloud-install-styles';
46
47
*/
47
48
@customElement ( 'outline-per-key-data-limit-dialog' )
48
49
export class OutlinePerKeyDataLimitDialog extends LitElement {
49
- static get styles ( ) {
50
+ static get css ( ) {
50
51
return [
51
52
COMMON_STYLES ,
52
53
css `
@@ -132,21 +133,21 @@ export class OutlinePerKeyDataLimitDialog extends LitElement {
132
133
/**
133
134
* @member _keyName The displayed name of the UI access key representing the key we're working on.
134
135
*/
135
- @internalProperty ( ) _keyName = '' ;
136
+ @property ( ) private _keyName = '' ;
136
137
/**
137
138
* @member _activeDataLimitBytes The data limit, if it exists, on the access key we're working on.
138
139
*/
139
- @internalProperty ( ) _initialDataLimitBytes : number = undefined ;
140
+ @property ( ) private _initialDataLimitBytes : number = undefined ;
140
141
/**
141
142
* @member _showDataLimit Whether the menu for inputting the data limit should be shown.
142
143
* Controlled by the checkbox.
143
144
*/
144
- @internalProperty ( ) _showDataLimit = false ;
145
+ @property ( ) private _showDataLimit = false ;
145
146
/**
146
147
* @member _enableSave Whether the save button is enabled. Controlled by the validator on the
147
148
* input.
148
149
*/
149
- @internalProperty ( ) _enableSave = false ;
150
+ @property ( ) private _enableSave = false ;
150
151
151
152
/**
152
153
* @member language The ISO 3166-1 alpha-2 language code used for i18n.
0 commit comments