@momentum-design/components 0.126.0 → 0.126.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5014,6 +5014,77 @@
5014
5014
  }
5015
5015
  ]
5016
5016
  },
5017
+ {
5018
+ "kind": "javascript-module",
5019
+ "path": "components/bullet/bullet.component.js",
5020
+ "declarations": [
5021
+ {
5022
+ "kind": "class",
5023
+ "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
5024
+ "name": "Bullet",
5025
+ "cssProperties": [
5026
+ {
5027
+ "description": "background color of the bullet",
5028
+ "name": "--mdc-bullet-background-color"
5029
+ },
5030
+ {
5031
+ "description": "small size value of the bullet",
5032
+ "name": "--mdc-bullet-size-small"
5033
+ },
5034
+ {
5035
+ "description": "medium size value of the bullet",
5036
+ "name": "--mdc-bullet-size-medium"
5037
+ },
5038
+ {
5039
+ "description": "large size value of the bullet",
5040
+ "name": "--mdc-bullet-size-large"
5041
+ }
5042
+ ],
5043
+ "members": [
5044
+ {
5045
+ "kind": "field",
5046
+ "name": "size",
5047
+ "type": {
5048
+ "text": "Size"
5049
+ },
5050
+ "privacy": "public",
5051
+ "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
5052
+ "default": "small",
5053
+ "attribute": "size",
5054
+ "reflects": true
5055
+ }
5056
+ ],
5057
+ "attributes": [
5058
+ {
5059
+ "name": "size",
5060
+ "type": {
5061
+ "text": "Size"
5062
+ },
5063
+ "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
5064
+ "default": "small",
5065
+ "fieldName": "size"
5066
+ }
5067
+ ],
5068
+ "superclass": {
5069
+ "name": "Component",
5070
+ "module": "/src/models"
5071
+ },
5072
+ "tagName": "mdc-bullet",
5073
+ "jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n */",
5074
+ "customElement": true
5075
+ }
5076
+ ],
5077
+ "exports": [
5078
+ {
5079
+ "kind": "js",
5080
+ "name": "default",
5081
+ "declaration": {
5082
+ "name": "Bullet",
5083
+ "module": "components/bullet/bullet.component.js"
5084
+ }
5085
+ }
5086
+ ]
5087
+ },
5017
5088
  {
5018
5089
  "kind": "javascript-module",
5019
5090
  "path": "components/button/button.component.js",
@@ -5829,77 +5900,6 @@
5829
5900
  }
5830
5901
  ]
5831
5902
  },
5832
- {
5833
- "kind": "javascript-module",
5834
- "path": "components/bullet/bullet.component.js",
5835
- "declarations": [
5836
- {
5837
- "kind": "class",
5838
- "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
5839
- "name": "Bullet",
5840
- "cssProperties": [
5841
- {
5842
- "description": "background color of the bullet",
5843
- "name": "--mdc-bullet-background-color"
5844
- },
5845
- {
5846
- "description": "small size value of the bullet",
5847
- "name": "--mdc-bullet-size-small"
5848
- },
5849
- {
5850
- "description": "medium size value of the bullet",
5851
- "name": "--mdc-bullet-size-medium"
5852
- },
5853
- {
5854
- "description": "large size value of the bullet",
5855
- "name": "--mdc-bullet-size-large"
5856
- }
5857
- ],
5858
- "members": [
5859
- {
5860
- "kind": "field",
5861
- "name": "size",
5862
- "type": {
5863
- "text": "Size"
5864
- },
5865
- "privacy": "public",
5866
- "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
5867
- "default": "small",
5868
- "attribute": "size",
5869
- "reflects": true
5870
- }
5871
- ],
5872
- "attributes": [
5873
- {
5874
- "name": "size",
5875
- "type": {
5876
- "text": "Size"
5877
- },
5878
- "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
5879
- "default": "small",
5880
- "fieldName": "size"
5881
- }
5882
- ],
5883
- "superclass": {
5884
- "name": "Component",
5885
- "module": "/src/models"
5886
- },
5887
- "tagName": "mdc-bullet",
5888
- "jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n */",
5889
- "customElement": true
5890
- }
5891
- ],
5892
- "exports": [
5893
- {
5894
- "kind": "js",
5895
- "name": "default",
5896
- "declaration": {
5897
- "name": "Bullet",
5898
- "module": "components/bullet/bullet.component.js"
5899
- }
5900
- }
5901
- ]
5902
- },
5903
5903
  {
5904
5904
  "kind": "javascript-module",
5905
5905
  "path": "components/buttongroup/buttongroup.component.js",
@@ -6040,12 +6040,12 @@
6040
6040
  },
6041
6041
  {
6042
6042
  "kind": "javascript-module",
6043
- "path": "components/buttonsimple/buttonsimple.component.js",
6043
+ "path": "components/buttonlink/buttonlink.component.js",
6044
6044
  "declarations": [
6045
6045
  {
6046
6046
  "kind": "class",
6047
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
6048
- "name": "Buttonsimple",
6047
+ "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
6048
+ "name": "ButtonLink",
6049
6049
  "cssProperties": [
6050
6050
  {
6051
6051
  "description": "Height for button size",
@@ -6062,18 +6062,124 @@
6062
6062
  {
6063
6063
  "description": "Text color of the button",
6064
6064
  "name": "--mdc-button-text-color"
6065
+ },
6066
+ {
6067
+ "description": "Line height of the button text",
6068
+ "name": "--mdc-button-line-height"
6069
+ },
6070
+ {
6071
+ "description": "Size of the prefix icon",
6072
+ "name": "--mdc-button-prefix-icon-size"
6073
+ },
6074
+ {
6075
+ "description": "Size of the postfix icon",
6076
+ "name": "--mdc-button-postfix-icon-size"
6077
+ },
6078
+ {
6079
+ "description": "Border radius of the link.",
6080
+ "name": "--mdc-link-border-radius",
6081
+ "inheritedFrom": {
6082
+ "name": "Linksimple",
6083
+ "module": "src/components/linksimple/linksimple.component.ts"
6084
+ }
6085
+ },
6086
+ {
6087
+ "description": "Color of the link’s child content in the active state.",
6088
+ "name": "--mdc-link-color-active",
6089
+ "inheritedFrom": {
6090
+ "name": "Linksimple",
6091
+ "module": "src/components/linksimple/linksimple.component.ts"
6092
+ }
6093
+ },
6094
+ {
6095
+ "description": "Color of the link’s child content in the disabled state.",
6096
+ "name": "--mdc-link-color-disabled",
6097
+ "inheritedFrom": {
6098
+ "name": "Linksimple",
6099
+ "module": "src/components/linksimple/linksimple.component.ts"
6100
+ }
6101
+ },
6102
+ {
6103
+ "description": "Color of the link’s child content in the hover state.",
6104
+ "name": "--mdc-link-color-hover",
6105
+ "inheritedFrom": {
6106
+ "name": "Linksimple",
6107
+ "module": "src/components/linksimple/linksimple.component.ts"
6108
+ }
6109
+ },
6110
+ {
6111
+ "description": "Color of the link’s child content in the normal state.",
6112
+ "name": "--mdc-link-color-normal",
6113
+ "inheritedFrom": {
6114
+ "name": "Linksimple",
6115
+ "module": "src/components/linksimple/linksimple.component.ts"
6116
+ }
6117
+ },
6118
+ {
6119
+ "description": "Color of the inverted link’s child content in the active state.",
6120
+ "name": "--mdc-link-inverted-color-active",
6121
+ "inheritedFrom": {
6122
+ "name": "Linksimple",
6123
+ "module": "src/components/linksimple/linksimple.component.ts"
6124
+ }
6125
+ },
6126
+ {
6127
+ "description": "Color of the inverted link’s child content in the disabled state.",
6128
+ "name": "--mdc-link-inverted-color-disabled",
6129
+ "inheritedFrom": {
6130
+ "name": "Linksimple",
6131
+ "module": "src/components/linksimple/linksimple.component.ts"
6132
+ }
6133
+ },
6134
+ {
6135
+ "description": "Color of the inverted link’s child content in the hover state.",
6136
+ "name": "--mdc-link-inverted-color-hover",
6137
+ "inheritedFrom": {
6138
+ "name": "Linksimple",
6139
+ "module": "src/components/linksimple/linksimple.component.ts"
6140
+ }
6141
+ },
6142
+ {
6143
+ "description": "Color of the inverted link’s child content in the normal state.",
6144
+ "name": "--mdc-link-inverted-color-normal",
6145
+ "inheritedFrom": {
6146
+ "name": "Linksimple",
6147
+ "module": "src/components/linksimple/linksimple.component.ts"
6148
+ }
6149
+ }
6150
+ ],
6151
+ "cssParts": [
6152
+ {
6153
+ "description": "The anchor element that wraps the buttonlink content.",
6154
+ "name": "anchor",
6155
+ "inheritedFrom": {
6156
+ "name": "Linksimple",
6157
+ "module": "src/components/linksimple/linksimple.component.ts"
6158
+ }
6159
+ },
6160
+ {
6161
+ "description": "The prefix icon element.",
6162
+ "name": "prefix-icon"
6163
+ },
6164
+ {
6165
+ "description": "The slot containing the buttonlink text.",
6166
+ "name": "button-text"
6167
+ },
6168
+ {
6169
+ "description": "The postfix icon element.",
6170
+ "name": "postfix-icon"
6065
6171
  }
6066
6172
  ],
6067
6173
  "members": [
6068
6174
  {
6069
6175
  "kind": "field",
6070
- "name": "active",
6176
+ "name": "size",
6071
6177
  "type": {
6072
- "text": "boolean | undefined"
6178
+ "text": "PillButtonSize | IconButtonSize"
6073
6179
  },
6074
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6075
- "default": "undefined",
6076
- "attribute": "active",
6180
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
6181
+ "default": "32",
6182
+ "attribute": "size",
6077
6183
  "reflects": true
6078
6184
  },
6079
6185
  {
@@ -6082,217 +6188,181 @@
6082
6188
  "type": {
6083
6189
  "text": "boolean | undefined"
6084
6190
  },
6085
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6191
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6086
6192
  "default": "undefined",
6087
6193
  "attribute": "soft-disabled",
6088
6194
  "reflects": true
6089
6195
  },
6090
6196
  {
6091
- "kind": "field",
6092
- "name": "size",
6093
- "type": {
6094
- "text": "ButtonSize"
6095
- },
6096
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6097
- "default": "32",
6098
- "attribute": "size",
6099
- "reflects": true
6197
+ "kind": "method",
6198
+ "name": "setSoftDisabled",
6199
+ "privacy": "private",
6200
+ "parameters": [
6201
+ {
6202
+ "name": "element",
6203
+ "type": {
6204
+ "text": "HTMLElement"
6205
+ },
6206
+ "description": "The buttonlink element."
6207
+ },
6208
+ {
6209
+ "name": "softDisabled",
6210
+ "optional": true,
6211
+ "type": {
6212
+ "text": "boolean"
6213
+ },
6214
+ "description": "The soft-disabled state."
6215
+ }
6216
+ ],
6217
+ "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
6100
6218
  },
6101
6219
  {
6102
- "kind": "field",
6103
- "name": "role",
6104
- "type": {
6105
- "text": "RoleType"
6106
- },
6107
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6108
- "default": "button",
6109
- "attribute": "role",
6110
- "reflects": true
6220
+ "kind": "method",
6221
+ "name": "renderAnchorContent",
6222
+ "privacy": "protected"
6111
6223
  },
6112
6224
  {
6113
6225
  "kind": "field",
6114
- "name": "ariaStateKey",
6226
+ "name": "prefixIcon",
6115
6227
  "type": {
6116
- "text": "string | undefined"
6228
+ "text": "IconNames | undefined"
6117
6229
  },
6118
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
6119
- "default": "'aria-pressed' (when)",
6120
- "attribute": "ariaStateKey",
6121
- "reflects": true
6230
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
6231
+ "attribute": "prefix-icon",
6232
+ "reflects": true,
6233
+ "inheritedFrom": {
6234
+ "name": "ButtonComponentMixin",
6235
+ "module": "utils/mixins/ButtonComponentMixin.js"
6236
+ }
6122
6237
  },
6123
6238
  {
6124
6239
  "kind": "field",
6125
- "name": "type",
6240
+ "name": "postfixIcon",
6126
6241
  "type": {
6127
- "text": "ButtonType"
6242
+ "text": "IconNames | undefined"
6128
6243
  },
6129
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6130
- "default": "button",
6131
- "attribute": "type",
6132
- "reflects": true
6244
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
6245
+ "attribute": "postfix-icon",
6246
+ "reflects": true,
6247
+ "inheritedFrom": {
6248
+ "name": "ButtonComponentMixin",
6249
+ "module": "utils/mixins/ButtonComponentMixin.js"
6250
+ }
6133
6251
  },
6134
6252
  {
6135
6253
  "kind": "field",
6136
- "name": "name",
6254
+ "name": "variant",
6137
6255
  "type": {
6138
- "text": "string | undefined"
6256
+ "text": "ButtonVariant"
6139
6257
  },
6140
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6141
- "attribute": "name",
6142
- "reflects": true
6258
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
6259
+ "default": "primary",
6260
+ "attribute": "variant",
6261
+ "inheritedFrom": {
6262
+ "name": "ButtonComponentMixin",
6263
+ "module": "utils/mixins/ButtonComponentMixin.js"
6264
+ }
6143
6265
  },
6144
6266
  {
6145
6267
  "kind": "field",
6146
- "name": "value",
6268
+ "name": "color",
6147
6269
  "type": {
6148
- "text": "string | undefined"
6270
+ "text": "ButtonColor"
6149
6271
  },
6150
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6151
- "attribute": "value",
6152
- "reflects": true
6153
- },
6154
- {
6155
- "kind": "method",
6156
- "name": "executeAction",
6157
- "privacy": "protected"
6272
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
6273
+ "default": "default",
6274
+ "attribute": "color",
6275
+ "inheritedFrom": {
6276
+ "name": "ButtonComponentMixin",
6277
+ "module": "utils/mixins/ButtonComponentMixin.js"
6278
+ }
6158
6279
  },
6159
6280
  {
6160
6281
  "kind": "method",
6161
- "name": "setActive",
6282
+ "name": "setVariant",
6162
6283
  "privacy": "protected",
6163
6284
  "parameters": [
6164
6285
  {
6165
- "name": "element",
6166
- "type": {
6167
- "text": "HTMLElement"
6168
- },
6169
- "description": "The button element"
6170
- },
6171
- {
6172
- "name": "active",
6173
- "optional": true,
6174
- "type": {
6175
- "text": "boolean"
6176
- },
6177
- "description": "The active state of the element"
6178
- }
6179
- ],
6180
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
6181
- },
6182
- {
6183
- "kind": "method",
6184
- "name": "setSoftDisabled",
6185
- "privacy": "private",
6186
- "parameters": [
6187
- {
6188
- "name": "element",
6189
- "type": {
6190
- "text": "HTMLElement"
6191
- },
6192
- "description": "The button element."
6193
- },
6194
- {
6195
- "name": "softDisabled",
6196
- "optional": true,
6286
+ "name": "variant",
6197
6287
  "type": {
6198
- "text": "boolean"
6288
+ "text": "ButtonVariant"
6199
6289
  },
6200
- "description": "The soft-disabled state."
6290
+ "description": "The variant to set."
6201
6291
  }
6202
6292
  ],
6203
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
6293
+ "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
6294
+ "inheritedFrom": {
6295
+ "name": "ButtonComponentMixin",
6296
+ "module": "utils/mixins/ButtonComponentMixin.js"
6297
+ }
6204
6298
  },
6205
6299
  {
6206
6300
  "kind": "method",
6207
- "name": "setDisabled",
6208
- "privacy": "private",
6301
+ "name": "setColor",
6302
+ "privacy": "protected",
6209
6303
  "parameters": [
6210
6304
  {
6211
- "name": "element",
6212
- "type": {
6213
- "text": "HTMLElement"
6214
- },
6215
- "description": "The button element."
6216
- },
6217
- {
6218
- "name": "disabled",
6305
+ "name": "color",
6219
6306
  "type": {
6220
- "text": "boolean"
6307
+ "text": "ButtonColor"
6221
6308
  },
6222
- "description": "The disabled state."
6309
+ "description": "The color to set."
6223
6310
  }
6224
6311
  ],
6225
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
6226
- },
6227
- {
6228
- "kind": "method",
6229
- "name": "triggerClickEvent",
6230
- "privacy": "private"
6231
- },
6232
- {
6233
- "kind": "method",
6234
- "name": "handleBlur",
6235
- "privacy": "private",
6236
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
6312
+ "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
6313
+ "inheritedFrom": {
6314
+ "name": "ButtonComponentMixin",
6315
+ "module": "utils/mixins/ButtonComponentMixin.js"
6316
+ }
6237
6317
  },
6238
6318
  {
6239
6319
  "kind": "method",
6240
- "name": "handleKeyDown",
6241
- "privacy": "private",
6320
+ "name": "setSize",
6321
+ "privacy": "protected",
6242
6322
  "parameters": [
6243
6323
  {
6244
- "name": "event",
6324
+ "name": "size",
6245
6325
  "type": {
6246
- "text": "KeyboardEvent"
6326
+ "text": "PillButtonSize | IconButtonSize"
6247
6327
  },
6248
- "description": "The keyboard event."
6328
+ "description": "The size to set."
6249
6329
  }
6250
6330
  ],
6251
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
6331
+ "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
6332
+ "inheritedFrom": {
6333
+ "name": "ButtonComponentMixin",
6334
+ "module": "utils/mixins/ButtonComponentMixin.js"
6335
+ }
6252
6336
  },
6253
6337
  {
6254
6338
  "kind": "method",
6255
- "name": "handleKeyUp",
6256
- "privacy": "private",
6339
+ "name": "inferButtonType",
6340
+ "privacy": "protected",
6341
+ "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
6257
6342
  "parameters": [
6258
6343
  {
6259
- "name": "event",
6260
- "type": {
6261
- "text": "KeyboardEvent"
6262
- },
6263
- "description": "The keyboard event."
6344
+ "description": "default slot of button",
6345
+ "name": "slot"
6264
6346
  }
6265
6347
  ],
6266
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
6267
- },
6268
- {
6269
- "kind": "field",
6270
- "name": "autoFocusOnMount",
6271
- "type": {
6272
- "text": "boolean"
6273
- },
6274
- "default": "false",
6275
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6276
- "attribute": "auto-focus-on-mount",
6277
- "reflects": true,
6278
6348
  "inheritedFrom": {
6279
- "name": "AutoFocusOnMountMixin",
6280
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
6349
+ "name": "ButtonComponentMixin",
6350
+ "module": "utils/mixins/ButtonComponentMixin.js"
6281
6351
  }
6282
6352
  },
6283
6353
  {
6284
6354
  "kind": "field",
6285
- "name": "tabIndex",
6355
+ "name": "dataAriaLabel",
6286
6356
  "type": {
6287
- "text": "number"
6357
+ "text": "string | null"
6288
6358
  },
6289
- "default": "0",
6290
- "description": "This property specifies the tab order of the element.",
6291
- "attribute": "tabIndex",
6359
+ "default": "null",
6360
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6361
+ "attribute": "data-aria-label",
6292
6362
  "reflects": true,
6293
6363
  "inheritedFrom": {
6294
- "name": "TabIndexMixin",
6295
- "module": "utils/mixins/TabIndexMixin.js"
6364
+ "name": "DataAriaLabelMixin",
6365
+ "module": "utils/mixins/DataAriaLabelMixin.js"
6296
6366
  }
6297
6367
  },
6298
6368
  {
@@ -6309,971 +6379,901 @@
6309
6379
  "name": "DisabledMixin",
6310
6380
  "module": "utils/mixins/DisabledMixin.js"
6311
6381
  }
6312
- }
6313
- ],
6314
- "events": [
6382
+ },
6315
6383
  {
6316
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
6317
- "name": "click",
6318
- "reactName": "onClick"
6319
- },
6320
- {
6321
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
6322
- "name": "keydown",
6323
- "reactName": "onKeyDown"
6324
- },
6325
- {
6326
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
6327
- "name": "keyup",
6328
- "reactName": "onKeyUp"
6329
- },
6330
- {
6331
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
6332
- "name": "focus",
6333
- "reactName": "onFocus"
6334
- }
6335
- ],
6336
- "attributes": [
6337
- {
6338
- "name": "active",
6339
- "type": {
6340
- "text": "boolean | undefined"
6341
- },
6342
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6343
- "default": "undefined",
6344
- "fieldName": "active"
6345
- },
6346
- {
6347
- "name": "soft-disabled",
6348
- "type": {
6349
- "text": "boolean | undefined"
6350
- },
6351
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6352
- "default": "undefined",
6353
- "fieldName": "softDisabled"
6354
- },
6355
- {
6356
- "name": "size",
6384
+ "kind": "field",
6385
+ "name": "inline",
6357
6386
  "type": {
6358
- "text": "ButtonSize"
6387
+ "text": "boolean"
6359
6388
  },
6360
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6361
- "default": "32",
6362
- "fieldName": "size"
6389
+ "description": "The link can be inline or standalone.",
6390
+ "default": "false",
6391
+ "attribute": "inline",
6392
+ "reflects": true,
6393
+ "inheritedFrom": {
6394
+ "name": "Linksimple",
6395
+ "module": "components/linksimple/linksimple.component.js"
6396
+ }
6363
6397
  },
6364
6398
  {
6365
- "name": "role",
6399
+ "kind": "field",
6400
+ "name": "inverted",
6366
6401
  "type": {
6367
- "text": "RoleType"
6402
+ "text": "boolean"
6368
6403
  },
6369
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6370
- "default": "button",
6371
- "fieldName": "role"
6404
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
6405
+ "default": "false",
6406
+ "attribute": "inverted",
6407
+ "reflects": true,
6408
+ "inheritedFrom": {
6409
+ "name": "Linksimple",
6410
+ "module": "components/linksimple/linksimple.component.js"
6411
+ }
6372
6412
  },
6373
6413
  {
6374
- "name": "ariaStateKey",
6414
+ "kind": "field",
6415
+ "name": "href",
6375
6416
  "type": {
6376
6417
  "text": "string | undefined"
6377
6418
  },
6378
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
6379
- "default": "'aria-pressed' (when)",
6380
- "fieldName": "ariaStateKey"
6419
+ "description": "Href for navigation. The URL that the hyperlink points to",
6420
+ "attribute": "href",
6421
+ "reflects": true,
6422
+ "inheritedFrom": {
6423
+ "name": "Linksimple",
6424
+ "module": "components/linksimple/linksimple.component.js"
6425
+ }
6381
6426
  },
6382
6427
  {
6383
- "name": "type",
6428
+ "kind": "field",
6429
+ "name": "target",
6384
6430
  "type": {
6385
- "text": "ButtonType"
6431
+ "text": "string"
6386
6432
  },
6387
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6388
- "default": "button",
6389
- "fieldName": "type"
6433
+ "default": "'_self'",
6434
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
6435
+ "attribute": "target",
6436
+ "reflects": true,
6437
+ "inheritedFrom": {
6438
+ "name": "Linksimple",
6439
+ "module": "components/linksimple/linksimple.component.js"
6440
+ }
6390
6441
  },
6391
6442
  {
6392
- "name": "name",
6443
+ "kind": "field",
6444
+ "name": "rel",
6393
6445
  "type": {
6394
6446
  "text": "string | undefined"
6395
6447
  },
6396
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6397
- "fieldName": "name"
6448
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
6449
+ "attribute": "rel",
6450
+ "reflects": true,
6451
+ "inheritedFrom": {
6452
+ "name": "Linksimple",
6453
+ "module": "components/linksimple/linksimple.component.js"
6454
+ }
6398
6455
  },
6399
6456
  {
6400
- "name": "value",
6457
+ "kind": "field",
6458
+ "name": "download",
6401
6459
  "type": {
6402
6460
  "text": "string | undefined"
6403
6461
  },
6404
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6405
- "fieldName": "value"
6406
- },
6407
- {
6408
- "name": "auto-focus-on-mount",
6409
- "type": {
6410
- "text": "boolean"
6411
- },
6412
- "default": "false",
6413
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6414
- "fieldName": "autoFocusOnMount",
6462
+ "description": "Optional download attribute to instruct browsers to download the linked resource.",
6463
+ "attribute": "download",
6464
+ "reflects": true,
6415
6465
  "inheritedFrom": {
6416
- "name": "AutoFocusOnMountMixin",
6417
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
6466
+ "name": "Linksimple",
6467
+ "module": "components/linksimple/linksimple.component.js"
6418
6468
  }
6419
6469
  },
6420
6470
  {
6421
- "name": "tabIndex",
6471
+ "kind": "field",
6472
+ "name": "ping",
6422
6473
  "type": {
6423
- "text": "number"
6474
+ "text": "string | undefined"
6424
6475
  },
6425
- "default": "0",
6426
- "description": "This property specifies the tab order of the element.",
6427
- "fieldName": "tabIndex",
6476
+ "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
6477
+ "attribute": "ping",
6478
+ "reflects": true,
6428
6479
  "inheritedFrom": {
6429
- "name": "TabIndexMixin",
6430
- "module": "src/utils/mixins/TabIndexMixin.ts"
6480
+ "name": "Linksimple",
6481
+ "module": "components/linksimple/linksimple.component.js"
6431
6482
  }
6432
6483
  },
6433
6484
  {
6434
- "name": "disabled",
6485
+ "kind": "field",
6486
+ "name": "hreflang",
6435
6487
  "type": {
6436
- "text": "boolean | undefined"
6488
+ "text": "string | undefined"
6437
6489
  },
6438
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6439
- "default": "undefined",
6440
- "fieldName": "disabled",
6441
- "inheritedFrom": {
6442
- "name": "DisabledMixin",
6443
- "module": "src/utils/mixins/DisabledMixin.ts"
6444
- }
6445
- }
6446
- ],
6447
- "mixins": [
6448
- {
6449
- "name": "AutoFocusOnMountMixin",
6450
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
6451
- },
6452
- {
6453
- "name": "TabIndexMixin",
6454
- "module": "/src/utils/mixins/TabIndexMixin"
6455
- },
6456
- {
6457
- "name": "DisabledMixin",
6458
- "module": "/src/utils/mixins/DisabledMixin"
6459
- }
6460
- ],
6461
- "superclass": {
6462
- "name": "Component",
6463
- "module": "/src/models"
6464
- },
6465
- "tagName": "mdc-buttonsimple",
6466
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
6467
- "customElement": true
6468
- }
6469
- ],
6470
- "exports": [
6471
- {
6472
- "kind": "js",
6473
- "name": "default",
6474
- "declaration": {
6475
- "name": "Buttonsimple",
6476
- "module": "components/buttonsimple/buttonsimple.component.js"
6477
- }
6478
- }
6479
- ]
6480
- },
6481
- {
6482
- "kind": "javascript-module",
6483
- "path": "components/buttonlink/buttonlink.component.js",
6484
- "declarations": [
6485
- {
6486
- "kind": "class",
6487
- "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
6488
- "name": "ButtonLink",
6489
- "cssProperties": [
6490
- {
6491
- "description": "Height for button size",
6492
- "name": "--mdc-button-height"
6493
- },
6494
- {
6495
- "description": "Background color of the button",
6496
- "name": "--mdc-button-background"
6497
- },
6498
- {
6499
- "description": "Borer color of the button",
6500
- "name": "--mdc-button-border-color"
6501
- },
6502
- {
6503
- "description": "Text color of the button",
6504
- "name": "--mdc-button-text-color"
6505
- },
6506
- {
6507
- "description": "Line height of the button text",
6508
- "name": "--mdc-button-line-height"
6509
- },
6510
- {
6511
- "description": "Size of the prefix icon",
6512
- "name": "--mdc-button-prefix-icon-size"
6513
- },
6514
- {
6515
- "description": "Size of the postfix icon",
6516
- "name": "--mdc-button-postfix-icon-size"
6517
- },
6518
- {
6519
- "description": "Border radius of the link.",
6520
- "name": "--mdc-link-border-radius",
6490
+ "description": "Optional hreflang attribute specifying the language of the linked resource.",
6491
+ "attribute": "hreflang",
6492
+ "reflects": true,
6521
6493
  "inheritedFrom": {
6522
6494
  "name": "Linksimple",
6523
- "module": "src/components/linksimple/linksimple.component.ts"
6495
+ "module": "components/linksimple/linksimple.component.js"
6524
6496
  }
6525
6497
  },
6526
6498
  {
6527
- "description": "Color of the link’s child content in the active state.",
6528
- "name": "--mdc-link-color-active",
6499
+ "kind": "field",
6500
+ "name": "type",
6501
+ "type": {
6502
+ "text": "string | undefined"
6503
+ },
6504
+ "description": "Optional type attribute indicating the MIME type of the linked resource.",
6505
+ "attribute": "type",
6506
+ "reflects": true,
6529
6507
  "inheritedFrom": {
6530
6508
  "name": "Linksimple",
6531
- "module": "src/components/linksimple/linksimple.component.ts"
6509
+ "module": "components/linksimple/linksimple.component.js"
6532
6510
  }
6533
6511
  },
6534
6512
  {
6535
- "description": "Color of the link’s child content in the disabled state.",
6536
- "name": "--mdc-link-color-disabled",
6513
+ "kind": "field",
6514
+ "name": "referrerpolicy",
6515
+ "type": {
6516
+ "text": "string | undefined"
6517
+ },
6518
+ "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
6519
+ "attribute": "referrerpolicy",
6520
+ "reflects": true,
6537
6521
  "inheritedFrom": {
6538
6522
  "name": "Linksimple",
6539
- "module": "src/components/linksimple/linksimple.component.ts"
6523
+ "module": "components/linksimple/linksimple.component.js"
6540
6524
  }
6541
6525
  },
6542
6526
  {
6543
- "description": "Color of the link’s child content in the hover state.",
6544
- "name": "--mdc-link-color-hover",
6527
+ "kind": "method",
6528
+ "name": "handleNavigation",
6529
+ "privacy": "protected",
6530
+ "return": {
6531
+ "type": {
6532
+ "text": "void"
6533
+ }
6534
+ },
6535
+ "parameters": [
6536
+ {
6537
+ "name": "e",
6538
+ "type": {
6539
+ "text": "MouseEvent | KeyboardEvent"
6540
+ }
6541
+ }
6542
+ ],
6545
6543
  "inheritedFrom": {
6546
6544
  "name": "Linksimple",
6547
- "module": "src/components/linksimple/linksimple.component.ts"
6545
+ "module": "components/linksimple/linksimple.component.js"
6548
6546
  }
6549
6547
  },
6550
6548
  {
6551
- "description": "Color of the link’s child content in the normal state.",
6552
- "name": "--mdc-link-color-normal",
6549
+ "kind": "method",
6550
+ "name": "setDisabled",
6551
+ "privacy": "private",
6552
+ "parameters": [
6553
+ {
6554
+ "name": "disabled",
6555
+ "type": {
6556
+ "text": "boolean"
6557
+ },
6558
+ "description": "Whether the element should be disabled"
6559
+ }
6560
+ ],
6561
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
6553
6562
  "inheritedFrom": {
6554
6563
  "name": "Linksimple",
6555
- "module": "src/components/linksimple/linksimple.component.ts"
6564
+ "module": "components/linksimple/linksimple.component.js"
6556
6565
  }
6557
- },
6566
+ }
6567
+ ],
6568
+ "events": [
6558
6569
  {
6559
- "description": "Color of the inverted link’s child content in the active state.",
6560
- "name": "--mdc-link-inverted-color-active",
6570
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
6571
+ "name": "click",
6572
+ "reactName": "onClick",
6561
6573
  "inheritedFrom": {
6562
6574
  "name": "Linksimple",
6563
6575
  "module": "src/components/linksimple/linksimple.component.ts"
6564
6576
  }
6565
6577
  },
6566
6578
  {
6567
- "description": "Color of the inverted link’s child content in the disabled state.",
6568
- "name": "--mdc-link-inverted-color-disabled",
6579
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
6580
+ "name": "keydown",
6581
+ "reactName": "onKeyDown",
6569
6582
  "inheritedFrom": {
6570
6583
  "name": "Linksimple",
6571
6584
  "module": "src/components/linksimple/linksimple.component.ts"
6572
6585
  }
6573
6586
  },
6574
6587
  {
6575
- "description": "Color of the inverted link’s child content in the hover state.",
6576
- "name": "--mdc-link-inverted-color-hover",
6588
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
6589
+ "name": "focus",
6590
+ "reactName": "onFocus",
6577
6591
  "inheritedFrom": {
6578
6592
  "name": "Linksimple",
6579
6593
  "module": "src/components/linksimple/linksimple.component.ts"
6580
6594
  }
6581
6595
  },
6582
6596
  {
6583
- "description": "Color of the inverted link’s child content in the normal state.",
6584
- "name": "--mdc-link-inverted-color-normal",
6597
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
6598
+ "name": "blur",
6599
+ "reactName": "onBlur",
6585
6600
  "inheritedFrom": {
6586
6601
  "name": "Linksimple",
6587
6602
  "module": "src/components/linksimple/linksimple.component.ts"
6588
6603
  }
6589
6604
  }
6590
6605
  ],
6591
- "cssParts": [
6592
- {
6593
- "description": "The anchor element that wraps the buttonlink content.",
6594
- "name": "anchor",
6595
- "inheritedFrom": {
6596
- "name": "Linksimple",
6597
- "module": "src/components/linksimple/linksimple.component.ts"
6598
- }
6599
- },
6600
- {
6601
- "description": "The prefix icon element.",
6602
- "name": "prefix-icon"
6603
- },
6604
- {
6605
- "description": "The slot containing the buttonlink text.",
6606
- "name": "button-text"
6607
- },
6608
- {
6609
- "description": "The postfix icon element.",
6610
- "name": "postfix-icon"
6611
- }
6612
- ],
6613
- "members": [
6606
+ "attributes": [
6614
6607
  {
6615
- "kind": "field",
6616
6608
  "name": "size",
6617
6609
  "type": {
6618
6610
  "text": "PillButtonSize | IconButtonSize"
6619
6611
  },
6620
6612
  "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
6621
6613
  "default": "32",
6622
- "attribute": "size",
6623
- "reflects": true
6614
+ "fieldName": "size"
6624
6615
  },
6625
6616
  {
6626
- "kind": "field",
6627
- "name": "softDisabled",
6617
+ "name": "soft-disabled",
6628
6618
  "type": {
6629
6619
  "text": "boolean | undefined"
6630
6620
  },
6631
6621
  "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6632
6622
  "default": "undefined",
6633
- "attribute": "soft-disabled",
6634
- "reflects": true
6635
- },
6636
- {
6637
- "kind": "method",
6638
- "name": "setSoftDisabled",
6639
- "privacy": "private",
6640
- "parameters": [
6641
- {
6642
- "name": "element",
6643
- "type": {
6644
- "text": "HTMLElement"
6645
- },
6646
- "description": "The buttonlink element."
6647
- },
6648
- {
6649
- "name": "softDisabled",
6650
- "optional": true,
6651
- "type": {
6652
- "text": "boolean"
6653
- },
6654
- "description": "The soft-disabled state."
6655
- }
6656
- ],
6657
- "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
6658
- },
6659
- {
6660
- "kind": "method",
6661
- "name": "renderAnchorContent",
6662
- "privacy": "protected"
6623
+ "fieldName": "softDisabled"
6663
6624
  },
6664
6625
  {
6665
- "kind": "field",
6666
- "name": "prefixIcon",
6626
+ "name": "prefix-icon",
6667
6627
  "type": {
6668
6628
  "text": "IconNames | undefined"
6669
6629
  },
6670
6630
  "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
6671
- "attribute": "prefix-icon",
6672
- "reflects": true,
6631
+ "fieldName": "prefixIcon",
6673
6632
  "inheritedFrom": {
6674
6633
  "name": "ButtonComponentMixin",
6675
- "module": "utils/mixins/ButtonComponentMixin.js"
6634
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6676
6635
  }
6677
6636
  },
6678
6637
  {
6679
- "kind": "field",
6680
- "name": "postfixIcon",
6638
+ "name": "postfix-icon",
6681
6639
  "type": {
6682
6640
  "text": "IconNames | undefined"
6683
6641
  },
6684
6642
  "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
6685
- "attribute": "postfix-icon",
6686
- "reflects": true,
6643
+ "fieldName": "postfixIcon",
6687
6644
  "inheritedFrom": {
6688
6645
  "name": "ButtonComponentMixin",
6689
- "module": "utils/mixins/ButtonComponentMixin.js"
6646
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6690
6647
  }
6691
6648
  },
6692
6649
  {
6693
- "kind": "field",
6694
6650
  "name": "variant",
6695
6651
  "type": {
6696
6652
  "text": "ButtonVariant"
6697
6653
  },
6698
6654
  "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
6699
6655
  "default": "primary",
6700
- "attribute": "variant",
6656
+ "fieldName": "variant",
6701
6657
  "inheritedFrom": {
6702
6658
  "name": "ButtonComponentMixin",
6703
- "module": "utils/mixins/ButtonComponentMixin.js"
6659
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6704
6660
  }
6705
6661
  },
6706
6662
  {
6707
- "kind": "field",
6708
6663
  "name": "color",
6709
6664
  "type": {
6710
6665
  "text": "ButtonColor"
6711
6666
  },
6712
6667
  "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
6713
6668
  "default": "default",
6714
- "attribute": "color",
6715
- "inheritedFrom": {
6716
- "name": "ButtonComponentMixin",
6717
- "module": "utils/mixins/ButtonComponentMixin.js"
6718
- }
6719
- },
6720
- {
6721
- "kind": "method",
6722
- "name": "setVariant",
6723
- "privacy": "protected",
6724
- "parameters": [
6725
- {
6726
- "name": "variant",
6727
- "type": {
6728
- "text": "ButtonVariant"
6729
- },
6730
- "description": "The variant to set."
6731
- }
6732
- ],
6733
- "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
6734
- "inheritedFrom": {
6735
- "name": "ButtonComponentMixin",
6736
- "module": "utils/mixins/ButtonComponentMixin.js"
6737
- }
6738
- },
6739
- {
6740
- "kind": "method",
6741
- "name": "setColor",
6742
- "privacy": "protected",
6743
- "parameters": [
6744
- {
6745
- "name": "color",
6746
- "type": {
6747
- "text": "ButtonColor"
6748
- },
6749
- "description": "The color to set."
6750
- }
6751
- ],
6752
- "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
6753
- "inheritedFrom": {
6754
- "name": "ButtonComponentMixin",
6755
- "module": "utils/mixins/ButtonComponentMixin.js"
6756
- }
6757
- },
6758
- {
6759
- "kind": "method",
6760
- "name": "setSize",
6761
- "privacy": "protected",
6762
- "parameters": [
6763
- {
6764
- "name": "size",
6765
- "type": {
6766
- "text": "PillButtonSize | IconButtonSize"
6767
- },
6768
- "description": "The size to set."
6769
- }
6770
- ],
6771
- "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
6772
- "inheritedFrom": {
6773
- "name": "ButtonComponentMixin",
6774
- "module": "utils/mixins/ButtonComponentMixin.js"
6775
- }
6776
- },
6777
- {
6778
- "kind": "method",
6779
- "name": "inferButtonType",
6780
- "privacy": "protected",
6781
- "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
6782
- "parameters": [
6783
- {
6784
- "description": "default slot of button",
6785
- "name": "slot"
6786
- }
6787
- ],
6669
+ "fieldName": "color",
6788
6670
  "inheritedFrom": {
6789
6671
  "name": "ButtonComponentMixin",
6790
- "module": "utils/mixins/ButtonComponentMixin.js"
6672
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
6791
6673
  }
6792
6674
  },
6793
6675
  {
6794
- "kind": "field",
6795
- "name": "dataAriaLabel",
6676
+ "name": "data-aria-label",
6796
6677
  "type": {
6797
6678
  "text": "string | null"
6798
6679
  },
6799
6680
  "default": "null",
6800
6681
  "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6801
- "attribute": "data-aria-label",
6802
- "reflects": true,
6682
+ "fieldName": "dataAriaLabel",
6803
6683
  "inheritedFrom": {
6804
6684
  "name": "DataAriaLabelMixin",
6805
- "module": "utils/mixins/DataAriaLabelMixin.js"
6685
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
6806
6686
  }
6807
6687
  },
6808
6688
  {
6809
- "kind": "field",
6810
6689
  "name": "disabled",
6811
6690
  "type": {
6812
6691
  "text": "boolean | undefined"
6813
6692
  },
6814
6693
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6815
6694
  "default": "undefined",
6816
- "attribute": "disabled",
6817
- "reflects": true,
6695
+ "fieldName": "disabled",
6818
6696
  "inheritedFrom": {
6819
6697
  "name": "DisabledMixin",
6820
- "module": "utils/mixins/DisabledMixin.js"
6698
+ "module": "src/utils/mixins/DisabledMixin.ts"
6821
6699
  }
6822
6700
  },
6823
6701
  {
6824
- "kind": "field",
6825
6702
  "name": "inline",
6826
6703
  "type": {
6827
6704
  "text": "boolean"
6828
6705
  },
6829
6706
  "description": "The link can be inline or standalone.",
6830
6707
  "default": "false",
6831
- "attribute": "inline",
6832
- "reflects": true,
6708
+ "fieldName": "inline",
6833
6709
  "inheritedFrom": {
6834
6710
  "name": "Linksimple",
6835
- "module": "components/linksimple/linksimple.component.js"
6711
+ "module": "src/components/linksimple/linksimple.component.ts"
6836
6712
  }
6837
6713
  },
6838
6714
  {
6839
- "kind": "field",
6840
6715
  "name": "inverted",
6841
6716
  "type": {
6842
6717
  "text": "boolean"
6843
6718
  },
6844
6719
  "description": "The link color can be inverted by setting the inverted attribute to true.",
6845
6720
  "default": "false",
6846
- "attribute": "inverted",
6847
- "reflects": true,
6721
+ "fieldName": "inverted",
6848
6722
  "inheritedFrom": {
6849
6723
  "name": "Linksimple",
6850
- "module": "components/linksimple/linksimple.component.js"
6724
+ "module": "src/components/linksimple/linksimple.component.ts"
6851
6725
  }
6852
6726
  },
6853
6727
  {
6854
- "kind": "field",
6855
6728
  "name": "href",
6856
6729
  "type": {
6857
6730
  "text": "string | undefined"
6858
6731
  },
6859
6732
  "description": "Href for navigation. The URL that the hyperlink points to",
6860
- "attribute": "href",
6861
- "reflects": true,
6733
+ "fieldName": "href",
6862
6734
  "inheritedFrom": {
6863
6735
  "name": "Linksimple",
6864
- "module": "components/linksimple/linksimple.component.js"
6736
+ "module": "src/components/linksimple/linksimple.component.ts"
6865
6737
  }
6866
6738
  },
6867
6739
  {
6868
- "kind": "field",
6869
6740
  "name": "target",
6870
6741
  "type": {
6871
6742
  "text": "string"
6872
6743
  },
6873
6744
  "default": "'_self'",
6874
6745
  "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
6875
- "attribute": "target",
6876
- "reflects": true,
6746
+ "fieldName": "target",
6877
6747
  "inheritedFrom": {
6878
6748
  "name": "Linksimple",
6879
- "module": "components/linksimple/linksimple.component.js"
6749
+ "module": "src/components/linksimple/linksimple.component.ts"
6880
6750
  }
6881
6751
  },
6882
6752
  {
6883
- "kind": "field",
6884
6753
  "name": "rel",
6885
6754
  "type": {
6886
6755
  "text": "string | undefined"
6887
6756
  },
6888
6757
  "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
6889
- "attribute": "rel",
6890
- "reflects": true,
6758
+ "fieldName": "rel",
6891
6759
  "inheritedFrom": {
6892
6760
  "name": "Linksimple",
6893
- "module": "components/linksimple/linksimple.component.js"
6761
+ "module": "src/components/linksimple/linksimple.component.ts"
6894
6762
  }
6895
6763
  },
6896
6764
  {
6897
- "kind": "field",
6898
6765
  "name": "download",
6899
6766
  "type": {
6900
6767
  "text": "string | undefined"
6901
6768
  },
6902
6769
  "description": "Optional download attribute to instruct browsers to download the linked resource.",
6903
- "attribute": "download",
6904
- "reflects": true,
6770
+ "fieldName": "download",
6905
6771
  "inheritedFrom": {
6906
6772
  "name": "Linksimple",
6907
- "module": "components/linksimple/linksimple.component.js"
6773
+ "module": "src/components/linksimple/linksimple.component.ts"
6908
6774
  }
6909
6775
  },
6910
6776
  {
6911
- "kind": "field",
6912
6777
  "name": "ping",
6913
6778
  "type": {
6914
6779
  "text": "string | undefined"
6915
6780
  },
6916
6781
  "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
6917
- "attribute": "ping",
6918
- "reflects": true,
6782
+ "fieldName": "ping",
6919
6783
  "inheritedFrom": {
6920
6784
  "name": "Linksimple",
6921
- "module": "components/linksimple/linksimple.component.js"
6785
+ "module": "src/components/linksimple/linksimple.component.ts"
6922
6786
  }
6923
6787
  },
6924
6788
  {
6925
- "kind": "field",
6926
6789
  "name": "hreflang",
6927
6790
  "type": {
6928
6791
  "text": "string | undefined"
6929
6792
  },
6930
6793
  "description": "Optional hreflang attribute specifying the language of the linked resource.",
6931
- "attribute": "hreflang",
6932
- "reflects": true,
6794
+ "fieldName": "hreflang",
6933
6795
  "inheritedFrom": {
6934
6796
  "name": "Linksimple",
6935
- "module": "components/linksimple/linksimple.component.js"
6797
+ "module": "src/components/linksimple/linksimple.component.ts"
6936
6798
  }
6937
6799
  },
6938
6800
  {
6939
- "kind": "field",
6940
6801
  "name": "type",
6941
6802
  "type": {
6942
6803
  "text": "string | undefined"
6943
6804
  },
6944
6805
  "description": "Optional type attribute indicating the MIME type of the linked resource.",
6945
- "attribute": "type",
6946
- "reflects": true,
6806
+ "fieldName": "type",
6947
6807
  "inheritedFrom": {
6948
6808
  "name": "Linksimple",
6949
- "module": "components/linksimple/linksimple.component.js"
6809
+ "module": "src/components/linksimple/linksimple.component.ts"
6950
6810
  }
6951
6811
  },
6952
6812
  {
6953
- "kind": "field",
6954
6813
  "name": "referrerpolicy",
6955
6814
  "type": {
6956
6815
  "text": "string | undefined"
6957
6816
  },
6958
6817
  "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
6959
- "attribute": "referrerpolicy",
6960
- "reflects": true,
6818
+ "fieldName": "referrerpolicy",
6961
6819
  "inheritedFrom": {
6962
6820
  "name": "Linksimple",
6963
- "module": "components/linksimple/linksimple.component.js"
6821
+ "module": "src/components/linksimple/linksimple.component.ts"
6964
6822
  }
6823
+ }
6824
+ ],
6825
+ "mixins": [
6826
+ {
6827
+ "name": "ButtonComponentMixin",
6828
+ "module": "/src/utils/mixins/ButtonComponentMixin"
6829
+ }
6830
+ ],
6831
+ "superclass": {
6832
+ "name": "Linksimple",
6833
+ "module": "/src/components/linksimple/linksimple.component"
6834
+ },
6835
+ "tagName": "mdc-buttonlink",
6836
+ "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @csspart anchor - The anchor element that wraps the buttonlink content.\n * @csspart prefix-icon - The prefix icon element.\n * @csspart button-text - The slot containing the buttonlink text.\n * @csspart postfix-icon - The postfix icon element.\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n * @cssproperty --mdc-button-line-height - Line height of the button text\n * @cssproperty --mdc-button-prefix-icon-size - Size of the prefix icon\n * @cssproperty --mdc-button-postfix-icon-size - Size of the postfix icon\n */",
6837
+ "customElement": true
6838
+ }
6839
+ ],
6840
+ "exports": [
6841
+ {
6842
+ "kind": "js",
6843
+ "name": "default",
6844
+ "declaration": {
6845
+ "name": "ButtonLink",
6846
+ "module": "components/buttonlink/buttonlink.component.js"
6847
+ }
6848
+ }
6849
+ ]
6850
+ },
6851
+ {
6852
+ "kind": "javascript-module",
6853
+ "path": "components/buttonsimple/buttonsimple.component.js",
6854
+ "declarations": [
6855
+ {
6856
+ "kind": "class",
6857
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
6858
+ "name": "Buttonsimple",
6859
+ "cssProperties": [
6860
+ {
6861
+ "description": "Height for button size",
6862
+ "name": "--mdc-button-height"
6863
+ },
6864
+ {
6865
+ "description": "Background color of the button",
6866
+ "name": "--mdc-button-background"
6867
+ },
6868
+ {
6869
+ "description": "Borer color of the button",
6870
+ "name": "--mdc-button-border-color"
6871
+ },
6872
+ {
6873
+ "description": "Text color of the button",
6874
+ "name": "--mdc-button-text-color"
6875
+ }
6876
+ ],
6877
+ "members": [
6878
+ {
6879
+ "kind": "field",
6880
+ "name": "active",
6881
+ "type": {
6882
+ "text": "boolean | undefined"
6883
+ },
6884
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6885
+ "default": "undefined",
6886
+ "attribute": "active",
6887
+ "reflects": true
6888
+ },
6889
+ {
6890
+ "kind": "field",
6891
+ "name": "softDisabled",
6892
+ "type": {
6893
+ "text": "boolean | undefined"
6894
+ },
6895
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6896
+ "default": "undefined",
6897
+ "attribute": "soft-disabled",
6898
+ "reflects": true
6899
+ },
6900
+ {
6901
+ "kind": "field",
6902
+ "name": "size",
6903
+ "type": {
6904
+ "text": "ButtonSize"
6905
+ },
6906
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6907
+ "default": "32",
6908
+ "attribute": "size",
6909
+ "reflects": true
6910
+ },
6911
+ {
6912
+ "kind": "field",
6913
+ "name": "role",
6914
+ "type": {
6915
+ "text": "RoleType"
6916
+ },
6917
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6918
+ "default": "button",
6919
+ "attribute": "role",
6920
+ "reflects": true
6921
+ },
6922
+ {
6923
+ "kind": "field",
6924
+ "name": "ariaStateKey",
6925
+ "type": {
6926
+ "text": "string | undefined"
6927
+ },
6928
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
6929
+ "default": "'aria-pressed' (when)",
6930
+ "attribute": "ariaStateKey",
6931
+ "reflects": true
6932
+ },
6933
+ {
6934
+ "kind": "field",
6935
+ "name": "type",
6936
+ "type": {
6937
+ "text": "ButtonType"
6938
+ },
6939
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6940
+ "default": "button",
6941
+ "attribute": "type",
6942
+ "reflects": true
6943
+ },
6944
+ {
6945
+ "kind": "field",
6946
+ "name": "name",
6947
+ "type": {
6948
+ "text": "string | undefined"
6949
+ },
6950
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6951
+ "attribute": "name",
6952
+ "reflects": true
6953
+ },
6954
+ {
6955
+ "kind": "field",
6956
+ "name": "value",
6957
+ "type": {
6958
+ "text": "string | undefined"
6959
+ },
6960
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6961
+ "attribute": "value",
6962
+ "reflects": true
6965
6963
  },
6966
6964
  {
6967
6965
  "kind": "method",
6968
- "name": "handleNavigation",
6966
+ "name": "executeAction",
6967
+ "privacy": "protected"
6968
+ },
6969
+ {
6970
+ "kind": "method",
6971
+ "name": "setActive",
6969
6972
  "privacy": "protected",
6970
- "return": {
6971
- "type": {
6972
- "text": "void"
6973
+ "parameters": [
6974
+ {
6975
+ "name": "element",
6976
+ "type": {
6977
+ "text": "HTMLElement"
6978
+ },
6979
+ "description": "The button element"
6980
+ },
6981
+ {
6982
+ "name": "active",
6983
+ "optional": true,
6984
+ "type": {
6985
+ "text": "boolean"
6986
+ },
6987
+ "description": "The active state of the element"
6973
6988
  }
6974
- },
6989
+ ],
6990
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
6991
+ },
6992
+ {
6993
+ "kind": "method",
6994
+ "name": "setSoftDisabled",
6995
+ "privacy": "private",
6975
6996
  "parameters": [
6976
6997
  {
6977
- "name": "e",
6998
+ "name": "element",
6978
6999
  "type": {
6979
- "text": "MouseEvent | KeyboardEvent"
6980
- }
7000
+ "text": "HTMLElement"
7001
+ },
7002
+ "description": "The button element."
7003
+ },
7004
+ {
7005
+ "name": "softDisabled",
7006
+ "optional": true,
7007
+ "type": {
7008
+ "text": "boolean"
7009
+ },
7010
+ "description": "The soft-disabled state."
6981
7011
  }
6982
7012
  ],
6983
- "inheritedFrom": {
6984
- "name": "Linksimple",
6985
- "module": "components/linksimple/linksimple.component.js"
6986
- }
7013
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
6987
7014
  },
6988
7015
  {
6989
7016
  "kind": "method",
6990
7017
  "name": "setDisabled",
6991
7018
  "privacy": "private",
6992
7019
  "parameters": [
7020
+ {
7021
+ "name": "element",
7022
+ "type": {
7023
+ "text": "HTMLElement"
7024
+ },
7025
+ "description": "The button element."
7026
+ },
6993
7027
  {
6994
7028
  "name": "disabled",
6995
7029
  "type": {
6996
7030
  "text": "boolean"
6997
7031
  },
6998
- "description": "Whether the element should be disabled"
7032
+ "description": "The disabled state."
6999
7033
  }
7000
7034
  ],
7001
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
7002
- "inheritedFrom": {
7003
- "name": "Linksimple",
7004
- "module": "components/linksimple/linksimple.component.js"
7005
- }
7006
- }
7007
- ],
7008
- "events": [
7009
- {
7010
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
7011
- "name": "click",
7012
- "reactName": "onClick",
7013
- "inheritedFrom": {
7014
- "name": "Linksimple",
7015
- "module": "src/components/linksimple/linksimple.component.ts"
7016
- }
7035
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
7017
7036
  },
7018
7037
  {
7019
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
7020
- "name": "keydown",
7021
- "reactName": "onKeyDown",
7022
- "inheritedFrom": {
7023
- "name": "Linksimple",
7024
- "module": "src/components/linksimple/linksimple.component.ts"
7025
- }
7038
+ "kind": "method",
7039
+ "name": "triggerClickEvent",
7040
+ "privacy": "private"
7026
7041
  },
7027
7042
  {
7028
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
7029
- "name": "focus",
7030
- "reactName": "onFocus",
7031
- "inheritedFrom": {
7032
- "name": "Linksimple",
7033
- "module": "src/components/linksimple/linksimple.component.ts"
7034
- }
7043
+ "kind": "method",
7044
+ "name": "handleBlur",
7045
+ "privacy": "private",
7046
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
7035
7047
  },
7036
7048
  {
7037
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
7038
- "name": "blur",
7039
- "reactName": "onBlur",
7040
- "inheritedFrom": {
7041
- "name": "Linksimple",
7042
- "module": "src/components/linksimple/linksimple.component.ts"
7043
- }
7044
- }
7045
- ],
7046
- "attributes": [
7047
- {
7048
- "name": "size",
7049
- "type": {
7050
- "text": "PillButtonSize | IconButtonSize"
7051
- },
7052
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
7053
- "default": "32",
7054
- "fieldName": "size"
7049
+ "kind": "method",
7050
+ "name": "handleKeyDown",
7051
+ "privacy": "private",
7052
+ "parameters": [
7053
+ {
7054
+ "name": "event",
7055
+ "type": {
7056
+ "text": "KeyboardEvent"
7057
+ },
7058
+ "description": "The keyboard event."
7059
+ }
7060
+ ],
7061
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
7055
7062
  },
7056
7063
  {
7057
- "name": "soft-disabled",
7058
- "type": {
7059
- "text": "boolean | undefined"
7060
- },
7061
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
7062
- "default": "undefined",
7063
- "fieldName": "softDisabled"
7064
+ "kind": "method",
7065
+ "name": "handleKeyUp",
7066
+ "privacy": "private",
7067
+ "parameters": [
7068
+ {
7069
+ "name": "event",
7070
+ "type": {
7071
+ "text": "KeyboardEvent"
7072
+ },
7073
+ "description": "The keyboard event."
7074
+ }
7075
+ ],
7076
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
7064
7077
  },
7065
7078
  {
7066
- "name": "prefix-icon",
7079
+ "kind": "field",
7080
+ "name": "autoFocusOnMount",
7067
7081
  "type": {
7068
- "text": "IconNames | undefined"
7082
+ "text": "boolean"
7069
7083
  },
7070
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
7071
- "fieldName": "prefixIcon",
7084
+ "default": "false",
7085
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
7086
+ "attribute": "auto-focus-on-mount",
7087
+ "reflects": true,
7072
7088
  "inheritedFrom": {
7073
- "name": "ButtonComponentMixin",
7074
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
7089
+ "name": "AutoFocusOnMountMixin",
7090
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
7075
7091
  }
7076
7092
  },
7077
7093
  {
7078
- "name": "postfix-icon",
7094
+ "kind": "field",
7095
+ "name": "tabIndex",
7079
7096
  "type": {
7080
- "text": "IconNames | undefined"
7097
+ "text": "number"
7081
7098
  },
7082
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
7083
- "fieldName": "postfixIcon",
7099
+ "default": "0",
7100
+ "description": "This property specifies the tab order of the element.",
7101
+ "attribute": "tabIndex",
7102
+ "reflects": true,
7084
7103
  "inheritedFrom": {
7085
- "name": "ButtonComponentMixin",
7086
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
7104
+ "name": "TabIndexMixin",
7105
+ "module": "utils/mixins/TabIndexMixin.js"
7087
7106
  }
7088
7107
  },
7089
7108
  {
7090
- "name": "variant",
7109
+ "kind": "field",
7110
+ "name": "disabled",
7091
7111
  "type": {
7092
- "text": "ButtonVariant"
7112
+ "text": "boolean | undefined"
7093
7113
  },
7094
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
7095
- "default": "primary",
7096
- "fieldName": "variant",
7114
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7115
+ "default": "undefined",
7116
+ "attribute": "disabled",
7117
+ "reflects": true,
7097
7118
  "inheritedFrom": {
7098
- "name": "ButtonComponentMixin",
7099
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
7119
+ "name": "DisabledMixin",
7120
+ "module": "utils/mixins/DisabledMixin.js"
7100
7121
  }
7122
+ }
7123
+ ],
7124
+ "events": [
7125
+ {
7126
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
7127
+ "name": "click",
7128
+ "reactName": "onClick"
7101
7129
  },
7102
7130
  {
7103
- "name": "color",
7104
- "type": {
7105
- "text": "ButtonColor"
7106
- },
7107
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
7108
- "default": "default",
7109
- "fieldName": "color",
7110
- "inheritedFrom": {
7111
- "name": "ButtonComponentMixin",
7112
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
7113
- }
7131
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
7132
+ "name": "keydown",
7133
+ "reactName": "onKeyDown"
7114
7134
  },
7115
7135
  {
7116
- "name": "data-aria-label",
7117
- "type": {
7118
- "text": "string | null"
7119
- },
7120
- "default": "null",
7121
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
7122
- "fieldName": "dataAriaLabel",
7123
- "inheritedFrom": {
7124
- "name": "DataAriaLabelMixin",
7125
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
7126
- }
7136
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
7137
+ "name": "keyup",
7138
+ "reactName": "onKeyUp"
7127
7139
  },
7128
7140
  {
7129
- "name": "disabled",
7141
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
7142
+ "name": "focus",
7143
+ "reactName": "onFocus"
7144
+ }
7145
+ ],
7146
+ "attributes": [
7147
+ {
7148
+ "name": "active",
7130
7149
  "type": {
7131
7150
  "text": "boolean | undefined"
7132
7151
  },
7133
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7152
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
7134
7153
  "default": "undefined",
7135
- "fieldName": "disabled",
7136
- "inheritedFrom": {
7137
- "name": "DisabledMixin",
7138
- "module": "src/utils/mixins/DisabledMixin.ts"
7139
- }
7154
+ "fieldName": "active"
7140
7155
  },
7141
7156
  {
7142
- "name": "inline",
7157
+ "name": "soft-disabled",
7143
7158
  "type": {
7144
- "text": "boolean"
7159
+ "text": "boolean | undefined"
7145
7160
  },
7146
- "description": "The link can be inline or standalone.",
7147
- "default": "false",
7148
- "fieldName": "inline",
7149
- "inheritedFrom": {
7150
- "name": "Linksimple",
7151
- "module": "src/components/linksimple/linksimple.component.ts"
7152
- }
7161
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
7162
+ "default": "undefined",
7163
+ "fieldName": "softDisabled"
7153
7164
  },
7154
7165
  {
7155
- "name": "inverted",
7166
+ "name": "size",
7156
7167
  "type": {
7157
- "text": "boolean"
7168
+ "text": "ButtonSize"
7158
7169
  },
7159
- "description": "The link color can be inverted by setting the inverted attribute to true.",
7160
- "default": "false",
7161
- "fieldName": "inverted",
7162
- "inheritedFrom": {
7163
- "name": "Linksimple",
7164
- "module": "src/components/linksimple/linksimple.component.ts"
7165
- }
7170
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
7171
+ "default": "32",
7172
+ "fieldName": "size"
7166
7173
  },
7167
7174
  {
7168
- "name": "href",
7175
+ "name": "role",
7169
7176
  "type": {
7170
- "text": "string | undefined"
7177
+ "text": "RoleType"
7171
7178
  },
7172
- "description": "Href for navigation. The URL that the hyperlink points to",
7173
- "fieldName": "href",
7174
- "inheritedFrom": {
7175
- "name": "Linksimple",
7176
- "module": "src/components/linksimple/linksimple.component.ts"
7177
- }
7179
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
7180
+ "default": "button",
7181
+ "fieldName": "role"
7178
7182
  },
7179
7183
  {
7180
- "name": "target",
7184
+ "name": "ariaStateKey",
7181
7185
  "type": {
7182
- "text": "string"
7186
+ "text": "string | undefined"
7183
7187
  },
7184
- "default": "'_self'",
7185
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
7186
- "fieldName": "target",
7187
- "inheritedFrom": {
7188
- "name": "Linksimple",
7189
- "module": "src/components/linksimple/linksimple.component.ts"
7190
- }
7188
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
7189
+ "default": "'aria-pressed' (when)",
7190
+ "fieldName": "ariaStateKey"
7191
7191
  },
7192
7192
  {
7193
- "name": "rel",
7193
+ "name": "type",
7194
7194
  "type": {
7195
- "text": "string | undefined"
7195
+ "text": "ButtonType"
7196
7196
  },
7197
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
7198
- "fieldName": "rel",
7199
- "inheritedFrom": {
7200
- "name": "Linksimple",
7201
- "module": "src/components/linksimple/linksimple.component.ts"
7202
- }
7197
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
7198
+ "default": "button",
7199
+ "fieldName": "type"
7203
7200
  },
7204
7201
  {
7205
- "name": "download",
7202
+ "name": "name",
7206
7203
  "type": {
7207
7204
  "text": "string | undefined"
7208
7205
  },
7209
- "description": "Optional download attribute to instruct browsers to download the linked resource.",
7210
- "fieldName": "download",
7211
- "inheritedFrom": {
7212
- "name": "Linksimple",
7213
- "module": "src/components/linksimple/linksimple.component.ts"
7214
- }
7206
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
7207
+ "fieldName": "name"
7215
7208
  },
7216
7209
  {
7217
- "name": "ping",
7210
+ "name": "value",
7218
7211
  "type": {
7219
7212
  "text": "string | undefined"
7220
7213
  },
7221
- "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
7222
- "fieldName": "ping",
7223
- "inheritedFrom": {
7224
- "name": "Linksimple",
7225
- "module": "src/components/linksimple/linksimple.component.ts"
7226
- }
7214
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
7215
+ "fieldName": "value"
7227
7216
  },
7228
7217
  {
7229
- "name": "hreflang",
7218
+ "name": "auto-focus-on-mount",
7230
7219
  "type": {
7231
- "text": "string | undefined"
7220
+ "text": "boolean"
7232
7221
  },
7233
- "description": "Optional hreflang attribute specifying the language of the linked resource.",
7234
- "fieldName": "hreflang",
7222
+ "default": "false",
7223
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
7224
+ "fieldName": "autoFocusOnMount",
7235
7225
  "inheritedFrom": {
7236
- "name": "Linksimple",
7237
- "module": "src/components/linksimple/linksimple.component.ts"
7226
+ "name": "AutoFocusOnMountMixin",
7227
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
7238
7228
  }
7239
7229
  },
7240
7230
  {
7241
- "name": "type",
7231
+ "name": "tabIndex",
7242
7232
  "type": {
7243
- "text": "string | undefined"
7233
+ "text": "number"
7244
7234
  },
7245
- "description": "Optional type attribute indicating the MIME type of the linked resource.",
7246
- "fieldName": "type",
7235
+ "default": "0",
7236
+ "description": "This property specifies the tab order of the element.",
7237
+ "fieldName": "tabIndex",
7247
7238
  "inheritedFrom": {
7248
- "name": "Linksimple",
7249
- "module": "src/components/linksimple/linksimple.component.ts"
7239
+ "name": "TabIndexMixin",
7240
+ "module": "src/utils/mixins/TabIndexMixin.ts"
7250
7241
  }
7251
7242
  },
7252
7243
  {
7253
- "name": "referrerpolicy",
7244
+ "name": "disabled",
7254
7245
  "type": {
7255
- "text": "string | undefined"
7246
+ "text": "boolean | undefined"
7256
7247
  },
7257
- "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
7258
- "fieldName": "referrerpolicy",
7248
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7249
+ "default": "undefined",
7250
+ "fieldName": "disabled",
7259
7251
  "inheritedFrom": {
7260
- "name": "Linksimple",
7261
- "module": "src/components/linksimple/linksimple.component.ts"
7252
+ "name": "DisabledMixin",
7253
+ "module": "src/utils/mixins/DisabledMixin.ts"
7262
7254
  }
7263
7255
  }
7264
7256
  ],
7265
7257
  "mixins": [
7266
7258
  {
7267
- "name": "ButtonComponentMixin",
7268
- "module": "/src/utils/mixins/ButtonComponentMixin"
7259
+ "name": "AutoFocusOnMountMixin",
7260
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
7261
+ },
7262
+ {
7263
+ "name": "TabIndexMixin",
7264
+ "module": "/src/utils/mixins/TabIndexMixin"
7265
+ },
7266
+ {
7267
+ "name": "DisabledMixin",
7268
+ "module": "/src/utils/mixins/DisabledMixin"
7269
7269
  }
7270
7270
  ],
7271
7271
  "superclass": {
7272
- "name": "Linksimple",
7273
- "module": "/src/components/linksimple/linksimple.component"
7272
+ "name": "Component",
7273
+ "module": "/src/models"
7274
7274
  },
7275
- "tagName": "mdc-buttonlink",
7276
- "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @csspart anchor - The anchor element that wraps the buttonlink content.\n * @csspart prefix-icon - The prefix icon element.\n * @csspart button-text - The slot containing the buttonlink text.\n * @csspart postfix-icon - The postfix icon element.\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n * @cssproperty --mdc-button-line-height - Line height of the button text\n * @cssproperty --mdc-button-prefix-icon-size - Size of the prefix icon\n * @cssproperty --mdc-button-postfix-icon-size - Size of the postfix icon\n */",
7275
+ "tagName": "mdc-buttonsimple",
7276
+ "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
7277
7277
  "customElement": true
7278
7278
  }
7279
7279
  ],
@@ -7282,8 +7282,8 @@
7282
7282
  "kind": "js",
7283
7283
  "name": "default",
7284
7284
  "declaration": {
7285
- "name": "ButtonLink",
7286
- "module": "components/buttonlink/buttonlink.component.js"
7285
+ "name": "Buttonsimple",
7286
+ "module": "components/buttonsimple/buttonsimple.component.js"
7287
7287
  }
7288
7288
  }
7289
7289
  ]
@@ -23816,159 +23816,53 @@
23816
23816
  ]
23817
23817
  },
23818
23818
  {
23819
- "kind": "method",
23820
- "name": "handleKeyDown",
23821
- "privacy": "private",
23822
- "return": {
23823
- "type": {
23824
- "text": "Promise<void>"
23825
- }
23826
- },
23827
- "parameters": [
23828
- {
23829
- "name": "event",
23830
- "type": {
23831
- "text": "KeyboardEvent"
23832
- }
23833
- }
23834
- ]
23835
- }
23836
- ],
23837
- "superclass": {
23838
- "name": "Component",
23839
- "module": "/src/models"
23840
- },
23841
- "tagName": "mdc-menubar",
23842
- "jsDoc": "/**\n * Menubar is a navigational menu component that provides a vertical fixed list of menu items,\n * with support for nested submenus and keyboard navigation. It serves as a container\n * for menu items and manages their interaction patterns, including:\n * - Keyboard navigation (Arrow keys, Home, End)\n * - Menu item activation (Enter/Space)\n * - Submenu toggling (Right/Left arrow keys)\n * - Focus management\n * - Integration with MenuPopover for nested menus\n *\n * A menubar will contain a set of menu items and their associated popovers.\n * Each menu item can have a popover for nested menus.\n *\n * The component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\n * It works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n *\n * **Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n *\n * `mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.\n *\n * @tagname mdc-menubar\n * @slot default - Contains the menu items and their associated popovers\n */",
23843
- "customElement": true
23844
- }
23845
- ],
23846
- "exports": [
23847
- {
23848
- "kind": "js",
23849
- "name": "default",
23850
- "declaration": {
23851
- "name": "MenuBar",
23852
- "module": "components/menubar/menubar.component.js"
23853
- }
23854
- }
23855
- ]
23856
- },
23857
- {
23858
- "kind": "javascript-module",
23859
- "path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
23860
- "declarations": [
23861
- {
23862
- "kind": "class",
23863
- "description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
23864
- "name": "MenuItemCheckbox",
23865
- "cssProperties": [
23866
- {
23867
- "description": "Controls the padding on the left and right of the menuitemcheckbox.",
23868
- "name": "--mdc-listitem-padding-left-and-right"
23869
- },
23870
- {
23871
- "description": "Allows customization of the default background color.",
23872
- "name": "--mdc-listitem-default-background-color",
23873
- "inheritedFrom": {
23874
- "name": "ListItem",
23875
- "module": "src/components/listitem/listitem.component.ts"
23876
- }
23877
- },
23878
- {
23879
- "description": "Allows customization of the background color on hover.",
23880
- "name": "--mdc-listitem-background-color-hover",
23881
- "inheritedFrom": {
23882
- "name": "ListItem",
23883
- "module": "src/components/listitem/listitem.component.ts"
23884
- }
23885
- },
23886
- {
23887
- "description": "Allows customization of the background color when pressed.",
23888
- "name": "--mdc-listitem-background-color-active",
23889
- "inheritedFrom": {
23890
- "name": "ListItem",
23891
- "module": "src/components/listitem/listitem.component.ts"
23892
- }
23893
- },
23894
- {
23895
- "description": "Allows customization of the primary label, side header and subline text slot color.",
23896
- "name": "--mdc-listitem-primary-label-color",
23897
- "inheritedFrom": {
23898
- "name": "ListItem",
23899
- "module": "src/components/listitem/listitem.component.ts"
23900
- }
23901
- },
23902
- {
23903
- "description": "Allows customization of the secondary and tertiary label text slot color.",
23904
- "name": "--mdc-listitem-secondary-label-color",
23905
- "inheritedFrom": {
23906
- "name": "ListItem",
23907
- "module": "src/components/listitem/listitem.component.ts"
23908
- }
23909
- },
23910
- {
23911
- "description": "Allows customization of the disabled color.",
23912
- "name": "--mdc-listitem-disabled-color",
23913
- "inheritedFrom": {
23914
- "name": "ListItem",
23915
- "module": "src/components/listitem/listitem.component.ts"
23916
- }
23917
- },
23918
- {
23919
- "description": "Allows customization of column gap.",
23920
- "name": "--mdc-listitem-column-gap",
23921
- "inheritedFrom": {
23922
- "name": "ListItem",
23923
- "module": "src/components/listitem/listitem.component.ts"
23924
- }
23925
- },
23926
- {
23927
- "description": "Allows customization of padding left and right.",
23928
- "name": "--mdc-listitem-padding-left-right",
23929
- "inheritedFrom": {
23930
- "name": "ListItem",
23931
- "module": "src/components/listitem/listitem.component.ts"
23932
- }
23933
- },
23934
- {
23935
- "description": "Allows customization of padding top and bottom.",
23936
- "name": "--mdc-listitem-padding-top-bottom",
23937
- "inheritedFrom": {
23938
- "name": "ListItem",
23939
- "module": "src/components/listitem/listitem.component.ts"
23940
- }
23941
- },
23942
- {
23943
- "description": "Allows customization of the cursor.",
23944
- "name": "--mdc-listitem-cursor",
23945
- "inheritedFrom": {
23946
- "name": "ListItem",
23947
- "module": "src/components/listitem/listitem.component.ts"
23948
- }
23949
- },
23950
- {
23951
- "description": "Allows customization of the width of the list item.",
23952
- "name": "--mdc-listitem-width",
23953
- "inheritedFrom": {
23954
- "name": "ListItem",
23955
- "module": "src/components/listitem/listitem.component.ts"
23956
- }
23957
- },
23958
- {
23959
- "description": "Allows customization of the height of the list item.",
23960
- "name": "--mdc-listitem-height",
23961
- "inheritedFrom": {
23962
- "name": "ListItem",
23963
- "module": "src/components/listitem/listitem.component.ts"
23964
- }
23819
+ "kind": "method",
23820
+ "name": "handleKeyDown",
23821
+ "privacy": "private",
23822
+ "return": {
23823
+ "type": {
23824
+ "text": "Promise<void>"
23825
+ }
23826
+ },
23827
+ "parameters": [
23828
+ {
23829
+ "name": "event",
23830
+ "type": {
23831
+ "text": "KeyboardEvent"
23832
+ }
23833
+ }
23834
+ ]
23965
23835
  }
23966
23836
  ],
23837
+ "superclass": {
23838
+ "name": "Component",
23839
+ "module": "/src/models"
23840
+ },
23841
+ "tagName": "mdc-menubar",
23842
+ "jsDoc": "/**\n * Menubar is a navigational menu component that provides a vertical fixed list of menu items,\n * with support for nested submenus and keyboard navigation. It serves as a container\n * for menu items and manages their interaction patterns, including:\n * - Keyboard navigation (Arrow keys, Home, End)\n * - Menu item activation (Enter/Space)\n * - Submenu toggling (Right/Left arrow keys)\n * - Focus management\n * - Integration with MenuPopover for nested menus\n *\n * A menubar will contain a set of menu items and their associated popovers.\n * Each menu item can have a popover for nested menus.\n *\n * The component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\n * It works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n *\n * **Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n *\n * `mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.\n *\n * @tagname mdc-menubar\n * @slot default - Contains the menu items and their associated popovers\n */",
23843
+ "customElement": true
23844
+ }
23845
+ ],
23846
+ "exports": [
23847
+ {
23848
+ "kind": "js",
23849
+ "name": "default",
23850
+ "declaration": {
23851
+ "name": "MenuBar",
23852
+ "module": "components/menubar/menubar.component.js"
23853
+ }
23854
+ }
23855
+ ]
23856
+ },
23857
+ {
23858
+ "kind": "javascript-module",
23859
+ "path": "components/menuitem/menuitem.component.js",
23860
+ "declarations": [
23861
+ {
23862
+ "kind": "class",
23863
+ "description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\n**Note**: If a menuitem contains a long text, it is recommended to create a tooltip for the menuitem that displays the full text on hover.\nConsumers need to add a unique ID to this menuitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the menuitem using the `triggerID` attribute.",
23864
+ "name": "MenuItem",
23967
23865
  "cssParts": [
23968
- {
23969
- "description": "Allows customization of the checkmark icon.",
23970
- "name": "checkmark-icon"
23971
- },
23972
23866
  {
23973
23867
  "description": "Allows customization of the leading part.",
23974
23868
  "name": "leading",
@@ -23979,11 +23873,7 @@
23979
23873
  },
23980
23874
  {
23981
23875
  "description": "Allows customization of leading arrow icon.",
23982
- "name": "leading-arrow",
23983
- "inheritedFrom": {
23984
- "name": "MenuItem",
23985
- "module": "src/components/menuitem/menuitem.component.ts"
23986
- }
23876
+ "name": "leading-arrow"
23987
23877
  },
23988
23878
  {
23989
23879
  "description": "Allows customization of the leading text part.",
@@ -24003,11 +23893,7 @@
24003
23893
  },
24004
23894
  {
24005
23895
  "description": "Allows customization of trailing arrow icon.",
24006
- "name": "trailing-arrow",
24007
- "inheritedFrom": {
24008
- "name": "MenuItem",
24009
- "module": "src/components/menuitem/menuitem.component.ts"
24010
- }
23896
+ "name": "trailing-arrow"
24011
23897
  },
24012
23898
  {
24013
23899
  "description": "Allows customization of the trailing text part.",
@@ -24020,7 +23906,7 @@
24020
23906
  ],
24021
23907
  "slots": [
24022
23908
  {
24023
- "description": "slot for menu item checkbox controls to appear of leading end.",
23909
+ "description": "slot for menu item controls to appear of leading end.",
24024
23910
  "name": "leading-controls",
24025
23911
  "inheritedFrom": {
24026
23912
  "name": "ListItem",
@@ -24028,7 +23914,7 @@
24028
23914
  }
24029
23915
  },
24030
23916
  {
24031
- "description": "slot for menu item checkbox primary label.",
23917
+ "description": "slot for menu item primary label.",
24032
23918
  "name": "leading-text-primary-label",
24033
23919
  "inheritedFrom": {
24034
23920
  "name": "ListItem",
@@ -24036,7 +23922,7 @@
24036
23922
  }
24037
23923
  },
24038
23924
  {
24039
- "description": "slot for menu item checkbox secondary label.",
23925
+ "description": "slot for menu item secondary label.",
24040
23926
  "name": "leading-text-secondary-label",
24041
23927
  "inheritedFrom": {
24042
23928
  "name": "ListItem",
@@ -24044,7 +23930,7 @@
24044
23930
  }
24045
23931
  },
24046
23932
  {
24047
- "description": "slot for menu item checkbox tertiary label.",
23933
+ "description": "slot for menu item tertiary label.",
24048
23934
  "name": "leading-text-tertiary-label",
24049
23935
  "inheritedFrom": {
24050
23936
  "name": "ListItem",
@@ -24052,7 +23938,7 @@
24052
23938
  }
24053
23939
  },
24054
23940
  {
24055
- "description": "slot for menu item checkbox side header text.",
23941
+ "description": "slot for menu item side header text.",
24056
23942
  "name": "trailing-text-side-header",
24057
23943
  "inheritedFrom": {
24058
23944
  "name": "ListItem",
@@ -24060,7 +23946,7 @@
24060
23946
  }
24061
23947
  },
24062
23948
  {
24063
- "description": "slot for menu item checkbox subline text.",
23949
+ "description": "slot for menu item subline text.",
24064
23950
  "name": "trailing-text-subline",
24065
23951
  "inheritedFrom": {
24066
23952
  "name": "ListItem",
@@ -24068,7 +23954,7 @@
24068
23954
  }
24069
23955
  },
24070
23956
  {
24071
- "description": "slot for menu item checkbox controls to appear of trailing end.",
23957
+ "description": "slot for menu item controls to appear of trailing end.",
24072
23958
  "name": "trailing-controls",
24073
23959
  "inheritedFrom": {
24074
23960
  "name": "ListItem",
@@ -24085,93 +23971,6 @@
24085
23971
  }
24086
23972
  ],
24087
23973
  "members": [
24088
- {
24089
- "kind": "field",
24090
- "name": "checked",
24091
- "type": {
24092
- "text": "boolean"
24093
- },
24094
- "default": "false",
24095
- "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
24096
- "attribute": "checked",
24097
- "reflects": true
24098
- },
24099
- {
24100
- "kind": "field",
24101
- "name": "indicator",
24102
- "type": {
24103
- "text": "Indicator"
24104
- },
24105
- "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
24106
- "default": "'checkbox'",
24107
- "attribute": "indicator",
24108
- "reflects": true
24109
- },
24110
- {
24111
- "kind": "method",
24112
- "name": "handleMouseClick",
24113
- "privacy": "private",
24114
- "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled or soft-disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles checked if uncontrolled, and dispatches the 'change' event."
24115
- },
24116
- {
24117
- "kind": "method",
24118
- "name": "staticCheckbox",
24119
- "privacy": "private",
24120
- "return": {
24121
- "type": {
24122
- "text": ""
24123
- }
24124
- },
24125
- "description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
24126
- },
24127
- {
24128
- "kind": "method",
24129
- "name": "staticToggle",
24130
- "privacy": "private",
24131
- "return": {
24132
- "type": {
24133
- "text": ""
24134
- }
24135
- },
24136
- "description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
24137
- },
24138
- {
24139
- "kind": "method",
24140
- "name": "getCheckmarkIcon",
24141
- "privacy": "private",
24142
- "return": {
24143
- "type": {
24144
- "text": ""
24145
- }
24146
- },
24147
- "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
24148
- },
24149
- {
24150
- "kind": "field",
24151
- "name": "controlTypeProviderContext",
24152
- "privacy": "private",
24153
- "readonly": true,
24154
- "inheritedFrom": {
24155
- "name": "ControlTypeMixin",
24156
- "module": "utils/mixins/ControlTypeMixin.js"
24157
- }
24158
- },
24159
- {
24160
- "kind": "field",
24161
- "name": "controlType",
24162
- "type": {
24163
- "text": "ControlType | undefined"
24164
- },
24165
- "privacy": "public",
24166
- "description": "Indicates whether the component is controlled or uncontrolled.\n- 'controlled' it will not handle any interaction itself, e.g. toggling a checkbox.\n- 'uncontrolled' it will handle interactions\n- undefined it will get the value from controltypeprovider, or default to 'uncontrolled'",
24167
- "default": "undefined",
24168
- "attribute": "control-type",
24169
- "reflects": true,
24170
- "inheritedFrom": {
24171
- "name": "ControlTypeMixin",
24172
- "module": "utils/mixins/ControlTypeMixin.js"
24173
- }
24174
- },
24175
23974
  {
24176
23975
  "kind": "field",
24177
23976
  "name": "arrowPosition",
@@ -24180,11 +23979,7 @@
24180
23979
  },
24181
23980
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
24182
23981
  "attribute": "arrow-position",
24183
- "reflects": true,
24184
- "inheritedFrom": {
24185
- "name": "MenuItem",
24186
- "module": "components/menuitem/menuitem.component.js"
24187
- }
23982
+ "reflects": true
24188
23983
  },
24189
23984
  {
24190
23985
  "kind": "field",
@@ -24194,11 +23989,7 @@
24194
23989
  },
24195
23990
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
24196
23991
  "attribute": "arrow-direction",
24197
- "reflects": true,
24198
- "inheritedFrom": {
24199
- "name": "MenuItem",
24200
- "module": "components/menuitem/menuitem.component.js"
24201
- }
23992
+ "reflects": true
24202
23993
  },
24203
23994
  {
24204
23995
  "kind": "field",
@@ -24208,11 +23999,7 @@
24208
23999
  },
24209
24000
  "description": "The name attribute is used to identify the menu item when it is selected.",
24210
24001
  "attribute": "name",
24211
- "reflects": true,
24212
- "inheritedFrom": {
24213
- "name": "MenuItem",
24214
- "module": "components/menuitem/menuitem.component.js"
24215
- }
24002
+ "reflects": true
24216
24003
  },
24217
24004
  {
24218
24005
  "kind": "field",
@@ -24222,11 +24009,7 @@
24222
24009
  },
24223
24010
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
24224
24011
  "attribute": "value",
24225
- "reflects": true,
24226
- "inheritedFrom": {
24227
- "name": "MenuItem",
24228
- "module": "components/menuitem/menuitem.component.js"
24229
- }
24012
+ "reflects": true
24230
24013
  },
24231
24014
  {
24232
24015
  "kind": "method",
@@ -24270,11 +24053,7 @@
24270
24053
  "description": "The keyboard event that triggered the action."
24271
24054
  }
24272
24055
  ],
24273
- "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
24274
- "inheritedFrom": {
24275
- "name": "MenuItem",
24276
- "module": "components/menuitem/menuitem.component.js"
24277
- }
24056
+ "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
24278
24057
  },
24279
24058
  {
24280
24059
  "kind": "method",
@@ -24605,15 +24384,7 @@
24605
24384
  ],
24606
24385
  "events": [
24607
24386
  {
24608
- "name": "change",
24609
- "type": {
24610
- "text": "Event"
24611
- },
24612
- "description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
24613
- "reactName": "onChange"
24614
- },
24615
- {
24616
- "description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
24387
+ "description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
24617
24388
  "name": "click",
24618
24389
  "reactName": "onClick",
24619
24390
  "inheritedFrom": {
@@ -24621,15 +24392,6 @@
24621
24392
  "module": "src/components/listitem/listitem.component.ts"
24622
24393
  }
24623
24394
  },
24624
- {
24625
- "description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
24626
- "name": "focus",
24627
- "reactName": "onFocus",
24628
- "inheritedFrom": {
24629
- "name": "ListItem",
24630
- "module": "src/components/listitem/listitem.component.ts"
24631
- }
24632
- },
24633
24395
  {
24634
24396
  "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
24635
24397
  "name": "keydown",
@@ -24648,6 +24410,15 @@
24648
24410
  "module": "src/components/listitem/listitem.component.ts"
24649
24411
  }
24650
24412
  },
24413
+ {
24414
+ "description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
24415
+ "name": "focus",
24416
+ "reactName": "onFocus",
24417
+ "inheritedFrom": {
24418
+ "name": "ListItem",
24419
+ "module": "src/components/listitem/listitem.component.ts"
24420
+ }
24421
+ },
24651
24422
  {
24652
24423
  "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
24653
24424
  "name": "enabled",
@@ -24687,258 +24458,409 @@
24687
24458
  ],
24688
24459
  "attributes": [
24689
24460
  {
24690
- "name": "checked",
24461
+ "name": "arrow-position",
24691
24462
  "type": {
24692
- "text": "boolean"
24463
+ "text": "ArrowPositions | undefined"
24693
24464
  },
24694
- "default": "false",
24695
- "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
24696
- "fieldName": "checked"
24465
+ "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
24466
+ "fieldName": "arrowPosition"
24697
24467
  },
24698
24468
  {
24699
- "name": "indicator",
24469
+ "name": "arrow-direction",
24700
24470
  "type": {
24701
- "text": "Indicator"
24471
+ "text": "ArrowDirections | undefined"
24702
24472
  },
24703
- "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
24704
- "default": "'checkbox'",
24705
- "fieldName": "indicator"
24473
+ "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
24474
+ "fieldName": "arrowDirection"
24706
24475
  },
24707
24476
  {
24708
- "name": "control-type",
24477
+ "name": "name",
24709
24478
  "type": {
24710
- "text": "ControlType | undefined"
24479
+ "text": "string | undefined"
24711
24480
  },
24712
- "description": "Indicates whether the component is controlled or uncontrolled.\n- 'controlled' it will not handle any interaction itself, e.g. toggling a checkbox.\n- 'uncontrolled' it will handle interactions\n- undefined it will get the value from controltypeprovider, or default to 'uncontrolled'",
24481
+ "description": "The name attribute is used to identify the menu item when it is selected.",
24482
+ "fieldName": "name"
24483
+ },
24484
+ {
24485
+ "name": "value",
24486
+ "type": {
24487
+ "text": "string | undefined"
24488
+ },
24489
+ "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
24490
+ "fieldName": "value"
24491
+ },
24492
+ {
24493
+ "name": "disabled",
24494
+ "type": {
24495
+ "text": "boolean | undefined"
24496
+ },
24497
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
24713
24498
  "default": "undefined",
24714
- "fieldName": "controlType",
24499
+ "fieldName": "disabled",
24715
24500
  "inheritedFrom": {
24716
- "name": "ControlTypeMixin",
24717
- "module": "src/utils/mixins/ControlTypeMixin.ts"
24501
+ "name": "ListItem",
24502
+ "module": "src/components/listitem/listitem.component.ts"
24718
24503
  }
24719
24504
  },
24720
24505
  {
24721
- "name": "arrow-position",
24506
+ "name": "tabIndex",
24722
24507
  "type": {
24723
- "text": "ArrowPositions | undefined"
24508
+ "text": "number"
24724
24509
  },
24725
- "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
24726
- "fieldName": "arrowPosition",
24510
+ "default": "0",
24511
+ "description": "This property specifies the tab order of the element.",
24512
+ "fieldName": "tabIndex",
24727
24513
  "inheritedFrom": {
24728
- "name": "MenuItem",
24729
- "module": "src/components/menuitem/menuitem.component.ts"
24514
+ "name": "ListItem",
24515
+ "module": "src/components/listitem/listitem.component.ts"
24730
24516
  }
24731
24517
  },
24732
24518
  {
24733
- "name": "arrow-direction",
24519
+ "name": "variant",
24734
24520
  "type": {
24735
- "text": "ArrowDirections | undefined"
24521
+ "text": "ListItemVariants"
24736
24522
  },
24737
- "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
24738
- "fieldName": "arrowDirection",
24523
+ "description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
24524
+ "default": "'full-width'",
24525
+ "fieldName": "variant",
24739
24526
  "inheritedFrom": {
24740
- "name": "MenuItem",
24741
- "module": "src/components/menuitem/menuitem.component.ts"
24527
+ "name": "ListItem",
24528
+ "module": "src/components/listitem/listitem.component.ts"
24529
+ }
24530
+ },
24531
+ {
24532
+ "name": "label",
24533
+ "type": {
24534
+ "text": "string | undefined"
24535
+ },
24536
+ "description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
24537
+ "fieldName": "label",
24538
+ "inheritedFrom": {
24539
+ "name": "ListItem",
24540
+ "module": "src/components/listitem/listitem.component.ts"
24541
+ }
24542
+ },
24543
+ {
24544
+ "name": "secondary-label",
24545
+ "type": {
24546
+ "text": "string | undefined"
24547
+ },
24548
+ "description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
24549
+ "fieldName": "secondaryLabel",
24550
+ "inheritedFrom": {
24551
+ "name": "ListItem",
24552
+ "module": "src/components/listitem/listitem.component.ts"
24553
+ }
24554
+ },
24555
+ {
24556
+ "name": "tertiary-label",
24557
+ "type": {
24558
+ "text": "string | undefined"
24559
+ },
24560
+ "description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
24561
+ "fieldName": "tertiaryLabel",
24562
+ "inheritedFrom": {
24563
+ "name": "ListItem",
24564
+ "module": "src/components/listitem/listitem.component.ts"
24565
+ }
24566
+ },
24567
+ {
24568
+ "name": "side-header-text",
24569
+ "type": {
24570
+ "text": "string | undefined"
24571
+ },
24572
+ "description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
24573
+ "fieldName": "sideHeaderText",
24574
+ "inheritedFrom": {
24575
+ "name": "ListItem",
24576
+ "module": "src/components/listitem/listitem.component.ts"
24577
+ }
24578
+ },
24579
+ {
24580
+ "name": "subline-text",
24581
+ "type": {
24582
+ "text": "string | undefined"
24583
+ },
24584
+ "description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
24585
+ "fieldName": "sublineText",
24586
+ "inheritedFrom": {
24587
+ "name": "ListItem",
24588
+ "module": "src/components/listitem/listitem.component.ts"
24589
+ }
24590
+ },
24591
+ {
24592
+ "name": "soft-disabled",
24593
+ "type": {
24594
+ "text": "boolean | undefined"
24595
+ },
24596
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
24597
+ "default": "undefined",
24598
+ "fieldName": "softDisabled",
24599
+ "inheritedFrom": {
24600
+ "name": "ListItem",
24601
+ "module": "src/components/listitem/listitem.component.ts"
24602
+ }
24603
+ },
24604
+ {
24605
+ "name": "data-index",
24606
+ "type": {
24607
+ "text": "number | undefined"
24608
+ },
24609
+ "description": "Data attribute to define the index of the list item in a list.\nThis also set the `aria-posinset` attribute for accessibility purposes.\n\nIt is required when the list item is used inside a virtualized list where the items are not sequentially rendered.\nIt should be a zero-based index.",
24610
+ "default": "undefined",
24611
+ "fieldName": "dataIndex",
24612
+ "inheritedFrom": {
24613
+ "name": "ListItem",
24614
+ "module": "src/components/listitem/listitem.component.ts"
24615
+ }
24616
+ },
24617
+ {
24618
+ "name": "active",
24619
+ "type": {
24620
+ "text": "boolean | undefined"
24621
+ },
24622
+ "description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
24623
+ "default": "undefined",
24624
+ "fieldName": "active",
24625
+ "inheritedFrom": {
24626
+ "name": "ListItem",
24627
+ "module": "src/components/listitem/listitem.component.ts"
24628
+ }
24629
+ }
24630
+ ],
24631
+ "superclass": {
24632
+ "name": "ListItem",
24633
+ "module": "/src/components/listitem/listitem.component"
24634
+ },
24635
+ "tagName": "mdc-menuitem",
24636
+ "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * **Note**: If a menuitem contains a long text, it is recommended to create a tooltip for the menuitem that displays the full text on hover.\n * Consumers need to add a unique ID to this menuitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the menuitem using the `triggerID` attribute.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the menuitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the menuitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)\n *\n * @csspart leading - Allows customization of the leading part.\n * @csspart leading-arrow - Allows customization of leading arrow icon.\n * @csspart leading-text - Allows customization of the leading text part.\n * @csspart trailing - Allows customization of the trailing part.\n * @csspart trailing-arrow - Allows customization of trailing arrow icon.\n * @csspart trailing-text - Allows customization of the trailing text part.\n */",
24637
+ "customElement": true,
24638
+ "cssProperties": [
24639
+ {
24640
+ "description": "Allows customization of the default background color.",
24641
+ "name": "--mdc-listitem-default-background-color",
24642
+ "inheritedFrom": {
24643
+ "name": "ListItem",
24644
+ "module": "src/components/listitem/listitem.component.ts"
24645
+ }
24646
+ },
24647
+ {
24648
+ "description": "Allows customization of the background color on hover.",
24649
+ "name": "--mdc-listitem-background-color-hover",
24650
+ "inheritedFrom": {
24651
+ "name": "ListItem",
24652
+ "module": "src/components/listitem/listitem.component.ts"
24653
+ }
24654
+ },
24655
+ {
24656
+ "description": "Allows customization of the background color when pressed.",
24657
+ "name": "--mdc-listitem-background-color-active",
24658
+ "inheritedFrom": {
24659
+ "name": "ListItem",
24660
+ "module": "src/components/listitem/listitem.component.ts"
24661
+ }
24662
+ },
24663
+ {
24664
+ "description": "Allows customization of the primary label, side header and subline text slot color.",
24665
+ "name": "--mdc-listitem-primary-label-color",
24666
+ "inheritedFrom": {
24667
+ "name": "ListItem",
24668
+ "module": "src/components/listitem/listitem.component.ts"
24669
+ }
24670
+ },
24671
+ {
24672
+ "description": "Allows customization of the secondary and tertiary label text slot color.",
24673
+ "name": "--mdc-listitem-secondary-label-color",
24674
+ "inheritedFrom": {
24675
+ "name": "ListItem",
24676
+ "module": "src/components/listitem/listitem.component.ts"
24677
+ }
24678
+ },
24679
+ {
24680
+ "description": "Allows customization of the disabled color.",
24681
+ "name": "--mdc-listitem-disabled-color",
24682
+ "inheritedFrom": {
24683
+ "name": "ListItem",
24684
+ "module": "src/components/listitem/listitem.component.ts"
24685
+ }
24686
+ },
24687
+ {
24688
+ "description": "Allows customization of column gap.",
24689
+ "name": "--mdc-listitem-column-gap",
24690
+ "inheritedFrom": {
24691
+ "name": "ListItem",
24692
+ "module": "src/components/listitem/listitem.component.ts"
24693
+ }
24694
+ },
24695
+ {
24696
+ "description": "Allows customization of padding left and right.",
24697
+ "name": "--mdc-listitem-padding-left-right",
24698
+ "inheritedFrom": {
24699
+ "name": "ListItem",
24700
+ "module": "src/components/listitem/listitem.component.ts"
24701
+ }
24702
+ },
24703
+ {
24704
+ "description": "Allows customization of padding top and bottom.",
24705
+ "name": "--mdc-listitem-padding-top-bottom",
24706
+ "inheritedFrom": {
24707
+ "name": "ListItem",
24708
+ "module": "src/components/listitem/listitem.component.ts"
24709
+ }
24710
+ },
24711
+ {
24712
+ "description": "Allows customization of the cursor.",
24713
+ "name": "--mdc-listitem-cursor",
24714
+ "inheritedFrom": {
24715
+ "name": "ListItem",
24716
+ "module": "src/components/listitem/listitem.component.ts"
24717
+ }
24718
+ },
24719
+ {
24720
+ "description": "Allows customization of the width of the list item.",
24721
+ "name": "--mdc-listitem-width",
24722
+ "inheritedFrom": {
24723
+ "name": "ListItem",
24724
+ "module": "src/components/listitem/listitem.component.ts"
24742
24725
  }
24743
24726
  },
24744
24727
  {
24745
- "name": "name",
24746
- "type": {
24747
- "text": "string | undefined"
24748
- },
24749
- "description": "The name attribute is used to identify the menu item when it is selected.",
24750
- "fieldName": "name",
24751
- "inheritedFrom": {
24752
- "name": "MenuItem",
24753
- "module": "src/components/menuitem/menuitem.component.ts"
24754
- }
24728
+ "description": "Allows customization of the height of the list item.",
24729
+ "name": "--mdc-listitem-height",
24730
+ "inheritedFrom": {
24731
+ "name": "ListItem",
24732
+ "module": "src/components/listitem/listitem.component.ts"
24733
+ }
24734
+ }
24735
+ ]
24736
+ }
24737
+ ],
24738
+ "exports": [
24739
+ {
24740
+ "kind": "js",
24741
+ "name": "default",
24742
+ "declaration": {
24743
+ "name": "MenuItem",
24744
+ "module": "components/menuitem/menuitem.component.js"
24745
+ }
24746
+ }
24747
+ ]
24748
+ },
24749
+ {
24750
+ "kind": "javascript-module",
24751
+ "path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
24752
+ "declarations": [
24753
+ {
24754
+ "kind": "class",
24755
+ "description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
24756
+ "name": "MenuItemCheckbox",
24757
+ "cssProperties": [
24758
+ {
24759
+ "description": "Controls the padding on the left and right of the menuitemcheckbox.",
24760
+ "name": "--mdc-listitem-padding-left-and-right"
24755
24761
  },
24756
24762
  {
24757
- "name": "value",
24758
- "type": {
24759
- "text": "string | undefined"
24760
- },
24761
- "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
24762
- "fieldName": "value",
24763
+ "description": "Allows customization of the default background color.",
24764
+ "name": "--mdc-listitem-default-background-color",
24763
24765
  "inheritedFrom": {
24764
- "name": "MenuItem",
24765
- "module": "src/components/menuitem/menuitem.component.ts"
24766
+ "name": "ListItem",
24767
+ "module": "src/components/listitem/listitem.component.ts"
24766
24768
  }
24767
24769
  },
24768
24770
  {
24769
- "name": "disabled",
24770
- "type": {
24771
- "text": "boolean | undefined"
24772
- },
24773
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
24774
- "default": "undefined",
24775
- "fieldName": "disabled",
24771
+ "description": "Allows customization of the background color on hover.",
24772
+ "name": "--mdc-listitem-background-color-hover",
24776
24773
  "inheritedFrom": {
24777
24774
  "name": "ListItem",
24778
24775
  "module": "src/components/listitem/listitem.component.ts"
24779
24776
  }
24780
24777
  },
24781
24778
  {
24782
- "name": "tabIndex",
24783
- "type": {
24784
- "text": "number"
24785
- },
24786
- "default": "0",
24787
- "description": "This property specifies the tab order of the element.",
24788
- "fieldName": "tabIndex",
24779
+ "description": "Allows customization of the background color when pressed.",
24780
+ "name": "--mdc-listitem-background-color-active",
24789
24781
  "inheritedFrom": {
24790
24782
  "name": "ListItem",
24791
24783
  "module": "src/components/listitem/listitem.component.ts"
24792
24784
  }
24793
24785
  },
24794
24786
  {
24795
- "name": "variant",
24796
- "type": {
24797
- "text": "ListItemVariants"
24798
- },
24799
- "description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
24800
- "default": "'full-width'",
24801
- "fieldName": "variant",
24787
+ "description": "Allows customization of the primary label, side header and subline text slot color.",
24788
+ "name": "--mdc-listitem-primary-label-color",
24802
24789
  "inheritedFrom": {
24803
24790
  "name": "ListItem",
24804
24791
  "module": "src/components/listitem/listitem.component.ts"
24805
24792
  }
24806
24793
  },
24807
24794
  {
24808
- "name": "label",
24809
- "type": {
24810
- "text": "string | undefined"
24811
- },
24812
- "description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
24813
- "fieldName": "label",
24795
+ "description": "Allows customization of the secondary and tertiary label text slot color.",
24796
+ "name": "--mdc-listitem-secondary-label-color",
24814
24797
  "inheritedFrom": {
24815
24798
  "name": "ListItem",
24816
24799
  "module": "src/components/listitem/listitem.component.ts"
24817
24800
  }
24818
24801
  },
24819
24802
  {
24820
- "name": "secondary-label",
24821
- "type": {
24822
- "text": "string | undefined"
24823
- },
24824
- "description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
24825
- "fieldName": "secondaryLabel",
24803
+ "description": "Allows customization of the disabled color.",
24804
+ "name": "--mdc-listitem-disabled-color",
24826
24805
  "inheritedFrom": {
24827
24806
  "name": "ListItem",
24828
24807
  "module": "src/components/listitem/listitem.component.ts"
24829
24808
  }
24830
24809
  },
24831
24810
  {
24832
- "name": "tertiary-label",
24833
- "type": {
24834
- "text": "string | undefined"
24835
- },
24836
- "description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
24837
- "fieldName": "tertiaryLabel",
24811
+ "description": "Allows customization of column gap.",
24812
+ "name": "--mdc-listitem-column-gap",
24838
24813
  "inheritedFrom": {
24839
24814
  "name": "ListItem",
24840
24815
  "module": "src/components/listitem/listitem.component.ts"
24841
24816
  }
24842
24817
  },
24843
24818
  {
24844
- "name": "side-header-text",
24845
- "type": {
24846
- "text": "string | undefined"
24847
- },
24848
- "description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
24849
- "fieldName": "sideHeaderText",
24819
+ "description": "Allows customization of padding left and right.",
24820
+ "name": "--mdc-listitem-padding-left-right",
24850
24821
  "inheritedFrom": {
24851
24822
  "name": "ListItem",
24852
24823
  "module": "src/components/listitem/listitem.component.ts"
24853
24824
  }
24854
24825
  },
24855
24826
  {
24856
- "name": "subline-text",
24857
- "type": {
24858
- "text": "string | undefined"
24859
- },
24860
- "description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
24861
- "fieldName": "sublineText",
24827
+ "description": "Allows customization of padding top and bottom.",
24828
+ "name": "--mdc-listitem-padding-top-bottom",
24862
24829
  "inheritedFrom": {
24863
24830
  "name": "ListItem",
24864
24831
  "module": "src/components/listitem/listitem.component.ts"
24865
24832
  }
24866
24833
  },
24867
24834
  {
24868
- "name": "soft-disabled",
24869
- "type": {
24870
- "text": "boolean | undefined"
24871
- },
24872
- "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
24873
- "default": "undefined",
24874
- "fieldName": "softDisabled",
24835
+ "description": "Allows customization of the cursor.",
24836
+ "name": "--mdc-listitem-cursor",
24875
24837
  "inheritedFrom": {
24876
24838
  "name": "ListItem",
24877
24839
  "module": "src/components/listitem/listitem.component.ts"
24878
24840
  }
24879
24841
  },
24880
24842
  {
24881
- "name": "data-index",
24882
- "type": {
24883
- "text": "number | undefined"
24884
- },
24885
- "description": "Data attribute to define the index of the list item in a list.\nThis also set the `aria-posinset` attribute for accessibility purposes.\n\nIt is required when the list item is used inside a virtualized list where the items are not sequentially rendered.\nIt should be a zero-based index.",
24886
- "default": "undefined",
24887
- "fieldName": "dataIndex",
24843
+ "description": "Allows customization of the width of the list item.",
24844
+ "name": "--mdc-listitem-width",
24888
24845
  "inheritedFrom": {
24889
24846
  "name": "ListItem",
24890
24847
  "module": "src/components/listitem/listitem.component.ts"
24891
24848
  }
24892
24849
  },
24893
24850
  {
24894
- "name": "active",
24895
- "type": {
24896
- "text": "boolean | undefined"
24897
- },
24898
- "description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
24899
- "default": "undefined",
24900
- "fieldName": "active",
24851
+ "description": "Allows customization of the height of the list item.",
24852
+ "name": "--mdc-listitem-height",
24901
24853
  "inheritedFrom": {
24902
24854
  "name": "ListItem",
24903
24855
  "module": "src/components/listitem/listitem.component.ts"
24904
24856
  }
24905
24857
  }
24906
24858
  ],
24907
- "mixins": [
24908
- {
24909
- "name": "ControlTypeMixin",
24910
- "module": "/src/utils/mixins/ControlTypeMixin"
24911
- }
24912
- ],
24913
- "superclass": {
24914
- "name": "MenuItem",
24915
- "module": "/src/components/menuitem/menuitem.component"
24916
- },
24917
- "tagName": "mdc-menuitemcheckbox",
24918
- "jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n *\n * @cssproperty --mdc-listitem-padding-left-and-right - Controls the padding on the left and right of the menuitemcheckbox.\n *\n * @csspart checkmark-icon - Allows customization of the checkmark icon.\n * @csspart leading - Allows customization of the leading part.\n * @csspart leading-arrow - Allows customization of leading arrow icon.\n * @csspart leading-text - Allows customization of the leading text part.\n * @csspart trailing - Allows customization of the trailing part.\n * @csspart trailing-arrow - Allows customization of trailing arrow icon.\n * @csspart trailing-text - Allows customization of the trailing text part.\n */",
24919
- "customElement": true
24920
- }
24921
- ],
24922
- "exports": [
24923
- {
24924
- "kind": "js",
24925
- "name": "default",
24926
- "declaration": {
24927
- "name": "MenuItemCheckbox",
24928
- "module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
24929
- }
24930
- }
24931
- ]
24932
- },
24933
- {
24934
- "kind": "javascript-module",
24935
- "path": "components/menuitem/menuitem.component.js",
24936
- "declarations": [
24937
- {
24938
- "kind": "class",
24939
- "description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\n**Note**: If a menuitem contains a long text, it is recommended to create a tooltip for the menuitem that displays the full text on hover.\nConsumers need to add a unique ID to this menuitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the menuitem using the `triggerID` attribute.",
24940
- "name": "MenuItem",
24941
24859
  "cssParts": [
24860
+ {
24861
+ "description": "Allows customization of the checkmark icon.",
24862
+ "name": "checkmark-icon"
24863
+ },
24942
24864
  {
24943
24865
  "description": "Allows customization of the leading part.",
24944
24866
  "name": "leading",
@@ -24949,7 +24871,11 @@
24949
24871
  },
24950
24872
  {
24951
24873
  "description": "Allows customization of leading arrow icon.",
24952
- "name": "leading-arrow"
24874
+ "name": "leading-arrow",
24875
+ "inheritedFrom": {
24876
+ "name": "MenuItem",
24877
+ "module": "src/components/menuitem/menuitem.component.ts"
24878
+ }
24953
24879
  },
24954
24880
  {
24955
24881
  "description": "Allows customization of the leading text part.",
@@ -24969,7 +24895,11 @@
24969
24895
  },
24970
24896
  {
24971
24897
  "description": "Allows customization of trailing arrow icon.",
24972
- "name": "trailing-arrow"
24898
+ "name": "trailing-arrow",
24899
+ "inheritedFrom": {
24900
+ "name": "MenuItem",
24901
+ "module": "src/components/menuitem/menuitem.component.ts"
24902
+ }
24973
24903
  },
24974
24904
  {
24975
24905
  "description": "Allows customization of the trailing text part.",
@@ -24982,7 +24912,7 @@
24982
24912
  ],
24983
24913
  "slots": [
24984
24914
  {
24985
- "description": "slot for menu item controls to appear of leading end.",
24915
+ "description": "slot for menu item checkbox controls to appear of leading end.",
24986
24916
  "name": "leading-controls",
24987
24917
  "inheritedFrom": {
24988
24918
  "name": "ListItem",
@@ -24990,7 +24920,7 @@
24990
24920
  }
24991
24921
  },
24992
24922
  {
24993
- "description": "slot for menu item primary label.",
24923
+ "description": "slot for menu item checkbox primary label.",
24994
24924
  "name": "leading-text-primary-label",
24995
24925
  "inheritedFrom": {
24996
24926
  "name": "ListItem",
@@ -24998,7 +24928,7 @@
24998
24928
  }
24999
24929
  },
25000
24930
  {
25001
- "description": "slot for menu item secondary label.",
24931
+ "description": "slot for menu item checkbox secondary label.",
25002
24932
  "name": "leading-text-secondary-label",
25003
24933
  "inheritedFrom": {
25004
24934
  "name": "ListItem",
@@ -25006,7 +24936,7 @@
25006
24936
  }
25007
24937
  },
25008
24938
  {
25009
- "description": "slot for menu item tertiary label.",
24939
+ "description": "slot for menu item checkbox tertiary label.",
25010
24940
  "name": "leading-text-tertiary-label",
25011
24941
  "inheritedFrom": {
25012
24942
  "name": "ListItem",
@@ -25014,7 +24944,7 @@
25014
24944
  }
25015
24945
  },
25016
24946
  {
25017
- "description": "slot for menu item side header text.",
24947
+ "description": "slot for menu item checkbox side header text.",
25018
24948
  "name": "trailing-text-side-header",
25019
24949
  "inheritedFrom": {
25020
24950
  "name": "ListItem",
@@ -25022,7 +24952,7 @@
25022
24952
  }
25023
24953
  },
25024
24954
  {
25025
- "description": "slot for menu item subline text.",
24955
+ "description": "slot for menu item checkbox subline text.",
25026
24956
  "name": "trailing-text-subline",
25027
24957
  "inheritedFrom": {
25028
24958
  "name": "ListItem",
@@ -25030,7 +24960,7 @@
25030
24960
  }
25031
24961
  },
25032
24962
  {
25033
- "description": "slot for menu item controls to appear of trailing end.",
24963
+ "description": "slot for menu item checkbox controls to appear of trailing end.",
25034
24964
  "name": "trailing-controls",
25035
24965
  "inheritedFrom": {
25036
24966
  "name": "ListItem",
@@ -25047,6 +24977,93 @@
25047
24977
  }
25048
24978
  ],
25049
24979
  "members": [
24980
+ {
24981
+ "kind": "field",
24982
+ "name": "checked",
24983
+ "type": {
24984
+ "text": "boolean"
24985
+ },
24986
+ "default": "false",
24987
+ "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
24988
+ "attribute": "checked",
24989
+ "reflects": true
24990
+ },
24991
+ {
24992
+ "kind": "field",
24993
+ "name": "indicator",
24994
+ "type": {
24995
+ "text": "Indicator"
24996
+ },
24997
+ "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
24998
+ "default": "'checkbox'",
24999
+ "attribute": "indicator",
25000
+ "reflects": true
25001
+ },
25002
+ {
25003
+ "kind": "method",
25004
+ "name": "handleMouseClick",
25005
+ "privacy": "private",
25006
+ "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled or soft-disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles checked if uncontrolled, and dispatches the 'change' event."
25007
+ },
25008
+ {
25009
+ "kind": "method",
25010
+ "name": "staticCheckbox",
25011
+ "privacy": "private",
25012
+ "return": {
25013
+ "type": {
25014
+ "text": ""
25015
+ }
25016
+ },
25017
+ "description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
25018
+ },
25019
+ {
25020
+ "kind": "method",
25021
+ "name": "staticToggle",
25022
+ "privacy": "private",
25023
+ "return": {
25024
+ "type": {
25025
+ "text": ""
25026
+ }
25027
+ },
25028
+ "description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
25029
+ },
25030
+ {
25031
+ "kind": "method",
25032
+ "name": "getCheckmarkIcon",
25033
+ "privacy": "private",
25034
+ "return": {
25035
+ "type": {
25036
+ "text": ""
25037
+ }
25038
+ },
25039
+ "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
25040
+ },
25041
+ {
25042
+ "kind": "field",
25043
+ "name": "controlTypeProviderContext",
25044
+ "privacy": "private",
25045
+ "readonly": true,
25046
+ "inheritedFrom": {
25047
+ "name": "ControlTypeMixin",
25048
+ "module": "utils/mixins/ControlTypeMixin.js"
25049
+ }
25050
+ },
25051
+ {
25052
+ "kind": "field",
25053
+ "name": "controlType",
25054
+ "type": {
25055
+ "text": "ControlType | undefined"
25056
+ },
25057
+ "privacy": "public",
25058
+ "description": "Indicates whether the component is controlled or uncontrolled.\n- 'controlled' it will not handle any interaction itself, e.g. toggling a checkbox.\n- 'uncontrolled' it will handle interactions\n- undefined it will get the value from controltypeprovider, or default to 'uncontrolled'",
25059
+ "default": "undefined",
25060
+ "attribute": "control-type",
25061
+ "reflects": true,
25062
+ "inheritedFrom": {
25063
+ "name": "ControlTypeMixin",
25064
+ "module": "utils/mixins/ControlTypeMixin.js"
25065
+ }
25066
+ },
25050
25067
  {
25051
25068
  "kind": "field",
25052
25069
  "name": "arrowPosition",
@@ -25055,7 +25072,11 @@
25055
25072
  },
25056
25073
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
25057
25074
  "attribute": "arrow-position",
25058
- "reflects": true
25075
+ "reflects": true,
25076
+ "inheritedFrom": {
25077
+ "name": "MenuItem",
25078
+ "module": "components/menuitem/menuitem.component.js"
25079
+ }
25059
25080
  },
25060
25081
  {
25061
25082
  "kind": "field",
@@ -25065,7 +25086,11 @@
25065
25086
  },
25066
25087
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
25067
25088
  "attribute": "arrow-direction",
25068
- "reflects": true
25089
+ "reflects": true,
25090
+ "inheritedFrom": {
25091
+ "name": "MenuItem",
25092
+ "module": "components/menuitem/menuitem.component.js"
25093
+ }
25069
25094
  },
25070
25095
  {
25071
25096
  "kind": "field",
@@ -25075,7 +25100,11 @@
25075
25100
  },
25076
25101
  "description": "The name attribute is used to identify the menu item when it is selected.",
25077
25102
  "attribute": "name",
25078
- "reflects": true
25103
+ "reflects": true,
25104
+ "inheritedFrom": {
25105
+ "name": "MenuItem",
25106
+ "module": "components/menuitem/menuitem.component.js"
25107
+ }
25079
25108
  },
25080
25109
  {
25081
25110
  "kind": "field",
@@ -25085,7 +25114,11 @@
25085
25114
  },
25086
25115
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
25087
25116
  "attribute": "value",
25088
- "reflects": true
25117
+ "reflects": true,
25118
+ "inheritedFrom": {
25119
+ "name": "MenuItem",
25120
+ "module": "components/menuitem/menuitem.component.js"
25121
+ }
25089
25122
  },
25090
25123
  {
25091
25124
  "kind": "method",
@@ -25129,7 +25162,11 @@
25129
25162
  "description": "The keyboard event that triggered the action."
25130
25163
  }
25131
25164
  ],
25132
- "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
25165
+ "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
25166
+ "inheritedFrom": {
25167
+ "name": "MenuItem",
25168
+ "module": "components/menuitem/menuitem.component.js"
25169
+ }
25133
25170
  },
25134
25171
  {
25135
25172
  "kind": "method",
@@ -25460,7 +25497,15 @@
25460
25497
  ],
25461
25498
  "events": [
25462
25499
  {
25463
- "description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
25500
+ "name": "change",
25501
+ "type": {
25502
+ "text": "Event"
25503
+ },
25504
+ "description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
25505
+ "reactName": "onChange"
25506
+ },
25507
+ {
25508
+ "description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
25464
25509
  "name": "click",
25465
25510
  "reactName": "onClick",
25466
25511
  "inheritedFrom": {
@@ -25469,27 +25514,27 @@
25469
25514
  }
25470
25515
  },
25471
25516
  {
25472
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
25473
- "name": "keydown",
25474
- "reactName": "onKeyDown",
25517
+ "description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
25518
+ "name": "focus",
25519
+ "reactName": "onFocus",
25475
25520
  "inheritedFrom": {
25476
25521
  "name": "ListItem",
25477
25522
  "module": "src/components/listitem/listitem.component.ts"
25478
25523
  }
25479
25524
  },
25480
25525
  {
25481
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
25482
- "name": "keyup",
25483
- "reactName": "onKeyUp",
25526
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
25527
+ "name": "keydown",
25528
+ "reactName": "onKeyDown",
25484
25529
  "inheritedFrom": {
25485
25530
  "name": "ListItem",
25486
25531
  "module": "src/components/listitem/listitem.component.ts"
25487
25532
  }
25488
25533
  },
25489
25534
  {
25490
- "description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
25491
- "name": "focus",
25492
- "reactName": "onFocus",
25535
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
25536
+ "name": "keyup",
25537
+ "reactName": "onKeyUp",
25493
25538
  "inheritedFrom": {
25494
25539
  "name": "ListItem",
25495
25540
  "module": "src/components/listitem/listitem.component.ts"
@@ -25533,13 +25578,48 @@
25533
25578
  }
25534
25579
  ],
25535
25580
  "attributes": [
25581
+ {
25582
+ "name": "checked",
25583
+ "type": {
25584
+ "text": "boolean"
25585
+ },
25586
+ "default": "false",
25587
+ "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
25588
+ "fieldName": "checked"
25589
+ },
25590
+ {
25591
+ "name": "indicator",
25592
+ "type": {
25593
+ "text": "Indicator"
25594
+ },
25595
+ "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
25596
+ "default": "'checkbox'",
25597
+ "fieldName": "indicator"
25598
+ },
25599
+ {
25600
+ "name": "control-type",
25601
+ "type": {
25602
+ "text": "ControlType | undefined"
25603
+ },
25604
+ "description": "Indicates whether the component is controlled or uncontrolled.\n- 'controlled' it will not handle any interaction itself, e.g. toggling a checkbox.\n- 'uncontrolled' it will handle interactions\n- undefined it will get the value from controltypeprovider, or default to 'uncontrolled'",
25605
+ "default": "undefined",
25606
+ "fieldName": "controlType",
25607
+ "inheritedFrom": {
25608
+ "name": "ControlTypeMixin",
25609
+ "module": "src/utils/mixins/ControlTypeMixin.ts"
25610
+ }
25611
+ },
25536
25612
  {
25537
25613
  "name": "arrow-position",
25538
25614
  "type": {
25539
25615
  "text": "ArrowPositions | undefined"
25540
25616
  },
25541
25617
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
25542
- "fieldName": "arrowPosition"
25618
+ "fieldName": "arrowPosition",
25619
+ "inheritedFrom": {
25620
+ "name": "MenuItem",
25621
+ "module": "src/components/menuitem/menuitem.component.ts"
25622
+ }
25543
25623
  },
25544
25624
  {
25545
25625
  "name": "arrow-direction",
@@ -25547,7 +25627,11 @@
25547
25627
  "text": "ArrowDirections | undefined"
25548
25628
  },
25549
25629
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
25550
- "fieldName": "arrowDirection"
25630
+ "fieldName": "arrowDirection",
25631
+ "inheritedFrom": {
25632
+ "name": "MenuItem",
25633
+ "module": "src/components/menuitem/menuitem.component.ts"
25634
+ }
25551
25635
  },
25552
25636
  {
25553
25637
  "name": "name",
@@ -25555,7 +25639,11 @@
25555
25639
  "text": "string | undefined"
25556
25640
  },
25557
25641
  "description": "The name attribute is used to identify the menu item when it is selected.",
25558
- "fieldName": "name"
25642
+ "fieldName": "name",
25643
+ "inheritedFrom": {
25644
+ "name": "MenuItem",
25645
+ "module": "src/components/menuitem/menuitem.component.ts"
25646
+ }
25559
25647
  },
25560
25648
  {
25561
25649
  "name": "value",
@@ -25563,7 +25651,11 @@
25563
25651
  "text": "string | undefined"
25564
25652
  },
25565
25653
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
25566
- "fieldName": "value"
25654
+ "fieldName": "value",
25655
+ "inheritedFrom": {
25656
+ "name": "MenuItem",
25657
+ "module": "src/components/menuitem/menuitem.component.ts"
25658
+ }
25567
25659
  },
25568
25660
  {
25569
25661
  "name": "disabled",
@@ -25704,111 +25796,19 @@
25704
25796
  }
25705
25797
  }
25706
25798
  ],
25707
- "superclass": {
25708
- "name": "ListItem",
25709
- "module": "/src/components/listitem/listitem.component"
25710
- },
25711
- "tagName": "mdc-menuitem",
25712
- "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * **Note**: If a menuitem contains a long text, it is recommended to create a tooltip for the menuitem that displays the full text on hover.\n * Consumers need to add a unique ID to this menuitem and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the menuitem using the `triggerID` attribute.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the menuitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the menuitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)\n *\n * @csspart leading - Allows customization of the leading part.\n * @csspart leading-arrow - Allows customization of leading arrow icon.\n * @csspart leading-text - Allows customization of the leading text part.\n * @csspart trailing - Allows customization of the trailing part.\n * @csspart trailing-arrow - Allows customization of trailing arrow icon.\n * @csspart trailing-text - Allows customization of the trailing text part.\n */",
25713
- "customElement": true,
25714
- "cssProperties": [
25715
- {
25716
- "description": "Allows customization of the default background color.",
25717
- "name": "--mdc-listitem-default-background-color",
25718
- "inheritedFrom": {
25719
- "name": "ListItem",
25720
- "module": "src/components/listitem/listitem.component.ts"
25721
- }
25722
- },
25723
- {
25724
- "description": "Allows customization of the background color on hover.",
25725
- "name": "--mdc-listitem-background-color-hover",
25726
- "inheritedFrom": {
25727
- "name": "ListItem",
25728
- "module": "src/components/listitem/listitem.component.ts"
25729
- }
25730
- },
25731
- {
25732
- "description": "Allows customization of the background color when pressed.",
25733
- "name": "--mdc-listitem-background-color-active",
25734
- "inheritedFrom": {
25735
- "name": "ListItem",
25736
- "module": "src/components/listitem/listitem.component.ts"
25737
- }
25738
- },
25739
- {
25740
- "description": "Allows customization of the primary label, side header and subline text slot color.",
25741
- "name": "--mdc-listitem-primary-label-color",
25742
- "inheritedFrom": {
25743
- "name": "ListItem",
25744
- "module": "src/components/listitem/listitem.component.ts"
25745
- }
25746
- },
25747
- {
25748
- "description": "Allows customization of the secondary and tertiary label text slot color.",
25749
- "name": "--mdc-listitem-secondary-label-color",
25750
- "inheritedFrom": {
25751
- "name": "ListItem",
25752
- "module": "src/components/listitem/listitem.component.ts"
25753
- }
25754
- },
25755
- {
25756
- "description": "Allows customization of the disabled color.",
25757
- "name": "--mdc-listitem-disabled-color",
25758
- "inheritedFrom": {
25759
- "name": "ListItem",
25760
- "module": "src/components/listitem/listitem.component.ts"
25761
- }
25762
- },
25763
- {
25764
- "description": "Allows customization of column gap.",
25765
- "name": "--mdc-listitem-column-gap",
25766
- "inheritedFrom": {
25767
- "name": "ListItem",
25768
- "module": "src/components/listitem/listitem.component.ts"
25769
- }
25770
- },
25771
- {
25772
- "description": "Allows customization of padding left and right.",
25773
- "name": "--mdc-listitem-padding-left-right",
25774
- "inheritedFrom": {
25775
- "name": "ListItem",
25776
- "module": "src/components/listitem/listitem.component.ts"
25777
- }
25778
- },
25779
- {
25780
- "description": "Allows customization of padding top and bottom.",
25781
- "name": "--mdc-listitem-padding-top-bottom",
25782
- "inheritedFrom": {
25783
- "name": "ListItem",
25784
- "module": "src/components/listitem/listitem.component.ts"
25785
- }
25786
- },
25787
- {
25788
- "description": "Allows customization of the cursor.",
25789
- "name": "--mdc-listitem-cursor",
25790
- "inheritedFrom": {
25791
- "name": "ListItem",
25792
- "module": "src/components/listitem/listitem.component.ts"
25793
- }
25794
- },
25795
- {
25796
- "description": "Allows customization of the width of the list item.",
25797
- "name": "--mdc-listitem-width",
25798
- "inheritedFrom": {
25799
- "name": "ListItem",
25800
- "module": "src/components/listitem/listitem.component.ts"
25801
- }
25802
- },
25799
+ "mixins": [
25803
25800
  {
25804
- "description": "Allows customization of the height of the list item.",
25805
- "name": "--mdc-listitem-height",
25806
- "inheritedFrom": {
25807
- "name": "ListItem",
25808
- "module": "src/components/listitem/listitem.component.ts"
25809
- }
25801
+ "name": "ControlTypeMixin",
25802
+ "module": "/src/utils/mixins/ControlTypeMixin"
25810
25803
  }
25811
- ]
25804
+ ],
25805
+ "superclass": {
25806
+ "name": "MenuItem",
25807
+ "module": "/src/components/menuitem/menuitem.component"
25808
+ },
25809
+ "tagName": "mdc-menuitemcheckbox",
25810
+ "jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n *\n * @cssproperty --mdc-listitem-padding-left-and-right - Controls the padding on the left and right of the menuitemcheckbox.\n *\n * @csspart checkmark-icon - Allows customization of the checkmark icon.\n * @csspart leading - Allows customization of the leading part.\n * @csspart leading-arrow - Allows customization of leading arrow icon.\n * @csspart leading-text - Allows customization of the leading text part.\n * @csspart trailing - Allows customization of the trailing part.\n * @csspart trailing-arrow - Allows customization of trailing arrow icon.\n * @csspart trailing-text - Allows customization of the trailing text part.\n */",
25811
+ "customElement": true
25812
25812
  }
25813
25813
  ],
25814
25814
  "exports": [
@@ -25816,8 +25816,8 @@
25816
25816
  "kind": "js",
25817
25817
  "name": "default",
25818
25818
  "declaration": {
25819
- "name": "MenuItem",
25820
- "module": "components/menuitem/menuitem.component.js"
25819
+ "name": "MenuItemCheckbox",
25820
+ "module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
25821
25821
  }
25822
25822
  }
25823
25823
  ]
@@ -44875,191 +44875,6 @@
44875
44875
  }
44876
44876
  ]
44877
44877
  },
44878
- {
44879
- "kind": "javascript-module",
44880
- "path": "components/stepper/stepper.component.js",
44881
- "declarations": [
44882
- {
44883
- "kind": "class",
44884
- "description": "Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\nIt provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.",
44885
- "name": "Stepper",
44886
- "slots": [
44887
- {
44888
- "description": "Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.",
44889
- "name": "default"
44890
- }
44891
- ],
44892
- "members": [
44893
- {
44894
- "kind": "field",
44895
- "name": "orientation",
44896
- "type": {
44897
- "text": "OrientationType"
44898
- },
44899
- "description": "The orientation of the stepperconnector (vertical or horizontal)",
44900
- "default": "\"horizontal\"",
44901
- "attribute": "orientation",
44902
- "reflects": true
44903
- },
44904
- {
44905
- "kind": "field",
44906
- "name": "variant",
44907
- "type": {
44908
- "text": "VariantType"
44909
- },
44910
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
44911
- "default": "'inline'",
44912
- "attribute": "variant",
44913
- "reflects": true
44914
- },
44915
- {
44916
- "kind": "field",
44917
- "name": "Context",
44918
- "privacy": "public",
44919
- "static": true,
44920
- "description": "Get the context for the stepper component.\nThis context provides the orientation and variant for the stepper items and connectors.",
44921
- "readonly": true
44922
- },
44923
- {
44924
- "kind": "method",
44925
- "name": "updateContext",
44926
- "privacy": "protected",
44927
- "return": {
44928
- "type": {
44929
- "text": "void"
44930
- }
44931
- },
44932
- "description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
44933
- }
44934
- ],
44935
- "attributes": [
44936
- {
44937
- "name": "orientation",
44938
- "type": {
44939
- "text": "OrientationType"
44940
- },
44941
- "description": "The orientation of the stepperconnector (vertical or horizontal)",
44942
- "default": "\"horizontal\"",
44943
- "fieldName": "orientation"
44944
- },
44945
- {
44946
- "name": "variant",
44947
- "type": {
44948
- "text": "VariantType"
44949
- },
44950
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
44951
- "default": "'inline'",
44952
- "fieldName": "variant"
44953
- }
44954
- ],
44955
- "superclass": {
44956
- "name": "Provider",
44957
- "module": "/src/models"
44958
- },
44959
- "tagName": "mdc-stepper",
44960
- "jsDoc": "/**\n * Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\n * It provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.\n *\n * @tagname mdc-stepper\n *\n * @slot default - Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.\n *\n */",
44961
- "customElement": true
44962
- }
44963
- ],
44964
- "exports": [
44965
- {
44966
- "kind": "js",
44967
- "name": "default",
44968
- "declaration": {
44969
- "name": "Stepper",
44970
- "module": "components/stepper/stepper.component.js"
44971
- }
44972
- }
44973
- ]
44974
- },
44975
- {
44976
- "kind": "javascript-module",
44977
- "path": "components/stepperconnector/stepperconnector.component.js",
44978
- "declarations": [
44979
- {
44980
- "kind": "class",
44981
- "description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
44982
- "name": "StepperConnector",
44983
- "cssProperties": [
44984
- {
44985
- "description": "Background color for the complete connector",
44986
- "name": "--mdc-stepperconnector-complete-background"
44987
- },
44988
- {
44989
- "description": "Background color for the incomplete connector",
44990
- "name": "--mdc-stepperconnector-incomplete-background"
44991
- }
44992
- ],
44993
- "cssParts": [
44994
- {
44995
- "description": "The main connector line between steps",
44996
- "name": "connector"
44997
- }
44998
- ],
44999
- "members": [
45000
- {
45001
- "kind": "field",
45002
- "name": "status",
45003
- "type": {
45004
- "text": "StatusType"
45005
- },
45006
- "description": "The status of the connector (complete or incomplete)",
45007
- "default": "\"incomplete\"",
45008
- "attribute": "status",
45009
- "reflects": true
45010
- },
45011
- {
45012
- "kind": "field",
45013
- "name": "orientation",
45014
- "type": {
45015
- "text": "OrientationType"
45016
- },
45017
- "description": "The orientation of the connector (vertical or horizontal)",
45018
- "default": "\"horizontal\"",
45019
- "attribute": "orientation",
45020
- "reflects": true
45021
- }
45022
- ],
45023
- "attributes": [
45024
- {
45025
- "name": "status",
45026
- "type": {
45027
- "text": "StatusType"
45028
- },
45029
- "description": "The status of the connector (complete or incomplete)",
45030
- "default": "\"incomplete\"",
45031
- "fieldName": "status"
45032
- },
45033
- {
45034
- "name": "orientation",
45035
- "type": {
45036
- "text": "OrientationType"
45037
- },
45038
- "description": "The orientation of the connector (vertical or horizontal)",
45039
- "default": "\"horizontal\"",
45040
- "fieldName": "orientation"
45041
- }
45042
- ],
45043
- "superclass": {
45044
- "name": "Component",
45045
- "module": "/src/models"
45046
- },
45047
- "tagName": "mdc-stepperconnector",
45048
- "jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
45049
- "customElement": true
45050
- }
45051
- ],
45052
- "exports": [
45053
- {
45054
- "kind": "js",
45055
- "name": "default",
45056
- "declaration": {
45057
- "name": "StepperConnector",
45058
- "module": "components/stepperconnector/stepperconnector.component.js"
45059
- }
45060
- }
45061
- ]
45062
- },
45063
44878
  {
45064
44879
  "kind": "javascript-module",
45065
44880
  "path": "components/statictoggle/statictoggle.component.js",
@@ -45256,6 +45071,191 @@
45256
45071
  }
45257
45072
  ]
45258
45073
  },
45074
+ {
45075
+ "kind": "javascript-module",
45076
+ "path": "components/stepper/stepper.component.js",
45077
+ "declarations": [
45078
+ {
45079
+ "kind": "class",
45080
+ "description": "Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\nIt provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.",
45081
+ "name": "Stepper",
45082
+ "slots": [
45083
+ {
45084
+ "description": "Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.",
45085
+ "name": "default"
45086
+ }
45087
+ ],
45088
+ "members": [
45089
+ {
45090
+ "kind": "field",
45091
+ "name": "orientation",
45092
+ "type": {
45093
+ "text": "OrientationType"
45094
+ },
45095
+ "description": "The orientation of the stepperconnector (vertical or horizontal)",
45096
+ "default": "\"horizontal\"",
45097
+ "attribute": "orientation",
45098
+ "reflects": true
45099
+ },
45100
+ {
45101
+ "kind": "field",
45102
+ "name": "variant",
45103
+ "type": {
45104
+ "text": "VariantType"
45105
+ },
45106
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
45107
+ "default": "'inline'",
45108
+ "attribute": "variant",
45109
+ "reflects": true
45110
+ },
45111
+ {
45112
+ "kind": "field",
45113
+ "name": "Context",
45114
+ "privacy": "public",
45115
+ "static": true,
45116
+ "description": "Get the context for the stepper component.\nThis context provides the orientation and variant for the stepper items and connectors.",
45117
+ "readonly": true
45118
+ },
45119
+ {
45120
+ "kind": "method",
45121
+ "name": "updateContext",
45122
+ "privacy": "protected",
45123
+ "return": {
45124
+ "type": {
45125
+ "text": "void"
45126
+ }
45127
+ },
45128
+ "description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
45129
+ }
45130
+ ],
45131
+ "attributes": [
45132
+ {
45133
+ "name": "orientation",
45134
+ "type": {
45135
+ "text": "OrientationType"
45136
+ },
45137
+ "description": "The orientation of the stepperconnector (vertical or horizontal)",
45138
+ "default": "\"horizontal\"",
45139
+ "fieldName": "orientation"
45140
+ },
45141
+ {
45142
+ "name": "variant",
45143
+ "type": {
45144
+ "text": "VariantType"
45145
+ },
45146
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
45147
+ "default": "'inline'",
45148
+ "fieldName": "variant"
45149
+ }
45150
+ ],
45151
+ "superclass": {
45152
+ "name": "Provider",
45153
+ "module": "/src/models"
45154
+ },
45155
+ "tagName": "mdc-stepper",
45156
+ "jsDoc": "/**\n * Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\n * It provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.\n *\n * @tagname mdc-stepper\n *\n * @slot default - Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.\n *\n */",
45157
+ "customElement": true
45158
+ }
45159
+ ],
45160
+ "exports": [
45161
+ {
45162
+ "kind": "js",
45163
+ "name": "default",
45164
+ "declaration": {
45165
+ "name": "Stepper",
45166
+ "module": "components/stepper/stepper.component.js"
45167
+ }
45168
+ }
45169
+ ]
45170
+ },
45171
+ {
45172
+ "kind": "javascript-module",
45173
+ "path": "components/stepperconnector/stepperconnector.component.js",
45174
+ "declarations": [
45175
+ {
45176
+ "kind": "class",
45177
+ "description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
45178
+ "name": "StepperConnector",
45179
+ "cssProperties": [
45180
+ {
45181
+ "description": "Background color for the complete connector",
45182
+ "name": "--mdc-stepperconnector-complete-background"
45183
+ },
45184
+ {
45185
+ "description": "Background color for the incomplete connector",
45186
+ "name": "--mdc-stepperconnector-incomplete-background"
45187
+ }
45188
+ ],
45189
+ "cssParts": [
45190
+ {
45191
+ "description": "The main connector line between steps",
45192
+ "name": "connector"
45193
+ }
45194
+ ],
45195
+ "members": [
45196
+ {
45197
+ "kind": "field",
45198
+ "name": "status",
45199
+ "type": {
45200
+ "text": "StatusType"
45201
+ },
45202
+ "description": "The status of the connector (complete or incomplete)",
45203
+ "default": "\"incomplete\"",
45204
+ "attribute": "status",
45205
+ "reflects": true
45206
+ },
45207
+ {
45208
+ "kind": "field",
45209
+ "name": "orientation",
45210
+ "type": {
45211
+ "text": "OrientationType"
45212
+ },
45213
+ "description": "The orientation of the connector (vertical or horizontal)",
45214
+ "default": "\"horizontal\"",
45215
+ "attribute": "orientation",
45216
+ "reflects": true
45217
+ }
45218
+ ],
45219
+ "attributes": [
45220
+ {
45221
+ "name": "status",
45222
+ "type": {
45223
+ "text": "StatusType"
45224
+ },
45225
+ "description": "The status of the connector (complete or incomplete)",
45226
+ "default": "\"incomplete\"",
45227
+ "fieldName": "status"
45228
+ },
45229
+ {
45230
+ "name": "orientation",
45231
+ "type": {
45232
+ "text": "OrientationType"
45233
+ },
45234
+ "description": "The orientation of the connector (vertical or horizontal)",
45235
+ "default": "\"horizontal\"",
45236
+ "fieldName": "orientation"
45237
+ }
45238
+ ],
45239
+ "superclass": {
45240
+ "name": "Component",
45241
+ "module": "/src/models"
45242
+ },
45243
+ "tagName": "mdc-stepperconnector",
45244
+ "jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
45245
+ "customElement": true
45246
+ }
45247
+ ],
45248
+ "exports": [
45249
+ {
45250
+ "kind": "js",
45251
+ "name": "default",
45252
+ "declaration": {
45253
+ "name": "StepperConnector",
45254
+ "module": "components/stepperconnector/stepperconnector.component.js"
45255
+ }
45256
+ }
45257
+ ]
45258
+ },
45259
45259
  {
45260
45260
  "kind": "javascript-module",
45261
45261
  "path": "components/stepperitem/stepperitem.component.js",