@xdam/ember-partials 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +75 -75
  2. package/addon/components/xep-avatar.js +2 -15
  3. package/addon/components/xep-bubble.js +1 -6
  4. package/addon/components/xep-button.js +2 -20
  5. package/addon/components/xep-checkbox.js +1 -11
  6. package/addon/components/xep-chip-icon.js +0 -4
  7. package/addon/components/xep-chip-set.js +3 -11
  8. package/addon/components/xep-chip-text.js +0 -3
  9. package/addon/components/xep-chip.js +0 -7
  10. package/addon/components/xep-dialog-actions.js +0 -3
  11. package/addon/components/xep-dialog-content.js +0 -3
  12. package/addon/components/xep-dialog-title.js +0 -3
  13. package/addon/components/xep-dialog.js +2 -10
  14. package/addon/components/xep-drawer-content.js +0 -3
  15. package/addon/components/xep-drawer-header.js +0 -3
  16. package/addon/components/xep-drawer.js +2 -12
  17. package/addon/components/xep-input.js +1 -37
  18. package/addon/components/xep-list-divider.js +0 -5
  19. package/addon/components/xep-list-item-graphic.js +0 -3
  20. package/addon/components/xep-list-item-meta.js +0 -3
  21. package/addon/components/xep-list-item-text.js +1 -6
  22. package/addon/components/xep-list-item.js +0 -8
  23. package/addon/components/xep-list.js +2 -15
  24. package/addon/components/xep-menu-surface.js +1 -6
  25. package/addon/components/xep-menu.js +1 -13
  26. package/addon/components/xep-radio.js +1 -11
  27. package/addon/components/xep-slider.js +3 -18
  28. package/addon/components/xep-snackbar.js +1 -11
  29. package/addon/components/xep-switch.js +1 -9
  30. package/addon/components/xep-textarea.js +1 -37
  31. package/addon/components/xep-toolbar-divider.js +0 -3
  32. package/addon/components/xep-toolbar-item-icon.js +0 -3
  33. package/addon/components/xep-toolbar-item-text.js +0 -3
  34. package/addon/components/xep-toolbar-item.js +0 -4
  35. package/addon/components/xep-toolbar-section.js +1 -8
  36. package/addon/components/xep-toolbar.js +2 -17
  37. package/addon/services/xep-manager.js +1 -1
  38. package/package.json +124 -125
package/README.md CHANGED
@@ -1,75 +1,75 @@
1
- @xdam/ember-partials (xep)
2
- ==============================================================================
3
-
4
- Ember components for XDAM applications.
5
-
6
- - [@xdam/ember-partials (xep)](#xdamember-partials-xep)
7
- - [Installation](#installation)
8
- - [Usage](#usage)
9
- - [Contributing](#contributing)
10
- - [Installation](#installation-1)
11
- - [Linting](#linting)
12
- - [Running tests](#running-tests)
13
- - [Running the dummy application](#running-the-dummy-application)
14
-
15
-
16
- Compatibility
17
- ------------------------------------------------------------------------------
18
-
19
- * Ember.js v2.18 or above
20
- * Ember CLI v2.13 or above
21
-
22
-
23
- Installation
24
- ------------------------------------------------------------------------------
25
-
26
- > Note: This package does not provide prefixed styles (see ember-cli-autoprefixer).
27
-
28
- Usage
29
- ------------------------------------------------------------------------------
30
-
31
- Usage available in the dummy app available at [http://localhost:4200](http://localhost:4200).
32
-
33
-
34
- Contributing
35
- ------------------------------------------------------------------------------
36
-
37
- See the [Contributing](CONTRIBUTING.md) guide for details.
38
-
39
-
40
- License
41
- ------------------------------------------------------------------------------
42
-
43
- ### Installation
44
-
45
- * `git clone <repository-url>`
46
- * `cd ember-partials`
47
- * `yarn install`
48
-
49
- ### Linting
50
-
51
- Lint every kind:
52
-
53
- * `yarn lint`
54
-
55
- Or individually:
56
-
57
- * `yarn lint:js`
58
- * `yarn lint:js --fix`
59
- * `yarn lint:hbs`
60
- * `yarn lint:hbs --fix`
61
- * `yarn lint:scss`
62
- * `yarn lint:scss --fix`
63
-
64
- ### Running tests
65
-
66
- * `ember test` – Runs the test suite on the current Ember version
67
- * `ember test --server` – Runs the test suite in "watch mode"
68
- * `ember try:each` – Runs the test suite against multiple Ember versions
69
-
70
- ### Running the dummy application
71
-
72
- * `ember serve`
73
- * Visit the dummy application at [http://localhost:4200](http://localhost:4200).
74
-
75
- For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
1
+ @xdam/ember-partials (xep)
2
+ ==============================================================================
3
+
4
+ Ember components for XDAM applications.
5
+
6
+ - [@xdam/ember-partials (xep)](#xdamember-partials-xep)
7
+ - [Installation](#installation)
8
+ - [Usage](#usage)
9
+ - [Contributing](#contributing)
10
+ - [Installation](#installation-1)
11
+ - [Linting](#linting)
12
+ - [Running tests](#running-tests)
13
+ - [Running the dummy application](#running-the-dummy-application)
14
+
15
+
16
+ Compatibility
17
+ ------------------------------------------------------------------------------
18
+
19
+ * Ember.js v2.18 or above
20
+ * Ember CLI v2.13 or above
21
+
22
+
23
+ Installation
24
+ ------------------------------------------------------------------------------
25
+
26
+ > Note: This package does not provide prefixed styles (see ember-cli-autoprefixer).
27
+
28
+ Usage
29
+ ------------------------------------------------------------------------------
30
+
31
+ Usage available in the dummy app available at [http://localhost:4200](http://localhost:4200).
32
+
33
+
34
+ Contributing
35
+ ------------------------------------------------------------------------------
36
+
37
+ See the [Contributing](CONTRIBUTING.md) guide for details.
38
+
39
+
40
+ License
41
+ ------------------------------------------------------------------------------
42
+
43
+ ### Installation
44
+
45
+ * `git clone <repository-url>`
46
+ * `cd ember-partials`
47
+ * `yarn install`
48
+
49
+ ### Linting
50
+
51
+ Lint every kind:
52
+
53
+ * `yarn lint`
54
+
55
+ Or individually:
56
+
57
+ * `yarn lint:js`
58
+ * `yarn lint:js --fix`
59
+ * `yarn lint:hbs`
60
+ * `yarn lint:hbs --fix`
61
+ * `yarn lint:scss`
62
+ * `yarn lint:scss --fix`
63
+
64
+ ### Running tests
65
+
66
+ * `ember test` – Runs the test suite on the current Ember version
67
+ * `ember test --server` – Runs the test suite in "watch mode"
68
+ * `ember try:each` – Runs the test suite against multiple Ember versions
69
+
70
+ ### Running the dummy application
71
+
72
+ * `ember serve`
73
+ * Visit the dummy application at [http://localhost:4200](http://localhost:4200).
74
+
75
+ For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
@@ -3,10 +3,8 @@ import {
3
3
  } from '@ember-decorators/component';
4
4
  import Component from '@ember/component';
5
5
  import template from '@xdam/ember-partials/templates/components/xep-avatar';
6
- import { argument } from '@ember-decorators/argument';
7
- import { optional } from '@ember-decorators/argument/types';
8
- import { computed } from '@ember-decorators/object';
9
- import { inject as service } from '@ember-decorators/service';
6
+ import { computed } from '@ember/object';
7
+ import { inject as service } from '@ember/service';
10
8
 
11
9
  import styleString from '@xdam/ember-partials/utils/style-string';
12
10
 
@@ -29,7 +27,6 @@ export default class XepAvatarComponent extends Component {
29
27
  * @argument [testSelector]
30
28
  * @type {String}
31
29
  */
32
- @argument(optional('string'))
33
30
  @attribute('data-test-avatar')
34
31
  testSelector;
35
32
 
@@ -38,7 +35,6 @@ export default class XepAvatarComponent extends Component {
38
35
  * @argument [href]
39
36
  * @type {String}
40
37
  */
41
- @argument(optional('string'))
42
38
  @attribute
43
39
  href;
44
40
 
@@ -47,7 +43,6 @@ export default class XepAvatarComponent extends Component {
47
43
  * @argument [register]
48
44
  * @type {String}
49
45
  */
50
- @argument(optional('string'))
51
46
  register;
52
47
 
53
48
  /**
@@ -55,7 +50,6 @@ export default class XepAvatarComponent extends Component {
55
50
  * @argument [firstName]
56
51
  * @type {String}
57
52
  */
58
- @argument(optional('string'))
59
53
  firstName;
60
54
 
61
55
  /**
@@ -63,7 +57,6 @@ export default class XepAvatarComponent extends Component {
63
57
  * @argument [lastName]
64
58
  * @type {String}
65
59
  */
66
- @argument(optional('string'))
67
60
  lastName;
68
61
 
69
62
  /**
@@ -71,7 +64,6 @@ export default class XepAvatarComponent extends Component {
71
64
  * @argument [entityName]
72
65
  * @type {String}
73
66
  */
74
- @argument(optional('string'))
75
67
  entityName;
76
68
 
77
69
  /**
@@ -79,7 +71,6 @@ export default class XepAvatarComponent extends Component {
79
71
  * @argument [textContent]
80
72
  * @type {String}
81
73
  */
82
- @argument(optional('string'))
83
74
  textContent;
84
75
 
85
76
  /**
@@ -87,7 +78,6 @@ export default class XepAvatarComponent extends Component {
87
78
  * @argument [image]
88
79
  * @type {String}
89
80
  */
90
- @argument(optional('string'))
91
81
  image;
92
82
 
93
83
  /**
@@ -96,7 +86,6 @@ export default class XepAvatarComponent extends Component {
96
86
  * @argument [backgroundColor]
97
87
  * @type {String}
98
88
  */
99
- @argument(optional('string'))
100
89
  backgroundColor;
101
90
 
102
91
  /**
@@ -104,7 +93,6 @@ export default class XepAvatarComponent extends Component {
104
93
  * @argument [width]
105
94
  * @type {Number}
106
95
  */
107
- @argument('number')
108
96
  width = 32;
109
97
 
110
98
  /**
@@ -112,7 +100,6 @@ export default class XepAvatarComponent extends Component {
112
100
  * @argument [border]
113
101
  * @type {String}
114
102
  */
115
- @argument(optional('string'))
116
103
  border;
117
104
 
118
105
  /**
@@ -3,9 +3,7 @@ import {
3
3
  } from '@ember-decorators/component';
4
4
  import Component from '@ember/component';
5
5
  import template from '@xdam/ember-partials/templates/components/xep-bubble';
6
- import { argument } from '@ember-decorators/argument';
7
- import { optional } from '@ember-decorators/argument/types';
8
- import { inject as service } from '@ember-decorators/service';
6
+ import { inject as service } from '@ember/service';
9
7
 
10
8
  /**
11
9
  * Component description...
@@ -25,7 +23,6 @@ export default class XepBubbleComponent extends Component {
25
23
  * @argument [testSelector]
26
24
  * @type {String}
27
25
  */
28
- @argument(optional('string'))
29
26
  @attribute('data-test-bubble')
30
27
  testSelector;
31
28
 
@@ -34,7 +31,6 @@ export default class XepBubbleComponent extends Component {
34
31
  * @argument [floating]
35
32
  * @type {Boolean}
36
33
  */
37
- @argument(optional('boolean'))
38
34
  @className('xep-bubble--floating')
39
35
  floating;
40
36
 
@@ -43,7 +39,6 @@ export default class XepBubbleComponent extends Component {
43
39
  * @argument [register]
44
40
  * @type {String}
45
41
  */
46
- @argument(optional('string'))
47
42
  register;
48
43
 
49
44
  init() {
@@ -2,12 +2,9 @@ import Component from '@ember/component';
2
2
  import {
3
3
  classNames, attribute, className, tagName, layout,
4
4
  } from '@ember-decorators/component';
5
- import { argument } from '@ember-decorators/argument';
6
- import { computed } from '@ember-decorators/object';
7
- import { oneOf, optional, Action } from '@ember-decorators/argument/types';
8
- import EmberObject from '@ember/object';
5
+ import EmberObject, { computed } from '@ember/object';
9
6
  import template from '@xdam/ember-partials/templates/components/xep-button';
10
- import { inject as service } from '@ember-decorators/service';
7
+ import { inject as service } from '@ember/service';
11
8
 
12
9
  const VARIANT_TYPES = {
13
10
  // Defaults to a text button that is flush with the surface.
@@ -44,7 +41,6 @@ export default class XepButtonComponent extends Component {
44
41
  * @argument [testSelector]
45
42
  * @type {String}
46
43
  */
47
- @argument(optional('string'))
48
44
  @attribute('data-test-button')
49
45
  testSelector;
50
46
 
@@ -53,7 +49,6 @@ export default class XepButtonComponent extends Component {
53
49
  * @argument [tabindex]
54
50
  * @type {String}
55
51
  */
56
- @argument(optional('string'))
57
52
  @attribute
58
53
  title;
59
54
 
@@ -62,7 +57,6 @@ export default class XepButtonComponent extends Component {
62
57
  * @argument [tabindex]
63
58
  * @type {Number}
64
59
  */
65
- @argument(optional('number'))
66
60
  @attribute
67
61
  tabindex;
68
62
 
@@ -71,7 +65,6 @@ export default class XepButtonComponent extends Component {
71
65
  * @argument [type]
72
66
  * @type {String}
73
67
  */
74
- @argument(optional(oneOf('submit', 'reset', 'button')))
75
68
  @attribute
76
69
  type;
77
70
 
@@ -80,7 +73,6 @@ export default class XepButtonComponent extends Component {
80
73
  * @argument [name]
81
74
  * @type {String}
82
75
  */
83
- @argument(optional('string'))
84
76
  @attribute
85
77
  name;
86
78
 
@@ -89,7 +81,6 @@ export default class XepButtonComponent extends Component {
89
81
  * @argument [value]
90
82
  * @type {*}
91
83
  */
92
- @argument(optional('any'))
93
84
  @attribute
94
85
  value;
95
86
 
@@ -98,7 +89,6 @@ export default class XepButtonComponent extends Component {
98
89
  * @argument [disabled]
99
90
  * @type {Boolean}
100
91
  */
101
- @argument(optional('boolean'))
102
92
  @attribute
103
93
  disabled;
104
94
 
@@ -107,7 +97,6 @@ export default class XepButtonComponent extends Component {
107
97
  * @argument [dense]
108
98
  * @type {Boolean}
109
99
  */
110
- @argument(optional('boolean'))
111
100
  @className('mdc-button--dense')
112
101
  dense;
113
102
 
@@ -117,7 +106,6 @@ export default class XepButtonComponent extends Component {
117
106
  * @argument [active]
118
107
  * @type {Boolean}
119
108
  */
120
- @argument(optional('boolean'))
121
109
  @className('xep-button--active')
122
110
  active;
123
111
 
@@ -126,7 +114,6 @@ export default class XepButtonComponent extends Component {
126
114
  * @argument [dialogActionName]
127
115
  * @type {String}
128
116
  */
129
- @argument(optional('string'))
130
117
  @attribute('data-mdc-dialog-action')
131
118
  dialogActionName;
132
119
 
@@ -135,7 +122,6 @@ export default class XepButtonComponent extends Component {
135
122
  * @argument [dialogActionName]
136
123
  * @type {Boolean}
137
124
  */
138
- @argument(optional('boolean'))
139
125
  @className('mdc-dialog__button--default')
140
126
  dialogDefaultAction;
141
127
 
@@ -144,7 +130,6 @@ export default class XepButtonComponent extends Component {
144
130
  * @argument [register]
145
131
  * @type {String}
146
132
  */
147
- @argument(optional('string'))
148
133
  register;
149
134
 
150
135
  /**
@@ -152,7 +137,6 @@ export default class XepButtonComponent extends Component {
152
137
  * @argument [click]
153
138
  * @type {Action}
154
139
  */
155
- @argument(optional(Action))
156
140
  click;
157
141
 
158
142
  /**
@@ -160,7 +144,6 @@ export default class XepButtonComponent extends Component {
160
144
  * @argument variant
161
145
  * @type {String}
162
146
  */
163
- @argument(optional(oneOf(...Object.keys(VARIANT_TYPES))))
164
147
  variant = 'standard';
165
148
 
166
149
  // Map of classNames for each variant type
@@ -186,7 +169,6 @@ export default class XepButtonComponent extends Component {
186
169
  * @argument color
187
170
  * @type {String}
188
171
  */
189
- @argument('string')
190
172
  color = 'primary';
191
173
 
192
174
  /**
@@ -3,11 +3,9 @@ import {
3
3
  } from '@ember-decorators/component';
4
4
  import Component from '@ember/component';
5
5
  import template from '@xdam/ember-partials/templates/components/xep-checkbox';
6
- import { argument } from '@ember-decorators/argument';
7
- import { optional } from '@ember-decorators/argument/types';
8
6
  import { guidFor } from '@ember/object/internals';
9
7
  import { MDCCheckbox } from '@material/checkbox';
10
- import { inject as service } from '@ember-decorators/service';
8
+ import { inject as service } from '@ember/service';
11
9
  import { addEventListener, runDisposables } from 'ember-lifeline';
12
10
 
13
11
  import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
@@ -29,7 +27,6 @@ export default class XepCheckboxComponent extends Component {
29
27
  * @argument [testSelector]
30
28
  * @type {String}
31
29
  */
32
- @argument(optional('string'))
33
30
  @attribute('data-test-checkbox')
34
31
  testSelector;
35
32
 
@@ -38,7 +35,6 @@ export default class XepCheckboxComponent extends Component {
38
35
  * @argument [register]
39
36
  * @type {String}
40
37
  */
41
- @argument(optional('string'))
42
38
  register;
43
39
 
44
40
  /**
@@ -46,7 +42,6 @@ export default class XepCheckboxComponent extends Component {
46
42
  * @argument [checkboxId]
47
43
  * @type {String}
48
44
  */
49
- @argument('string')
50
45
  checkboxId = guidFor(Symbol('Input Id'));
51
46
 
52
47
  /**
@@ -54,7 +49,6 @@ export default class XepCheckboxComponent extends Component {
54
49
  * @argument [label]
55
50
  * @type {String}
56
51
  */
57
- @argument(optional('string'))
58
52
  label;
59
53
 
60
54
  /**
@@ -62,7 +56,6 @@ export default class XepCheckboxComponent extends Component {
62
56
  * @argument [checked]
63
57
  * @type {String}
64
58
  */
65
- @argument(optional('boolean'))
66
59
  checked;
67
60
 
68
61
  /**
@@ -70,7 +63,6 @@ export default class XepCheckboxComponent extends Component {
70
63
  * @argument [value]
71
64
  * @type {String}
72
65
  */
73
- @argument(optional('string'))
74
66
  value;
75
67
 
76
68
  /**
@@ -78,7 +70,6 @@ export default class XepCheckboxComponent extends Component {
78
70
  * @argument [indeterminate]
79
71
  * @type {String}
80
72
  */
81
- @argument(optional('boolean'))
82
73
  indeterminate;
83
74
 
84
75
  /**
@@ -86,7 +77,6 @@ export default class XepCheckboxComponent extends Component {
86
77
  * @argument [disabled]
87
78
  * @type {String}
88
79
  */
89
- @argument(optional('boolean'))
90
80
  disabled;
91
81
 
92
82
  trackedProps = ['indeterminate', 'disabled', 'checked', 'value'];
@@ -3,8 +3,6 @@ import {
3
3
  classNames, layout, attribute,
4
4
  } from '@ember-decorators/component';
5
5
  import template from '@xdam/ember-partials/templates/components/xep-chip-icon';
6
- import { argument } from '@ember-decorators/argument';
7
- import { optional, Action } from '@ember-decorators/argument/types';
8
6
 
9
7
  /**
10
8
  * You can optionally add a leading icon (i.e. thumbnail) and/or a trailing “remove” icon to a chip.
@@ -23,7 +21,6 @@ export default class XepChipIconComponent extends Component {
23
21
  * @argument [testSelector]
24
22
  * @type {String}
25
23
  */
26
- @argument(optional('string'))
27
24
  @attribute('data-test-chip-icon')
28
25
  testSelector;
29
26
 
@@ -32,6 +29,5 @@ export default class XepChipIconComponent extends Component {
32
29
  * @argument [click]
33
30
  * @type {Action}
34
31
  */
35
- @argument(optional(Action))
36
32
  click;
37
33
  }
@@ -1,18 +1,13 @@
1
- import {
2
- oneOf, optional,
3
- } from '@ember-decorators/argument/types';
4
1
  import Component from '@ember/component';
5
2
  import {
6
3
  classNames, layout, className, attribute,
7
4
  } from '@ember-decorators/component';
8
5
  import template from '@xdam/ember-partials/templates/components/xep-chip-set';
9
- import { alias } from '@ember-decorators/object/computed';
10
- import { argument } from '@ember-decorators/argument';
11
- import { inject as service } from '@ember-decorators/service';
12
- import { computed } from '@ember-decorators/object';
6
+ import { alias } from '@ember/object/computed';
7
+ import { inject as service } from '@ember/service';
13
8
  import { MDCChipSet } from '@material/chips';
14
9
  import { addEventListener, runDisposables } from 'ember-lifeline';
15
- import EmberObject from '@ember/object';
10
+ import EmberObject, { computed } from '@ember/object';
16
11
 
17
12
  const VARIANT_TYPES = {
18
13
  standard: '',
@@ -53,7 +48,6 @@ export default class XepChipSetComponent extends Component {
53
48
  * @argument [testSelector]
54
49
  * @type {String}
55
50
  */
56
- @argument(optional('string'))
57
51
  @attribute('data-test-chip-set')
58
52
  testSelector;
59
53
 
@@ -62,7 +56,6 @@ export default class XepChipSetComponent extends Component {
62
56
  * @argument [register]
63
57
  * @type {String}
64
58
  */
65
- @argument(optional('string'))
66
59
  register;
67
60
 
68
61
  /**
@@ -70,7 +63,6 @@ export default class XepChipSetComponent extends Component {
70
63
  * @argument variant
71
64
  * @type {String}
72
65
  */
73
- @argument(optional(oneOf(...Object.keys(VARIANT_TYPES))))
74
66
  variant = 'standard';
75
67
 
76
68
  // Map of classNames for each variant type
@@ -1,8 +1,6 @@
1
1
  import Component from '@ember/component';
2
2
  import { classNames, layout, attribute } from '@ember-decorators/component';
3
3
  import template from '@xdam/ember-partials/templates/components/xep-chip-text';
4
- import { argument } from '@ember-decorators/argument';
5
- import { optional } from '@ember-decorators/argument/types';
6
4
 
7
5
  @layout(template)
8
6
  @classNames('xep-chip-text', 'mdc-chip__text')
@@ -12,7 +10,6 @@ export default class XepChipTextComponent extends Component {
12
10
  * @argument [testSelector]
13
11
  * @type {String}
14
12
  */
15
- @argument(optional('string'))
16
13
  @attribute('data-test-chip-text')
17
14
  testSelector;
18
15
  }
@@ -3,8 +3,6 @@ import {
3
3
  } from '@ember-decorators/component';
4
4
  import Component from '@ember/component';
5
5
  import template from '@xdam/ember-partials/templates/components/xep-chip';
6
- import { argument } from '@ember-decorators/argument';
7
- import { optional } from '@ember-decorators/argument/types';
8
6
  import { addEventListener, runDisposables } from 'ember-lifeline';
9
7
 
10
8
  /**
@@ -24,7 +22,6 @@ export default class XepChipComponent extends Component {
24
22
  * @argument [testSelector]
25
23
  * @type {String}
26
24
  */
27
- @argument(optional('string'))
28
25
  @attribute('data-test-chip')
29
26
  testSelector;
30
27
 
@@ -33,7 +30,6 @@ export default class XepChipComponent extends Component {
33
30
  * @argument [tabindex]
34
31
  * @type {Number}
35
32
  */
36
- @argument(optional('number'))
37
33
  @attribute
38
34
  tabindex = 0;
39
35
 
@@ -42,7 +38,6 @@ export default class XepChipComponent extends Component {
42
38
  * @argument [elementId]
43
39
  * @type {String}
44
40
  */
45
- @argument(optional('string'))
46
41
  elementId;
47
42
 
48
43
  /**
@@ -50,7 +45,6 @@ export default class XepChipComponent extends Component {
50
45
  * @argument [selected]
51
46
  * @type {Boolean}
52
47
  */
53
- @argument('boolean')
54
48
  @className('mdc-chip--selected')
55
49
  selected = false;
56
50
 
@@ -60,7 +54,6 @@ export default class XepChipComponent extends Component {
60
54
  * @argument variant
61
55
  * @type {String}
62
56
  */
63
- @argument('string')
64
57
  variant;
65
58
 
66
59
  didInsertElement() {
@@ -3,8 +3,6 @@ import {
3
3
  classNames, layout, tagName, attribute,
4
4
  } from '@ember-decorators/component';
5
5
  import template from '@xdam/ember-partials/templates/components/xep-dialog-actions';
6
- import { argument } from '@ember-decorators/argument';
7
- import { optional } from '@ember-decorators/argument/types';
8
6
 
9
7
  @tagName('footer')
10
8
  @layout(template)
@@ -15,7 +13,6 @@ export default class XepDialogActionsComponent extends Component {
15
13
  * @argument [testSelector]
16
14
  * @type {String}
17
15
  */
18
- @argument(optional('string'))
19
16
  @attribute('data-test-dialog-actions')
20
17
  testSelector;
21
18
  }
@@ -1,8 +1,6 @@
1
1
  import Component from '@ember/component';
2
2
  import { classNames, layout, attribute } from '@ember-decorators/component';
3
3
  import template from '@xdam/ember-partials/templates/components/xep-dialog-content';
4
- import { argument } from '@ember-decorators/argument';
5
- import { optional } from '@ember-decorators/argument/types';
6
4
 
7
5
  @layout(template)
8
6
  @classNames('xep-dialog-content', 'mdc-dialog__content')
@@ -12,7 +10,6 @@ export default class XepDialogContentComponent extends Component {
12
10
  * @argument [testSelector]
13
11
  * @type {String}
14
12
  */
15
- @argument(optional('string'))
16
13
  @attribute('data-test-dialog-content')
17
14
  testSelector;
18
15
  }
@@ -1,8 +1,6 @@
1
1
  import Component from '@ember/component';
2
2
  import { classNames, layout, attribute } from '@ember-decorators/component';
3
3
  import template from '@xdam/ember-partials/templates/components/xep-dialog-title';
4
- import { argument } from '@ember-decorators/argument';
5
- import { optional } from '@ember-decorators/argument/types';
6
4
 
7
5
  @layout(template)
8
6
  @classNames('xep-dialog-title', 'mdc-dialog__title')
@@ -12,7 +10,6 @@ export default class XepDialogTitleComponent extends Component {
12
10
  * @argument [testSelector]
13
11
  * @type {String}
14
12
  */
15
- @argument(optional('string'))
16
13
  @attribute('data-test-dialog-title')
17
14
  testSelector;
18
15
  }