@xdam/ember-partials 2.0.0 → 2.0.3

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.
@@ -0,0 +1,9 @@
1
+ <footer
2
+ class="xep-dialog-actions mdc-dialog__actions"
3
+ data-test-dialog-actions={{@testSelector}}
4
+ >
5
+ {{yield
6
+ (hash
7
+ button=(component "xep-button" class="mdc-dialog__button"))
8
+ }}
9
+ </footer>
@@ -1,18 +1,3 @@
1
- import Component from '@ember/component';
2
- import {
3
- classNames, layout, tagName, attribute,
4
- } from '@ember-decorators/component';
5
- import template from '@xdam/ember-partials/templates/components/xep-dialog-actions';
1
+ import Component from '@glimmer/component';
6
2
 
7
- @tagName('footer')
8
- @layout(template)
9
- @classNames('xep-dialog-actions', 'mdc-dialog__actions')
10
- export default class XepDialogActionsComponent extends Component {
11
- /**
12
- * Add a test selector for data attribute: `[data-test-dialog-actions]`
13
- * @argument [testSelector]
14
- * @type {String}
15
- */
16
- @attribute('data-test-dialog-actions')
17
- testSelector;
18
- }
3
+ export default class XepDialogActionsComponent extends Component {}
@@ -0,0 +1,6 @@
1
+ <div
2
+ class="xep-dialog-content mdc-dialog__content"
3
+ data-test-dialog-content={{@testSelector}}
4
+ >
5
+ {{yield}}
6
+ </div>
@@ -1,15 +1,3 @@
1
- import Component from '@ember/component';
2
- import { classNames, layout, attribute } from '@ember-decorators/component';
3
- import template from '@xdam/ember-partials/templates/components/xep-dialog-content';
1
+ import Component from '@glimmer/component';
4
2
 
5
- @layout(template)
6
- @classNames('xep-dialog-content', 'mdc-dialog__content')
7
- export default class XepDialogContentComponent extends Component {
8
- /**
9
- * Add a test selector for data attribute: `[data-test-dialog-content]`
10
- * @argument [testSelector]
11
- * @type {String}
12
- */
13
- @attribute('data-test-dialog-content')
14
- testSelector;
15
- }
3
+ export default class XepDialogContentComponent extends Component {}
@@ -0,0 +1,2 @@
1
+ {{!-- template-lint-disable attribute-indentation --}}
2
+ <div class="xep-dialog-title mdc-dialog__title" data-test-dialog-title={{@testSelector}}>{{yield}}</div>
@@ -1,15 +1,3 @@
1
- import Component from '@ember/component';
2
- import { classNames, layout, attribute } from '@ember-decorators/component';
3
- import template from '@xdam/ember-partials/templates/components/xep-dialog-title';
1
+ import Component from '@glimmer/component';
4
2
 
5
- @layout(template)
6
- @classNames('xep-dialog-title', 'mdc-dialog__title')
7
- export default class XepDialogTitleComponent extends Component {
8
- /**
9
- * Add a test selector for data attribute: `[data-test-dialog-title]`
10
- * @argument [testSelector]
11
- * @type {String}
12
- */
13
- @attribute('data-test-dialog-title')
14
- testSelector;
15
- }
3
+ export default class XepDialogTitleComponent extends Component {}
@@ -0,0 +1,6 @@
1
+ <span
2
+ class="xep-list-item-graphic mdc-list-item__graphic"
3
+ data-test-list-item-graphic={{@testSelector}}
4
+ >
5
+ {{yield}}
6
+ </span>
@@ -1,18 +1,3 @@
1
- import Component from '@ember/component';
2
- import {
3
- classNames, layout, tagName, attribute,
4
- } from '@ember-decorators/component';
5
- import template from '@xdam/ember-partials/templates/components/xep-list-item-graphic';
1
+ import Component from '@glimmer/component';
6
2
 
7
- @tagName('span')
8
- @layout(template)
9
- @classNames('xep-list-item-graphic', 'mdc-list-item__graphic')
10
- export default class XepListItemGraphicComponent extends Component {
11
- /**
12
- * Add a test selector for data attribute: `[data-test-list-item-graphic]`
13
- * @argument [testSelector]
14
- * @type {String}
15
- */
16
- @attribute('data-test-list-item-graphic')
17
- testSelector;
18
- }
3
+ export default class XepListItemGraphicComponent extends Component {}
@@ -1,4 +1,7 @@
1
- {{yield
2
- (hash
3
- active=@active)
4
- }}
1
+ <span class="mdc-button__ripple"></span>
2
+ <span class="mdc-button__label">
3
+ {{yield
4
+ (hash
5
+ active=@active)
6
+ }}
7
+ </span>
@@ -1,3 +1,10 @@
1
+ @use "@material/theme" with (
2
+ $background: #191919,
3
+ $primary: #2284ff,
4
+ $secondary: #3adb76,
5
+ $surface:#242424,
6
+ );
7
+
1
8
  $xep-colors: (
2
9
  primary: #2284ff,
3
10
  success: #3adb76,
@@ -1,24 +1,37 @@
1
+ @use "@material/animation";
2
+ @use "@material/typography/mdc-typography";
3
+ @use "@material/button/styles" as button-styles;
4
+ @use "@material/line-ripple/mdc-line-ripple";
5
+ @use "@material/notched-outline/mdc-notched-outline";
6
+ @use "@material/textfield";
7
+ @use "@material/list";
8
+ @use "@material/slider/styles" as slider-styles;
9
+ @use "@material/dialog";
10
+ @use "@material/drawer";
11
+ @use "@material/list/mdc-list";
12
+ @use "@material/menu-surface/mdc-menu-surface";
13
+ @use "@material/menu/mdc-menu";
14
+ @use "@material/checkbox";
15
+ @use "@material/form-field";
16
+ @use "@material/radio/styles" as radio-styles;
17
+ @use '@material/switch/styles' as switch-styles;
18
+ @use "@material/chips/styles" as chips-styles;
19
+ @use "@material/snackbar/mdc-snackbar";
20
+
1
21
  @import 'ember-partials/variables';
2
22
  @import 'ember-partials/mixins/breakpoints';
3
23
  @import 'ember-partials/mixins/strip-unit';
4
24
  @import 'ember-partials/helpers/root';
5
- @import "@material/typography/mdc-typography";
6
- @import "@material/button/mdc-button";
7
- @import "@material/textfield/mdc-text-field";
8
- @import "@material/textfield/helper-text";
9
- @import "@material/list";
10
- @import "@material/slider/styles";
11
- @import "@material/dialog/mdc-dialog";
12
- @import "@material/drawer/mdc-drawer";
13
- @import "@material/menu-surface/mdc-menu-surface";
14
- @import "@material/menu/mdc-menu";
15
- @import "@material/form-field/mdc-form-field";
16
- @import "@material/checkbox/mdc-checkbox";
17
- @import "@material/radio/mdc-radio";
18
- @import "@material/switch/styles";
19
- @import "@material/chips/styles";
20
- @import "@material/snackbar/mdc-snackbar";
21
- @import "@material/animation/variables";
25
+
26
+ // material design components
27
+ @include textfield.core-styles;
28
+ @include dialog.core-styles;
29
+ @include drawer.core-styles;
30
+ @include drawer.dismissible-core-styles;
31
+ @include drawer.modal-core-styles;
32
+ @include checkbox.core-styles;
33
+ @include form-field.core-styles;
34
+
22
35
  @import 'ember-partials/components/xep-avatar';
23
36
  @import 'ember-partials/components/xep-drawer';
24
37
  @import 'ember-partials/components/xep-bubble';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdam/ember-partials",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "description": "Xdam Ember Partials https://xdam.github.io/ember-partials/versions/development/",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -1,4 +0,0 @@
1
- {{yield
2
- (hash
3
- button=(component "xep-button" class="mdc-dialog__button"))
4
- }}
@@ -1 +0,0 @@
1
- {{yield}}
@@ -1 +0,0 @@
1
- {{yield}}
@@ -1 +0,0 @@
1
- {{yield}}