@momentum-design/components 0.133.4 → 0.133.6

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.
@@ -18117,10 +18117,6 @@
18117
18117
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
18118
18118
  }
18119
18119
  },
18120
- {
18121
- "description": "Formfieldgroup host container",
18122
- "name": "container"
18123
- },
18124
18120
  {
18125
18121
  "description": "This contains the label and help text for the group",
18126
18122
  "name": "group-header"
@@ -18165,21 +18161,6 @@
18165
18161
  }
18166
18162
  ],
18167
18163
  "members": [
18168
- {
18169
- "kind": "field",
18170
- "name": "dataAriaLabel",
18171
- "type": {
18172
- "text": "string | null"
18173
- },
18174
- "default": "null",
18175
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
18176
- "attribute": "data-aria-label",
18177
- "reflects": true,
18178
- "inheritedFrom": {
18179
- "name": "DataAriaLabelMixin",
18180
- "module": "utils/mixins/DataAriaLabelMixin.js"
18181
- }
18182
- },
18183
18164
  {
18184
18165
  "kind": "field",
18185
18166
  "name": "disabled",
@@ -18417,33 +18398,14 @@
18417
18398
  }
18418
18399
  }
18419
18400
  ],
18420
- "mixins": [
18421
- {
18422
- "name": "DataAriaLabelMixin",
18423
- "module": "/src/utils/mixins/DataAriaLabelMixin"
18424
- }
18425
- ],
18426
18401
  "superclass": {
18427
18402
  "name": "FormfieldWrapper",
18428
18403
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
18429
18404
  },
18430
18405
  "tagName": "mdc-formfieldgroup",
18431
- "jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart container - Formfieldgroup host container\n * @csspart group-header - This contains the label and help text for the group\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n */",
18406
+ "jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart group-header - This contains the label and help text for the group\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n */",
18432
18407
  "customElement": true,
18433
18408
  "attributes": [
18434
- {
18435
- "name": "data-aria-label",
18436
- "type": {
18437
- "text": "string | null"
18438
- },
18439
- "default": "null",
18440
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
18441
- "fieldName": "dataAriaLabel",
18442
- "inheritedFrom": {
18443
- "name": "DataAriaLabelMixin",
18444
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
18445
- }
18446
- },
18447
18409
  {
18448
18410
  "name": "disabled",
18449
18411
  "type": {
@@ -36428,7 +36390,7 @@
36428
36390
  "declarations": [
36429
36391
  {
36430
36392
  "kind": "class",
36431
- "description": "The Radio component allows users to select a single option from a group of mutually exclusive choices.\nUnlike checkboxes which allow multiple selections, radio buttons ensure only one option can be selected\nat a time within the same group. These are commonly used in forms, surveys, and settings where users\nneed to make a single selection from multiple options.\n\nTo create a group of radio buttons, use the `mdc-radiogroup` component or ensure all radio buttons\nshare the same `name` attribute.\n\n**Note:** This component internally renders a native radio input element with custom styling.\n\n## When to use\nUse radio buttons when users must select exactly one option from a list of 2-5 choices. For longer lists,\nconsider using a dropdown menu instead.\n\n## Accessibility\n- Provide clear labels that describe each option\n- Use `data-aria-label` when a visual label is not present\n- Keyboard navigation: Arrow keys to move between options, Space to select, Tab to navigate groups, Enter to submit form\n- Group related radio buttons using the same `name` attribute or `mdc-radiogroup` component\n\n## Styling\nUse the `static-radio` part to apply custom styles to the radio visual element.\nThis part exposes the underlying [StaticRadio](?path=/docs/components-decorator-staticradio--docs) component for advanced styling.",
36393
+ "description": "The Radio component allows users to select a single option from a group of mutually exclusive choices.\nUnlike checkboxes which allow multiple selections, radio buttons ensure only one option can be selected\nat a time within the same group. These are commonly used in forms, surveys, and settings where users\nneed to make a single selection from multiple options.\n\nTo create a group of radio buttons, use the `mdc-radiogroup` component or ensure all radio buttons\nshare the same `name` attribute.\n\n## Validation\n\nRadio component support native form validation. But it does not have default validation message.\nAlso, `required` attribute does not render indicator (red asterisk) for the radio component.\n\nThe recommended way to show validation message for radio groups is to wrap the `mdc-radio` with `mdc-radiogroup`\nand set the `help-text` of the `mdc-radiogroup` based on its validation state.\n\nAlternatively you can also set the `validation-message` attribute of the `mdc-radio`. This message will appear\nin a native tooltip when the radio is checked and invalid.\n\n## Accessibility\n\n- Provide clear labels that describe each option\n- Use `data-aria-label` when a visual label is not present\n- Keyboard navigation: Arrow keys to move between options, Space to select, Tab to navigate groups, Enter to submit form\n- Group related radio buttons using the same `name` attribute or `mdc-radiogroup` component\n\n## Styling\n\nUse the `static-radio` part to apply custom styles to the radio visual element.\nThis part exposes the underlying [StaticRadio](?path=/docs/components-decorator-staticradio--docs) component for advanced styling.",
36432
36394
  "name": "Radio",
36433
36395
  "cssParts": [
36434
36396
  {
@@ -36447,6 +36409,10 @@
36447
36409
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36448
36410
  }
36449
36411
  },
36412
+ {
36413
+ "description": "The staticradio that provides the visual radio appearance.",
36414
+ "name": "static-radio"
36415
+ },
36450
36416
  {
36451
36417
  "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36452
36418
  "name": "required-indicator",
@@ -36494,18 +36460,44 @@
36494
36460
  "name": "FormfieldWrapper",
36495
36461
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36496
36462
  }
36463
+ }
36464
+ ],
36465
+ "slots": [
36466
+ {
36467
+ "description": "Slot for the radio indicator element. If not provided, a default styled radio will be rendered.",
36468
+ "name": "indicator"
36469
+ },
36470
+ {
36471
+ "description": "Slot for the label of the radio.",
36472
+ "name": "label",
36473
+ "inheritedFrom": {
36474
+ "name": "FormfieldWrapper",
36475
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36476
+ }
36497
36477
  },
36498
36478
  {
36499
- "description": "The native radio input element that provides the interactive functionality.",
36500
- "name": "radio-input"
36479
+ "description": "Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.",
36480
+ "name": "toggletip",
36481
+ "inheritedFrom": {
36482
+ "name": "FormfieldWrapper",
36483
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36484
+ }
36501
36485
  },
36502
36486
  {
36503
- "description": "The container for the label and helper text elements.",
36504
- "name": "text-container"
36487
+ "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36488
+ "name": "help-icon",
36489
+ "inheritedFrom": {
36490
+ "name": "FormfieldWrapper",
36491
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36492
+ }
36505
36493
  },
36506
36494
  {
36507
- "description": "The staticradio that provides the visual radio appearance.",
36508
- "name": "static-radio"
36495
+ "description": "Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.",
36496
+ "name": "help-text",
36497
+ "inheritedFrom": {
36498
+ "name": "FormfieldWrapper",
36499
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36500
+ }
36509
36501
  }
36510
36502
  ],
36511
36503
  "members": [
@@ -36552,21 +36544,6 @@
36552
36544
  "kind": "method",
36553
36545
  "name": "click"
36554
36546
  },
36555
- {
36556
- "kind": "field",
36557
- "name": "dataAriaLabel",
36558
- "type": {
36559
- "text": "string | null"
36560
- },
36561
- "default": "null",
36562
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36563
- "attribute": "data-aria-label",
36564
- "reflects": true,
36565
- "inheritedFrom": {
36566
- "name": "DataAriaLabelMixin",
36567
- "module": "utils/mixins/DataAriaLabelMixin.js"
36568
- }
36569
- },
36570
36547
  {
36571
36548
  "kind": "field",
36572
36549
  "name": "disabled",
@@ -36582,6 +36559,26 @@
36582
36559
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
36583
36560
  }
36584
36561
  },
36562
+ {
36563
+ "kind": "method",
36564
+ "name": "emitCheckedChangeEvent",
36565
+ "privacy": "private",
36566
+ "return": {
36567
+ "type": {
36568
+ "text": "void"
36569
+ }
36570
+ }
36571
+ },
36572
+ {
36573
+ "kind": "method",
36574
+ "name": "handleClick",
36575
+ "privacy": "private",
36576
+ "return": {
36577
+ "type": {
36578
+ "text": "void"
36579
+ }
36580
+ }
36581
+ },
36585
36582
  {
36586
36583
  "kind": "field",
36587
36584
  "name": "helpText",
@@ -36892,12 +36889,20 @@
36892
36889
  }
36893
36890
  ],
36894
36891
  "events": [
36892
+ {
36893
+ "name": "input",
36894
+ "type": {
36895
+ "text": "Event"
36896
+ },
36897
+ "description": "(React: onInput) Event that gets dispatched when the radio state changes (before the change event).",
36898
+ "reactName": "onInput"
36899
+ },
36895
36900
  {
36896
36901
  "name": "change",
36897
36902
  "type": {
36898
36903
  "text": "Event"
36899
36904
  },
36900
- "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
36905
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes (after the input event).",
36901
36906
  "reactName": "onChange"
36902
36907
  },
36903
36908
  {
@@ -36967,19 +36972,6 @@
36967
36972
  "module": "src/utils/mixins/FormInternalsMixin.ts"
36968
36973
  }
36969
36974
  },
36970
- {
36971
- "name": "data-aria-label",
36972
- "type": {
36973
- "text": "string | null"
36974
- },
36975
- "default": "null",
36976
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36977
- "fieldName": "dataAriaLabel",
36978
- "inheritedFrom": {
36979
- "name": "DataAriaLabelMixin",
36980
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36981
- }
36982
- },
36983
36975
  {
36984
36976
  "name": "disabled",
36985
36977
  "type": {
@@ -37136,10 +37128,6 @@
37136
37128
  {
37137
37129
  "name": "FormInternalsMixin",
37138
37130
  "module": "/src/utils/mixins/FormInternalsMixin"
37139
- },
37140
- {
37141
- "name": "DataAriaLabelMixin",
37142
- "module": "/src/utils/mixins/DataAriaLabelMixin"
37143
37131
  }
37144
37132
  ],
37145
37133
  "superclass": {
@@ -37147,42 +37135,8 @@
37147
37135
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
37148
37136
  },
37149
37137
  "tagName": "mdc-radio",
37150
- "jsDoc": "/**\n * The Radio component allows users to select a single option from a group of mutually exclusive choices.\n * Unlike checkboxes which allow multiple selections, radio buttons ensure only one option can be selected\n * at a time within the same group. These are commonly used in forms, surveys, and settings where users\n * need to make a single selection from multiple options.\n *\n * To create a group of radio buttons, use the `mdc-radiogroup` component or ensure all radio buttons\n * share the same `name` attribute.\n *\n * **Note:** This component internally renders a native radio input element with custom styling.\n *\n * ## When to use\n * Use radio buttons when users must select exactly one option from a list of 2-5 choices. For longer lists,\n * consider using a dropdown menu instead.\n *\n * ## Accessibility\n * - Provide clear labels that describe each option\n * - Use `data-aria-label` when a visual label is not present\n * - Keyboard navigation: Arrow keys to move between options, Space to select, Tab to navigate groups, Enter to submit form\n * - Group related radio buttons using the same `name` attribute or `mdc-radiogroup` component\n *\n * ## Styling\n * Use the `static-radio` part to apply custom styles to the radio visual element.\n * This part exposes the underlying [StaticRadio](?path=/docs/components-decorator-staticradio--docs) component for advanced styling.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart radio-input - The native radio input element that provides the interactive functionality.\n * @csspart text-container - The container for the label and helper text elements.\n * @csspart static-radio - The staticradio that provides the visual radio appearance.\n */",
37138
+ "jsDoc": "/**\n * The Radio component allows users to select a single option from a group of mutually exclusive choices.\n * Unlike checkboxes which allow multiple selections, radio buttons ensure only one option can be selected\n * at a time within the same group. These are commonly used in forms, surveys, and settings where users\n * need to make a single selection from multiple options.\n *\n * To create a group of radio buttons, use the `mdc-radiogroup` component or ensure all radio buttons\n * share the same `name` attribute.\n *\n * ## Validation\n *\n * Radio component support native form validation. But it does not have default validation message.\n * Also, `required` attribute does not render indicator (red asterisk) for the radio component.\n *\n * The recommended way to show validation message for radio groups is to wrap the `mdc-radio` with `mdc-radiogroup`\n * and set the `help-text` of the `mdc-radiogroup` based on its validation state.\n *\n * Alternatively you can also set the `validation-message` attribute of the `mdc-radio`. This message will appear\n * in a native tooltip when the radio is checked and invalid.\n *\n * ## Accessibility\n *\n * - Provide clear labels that describe each option\n * - Use `data-aria-label` when a visual label is not present\n * - Keyboard navigation: Arrow keys to move between options, Space to select, Tab to navigate groups, Enter to submit form\n * - Group related radio buttons using the same `name` attribute or `mdc-radiogroup` component\n *\n * ## Styling\n *\n * Use the `static-radio` part to apply custom styles to the radio visual element.\n * This part exposes the underlying [StaticRadio](?path=/docs/components-decorator-staticradio--docs) component for advanced styling.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event input - (React: onInput) Event that gets dispatched when the radio state changes (before the change event).\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes (after the input event).\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart static-radio - The staticradio that provides the visual radio appearance.\n *\n * @slot indicator - Slot for the radio indicator element. If not provided, a default styled radio will be rendered.\n * @slot label - Slot for the label of the radio.\n */",
37151
37139
  "customElement": true,
37152
- "slots": [
37153
- {
37154
- "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
37155
- "name": "label",
37156
- "inheritedFrom": {
37157
- "name": "FormfieldWrapper",
37158
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37159
- }
37160
- },
37161
- {
37162
- "description": "Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.",
37163
- "name": "toggletip",
37164
- "inheritedFrom": {
37165
- "name": "FormfieldWrapper",
37166
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37167
- }
37168
- },
37169
- {
37170
- "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
37171
- "name": "help-icon",
37172
- "inheritedFrom": {
37173
- "name": "FormfieldWrapper",
37174
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37175
- }
37176
- },
37177
- {
37178
- "description": "Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.",
37179
- "name": "help-text",
37180
- "inheritedFrom": {
37181
- "name": "FormfieldWrapper",
37182
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37183
- }
37184
- }
37185
- ],
37186
37140
  "cssProperties": [
37187
37141
  {
37188
37142
  "description": "Font size for the label text.",
@@ -37278,100 +37232,7 @@
37278
37232
  "kind": "class",
37279
37233
  "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
37280
37234
  "name": "RadioGroup",
37281
- "cssProperties": [
37282
- {
37283
- "description": "color of the description text",
37284
- "name": "--mdc-radiogroup-description-text-normal"
37285
- },
37286
- {
37287
- "description": "Font size for the label text.",
37288
- "name": "--mdc-label-font-size",
37289
- "inheritedFrom": {
37290
- "name": "FormfieldWrapper",
37291
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37292
- }
37293
- },
37294
- {
37295
- "description": "Font weight for the label text.",
37296
- "name": "--mdc-label-font-weight",
37297
- "inheritedFrom": {
37298
- "name": "FormfieldWrapper",
37299
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37300
- }
37301
- },
37302
- {
37303
- "description": "Line height for the label text.",
37304
- "name": "--mdc-label-line-height",
37305
- "inheritedFrom": {
37306
- "name": "FormfieldWrapper",
37307
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37308
- }
37309
- },
37310
- {
37311
- "description": "Color for the label text.",
37312
- "name": "--mdc-label-color",
37313
- "inheritedFrom": {
37314
- "name": "FormfieldWrapper",
37315
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37316
- }
37317
- },
37318
- {
37319
- "description": "Font size for the help text.",
37320
- "name": "--mdc-help-text-font-size",
37321
- "inheritedFrom": {
37322
- "name": "FormfieldWrapper",
37323
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37324
- }
37325
- },
37326
- {
37327
- "description": "Font weight for the help text.",
37328
- "name": "--mdc-help-text-font-weight",
37329
- "inheritedFrom": {
37330
- "name": "FormfieldWrapper",
37331
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37332
- }
37333
- },
37334
- {
37335
- "description": "Line height for the help text.",
37336
- "name": "--mdc-help-text-line-height",
37337
- "inheritedFrom": {
37338
- "name": "FormfieldWrapper",
37339
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37340
- }
37341
- },
37342
- {
37343
- "description": "Color for the help text.",
37344
- "name": "--mdc-help-text-color",
37345
- "inheritedFrom": {
37346
- "name": "FormfieldWrapper",
37347
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37348
- }
37349
- },
37350
- {
37351
- "description": "Color for the required indicator text.",
37352
- "name": "--mdc-required-indicator-color",
37353
- "inheritedFrom": {
37354
- "name": "FormfieldWrapper",
37355
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37356
- }
37357
- }
37358
- ],
37359
37235
  "members": [
37360
- {
37361
- "kind": "field",
37362
- "name": "dataAriaLabel",
37363
- "type": {
37364
- "text": "string | null"
37365
- },
37366
- "default": "null",
37367
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
37368
- "attribute": "data-aria-label",
37369
- "reflects": true,
37370
- "inheritedFrom": {
37371
- "name": "DataAriaLabelMixin",
37372
- "module": "utils/mixins/DataAriaLabelMixin.js"
37373
- }
37374
- },
37375
37236
  {
37376
37237
  "kind": "field",
37377
37238
  "name": "disabled",
@@ -37430,6 +37291,14 @@
37430
37291
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37431
37292
  }
37432
37293
  },
37294
+ {
37295
+ "kind": "field",
37296
+ "name": "isRadio",
37297
+ "type": {
37298
+ "text": "boolean"
37299
+ },
37300
+ "default": "true"
37301
+ },
37433
37302
  {
37434
37303
  "kind": "field",
37435
37304
  "name": "label",
@@ -37629,19 +37498,6 @@
37629
37498
  "description": "Name of the radio group.\nThey are used to group elements in a form together.",
37630
37499
  "fieldName": "name"
37631
37500
  },
37632
- {
37633
- "name": "data-aria-label",
37634
- "type": {
37635
- "text": "string | null"
37636
- },
37637
- "default": "null",
37638
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
37639
- "fieldName": "dataAriaLabel",
37640
- "inheritedFrom": {
37641
- "name": "DataAriaLabelMixin",
37642
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
37643
- }
37644
- },
37645
37501
  {
37646
37502
  "name": "disabled",
37647
37503
  "type": {
@@ -37787,7 +37643,7 @@
37787
37643
  "module": "/src/components/formfieldgroup"
37788
37644
  },
37789
37645
  "tagName": "mdc-radiogroup",
37790
- "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
37646
+ "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n */",
37791
37647
  "customElement": true,
37792
37648
  "slots": [
37793
37649
  {
@@ -37897,19 +37753,85 @@
37897
37753
  }
37898
37754
  },
37899
37755
  {
37900
- "description": "Formfieldgroup host container",
37901
- "name": "container",
37756
+ "description": "This contains the label and help text for the group",
37757
+ "name": "group-header",
37902
37758
  "inheritedFrom": {
37903
37759
  "name": "FormfieldGroup",
37904
37760
  "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
37905
37761
  }
37762
+ }
37763
+ ],
37764
+ "cssProperties": [
37765
+ {
37766
+ "description": "Font size for the label text.",
37767
+ "name": "--mdc-label-font-size",
37768
+ "inheritedFrom": {
37769
+ "name": "FormfieldWrapper",
37770
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37771
+ }
37906
37772
  },
37907
37773
  {
37908
- "description": "This contains the label and help text for the group",
37909
- "name": "group-header",
37774
+ "description": "Font weight for the label text.",
37775
+ "name": "--mdc-label-font-weight",
37910
37776
  "inheritedFrom": {
37911
- "name": "FormfieldGroup",
37912
- "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
37777
+ "name": "FormfieldWrapper",
37778
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37779
+ }
37780
+ },
37781
+ {
37782
+ "description": "Line height for the label text.",
37783
+ "name": "--mdc-label-line-height",
37784
+ "inheritedFrom": {
37785
+ "name": "FormfieldWrapper",
37786
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37787
+ }
37788
+ },
37789
+ {
37790
+ "description": "Color for the label text.",
37791
+ "name": "--mdc-label-color",
37792
+ "inheritedFrom": {
37793
+ "name": "FormfieldWrapper",
37794
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37795
+ }
37796
+ },
37797
+ {
37798
+ "description": "Font size for the help text.",
37799
+ "name": "--mdc-help-text-font-size",
37800
+ "inheritedFrom": {
37801
+ "name": "FormfieldWrapper",
37802
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37803
+ }
37804
+ },
37805
+ {
37806
+ "description": "Font weight for the help text.",
37807
+ "name": "--mdc-help-text-font-weight",
37808
+ "inheritedFrom": {
37809
+ "name": "FormfieldWrapper",
37810
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37811
+ }
37812
+ },
37813
+ {
37814
+ "description": "Line height for the help text.",
37815
+ "name": "--mdc-help-text-line-height",
37816
+ "inheritedFrom": {
37817
+ "name": "FormfieldWrapper",
37818
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37819
+ }
37820
+ },
37821
+ {
37822
+ "description": "Color for the help text.",
37823
+ "name": "--mdc-help-text-color",
37824
+ "inheritedFrom": {
37825
+ "name": "FormfieldWrapper",
37826
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37827
+ }
37828
+ },
37829
+ {
37830
+ "description": "Color for the required indicator text.",
37831
+ "name": "--mdc-required-indicator-color",
37832
+ "inheritedFrom": {
37833
+ "name": "FormfieldWrapper",
37834
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37913
37835
  }
37914
37836
  }
37915
37837
  ]
@@ -45536,6 +45458,24 @@
45536
45458
  "name": "text"
45537
45459
  }
45538
45460
  ],
45461
+ "slots": [
45462
+ {
45463
+ "description": "The slot for the content before the text, typically used for the icon.",
45464
+ "name": "prefix"
45465
+ },
45466
+ {
45467
+ "description": "The slot for the content after the text, typically used for the badge or chip.",
45468
+ "name": "postfix"
45469
+ },
45470
+ {
45471
+ "description": "Text label of the button.",
45472
+ "name": "",
45473
+ "inheritedFrom": {
45474
+ "name": "Buttonsimple",
45475
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
45476
+ }
45477
+ }
45478
+ ],
45539
45479
  "members": [
45540
45480
  {
45541
45481
  "kind": "field",
@@ -45664,18 +45604,6 @@
45664
45604
  "module": "components/buttonsimple/buttonsimple.component.js"
45665
45605
  }
45666
45606
  },
45667
- {
45668
- "kind": "field",
45669
- "name": "handleTabActiveChange",
45670
- "privacy": "private",
45671
- "description": "Dispatch the activechange event.",
45672
- "parameters": [
45673
- {
45674
- "description": "The active state of the tab.",
45675
- "name": "active"
45676
- }
45677
- ]
45678
- },
45679
45607
  {
45680
45608
  "kind": "field",
45681
45609
  "name": "iconName",
@@ -46176,18 +46104,8 @@
46176
46104
  "module": "/src/components/buttonsimple/buttonsimple.component"
46177
46105
  },
46178
46106
  "tagName": "mdc-tab",
46179
- "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-height - The height of the tab.\n * @cssproperty --mdc-tab-padding-left - The left padding of the tab.\n * @cssproperty --mdc-tab-padding-right - The right padding of the tab.\n * @cssproperty --mdc-tab-content-gap - The gap between the icon and text in the tab.\n * @cssproperty --mdc-tab-background-color - The background color of the tab.\n * @cssproperty --mdc-tab-color - The text color of the tab.\n * @cssproperty --mdc-tab-border-radius - The border radius of the tab.\n * @cssproperty --mdc-tab-content-justification - The justification of the content in the tab.\n *\n * @cssproperty --mdc-tab-line-active-indicator-height - The height of the active indicator line.\n * @cssproperty --mdc-tab-line-active-indicator-width - The width of the active indicator line.\n *\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - The border bottom left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - The border bottom right radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.\n *\n * @csspart container - The container of the tab.\n * @csspart regular-icon - The icon of the tab, if inactive.\n * @csspart filled-icon - The icon of the tab, if active.\n * @csspart indicator - The indicator of the tab.\n * @csspart text - The text of the tab.\n */",
46180
- "customElement": true,
46181
- "slots": [
46182
- {
46183
- "description": "Text label of the button.",
46184
- "name": "",
46185
- "inheritedFrom": {
46186
- "name": "Buttonsimple",
46187
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
46188
- }
46189
- }
46190
- ]
46107
+ "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-height - The height of the tab.\n * @cssproperty --mdc-tab-padding-left - The left padding of the tab.\n * @cssproperty --mdc-tab-padding-right - The right padding of the tab.\n * @cssproperty --mdc-tab-content-gap - The gap between the icon and text in the tab.\n * @cssproperty --mdc-tab-background-color - The background color of the tab.\n * @cssproperty --mdc-tab-color - The text color of the tab.\n * @cssproperty --mdc-tab-border-radius - The border radius of the tab.\n * @cssproperty --mdc-tab-content-justification - The justification of the content in the tab.\n *\n * @cssproperty --mdc-tab-line-active-indicator-height - The height of the active indicator line.\n * @cssproperty --mdc-tab-line-active-indicator-width - The width of the active indicator line.\n *\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - The border bottom left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - The border bottom right radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.\n *\n * @csspart container - The container of the tab.\n * @csspart regular-icon - The icon of the tab, if inactive.\n * @csspart filled-icon - The icon of the tab, if active.\n * @csspart indicator - The indicator of the tab.\n * @csspart text - The text of the tab.\n *\n * @slot prefix - The slot for the content before the text, typically used for the icon.\n * @slot postfix - The slot for the content after the text, typically used for the badge or chip.\n */",
46108
+ "customElement": true
46191
46109
  }
46192
46110
  ],
46193
46111
  "exports": [
@@ -55704,7 +55622,7 @@
55704
55622
  "declarations": [
55705
55623
  {
55706
55624
  "kind": "mixin",
55707
- "description": "",
55625
+ "description": "This mixin adds a `data-aria-label` property to the component, which can be used to set the Aria-Label attribute for accessibility.\n\nIt is useful when a component inside the shadow DOM needs to be labeled for accessibility purposes.\nThe problem with using `aria-label` directly on the host element is that the Screen Reader will read both\nthe host element and the component inside the shadow DOM, which can lead to redundant or confusing information being read out.\n\nSo instead the consumer can use `data-aria-label` to set the Aria-Label attribute on the component inside the shadow DOM.\n\nFor example all the input component which has a native input element inside the shadow DOM can use this mixin to allow the\nconsumer to set the Aria-Label attribute on the native input element for better accessibility.",
55708
55626
  "name": "DataAriaLabelMixin",
55709
55627
  "members": [
55710
55628
  {
@@ -36,7 +36,6 @@ import Component from '../../components/formfieldgroup';
36
36
  * @csspart help-text - The helper/validation text element.
37
37
  * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.
38
38
  * @csspart help-text-container - The container for the helper/validation icon and text elements.
39
- * @csspart container - Formfieldgroup host container
40
39
  * @csspart group-header - This contains the label and help text for the group
41
40
  *
42
41
  * @cssproperty --mdc-label-font-size - Font size for the label text.
@@ -39,7 +39,6 @@ import { TAG_NAME } from '../../components/formfieldgroup/formfieldgroup.constan
39
39
  * @csspart help-text - The helper/validation text element.
40
40
  * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.
41
41
  * @csspart help-text-container - The container for the helper/validation icon and text elements.
42
- * @csspart container - Formfieldgroup host container
43
42
  * @csspart group-header - This contains the label and help text for the group
44
43
  *
45
44
  * @cssproperty --mdc-label-font-size - Font size for the label text.