@momentum-design/components 0.39.2 → 0.39.4
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/dist/browser/index.js +2 -6
- package/dist/browser/index.js.map +2 -2
- package/dist/components/coachmark/coachmark.component.d.ts +6 -0
- package/dist/components/coachmark/coachmark.component.js +6 -0
- package/dist/components/inputchip/inputchip.component.js +1 -1
- package/dist/components/inputchip/inputchip.styles.js +0 -4
- package/dist/components/popover/popover.component.d.ts +6 -0
- package/dist/components/popover/popover.component.js +6 -0
- package/dist/components/popover/popover.events.js +4 -4
- package/dist/components/tooltip/tooltip.component.d.ts +5 -0
- package/dist/components/tooltip/tooltip.component.js +5 -0
- package/dist/custom-elements.json +184 -74
- package/dist/react/coachmark/index.d.ts +12 -1
- package/dist/react/coachmark/index.js +12 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/popover/index.d.ts +12 -1
- package/dist/react/popover/index.js +12 -1
- package/dist/react/tooltip/index.d.ts +11 -1
- package/dist/react/tooltip/index.js +11 -1
- package/package.json +1 -1
@@ -8,6 +8,12 @@ import type { PopoverTrigger } from '../popover/popover.types';
|
|
8
8
|
*
|
9
9
|
* @tagname mdc-coachmark
|
10
10
|
*
|
11
|
+
* @event shown - (React: onShown) This event is dispatched when the coachmark is shown
|
12
|
+
* @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden
|
13
|
+
* @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)
|
14
|
+
* @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is
|
15
|
+
* destroyed (removed from the DOM)
|
16
|
+
*
|
11
17
|
* @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
|
12
18
|
* @cssproperty --mdc-popover-arrow-border - border of the arrow
|
13
19
|
* @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
|
@@ -18,6 +18,12 @@ import { DEFAULTS } from './coachmark.constants';
|
|
18
18
|
*
|
19
19
|
* @tagname mdc-coachmark
|
20
20
|
*
|
21
|
+
* @event shown - (React: onShown) This event is dispatched when the coachmark is shown
|
22
|
+
* @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden
|
23
|
+
* @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)
|
24
|
+
* @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is
|
25
|
+
* destroyed (removed from the DOM)
|
26
|
+
*
|
21
27
|
* @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
|
22
28
|
* @cssproperty --mdc-popover-arrow-border - border of the arrow
|
23
29
|
* @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
|
@@ -84,7 +84,7 @@ class InputChip extends IconNameMixin(DisabledMixin(Component)) {
|
|
84
84
|
render() {
|
85
85
|
return html `
|
86
86
|
${this.renderIcon()}
|
87
|
-
<mdc-text type="${DEFAULTS.TEXT_TYPE}" tagname="${DEFAULTS.TAG_NAME}">${this.label}</mdc-text>
|
87
|
+
<mdc-text part="label" type="${DEFAULTS.TEXT_TYPE}" tagname="${DEFAULTS.TAG_NAME}">${this.label}</mdc-text>
|
88
88
|
<mdc-button
|
89
89
|
?disabled="${this.disabled}"
|
90
90
|
variant="tertiary"
|
@@ -12,6 +12,12 @@ declare const Popover_base: import("../../utils/mixins/index.types").Constructor
|
|
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,6 +28,12 @@ import { PopoverUtils } from './popover.utils';
|
|
28
28
|
*
|
29
29
|
* @tagname mdc-popover
|
30
30
|
*
|
31
|
+
*
|
32
|
+
* @event shown - (React: onShown) This event is dispatched when the popover is shown
|
33
|
+
* @event hidden - (React: onHidden) This event is dispatched when the popover is hidden
|
34
|
+
* @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)
|
35
|
+
* @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)
|
36
|
+
*
|
31
37
|
* @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
|
32
38
|
* @cssproperty --mdc-popover-arrow-border - border of the arrow
|
33
39
|
* @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
|
@@ -18,7 +18,7 @@ export class PopoverEventManager {
|
|
18
18
|
* @param instance - The popover instance.
|
19
19
|
*/
|
20
20
|
static onShowPopover(instance) {
|
21
|
-
this.dispatchPopoverEvent('
|
21
|
+
this.dispatchPopoverEvent('shown', instance);
|
22
22
|
}
|
23
23
|
/**
|
24
24
|
* Custom event that is fired when the popover is hidden.
|
@@ -26,7 +26,7 @@ export class PopoverEventManager {
|
|
26
26
|
* @param instance - The popover instance.
|
27
27
|
*/
|
28
28
|
static onHidePopover(instance) {
|
29
|
-
this.dispatchPopoverEvent('
|
29
|
+
this.dispatchPopoverEvent('hidden', instance);
|
30
30
|
}
|
31
31
|
/**
|
32
32
|
* Custom event that is fired when the popover is created.
|
@@ -34,7 +34,7 @@ export class PopoverEventManager {
|
|
34
34
|
* @param instance - The popover instance.
|
35
35
|
*/
|
36
36
|
static onCreatedPopover(instance) {
|
37
|
-
this.dispatchPopoverEvent('
|
37
|
+
this.dispatchPopoverEvent('created', instance);
|
38
38
|
}
|
39
39
|
/**
|
40
40
|
* Custom event that is fired when the popover is destroyed.
|
@@ -42,6 +42,6 @@ export class PopoverEventManager {
|
|
42
42
|
* @param instance - The popover instance.
|
43
43
|
*/
|
44
44
|
static onDestroyedPopover(instance) {
|
45
|
-
this.dispatchPopoverEvent('
|
45
|
+
this.dispatchPopoverEvent('destroyed', instance);
|
46
46
|
}
|
47
47
|
}
|
@@ -10,6 +10,11 @@ import type { TooltipType } from './tooltip.types';
|
|
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.
|
@@ -21,6 +21,11 @@ import { POPOVER_PLACEMENT } from '../popover/popover.constants';
|
|
21
21
|
*
|
22
22
|
* @tagname mdc-tooltip
|
23
23
|
*
|
24
|
+
* @event shown - (React: onShown) This event is dispatched when the tooltip is shown
|
25
|
+
* @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden
|
26
|
+
* @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)
|
27
|
+
* @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)
|
28
|
+
*
|
24
29
|
* @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.
|
25
30
|
* @cssproperty --mdc-tooltip-padding - The padding of the tooltip.
|
26
31
|
* @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.
|
@@ -1634,77 +1634,6 @@
|
|
1634
1634
|
}
|
1635
1635
|
]
|
1636
1636
|
},
|
1637
|
-
{
|
1638
|
-
"kind": "javascript-module",
|
1639
|
-
"path": "components/bullet/bullet.component.js",
|
1640
|
-
"declarations": [
|
1641
|
-
{
|
1642
|
-
"kind": "class",
|
1643
|
-
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
1644
|
-
"name": "Bullet",
|
1645
|
-
"cssProperties": [
|
1646
|
-
{
|
1647
|
-
"description": "background color of the bullet",
|
1648
|
-
"name": "--mdc-bullet-background-color"
|
1649
|
-
},
|
1650
|
-
{
|
1651
|
-
"description": "small size value of the bullet",
|
1652
|
-
"name": "--mdc-bullet-size-small"
|
1653
|
-
},
|
1654
|
-
{
|
1655
|
-
"description": "medium size value of the bullet",
|
1656
|
-
"name": "--mdc-bullet-size-medium"
|
1657
|
-
},
|
1658
|
-
{
|
1659
|
-
"description": "large size value of the bullet",
|
1660
|
-
"name": "--mdc-bullet-size-large"
|
1661
|
-
}
|
1662
|
-
],
|
1663
|
-
"members": [
|
1664
|
-
{
|
1665
|
-
"kind": "field",
|
1666
|
-
"name": "size",
|
1667
|
-
"type": {
|
1668
|
-
"text": "Size"
|
1669
|
-
},
|
1670
|
-
"privacy": "public",
|
1671
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1672
|
-
"default": "small",
|
1673
|
-
"attribute": "size",
|
1674
|
-
"reflects": true
|
1675
|
-
}
|
1676
|
-
],
|
1677
|
-
"attributes": [
|
1678
|
-
{
|
1679
|
-
"name": "size",
|
1680
|
-
"type": {
|
1681
|
-
"text": "Size"
|
1682
|
-
},
|
1683
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1684
|
-
"default": "small",
|
1685
|
-
"fieldName": "size"
|
1686
|
-
}
|
1687
|
-
],
|
1688
|
-
"superclass": {
|
1689
|
-
"name": "Component",
|
1690
|
-
"module": "/src/models"
|
1691
|
-
},
|
1692
|
-
"tagName": "mdc-bullet",
|
1693
|
-
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
|
1694
|
-
"customElement": true
|
1695
|
-
}
|
1696
|
-
],
|
1697
|
-
"exports": [
|
1698
|
-
{
|
1699
|
-
"kind": "js",
|
1700
|
-
"name": "default",
|
1701
|
-
"declaration": {
|
1702
|
-
"name": "Bullet",
|
1703
|
-
"module": "components/bullet/bullet.component.js"
|
1704
|
-
}
|
1705
|
-
}
|
1706
|
-
]
|
1707
|
-
},
|
1708
1637
|
{
|
1709
1638
|
"kind": "javascript-module",
|
1710
1639
|
"path": "components/button/button.component.js",
|
@@ -4917,6 +4846,48 @@
|
|
4917
4846
|
}
|
4918
4847
|
}
|
4919
4848
|
],
|
4849
|
+
"events": [
|
4850
|
+
{
|
4851
|
+
"description": "(React: onShown) This event is dispatched when the coachmark is shown",
|
4852
|
+
"name": "shown",
|
4853
|
+
"reactName": "onShown",
|
4854
|
+
"eventName": "ShownEvent",
|
4855
|
+
"inheritedFrom": {
|
4856
|
+
"name": "Popover",
|
4857
|
+
"module": "src/components/popover/popover.component.ts"
|
4858
|
+
}
|
4859
|
+
},
|
4860
|
+
{
|
4861
|
+
"description": "(React: onHidden) This event is dispatched when the coachmark is hidden",
|
4862
|
+
"name": "hidden",
|
4863
|
+
"reactName": "onHidden",
|
4864
|
+
"eventName": "HiddenEvent",
|
4865
|
+
"inheritedFrom": {
|
4866
|
+
"name": "Popover",
|
4867
|
+
"module": "src/components/popover/popover.component.ts"
|
4868
|
+
}
|
4869
|
+
},
|
4870
|
+
{
|
4871
|
+
"description": "(React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)",
|
4872
|
+
"name": "created",
|
4873
|
+
"reactName": "onCreated",
|
4874
|
+
"eventName": "CreatedEvent",
|
4875
|
+
"inheritedFrom": {
|
4876
|
+
"name": "Popover",
|
4877
|
+
"module": "src/components/popover/popover.component.ts"
|
4878
|
+
}
|
4879
|
+
},
|
4880
|
+
{
|
4881
|
+
"description": "(React: onDestroyed) This event is dispatched when the coachmark is destroyed (removed from the DOM)",
|
4882
|
+
"name": "destroyed",
|
4883
|
+
"reactName": "onDestroyed",
|
4884
|
+
"eventName": "DestroyedEvent",
|
4885
|
+
"inheritedFrom": {
|
4886
|
+
"name": "Popover",
|
4887
|
+
"module": "src/components/popover/popover.component.ts"
|
4888
|
+
}
|
4889
|
+
}
|
4890
|
+
],
|
4920
4891
|
"attributes": [
|
4921
4892
|
{
|
4922
4893
|
"name": "trigger",
|
@@ -5301,7 +5272,7 @@
|
|
5301
5272
|
"module": "/src/components/popover/popover.component"
|
5302
5273
|
},
|
5303
5274
|
"tagName": "mdc-coachmark",
|
5304
|
-
"jsDoc": "/**\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n *\n */",
|
5275
|
+
"jsDoc": "/**\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @event shown - (React: onShown) This event is dispatched when the coachmark is shown\n * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden\n * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is\n * destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n *\n */",
|
5305
5276
|
"customElement": true
|
5306
5277
|
}
|
5307
5278
|
],
|
@@ -6919,6 +6890,77 @@
|
|
6919
6890
|
}
|
6920
6891
|
]
|
6921
6892
|
},
|
6893
|
+
{
|
6894
|
+
"kind": "javascript-module",
|
6895
|
+
"path": "components/bullet/bullet.component.js",
|
6896
|
+
"declarations": [
|
6897
|
+
{
|
6898
|
+
"kind": "class",
|
6899
|
+
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
6900
|
+
"name": "Bullet",
|
6901
|
+
"cssProperties": [
|
6902
|
+
{
|
6903
|
+
"description": "background color of the bullet",
|
6904
|
+
"name": "--mdc-bullet-background-color"
|
6905
|
+
},
|
6906
|
+
{
|
6907
|
+
"description": "small size value of the bullet",
|
6908
|
+
"name": "--mdc-bullet-size-small"
|
6909
|
+
},
|
6910
|
+
{
|
6911
|
+
"description": "medium size value of the bullet",
|
6912
|
+
"name": "--mdc-bullet-size-medium"
|
6913
|
+
},
|
6914
|
+
{
|
6915
|
+
"description": "large size value of the bullet",
|
6916
|
+
"name": "--mdc-bullet-size-large"
|
6917
|
+
}
|
6918
|
+
],
|
6919
|
+
"members": [
|
6920
|
+
{
|
6921
|
+
"kind": "field",
|
6922
|
+
"name": "size",
|
6923
|
+
"type": {
|
6924
|
+
"text": "Size"
|
6925
|
+
},
|
6926
|
+
"privacy": "public",
|
6927
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
6928
|
+
"default": "small",
|
6929
|
+
"attribute": "size",
|
6930
|
+
"reflects": true
|
6931
|
+
}
|
6932
|
+
],
|
6933
|
+
"attributes": [
|
6934
|
+
{
|
6935
|
+
"name": "size",
|
6936
|
+
"type": {
|
6937
|
+
"text": "Size"
|
6938
|
+
},
|
6939
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
6940
|
+
"default": "small",
|
6941
|
+
"fieldName": "size"
|
6942
|
+
}
|
6943
|
+
],
|
6944
|
+
"superclass": {
|
6945
|
+
"name": "Component",
|
6946
|
+
"module": "/src/models"
|
6947
|
+
},
|
6948
|
+
"tagName": "mdc-bullet",
|
6949
|
+
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
|
6950
|
+
"customElement": true
|
6951
|
+
}
|
6952
|
+
],
|
6953
|
+
"exports": [
|
6954
|
+
{
|
6955
|
+
"kind": "js",
|
6956
|
+
"name": "default",
|
6957
|
+
"declaration": {
|
6958
|
+
"name": "Bullet",
|
6959
|
+
"module": "components/bullet/bullet.component.js"
|
6960
|
+
}
|
6961
|
+
}
|
6962
|
+
]
|
6963
|
+
},
|
6922
6964
|
{
|
6923
6965
|
"kind": "javascript-module",
|
6924
6966
|
"path": "components/iconprovider/iconprovider.component.js",
|
@@ -10991,6 +11033,32 @@
|
|
10991
11033
|
}
|
10992
11034
|
}
|
10993
11035
|
],
|
11036
|
+
"events": [
|
11037
|
+
{
|
11038
|
+
"description": "(React: onShown) This event is dispatched when the popover is shown",
|
11039
|
+
"name": "shown",
|
11040
|
+
"reactName": "onShown",
|
11041
|
+
"eventName": "ShownEvent"
|
11042
|
+
},
|
11043
|
+
{
|
11044
|
+
"description": "(React: onHidden) This event is dispatched when the popover is hidden",
|
11045
|
+
"name": "hidden",
|
11046
|
+
"reactName": "onHidden",
|
11047
|
+
"eventName": "HiddenEvent"
|
11048
|
+
},
|
11049
|
+
{
|
11050
|
+
"description": "(React: onCreated) This event is dispatched when the popover is created (added to the DOM)",
|
11051
|
+
"name": "created",
|
11052
|
+
"reactName": "onCreated",
|
11053
|
+
"eventName": "CreatedEvent"
|
11054
|
+
},
|
11055
|
+
{
|
11056
|
+
"description": "(React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)",
|
11057
|
+
"name": "destroyed",
|
11058
|
+
"reactName": "onDestroyed",
|
11059
|
+
"eventName": "DestroyedEvent"
|
11060
|
+
}
|
11061
|
+
],
|
10994
11062
|
"attributes": [
|
10995
11063
|
{
|
10996
11064
|
"name": "id",
|
@@ -11273,7 +11341,7 @@
|
|
11273
11341
|
"module": "/src/models"
|
11274
11342
|
},
|
11275
11343
|
"tagName": "mdc-popover",
|
11276
|
-
"jsDoc": "/**\n * Popover component is a lightweight floating UI element that displays additional content when triggered.\n * It can be used for tooltips, dropdowns, or contextual menus.\n * The popover automatically positions itself based on available space and\n * supports dynamic height adjustments with scrollable content when needed。\n *\n * @dependency mdc-button\n *\n * @tagname mdc-popover\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for the popover content\n *\n */",
|
11344
|
+
"jsDoc": "/**\n * Popover component is a lightweight floating UI element that displays additional content when triggered.\n * It can be used for tooltips, dropdowns, or contextual menus.\n * The popover automatically positions itself based on available space and\n * supports dynamic height adjustments with scrollable content when needed。\n *\n * @dependency mdc-button\n *\n * @tagname mdc-popover\n *\n *\n * @event shown - (React: onShown) This event is dispatched when the popover is shown\n * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden\n * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for the popover content\n *\n */",
|
11277
11345
|
"customElement": true
|
11278
11346
|
}
|
11279
11347
|
],
|
@@ -16391,6 +16459,48 @@
|
|
16391
16459
|
}
|
16392
16460
|
}
|
16393
16461
|
],
|
16462
|
+
"events": [
|
16463
|
+
{
|
16464
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
16465
|
+
"name": "shown",
|
16466
|
+
"reactName": "onShown",
|
16467
|
+
"eventName": "ShownEvent",
|
16468
|
+
"inheritedFrom": {
|
16469
|
+
"name": "Popover",
|
16470
|
+
"module": "src/components/popover/popover.component.ts"
|
16471
|
+
}
|
16472
|
+
},
|
16473
|
+
{
|
16474
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
16475
|
+
"name": "hidden",
|
16476
|
+
"reactName": "onHidden",
|
16477
|
+
"eventName": "HiddenEvent",
|
16478
|
+
"inheritedFrom": {
|
16479
|
+
"name": "Popover",
|
16480
|
+
"module": "src/components/popover/popover.component.ts"
|
16481
|
+
}
|
16482
|
+
},
|
16483
|
+
{
|
16484
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
16485
|
+
"name": "created",
|
16486
|
+
"reactName": "onCreated",
|
16487
|
+
"eventName": "CreatedEvent",
|
16488
|
+
"inheritedFrom": {
|
16489
|
+
"name": "Popover",
|
16490
|
+
"module": "src/components/popover/popover.component.ts"
|
16491
|
+
}
|
16492
|
+
},
|
16493
|
+
{
|
16494
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
16495
|
+
"name": "destroyed",
|
16496
|
+
"reactName": "onDestroyed",
|
16497
|
+
"eventName": "DestroyedEvent",
|
16498
|
+
"inheritedFrom": {
|
16499
|
+
"name": "Popover",
|
16500
|
+
"module": "src/components/popover/popover.component.ts"
|
16501
|
+
}
|
16502
|
+
}
|
16503
|
+
],
|
16394
16504
|
"attributes": [
|
16395
16505
|
{
|
16396
16506
|
"name": "tooltip-type",
|
@@ -16784,7 +16894,7 @@
|
|
16784
16894
|
"module": "/src/components/popover/popover.component"
|
16785
16895
|
},
|
16786
16896
|
"tagName": "mdc-tooltip",
|
16787
|
-
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
16897
|
+
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
16788
16898
|
"customElement": true,
|
16789
16899
|
"slots": [
|
16790
16900
|
{
|
@@ -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;
|
package/dist/react/index.d.ts
CHANGED
@@ -2,7 +2,6 @@ export { default as AlertChip } from './alertchip';
|
|
2
2
|
export { default as Avatar } from './avatar';
|
3
3
|
export { default as AvatarButton } from './avatarbutton';
|
4
4
|
export { default as Badge } from './badge';
|
5
|
-
export { default as Bullet } from './bullet';
|
6
5
|
export { default as Button } from './button';
|
7
6
|
export { default as Buttonsimple } from './buttonsimple';
|
8
7
|
export { default as Checkbox } from './checkbox';
|
@@ -13,6 +12,7 @@ export { default as FilterChip } from './filterchip';
|
|
13
12
|
export { default as FormfieldGroup } from './formfieldgroup';
|
14
13
|
export { default as FormfieldWrapper } from './formfieldwrapper';
|
15
14
|
export { default as Icon } from './icon';
|
15
|
+
export { default as Bullet } from './bullet';
|
16
16
|
export { default as IconProvider } from './iconprovider';
|
17
17
|
export { default as Input } from './input';
|
18
18
|
export { default as InputChip } from './inputchip';
|
package/dist/react/index.js
CHANGED
@@ -2,7 +2,6 @@ export { default as AlertChip } from './alertchip';
|
|
2
2
|
export { default as Avatar } from './avatar';
|
3
3
|
export { default as AvatarButton } from './avatarbutton';
|
4
4
|
export { default as Badge } from './badge';
|
5
|
-
export { default as Bullet } from './bullet';
|
6
5
|
export { default as Button } from './button';
|
7
6
|
export { default as Buttonsimple } from './buttonsimple';
|
8
7
|
export { default as Checkbox } from './checkbox';
|
@@ -13,6 +12,7 @@ export { default as FilterChip } from './filterchip';
|
|
13
12
|
export { default as FormfieldGroup } from './formfieldgroup';
|
14
13
|
export { default as FormfieldWrapper } from './formfieldwrapper';
|
15
14
|
export { default as Icon } from './icon';
|
15
|
+
export { default as Bullet } from './bullet';
|
16
16
|
export { default as IconProvider } from './iconprovider';
|
17
17
|
export { default as Input } from './input';
|
18
18
|
export { default as InputChip } from './inputchip';
|
@@ -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