@momentum-design/components 0.127.7 → 0.127.9
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 +12 -5
- package/dist/browser/index.js.map +3 -3
- package/dist/components/alertchip/alertchip.styles.js +7 -0
- package/dist/components/popover/popover.component.d.ts +31 -5
- package/dist/components/popover/popover.component.js +42 -14
- package/dist/components/popover/popover.stack.d.ts +2 -1
- package/dist/components/popover/popover.stack.js +2 -0
- package/dist/custom-elements.json +328 -353
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/popover/index.d.ts +2 -2
- package/dist/react/popover/index.js +2 -2
- package/dist/utils/mixins/BackdropMixin.js +2 -2
- package/package.json +1 -1
|
@@ -2102,7 +2102,7 @@
|
|
|
2102
2102
|
"type": {
|
|
2103
2103
|
"text": "number"
|
|
2104
2104
|
},
|
|
2105
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
2105
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
2106
2106
|
"default": "1000",
|
|
2107
2107
|
"attribute": "z-index",
|
|
2108
2108
|
"reflects": true,
|
|
@@ -4846,77 +4846,6 @@
|
|
|
4846
4846
|
}
|
|
4847
4847
|
]
|
|
4848
4848
|
},
|
|
4849
|
-
{
|
|
4850
|
-
"kind": "javascript-module",
|
|
4851
|
-
"path": "components/bullet/bullet.component.js",
|
|
4852
|
-
"declarations": [
|
|
4853
|
-
{
|
|
4854
|
-
"kind": "class",
|
|
4855
|
-
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
|
4856
|
-
"name": "Bullet",
|
|
4857
|
-
"cssProperties": [
|
|
4858
|
-
{
|
|
4859
|
-
"description": "background color of the bullet",
|
|
4860
|
-
"name": "--mdc-bullet-background-color"
|
|
4861
|
-
},
|
|
4862
|
-
{
|
|
4863
|
-
"description": "small size value of the bullet",
|
|
4864
|
-
"name": "--mdc-bullet-size-small"
|
|
4865
|
-
},
|
|
4866
|
-
{
|
|
4867
|
-
"description": "medium size value of the bullet",
|
|
4868
|
-
"name": "--mdc-bullet-size-medium"
|
|
4869
|
-
},
|
|
4870
|
-
{
|
|
4871
|
-
"description": "large size value of the bullet",
|
|
4872
|
-
"name": "--mdc-bullet-size-large"
|
|
4873
|
-
}
|
|
4874
|
-
],
|
|
4875
|
-
"members": [
|
|
4876
|
-
{
|
|
4877
|
-
"kind": "field",
|
|
4878
|
-
"name": "size",
|
|
4879
|
-
"type": {
|
|
4880
|
-
"text": "Size"
|
|
4881
|
-
},
|
|
4882
|
-
"privacy": "public",
|
|
4883
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
4884
|
-
"default": "small",
|
|
4885
|
-
"attribute": "size",
|
|
4886
|
-
"reflects": true
|
|
4887
|
-
}
|
|
4888
|
-
],
|
|
4889
|
-
"attributes": [
|
|
4890
|
-
{
|
|
4891
|
-
"name": "size",
|
|
4892
|
-
"type": {
|
|
4893
|
-
"text": "Size"
|
|
4894
|
-
},
|
|
4895
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
4896
|
-
"default": "small",
|
|
4897
|
-
"fieldName": "size"
|
|
4898
|
-
}
|
|
4899
|
-
],
|
|
4900
|
-
"superclass": {
|
|
4901
|
-
"name": "Component",
|
|
4902
|
-
"module": "/src/models"
|
|
4903
|
-
},
|
|
4904
|
-
"tagName": "mdc-bullet",
|
|
4905
|
-
"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 */",
|
|
4906
|
-
"customElement": true
|
|
4907
|
-
}
|
|
4908
|
-
],
|
|
4909
|
-
"exports": [
|
|
4910
|
-
{
|
|
4911
|
-
"kind": "js",
|
|
4912
|
-
"name": "default",
|
|
4913
|
-
"declaration": {
|
|
4914
|
-
"name": "Bullet",
|
|
4915
|
-
"module": "components/bullet/bullet.component.js"
|
|
4916
|
-
}
|
|
4917
|
-
}
|
|
4918
|
-
]
|
|
4919
|
-
},
|
|
4920
4849
|
{
|
|
4921
4850
|
"kind": "javascript-module",
|
|
4922
4851
|
"path": "components/brandvisual/brandvisual.component.js",
|
|
@@ -5093,6 +5022,77 @@
|
|
|
5093
5022
|
}
|
|
5094
5023
|
]
|
|
5095
5024
|
},
|
|
5025
|
+
{
|
|
5026
|
+
"kind": "javascript-module",
|
|
5027
|
+
"path": "components/bullet/bullet.component.js",
|
|
5028
|
+
"declarations": [
|
|
5029
|
+
{
|
|
5030
|
+
"kind": "class",
|
|
5031
|
+
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
|
5032
|
+
"name": "Bullet",
|
|
5033
|
+
"cssProperties": [
|
|
5034
|
+
{
|
|
5035
|
+
"description": "background color of the bullet",
|
|
5036
|
+
"name": "--mdc-bullet-background-color"
|
|
5037
|
+
},
|
|
5038
|
+
{
|
|
5039
|
+
"description": "small size value of the bullet",
|
|
5040
|
+
"name": "--mdc-bullet-size-small"
|
|
5041
|
+
},
|
|
5042
|
+
{
|
|
5043
|
+
"description": "medium size value of the bullet",
|
|
5044
|
+
"name": "--mdc-bullet-size-medium"
|
|
5045
|
+
},
|
|
5046
|
+
{
|
|
5047
|
+
"description": "large size value of the bullet",
|
|
5048
|
+
"name": "--mdc-bullet-size-large"
|
|
5049
|
+
}
|
|
5050
|
+
],
|
|
5051
|
+
"members": [
|
|
5052
|
+
{
|
|
5053
|
+
"kind": "field",
|
|
5054
|
+
"name": "size",
|
|
5055
|
+
"type": {
|
|
5056
|
+
"text": "Size"
|
|
5057
|
+
},
|
|
5058
|
+
"privacy": "public",
|
|
5059
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
5060
|
+
"default": "small",
|
|
5061
|
+
"attribute": "size",
|
|
5062
|
+
"reflects": true
|
|
5063
|
+
}
|
|
5064
|
+
],
|
|
5065
|
+
"attributes": [
|
|
5066
|
+
{
|
|
5067
|
+
"name": "size",
|
|
5068
|
+
"type": {
|
|
5069
|
+
"text": "Size"
|
|
5070
|
+
},
|
|
5071
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
5072
|
+
"default": "small",
|
|
5073
|
+
"fieldName": "size"
|
|
5074
|
+
}
|
|
5075
|
+
],
|
|
5076
|
+
"superclass": {
|
|
5077
|
+
"name": "Component",
|
|
5078
|
+
"module": "/src/models"
|
|
5079
|
+
},
|
|
5080
|
+
"tagName": "mdc-bullet",
|
|
5081
|
+
"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 */",
|
|
5082
|
+
"customElement": true
|
|
5083
|
+
}
|
|
5084
|
+
],
|
|
5085
|
+
"exports": [
|
|
5086
|
+
{
|
|
5087
|
+
"kind": "js",
|
|
5088
|
+
"name": "default",
|
|
5089
|
+
"declaration": {
|
|
5090
|
+
"name": "Bullet",
|
|
5091
|
+
"module": "components/bullet/bullet.component.js"
|
|
5092
|
+
}
|
|
5093
|
+
}
|
|
5094
|
+
]
|
|
5095
|
+
},
|
|
5096
5096
|
{
|
|
5097
5097
|
"kind": "javascript-module",
|
|
5098
5098
|
"path": "components/button/button.component.js",
|
|
@@ -11906,13 +11906,12 @@
|
|
|
11906
11906
|
{
|
|
11907
11907
|
"kind": "field",
|
|
11908
11908
|
"name": "zIndex",
|
|
11909
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
11910
|
+
"attribute": "z-index",
|
|
11911
|
+
"reflects": true,
|
|
11909
11912
|
"type": {
|
|
11910
11913
|
"text": "number"
|
|
11911
11914
|
},
|
|
11912
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1`.",
|
|
11913
|
-
"default": "1000",
|
|
11914
|
-
"attribute": "z-index",
|
|
11915
|
-
"reflects": true,
|
|
11916
11915
|
"inheritedFrom": {
|
|
11917
11916
|
"name": "Popover",
|
|
11918
11917
|
"module": "components/popover/popover.component.js"
|
|
@@ -13567,11 +13566,7 @@
|
|
|
13567
13566
|
},
|
|
13568
13567
|
{
|
|
13569
13568
|
"name": "z-index",
|
|
13570
|
-
"
|
|
13571
|
-
"text": "number"
|
|
13572
|
-
},
|
|
13573
|
-
"description": "The z-index of the popover.",
|
|
13574
|
-
"default": "1000",
|
|
13569
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
13575
13570
|
"fieldName": "zIndex",
|
|
13576
13571
|
"inheritedFrom": {
|
|
13577
13572
|
"name": "Popover",
|
|
@@ -27281,13 +27276,12 @@
|
|
|
27281
27276
|
{
|
|
27282
27277
|
"kind": "field",
|
|
27283
27278
|
"name": "zIndex",
|
|
27279
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
27280
|
+
"attribute": "z-index",
|
|
27281
|
+
"reflects": true,
|
|
27284
27282
|
"type": {
|
|
27285
27283
|
"text": "number"
|
|
27286
27284
|
},
|
|
27287
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1`.",
|
|
27288
|
-
"default": "1000",
|
|
27289
|
-
"attribute": "z-index",
|
|
27290
|
-
"reflects": true,
|
|
27291
27285
|
"inheritedFrom": {
|
|
27292
27286
|
"name": "Popover",
|
|
27293
27287
|
"module": "components/popover/popover.component.js"
|
|
@@ -28932,11 +28926,7 @@
|
|
|
28932
28926
|
},
|
|
28933
28927
|
{
|
|
28934
28928
|
"name": "z-index",
|
|
28935
|
-
"
|
|
28936
|
-
"text": "number"
|
|
28937
|
-
},
|
|
28938
|
-
"description": "The z-index of the popover.",
|
|
28939
|
-
"default": "1000",
|
|
28929
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
28940
28930
|
"fieldName": "zIndex",
|
|
28941
28931
|
"inheritedFrom": {
|
|
28942
28932
|
"name": "Popover",
|
|
@@ -33412,7 +33402,7 @@
|
|
|
33412
33402
|
"declarations": [
|
|
33413
33403
|
{
|
|
33414
33404
|
"kind": "class",
|
|
33415
|
-
"description": "Popover is
|
|
33405
|
+
"description": "Popover is generic overlay which can be triggered by any actionable element.\n\nIt can be used for tooltips, dropdowns, menus or any showing any other contextual content.\n\nThe popover automatically positions itself based on available space and\nsupports dynamic height adjustments with scrollable content when needed.\nIt uses [Floating UI](https://floating-ui.com/) for maintaining the position of the popover.\n\n## Limitations\n\n### On trigger for multiple popovers\n\nA component (button, etc.) can trigger more than one popover, but only one of them should change the\naria-expanded and aria-haspopup attributes on the trigger.\n\nTo prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked\nPopovers except one.\n\n### React Popover with append-to attribute\n\nReact mounts the popover based on the virtual DOM, but when the append-to attribute is set, the popover removes itself\nand mounts to the specified element. React will not know about the move and will not know about the\nnewly created mdc-popoverportal element either. This throws a `NotFoundError` error when the Popover is directly\nadded/removed by React, for example:\n\n```tsx\nconst SomeComponent = () => {\n const [isOpen, setIsOpen] = useState(false);\n return (<div>\n {isOpen && <Popover append-to=\"some-element-id\">...</mdc-popover>}\n </div>);\n}\n```\nAs a workaround Popover need to wrap with any other element/component, for example:\n```tsx\nconst SomeComponent = () => {\n const [isOpen, setIsOpen] = useState(false);\n return (<div>\n {isOpen && <div>\n <Popover append-to=\"some-element-id\">...</mdc-popover>\n <div>}\n </div>);\n}\n```\nNote the wrapper <div> around the Popover component (React.Fragment does not work).",
|
|
33416
33406
|
"name": "Popover",
|
|
33417
33407
|
"cssProperties": [
|
|
33418
33408
|
{
|
|
@@ -33778,8 +33768,7 @@
|
|
|
33778
33768
|
"type": {
|
|
33779
33769
|
"text": "number"
|
|
33780
33770
|
},
|
|
33781
|
-
"description": "The z-index of the popover.",
|
|
33782
|
-
"default": "1000",
|
|
33771
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
33783
33772
|
"attribute": "z-index",
|
|
33784
33773
|
"reflects": true,
|
|
33785
33774
|
"inheritedFrom": {
|
|
@@ -34835,11 +34824,7 @@
|
|
|
34835
34824
|
},
|
|
34836
34825
|
{
|
|
34837
34826
|
"name": "z-index",
|
|
34838
|
-
"
|
|
34839
|
-
"text": "number"
|
|
34840
|
-
},
|
|
34841
|
-
"description": "The z-index of the popover.",
|
|
34842
|
-
"default": "1000",
|
|
34827
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
34843
34828
|
"fieldName": "zIndex"
|
|
34844
34829
|
},
|
|
34845
34830
|
{
|
|
@@ -34955,7 +34940,7 @@
|
|
|
34955
34940
|
"module": "/src/models"
|
|
34956
34941
|
},
|
|
34957
34942
|
"tagName": "mdc-popover",
|
|
34958
|
-
"jsDoc": "/**\n * Popover is
|
|
34943
|
+
"jsDoc": "/**\n * Popover is generic overlay which can be triggered by any actionable element.\n *\n * It can be used for tooltips, dropdowns, menus or any showing any other contextual content.\n *\n * The popover automatically positions itself based on available space and\n * supports dynamic height adjustments with scrollable content when needed.\n * It uses [Floating UI](https://floating-ui.com/) for maintaining the position of the popover.\n *\n * ## Limitations\n *\n * ### On trigger for multiple popovers\n *\n * A component (button, etc.) can trigger more than one popover, but only one of them should change the\n * aria-expanded and aria-haspopup attributes on the trigger.\n *\n * To prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked\n * Popovers except one.\n *\n * ### React Popover with append-to attribute\n *\n * React mounts the popover based on the virtual DOM, but when the append-to attribute is set, the popover removes itself\n * and mounts to the specified element. React will not know about the move and will not know about the\n * newly created mdc-popoverportal element either. This throws a `NotFoundError` error when the Popover is directly\n * added/removed by React, for example:\n *\n * ```tsx\n * const SomeComponent = () => {\n * const [isOpen, setIsOpen] = useState(false);\n * return (<div>\n * {isOpen && <Popover append-to=\"some-element-id\">...</mdc-popover>}\n * </div>);\n * }\n * ```\n * As a workaround Popover need to wrap with any other element/component, for example:\n * ```tsx\n * const SomeComponent = () => {\n * const [isOpen, setIsOpen] = useState(false);\n * return (<div>\n * {isOpen && <div>\n * <Popover append-to=\"some-element-id\">...</mdc-popover>\n * <div>}\n * </div>);\n * }\n * ```\n * Note the wrapper <div> around the Popover component (React.Fragment does not work).\n *\n * @dependency mdc-button\n *\n * @tagname mdc-popover\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 * @cssproperty --mdc-popover-max-width - max width of the popover\n * @cssproperty --mdc-popover-max-height - max height of the popover\n * @cssproperty --mdc-popover-width - width of the popover\n *\n * @slot - Default slot for the popover content\n *\n * @csspart popover-close - The close button of the popover.\n * @csspart popover-content - The content of the popover.\n * @csspart popover-hover-bridge - The hover bridge of the popover.\n */",
|
|
34959
34944
|
"customElement": true
|
|
34960
34945
|
}
|
|
34961
34946
|
],
|
|
@@ -44291,145 +44276,6 @@
|
|
|
44291
44276
|
}
|
|
44292
44277
|
]
|
|
44293
44278
|
},
|
|
44294
|
-
{
|
|
44295
|
-
"kind": "javascript-module",
|
|
44296
|
-
"path": "components/spinner/spinner.component.js",
|
|
44297
|
-
"declarations": [
|
|
44298
|
-
{
|
|
44299
|
-
"kind": "class",
|
|
44300
|
-
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
|
44301
|
-
"name": "Spinner",
|
|
44302
|
-
"cssProperties": [
|
|
44303
|
-
{
|
|
44304
|
-
"description": "Allows customization of the default spinner color.",
|
|
44305
|
-
"name": "--mdc-spinner-default-color"
|
|
44306
|
-
},
|
|
44307
|
-
{
|
|
44308
|
-
"description": "Allows customization of the inverted spinner color.",
|
|
44309
|
-
"name": "--mdc-spinner-inverted-color"
|
|
44310
|
-
},
|
|
44311
|
-
{
|
|
44312
|
-
"description": "Allows customization of the spinner Button variant color.",
|
|
44313
|
-
"name": "--mdc-spinner-button-variant-color"
|
|
44314
|
-
},
|
|
44315
|
-
{
|
|
44316
|
-
"description": "Allows customization of the spinner size.",
|
|
44317
|
-
"name": "--mdc-spinner-size"
|
|
44318
|
-
}
|
|
44319
|
-
],
|
|
44320
|
-
"cssParts": [
|
|
44321
|
-
{
|
|
44322
|
-
"description": "The svg which contains the circle spinner.",
|
|
44323
|
-
"name": "container"
|
|
44324
|
-
},
|
|
44325
|
-
{
|
|
44326
|
-
"description": "The circle of the spinner.",
|
|
44327
|
-
"name": "circle"
|
|
44328
|
-
}
|
|
44329
|
-
],
|
|
44330
|
-
"members": [
|
|
44331
|
-
{
|
|
44332
|
-
"kind": "field",
|
|
44333
|
-
"name": "inverted",
|
|
44334
|
-
"type": {
|
|
44335
|
-
"text": "boolean | undefined"
|
|
44336
|
-
},
|
|
44337
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44338
|
-
"default": "false",
|
|
44339
|
-
"attribute": "inverted",
|
|
44340
|
-
"reflects": true
|
|
44341
|
-
},
|
|
44342
|
-
{
|
|
44343
|
-
"kind": "field",
|
|
44344
|
-
"name": "size",
|
|
44345
|
-
"type": {
|
|
44346
|
-
"text": "SpinnerSize | undefined"
|
|
44347
|
-
},
|
|
44348
|
-
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44349
|
-
"default": "midsize",
|
|
44350
|
-
"attribute": "size",
|
|
44351
|
-
"reflects": true
|
|
44352
|
-
},
|
|
44353
|
-
{
|
|
44354
|
-
"kind": "field",
|
|
44355
|
-
"name": "ariaLabel",
|
|
44356
|
-
"type": {
|
|
44357
|
-
"text": "string | null"
|
|
44358
|
-
},
|
|
44359
|
-
"default": "null",
|
|
44360
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
44361
|
-
"attribute": "aria-label"
|
|
44362
|
-
},
|
|
44363
|
-
{
|
|
44364
|
-
"kind": "field",
|
|
44365
|
-
"name": "variant",
|
|
44366
|
-
"type": {
|
|
44367
|
-
"text": "SpinnerVariant"
|
|
44368
|
-
},
|
|
44369
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44370
|
-
"default": "standalone",
|
|
44371
|
-
"attribute": "variant",
|
|
44372
|
-
"reflects": true
|
|
44373
|
-
}
|
|
44374
|
-
],
|
|
44375
|
-
"attributes": [
|
|
44376
|
-
{
|
|
44377
|
-
"name": "inverted",
|
|
44378
|
-
"type": {
|
|
44379
|
-
"text": "boolean | undefined"
|
|
44380
|
-
},
|
|
44381
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44382
|
-
"default": "false",
|
|
44383
|
-
"fieldName": "inverted"
|
|
44384
|
-
},
|
|
44385
|
-
{
|
|
44386
|
-
"name": "size",
|
|
44387
|
-
"type": {
|
|
44388
|
-
"text": "SpinnerSize | undefined"
|
|
44389
|
-
},
|
|
44390
|
-
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44391
|
-
"default": "midsize",
|
|
44392
|
-
"fieldName": "size"
|
|
44393
|
-
},
|
|
44394
|
-
{
|
|
44395
|
-
"name": "aria-label",
|
|
44396
|
-
"type": {
|
|
44397
|
-
"text": "string | null"
|
|
44398
|
-
},
|
|
44399
|
-
"default": "null",
|
|
44400
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
44401
|
-
"fieldName": "ariaLabel"
|
|
44402
|
-
},
|
|
44403
|
-
{
|
|
44404
|
-
"name": "variant",
|
|
44405
|
-
"type": {
|
|
44406
|
-
"text": "SpinnerVariant"
|
|
44407
|
-
},
|
|
44408
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44409
|
-
"default": "standalone",
|
|
44410
|
-
"fieldName": "variant"
|
|
44411
|
-
}
|
|
44412
|
-
],
|
|
44413
|
-
"superclass": {
|
|
44414
|
-
"name": "Component",
|
|
44415
|
-
"module": "/src/models"
|
|
44416
|
-
},
|
|
44417
|
-
"tagName": "mdc-spinner",
|
|
44418
|
-
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
|
44419
|
-
"customElement": true
|
|
44420
|
-
}
|
|
44421
|
-
],
|
|
44422
|
-
"exports": [
|
|
44423
|
-
{
|
|
44424
|
-
"kind": "js",
|
|
44425
|
-
"name": "default",
|
|
44426
|
-
"declaration": {
|
|
44427
|
-
"name": "Spinner",
|
|
44428
|
-
"module": "components/spinner/spinner.component.js"
|
|
44429
|
-
}
|
|
44430
|
-
}
|
|
44431
|
-
]
|
|
44432
|
-
},
|
|
44433
44279
|
{
|
|
44434
44280
|
"kind": "javascript-module",
|
|
44435
44281
|
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
|
@@ -44903,6 +44749,145 @@
|
|
|
44903
44749
|
}
|
|
44904
44750
|
]
|
|
44905
44751
|
},
|
|
44752
|
+
{
|
|
44753
|
+
"kind": "javascript-module",
|
|
44754
|
+
"path": "components/spinner/spinner.component.js",
|
|
44755
|
+
"declarations": [
|
|
44756
|
+
{
|
|
44757
|
+
"kind": "class",
|
|
44758
|
+
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
|
44759
|
+
"name": "Spinner",
|
|
44760
|
+
"cssProperties": [
|
|
44761
|
+
{
|
|
44762
|
+
"description": "Allows customization of the default spinner color.",
|
|
44763
|
+
"name": "--mdc-spinner-default-color"
|
|
44764
|
+
},
|
|
44765
|
+
{
|
|
44766
|
+
"description": "Allows customization of the inverted spinner color.",
|
|
44767
|
+
"name": "--mdc-spinner-inverted-color"
|
|
44768
|
+
},
|
|
44769
|
+
{
|
|
44770
|
+
"description": "Allows customization of the spinner Button variant color.",
|
|
44771
|
+
"name": "--mdc-spinner-button-variant-color"
|
|
44772
|
+
},
|
|
44773
|
+
{
|
|
44774
|
+
"description": "Allows customization of the spinner size.",
|
|
44775
|
+
"name": "--mdc-spinner-size"
|
|
44776
|
+
}
|
|
44777
|
+
],
|
|
44778
|
+
"cssParts": [
|
|
44779
|
+
{
|
|
44780
|
+
"description": "The svg which contains the circle spinner.",
|
|
44781
|
+
"name": "container"
|
|
44782
|
+
},
|
|
44783
|
+
{
|
|
44784
|
+
"description": "The circle of the spinner.",
|
|
44785
|
+
"name": "circle"
|
|
44786
|
+
}
|
|
44787
|
+
],
|
|
44788
|
+
"members": [
|
|
44789
|
+
{
|
|
44790
|
+
"kind": "field",
|
|
44791
|
+
"name": "inverted",
|
|
44792
|
+
"type": {
|
|
44793
|
+
"text": "boolean | undefined"
|
|
44794
|
+
},
|
|
44795
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44796
|
+
"default": "false",
|
|
44797
|
+
"attribute": "inverted",
|
|
44798
|
+
"reflects": true
|
|
44799
|
+
},
|
|
44800
|
+
{
|
|
44801
|
+
"kind": "field",
|
|
44802
|
+
"name": "size",
|
|
44803
|
+
"type": {
|
|
44804
|
+
"text": "SpinnerSize | undefined"
|
|
44805
|
+
},
|
|
44806
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44807
|
+
"default": "midsize",
|
|
44808
|
+
"attribute": "size",
|
|
44809
|
+
"reflects": true
|
|
44810
|
+
},
|
|
44811
|
+
{
|
|
44812
|
+
"kind": "field",
|
|
44813
|
+
"name": "ariaLabel",
|
|
44814
|
+
"type": {
|
|
44815
|
+
"text": "string | null"
|
|
44816
|
+
},
|
|
44817
|
+
"default": "null",
|
|
44818
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
44819
|
+
"attribute": "aria-label"
|
|
44820
|
+
},
|
|
44821
|
+
{
|
|
44822
|
+
"kind": "field",
|
|
44823
|
+
"name": "variant",
|
|
44824
|
+
"type": {
|
|
44825
|
+
"text": "SpinnerVariant"
|
|
44826
|
+
},
|
|
44827
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44828
|
+
"default": "standalone",
|
|
44829
|
+
"attribute": "variant",
|
|
44830
|
+
"reflects": true
|
|
44831
|
+
}
|
|
44832
|
+
],
|
|
44833
|
+
"attributes": [
|
|
44834
|
+
{
|
|
44835
|
+
"name": "inverted",
|
|
44836
|
+
"type": {
|
|
44837
|
+
"text": "boolean | undefined"
|
|
44838
|
+
},
|
|
44839
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
|
44840
|
+
"default": "false",
|
|
44841
|
+
"fieldName": "inverted"
|
|
44842
|
+
},
|
|
44843
|
+
{
|
|
44844
|
+
"name": "size",
|
|
44845
|
+
"type": {
|
|
44846
|
+
"text": "SpinnerSize | undefined"
|
|
44847
|
+
},
|
|
44848
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
|
44849
|
+
"default": "midsize",
|
|
44850
|
+
"fieldName": "size"
|
|
44851
|
+
},
|
|
44852
|
+
{
|
|
44853
|
+
"name": "aria-label",
|
|
44854
|
+
"type": {
|
|
44855
|
+
"text": "string | null"
|
|
44856
|
+
},
|
|
44857
|
+
"default": "null",
|
|
44858
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
44859
|
+
"fieldName": "ariaLabel"
|
|
44860
|
+
},
|
|
44861
|
+
{
|
|
44862
|
+
"name": "variant",
|
|
44863
|
+
"type": {
|
|
44864
|
+
"text": "SpinnerVariant"
|
|
44865
|
+
},
|
|
44866
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
|
44867
|
+
"default": "standalone",
|
|
44868
|
+
"fieldName": "variant"
|
|
44869
|
+
}
|
|
44870
|
+
],
|
|
44871
|
+
"superclass": {
|
|
44872
|
+
"name": "Component",
|
|
44873
|
+
"module": "/src/models"
|
|
44874
|
+
},
|
|
44875
|
+
"tagName": "mdc-spinner",
|
|
44876
|
+
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
|
44877
|
+
"customElement": true
|
|
44878
|
+
}
|
|
44879
|
+
],
|
|
44880
|
+
"exports": [
|
|
44881
|
+
{
|
|
44882
|
+
"kind": "js",
|
|
44883
|
+
"name": "default",
|
|
44884
|
+
"declaration": {
|
|
44885
|
+
"name": "Spinner",
|
|
44886
|
+
"module": "components/spinner/spinner.component.js"
|
|
44887
|
+
}
|
|
44888
|
+
}
|
|
44889
|
+
]
|
|
44890
|
+
},
|
|
44906
44891
|
{
|
|
44907
44892
|
"kind": "javascript-module",
|
|
44908
44893
|
"path": "components/statictoggle/statictoggle.component.js",
|
|
@@ -46498,106 +46483,6 @@
|
|
|
46498
46483
|
}
|
|
46499
46484
|
]
|
|
46500
46485
|
},
|
|
46501
|
-
{
|
|
46502
|
-
"kind": "javascript-module",
|
|
46503
|
-
"path": "components/tablist/tablist.component.js",
|
|
46504
|
-
"declarations": [
|
|
46505
|
-
{
|
|
46506
|
-
"kind": "class",
|
|
46507
|
-
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
|
46508
|
-
"name": "TabList",
|
|
46509
|
-
"cssProperties": [
|
|
46510
|
-
{
|
|
46511
|
-
"description": "Gap between tabs",
|
|
46512
|
-
"name": "--mdc-tablist-gap"
|
|
46513
|
-
},
|
|
46514
|
-
{
|
|
46515
|
-
"description": "Width of the tablist",
|
|
46516
|
-
"name": "--mdc-tablist-width"
|
|
46517
|
-
},
|
|
46518
|
-
{
|
|
46519
|
-
"description": "Margin value for the arrow button",
|
|
46520
|
-
"name": "--mdc-tablist-arrow-button-margin"
|
|
46521
|
-
}
|
|
46522
|
-
],
|
|
46523
|
-
"cssParts": [
|
|
46524
|
-
{
|
|
46525
|
-
"description": "The tablist container.",
|
|
46526
|
-
"name": "container"
|
|
46527
|
-
}
|
|
46528
|
-
],
|
|
46529
|
-
"slots": [
|
|
46530
|
-
{
|
|
46531
|
-
"description": "slot for mdc-tab elements.",
|
|
46532
|
-
"name": "Default"
|
|
46533
|
-
}
|
|
46534
|
-
],
|
|
46535
|
-
"members": [
|
|
46536
|
-
{
|
|
46537
|
-
"kind": "field",
|
|
46538
|
-
"name": "activeTabId",
|
|
46539
|
-
"type": {
|
|
46540
|
-
"text": "string | undefined"
|
|
46541
|
-
},
|
|
46542
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
46543
|
-
"attribute": "active-tab-id",
|
|
46544
|
-
"reflects": true
|
|
46545
|
-
},
|
|
46546
|
-
{
|
|
46547
|
-
"kind": "field",
|
|
46548
|
-
"name": "dataAriaLabel",
|
|
46549
|
-
"type": {
|
|
46550
|
-
"text": "string | undefined"
|
|
46551
|
-
},
|
|
46552
|
-
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
46553
|
-
"attribute": "data-aria-label"
|
|
46554
|
-
}
|
|
46555
|
-
],
|
|
46556
|
-
"events": [
|
|
46557
|
-
{
|
|
46558
|
-
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
|
46559
|
-
"name": "change",
|
|
46560
|
-
"reactName": "onChange"
|
|
46561
|
-
}
|
|
46562
|
-
],
|
|
46563
|
-
"attributes": [
|
|
46564
|
-
{
|
|
46565
|
-
"name": "active-tab-id",
|
|
46566
|
-
"type": {
|
|
46567
|
-
"text": "string | undefined"
|
|
46568
|
-
},
|
|
46569
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
46570
|
-
"fieldName": "activeTabId"
|
|
46571
|
-
},
|
|
46572
|
-
{
|
|
46573
|
-
"name": "data-aria-label",
|
|
46574
|
-
"type": {
|
|
46575
|
-
"text": "string | undefined"
|
|
46576
|
-
},
|
|
46577
|
-
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
46578
|
-
"fieldName": "dataAriaLabel"
|
|
46579
|
-
}
|
|
46580
|
-
],
|
|
46581
|
-
"superclass": {
|
|
46582
|
-
"name": "Component",
|
|
46583
|
-
"module": "/src/models"
|
|
46584
|
-
},
|
|
46585
|
-
"tagName": "mdc-tablist",
|
|
46586
|
-
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n *\n * @csspart container - The tablist container.\n */",
|
|
46587
|
-
"customElement": true
|
|
46588
|
-
}
|
|
46589
|
-
],
|
|
46590
|
-
"exports": [
|
|
46591
|
-
{
|
|
46592
|
-
"kind": "js",
|
|
46593
|
-
"name": "default",
|
|
46594
|
-
"declaration": {
|
|
46595
|
-
"name": "TabList",
|
|
46596
|
-
"module": "components/tablist/tablist.component.js"
|
|
46597
|
-
}
|
|
46598
|
-
}
|
|
46599
|
-
]
|
|
46600
|
-
},
|
|
46601
46486
|
{
|
|
46602
46487
|
"kind": "javascript-module",
|
|
46603
46488
|
"path": "components/text/text.component.js",
|
|
@@ -48034,6 +47919,106 @@
|
|
|
48034
47919
|
}
|
|
48035
47920
|
]
|
|
48036
47921
|
},
|
|
47922
|
+
{
|
|
47923
|
+
"kind": "javascript-module",
|
|
47924
|
+
"path": "components/tablist/tablist.component.js",
|
|
47925
|
+
"declarations": [
|
|
47926
|
+
{
|
|
47927
|
+
"kind": "class",
|
|
47928
|
+
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
|
47929
|
+
"name": "TabList",
|
|
47930
|
+
"cssProperties": [
|
|
47931
|
+
{
|
|
47932
|
+
"description": "Gap between tabs",
|
|
47933
|
+
"name": "--mdc-tablist-gap"
|
|
47934
|
+
},
|
|
47935
|
+
{
|
|
47936
|
+
"description": "Width of the tablist",
|
|
47937
|
+
"name": "--mdc-tablist-width"
|
|
47938
|
+
},
|
|
47939
|
+
{
|
|
47940
|
+
"description": "Margin value for the arrow button",
|
|
47941
|
+
"name": "--mdc-tablist-arrow-button-margin"
|
|
47942
|
+
}
|
|
47943
|
+
],
|
|
47944
|
+
"cssParts": [
|
|
47945
|
+
{
|
|
47946
|
+
"description": "The tablist container.",
|
|
47947
|
+
"name": "container"
|
|
47948
|
+
}
|
|
47949
|
+
],
|
|
47950
|
+
"slots": [
|
|
47951
|
+
{
|
|
47952
|
+
"description": "slot for mdc-tab elements.",
|
|
47953
|
+
"name": "Default"
|
|
47954
|
+
}
|
|
47955
|
+
],
|
|
47956
|
+
"members": [
|
|
47957
|
+
{
|
|
47958
|
+
"kind": "field",
|
|
47959
|
+
"name": "activeTabId",
|
|
47960
|
+
"type": {
|
|
47961
|
+
"text": "string | undefined"
|
|
47962
|
+
},
|
|
47963
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
47964
|
+
"attribute": "active-tab-id",
|
|
47965
|
+
"reflects": true
|
|
47966
|
+
},
|
|
47967
|
+
{
|
|
47968
|
+
"kind": "field",
|
|
47969
|
+
"name": "dataAriaLabel",
|
|
47970
|
+
"type": {
|
|
47971
|
+
"text": "string | undefined"
|
|
47972
|
+
},
|
|
47973
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
47974
|
+
"attribute": "data-aria-label"
|
|
47975
|
+
}
|
|
47976
|
+
],
|
|
47977
|
+
"events": [
|
|
47978
|
+
{
|
|
47979
|
+
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
|
47980
|
+
"name": "change",
|
|
47981
|
+
"reactName": "onChange"
|
|
47982
|
+
}
|
|
47983
|
+
],
|
|
47984
|
+
"attributes": [
|
|
47985
|
+
{
|
|
47986
|
+
"name": "active-tab-id",
|
|
47987
|
+
"type": {
|
|
47988
|
+
"text": "string | undefined"
|
|
47989
|
+
},
|
|
47990
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
|
47991
|
+
"fieldName": "activeTabId"
|
|
47992
|
+
},
|
|
47993
|
+
{
|
|
47994
|
+
"name": "data-aria-label",
|
|
47995
|
+
"type": {
|
|
47996
|
+
"text": "string | undefined"
|
|
47997
|
+
},
|
|
47998
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
|
47999
|
+
"fieldName": "dataAriaLabel"
|
|
48000
|
+
}
|
|
48001
|
+
],
|
|
48002
|
+
"superclass": {
|
|
48003
|
+
"name": "Component",
|
|
48004
|
+
"module": "/src/models"
|
|
48005
|
+
},
|
|
48006
|
+
"tagName": "mdc-tablist",
|
|
48007
|
+
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n *\n * @csspart container - The tablist container.\n */",
|
|
48008
|
+
"customElement": true
|
|
48009
|
+
}
|
|
48010
|
+
],
|
|
48011
|
+
"exports": [
|
|
48012
|
+
{
|
|
48013
|
+
"kind": "js",
|
|
48014
|
+
"name": "default",
|
|
48015
|
+
"declaration": {
|
|
48016
|
+
"name": "TabList",
|
|
48017
|
+
"module": "components/tablist/tablist.component.js"
|
|
48018
|
+
}
|
|
48019
|
+
}
|
|
48020
|
+
]
|
|
48021
|
+
},
|
|
48037
48022
|
{
|
|
48038
48023
|
"kind": "javascript-module",
|
|
48039
48024
|
"path": "components/toast/toast.component.js",
|
|
@@ -49553,8 +49538,7 @@
|
|
|
49553
49538
|
"type": {
|
|
49554
49539
|
"text": "number"
|
|
49555
49540
|
},
|
|
49556
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
49557
|
-
"default": "1000",
|
|
49541
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
49558
49542
|
"attribute": "z-index",
|
|
49559
49543
|
"reflects": true,
|
|
49560
49544
|
"inheritedFrom": {
|
|
@@ -51251,11 +51235,7 @@
|
|
|
51251
51235
|
},
|
|
51252
51236
|
{
|
|
51253
51237
|
"name": "z-index",
|
|
51254
|
-
"
|
|
51255
|
-
"text": "number"
|
|
51256
|
-
},
|
|
51257
|
-
"description": "The z-index of the popover.",
|
|
51258
|
-
"default": "1000",
|
|
51238
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
51259
51239
|
"fieldName": "zIndex",
|
|
51260
51240
|
"inheritedFrom": {
|
|
51261
51241
|
"name": "Popover",
|
|
@@ -51619,8 +51599,7 @@
|
|
|
51619
51599
|
"type": {
|
|
51620
51600
|
"text": "number"
|
|
51621
51601
|
},
|
|
51622
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
51623
|
-
"default": "1000",
|
|
51602
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable.",
|
|
51624
51603
|
"attribute": "z-index",
|
|
51625
51604
|
"reflects": true,
|
|
51626
51605
|
"inheritedFrom": {
|
|
@@ -53333,11 +53312,7 @@
|
|
|
53333
53312
|
},
|
|
53334
53313
|
{
|
|
53335
53314
|
"name": "z-index",
|
|
53336
|
-
"
|
|
53337
|
-
"text": "number"
|
|
53338
|
-
},
|
|
53339
|
-
"description": "The z-index of the popover.",
|
|
53340
|
-
"default": "1000",
|
|
53315
|
+
"description": "The effective z-index of the popover.\n\nIf no explicit `z-index` value is provided, then we calculate\nz-index based on the popover’s nesting depth (`popoverDepth`)\nto ensure proper stacking order among multiple popovers.\n\nThe formula used is: `DEFAULTS.Z_INDEX + (popoverDepth * 3)`.\nThis approach guarantees that each nested popover appears above its parent.\nEx: A root-level popover has a z-index of 1000,\n its first-level child popover will have a z-index of 1003,\n and a second-level child popover will have a z-index of 1006, and so on.\n\nWhen a value is explicitly set, it overrides the internally computed value.",
|
|
53341
53316
|
"fieldName": "zIndex",
|
|
53342
53317
|
"inheritedFrom": {
|
|
53343
53318
|
"name": "Popover",
|
|
@@ -54760,7 +54735,7 @@
|
|
|
54760
54735
|
"type": {
|
|
54761
54736
|
"text": "number"
|
|
54762
54737
|
},
|
|
54763
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1
|
|
54738
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\n\nThe backdrop itself will have a z-index of `zIndex - 2`.\nThe trigger element of the backdrop will have a z-index of `zIndex - 1`,\nto make sure that it is above the backdrop and clickable."
|
|
54764
54739
|
}
|
|
54765
54740
|
],
|
|
54766
54741
|
"parameters": [
|