@momentum-design/components 0.111.1 → 0.111.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.
@@ -1,6 +1,6 @@
1
1
  export { default as Accordion } from './accordion';
2
- export { default as AccordionGroup } from './accordiongroup';
3
2
  export { default as AccordionButton } from './accordionbutton';
3
+ export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
5
  export { default as Animation } from './animation';
6
6
  export { default as Appheader } from './appheader';
@@ -13,14 +13,15 @@ export { default as Button } from './button';
13
13
  export { default as ButtonGroup } from './buttongroup';
14
14
  export { default as ButtonLink } from './buttonlink';
15
15
  export { default as Buttonsimple } from './buttonsimple';
16
+ export { default as Card } from './card';
16
17
  export { default as CardButton } from './cardbutton';
17
18
  export { default as CardCheckbox } from './cardcheckbox';
18
19
  export { default as CardRadio } from './cardradio';
19
- export { default as Card } from './card';
20
20
  export { default as Checkbox } from './checkbox';
21
21
  export { default as Chip } from './chip';
22
22
  export { default as Coachmark } from './coachmark';
23
23
  export { default as Combobox } from './combobox';
24
+ export { default as Dialog } from './dialog';
24
25
  export { default as Divider } from './divider';
25
26
  export { default as FilterChip } from './filterchip';
26
27
  export { default as FormfieldGroup } from './formfieldgroup';
@@ -28,13 +29,12 @@ export { default as FormfieldWrapper } from './formfieldwrapper';
28
29
  export { default as Icon } from './icon';
29
30
  export { default as IconProvider } from './iconprovider';
30
31
  export { default as Input } from './input';
31
- export { default as InputChip } from './inputchip';
32
32
  export { default as Link } from './link';
33
+ export { default as InputChip } from './inputchip';
33
34
  export { default as LinkButton } from './linkbutton';
34
35
  export { default as Linksimple } from './linksimple';
35
36
  export { default as List } from './list';
36
37
  export { default as ListBox } from './listbox';
37
- export { default as Dialog } from './dialog';
38
38
  export { default as Listheader } from './listheader';
39
39
  export { default as ListItem } from './listitem';
40
40
  export { default as Marker } from './marker';
@@ -76,7 +76,7 @@ export { default as Textarea } from './textarea';
76
76
  export { default as ThemeProvider } from './themeprovider';
77
77
  export { default as Toast } from './toast';
78
78
  export { default as Toggle } from './toggle';
79
- export { default as ToggleTip } from './toggletip';
80
79
  export { default as Tooltip } from './tooltip';
80
+ export { default as ToggleTip } from './toggletip';
81
81
  export { default as Typewriter } from './typewriter';
82
82
  export { default as VirtualizedList } from './virtualizedlist';
@@ -1,6 +1,6 @@
1
1
  export { default as Accordion } from './accordion';
2
- export { default as AccordionGroup } from './accordiongroup';
3
2
  export { default as AccordionButton } from './accordionbutton';
3
+ export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
5
  export { default as Animation } from './animation';
6
6
  export { default as Appheader } from './appheader';
@@ -13,14 +13,15 @@ export { default as Button } from './button';
13
13
  export { default as ButtonGroup } from './buttongroup';
14
14
  export { default as ButtonLink } from './buttonlink';
15
15
  export { default as Buttonsimple } from './buttonsimple';
16
+ export { default as Card } from './card';
16
17
  export { default as CardButton } from './cardbutton';
17
18
  export { default as CardCheckbox } from './cardcheckbox';
18
19
  export { default as CardRadio } from './cardradio';
19
- export { default as Card } from './card';
20
20
  export { default as Checkbox } from './checkbox';
21
21
  export { default as Chip } from './chip';
22
22
  export { default as Coachmark } from './coachmark';
23
23
  export { default as Combobox } from './combobox';
24
+ export { default as Dialog } from './dialog';
24
25
  export { default as Divider } from './divider';
25
26
  export { default as FilterChip } from './filterchip';
26
27
  export { default as FormfieldGroup } from './formfieldgroup';
@@ -28,13 +29,12 @@ export { default as FormfieldWrapper } from './formfieldwrapper';
28
29
  export { default as Icon } from './icon';
29
30
  export { default as IconProvider } from './iconprovider';
30
31
  export { default as Input } from './input';
31
- export { default as InputChip } from './inputchip';
32
32
  export { default as Link } from './link';
33
+ export { default as InputChip } from './inputchip';
33
34
  export { default as LinkButton } from './linkbutton';
34
35
  export { default as Linksimple } from './linksimple';
35
36
  export { default as List } from './list';
36
37
  export { default as ListBox } from './listbox';
37
- export { default as Dialog } from './dialog';
38
38
  export { default as Listheader } from './listheader';
39
39
  export { default as ListItem } from './listitem';
40
40
  export { default as Marker } from './marker';
@@ -76,7 +76,7 @@ export { default as Textarea } from './textarea';
76
76
  export { default as ThemeProvider } from './themeprovider';
77
77
  export { default as Toast } from './toast';
78
78
  export { default as Toggle } from './toggle';
79
- export { default as ToggleTip } from './toggletip';
80
79
  export { default as Tooltip } from './tooltip';
80
+ export { default as ToggleTip } from './toggletip';
81
81
  export { default as Typewriter } from './typewriter';
82
82
  export { default as VirtualizedList } from './virtualizedlist';
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+ import type { Constructor } from './index.types';
3
+ export interface ControlledMixinInterface {
4
+ controlled: boolean;
5
+ }
6
+ export declare const ControlledMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<ControlledMixinInterface> & T;
@@ -0,0 +1,20 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { property } from 'lit/decorators.js';
11
+ export const ControlledMixin = (superClass) => {
12
+ class InnerMixinClass extends superClass {
13
+ }
14
+ __decorate([
15
+ property({ reflect: true, type: Boolean }),
16
+ __metadata("design:type", Boolean)
17
+ ], InnerMixinClass.prototype, "controlled", void 0);
18
+ // Cast return type to your mixin's interface intersected with the superClass type
19
+ return InnerMixinClass;
20
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.111.1",
4
+ "version": "0.111.3",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"