@momentum-design/components 0.89.1 → 0.91.0

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.
@@ -5872,32 +5872,68 @@
5872
5872
  },
5873
5873
  {
5874
5874
  "kind": "javascript-module",
5875
- "path": "components/checkbox/checkbox.component.js",
5875
+ "path": "components/cardradio/cardradio.component.js",
5876
5876
  "declarations": [
5877
5877
  {
5878
5878
  "kind": "class",
5879
- "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.\n\nTo create a group of checkboxes, use the FormFieldGroup component.",
5880
- "name": "Checkbox",
5881
- "cssProperties": [
5879
+ "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5880
+ "name": "CardRadio",
5881
+ "slots": [
5882
5882
  {
5883
- "description": "Allows customization of the background color on hover.",
5884
- "name": "--mdc-checkbox-background-color-hover"
5883
+ "description": "This slot is for passing the content before the body",
5884
+ "name": "before-body",
5885
+ "inheritedFrom": {
5886
+ "name": "Card",
5887
+ "module": "src/components/card/card.component.ts"
5888
+ }
5885
5889
  },
5886
5890
  {
5887
- "description": "Background color for a selected checkbox when hovered.",
5888
- "name": "--mdc-checkbox-checked-background-color-hover"
5891
+ "description": "This slot is for passing the text content for the card",
5892
+ "name": "body",
5893
+ "inheritedFrom": {
5894
+ "name": "Card",
5895
+ "module": "src/components/card/card.component.ts"
5896
+ }
5889
5897
  },
5890
5898
  {
5891
- "description": "Background color for a selected checkbox when pressed.",
5892
- "name": "--mdc-checkbox-checked-pressed-icon-color"
5899
+ "description": "This slot is for passing the content after the body",
5900
+ "name": "after-body",
5901
+ "inheritedFrom": {
5902
+ "name": "Card",
5903
+ "module": "src/components/card/card.component.ts"
5904
+ }
5893
5905
  },
5894
5906
  {
5895
- "description": "Background color for a selected checkbox when pressed.",
5896
- "name": "--mdc-checkbox-pressed-icon-color"
5907
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
5908
+ "name": "footer-link",
5909
+ "inheritedFrom": {
5910
+ "name": "Card",
5911
+ "module": "src/components/card/card.component.ts"
5912
+ }
5897
5913
  },
5898
5914
  {
5899
- "description": "Background color for a selected checkbox when disabled.",
5900
- "name": "--mdc-checkbox-disabled-checked-icon-color"
5915
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5916
+ "name": "footer-button-primary",
5917
+ "inheritedFrom": {
5918
+ "name": "Card",
5919
+ "module": "src/components/card/card.component.ts"
5920
+ }
5921
+ },
5922
+ {
5923
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5924
+ "name": "footer-button-secondary",
5925
+ "inheritedFrom": {
5926
+ "name": "Card",
5927
+ "module": "src/components/card/card.component.ts"
5928
+ }
5929
+ },
5930
+ {
5931
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5932
+ "name": "footer",
5933
+ "inheritedFrom": {
5934
+ "name": "Card",
5935
+ "module": "src/components/card/card.component.ts"
5936
+ }
5901
5937
  }
5902
5938
  ],
5903
5939
  "members": [
@@ -5908,432 +5944,376 @@
5908
5944
  "text": "boolean"
5909
5945
  },
5910
5946
  "default": "false",
5911
- "description": "Determines whether the checkbox is selected or unselected.",
5947
+ "description": "The checked state of the card",
5912
5948
  "attribute": "checked",
5913
5949
  "reflects": true
5914
5950
  },
5915
5951
  {
5916
5952
  "kind": "field",
5917
- "name": "indeterminate",
5918
- "type": {
5919
- "text": "boolean"
5920
- },
5921
- "default": "false",
5922
- "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
5923
- "attribute": "indeterminate",
5924
- "reflects": true
5925
- },
5926
- {
5927
- "kind": "field",
5928
- "name": "autofocus",
5953
+ "name": "name",
5929
5954
  "type": {
5930
- "text": "boolean"
5955
+ "text": "string"
5931
5956
  },
5932
- "default": "false",
5933
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
5934
- "attribute": "autofocus",
5935
- "reflects": true
5957
+ "default": "''",
5958
+ "description": "The name of the radio.",
5959
+ "attribute": "name"
5936
5960
  },
5937
5961
  {
5938
5962
  "kind": "method",
5939
- "name": "setFormValue",
5963
+ "name": "getAllCardsWithinSameGroup",
5940
5964
  "privacy": "private",
5941
- "description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
5965
+ "return": {
5966
+ "type": {
5967
+ "text": "CardRadio[]"
5968
+ }
5969
+ },
5970
+ "description": "Returns all cards within the same group (name)."
5942
5971
  },
5943
5972
  {
5944
5973
  "kind": "method",
5945
- "name": "manageRequired",
5974
+ "name": "toggleChecked",
5946
5975
  "privacy": "private",
5947
- "description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the required property is set, then the checkbox is invalid."
5976
+ "return": {
5977
+ "type": {
5978
+ "text": "void"
5979
+ }
5980
+ },
5981
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
5948
5982
  },
5949
5983
  {
5950
5984
  "kind": "method",
5951
- "name": "toggleState",
5952
- "privacy": "private",
5985
+ "name": "setDisabled",
5953
5986
  "return": {
5954
5987
  "type": {
5955
5988
  "text": "void"
5956
5989
  }
5957
5990
  },
5958
- "description": "Toggles the state of the checkbox element.\nIf the element is not disabled, then\nthe checked property is toggled and the indeterminate property is set to false."
5991
+ "parameters": [
5992
+ {
5993
+ "name": "disabled",
5994
+ "type": {
5995
+ "text": "boolean"
5996
+ }
5997
+ }
5998
+ ]
5959
5999
  },
5960
6000
  {
5961
6001
  "kind": "method",
5962
- "name": "handleKeyDown",
6002
+ "name": "updateCardRadio",
5963
6003
  "privacy": "private",
5964
6004
  "return": {
5965
6005
  "type": {
5966
6006
  "text": "void"
5967
6007
  }
5968
6008
  },
6009
+ "parameters": [
6010
+ {
6011
+ "name": "cards",
6012
+ "type": {
6013
+ "text": "CardRadio[]"
6014
+ }
6015
+ },
6016
+ {
6017
+ "name": "index",
6018
+ "type": {
6019
+ "text": "number"
6020
+ }
6021
+ }
6022
+ ]
6023
+ },
6024
+ {
6025
+ "kind": "method",
6026
+ "name": "toggleOnEnter",
6027
+ "privacy": "private",
5969
6028
  "parameters": [
5970
6029
  {
5971
6030
  "name": "event",
5972
6031
  "type": {
5973
6032
  "text": "KeyboardEvent"
5974
6033
  },
5975
- "description": "The keyboard event."
6034
+ "description": "The keyboard event"
5976
6035
  }
5977
6036
  ],
5978
- "description": "Handles the keydown event on the checkbox.\nWhen the user presses Enter, the form is submitted."
6037
+ "description": "Toggles the checked state when enter key is used"
5979
6038
  },
5980
6039
  {
5981
6040
  "kind": "method",
5982
- "name": "handleChange",
5983
- "privacy": "public",
5984
- "return": {
5985
- "type": {
5986
- "text": "void"
5987
- }
5988
- },
6041
+ "name": "toggleOnSpace",
6042
+ "privacy": "private",
5989
6043
  "parameters": [
5990
6044
  {
5991
6045
  "name": "event",
5992
6046
  "type": {
5993
- "text": "Event"
5994
- }
6047
+ "text": "KeyboardEvent"
6048
+ },
6049
+ "description": "The keyboard event"
5995
6050
  }
5996
6051
  ],
5997
- "description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
6052
+ "description": "Toggles the checked state when space key is used"
6053
+ },
6054
+ {
6055
+ "kind": "method",
6056
+ "name": "renderHeader",
6057
+ "privacy": "protected",
6058
+ "description": "Renders the header of the card",
6059
+ "return": {
6060
+ "type": {
6061
+ "text": ""
6062
+ }
6063
+ },
6064
+ "inheritedFrom": {
6065
+ "name": "Card",
6066
+ "module": "components/card/card.component.js"
6067
+ }
5998
6068
  },
5999
6069
  {
6000
6070
  "kind": "field",
6001
- "name": "renderLabelAndHelperText",
6002
- "privacy": "private"
6071
+ "name": "disabled",
6072
+ "type": {
6073
+ "text": "boolean | undefined"
6074
+ },
6075
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6076
+ "default": "undefined",
6077
+ "attribute": "disabled",
6078
+ "reflects": true,
6079
+ "inheritedFrom": {
6080
+ "name": "DisabledMixin",
6081
+ "module": "utils/mixins/DisabledMixin.js"
6082
+ }
6003
6083
  },
6004
6084
  {
6005
6085
  "kind": "field",
6006
- "name": "name",
6086
+ "name": "tabIndex",
6007
6087
  "type": {
6008
- "text": "string"
6088
+ "text": "number"
6009
6089
  },
6010
- "default": "''",
6011
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
6012
- "attribute": "name",
6090
+ "default": "0",
6091
+ "description": "This property specifies the tab order of the element.",
6092
+ "attribute": "tabIndex",
6013
6093
  "reflects": true,
6014
6094
  "inheritedFrom": {
6015
- "name": "FormInternalsMixin",
6016
- "module": "utils/mixins/FormInternalsMixin.js"
6095
+ "name": "TabIndexMixin",
6096
+ "module": "utils/mixins/TabIndexMixin.js"
6017
6097
  }
6018
6098
  },
6019
6099
  {
6020
6100
  "kind": "field",
6021
- "name": "value",
6101
+ "name": "cardTitle",
6022
6102
  "type": {
6023
6103
  "text": "string"
6024
6104
  },
6025
6105
  "default": "''",
6026
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6027
- "attribute": "value",
6106
+ "description": "The title of the card - part of header section",
6107
+ "attribute": "card-title",
6028
6108
  "reflects": true,
6029
6109
  "inheritedFrom": {
6030
- "name": "FormInternalsMixin",
6031
- "module": "utils/mixins/FormInternalsMixin.js"
6110
+ "name": "Card",
6111
+ "module": "components/card/card.component.js"
6032
6112
  }
6033
6113
  },
6034
6114
  {
6035
6115
  "kind": "field",
6036
- "name": "validationMessage",
6116
+ "name": "subtitle",
6037
6117
  "type": {
6038
- "text": "string | undefined"
6118
+ "text": "string"
6039
6119
  },
6040
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
6041
- "attribute": "validation-message",
6120
+ "default": "''",
6121
+ "description": "The subtitle of the card - part of header section",
6122
+ "attribute": "subtitle",
6042
6123
  "reflects": true,
6043
6124
  "inheritedFrom": {
6044
- "name": "FormInternalsMixin",
6045
- "module": "utils/mixins/FormInternalsMixin.js"
6125
+ "name": "Card",
6126
+ "module": "components/card/card.component.js"
6046
6127
  }
6047
6128
  },
6048
6129
  {
6049
6130
  "kind": "field",
6050
- "name": "validity",
6131
+ "name": "imageSrc",
6051
6132
  "type": {
6052
- "text": "ValidityState"
6133
+ "text": "string"
6053
6134
  },
6054
- "readonly": true,
6135
+ "default": "''",
6136
+ "description": "The image source URL to render on the card",
6137
+ "attribute": "image-src",
6138
+ "reflects": true,
6055
6139
  "inheritedFrom": {
6056
- "name": "FormInternalsMixin",
6057
- "module": "utils/mixins/FormInternalsMixin.js"
6140
+ "name": "Card",
6141
+ "module": "components/card/card.component.js"
6058
6142
  }
6059
6143
  },
6060
6144
  {
6061
6145
  "kind": "field",
6062
- "name": "willValidate",
6063
- "readonly": true,
6146
+ "name": "imageAlt",
6147
+ "type": {
6148
+ "text": "string"
6149
+ },
6150
+ "default": "''",
6151
+ "description": "The image alt for accessibility support",
6152
+ "attribute": "image-alt",
6153
+ "reflects": true,
6064
6154
  "inheritedFrom": {
6065
- "name": "FormInternalsMixin",
6066
- "module": "utils/mixins/FormInternalsMixin.js"
6067
- }
6068
- },
6069
- {
6070
- "kind": "method",
6071
- "name": "setValidity",
6072
- "description": "Sets the validity of the input field based on the input field's validity.",
6073
- "return": {
6074
- "type": {
6075
- "text": ""
6076
- }
6077
- },
6078
- "inheritedFrom": {
6079
- "name": "FormInternalsMixin",
6080
- "module": "utils/mixins/FormInternalsMixin.js"
6081
- }
6082
- },
6083
- {
6084
- "kind": "method",
6085
- "name": "checkValidity",
6086
- "return": {
6087
- "type": {
6088
- "text": "boolean"
6089
- }
6090
- },
6091
- "inheritedFrom": {
6092
- "name": "FormInternalsMixin",
6093
- "module": "utils/mixins/FormInternalsMixin.js"
6094
- }
6095
- },
6096
- {
6097
- "kind": "method",
6098
- "name": "reportValidity",
6099
- "inheritedFrom": {
6100
- "name": "FormInternalsMixin",
6101
- "module": "utils/mixins/FormInternalsMixin.js"
6102
- }
6103
- },
6104
- {
6105
- "kind": "field",
6106
- "name": "dataAriaLabel",
6107
- "type": {
6108
- "text": "string | null"
6109
- },
6110
- "default": "null",
6111
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6112
- "attribute": "data-aria-label",
6113
- "reflects": true,
6114
- "inheritedFrom": {
6115
- "name": "DataAriaLabelMixin",
6116
- "module": "utils/mixins/DataAriaLabelMixin.js"
6117
- }
6118
- },
6119
- {
6120
- "kind": "field",
6121
- "name": "disabled",
6122
- "type": {
6123
- "text": "boolean | undefined"
6124
- },
6125
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6126
- "default": "undefined",
6127
- "attribute": "disabled",
6128
- "reflects": true,
6129
- "inheritedFrom": {
6130
- "name": "DisabledMixin",
6131
- "module": "utils/mixins/DisabledMixin.js"
6132
- }
6133
- },
6134
- {
6135
- "kind": "field",
6136
- "name": "label",
6137
- "type": {
6138
- "text": "string | undefined"
6139
- },
6140
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6141
- "attribute": "label",
6142
- "reflects": true,
6143
- "inheritedFrom": {
6144
- "name": "FormfieldWrapper",
6145
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6146
- }
6147
- },
6148
- {
6149
- "kind": "field",
6150
- "name": "required",
6151
- "type": {
6152
- "text": "boolean"
6153
- },
6154
- "default": "false",
6155
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
6156
- "attribute": "required",
6157
- "reflects": true,
6158
- "inheritedFrom": {
6159
- "name": "FormfieldWrapper",
6160
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6161
- }
6162
- },
6163
- {
6164
- "kind": "field",
6165
- "name": "id",
6166
- "type": {
6167
- "text": "string"
6168
- },
6169
- "default": "''",
6170
- "description": "The unique id of the input field. It is used to link the input field with the label.",
6171
- "attribute": "id",
6172
- "inheritedFrom": {
6173
- "name": "FormfieldWrapper",
6174
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6155
+ "name": "Card",
6156
+ "module": "components/card/card.component.js"
6175
6157
  }
6176
6158
  },
6177
6159
  {
6178
6160
  "kind": "field",
6179
- "name": "helpTextType",
6161
+ "name": "variant",
6180
6162
  "type": {
6181
- "text": "ValidationType"
6163
+ "text": "CardVariant"
6182
6164
  },
6183
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6184
- "attribute": "help-text-type",
6165
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6166
+ "default": "'border'",
6167
+ "attribute": "variant",
6185
6168
  "reflects": true,
6186
6169
  "inheritedFrom": {
6187
- "name": "FormfieldWrapper",
6188
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6170
+ "name": "Card",
6171
+ "module": "components/card/card.component.js"
6189
6172
  }
6190
6173
  },
6191
6174
  {
6192
6175
  "kind": "field",
6193
- "name": "helpText",
6176
+ "name": "orientation",
6194
6177
  "type": {
6195
- "text": "string | undefined"
6178
+ "text": "CardOrientation"
6196
6179
  },
6197
- "description": "The help text that is displayed below the input field.",
6198
- "attribute": "help-text",
6180
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6181
+ "default": "'vertical'",
6182
+ "attribute": "orientation",
6199
6183
  "reflects": true,
6200
6184
  "inheritedFrom": {
6201
- "name": "FormfieldWrapper",
6202
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6185
+ "name": "Card",
6186
+ "module": "components/card/card.component.js"
6203
6187
  }
6204
6188
  },
6205
6189
  {
6206
6190
  "kind": "field",
6207
- "name": "toggletipText",
6191
+ "name": "titleTagName",
6208
6192
  "type": {
6209
- "text": "string | undefined"
6193
+ "text": "TagNameType"
6210
6194
  },
6211
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
6212
- "attribute": "toggletip-text",
6195
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
6196
+ "default": "'span'",
6197
+ "attribute": "title-tag-name",
6213
6198
  "reflects": true,
6214
6199
  "inheritedFrom": {
6215
- "name": "FormfieldWrapper",
6216
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6200
+ "name": "Card",
6201
+ "module": "components/card/card.component.js"
6217
6202
  }
6218
6203
  },
6219
6204
  {
6220
6205
  "kind": "field",
6221
- "name": "toggletipPlacement",
6206
+ "name": "subtitleTagName",
6222
6207
  "type": {
6223
- "text": "PopoverPlacement"
6208
+ "text": "TagNameType"
6224
6209
  },
6225
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
6226
- "default": "'top'",
6227
- "attribute": "toggletip-placement",
6210
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
6211
+ "default": "'span'",
6212
+ "attribute": "subtitle-tag-name",
6228
6213
  "reflects": true,
6229
6214
  "inheritedFrom": {
6230
- "name": "FormfieldWrapper",
6231
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6215
+ "name": "Card",
6216
+ "module": "components/card/card.component.js"
6232
6217
  }
6233
6218
  },
6234
6219
  {
6235
6220
  "kind": "field",
6236
- "name": "infoIconAriaLabel",
6221
+ "name": "iconName",
6237
6222
  "type": {
6238
- "text": "string | undefined"
6223
+ "text": "IconNames | undefined"
6239
6224
  },
6240
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
6241
- "attribute": "info-icon-aria-label",
6225
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6226
+ "attribute": "icon-name",
6242
6227
  "reflects": true,
6243
6228
  "inheritedFrom": {
6244
- "name": "FormfieldWrapper",
6245
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6246
- }
6247
- },
6248
- {
6249
- "kind": "method",
6250
- "name": "renderLabelElement",
6251
- "privacy": "protected",
6252
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
6253
- "return": {
6254
- "type": {
6255
- "text": ""
6256
- }
6257
- },
6258
- "inheritedFrom": {
6259
- "name": "FormfieldWrapper",
6260
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6229
+ "name": "Card",
6230
+ "module": "components/card/card.component.js"
6261
6231
  }
6262
6232
  },
6263
6233
  {
6264
6234
  "kind": "method",
6265
- "name": "renderHelpTextIcon",
6235
+ "name": "renderImage",
6266
6236
  "privacy": "protected",
6267
- "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
6237
+ "description": "Renders the image on the card if image source is provided",
6268
6238
  "return": {
6269
6239
  "type": {
6270
6240
  "text": ""
6271
6241
  }
6272
6242
  },
6273
6243
  "inheritedFrom": {
6274
- "name": "FormfieldWrapper",
6275
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6244
+ "name": "Card",
6245
+ "module": "components/card/card.component.js"
6276
6246
  }
6277
6247
  },
6278
6248
  {
6279
6249
  "kind": "method",
6280
- "name": "renderHelpText",
6250
+ "name": "renderIcon",
6281
6251
  "privacy": "protected",
6282
- "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
6252
+ "description": "Renders the icon on the card if icon name is provided",
6283
6253
  "return": {
6284
6254
  "type": {
6285
6255
  "text": ""
6286
6256
  }
6287
6257
  },
6288
6258
  "inheritedFrom": {
6289
- "name": "FormfieldWrapper",
6290
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6259
+ "name": "Card",
6260
+ "module": "components/card/card.component.js"
6291
6261
  }
6292
6262
  },
6293
6263
  {
6294
6264
  "kind": "method",
6295
- "name": "renderLabel",
6265
+ "name": "renderTitle",
6296
6266
  "privacy": "protected",
6297
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
6267
+ "description": "Renders the title and subtitle on the card",
6298
6268
  "return": {
6299
6269
  "type": {
6300
6270
  "text": ""
6301
6271
  }
6302
6272
  },
6303
6273
  "inheritedFrom": {
6304
- "name": "FormfieldWrapper",
6305
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6274
+ "name": "Card",
6275
+ "module": "components/card/card.component.js"
6306
6276
  }
6307
6277
  },
6308
6278
  {
6309
6279
  "kind": "method",
6310
- "name": "renderHelperText",
6280
+ "name": "renderFooter",
6311
6281
  "privacy": "protected",
6312
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
6282
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6313
6283
  "return": {
6314
6284
  "type": {
6315
6285
  "text": ""
6316
6286
  }
6317
6287
  },
6318
6288
  "inheritedFrom": {
6319
- "name": "FormfieldWrapper",
6320
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6289
+ "name": "Card",
6290
+ "module": "components/card/card.component.js"
6321
6291
  }
6322
6292
  }
6323
6293
  ],
6324
6294
  "events": [
6325
6295
  {
6326
- "type": {
6327
- "text": "EventConstructor"
6328
- }
6296
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6297
+ "name": "click",
6298
+ "reactName": "onClick"
6329
6299
  },
6330
6300
  {
6331
- "description": "(React: onChange) Event that gets dispatched when the checkbox state changes.",
6301
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6302
+ "name": "keydown",
6303
+ "reactName": "onKeyDown"
6304
+ },
6305
+ {
6306
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6307
+ "name": "keyup",
6308
+ "reactName": "onKeyUp"
6309
+ },
6310
+ {
6311
+ "description": "(React: onChange) Event that gets dispatched when the card state changes.",
6332
6312
  "name": "change",
6333
6313
  "reactName": "onChange"
6334
6314
  },
6335
6315
  {
6336
- "description": "(React: onFocus) Event that gets dispatched when the checkbox receives focus.",
6316
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6337
6317
  "name": "focus",
6338
6318
  "reactName": "onFocus"
6339
6319
  }
@@ -6345,207 +6325,177 @@
6345
6325
  "text": "boolean"
6346
6326
  },
6347
6327
  "default": "false",
6348
- "description": "Determines whether the checkbox is selected or unselected.",
6328
+ "description": "The checked state of the card",
6349
6329
  "fieldName": "checked"
6350
6330
  },
6351
6331
  {
6352
- "name": "indeterminate",
6332
+ "name": "name",
6353
6333
  "type": {
6354
- "text": "boolean"
6334
+ "text": "string"
6355
6335
  },
6356
- "default": "false",
6357
- "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
6358
- "fieldName": "indeterminate"
6336
+ "default": "''",
6337
+ "description": "The name of the radio.",
6338
+ "fieldName": "name"
6359
6339
  },
6360
6340
  {
6361
- "name": "autofocus",
6341
+ "name": "disabled",
6362
6342
  "type": {
6363
- "text": "boolean"
6343
+ "text": "boolean | undefined"
6364
6344
  },
6365
- "default": "false",
6366
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
6367
- "fieldName": "autofocus"
6368
- },
6369
- {
6370
- "name": "name",
6371
- "type": {
6372
- "text": "string"
6373
- },
6374
- "default": "''",
6375
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
6376
- "fieldName": "name",
6377
- "inheritedFrom": {
6378
- "name": "FormInternalsMixin",
6379
- "module": "src/utils/mixins/FormInternalsMixin.ts"
6380
- }
6381
- },
6382
- {
6383
- "name": "value",
6384
- "type": {
6385
- "text": "string"
6386
- },
6387
- "default": "''",
6388
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6389
- "fieldName": "value",
6390
- "inheritedFrom": {
6391
- "name": "FormInternalsMixin",
6392
- "module": "src/utils/mixins/FormInternalsMixin.ts"
6393
- }
6394
- },
6395
- {
6396
- "name": "validation-message",
6397
- "type": {
6398
- "text": "string | undefined"
6399
- },
6400
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
6401
- "fieldName": "validationMessage",
6345
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6346
+ "default": "undefined",
6347
+ "fieldName": "disabled",
6402
6348
  "inheritedFrom": {
6403
- "name": "FormInternalsMixin",
6404
- "module": "src/utils/mixins/FormInternalsMixin.ts"
6349
+ "name": "DisabledMixin",
6350
+ "module": "src/utils/mixins/DisabledMixin.ts"
6405
6351
  }
6406
6352
  },
6407
6353
  {
6408
- "name": "data-aria-label",
6354
+ "name": "tabIndex",
6409
6355
  "type": {
6410
- "text": "string | null"
6356
+ "text": "number"
6411
6357
  },
6412
- "default": "null",
6413
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6414
- "fieldName": "dataAriaLabel",
6358
+ "default": "0",
6359
+ "description": "This property specifies the tab order of the element.",
6360
+ "fieldName": "tabIndex",
6415
6361
  "inheritedFrom": {
6416
- "name": "DataAriaLabelMixin",
6417
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
6362
+ "name": "TabIndexMixin",
6363
+ "module": "src/utils/mixins/TabIndexMixin.ts"
6418
6364
  }
6419
6365
  },
6420
6366
  {
6421
- "name": "disabled",
6367
+ "name": "card-title",
6422
6368
  "type": {
6423
- "text": "boolean | undefined"
6369
+ "text": "string"
6424
6370
  },
6425
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6426
- "default": "undefined",
6427
- "fieldName": "disabled",
6371
+ "default": "''",
6372
+ "description": "The title of the card - part of header section",
6373
+ "fieldName": "cardTitle",
6428
6374
  "inheritedFrom": {
6429
- "name": "DisabledMixin",
6430
- "module": "src/utils/mixins/DisabledMixin.ts"
6375
+ "name": "Card",
6376
+ "module": "src/components/card/card.component.ts"
6431
6377
  }
6432
6378
  },
6433
6379
  {
6434
- "name": "label",
6380
+ "name": "subtitle",
6435
6381
  "type": {
6436
- "text": "string | undefined"
6382
+ "text": "string"
6437
6383
  },
6438
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6439
- "fieldName": "label",
6384
+ "default": "''",
6385
+ "description": "The subtitle of the card - part of header section",
6386
+ "fieldName": "subtitle",
6440
6387
  "inheritedFrom": {
6441
- "name": "FormfieldWrapper",
6442
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6388
+ "name": "Card",
6389
+ "module": "src/components/card/card.component.ts"
6443
6390
  }
6444
6391
  },
6445
6392
  {
6446
- "name": "required",
6393
+ "name": "image-src",
6447
6394
  "type": {
6448
- "text": "boolean"
6395
+ "text": "string"
6449
6396
  },
6450
- "default": "false",
6451
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
6452
- "fieldName": "required",
6397
+ "default": "''",
6398
+ "description": "The image source URL to render on the card",
6399
+ "fieldName": "imageSrc",
6453
6400
  "inheritedFrom": {
6454
- "name": "FormfieldWrapper",
6455
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6401
+ "name": "Card",
6402
+ "module": "src/components/card/card.component.ts"
6456
6403
  }
6457
6404
  },
6458
6405
  {
6459
- "name": "id",
6406
+ "name": "image-alt",
6460
6407
  "type": {
6461
6408
  "text": "string"
6462
6409
  },
6463
6410
  "default": "''",
6464
- "description": "The unique id of the input field. It is used to link the input field with the label.",
6465
- "fieldName": "id",
6411
+ "description": "The image alt for accessibility support",
6412
+ "fieldName": "imageAlt",
6466
6413
  "inheritedFrom": {
6467
- "name": "FormfieldWrapper",
6468
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6414
+ "name": "Card",
6415
+ "module": "src/components/card/card.component.ts"
6469
6416
  }
6470
6417
  },
6471
6418
  {
6472
- "name": "help-text-type",
6419
+ "name": "variant",
6473
6420
  "type": {
6474
- "text": "ValidationType"
6421
+ "text": "CardVariant"
6475
6422
  },
6476
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6477
- "fieldName": "helpTextType",
6423
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6424
+ "default": "'border'",
6425
+ "fieldName": "variant",
6478
6426
  "inheritedFrom": {
6479
- "name": "FormfieldWrapper",
6480
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6427
+ "name": "Card",
6428
+ "module": "src/components/card/card.component.ts"
6481
6429
  }
6482
6430
  },
6483
6431
  {
6484
- "name": "help-text",
6432
+ "name": "orientation",
6485
6433
  "type": {
6486
- "text": "string | undefined"
6434
+ "text": "CardOrientation"
6487
6435
  },
6488
- "description": "The help text that is displayed below the input field.",
6489
- "fieldName": "helpText",
6436
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6437
+ "default": "'vertical'",
6438
+ "fieldName": "orientation",
6490
6439
  "inheritedFrom": {
6491
- "name": "FormfieldWrapper",
6492
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6440
+ "name": "Card",
6441
+ "module": "src/components/card/card.component.ts"
6493
6442
  }
6494
6443
  },
6495
6444
  {
6496
- "name": "toggletip-text",
6445
+ "name": "title-tag-name",
6497
6446
  "type": {
6498
- "text": "string | undefined"
6447
+ "text": "TagNameType"
6499
6448
  },
6500
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
6501
- "fieldName": "toggletipText",
6449
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
6450
+ "default": "'span'",
6451
+ "fieldName": "titleTagName",
6502
6452
  "inheritedFrom": {
6503
- "name": "FormfieldWrapper",
6504
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6453
+ "name": "Card",
6454
+ "module": "src/components/card/card.component.ts"
6505
6455
  }
6506
6456
  },
6507
6457
  {
6508
- "name": "toggletip-placement",
6458
+ "name": "subtitle-tag-name",
6509
6459
  "type": {
6510
- "text": "PopoverPlacement"
6460
+ "text": "TagNameType"
6511
6461
  },
6512
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
6513
- "default": "'top'",
6514
- "fieldName": "toggletipPlacement",
6462
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
6463
+ "default": "'span'",
6464
+ "fieldName": "subtitleTagName",
6515
6465
  "inheritedFrom": {
6516
- "name": "FormfieldWrapper",
6517
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6466
+ "name": "Card",
6467
+ "module": "src/components/card/card.component.ts"
6518
6468
  }
6519
6469
  },
6520
6470
  {
6521
- "name": "info-icon-aria-label",
6471
+ "name": "icon-name",
6522
6472
  "type": {
6523
- "text": "string | undefined"
6473
+ "text": "IconNames | undefined"
6524
6474
  },
6525
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
6526
- "fieldName": "infoIconAriaLabel",
6475
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6476
+ "fieldName": "iconName",
6527
6477
  "inheritedFrom": {
6528
- "name": "FormfieldWrapper",
6529
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6478
+ "name": "Card",
6479
+ "module": "src/components/card/card.component.ts"
6530
6480
  }
6531
6481
  }
6532
6482
  ],
6533
6483
  "mixins": [
6534
6484
  {
6535
- "name": "FormInternalsMixin",
6536
- "module": "/src/utils/mixins/FormInternalsMixin"
6485
+ "name": "DisabledMixin",
6486
+ "module": "/src/utils/mixins/DisabledMixin"
6537
6487
  },
6538
6488
  {
6539
- "name": "DataAriaLabelMixin",
6540
- "module": "/src/utils/mixins/DataAriaLabelMixin"
6489
+ "name": "TabIndexMixin",
6490
+ "module": "/src/utils/mixins/TabIndexMixin"
6541
6491
  }
6542
6492
  ],
6543
6493
  "superclass": {
6544
- "name": "FormfieldWrapper",
6545
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
6494
+ "name": "Card",
6495
+ "module": "/src/components/card/card.component"
6546
6496
  },
6547
- "tagName": "mdc-checkbox",
6548
- "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-checkbox\n *\n * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a selected checkbox when disabled.\n */",
6497
+ "tagName": "mdc-cardradio",
6498
+ "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
6549
6499
  "customElement": true
6550
6500
  }
6551
6501
  ],
@@ -6554,76 +6504,40 @@
6554
6504
  "kind": "js",
6555
6505
  "name": "default",
6556
6506
  "declaration": {
6557
- "name": "Checkbox",
6558
- "module": "components/checkbox/checkbox.component.js"
6507
+ "name": "CardRadio",
6508
+ "module": "components/cardradio/cardradio.component.js"
6559
6509
  }
6560
6510
  }
6561
6511
  ]
6562
6512
  },
6563
6513
  {
6564
6514
  "kind": "javascript-module",
6565
- "path": "components/cardradio/cardradio.component.js",
6515
+ "path": "components/checkbox/checkbox.component.js",
6566
6516
  "declarations": [
6567
6517
  {
6568
6518
  "kind": "class",
6569
- "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6570
- "name": "CardRadio",
6571
- "slots": [
6572
- {
6573
- "description": "This slot is for passing the content before the body",
6574
- "name": "before-body",
6575
- "inheritedFrom": {
6576
- "name": "Card",
6577
- "module": "src/components/card/card.component.ts"
6578
- }
6579
- },
6580
- {
6581
- "description": "This slot is for passing the text content for the card",
6582
- "name": "body",
6583
- "inheritedFrom": {
6584
- "name": "Card",
6585
- "module": "src/components/card/card.component.ts"
6586
- }
6587
- },
6519
+ "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.\n\nTo create a group of checkboxes, use the FormFieldGroup component.",
6520
+ "name": "Checkbox",
6521
+ "cssProperties": [
6588
6522
  {
6589
- "description": "This slot is for passing the content after the body",
6590
- "name": "after-body",
6591
- "inheritedFrom": {
6592
- "name": "Card",
6593
- "module": "src/components/card/card.component.ts"
6594
- }
6523
+ "description": "Allows customization of the background color on hover.",
6524
+ "name": "--mdc-checkbox-background-color-hover"
6595
6525
  },
6596
6526
  {
6597
- "description": "This slot is for passing `mdc-link` component within the footer section.",
6598
- "name": "footer-link",
6599
- "inheritedFrom": {
6600
- "name": "Card",
6601
- "module": "src/components/card/card.component.ts"
6602
- }
6527
+ "description": "Background color for a selected checkbox when hovered.",
6528
+ "name": "--mdc-checkbox-checked-background-color-hover"
6603
6529
  },
6604
6530
  {
6605
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6606
- "name": "footer-button-primary",
6607
- "inheritedFrom": {
6608
- "name": "Card",
6609
- "module": "src/components/card/card.component.ts"
6610
- }
6531
+ "description": "Background color for a selected checkbox when pressed.",
6532
+ "name": "--mdc-checkbox-checked-pressed-icon-color"
6611
6533
  },
6612
6534
  {
6613
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6614
- "name": "footer-button-secondary",
6615
- "inheritedFrom": {
6616
- "name": "Card",
6617
- "module": "src/components/card/card.component.ts"
6618
- }
6535
+ "description": "Background color for a selected checkbox when pressed.",
6536
+ "name": "--mdc-checkbox-pressed-icon-color"
6619
6537
  },
6620
6538
  {
6621
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
6622
- "name": "footer",
6623
- "inheritedFrom": {
6624
- "name": "Card",
6625
- "module": "src/components/card/card.component.ts"
6626
- }
6539
+ "description": "Background color for a selected checkbox when disabled.",
6540
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
6627
6541
  }
6628
6542
  ],
6629
6543
  "members": [
@@ -6634,45 +6548,59 @@
6634
6548
  "text": "boolean"
6635
6549
  },
6636
6550
  "default": "false",
6637
- "description": "The checked state of the card",
6551
+ "description": "Determines whether the checkbox is selected or unselected.",
6638
6552
  "attribute": "checked",
6639
6553
  "reflects": true
6640
6554
  },
6641
6555
  {
6642
6556
  "kind": "field",
6643
- "name": "name",
6557
+ "name": "indeterminate",
6644
6558
  "type": {
6645
- "text": "string"
6559
+ "text": "boolean"
6646
6560
  },
6647
- "default": "''",
6648
- "description": "The name of the radio.",
6649
- "attribute": "name"
6561
+ "default": "false",
6562
+ "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
6563
+ "attribute": "indeterminate",
6564
+ "reflects": true
6565
+ },
6566
+ {
6567
+ "kind": "field",
6568
+ "name": "autofocus",
6569
+ "type": {
6570
+ "text": "boolean"
6571
+ },
6572
+ "default": "false",
6573
+ "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
6574
+ "attribute": "autofocus",
6575
+ "reflects": true
6650
6576
  },
6651
6577
  {
6652
6578
  "kind": "method",
6653
- "name": "getAllCardsWithinSameGroup",
6579
+ "name": "setFormValue",
6654
6580
  "privacy": "private",
6655
- "return": {
6656
- "type": {
6657
- "text": "CardRadio[]"
6658
- }
6659
- },
6660
- "description": "Returns all cards within the same group (name)."
6581
+ "description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
6661
6582
  },
6662
6583
  {
6663
6584
  "kind": "method",
6664
- "name": "toggleChecked",
6585
+ "name": "manageRequired",
6586
+ "privacy": "private",
6587
+ "description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the required property is set, then the checkbox is invalid."
6588
+ },
6589
+ {
6590
+ "kind": "method",
6591
+ "name": "toggleState",
6665
6592
  "privacy": "private",
6666
6593
  "return": {
6667
6594
  "type": {
6668
6595
  "text": "void"
6669
6596
  }
6670
6597
  },
6671
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
6598
+ "description": "Toggles the state of the checkbox element.\nIf the element is not disabled, then\nthe checked property is toggled and the indeterminate property is set to false."
6672
6599
  },
6673
6600
  {
6674
6601
  "kind": "method",
6675
- "name": "setDisabled",
6602
+ "name": "handleKeyDown",
6603
+ "privacy": "private",
6676
6604
  "return": {
6677
6605
  "type": {
6678
6606
  "text": "void"
@@ -6680,17 +6608,19 @@
6680
6608
  },
6681
6609
  "parameters": [
6682
6610
  {
6683
- "name": "disabled",
6611
+ "name": "event",
6684
6612
  "type": {
6685
- "text": "boolean"
6686
- }
6613
+ "text": "KeyboardEvent"
6614
+ },
6615
+ "description": "The keyboard event."
6687
6616
  }
6688
- ]
6617
+ ],
6618
+ "description": "Handles the keydown event on the checkbox.\nWhen the user presses Enter, the form is submitted."
6689
6619
  },
6690
6620
  {
6691
6621
  "kind": "method",
6692
- "name": "updateCardRadio",
6693
- "privacy": "private",
6622
+ "name": "handleChange",
6623
+ "privacy": "public",
6694
6624
  "return": {
6695
6625
  "type": {
6696
6626
  "text": "void"
@@ -6698,62 +6628,132 @@
6698
6628
  },
6699
6629
  "parameters": [
6700
6630
  {
6701
- "name": "cards",
6702
- "type": {
6703
- "text": "CardRadio[]"
6704
- }
6705
- },
6706
- {
6707
- "name": "index",
6631
+ "name": "event",
6708
6632
  "type": {
6709
- "text": "number"
6633
+ "text": "Event"
6710
6634
  }
6711
6635
  }
6712
- ]
6636
+ ],
6637
+ "description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
6713
6638
  },
6714
6639
  {
6715
- "kind": "method",
6716
- "name": "toggleOnEnter",
6717
- "privacy": "private",
6718
- "parameters": [
6719
- {
6720
- "name": "event",
6721
- "type": {
6722
- "text": "KeyboardEvent"
6723
- },
6724
- "description": "The keyboard event"
6725
- }
6726
- ],
6727
- "description": "Toggles the checked state when enter key is used"
6640
+ "kind": "field",
6641
+ "name": "renderLabelAndHelperText",
6642
+ "privacy": "private"
6643
+ },
6644
+ {
6645
+ "kind": "field",
6646
+ "name": "name",
6647
+ "type": {
6648
+ "text": "string"
6649
+ },
6650
+ "default": "''",
6651
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
6652
+ "attribute": "name",
6653
+ "reflects": true,
6654
+ "inheritedFrom": {
6655
+ "name": "FormInternalsMixin",
6656
+ "module": "utils/mixins/FormInternalsMixin.js"
6657
+ }
6658
+ },
6659
+ {
6660
+ "kind": "field",
6661
+ "name": "value",
6662
+ "type": {
6663
+ "text": "string"
6664
+ },
6665
+ "default": "''",
6666
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6667
+ "attribute": "value",
6668
+ "reflects": true,
6669
+ "inheritedFrom": {
6670
+ "name": "FormInternalsMixin",
6671
+ "module": "utils/mixins/FormInternalsMixin.js"
6672
+ }
6673
+ },
6674
+ {
6675
+ "kind": "field",
6676
+ "name": "validationMessage",
6677
+ "type": {
6678
+ "text": "string | undefined"
6679
+ },
6680
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
6681
+ "attribute": "validation-message",
6682
+ "reflects": true,
6683
+ "inheritedFrom": {
6684
+ "name": "FormInternalsMixin",
6685
+ "module": "utils/mixins/FormInternalsMixin.js"
6686
+ }
6687
+ },
6688
+ {
6689
+ "kind": "field",
6690
+ "name": "validity",
6691
+ "type": {
6692
+ "text": "ValidityState"
6693
+ },
6694
+ "readonly": true,
6695
+ "inheritedFrom": {
6696
+ "name": "FormInternalsMixin",
6697
+ "module": "utils/mixins/FormInternalsMixin.js"
6698
+ }
6699
+ },
6700
+ {
6701
+ "kind": "field",
6702
+ "name": "willValidate",
6703
+ "readonly": true,
6704
+ "inheritedFrom": {
6705
+ "name": "FormInternalsMixin",
6706
+ "module": "utils/mixins/FormInternalsMixin.js"
6707
+ }
6728
6708
  },
6729
6709
  {
6730
6710
  "kind": "method",
6731
- "name": "toggleOnSpace",
6732
- "privacy": "private",
6733
- "parameters": [
6734
- {
6735
- "name": "event",
6736
- "type": {
6737
- "text": "KeyboardEvent"
6738
- },
6739
- "description": "The keyboard event"
6711
+ "name": "setValidity",
6712
+ "description": "Sets the validity of the input field based on the input field's validity.",
6713
+ "return": {
6714
+ "type": {
6715
+ "text": ""
6740
6716
  }
6741
- ],
6742
- "description": "Toggles the checked state when space key is used"
6717
+ },
6718
+ "inheritedFrom": {
6719
+ "name": "FormInternalsMixin",
6720
+ "module": "utils/mixins/FormInternalsMixin.js"
6721
+ }
6743
6722
  },
6744
6723
  {
6745
6724
  "kind": "method",
6746
- "name": "renderHeader",
6747
- "privacy": "protected",
6748
- "description": "Renders the header of the card",
6725
+ "name": "checkValidity",
6749
6726
  "return": {
6750
6727
  "type": {
6751
- "text": ""
6728
+ "text": "boolean"
6752
6729
  }
6753
6730
  },
6754
6731
  "inheritedFrom": {
6755
- "name": "Card",
6756
- "module": "components/card/card.component.js"
6732
+ "name": "FormInternalsMixin",
6733
+ "module": "utils/mixins/FormInternalsMixin.js"
6734
+ }
6735
+ },
6736
+ {
6737
+ "kind": "method",
6738
+ "name": "reportValidity",
6739
+ "inheritedFrom": {
6740
+ "name": "FormInternalsMixin",
6741
+ "module": "utils/mixins/FormInternalsMixin.js"
6742
+ }
6743
+ },
6744
+ {
6745
+ "kind": "field",
6746
+ "name": "dataAriaLabel",
6747
+ "type": {
6748
+ "text": "string | null"
6749
+ },
6750
+ "default": "null",
6751
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6752
+ "attribute": "data-aria-label",
6753
+ "reflects": true,
6754
+ "inheritedFrom": {
6755
+ "name": "DataAriaLabelMixin",
6756
+ "module": "utils/mixins/DataAriaLabelMixin.js"
6757
6757
  }
6758
6758
  },
6759
6759
  {
@@ -6773,237 +6773,207 @@
6773
6773
  },
6774
6774
  {
6775
6775
  "kind": "field",
6776
- "name": "tabIndex",
6777
- "type": {
6778
- "text": "number"
6779
- },
6780
- "default": "0",
6781
- "description": "This property specifies the tab order of the element.",
6782
- "attribute": "tabIndex",
6783
- "reflects": true,
6784
- "inheritedFrom": {
6785
- "name": "TabIndexMixin",
6786
- "module": "utils/mixins/TabIndexMixin.js"
6787
- }
6788
- },
6789
- {
6790
- "kind": "field",
6791
- "name": "cardTitle",
6776
+ "name": "label",
6792
6777
  "type": {
6793
- "text": "string"
6778
+ "text": "string | undefined"
6794
6779
  },
6795
- "default": "''",
6796
- "description": "The title of the card - part of header section",
6797
- "attribute": "card-title",
6780
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6781
+ "attribute": "label",
6798
6782
  "reflects": true,
6799
6783
  "inheritedFrom": {
6800
- "name": "Card",
6801
- "module": "components/card/card.component.js"
6784
+ "name": "FormfieldWrapper",
6785
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6802
6786
  }
6803
6787
  },
6804
6788
  {
6805
6789
  "kind": "field",
6806
- "name": "subtitle",
6790
+ "name": "required",
6807
6791
  "type": {
6808
- "text": "string"
6792
+ "text": "boolean"
6809
6793
  },
6810
- "default": "''",
6811
- "description": "The subtitle of the card - part of header section",
6812
- "attribute": "subtitle",
6794
+ "default": "false",
6795
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
6796
+ "attribute": "required",
6813
6797
  "reflects": true,
6814
6798
  "inheritedFrom": {
6815
- "name": "Card",
6816
- "module": "components/card/card.component.js"
6799
+ "name": "FormfieldWrapper",
6800
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6817
6801
  }
6818
6802
  },
6819
6803
  {
6820
6804
  "kind": "field",
6821
- "name": "imageSrc",
6805
+ "name": "id",
6822
6806
  "type": {
6823
6807
  "text": "string"
6824
6808
  },
6825
6809
  "default": "''",
6826
- "description": "The image source URL to render on the card",
6827
- "attribute": "image-src",
6828
- "reflects": true,
6810
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
6811
+ "attribute": "id",
6829
6812
  "inheritedFrom": {
6830
- "name": "Card",
6831
- "module": "components/card/card.component.js"
6813
+ "name": "FormfieldWrapper",
6814
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6832
6815
  }
6833
6816
  },
6834
6817
  {
6835
6818
  "kind": "field",
6836
- "name": "imageAlt",
6819
+ "name": "helpTextType",
6837
6820
  "type": {
6838
- "text": "string"
6821
+ "text": "ValidationType"
6839
6822
  },
6840
- "default": "''",
6841
- "description": "The image alt for accessibility support",
6842
- "attribute": "image-alt",
6823
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6824
+ "attribute": "help-text-type",
6843
6825
  "reflects": true,
6844
6826
  "inheritedFrom": {
6845
- "name": "Card",
6846
- "module": "components/card/card.component.js"
6827
+ "name": "FormfieldWrapper",
6828
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6847
6829
  }
6848
6830
  },
6849
6831
  {
6850
6832
  "kind": "field",
6851
- "name": "variant",
6833
+ "name": "helpText",
6852
6834
  "type": {
6853
- "text": "CardVariant"
6835
+ "text": "string | undefined"
6854
6836
  },
6855
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6856
- "default": "'border'",
6857
- "attribute": "variant",
6837
+ "description": "The help text that is displayed below the input field.",
6838
+ "attribute": "help-text",
6858
6839
  "reflects": true,
6859
6840
  "inheritedFrom": {
6860
- "name": "Card",
6861
- "module": "components/card/card.component.js"
6841
+ "name": "FormfieldWrapper",
6842
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6862
6843
  }
6863
6844
  },
6864
6845
  {
6865
6846
  "kind": "field",
6866
- "name": "orientation",
6847
+ "name": "toggletipText",
6867
6848
  "type": {
6868
- "text": "CardOrientation"
6849
+ "text": "string | undefined"
6869
6850
  },
6870
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6871
- "default": "'vertical'",
6872
- "attribute": "orientation",
6851
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
6852
+ "attribute": "toggletip-text",
6873
6853
  "reflects": true,
6874
6854
  "inheritedFrom": {
6875
- "name": "Card",
6876
- "module": "components/card/card.component.js"
6855
+ "name": "FormfieldWrapper",
6856
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6877
6857
  }
6878
6858
  },
6879
6859
  {
6880
6860
  "kind": "field",
6881
- "name": "titleTagName",
6861
+ "name": "toggletipPlacement",
6882
6862
  "type": {
6883
- "text": "TagNameType"
6863
+ "text": "PopoverPlacement"
6884
6864
  },
6885
- "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
6886
- "default": "'span'",
6887
- "attribute": "title-tag-name",
6865
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
6866
+ "default": "'top'",
6867
+ "attribute": "toggletip-placement",
6888
6868
  "reflects": true,
6889
6869
  "inheritedFrom": {
6890
- "name": "Card",
6891
- "module": "components/card/card.component.js"
6870
+ "name": "FormfieldWrapper",
6871
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6892
6872
  }
6893
6873
  },
6894
6874
  {
6895
6875
  "kind": "field",
6896
- "name": "subtitleTagName",
6876
+ "name": "infoIconAriaLabel",
6897
6877
  "type": {
6898
- "text": "TagNameType"
6878
+ "text": "string | undefined"
6899
6879
  },
6900
- "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
6901
- "default": "'span'",
6902
- "attribute": "subtitle-tag-name",
6880
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
6881
+ "attribute": "info-icon-aria-label",
6903
6882
  "reflects": true,
6904
6883
  "inheritedFrom": {
6905
- "name": "Card",
6906
- "module": "components/card/card.component.js"
6884
+ "name": "FormfieldWrapper",
6885
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6907
6886
  }
6908
6887
  },
6909
6888
  {
6910
- "kind": "field",
6911
- "name": "iconName",
6912
- "type": {
6913
- "text": "IconNames | undefined"
6889
+ "kind": "method",
6890
+ "name": "renderLabelElement",
6891
+ "privacy": "protected",
6892
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
6893
+ "return": {
6894
+ "type": {
6895
+ "text": ""
6896
+ }
6914
6897
  },
6915
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6916
- "attribute": "icon-name",
6917
- "reflects": true,
6918
6898
  "inheritedFrom": {
6919
- "name": "Card",
6920
- "module": "components/card/card.component.js"
6899
+ "name": "FormfieldWrapper",
6900
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6921
6901
  }
6922
6902
  },
6923
6903
  {
6924
6904
  "kind": "method",
6925
- "name": "renderImage",
6905
+ "name": "renderHelpTextIcon",
6926
6906
  "privacy": "protected",
6927
- "description": "Renders the image on the card if image source is provided",
6907
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
6928
6908
  "return": {
6929
6909
  "type": {
6930
6910
  "text": ""
6931
6911
  }
6932
6912
  },
6933
6913
  "inheritedFrom": {
6934
- "name": "Card",
6935
- "module": "components/card/card.component.js"
6914
+ "name": "FormfieldWrapper",
6915
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6936
6916
  }
6937
6917
  },
6938
6918
  {
6939
6919
  "kind": "method",
6940
- "name": "renderIcon",
6920
+ "name": "renderHelpText",
6941
6921
  "privacy": "protected",
6942
- "description": "Renders the icon on the card if icon name is provided",
6922
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
6943
6923
  "return": {
6944
6924
  "type": {
6945
6925
  "text": ""
6946
6926
  }
6947
6927
  },
6948
6928
  "inheritedFrom": {
6949
- "name": "Card",
6950
- "module": "components/card/card.component.js"
6929
+ "name": "FormfieldWrapper",
6930
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6951
6931
  }
6952
6932
  },
6953
6933
  {
6954
6934
  "kind": "method",
6955
- "name": "renderTitle",
6935
+ "name": "renderLabel",
6956
6936
  "privacy": "protected",
6957
- "description": "Renders the title and subtitle on the card",
6937
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
6958
6938
  "return": {
6959
6939
  "type": {
6960
6940
  "text": ""
6961
6941
  }
6962
6942
  },
6963
6943
  "inheritedFrom": {
6964
- "name": "Card",
6965
- "module": "components/card/card.component.js"
6944
+ "name": "FormfieldWrapper",
6945
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6966
6946
  }
6967
6947
  },
6968
6948
  {
6969
6949
  "kind": "method",
6970
- "name": "renderFooter",
6950
+ "name": "renderHelperText",
6971
6951
  "privacy": "protected",
6972
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6952
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
6973
6953
  "return": {
6974
6954
  "type": {
6975
6955
  "text": ""
6976
6956
  }
6977
6957
  },
6978
6958
  "inheritedFrom": {
6979
- "name": "Card",
6980
- "module": "components/card/card.component.js"
6959
+ "name": "FormfieldWrapper",
6960
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6981
6961
  }
6982
6962
  }
6983
6963
  ],
6984
6964
  "events": [
6985
6965
  {
6986
- "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6987
- "name": "click",
6988
- "reactName": "onClick"
6989
- },
6990
- {
6991
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6992
- "name": "keydown",
6993
- "reactName": "onKeyDown"
6994
- },
6995
- {
6996
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6997
- "name": "keyup",
6998
- "reactName": "onKeyUp"
6966
+ "type": {
6967
+ "text": "EventConstructor"
6968
+ }
6999
6969
  },
7000
6970
  {
7001
- "description": "(React: onChange) Event that gets dispatched when the card state changes.",
6971
+ "description": "(React: onChange) Event that gets dispatched when the checkbox state changes.",
7002
6972
  "name": "change",
7003
6973
  "reactName": "onChange"
7004
6974
  },
7005
6975
  {
7006
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6976
+ "description": "(React: onFocus) Event that gets dispatched when the checkbox receives focus.",
7007
6977
  "name": "focus",
7008
6978
  "reactName": "onFocus"
7009
6979
  }
@@ -7015,177 +6985,207 @@
7015
6985
  "text": "boolean"
7016
6986
  },
7017
6987
  "default": "false",
7018
- "description": "The checked state of the card",
6988
+ "description": "Determines whether the checkbox is selected or unselected.",
7019
6989
  "fieldName": "checked"
7020
6990
  },
6991
+ {
6992
+ "name": "indeterminate",
6993
+ "type": {
6994
+ "text": "boolean"
6995
+ },
6996
+ "default": "false",
6997
+ "description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
6998
+ "fieldName": "indeterminate"
6999
+ },
7000
+ {
7001
+ "name": "autofocus",
7002
+ "type": {
7003
+ "text": "boolean"
7004
+ },
7005
+ "default": "false",
7006
+ "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
7007
+ "fieldName": "autofocus"
7008
+ },
7021
7009
  {
7022
7010
  "name": "name",
7023
7011
  "type": {
7024
7012
  "text": "string"
7025
7013
  },
7026
7014
  "default": "''",
7027
- "description": "The name of the radio.",
7028
- "fieldName": "name"
7015
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
7016
+ "fieldName": "name",
7017
+ "inheritedFrom": {
7018
+ "name": "FormInternalsMixin",
7019
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
7020
+ }
7029
7021
  },
7030
7022
  {
7031
- "name": "disabled",
7023
+ "name": "value",
7032
7024
  "type": {
7033
- "text": "boolean | undefined"
7025
+ "text": "string"
7034
7026
  },
7035
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7036
- "default": "undefined",
7037
- "fieldName": "disabled",
7027
+ "default": "''",
7028
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
7029
+ "fieldName": "value",
7038
7030
  "inheritedFrom": {
7039
- "name": "DisabledMixin",
7040
- "module": "src/utils/mixins/DisabledMixin.ts"
7031
+ "name": "FormInternalsMixin",
7032
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
7041
7033
  }
7042
7034
  },
7043
7035
  {
7044
- "name": "tabIndex",
7036
+ "name": "validation-message",
7045
7037
  "type": {
7046
- "text": "number"
7038
+ "text": "string | undefined"
7039
+ },
7040
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
7041
+ "fieldName": "validationMessage",
7042
+ "inheritedFrom": {
7043
+ "name": "FormInternalsMixin",
7044
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
7045
+ }
7046
+ },
7047
+ {
7048
+ "name": "data-aria-label",
7049
+ "type": {
7050
+ "text": "string | null"
7047
7051
  },
7048
- "default": "0",
7049
- "description": "This property specifies the tab order of the element.",
7050
- "fieldName": "tabIndex",
7052
+ "default": "null",
7053
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
7054
+ "fieldName": "dataAriaLabel",
7051
7055
  "inheritedFrom": {
7052
- "name": "TabIndexMixin",
7053
- "module": "src/utils/mixins/TabIndexMixin.ts"
7056
+ "name": "DataAriaLabelMixin",
7057
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
7054
7058
  }
7055
7059
  },
7056
7060
  {
7057
- "name": "card-title",
7061
+ "name": "disabled",
7058
7062
  "type": {
7059
- "text": "string"
7063
+ "text": "boolean | undefined"
7060
7064
  },
7061
- "default": "''",
7062
- "description": "The title of the card - part of header section",
7063
- "fieldName": "cardTitle",
7065
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7066
+ "default": "undefined",
7067
+ "fieldName": "disabled",
7064
7068
  "inheritedFrom": {
7065
- "name": "Card",
7066
- "module": "src/components/card/card.component.ts"
7069
+ "name": "DisabledMixin",
7070
+ "module": "src/utils/mixins/DisabledMixin.ts"
7067
7071
  }
7068
7072
  },
7069
7073
  {
7070
- "name": "subtitle",
7074
+ "name": "label",
7071
7075
  "type": {
7072
- "text": "string"
7076
+ "text": "string | undefined"
7073
7077
  },
7074
- "default": "''",
7075
- "description": "The subtitle of the card - part of header section",
7076
- "fieldName": "subtitle",
7078
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
7079
+ "fieldName": "label",
7077
7080
  "inheritedFrom": {
7078
- "name": "Card",
7079
- "module": "src/components/card/card.component.ts"
7081
+ "name": "FormfieldWrapper",
7082
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7080
7083
  }
7081
7084
  },
7082
7085
  {
7083
- "name": "image-src",
7086
+ "name": "required",
7084
7087
  "type": {
7085
- "text": "string"
7088
+ "text": "boolean"
7086
7089
  },
7087
- "default": "''",
7088
- "description": "The image source URL to render on the card",
7089
- "fieldName": "imageSrc",
7090
+ "default": "false",
7091
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
7092
+ "fieldName": "required",
7090
7093
  "inheritedFrom": {
7091
- "name": "Card",
7092
- "module": "src/components/card/card.component.ts"
7094
+ "name": "FormfieldWrapper",
7095
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7093
7096
  }
7094
7097
  },
7095
7098
  {
7096
- "name": "image-alt",
7099
+ "name": "id",
7097
7100
  "type": {
7098
7101
  "text": "string"
7099
7102
  },
7100
7103
  "default": "''",
7101
- "description": "The image alt for accessibility support",
7102
- "fieldName": "imageAlt",
7104
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
7105
+ "fieldName": "id",
7103
7106
  "inheritedFrom": {
7104
- "name": "Card",
7105
- "module": "src/components/card/card.component.ts"
7107
+ "name": "FormfieldWrapper",
7108
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7106
7109
  }
7107
7110
  },
7108
7111
  {
7109
- "name": "variant",
7112
+ "name": "help-text-type",
7110
7113
  "type": {
7111
- "text": "CardVariant"
7114
+ "text": "ValidationType"
7112
7115
  },
7113
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7114
- "default": "'border'",
7115
- "fieldName": "variant",
7116
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
7117
+ "fieldName": "helpTextType",
7116
7118
  "inheritedFrom": {
7117
- "name": "Card",
7118
- "module": "src/components/card/card.component.ts"
7119
+ "name": "FormfieldWrapper",
7120
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7119
7121
  }
7120
7122
  },
7121
7123
  {
7122
- "name": "orientation",
7124
+ "name": "help-text",
7123
7125
  "type": {
7124
- "text": "CardOrientation"
7126
+ "text": "string | undefined"
7125
7127
  },
7126
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7127
- "default": "'vertical'",
7128
- "fieldName": "orientation",
7128
+ "description": "The help text that is displayed below the input field.",
7129
+ "fieldName": "helpText",
7129
7130
  "inheritedFrom": {
7130
- "name": "Card",
7131
- "module": "src/components/card/card.component.ts"
7131
+ "name": "FormfieldWrapper",
7132
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7132
7133
  }
7133
7134
  },
7134
7135
  {
7135
- "name": "title-tag-name",
7136
+ "name": "toggletip-text",
7136
7137
  "type": {
7137
- "text": "TagNameType"
7138
+ "text": "string | undefined"
7138
7139
  },
7139
- "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
7140
- "default": "'span'",
7141
- "fieldName": "titleTagName",
7140
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
7141
+ "fieldName": "toggletipText",
7142
7142
  "inheritedFrom": {
7143
- "name": "Card",
7144
- "module": "src/components/card/card.component.ts"
7143
+ "name": "FormfieldWrapper",
7144
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7145
7145
  }
7146
7146
  },
7147
7147
  {
7148
- "name": "subtitle-tag-name",
7148
+ "name": "toggletip-placement",
7149
7149
  "type": {
7150
- "text": "TagNameType"
7150
+ "text": "PopoverPlacement"
7151
7151
  },
7152
- "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
7153
- "default": "'span'",
7154
- "fieldName": "subtitleTagName",
7152
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
7153
+ "default": "'top'",
7154
+ "fieldName": "toggletipPlacement",
7155
7155
  "inheritedFrom": {
7156
- "name": "Card",
7157
- "module": "src/components/card/card.component.ts"
7156
+ "name": "FormfieldWrapper",
7157
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7158
7158
  }
7159
7159
  },
7160
7160
  {
7161
- "name": "icon-name",
7161
+ "name": "info-icon-aria-label",
7162
7162
  "type": {
7163
- "text": "IconNames | undefined"
7163
+ "text": "string | undefined"
7164
7164
  },
7165
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7166
- "fieldName": "iconName",
7165
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
7166
+ "fieldName": "infoIconAriaLabel",
7167
7167
  "inheritedFrom": {
7168
- "name": "Card",
7169
- "module": "src/components/card/card.component.ts"
7168
+ "name": "FormfieldWrapper",
7169
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7170
7170
  }
7171
7171
  }
7172
7172
  ],
7173
7173
  "mixins": [
7174
7174
  {
7175
- "name": "DisabledMixin",
7176
- "module": "/src/utils/mixins/DisabledMixin"
7175
+ "name": "FormInternalsMixin",
7176
+ "module": "/src/utils/mixins/FormInternalsMixin"
7177
7177
  },
7178
7178
  {
7179
- "name": "TabIndexMixin",
7180
- "module": "/src/utils/mixins/TabIndexMixin"
7179
+ "name": "DataAriaLabelMixin",
7180
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
7181
7181
  }
7182
7182
  ],
7183
7183
  "superclass": {
7184
- "name": "Card",
7185
- "module": "/src/components/card/card.component"
7184
+ "name": "FormfieldWrapper",
7185
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
7186
7186
  },
7187
- "tagName": "mdc-cardradio",
7188
- "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7187
+ "tagName": "mdc-checkbox",
7188
+ "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-checkbox\n *\n * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a selected checkbox when disabled.\n */",
7189
7189
  "customElement": true
7190
7190
  }
7191
7191
  ],
@@ -7194,8 +7194,8 @@
7194
7194
  "kind": "js",
7195
7195
  "name": "default",
7196
7196
  "declaration": {
7197
- "name": "CardRadio",
7198
- "module": "components/cardradio/cardradio.component.js"
7197
+ "name": "Checkbox",
7198
+ "module": "components/checkbox/checkbox.component.js"
7199
7199
  }
7200
7200
  }
7201
7201
  ]
@@ -14599,35 +14599,158 @@
14599
14599
  "type": {
14600
14600
  "text": "string | undefined"
14601
14601
  },
14602
- "description": "The header text of the list.",
14602
+ "description": "The header text of the list.",
14603
+ "fieldName": "headerText"
14604
+ },
14605
+ {
14606
+ "name": "data-aria-label",
14607
+ "type": {
14608
+ "text": "string | null"
14609
+ },
14610
+ "default": "null",
14611
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
14612
+ "fieldName": "dataAriaLabel",
14613
+ "inheritedFrom": {
14614
+ "name": "DataAriaLabelMixin",
14615
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
14616
+ }
14617
+ }
14618
+ ],
14619
+ "mixins": [
14620
+ {
14621
+ "name": "DataAriaLabelMixin",
14622
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
14623
+ }
14624
+ ],
14625
+ "superclass": {
14626
+ "name": "Component",
14627
+ "module": "/src/models"
14628
+ },
14629
+ "tagName": "mdc-list",
14630
+ "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * @tagname mdc-list\n *\n * @dependency mdc-text\n *\n * @slot default - This is a default/unnamed slot\n */",
14631
+ "customElement": true
14632
+ }
14633
+ ],
14634
+ "exports": [
14635
+ {
14636
+ "kind": "js",
14637
+ "name": "default",
14638
+ "declaration": {
14639
+ "name": "List",
14640
+ "module": "components/list/list.component.js"
14641
+ }
14642
+ }
14643
+ ]
14644
+ },
14645
+ {
14646
+ "kind": "javascript-module",
14647
+ "path": "components/listheader/listheader.component.js",
14648
+ "declarations": [
14649
+ {
14650
+ "kind": "class",
14651
+ "description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
14652
+ "name": "Listheader",
14653
+ "cssProperties": [
14654
+ {
14655
+ "description": "height of the header",
14656
+ "name": "--mdc-listheader-height"
14657
+ },
14658
+ {
14659
+ "description": "padding around the header content",
14660
+ "name": "--mdc-listheader-padding"
14661
+ },
14662
+ {
14663
+ "description": "gap between content",
14664
+ "name": "--mdc-listheader-gap"
14665
+ }
14666
+ ],
14667
+ "slots": [
14668
+ {
14669
+ "description": "to pass in actionable content like buttons or links",
14670
+ "name": "default"
14671
+ }
14672
+ ],
14673
+ "members": [
14674
+ {
14675
+ "kind": "field",
14676
+ "name": "prefixIcon",
14677
+ "type": {
14678
+ "text": "IconNames | undefined"
14679
+ },
14680
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
14681
+ "attribute": "prefix-icon"
14682
+ },
14683
+ {
14684
+ "kind": "field",
14685
+ "name": "postfixIcon",
14686
+ "type": {
14687
+ "text": "IconNames | undefined"
14688
+ },
14689
+ "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
14690
+ "attribute": "postfix-icon"
14691
+ },
14692
+ {
14693
+ "kind": "field",
14694
+ "name": "headerText",
14695
+ "type": {
14696
+ "text": "string | undefined"
14697
+ },
14698
+ "description": "Text to be rendered in the header",
14699
+ "attribute": "header-text"
14700
+ },
14701
+ {
14702
+ "kind": "field",
14703
+ "name": "disabled",
14704
+ "type": {
14705
+ "text": "boolean"
14706
+ },
14707
+ "default": "false",
14708
+ "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
14709
+ "attribute": "disabled",
14710
+ "reflects": true
14711
+ }
14712
+ ],
14713
+ "attributes": [
14714
+ {
14715
+ "name": "prefix-icon",
14716
+ "type": {
14717
+ "text": "IconNames | undefined"
14718
+ },
14719
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
14720
+ "fieldName": "prefixIcon"
14721
+ },
14722
+ {
14723
+ "name": "postfix-icon",
14724
+ "type": {
14725
+ "text": "IconNames | undefined"
14726
+ },
14727
+ "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
14728
+ "fieldName": "postfixIcon"
14729
+ },
14730
+ {
14731
+ "name": "header-text",
14732
+ "type": {
14733
+ "text": "string | undefined"
14734
+ },
14735
+ "description": "Text to be rendered in the header",
14603
14736
  "fieldName": "headerText"
14604
14737
  },
14605
14738
  {
14606
- "name": "data-aria-label",
14739
+ "name": "disabled",
14607
14740
  "type": {
14608
- "text": "string | null"
14741
+ "text": "boolean"
14609
14742
  },
14610
- "default": "null",
14611
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
14612
- "fieldName": "dataAriaLabel",
14613
- "inheritedFrom": {
14614
- "name": "DataAriaLabelMixin",
14615
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
14616
- }
14617
- }
14618
- ],
14619
- "mixins": [
14620
- {
14621
- "name": "DataAriaLabelMixin",
14622
- "module": "/src/utils/mixins/DataAriaLabelMixin"
14743
+ "default": "false",
14744
+ "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
14745
+ "fieldName": "disabled"
14623
14746
  }
14624
14747
  ],
14625
14748
  "superclass": {
14626
14749
  "name": "Component",
14627
14750
  "module": "/src/models"
14628
14751
  },
14629
- "tagName": "mdc-list",
14630
- "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * @tagname mdc-list\n *\n * @dependency mdc-text\n *\n * @slot default - This is a default/unnamed slot\n */",
14752
+ "tagName": "mdc-listheader",
14753
+ "jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n */",
14631
14754
  "customElement": true
14632
14755
  }
14633
14756
  ],
@@ -14636,8 +14759,8 @@
14636
14759
  "kind": "js",
14637
14760
  "name": "default",
14638
14761
  "declaration": {
14639
- "name": "List",
14640
- "module": "components/list/list.component.js"
14762
+ "name": "Listheader",
14763
+ "module": "components/listheader/listheader.component.js"
14641
14764
  }
14642
14765
  }
14643
14766
  ]
@@ -20079,7 +20202,7 @@
20079
20202
  "text": "string | null"
20080
20203
  },
20081
20204
  "default": "null",
20082
- "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20205
+ "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
20083
20206
  "attribute": "aria-label",
20084
20207
  "reflects": true
20085
20208
  },
@@ -20094,9 +20217,18 @@
20094
20217
  "attribute": "header-text",
20095
20218
  "reflects": true
20096
20219
  },
20220
+ {
20221
+ "kind": "field",
20222
+ "name": "prefixIcon",
20223
+ "type": {
20224
+ "text": "IconNames | undefined"
20225
+ },
20226
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
20227
+ "attribute": "prefix-icon"
20228
+ },
20097
20229
  {
20098
20230
  "kind": "method",
20099
- "name": "renderLabel",
20231
+ "name": "renderHeader",
20100
20232
  "privacy": "private"
20101
20233
  }
20102
20234
  ],
@@ -20114,7 +20246,7 @@
20114
20246
  "text": "string | null"
20115
20247
  },
20116
20248
  "default": "null",
20117
- "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20249
+ "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
20118
20250
  "fieldName": "ariaLabel"
20119
20251
  },
20120
20252
  {
@@ -20125,6 +20257,14 @@
20125
20257
  "default": "null",
20126
20258
  "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20127
20259
  "fieldName": "headerText"
20260
+ },
20261
+ {
20262
+ "name": "prefix-icon",
20263
+ "type": {
20264
+ "text": "IconNames | undefined"
20265
+ },
20266
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
20267
+ "fieldName": "prefixIcon"
20128
20268
  }
20129
20269
  ],
20130
20270
  "superclass": {
@@ -25535,165 +25675,59 @@
25535
25675
  },
25536
25676
  {
25537
25677
  "kind": "javascript-module",
25538
- "path": "components/progressspinner/progressspinner.component.js",
25678
+ "path": "components/progressbar/progressbar.component.js",
25539
25679
  "declarations": [
25540
25680
  {
25541
25681
  "kind": "class",
25542
- "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
25543
- "name": "Progressspinner",
25682
+ "description": "mdc-progressbar component visually represents a progress indicator, typically used to show\nthe completion state of an ongoing process (e.g., loading, file upload, etc.).\nIt contains an optional label and an optional helper text.\n\n- It supports mainly two types: Default and Inline\n- It supports three validation variants: Default, Success and Error.\n\nThis component is created by extending FormfieldWrapper.",
25683
+ "name": "Progressbar",
25544
25684
  "cssProperties": [
25545
- {
25546
- "description": "The size of the spinner.",
25547
- "name": "--mdc-spinner-size"
25548
- },
25549
- {
25550
- "description": "The color of the spinner track.",
25551
- "name": "--mdc-track-color"
25552
- },
25553
- {
25554
- "description": "The color of the spinner progress.",
25555
- "name": "--mdc-progress-color"
25556
- },
25557
- {
25558
- "description": "The color of the spinner when in success state.",
25559
- "name": "--mdc-progress-success-color"
25560
- },
25561
- {
25562
- "description": "The color of the spinner when in error state.",
25563
- "name": "--mdc-progress-error-color"
25564
- },
25565
25685
  {
25566
25686
  "description": "Background color of the progressbar when inactive.",
25567
- "name": "--mdc-progressbar-default-background-color",
25568
- "inheritedFrom": {
25569
- "name": "Progressbar",
25570
- "module": "src/components/progressbar/progressbar.component.ts"
25571
- }
25687
+ "name": "--mdc-progressbar-default-background-color"
25572
25688
  },
25573
25689
  {
25574
25690
  "description": "Background color of the progressbar when active.",
25575
- "name": "--mdc-progressbar-default-active-background-color",
25576
- "inheritedFrom": {
25577
- "name": "Progressbar",
25578
- "module": "src/components/progressbar/progressbar.component.ts"
25579
- }
25691
+ "name": "--mdc-progressbar-default-active-background-color"
25580
25692
  },
25581
25693
  {
25582
25694
  "description": "Background color of the progressbar when in success state.",
25583
- "name": "--mdc-progressbar-success-background-color",
25584
- "inheritedFrom": {
25585
- "name": "Progressbar",
25586
- "module": "src/components/progressbar/progressbar.component.ts"
25587
- }
25695
+ "name": "--mdc-progressbar-success-background-color"
25588
25696
  },
25589
25697
  {
25590
25698
  "description": "Background color of the progressbar when in error state.",
25591
- "name": "--mdc-progressbar-error-background-color",
25592
- "inheritedFrom": {
25593
- "name": "Progressbar",
25594
- "module": "src/components/progressbar/progressbar.component.ts"
25595
- }
25699
+ "name": "--mdc-progressbar-error-background-color"
25596
25700
  },
25597
25701
  {
25598
25702
  "description": "The height of the progressbar.",
25599
- "name": "--mdc-progressbar-height",
25600
- "inheritedFrom": {
25601
- "name": "Progressbar",
25602
- "module": "src/components/progressbar/progressbar.component.ts"
25603
- }
25703
+ "name": "--mdc-progressbar-height"
25604
25704
  },
25605
25705
  {
25606
25706
  "description": "The border radius of the progressbar.",
25607
- "name": "--mdc-progressbar-border-radius",
25608
- "inheritedFrom": {
25609
- "name": "Progressbar",
25610
- "module": "src/components/progressbar/progressbar.component.ts"
25611
- }
25707
+ "name": "--mdc-progressbar-border-radius"
25612
25708
  },
25613
25709
  {
25614
25710
  "description": "Color of the progressbar label text.",
25615
- "name": "--mdc-progressbar-label-color",
25616
- "inheritedFrom": {
25617
- "name": "Progressbar",
25618
- "module": "src/components/progressbar/progressbar.component.ts"
25619
- }
25711
+ "name": "--mdc-progressbar-label-color"
25620
25712
  },
25621
25713
  {
25622
25714
  "description": "Line height of the label text.",
25623
- "name": "--mdc-progressbar-label-lineheight",
25624
- "inheritedFrom": {
25625
- "name": "Progressbar",
25626
- "module": "src/components/progressbar/progressbar.component.ts"
25627
- }
25715
+ "name": "--mdc-progressbar-label-lineheight"
25628
25716
  },
25629
25717
  {
25630
25718
  "description": "Font size of the label text.",
25631
- "name": "--mdc-progressbar-label-fontsize",
25632
- "inheritedFrom": {
25633
- "name": "Progressbar",
25634
- "module": "src/components/progressbar/progressbar.component.ts"
25635
- }
25719
+ "name": "--mdc-progressbar-label-fontsize"
25636
25720
  },
25637
25721
  {
25638
25722
  "description": "Font weight of the label text.",
25639
- "name": "--mdc-progressbar-label-fontweight",
25640
- "inheritedFrom": {
25641
- "name": "Progressbar",
25642
- "module": "src/components/progressbar/progressbar.component.ts"
25643
- }
25723
+ "name": "--mdc-progressbar-label-fontweight"
25644
25724
  },
25645
25725
  {
25646
25726
  "description": "Color of the help text.",
25647
- "name": "--mdc-progressbar-help-text-color",
25648
- "inheritedFrom": {
25649
- "name": "Progressbar",
25650
- "module": "src/components/progressbar/progressbar.component.ts"
25651
- }
25727
+ "name": "--mdc-progressbar-help-text-color"
25652
25728
  }
25653
25729
  ],
25654
25730
  "members": [
25655
- {
25656
- "kind": "method",
25657
- "name": "renderProgressSpinner",
25658
- "privacy": "private"
25659
- },
25660
- {
25661
- "kind": "method",
25662
- "name": "renderErrorState",
25663
- "privacy": "private",
25664
- "description": "Renders the error state of the progress spinner.",
25665
- "return": {
25666
- "type": {
25667
- "text": ""
25668
- }
25669
- }
25670
- },
25671
- {
25672
- "kind": "method",
25673
- "name": "renderSuccessState",
25674
- "privacy": "private",
25675
- "description": "Renders the success state of the progress spinner.",
25676
- "return": {
25677
- "type": {
25678
- "text": ""
25679
- }
25680
- }
25681
- },
25682
- {
25683
- "kind": "field",
25684
- "name": "dataAriaLabel",
25685
- "type": {
25686
- "text": "string | null"
25687
- },
25688
- "default": "null",
25689
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
25690
- "attribute": "data-aria-label",
25691
- "reflects": true,
25692
- "inheritedFrom": {
25693
- "name": "DataAriaLabelMixin",
25694
- "module": "utils/mixins/DataAriaLabelMixin.js"
25695
- }
25696
- },
25697
25731
  {
25698
25732
  "kind": "field",
25699
25733
  "name": "variant",
@@ -25703,11 +25737,7 @@
25703
25737
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
25704
25738
  "default": "default",
25705
25739
  "attribute": "variant",
25706
- "reflects": true,
25707
- "inheritedFrom": {
25708
- "name": "Progressbar",
25709
- "module": "components/progressbar/progressbar.component.js"
25710
- }
25740
+ "reflects": true
25711
25741
  },
25712
25742
  {
25713
25743
  "kind": "field",
@@ -25718,11 +25748,7 @@
25718
25748
  "default": "'0'",
25719
25749
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
25720
25750
  "attribute": "value",
25721
- "reflects": true,
25722
- "inheritedFrom": {
25723
- "name": "Progressbar",
25724
- "module": "components/progressbar/progressbar.component.js"
25725
- }
25751
+ "reflects": true
25726
25752
  },
25727
25753
  {
25728
25754
  "kind": "field",
@@ -25732,11 +25758,7 @@
25732
25758
  },
25733
25759
  "default": "false",
25734
25760
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
25735
- "attribute": "error",
25736
- "inheritedFrom": {
25737
- "name": "Progressbar",
25738
- "module": "components/progressbar/progressbar.component.js"
25739
- }
25761
+ "attribute": "error"
25740
25762
  },
25741
25763
  {
25742
25764
  "kind": "method",
@@ -25747,10 +25769,21 @@
25747
25769
  "type": {
25748
25770
  "text": ""
25749
25771
  }
25772
+ }
25773
+ },
25774
+ {
25775
+ "kind": "field",
25776
+ "name": "dataAriaLabel",
25777
+ "type": {
25778
+ "text": "string | null"
25750
25779
  },
25780
+ "default": "null",
25781
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
25782
+ "attribute": "data-aria-label",
25783
+ "reflects": true,
25751
25784
  "inheritedFrom": {
25752
- "name": "Progressbar",
25753
- "module": "components/progressbar/progressbar.component.js"
25785
+ "name": "DataAriaLabelMixin",
25786
+ "module": "utils/mixins/DataAriaLabelMixin.js"
25754
25787
  }
25755
25788
  },
25756
25789
  {
@@ -25958,27 +25991,7 @@
25958
25991
  }
25959
25992
  }
25960
25993
  ],
25961
- "superclass": {
25962
- "name": "Progressbar",
25963
- "module": "/src/components/progressbar/progressbar.component"
25964
- },
25965
- "tagName": "mdc-progressspinner",
25966
- "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
25967
- "customElement": true,
25968
25994
  "attributes": [
25969
- {
25970
- "name": "data-aria-label",
25971
- "type": {
25972
- "text": "string | null"
25973
- },
25974
- "default": "null",
25975
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
25976
- "fieldName": "dataAriaLabel",
25977
- "inheritedFrom": {
25978
- "name": "DataAriaLabelMixin",
25979
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
25980
- }
25981
- },
25982
25995
  {
25983
25996
  "name": "variant",
25984
25997
  "type": {
@@ -25986,11 +25999,7 @@
25986
25999
  },
25987
26000
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
25988
26001
  "default": "default",
25989
- "fieldName": "variant",
25990
- "inheritedFrom": {
25991
- "name": "Progressbar",
25992
- "module": "src/components/progressbar/progressbar.component.ts"
25993
- }
26002
+ "fieldName": "variant"
25994
26003
  },
25995
26004
  {
25996
26005
  "name": "value",
@@ -25999,11 +26008,7 @@
25999
26008
  },
26000
26009
  "default": "'0'",
26001
26010
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
26002
- "fieldName": "value",
26003
- "inheritedFrom": {
26004
- "name": "Progressbar",
26005
- "module": "src/components/progressbar/progressbar.component.ts"
26006
- }
26011
+ "fieldName": "value"
26007
26012
  },
26008
26013
  {
26009
26014
  "name": "error",
@@ -26012,10 +26017,19 @@
26012
26017
  },
26013
26018
  "default": "false",
26014
26019
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
26015
- "fieldName": "error",
26020
+ "fieldName": "error"
26021
+ },
26022
+ {
26023
+ "name": "data-aria-label",
26024
+ "type": {
26025
+ "text": "string | null"
26026
+ },
26027
+ "default": "null",
26028
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
26029
+ "fieldName": "dataAriaLabel",
26016
26030
  "inheritedFrom": {
26017
- "name": "Progressbar",
26018
- "module": "src/components/progressbar/progressbar.component.ts"
26031
+ "name": "DataAriaLabelMixin",
26032
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
26019
26033
  }
26020
26034
  },
26021
26035
  {
@@ -26130,7 +26144,20 @@
26130
26144
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26131
26145
  }
26132
26146
  }
26133
- ]
26147
+ ],
26148
+ "mixins": [
26149
+ {
26150
+ "name": "DataAriaLabelMixin",
26151
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
26152
+ }
26153
+ ],
26154
+ "superclass": {
26155
+ "name": "FormfieldWrapper",
26156
+ "module": "/src/components/formfieldwrapper"
26157
+ },
26158
+ "tagName": "mdc-progressbar",
26159
+ "jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.\n * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.\n * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
26160
+ "customElement": true
26134
26161
  }
26135
26162
  ],
26136
26163
  "exports": [
@@ -26138,67 +26165,173 @@
26138
26165
  "kind": "js",
26139
26166
  "name": "default",
26140
26167
  "declaration": {
26141
- "name": "Progressspinner",
26142
- "module": "components/progressspinner/progressspinner.component.js"
26168
+ "name": "Progressbar",
26169
+ "module": "components/progressbar/progressbar.component.js"
26143
26170
  }
26144
26171
  }
26145
26172
  ]
26146
26173
  },
26147
26174
  {
26148
26175
  "kind": "javascript-module",
26149
- "path": "components/progressbar/progressbar.component.js",
26176
+ "path": "components/progressspinner/progressspinner.component.js",
26150
26177
  "declarations": [
26151
26178
  {
26152
26179
  "kind": "class",
26153
- "description": "mdc-progressbar component visually represents a progress indicator, typically used to show\nthe completion state of an ongoing process (e.g., loading, file upload, etc.).\nIt contains an optional label and an optional helper text.\n\n- It supports mainly two types: Default and Inline\n- It supports three validation variants: Default, Success and Error.\n\nThis component is created by extending FormfieldWrapper.",
26154
- "name": "Progressbar",
26180
+ "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
26181
+ "name": "Progressspinner",
26155
26182
  "cssProperties": [
26183
+ {
26184
+ "description": "The size of the spinner.",
26185
+ "name": "--mdc-spinner-size"
26186
+ },
26187
+ {
26188
+ "description": "The color of the spinner track.",
26189
+ "name": "--mdc-track-color"
26190
+ },
26191
+ {
26192
+ "description": "The color of the spinner progress.",
26193
+ "name": "--mdc-progress-color"
26194
+ },
26195
+ {
26196
+ "description": "The color of the spinner when in success state.",
26197
+ "name": "--mdc-progress-success-color"
26198
+ },
26199
+ {
26200
+ "description": "The color of the spinner when in error state.",
26201
+ "name": "--mdc-progress-error-color"
26202
+ },
26156
26203
  {
26157
26204
  "description": "Background color of the progressbar when inactive.",
26158
- "name": "--mdc-progressbar-default-background-color"
26205
+ "name": "--mdc-progressbar-default-background-color",
26206
+ "inheritedFrom": {
26207
+ "name": "Progressbar",
26208
+ "module": "src/components/progressbar/progressbar.component.ts"
26209
+ }
26159
26210
  },
26160
26211
  {
26161
26212
  "description": "Background color of the progressbar when active.",
26162
- "name": "--mdc-progressbar-default-active-background-color"
26213
+ "name": "--mdc-progressbar-default-active-background-color",
26214
+ "inheritedFrom": {
26215
+ "name": "Progressbar",
26216
+ "module": "src/components/progressbar/progressbar.component.ts"
26217
+ }
26163
26218
  },
26164
26219
  {
26165
26220
  "description": "Background color of the progressbar when in success state.",
26166
- "name": "--mdc-progressbar-success-background-color"
26221
+ "name": "--mdc-progressbar-success-background-color",
26222
+ "inheritedFrom": {
26223
+ "name": "Progressbar",
26224
+ "module": "src/components/progressbar/progressbar.component.ts"
26225
+ }
26167
26226
  },
26168
26227
  {
26169
26228
  "description": "Background color of the progressbar when in error state.",
26170
- "name": "--mdc-progressbar-error-background-color"
26229
+ "name": "--mdc-progressbar-error-background-color",
26230
+ "inheritedFrom": {
26231
+ "name": "Progressbar",
26232
+ "module": "src/components/progressbar/progressbar.component.ts"
26233
+ }
26171
26234
  },
26172
26235
  {
26173
26236
  "description": "The height of the progressbar.",
26174
- "name": "--mdc-progressbar-height"
26237
+ "name": "--mdc-progressbar-height",
26238
+ "inheritedFrom": {
26239
+ "name": "Progressbar",
26240
+ "module": "src/components/progressbar/progressbar.component.ts"
26241
+ }
26175
26242
  },
26176
26243
  {
26177
26244
  "description": "The border radius of the progressbar.",
26178
- "name": "--mdc-progressbar-border-radius"
26245
+ "name": "--mdc-progressbar-border-radius",
26246
+ "inheritedFrom": {
26247
+ "name": "Progressbar",
26248
+ "module": "src/components/progressbar/progressbar.component.ts"
26249
+ }
26179
26250
  },
26180
26251
  {
26181
26252
  "description": "Color of the progressbar label text.",
26182
- "name": "--mdc-progressbar-label-color"
26253
+ "name": "--mdc-progressbar-label-color",
26254
+ "inheritedFrom": {
26255
+ "name": "Progressbar",
26256
+ "module": "src/components/progressbar/progressbar.component.ts"
26257
+ }
26183
26258
  },
26184
26259
  {
26185
26260
  "description": "Line height of the label text.",
26186
- "name": "--mdc-progressbar-label-lineheight"
26261
+ "name": "--mdc-progressbar-label-lineheight",
26262
+ "inheritedFrom": {
26263
+ "name": "Progressbar",
26264
+ "module": "src/components/progressbar/progressbar.component.ts"
26265
+ }
26187
26266
  },
26188
26267
  {
26189
26268
  "description": "Font size of the label text.",
26190
- "name": "--mdc-progressbar-label-fontsize"
26269
+ "name": "--mdc-progressbar-label-fontsize",
26270
+ "inheritedFrom": {
26271
+ "name": "Progressbar",
26272
+ "module": "src/components/progressbar/progressbar.component.ts"
26273
+ }
26191
26274
  },
26192
26275
  {
26193
26276
  "description": "Font weight of the label text.",
26194
- "name": "--mdc-progressbar-label-fontweight"
26277
+ "name": "--mdc-progressbar-label-fontweight",
26278
+ "inheritedFrom": {
26279
+ "name": "Progressbar",
26280
+ "module": "src/components/progressbar/progressbar.component.ts"
26281
+ }
26195
26282
  },
26196
26283
  {
26197
26284
  "description": "Color of the help text.",
26198
- "name": "--mdc-progressbar-help-text-color"
26285
+ "name": "--mdc-progressbar-help-text-color",
26286
+ "inheritedFrom": {
26287
+ "name": "Progressbar",
26288
+ "module": "src/components/progressbar/progressbar.component.ts"
26289
+ }
26199
26290
  }
26200
26291
  ],
26201
26292
  "members": [
26293
+ {
26294
+ "kind": "method",
26295
+ "name": "renderProgressSpinner",
26296
+ "privacy": "private"
26297
+ },
26298
+ {
26299
+ "kind": "method",
26300
+ "name": "renderErrorState",
26301
+ "privacy": "private",
26302
+ "description": "Renders the error state of the progress spinner.",
26303
+ "return": {
26304
+ "type": {
26305
+ "text": ""
26306
+ }
26307
+ }
26308
+ },
26309
+ {
26310
+ "kind": "method",
26311
+ "name": "renderSuccessState",
26312
+ "privacy": "private",
26313
+ "description": "Renders the success state of the progress spinner.",
26314
+ "return": {
26315
+ "type": {
26316
+ "text": ""
26317
+ }
26318
+ }
26319
+ },
26320
+ {
26321
+ "kind": "field",
26322
+ "name": "dataAriaLabel",
26323
+ "type": {
26324
+ "text": "string | null"
26325
+ },
26326
+ "default": "null",
26327
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
26328
+ "attribute": "data-aria-label",
26329
+ "reflects": true,
26330
+ "inheritedFrom": {
26331
+ "name": "DataAriaLabelMixin",
26332
+ "module": "utils/mixins/DataAriaLabelMixin.js"
26333
+ }
26334
+ },
26202
26335
  {
26203
26336
  "kind": "field",
26204
26337
  "name": "variant",
@@ -26208,7 +26341,11 @@
26208
26341
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
26209
26342
  "default": "default",
26210
26343
  "attribute": "variant",
26211
- "reflects": true
26344
+ "reflects": true,
26345
+ "inheritedFrom": {
26346
+ "name": "Progressbar",
26347
+ "module": "components/progressbar/progressbar.component.js"
26348
+ }
26212
26349
  },
26213
26350
  {
26214
26351
  "kind": "field",
@@ -26219,7 +26356,11 @@
26219
26356
  "default": "'0'",
26220
26357
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
26221
26358
  "attribute": "value",
26222
- "reflects": true
26359
+ "reflects": true,
26360
+ "inheritedFrom": {
26361
+ "name": "Progressbar",
26362
+ "module": "components/progressbar/progressbar.component.js"
26363
+ }
26223
26364
  },
26224
26365
  {
26225
26366
  "kind": "field",
@@ -26229,7 +26370,11 @@
26229
26370
  },
26230
26371
  "default": "false",
26231
26372
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
26232
- "attribute": "error"
26373
+ "attribute": "error",
26374
+ "inheritedFrom": {
26375
+ "name": "Progressbar",
26376
+ "module": "components/progressbar/progressbar.component.js"
26377
+ }
26233
26378
  },
26234
26379
  {
26235
26380
  "kind": "method",
@@ -26240,21 +26385,10 @@
26240
26385
  "type": {
26241
26386
  "text": ""
26242
26387
  }
26243
- }
26244
- },
26245
- {
26246
- "kind": "field",
26247
- "name": "dataAriaLabel",
26248
- "type": {
26249
- "text": "string | null"
26250
26388
  },
26251
- "default": "null",
26252
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
26253
- "attribute": "data-aria-label",
26254
- "reflects": true,
26255
26389
  "inheritedFrom": {
26256
- "name": "DataAriaLabelMixin",
26257
- "module": "utils/mixins/DataAriaLabelMixin.js"
26390
+ "name": "Progressbar",
26391
+ "module": "components/progressbar/progressbar.component.js"
26258
26392
  }
26259
26393
  },
26260
26394
  {
@@ -26462,7 +26596,27 @@
26462
26596
  }
26463
26597
  }
26464
26598
  ],
26599
+ "superclass": {
26600
+ "name": "Progressbar",
26601
+ "module": "/src/components/progressbar/progressbar.component"
26602
+ },
26603
+ "tagName": "mdc-progressspinner",
26604
+ "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
26605
+ "customElement": true,
26465
26606
  "attributes": [
26607
+ {
26608
+ "name": "data-aria-label",
26609
+ "type": {
26610
+ "text": "string | null"
26611
+ },
26612
+ "default": "null",
26613
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
26614
+ "fieldName": "dataAriaLabel",
26615
+ "inheritedFrom": {
26616
+ "name": "DataAriaLabelMixin",
26617
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
26618
+ }
26619
+ },
26466
26620
  {
26467
26621
  "name": "variant",
26468
26622
  "type": {
@@ -26470,7 +26624,11 @@
26470
26624
  },
26471
26625
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
26472
26626
  "default": "default",
26473
- "fieldName": "variant"
26627
+ "fieldName": "variant",
26628
+ "inheritedFrom": {
26629
+ "name": "Progressbar",
26630
+ "module": "src/components/progressbar/progressbar.component.ts"
26631
+ }
26474
26632
  },
26475
26633
  {
26476
26634
  "name": "value",
@@ -26479,7 +26637,11 @@
26479
26637
  },
26480
26638
  "default": "'0'",
26481
26639
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
26482
- "fieldName": "value"
26640
+ "fieldName": "value",
26641
+ "inheritedFrom": {
26642
+ "name": "Progressbar",
26643
+ "module": "src/components/progressbar/progressbar.component.ts"
26644
+ }
26483
26645
  },
26484
26646
  {
26485
26647
  "name": "error",
@@ -26488,19 +26650,10 @@
26488
26650
  },
26489
26651
  "default": "false",
26490
26652
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
26491
- "fieldName": "error"
26492
- },
26493
- {
26494
- "name": "data-aria-label",
26495
- "type": {
26496
- "text": "string | null"
26497
- },
26498
- "default": "null",
26499
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
26500
- "fieldName": "dataAriaLabel",
26653
+ "fieldName": "error",
26501
26654
  "inheritedFrom": {
26502
- "name": "DataAriaLabelMixin",
26503
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
26655
+ "name": "Progressbar",
26656
+ "module": "src/components/progressbar/progressbar.component.ts"
26504
26657
  }
26505
26658
  },
26506
26659
  {
@@ -26615,20 +26768,7 @@
26615
26768
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26616
26769
  }
26617
26770
  }
26618
- ],
26619
- "mixins": [
26620
- {
26621
- "name": "DataAriaLabelMixin",
26622
- "module": "/src/utils/mixins/DataAriaLabelMixin"
26623
- }
26624
- ],
26625
- "superclass": {
26626
- "name": "FormfieldWrapper",
26627
- "module": "/src/components/formfieldwrapper"
26628
- },
26629
- "tagName": "mdc-progressbar",
26630
- "jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.\n * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.\n * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
26631
- "customElement": true
26771
+ ]
26632
26772
  }
26633
26773
  ],
26634
26774
  "exports": [
@@ -26636,8 +26776,8 @@
26636
26776
  "kind": "js",
26637
26777
  "name": "default",
26638
26778
  "declaration": {
26639
- "name": "Progressbar",
26640
- "module": "components/progressbar/progressbar.component.js"
26779
+ "name": "Progressspinner",
26780
+ "module": "components/progressspinner/progressspinner.component.js"
26641
26781
  }
26642
26782
  }
26643
26783
  ]