@momentum-design/components 0.39.3 → 0.39.5

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 (48) hide show
  1. package/dist/browser/index.js +79 -79
  2. package/dist/browser/index.js.map +3 -3
  3. package/dist/components/alertchip/alertchip.component.d.ts +1 -1
  4. package/dist/components/alertchip/alertchip.component.js +4 -1
  5. package/dist/components/avatarbutton/avatarbutton.component.d.ts +1 -1
  6. package/dist/components/avatarbutton/avatarbutton.component.js +4 -1
  7. package/dist/components/checkbox/checkbox.component.d.ts +1 -1
  8. package/dist/components/checkbox/checkbox.component.js +4 -1
  9. package/dist/components/chip/chip.component.d.ts +1 -1
  10. package/dist/components/chip/chip.component.js +4 -1
  11. package/dist/components/coachmark/coachmark.component.d.ts +7 -1
  12. package/dist/components/coachmark/coachmark.component.js +10 -1
  13. package/dist/components/divider/divider.component.d.ts +1 -1
  14. package/dist/components/divider/divider.component.js +39 -36
  15. package/dist/components/filterchip/filterchip.component.d.ts +1 -1
  16. package/dist/components/filterchip/filterchip.component.js +4 -1
  17. package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +1 -1
  18. package/dist/components/formfieldgroup/formfieldgroup.component.js +4 -1
  19. package/dist/components/listitem/listitem.component.d.ts +1 -1
  20. package/dist/components/listitem/listitem.component.js +4 -1
  21. package/dist/components/option/option.component.d.ts +1 -1
  22. package/dist/components/option/option.component.js +4 -1
  23. package/dist/components/popover/popover.component.d.ts +6 -0
  24. package/dist/components/popover/popover.component.js +6 -0
  25. package/dist/components/popover/popover.events.js +4 -4
  26. package/dist/components/radio/radio.component.d.ts +1 -1
  27. package/dist/components/radio/radio.component.js +4 -1
  28. package/dist/components/tab/tab.component.d.ts +1 -1
  29. package/dist/components/tab/tab.component.js +4 -1
  30. package/dist/components/textarea/textarea.component.d.ts +0 -1
  31. package/dist/components/textarea/textarea.component.js +7 -7
  32. package/dist/components/toggle/toggle.component.d.ts +1 -1
  33. package/dist/components/toggle/toggle.component.js +4 -1
  34. package/dist/components/tooltip/tooltip.component.d.ts +6 -1
  35. package/dist/components/tooltip/tooltip.component.js +9 -3
  36. package/dist/components/tooltip/tooltip.constants.d.ts +0 -1
  37. package/dist/components/tooltip/tooltip.constants.js +1 -2
  38. package/dist/custom-elements.json +2202 -2122
  39. package/dist/index.d.ts +2 -1
  40. package/dist/react/coachmark/index.d.ts +12 -1
  41. package/dist/react/coachmark/index.js +12 -1
  42. package/dist/react/index.d.ts +1 -1
  43. package/dist/react/index.js +1 -1
  44. package/dist/react/popover/index.d.ts +12 -1
  45. package/dist/react/popover/index.js +12 -1
  46. package/dist/react/tooltip/index.d.ts +11 -1
  47. package/dist/react/tooltip/index.js +11 -1
  48. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -36,6 +36,7 @@ import Textarea from './components/textarea';
36
36
  import type { SpinnerSize, SpinnerVariant } from './components/spinner/spinner.types';
37
37
  import type { TextType } from './components/text/text.types';
38
38
  import type { PopoverPlacement } from './components/popover/popover.types';
39
+ import type { BadgeType } from './components/badge/badge.types';
39
40
  export { AlertChip, Avatar, AvatarButton, Badge, Bullet, Button, Checkbox, Chip, Coachmark, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, List, ListItem, Marker, Popover, Presence, Radio, RadioGroup, Spinner, Tab, Text, ThemeProvider, Toggle, VirtualizedList, Option, OptGroup, Textarea, Tooltip, };
40
- export type { TextType, SpinnerSize, SpinnerVariant, PopoverPlacement, };
41
+ export type { TextType, SpinnerSize, SpinnerVariant, PopoverPlacement, BadgeType, };
41
42
  export { inMemoryCache, webAPIIconsCache };
@@ -7,6 +7,12 @@ import Component from '../../components/coachmark';
7
7
  *
8
8
  * @tagname mdc-coachmark
9
9
  *
10
+ * @event shown - (React: onShown) This event is dispatched when the coachmark is shown
11
+ * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden
12
+ * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)
13
+ * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is
14
+ * destroyed (removed from the DOM)
15
+ *
10
16
  * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
11
17
  * @cssproperty --mdc-popover-arrow-border - border of the arrow
12
18
  * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
@@ -19,5 +25,10 @@ import Component from '../../components/coachmark';
19
25
  * @slot - Default slot for modal container
20
26
  *
21
27
  */
22
- declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
28
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
29
+ onShown: string;
30
+ onHidden: string;
31
+ onCreated: string;
32
+ onDestroyed: string;
33
+ }>;
23
34
  export default reactWrapper;
@@ -10,6 +10,12 @@ import { TAG_NAME } from '../../components/coachmark/coachmark.constants';
10
10
  *
11
11
  * @tagname mdc-coachmark
12
12
  *
13
+ * @event shown - (React: onShown) This event is dispatched when the coachmark is shown
14
+ * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden
15
+ * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)
16
+ * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is
17
+ * destroyed (removed from the DOM)
18
+ *
13
19
  * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
14
20
  * @cssproperty --mdc-popover-arrow-border - border of the arrow
15
21
  * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
@@ -26,7 +32,12 @@ const reactWrapper = createComponent({
26
32
  tagName: TAG_NAME,
27
33
  elementClass: Component,
28
34
  react: React,
29
- events: {},
35
+ events: {
36
+ onShown: 'shown',
37
+ onHidden: 'hidden',
38
+ onCreated: 'created',
39
+ onDestroyed: 'destroyed',
40
+ },
30
41
  displayName: 'Coachmark',
31
42
  });
32
43
  export default reactWrapper;
@@ -6,8 +6,8 @@ export { default as Bullet } from './bullet';
6
6
  export { default as Button } from './button';
7
7
  export { default as Buttonsimple } from './buttonsimple';
8
8
  export { default as Checkbox } from './checkbox';
9
- export { default as Chip } from './chip';
10
9
  export { default as Coachmark } from './coachmark';
10
+ export { default as Chip } from './chip';
11
11
  export { default as Divider } from './divider';
12
12
  export { default as FilterChip } from './filterchip';
13
13
  export { default as FormfieldGroup } from './formfieldgroup';
@@ -6,8 +6,8 @@ export { default as Bullet } from './bullet';
6
6
  export { default as Button } from './button';
7
7
  export { default as Buttonsimple } from './buttonsimple';
8
8
  export { default as Checkbox } from './checkbox';
9
- export { default as Chip } from './chip';
10
9
  export { default as Coachmark } from './coachmark';
10
+ export { default as Chip } from './chip';
11
11
  export { default as Divider } from './divider';
12
12
  export { default as FilterChip } from './filterchip';
13
13
  export { default as FormfieldGroup } from './formfieldgroup';
@@ -9,6 +9,12 @@ import Component from '../../components/popover';
9
9
  *
10
10
  * @tagname mdc-popover
11
11
  *
12
+ *
13
+ * @event shown - (React: onShown) This event is dispatched when the popover is shown
14
+ * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden
15
+ * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)
16
+ * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)
17
+ *
12
18
  * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
13
19
  * @cssproperty --mdc-popover-arrow-border - border of the arrow
14
20
  * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
@@ -21,5 +27,10 @@ import Component from '../../components/popover';
21
27
  * @slot - Default slot for the popover content
22
28
  *
23
29
  */
24
- declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
30
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
31
+ onShown: string;
32
+ onHidden: string;
33
+ onCreated: string;
34
+ onDestroyed: string;
35
+ }>;
25
36
  export default reactWrapper;
@@ -12,6 +12,12 @@ import { TAG_NAME } from '../../components/popover/popover.constants';
12
12
  *
13
13
  * @tagname mdc-popover
14
14
  *
15
+ *
16
+ * @event shown - (React: onShown) This event is dispatched when the popover is shown
17
+ * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden
18
+ * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)
19
+ * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)
20
+ *
15
21
  * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
16
22
  * @cssproperty --mdc-popover-arrow-border - border of the arrow
17
23
  * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
@@ -28,7 +34,12 @@ const reactWrapper = createComponent({
28
34
  tagName: TAG_NAME,
29
35
  elementClass: Component,
30
36
  react: React,
31
- events: {},
37
+ events: {
38
+ onShown: 'shown',
39
+ onHidden: 'hidden',
40
+ onCreated: 'created',
41
+ onDestroyed: 'destroyed',
42
+ },
32
43
  displayName: 'Popover',
33
44
  });
34
45
  export default reactWrapper;
@@ -7,11 +7,21 @@ import Component from '../../components/tooltip';
7
7
  *
8
8
  * @tagname mdc-tooltip
9
9
  *
10
+ * @event shown - (React: onShown) This event is dispatched when the tooltip is shown
11
+ * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden
12
+ * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)
13
+ * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)
14
+ *
10
15
  * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.
11
16
  * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.
12
17
  * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.
13
18
  * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.
14
19
  *
15
20
  */
16
- declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
21
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
22
+ onShown: string;
23
+ onHidden: string;
24
+ onCreated: string;
25
+ onDestroyed: string;
26
+ }>;
17
27
  export default reactWrapper;
@@ -10,6 +10,11 @@ import { TAG_NAME } from '../../components/tooltip/tooltip.constants';
10
10
  *
11
11
  * @tagname mdc-tooltip
12
12
  *
13
+ * @event shown - (React: onShown) This event is dispatched when the tooltip is shown
14
+ * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden
15
+ * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)
16
+ * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)
17
+ *
13
18
  * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.
14
19
  * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.
15
20
  * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.
@@ -20,7 +25,12 @@ const reactWrapper = createComponent({
20
25
  tagName: TAG_NAME,
21
26
  elementClass: Component,
22
27
  react: React,
23
- events: {},
28
+ events: {
29
+ onShown: 'shown',
30
+ onHidden: 'hidden',
31
+ onCreated: 'created',
32
+ onDestroyed: 'destroyed',
33
+ },
24
34
  displayName: 'Tooltip',
25
35
  });
26
36
  export default reactWrapper;
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "lit": "^3.2.0",
39
39
  "uuid": "^11.0.5"
40
40
  },
41
- "version": "0.39.3"
41
+ "version": "0.39.5"
42
42
  }