@momentum-design/components 0.106.8 → 0.107.1

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 (33) hide show
  1. package/dist/browser/index.js +359 -350
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/chip/chip.component.js +2 -2
  4. package/dist/components/chip/chip.constants.d.ts +1 -12
  5. package/dist/components/chip/chip.constants.js +1 -12
  6. package/dist/components/chip/chip.styles.js +1 -59
  7. package/dist/components/menupopover/menupopover.component.js +0 -2
  8. package/dist/components/popover/popover.component.d.ts +12 -9
  9. package/dist/components/popover/popover.component.js +12 -23
  10. package/dist/components/popover/popover.constants.d.ts +0 -1
  11. package/dist/components/popover/popover.constants.js +0 -1
  12. package/dist/components/popover/popover.utils.d.ts +0 -4
  13. package/dist/components/popover/popover.utils.js +4 -18
  14. package/dist/components/staticchip/index.d.ts +9 -0
  15. package/dist/components/staticchip/index.js +6 -0
  16. package/dist/components/staticchip/staticchip.component.d.ts +54 -0
  17. package/dist/components/staticchip/staticchip.component.js +89 -0
  18. package/dist/components/staticchip/staticchip.constants.d.ts +19 -0
  19. package/dist/components/staticchip/staticchip.constants.js +21 -0
  20. package/dist/components/staticchip/staticchip.styles.d.ts +2 -0
  21. package/dist/components/staticchip/staticchip.styles.js +66 -0
  22. package/dist/components/staticchip/staticchip.types.d.ts +4 -0
  23. package/dist/components/staticchip/staticchip.types.js +1 -0
  24. package/dist/custom-elements.json +216 -221
  25. package/dist/index.d.ts +2 -1
  26. package/dist/index.js +2 -1
  27. package/dist/react/index.d.ts +2 -1
  28. package/dist/react/index.js +2 -1
  29. package/dist/react/popover/index.d.ts +4 -0
  30. package/dist/react/popover/index.js +4 -0
  31. package/dist/react/staticchip/index.d.ts +20 -0
  32. package/dist/react/staticchip/index.js +29 -0
  33. package/package.json +1 -1
@@ -10528,21 +10528,6 @@
10528
10528
  "module": "components/popover/popover.component.js"
10529
10529
  }
10530
10530
  },
10531
- {
10532
- "kind": "field",
10533
- "name": "disableAriaHasPopup",
10534
- "type": {
10535
- "text": "boolean"
10536
- },
10537
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
10538
- "default": "false",
10539
- "attribute": "disable-aria-haspopup",
10540
- "reflects": true,
10541
- "inheritedFrom": {
10542
- "name": "Popover",
10543
- "module": "components/popover/popover.component.js"
10544
- }
10545
- },
10546
10531
  {
10547
10532
  "kind": "field",
10548
10533
  "name": "keepConnectedTooltipClosed",
@@ -11334,19 +11319,6 @@
11334
11319
  "module": "src/components/popover/popover.component.ts"
11335
11320
  }
11336
11321
  },
11337
- {
11338
- "name": "disable-aria-haspopup",
11339
- "type": {
11340
- "text": "boolean"
11341
- },
11342
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
11343
- "default": "false",
11344
- "fieldName": "disableAriaHasPopup",
11345
- "inheritedFrom": {
11346
- "name": "Popover",
11347
- "module": "src/components/popover/popover.component.ts"
11348
- }
11349
- },
11350
11322
  {
11351
11323
  "name": "keep-connected-tooltip-closed",
11352
11324
  "type": {
@@ -22502,7 +22474,7 @@
22502
22474
  "type": {
22503
22475
  "text": "boolean"
22504
22476
  },
22505
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
22477
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
22506
22478
  "default": "false",
22507
22479
  "attribute": "disable-aria-expanded",
22508
22480
  "reflects": true,
@@ -22511,21 +22483,6 @@
22511
22483
  "module": "components/popover/popover.component.js"
22512
22484
  }
22513
22485
  },
22514
- {
22515
- "kind": "field",
22516
- "name": "disableAriaHasPopup",
22517
- "type": {
22518
- "text": "boolean"
22519
- },
22520
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
22521
- "default": "false",
22522
- "attribute": "disable-aria-haspopup",
22523
- "reflects": true,
22524
- "inheritedFrom": {
22525
- "name": "Popover",
22526
- "module": "components/popover/popover.component.js"
22527
- }
22528
- },
22529
22486
  {
22530
22487
  "kind": "field",
22531
22488
  "name": "keepConnectedTooltipClosed",
@@ -23267,7 +23224,7 @@
23267
23224
  "type": {
23268
23225
  "text": "boolean"
23269
23226
  },
23270
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
23227
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
23271
23228
  "default": "false",
23272
23229
  "fieldName": "disableAriaExpanded",
23273
23230
  "inheritedFrom": {
@@ -23275,19 +23232,6 @@
23275
23232
  "module": "src/components/popover/popover.component.ts"
23276
23233
  }
23277
23234
  },
23278
- {
23279
- "name": "disable-aria-haspopup",
23280
- "type": {
23281
- "text": "boolean"
23282
- },
23283
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
23284
- "default": "false",
23285
- "fieldName": "disableAriaHasPopup",
23286
- "inheritedFrom": {
23287
- "name": "Popover",
23288
- "module": "src/components/popover/popover.component.ts"
23289
- }
23290
- },
23291
23235
  {
23292
23236
  "name": "keep-connected-tooltip-closed",
23293
23237
  "type": {
@@ -26966,7 +26910,7 @@
26966
26910
  "declarations": [
26967
26911
  {
26968
26912
  "kind": "class",
26969
- "description": "Popover component is a lightweight floating UI element that displays additional content when triggered.\nIt can be used for tooltips, dropdowns, or contextual menus.\nThe popover automatically positions itself based on available space and\nsupports dynamic height adjustments with scrollable content when needed",
26913
+ "description": "Popover component is a lightweight floating UI element that displays additional content when triggered.\nIt can be used for tooltips, dropdowns, or contextual menus.\nThe popover automatically positions itself based on available space and\nsupports dynamic height adjustments with scrollable content when needed。\n\nNote:\n - A component (button) can trigger more than one popover, but only one of them should change the\n aria-expanded and aria-haspopup, the rest of the popovers must have `disable-aria-expanded` attribute.",
26970
26914
  "name": "Popover",
26971
26915
  "cssProperties": [
26972
26916
  {
@@ -27400,22 +27344,11 @@
27400
27344
  "type": {
27401
27345
  "text": "boolean"
27402
27346
  },
27403
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
27347
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
27404
27348
  "default": "false",
27405
27349
  "attribute": "disable-aria-expanded",
27406
27350
  "reflects": true
27407
27351
  },
27408
- {
27409
- "kind": "field",
27410
- "name": "disableAriaHasPopup",
27411
- "type": {
27412
- "text": "boolean"
27413
- },
27414
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
27415
- "default": "false",
27416
- "attribute": "disable-aria-haspopup",
27417
- "reflects": true
27418
- },
27419
27352
  {
27420
27353
  "kind": "field",
27421
27354
  "name": "keepConnectedTooltipClosed",
@@ -28452,19 +28385,10 @@
28452
28385
  "type": {
28453
28386
  "text": "boolean"
28454
28387
  },
28455
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
28388
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
28456
28389
  "default": "false",
28457
28390
  "fieldName": "disableAriaExpanded"
28458
28391
  },
28459
- {
28460
- "name": "disable-aria-haspopup",
28461
- "type": {
28462
- "text": "boolean"
28463
- },
28464
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
28465
- "default": "false",
28466
- "fieldName": "disableAriaHasPopup"
28467
- },
28468
28392
  {
28469
28393
  "name": "keep-connected-tooltip-closed",
28470
28394
  "type": {
@@ -28506,7 +28430,7 @@
28506
28430
  "module": "/src/models"
28507
28431
  },
28508
28432
  "tagName": "mdc-popover",
28509
- "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 * @cssproperty --mdc-popover-max-width - max width of the popover\n * @cssproperty --mdc-popover-max-height - max height of the popover\n *\n * @slot - Default slot for the popover content\n *\n */",
28433
+ "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 * Note:\n * - A component (button) can trigger more than one popover, but only one of them should change the\n * aria-expanded and aria-haspopup, the rest of the popovers must have `disable-aria-expanded` attribute.\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 * @cssproperty --mdc-popover-max-width - max width of the popover\n * @cssproperty --mdc-popover-max-height - max height of the popover\n *\n * @slot - Default slot for the popover content\n *\n */",
28510
28434
  "customElement": true
28511
28435
  }
28512
28436
  ],
@@ -33938,138 +33862,117 @@
33938
33862
  },
33939
33863
  {
33940
33864
  "kind": "javascript-module",
33941
- "path": "components/staticradio/staticradio.component.js",
33865
+ "path": "components/staticchip/staticchip.component.js",
33942
33866
  "declarations": [
33943
33867
  {
33944
33868
  "kind": "class",
33945
- "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
33946
- "name": "StaticRadio",
33869
+ "description": "mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n\nIt is recommended to keep the label text for the chip component concise and compact.\nFor best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.",
33870
+ "name": "StaticChip",
33947
33871
  "cssProperties": [
33948
33872
  {
33949
- "description": "size of the inner circle",
33950
- "name": "--mdc-staticradio-inner-circle-size"
33951
- },
33952
- {
33953
- "description": "color of the label when disabled",
33954
- "name": "--mdc-staticradio-text-disabled-color"
33955
- },
33956
- {
33957
- "description": "color of the radio button border when normal",
33958
- "name": "--mdc-staticradio-normal-border-color"
33959
- },
33960
- {
33961
- "description": "color of the radio button border when disabled",
33962
- "name": "--mdc-staticradio-disabled-border-color"
33963
- },
33964
- {
33965
- "description": "background color of the inner circle when normal",
33966
- "name": "--mdc-staticradio-inner-circle-normal-background"
33967
- },
33968
- {
33969
- "description": "background color of the inner circle when disabled",
33970
- "name": "--mdc-staticradio-inner-circle-disabled-background"
33971
- },
33972
- {
33973
- "description": "color of the radio button when inactive",
33974
- "name": "--mdc-staticradio-control-inactive-color"
33975
- },
33976
- {
33977
- "description": "background color of the radio button when inactive and disabled",
33978
- "name": "--mdc-staticradio-control-inactive-disabled-background"
33873
+ "description": "The color of the static chip.",
33874
+ "name": "--mdc-chip-color"
33979
33875
  },
33980
33876
  {
33981
- "description": "color of the radio button when active",
33982
- "name": "--mdc-staticradio-control-active-color"
33877
+ "description": "The border color of the static chip.",
33878
+ "name": "--mdc-chip-border-color"
33983
33879
  },
33984
33880
  {
33985
- "description": "background color of the radio button when active and disabled",
33986
- "name": "--mdc-staticradio-control-active-disabled-background"
33881
+ "description": "The background color of the static chip.",
33882
+ "name": "--mdc-chip-background-color"
33987
33883
  }
33988
33884
  ],
33989
33885
  "members": [
33990
33886
  {
33991
33887
  "kind": "field",
33992
- "name": "checked",
33888
+ "name": "color",
33993
33889
  "type": {
33994
- "text": "boolean"
33890
+ "text": "ColorType"
33995
33891
  },
33996
- "default": "false",
33997
- "description": "Determines whether the radio is selected or unselected.",
33998
- "attribute": "checked",
33892
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
33893
+ "default": "default",
33894
+ "attribute": "color",
33999
33895
  "reflects": true
34000
33896
  },
34001
33897
  {
34002
33898
  "kind": "field",
34003
- "name": "readonly",
33899
+ "name": "label",
34004
33900
  "type": {
34005
- "text": "boolean"
33901
+ "text": "string"
34006
33902
  },
34007
- "default": "false",
34008
- "description": "Determines whether the radio is read-only.",
34009
- "attribute": "readonly",
34010
- "reflects": true
33903
+ "default": "''",
33904
+ "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
33905
+ "attribute": "label"
33906
+ },
33907
+ {
33908
+ "kind": "method",
33909
+ "name": "renderIcon",
33910
+ "privacy": "private",
33911
+ "description": "Renders the icon element if available.",
33912
+ "return": {
33913
+ "type": {
33914
+ "text": ""
33915
+ }
33916
+ }
34011
33917
  },
34012
33918
  {
34013
33919
  "kind": "field",
34014
- "name": "disabled",
33920
+ "name": "iconName",
34015
33921
  "type": {
34016
- "text": "boolean | undefined"
33922
+ "text": "IconNames | undefined"
34017
33923
  },
34018
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34019
- "default": "undefined",
34020
- "attribute": "disabled",
34021
- "reflects": true,
33924
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
33925
+ "attribute": "icon-name",
34022
33926
  "inheritedFrom": {
34023
- "name": "DisabledMixin",
34024
- "module": "utils/mixins/DisabledMixin.js"
33927
+ "name": "IconNameMixin",
33928
+ "module": "utils/mixins/IconNameMixin.js"
34025
33929
  }
34026
33930
  }
34027
33931
  ],
34028
33932
  "attributes": [
34029
33933
  {
34030
- "name": "checked",
33934
+ "name": "color",
34031
33935
  "type": {
34032
- "text": "boolean"
33936
+ "text": "ColorType"
34033
33937
  },
34034
- "default": "false",
34035
- "description": "Determines whether the radio is selected or unselected.",
34036
- "fieldName": "checked"
33938
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
33939
+ "default": "default",
33940
+ "fieldName": "color"
34037
33941
  },
34038
33942
  {
34039
- "name": "readonly",
33943
+ "name": "label",
34040
33944
  "type": {
34041
- "text": "boolean"
33945
+ "text": "string"
34042
33946
  },
34043
- "default": "false",
34044
- "description": "Determines whether the radio is read-only.",
34045
- "fieldName": "readonly"
33947
+ "default": "''",
33948
+ "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
33949
+ "fieldName": "label"
34046
33950
  },
34047
33951
  {
34048
- "name": "disabled",
33952
+ "name": "icon-name",
34049
33953
  "type": {
34050
- "text": "boolean | undefined"
33954
+ "text": "IconNames | undefined"
34051
33955
  },
34052
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34053
- "default": "undefined",
34054
- "fieldName": "disabled",
33956
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
33957
+ "fieldName": "iconName",
34055
33958
  "inheritedFrom": {
34056
- "name": "DisabledMixin",
34057
- "module": "src/utils/mixins/DisabledMixin.ts"
33959
+ "name": "IconNameMixin",
33960
+ "module": "src/utils/mixins/IconNameMixin.ts"
34058
33961
  }
34059
33962
  }
34060
33963
  ],
34061
33964
  "mixins": [
34062
33965
  {
34063
- "name": "DisabledMixin",
34064
- "module": "/src/utils/mixins/DisabledMixin"
33966
+ "name": "IconNameMixin",
33967
+ "module": "/src/utils/mixins/IconNameMixin"
34065
33968
  }
34066
33969
  ],
34067
33970
  "superclass": {
34068
33971
  "name": "Component",
34069
33972
  "module": "/src/models"
34070
33973
  },
34071
- "tagName": "mdc-staticradio",
34072
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
33974
+ "tagName": "mdc-staticchip",
33975
+ "jsDoc": "/**\n * mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.\n *\n *\n * @tagname mdc-staticchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the static chip.\n * @cssproperty --mdc-chip-border-color - The border color of the static chip.\n * @cssproperty --mdc-chip-background-color - The background color of the static chip.\n *\n */",
34073
33976
  "customElement": true
34074
33977
  }
34075
33978
  ],
@@ -34078,8 +33981,8 @@
34078
33981
  "kind": "js",
34079
33982
  "name": "default",
34080
33983
  "declaration": {
34081
- "name": "StaticRadio",
34082
- "module": "components/staticradio/staticradio.component.js"
33984
+ "name": "StaticChip",
33985
+ "module": "components/staticchip/staticchip.component.js"
34083
33986
  }
34084
33987
  }
34085
33988
  ]
@@ -34596,6 +34499,154 @@
34596
34499
  }
34597
34500
  ]
34598
34501
  },
34502
+ {
34503
+ "kind": "javascript-module",
34504
+ "path": "components/staticradio/staticradio.component.js",
34505
+ "declarations": [
34506
+ {
34507
+ "kind": "class",
34508
+ "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
34509
+ "name": "StaticRadio",
34510
+ "cssProperties": [
34511
+ {
34512
+ "description": "size of the inner circle",
34513
+ "name": "--mdc-staticradio-inner-circle-size"
34514
+ },
34515
+ {
34516
+ "description": "color of the label when disabled",
34517
+ "name": "--mdc-staticradio-text-disabled-color"
34518
+ },
34519
+ {
34520
+ "description": "color of the radio button border when normal",
34521
+ "name": "--mdc-staticradio-normal-border-color"
34522
+ },
34523
+ {
34524
+ "description": "color of the radio button border when disabled",
34525
+ "name": "--mdc-staticradio-disabled-border-color"
34526
+ },
34527
+ {
34528
+ "description": "background color of the inner circle when normal",
34529
+ "name": "--mdc-staticradio-inner-circle-normal-background"
34530
+ },
34531
+ {
34532
+ "description": "background color of the inner circle when disabled",
34533
+ "name": "--mdc-staticradio-inner-circle-disabled-background"
34534
+ },
34535
+ {
34536
+ "description": "color of the radio button when inactive",
34537
+ "name": "--mdc-staticradio-control-inactive-color"
34538
+ },
34539
+ {
34540
+ "description": "background color of the radio button when inactive and disabled",
34541
+ "name": "--mdc-staticradio-control-inactive-disabled-background"
34542
+ },
34543
+ {
34544
+ "description": "color of the radio button when active",
34545
+ "name": "--mdc-staticradio-control-active-color"
34546
+ },
34547
+ {
34548
+ "description": "background color of the radio button when active and disabled",
34549
+ "name": "--mdc-staticradio-control-active-disabled-background"
34550
+ }
34551
+ ],
34552
+ "members": [
34553
+ {
34554
+ "kind": "field",
34555
+ "name": "checked",
34556
+ "type": {
34557
+ "text": "boolean"
34558
+ },
34559
+ "default": "false",
34560
+ "description": "Determines whether the radio is selected or unselected.",
34561
+ "attribute": "checked",
34562
+ "reflects": true
34563
+ },
34564
+ {
34565
+ "kind": "field",
34566
+ "name": "readonly",
34567
+ "type": {
34568
+ "text": "boolean"
34569
+ },
34570
+ "default": "false",
34571
+ "description": "Determines whether the radio is read-only.",
34572
+ "attribute": "readonly",
34573
+ "reflects": true
34574
+ },
34575
+ {
34576
+ "kind": "field",
34577
+ "name": "disabled",
34578
+ "type": {
34579
+ "text": "boolean | undefined"
34580
+ },
34581
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34582
+ "default": "undefined",
34583
+ "attribute": "disabled",
34584
+ "reflects": true,
34585
+ "inheritedFrom": {
34586
+ "name": "DisabledMixin",
34587
+ "module": "utils/mixins/DisabledMixin.js"
34588
+ }
34589
+ }
34590
+ ],
34591
+ "attributes": [
34592
+ {
34593
+ "name": "checked",
34594
+ "type": {
34595
+ "text": "boolean"
34596
+ },
34597
+ "default": "false",
34598
+ "description": "Determines whether the radio is selected or unselected.",
34599
+ "fieldName": "checked"
34600
+ },
34601
+ {
34602
+ "name": "readonly",
34603
+ "type": {
34604
+ "text": "boolean"
34605
+ },
34606
+ "default": "false",
34607
+ "description": "Determines whether the radio is read-only.",
34608
+ "fieldName": "readonly"
34609
+ },
34610
+ {
34611
+ "name": "disabled",
34612
+ "type": {
34613
+ "text": "boolean | undefined"
34614
+ },
34615
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34616
+ "default": "undefined",
34617
+ "fieldName": "disabled",
34618
+ "inheritedFrom": {
34619
+ "name": "DisabledMixin",
34620
+ "module": "src/utils/mixins/DisabledMixin.ts"
34621
+ }
34622
+ }
34623
+ ],
34624
+ "mixins": [
34625
+ {
34626
+ "name": "DisabledMixin",
34627
+ "module": "/src/utils/mixins/DisabledMixin"
34628
+ }
34629
+ ],
34630
+ "superclass": {
34631
+ "name": "Component",
34632
+ "module": "/src/models"
34633
+ },
34634
+ "tagName": "mdc-staticradio",
34635
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
34636
+ "customElement": true
34637
+ }
34638
+ ],
34639
+ "exports": [
34640
+ {
34641
+ "kind": "js",
34642
+ "name": "default",
34643
+ "declaration": {
34644
+ "name": "StaticRadio",
34645
+ "module": "components/staticradio/staticradio.component.js"
34646
+ }
34647
+ }
34648
+ ]
34649
+ },
34599
34650
  {
34600
34651
  "kind": "javascript-module",
34601
34652
  "path": "components/statictoggle/statictoggle.component.js",
@@ -39586,7 +39637,7 @@
39586
39637
  "type": {
39587
39638
  "text": "boolean"
39588
39639
  },
39589
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
39640
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
39590
39641
  "default": "false",
39591
39642
  "attribute": "disable-aria-expanded",
39592
39643
  "reflects": true,
@@ -39595,21 +39646,6 @@
39595
39646
  "module": "components/popover/popover.component.js"
39596
39647
  }
39597
39648
  },
39598
- {
39599
- "kind": "field",
39600
- "name": "disableAriaHasPopup",
39601
- "type": {
39602
- "text": "boolean"
39603
- },
39604
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
39605
- "default": "false",
39606
- "attribute": "disable-aria-haspopup",
39607
- "reflects": true,
39608
- "inheritedFrom": {
39609
- "name": "Popover",
39610
- "module": "components/popover/popover.component.js"
39611
- }
39612
- },
39613
39649
  {
39614
39650
  "kind": "field",
39615
39651
  "name": "keepConnectedTooltipClosed",
@@ -40401,7 +40437,7 @@
40401
40437
  "type": {
40402
40438
  "text": "boolean"
40403
40439
  },
40404
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
40440
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
40405
40441
  "default": "false",
40406
40442
  "fieldName": "disableAriaExpanded",
40407
40443
  "inheritedFrom": {
@@ -40409,19 +40445,6 @@
40409
40445
  "module": "src/components/popover/popover.component.ts"
40410
40446
  }
40411
40447
  },
40412
- {
40413
- "name": "disable-aria-haspopup",
40414
- "type": {
40415
- "text": "boolean"
40416
- },
40417
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
40418
- "default": "false",
40419
- "fieldName": "disableAriaHasPopup",
40420
- "inheritedFrom": {
40421
- "name": "Popover",
40422
- "module": "src/components/popover/popover.component.ts"
40423
- }
40424
- },
40425
40448
  {
40426
40449
  "name": "keep-connected-tooltip-closed",
40427
40450
  "type": {
@@ -41670,7 +41693,7 @@
41670
41693
  "type": {
41671
41694
  "text": "boolean"
41672
41695
  },
41673
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
41696
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
41674
41697
  "default": "false",
41675
41698
  "attribute": "disable-aria-expanded",
41676
41699
  "reflects": true,
@@ -41679,21 +41702,6 @@
41679
41702
  "module": "components/popover/popover.component.js"
41680
41703
  }
41681
41704
  },
41682
- {
41683
- "kind": "field",
41684
- "name": "disableAriaHasPopup",
41685
- "type": {
41686
- "text": "boolean"
41687
- },
41688
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
41689
- "default": "false",
41690
- "attribute": "disable-aria-haspopup",
41691
- "reflects": true,
41692
- "inheritedFrom": {
41693
- "name": "Popover",
41694
- "module": "components/popover/popover.component.js"
41695
- }
41696
- },
41697
41705
  {
41698
41706
  "kind": "field",
41699
41707
  "name": "keepConnectedTooltipClosed",
@@ -42486,7 +42494,7 @@
42486
42494
  "type": {
42487
42495
  "text": "boolean"
42488
42496
  },
42489
- "description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
42497
+ "description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
42490
42498
  "default": "false",
42491
42499
  "fieldName": "disableAriaExpanded",
42492
42500
  "inheritedFrom": {
@@ -42494,19 +42502,6 @@
42494
42502
  "module": "src/components/popover/popover.component.ts"
42495
42503
  }
42496
42504
  },
42497
- {
42498
- "name": "disable-aria-haspopup",
42499
- "type": {
42500
- "text": "boolean"
42501
- },
42502
- "description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
42503
- "default": "false",
42504
- "fieldName": "disableAriaHasPopup",
42505
- "inheritedFrom": {
42506
- "name": "Popover",
42507
- "module": "src/components/popover/popover.component.ts"
42508
- }
42509
- },
42510
42505
  {
42511
42506
  "name": "keep-connected-tooltip-closed",
42512
42507
  "type": {