@xdam/ember-partials 0.15.0 → 0.15.2
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.
- package/addon/components/xep-avatar.js +2 -0
- package/addon/components/xep-bubble.js +2 -0
- package/addon/components/xep-button.js +2 -0
- package/addon/components/xep-checkbox.js +2 -0
- package/addon/components/xep-chip-set.js +2 -0
- package/addon/components/xep-chip.js +2 -0
- package/addon/components/xep-dialog.js +2 -0
- package/addon/components/xep-drawer.js +2 -0
- package/addon/components/xep-input.js +2 -0
- package/addon/components/xep-list-item.js +2 -0
- package/addon/components/xep-list.js +2 -0
- package/addon/components/xep-menu.js +2 -0
- package/addon/components/xep-radio.js +2 -0
- package/addon/components/xep-slider.js +2 -0
- package/addon/components/xep-snackbar.js +2 -0
- package/addon/components/xep-switch.js +2 -0
- package/addon/components/xep-textarea.js +2 -0
- package/addon/components/xep-toolbar.js +2 -0
- package/package.json +3 -2
|
@@ -5,6 +5,7 @@ import Component from '@ember/component';
|
|
|
5
5
|
import template from '@xdam/ember-partials/templates/components/xep-avatar';
|
|
6
6
|
import { computed } from '@ember/object';
|
|
7
7
|
import { inject as service } from '@ember/service';
|
|
8
|
+
import classic from 'ember-classic-decorator';
|
|
8
9
|
|
|
9
10
|
import styleString from '@xdam/ember-partials/utils/style-string';
|
|
10
11
|
|
|
@@ -15,6 +16,7 @@ import styleString from '@xdam/ember-partials/utils/style-string';
|
|
|
15
16
|
* @class XepAvatar
|
|
16
17
|
* @public
|
|
17
18
|
*/
|
|
19
|
+
@classic
|
|
18
20
|
@tagName('a')
|
|
19
21
|
@layout(template)
|
|
20
22
|
@classNames('xep-avatar')
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
import Component from '@ember/component';
|
|
5
5
|
import template from '@xdam/ember-partials/templates/components/xep-bubble';
|
|
6
6
|
import { inject as service } from '@ember/service';
|
|
7
|
+
import classic from 'ember-classic-decorator';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Component description...
|
|
@@ -11,6 +12,7 @@ import { inject as service } from '@ember/service';
|
|
|
11
12
|
* @class XepBubble
|
|
12
13
|
* @public
|
|
13
14
|
*/
|
|
15
|
+
@classic
|
|
14
16
|
@tagName('span')
|
|
15
17
|
@layout(template)
|
|
16
18
|
@classNames('xep-bubble')
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
import EmberObject, { computed } from '@ember/object';
|
|
6
6
|
import template from '@xdam/ember-partials/templates/components/xep-button';
|
|
7
7
|
import { inject as service } from '@ember/service';
|
|
8
|
+
import classic from 'ember-classic-decorator';
|
|
8
9
|
|
|
9
10
|
const VARIANT_TYPES = {
|
|
10
11
|
// Defaults to a text button that is flush with the surface.
|
|
@@ -29,6 +30,7 @@ const VARIANT_TYPES = {
|
|
|
29
30
|
* @yield {Hash} button
|
|
30
31
|
* @yield {Boolean} button.active
|
|
31
32
|
*/
|
|
33
|
+
@classic
|
|
32
34
|
@layout(template)
|
|
33
35
|
@tagName('button')
|
|
34
36
|
@classNames('xep-button', 'mdc-button')
|
|
@@ -7,6 +7,7 @@ import { guidFor } from '@ember/object/internals';
|
|
|
7
7
|
import { MDCCheckbox } from '@material/checkbox';
|
|
8
8
|
import { inject as service } from '@ember/service';
|
|
9
9
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
10
|
+
import classic from 'ember-classic-decorator';
|
|
10
11
|
|
|
11
12
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
16
17
|
* @class XepCheckbox
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
20
|
+
@classic
|
|
19
21
|
@layout(template)
|
|
20
22
|
@classNames('xep-checkbox', 'mdc-form-field')
|
|
21
23
|
export default class XepCheckboxComponent extends Component {
|
|
@@ -8,6 +8,7 @@ import { inject as service } from '@ember/service';
|
|
|
8
8
|
import { MDCChipSet } from '@material/chips';
|
|
9
9
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
10
10
|
import EmberObject, { computed } from '@ember/object';
|
|
11
|
+
import classic from 'ember-classic-decorator';
|
|
11
12
|
|
|
12
13
|
const VARIANT_TYPES = {
|
|
13
14
|
standard: '',
|
|
@@ -28,6 +29,7 @@ const VARIANT_TYPES = {
|
|
|
28
29
|
* @yield {Hash} chips
|
|
29
30
|
* @yield {XepChip} chips.chip
|
|
30
31
|
*/
|
|
32
|
+
@classic
|
|
31
33
|
@layout(template)
|
|
32
34
|
@classNames('xep-chip-set', 'mdc-chip-set')
|
|
33
35
|
export default class XepChipSetComponent extends Component {
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
import Component from '@ember/component';
|
|
5
5
|
import template from '@xdam/ember-partials/templates/components/xep-chip';
|
|
6
6
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
7
|
+
import classic from 'ember-classic-decorator';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Chips are compact elements that allow users to enter information, select a choice, filter content,
|
|
@@ -14,6 +15,7 @@ import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
|
14
15
|
* @yield {Hash} chip
|
|
15
16
|
* @yield {XepChipText} chip.text
|
|
16
17
|
*/
|
|
18
|
+
@classic
|
|
17
19
|
@layout(template)
|
|
18
20
|
@classNames('xep-chip', 'mdc-chip')
|
|
19
21
|
export default class XepChipComponent extends Component {
|
|
@@ -4,6 +4,7 @@ import Component from '@ember/component';
|
|
|
4
4
|
import { inject as service } from '@ember/service';
|
|
5
5
|
import { MDCDialog } from '@material/dialog';
|
|
6
6
|
import { alias, readOnly } from '@ember/object/computed';
|
|
7
|
+
import classic from 'ember-classic-decorator';
|
|
7
8
|
|
|
8
9
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
9
10
|
|
|
@@ -20,6 +21,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
20
21
|
* @yield {XepDialogTitle} dialog.title
|
|
21
22
|
* @yield {XepDialogActions} dialog.actions
|
|
22
23
|
*/
|
|
24
|
+
@classic
|
|
23
25
|
@layout(template)
|
|
24
26
|
@classNames('xep-dialog', 'mdc-dialog')
|
|
25
27
|
export default class XepDialogComponent extends Component {
|
|
@@ -7,6 +7,7 @@ import { MDCDrawer } from '@material/drawer';
|
|
|
7
7
|
import EmberObject, { computed } from '@ember/object';
|
|
8
8
|
import { inject as service } from '@ember/service';
|
|
9
9
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
10
|
+
import classic from 'ember-classic-decorator';
|
|
10
11
|
|
|
11
12
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
12
13
|
|
|
@@ -26,6 +27,7 @@ const POSITION_TYPES = {
|
|
|
26
27
|
* @class XepDrawer
|
|
27
28
|
* @public
|
|
28
29
|
*/
|
|
30
|
+
@classic
|
|
29
31
|
@tagName('aside')
|
|
30
32
|
@layout(template)
|
|
31
33
|
@classNames('xep-drawer', 'mdc-drawer')
|
|
@@ -6,6 +6,7 @@ import { MDCTextField, MDCTextFieldHelperText } from '@material/textfield';
|
|
|
6
6
|
import template from '@xdam/ember-partials/templates/components/xep-input';
|
|
7
7
|
import { guidFor } from '@ember/object/internals';
|
|
8
8
|
import { inject as service } from '@ember/service';
|
|
9
|
+
import classic from 'ember-classic-decorator';
|
|
9
10
|
|
|
10
11
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
11
12
|
|
|
@@ -16,6 +17,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
16
17
|
* @class XepInput
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
20
|
+
@classic
|
|
19
21
|
@layout(template)
|
|
20
22
|
@classNames('xep-input', 'mdc-text-field')
|
|
21
23
|
export default class XepInputComponent extends Component {
|
|
@@ -3,6 +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-list-item';
|
|
6
|
+
import classic from 'ember-classic-decorator';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* An item contained within a xep-list component.
|
|
@@ -13,6 +14,7 @@ import template from '@xdam/ember-partials/templates/components/xep-list-item';
|
|
|
13
14
|
* @yield {XepListItemText} item.text
|
|
14
15
|
* @yield {XepListItemMeta} item.meta
|
|
15
16
|
*/
|
|
17
|
+
@classic
|
|
16
18
|
@layout(template)
|
|
17
19
|
@classNames('xep-list-item', 'mdc-list-item')
|
|
18
20
|
export default class XepListItemComponent extends Component {
|
|
@@ -6,6 +6,7 @@ import { MDCList } from '@material/list';
|
|
|
6
6
|
import template from '@xdam/ember-partials/templates/components/xep-list';
|
|
7
7
|
import { inject as service } from '@ember/service';
|
|
8
8
|
import { alias } from '@ember/object/computed';
|
|
9
|
+
import classic from 'ember-classic-decorator';
|
|
9
10
|
|
|
10
11
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
11
12
|
|
|
@@ -17,6 +18,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
17
18
|
* @yield {XepListItem} list.item
|
|
18
19
|
* @yield {XepListDivider} list.divider
|
|
19
20
|
*/
|
|
21
|
+
@classic
|
|
20
22
|
@layout(template)
|
|
21
23
|
@classNames('xep-list', 'mdc-list')
|
|
22
24
|
export default class XepListComponent extends Component {
|
|
@@ -4,6 +4,7 @@ import template from '@xdam/ember-partials/templates/components/xep-menu';
|
|
|
4
4
|
import { MDCMenuSurface, Corner } from '@material/menu-surface';
|
|
5
5
|
import { inject as service } from '@ember/service';
|
|
6
6
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
7
|
+
import classic from 'ember-classic-decorator';
|
|
7
8
|
|
|
8
9
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
9
10
|
|
|
@@ -16,6 +17,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
16
17
|
* @yield {Hash} menu
|
|
17
18
|
* @yield {XepList} menu.list Menu content requires using XepList component
|
|
18
19
|
*/
|
|
20
|
+
@classic
|
|
19
21
|
@layout(template)
|
|
20
22
|
@classNames('xep-menu', 'mdc-menu', 'mdc-menu-surface')
|
|
21
23
|
export default class XepMenuComponent extends Component {
|
|
@@ -6,6 +6,7 @@ import { MDCRadio } from '@material/radio';
|
|
|
6
6
|
import { guidFor } from '@ember/object/internals';
|
|
7
7
|
import { inject as service } from '@ember/service';
|
|
8
8
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
9
|
+
import classic from 'ember-classic-decorator';
|
|
9
10
|
|
|
10
11
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
11
12
|
|
|
@@ -15,6 +16,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
15
16
|
* @class XepRadio
|
|
16
17
|
* @public
|
|
17
18
|
*/
|
|
19
|
+
@classic
|
|
18
20
|
@layout(template)
|
|
19
21
|
@classNames('xep-radio', 'mdc-form-field')
|
|
20
22
|
export default class XepRadioComponent extends Component {
|
|
@@ -8,6 +8,7 @@ import { alias } from '@ember/object/computed';
|
|
|
8
8
|
import EmberObject, { computed } from '@ember/object';
|
|
9
9
|
import { inject as service } from '@ember/service';
|
|
10
10
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
11
|
+
import classic from 'ember-classic-decorator';
|
|
11
12
|
|
|
12
13
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
13
14
|
|
|
@@ -23,6 +24,7 @@ const VARIANT_TYPES = {
|
|
|
23
24
|
* @class XepSlider
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
27
|
+
@classic
|
|
26
28
|
@layout(template)
|
|
27
29
|
@classNames('xep-slider', 'mdc-slider')
|
|
28
30
|
export default class XepSliderComponent extends Component {
|
|
@@ -5,6 +5,7 @@ import Component from '@ember/component';
|
|
|
5
5
|
import template from '@xdam/ember-partials/templates/components/xep-snackbar';
|
|
6
6
|
import { MDCSnackbar } from '@material/snackbar';
|
|
7
7
|
import { inject as service } from '@ember/service';
|
|
8
|
+
import classic from 'ember-classic-decorator';
|
|
8
9
|
|
|
9
10
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
10
11
|
|
|
@@ -17,6 +18,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
17
18
|
* @class XepSnackbar
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
21
|
+
@classic
|
|
20
22
|
@layout(template)
|
|
21
23
|
@classNames('xep-snackbar', 'mdc-snackbar')
|
|
22
24
|
export default class XepSnackbarComponent extends Component {
|
|
@@ -5,6 +5,7 @@ import { MDCSwitch } from '@material/switch';
|
|
|
5
5
|
import { guidFor } from '@ember/object/internals';
|
|
6
6
|
import { inject as service } from '@ember/service';
|
|
7
7
|
import { addEventListener, runDisposables } from 'ember-lifeline';
|
|
8
|
+
import classic from 'ember-classic-decorator';
|
|
8
9
|
|
|
9
10
|
import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
10
11
|
|
|
@@ -14,6 +15,7 @@ import updateDirtyProps from '@xdam/ember-partials/utils/update-dirty-props';
|
|
|
14
15
|
* @class XepSwitch
|
|
15
16
|
* @public
|
|
16
17
|
*/
|
|
18
|
+
@classic
|
|
17
19
|
@layout(template)
|
|
18
20
|
@classNames('xep-switch')
|
|
19
21
|
export default class XepSwitchComponent extends Component {
|
|
@@ -6,6 +6,7 @@ import { MDCTextField, MDCTextFieldHelperText } from '@material/textfield';
|
|
|
6
6
|
import template from '@xdam/ember-partials/templates/components/xep-textarea';
|
|
7
7
|
import { guidFor } from '@ember/object/internals';
|
|
8
8
|
import { inject as service } from '@ember/service';
|
|
9
|
+
import classic from 'ember-classic-decorator';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Component `<textarea>` element. Implements [material design's
|
|
@@ -15,6 +16,7 @@ import { inject as service } from '@ember/service';
|
|
|
15
16
|
* @class XepTextarea
|
|
16
17
|
* @public
|
|
17
18
|
*/
|
|
19
|
+
@classic
|
|
18
20
|
@layout(template)
|
|
19
21
|
@classNames('xep-textarea', 'mdc-text-field', 'mdc-text-field--textarea')
|
|
20
22
|
export default class XepTextareaComponent extends Component {
|
|
@@ -5,6 +5,7 @@ import template from '@xdam/ember-partials/templates/components/xep-toolbar';
|
|
|
5
5
|
import Component from '@ember/component';
|
|
6
6
|
import EmberObject, { computed } from '@ember/object';
|
|
7
7
|
import { inject as service } from '@ember/service';
|
|
8
|
+
import classic from 'ember-classic-decorator';
|
|
8
9
|
|
|
9
10
|
import styleString from '@xdam/ember-partials/utils/style-string';
|
|
10
11
|
|
|
@@ -24,6 +25,7 @@ const VARIANT_TYPES = {
|
|
|
24
25
|
* @yield {Hash} toolbar
|
|
25
26
|
* @yield {Hash} toolbar.section
|
|
26
27
|
*/
|
|
28
|
+
@classic
|
|
27
29
|
@layout(template)
|
|
28
30
|
@classNames('xep-toolbar')
|
|
29
31
|
export default class XepToolbarComponent extends Component {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xdam/ember-partials",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Xdam Ember Partials https://xdam.github.io/ember-partials/versions/development/",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -56,10 +56,11 @@
|
|
|
56
56
|
"broccoli-funnel": "3.0.8",
|
|
57
57
|
"broccoli-merge-trees": "4.2.0",
|
|
58
58
|
"ember-auto-import": "1.5.3",
|
|
59
|
+
"ember-classic-decorator": "2.0.1",
|
|
59
60
|
"ember-cli-babel": "^7.13.0",
|
|
60
61
|
"ember-cli-htmlbars": "^4.2.0",
|
|
61
62
|
"ember-cli-sass": "11.0.1",
|
|
62
|
-
"ember-composable-helpers": "
|
|
63
|
+
"ember-composable-helpers": "4.5.0",
|
|
63
64
|
"ember-decorators": "^6.1.0",
|
|
64
65
|
"ember-truth-helpers": "2.1.0",
|
|
65
66
|
"resize-observer-polyfill": "1.5.1",
|