@momentum-design/components 0.16.2 → 0.16.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- export { default as Avatar } from './avatar';
2
1
  export { default as AvatarButton } from './avatarbutton';
3
2
  export { default as Badge } from './badge';
3
+ export { default as Avatar } from './avatar';
4
4
  export { default as Bullet } from './bullet';
5
5
  export { default as Button } from './button';
6
6
  export { default as Buttonsimple } from './buttonsimple';
@@ -1,6 +1,6 @@
1
- export { default as Avatar } from './avatar';
2
1
  export { default as AvatarButton } from './avatarbutton';
3
2
  export { default as Badge } from './badge';
3
+ export { default as Avatar } from './avatar';
4
4
  export { default as Bullet } from './bullet';
5
5
  export { default as Button } from './button';
6
6
  export { default as Buttonsimple } from './buttonsimple';
@@ -12,6 +12,11 @@ export const DisabledMixin = (superClass) => {
12
12
  class InnerMixinClass extends superClass {
13
13
  constructor() {
14
14
  super(...arguments);
15
+ /**
16
+ * Indicates whether the component is disabled.
17
+ * When the component is disabled for user interaction; it is not focusable or clickable.
18
+ * @default false
19
+ */
15
20
  this.disabled = false;
16
21
  }
17
22
  }
@@ -12,11 +12,15 @@ export const TabIndexMixin = (superClass) => {
12
12
  class InnerMixinClass extends superClass {
13
13
  constructor() {
14
14
  super(...arguments);
15
+ /**
16
+ * This property specifies the tab order of the element.
17
+ * @default 0
18
+ */
15
19
  this.tabIndex = 0;
16
20
  }
17
21
  }
18
22
  __decorate([
19
- property({ reflect: true, type: Number, attribute: 'tabindex' }),
23
+ property({ reflect: true, type: Number }),
20
24
  __metadata("design:type", Object)
21
25
  ], InnerMixinClass.prototype, "tabIndex", void 0);
22
26
  // Cast return type to your mixin's interface intersected with the superClass type
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "@momentum-design/tokens": "*",
36
36
  "lit": "^3.2.0"
37
37
  },
38
- "version": "0.16.2"
38
+ "version": "0.16.3"
39
39
  }