@momentum-design/components 0.125.1 → 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.
- package/dist/browser/index.js +259 -259
- package/dist/browser/index.js.map +4 -4
- package/dist/components/responsivesettingsprovider/index.d.ts +7 -0
- package/dist/components/responsivesettingsprovider/index.js +4 -0
- package/dist/components/responsivesettingsprovider/responsiveSettingsContext.d.ts +11 -0
- package/dist/components/responsivesettingsprovider/responsiveSettingsContext.js +14 -0
- package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.d.ts +65 -0
- package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.js +122 -0
- package/dist/components/responsivesettingsprovider/responsivesettingsprovider.constants.d.ts +9 -0
- package/dist/components/responsivesettingsprovider/responsivesettingsprovider.constants.js +9 -0
- package/dist/components/responsivesettingsprovider/responsivesettingsprovider.types.d.ts +25 -0
- package/dist/components/responsivesettingsprovider/responsivesettingsprovider.types.js +1 -0
- package/dist/custom-elements.json +455 -359
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +2 -1
- package/dist/react/responsivesettingsprovider/index.d.ts +35 -0
- package/dist/react/responsivesettingsprovider/index.js +44 -0
- package/package.json +1 -1
|
@@ -38311,6 +38311,102 @@
|
|
|
38311
38311
|
}
|
|
38312
38312
|
]
|
|
38313
38313
|
},
|
|
38314
|
+
{
|
|
38315
|
+
"kind": "javascript-module",
|
|
38316
|
+
"path": "components/responsivesettingsprovider/responsivesettingsprovider.component.js",
|
|
38317
|
+
"declarations": [
|
|
38318
|
+
{
|
|
38319
|
+
"kind": "class",
|
|
38320
|
+
"description": "`mdc-responsivesettingsprovider` is a provider component that supplies responsive settings\ncontext to its child components.\n\nThis component does not make any assumptions about how the values are determined. Values can be set\nbased on media queries or other device detection mechanisms.This way consumer can mix and match\ndifferent settings depending on their target devices and use cases.\n\nFor example, when the device has table screen size/resolution, but because it is fixed dialog like\npopovers provide better user experience.\n\n## Responsive settings\n\n### Media\n\nGeneric media type to enforce responsive behavior in child components.\nConsumer component can use the media type from the context or\njust use CSS selector like [media=\"mobile\"] to apply responsive styles.\n\nIt is \"unknown\" by default so components can fall back to there default behavior.\n\n### Popover Positioning\n\nBy default, popovers are positioned close to the trigger element. But on small screens (e.g.: mobile devices),\nit is often better to show popovers/menus at the center of the screen like dialogs.\n\n### Force Fullscreen Dialog\n\nSome components like dialogs can be shown in fullscreen mode on small screens for better user experience.",
|
|
38321
|
+
"name": "ResponsiveSettingsProvider",
|
|
38322
|
+
"members": [
|
|
38323
|
+
{
|
|
38324
|
+
"kind": "field",
|
|
38325
|
+
"name": "Context",
|
|
38326
|
+
"privacy": "public",
|
|
38327
|
+
"static": true,
|
|
38328
|
+
"description": "Context object of the ResponsiveSettingsProvider, to be consumed by child components",
|
|
38329
|
+
"readonly": true
|
|
38330
|
+
},
|
|
38331
|
+
{
|
|
38332
|
+
"kind": "field",
|
|
38333
|
+
"name": "forceFullscreenDialog",
|
|
38334
|
+
"type": {
|
|
38335
|
+
"text": "boolean"
|
|
38336
|
+
},
|
|
38337
|
+
"description": "Determines whether dialogs should be forced to fullscreen mode.",
|
|
38338
|
+
"attribute": "force-fullscreen-dialog",
|
|
38339
|
+
"reflects": true
|
|
38340
|
+
},
|
|
38341
|
+
{
|
|
38342
|
+
"kind": "field",
|
|
38343
|
+
"name": "popoverPositioning",
|
|
38344
|
+
"description": "The popover positioning for responsive settings.",
|
|
38345
|
+
"default": "'float'",
|
|
38346
|
+
"attribute": "popover-positioning",
|
|
38347
|
+
"reflects": true
|
|
38348
|
+
},
|
|
38349
|
+
{
|
|
38350
|
+
"kind": "field",
|
|
38351
|
+
"name": "media",
|
|
38352
|
+
"description": "The media type for responsive settings.",
|
|
38353
|
+
"default": "'unknown'",
|
|
38354
|
+
"attribute": "media",
|
|
38355
|
+
"reflects": true
|
|
38356
|
+
},
|
|
38357
|
+
{
|
|
38358
|
+
"kind": "method",
|
|
38359
|
+
"name": "updateContext",
|
|
38360
|
+
"privacy": "protected",
|
|
38361
|
+
"return": {
|
|
38362
|
+
"type": {
|
|
38363
|
+
"text": "void"
|
|
38364
|
+
}
|
|
38365
|
+
}
|
|
38366
|
+
}
|
|
38367
|
+
],
|
|
38368
|
+
"attributes": [
|
|
38369
|
+
{
|
|
38370
|
+
"name": "force-fullscreen-dialog",
|
|
38371
|
+
"type": {
|
|
38372
|
+
"text": "boolean"
|
|
38373
|
+
},
|
|
38374
|
+
"description": "Determines whether dialogs should be forced to fullscreen mode.",
|
|
38375
|
+
"fieldName": "forceFullscreenDialog"
|
|
38376
|
+
},
|
|
38377
|
+
{
|
|
38378
|
+
"name": "popover-positioning",
|
|
38379
|
+
"description": "The popover positioning for responsive settings.",
|
|
38380
|
+
"default": "'float'",
|
|
38381
|
+
"fieldName": "popoverPositioning"
|
|
38382
|
+
},
|
|
38383
|
+
{
|
|
38384
|
+
"name": "media",
|
|
38385
|
+
"description": "The media type for responsive settings.",
|
|
38386
|
+
"default": "'unknown'",
|
|
38387
|
+
"fieldName": "media"
|
|
38388
|
+
}
|
|
38389
|
+
],
|
|
38390
|
+
"superclass": {
|
|
38391
|
+
"name": "Provider",
|
|
38392
|
+
"module": "/src/models"
|
|
38393
|
+
},
|
|
38394
|
+
"tagName": "mdc-responsivesettingsprovider",
|
|
38395
|
+
"jsDoc": "/**\n * `mdc-responsivesettingsprovider` is a provider component that supplies responsive settings\n * context to its child components.\n *\n * This component does not make any assumptions about how the values are determined. Values can be set\n * based on media queries or other device detection mechanisms.This way consumer can mix and match\n * different settings depending on their target devices and use cases.\n *\n * For example, when the device has table screen size/resolution, but because it is fixed dialog like\n * popovers provide better user experience.\n *\n * ## Responsive settings\n *\n * ### Media\n *\n * Generic media type to enforce responsive behavior in child components.\n * Consumer component can use the media type from the context or\n * just use CSS selector like [media=\"mobile\"] to apply responsive styles.\n *\n * It is \"unknown\" by default so components can fall back to there default behavior.\n *\n * ### Popover Positioning\n *\n * By default, popovers are positioned close to the trigger element. But on small screens (e.g.: mobile devices),\n * it is often better to show popovers/menus at the center of the screen like dialogs.\n *\n * ### Force Fullscreen Dialog\n *\n * Some components like dialogs can be shown in fullscreen mode on small screens for better user experience.\n *\n * @tagname mdc-responsivesettingsprovider\n */",
|
|
38396
|
+
"customElement": true
|
|
38397
|
+
}
|
|
38398
|
+
],
|
|
38399
|
+
"exports": [
|
|
38400
|
+
{
|
|
38401
|
+
"kind": "js",
|
|
38402
|
+
"name": "default",
|
|
38403
|
+
"declaration": {
|
|
38404
|
+
"name": "ResponsiveSettingsProvider",
|
|
38405
|
+
"module": "components/responsivesettingsprovider/responsivesettingsprovider.component.js"
|
|
38406
|
+
}
|
|
38407
|
+
}
|
|
38408
|
+
]
|
|
38409
|
+
},
|
|
38314
38410
|
{
|
|
38315
38411
|
"kind": "javascript-module",
|
|
38316
38412
|
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
|
@@ -45162,117 +45258,414 @@
|
|
|
45162
45258
|
},
|
|
45163
45259
|
{
|
|
45164
45260
|
"kind": "javascript-module",
|
|
45165
|
-
"path": "components/
|
|
45261
|
+
"path": "components/stepperitem/stepperitem.component.js",
|
|
45166
45262
|
"declarations": [
|
|
45167
45263
|
{
|
|
45168
45264
|
"kind": "class",
|
|
45169
|
-
"description": "
|
|
45170
|
-
"name": "
|
|
45265
|
+
"description": "stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\nIt can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\nThe component supports various visual styles and can be customized with labels, help text, and step numbers.\n\nThis is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\nMake sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n\nAdditionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.",
|
|
45266
|
+
"name": "StepperItem",
|
|
45171
45267
|
"cssProperties": [
|
|
45172
45268
|
{
|
|
45173
|
-
"description": "
|
|
45174
|
-
"name": "--mdc-
|
|
45175
|
-
"inheritedFrom": {
|
|
45176
|
-
"name": "Buttonsimple",
|
|
45177
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
45178
|
-
}
|
|
45179
|
-
},
|
|
45180
|
-
{
|
|
45181
|
-
"description": "Gap between the badge(if provided), icon and text.",
|
|
45182
|
-
"name": "--mdc-tab-content-gap"
|
|
45269
|
+
"description": "The background color of the status container.",
|
|
45270
|
+
"name": "--mdc-stepperitem-status-container-background"
|
|
45183
45271
|
},
|
|
45184
45272
|
{
|
|
45185
|
-
"description": "
|
|
45186
|
-
"name": "--mdc-
|
|
45273
|
+
"description": "The border color of the status container.",
|
|
45274
|
+
"name": "--mdc-stepperitem-status-container-border-color"
|
|
45187
45275
|
},
|
|
45188
45276
|
{
|
|
45189
|
-
"description": "
|
|
45190
|
-
"name": "--mdc-
|
|
45277
|
+
"description": "The color of the label text.",
|
|
45278
|
+
"name": "--mdc-stepperitem-label-color"
|
|
45191
45279
|
},
|
|
45192
45280
|
{
|
|
45193
|
-
"description": "
|
|
45194
|
-
"name": "--mdc-
|
|
45281
|
+
"description": "The color of the optional label text.",
|
|
45282
|
+
"name": "--mdc-stepperitem-help-text-color"
|
|
45195
45283
|
},
|
|
45196
45284
|
{
|
|
45197
|
-
"description": "
|
|
45198
|
-
"name": "--mdc-
|
|
45199
|
-
}
|
|
45285
|
+
"description": "The background color of the label container.",
|
|
45286
|
+
"name": "--mdc-stepperitem-label-container-background"
|
|
45287
|
+
}
|
|
45288
|
+
],
|
|
45289
|
+
"cssParts": [
|
|
45200
45290
|
{
|
|
45201
|
-
"description": "
|
|
45202
|
-
"name": "
|
|
45291
|
+
"description": "The container for the status icon or step number.",
|
|
45292
|
+
"name": "status-container"
|
|
45203
45293
|
},
|
|
45204
45294
|
{
|
|
45205
|
-
"description": "
|
|
45206
|
-
"name": "
|
|
45295
|
+
"description": "The container for the label and help text.",
|
|
45296
|
+
"name": "label-container"
|
|
45207
45297
|
},
|
|
45208
45298
|
{
|
|
45209
|
-
"description": "
|
|
45210
|
-
"name": "
|
|
45299
|
+
"description": "The container for the help text and error icon when applicable.",
|
|
45300
|
+
"name": "help-text-container"
|
|
45211
45301
|
},
|
|
45212
45302
|
{
|
|
45213
|
-
"description": "
|
|
45214
|
-
"name": "
|
|
45303
|
+
"description": "The icon representing the status of the stepper item.",
|
|
45304
|
+
"name": "status-icon"
|
|
45215
45305
|
},
|
|
45216
45306
|
{
|
|
45217
|
-
"description": "
|
|
45218
|
-
"name": "
|
|
45307
|
+
"description": "The text representing the step number.",
|
|
45308
|
+
"name": "step-number"
|
|
45219
45309
|
},
|
|
45220
45310
|
{
|
|
45221
|
-
"description": "
|
|
45222
|
-
"name": "
|
|
45311
|
+
"description": "The text representing the label of the stepper item.",
|
|
45312
|
+
"name": "label"
|
|
45223
45313
|
},
|
|
45224
45314
|
{
|
|
45225
|
-
"description": "
|
|
45226
|
-
"name": "
|
|
45315
|
+
"description": "The text providing additional information about the stepper item.",
|
|
45316
|
+
"name": "help-text"
|
|
45227
45317
|
},
|
|
45228
45318
|
{
|
|
45229
|
-
"description": "
|
|
45230
|
-
"name": "
|
|
45231
|
-
}
|
|
45319
|
+
"description": "The icon representing an error in the stepper item.",
|
|
45320
|
+
"name": "help-icon"
|
|
45321
|
+
}
|
|
45322
|
+
],
|
|
45323
|
+
"members": [
|
|
45232
45324
|
{
|
|
45233
|
-
"
|
|
45234
|
-
"name": "
|
|
45325
|
+
"kind": "field",
|
|
45326
|
+
"name": "variant",
|
|
45327
|
+
"type": {
|
|
45328
|
+
"text": "VariantType"
|
|
45329
|
+
},
|
|
45330
|
+
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
45331
|
+
"default": "'inline'",
|
|
45332
|
+
"attribute": "variant",
|
|
45333
|
+
"reflects": true
|
|
45235
45334
|
},
|
|
45236
45335
|
{
|
|
45237
|
-
"
|
|
45238
|
-
"name": "
|
|
45336
|
+
"kind": "field",
|
|
45337
|
+
"name": "status",
|
|
45338
|
+
"type": {
|
|
45339
|
+
"text": "StatusType"
|
|
45340
|
+
},
|
|
45341
|
+
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
45342
|
+
"default": "'not-started'",
|
|
45343
|
+
"attribute": "status",
|
|
45344
|
+
"reflects": true
|
|
45239
45345
|
},
|
|
45240
45346
|
{
|
|
45241
|
-
"
|
|
45242
|
-
"name": "
|
|
45347
|
+
"kind": "field",
|
|
45348
|
+
"name": "label",
|
|
45349
|
+
"type": {
|
|
45350
|
+
"text": "string"
|
|
45351
|
+
},
|
|
45352
|
+
"default": "''",
|
|
45353
|
+
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
45354
|
+
"attribute": "label",
|
|
45355
|
+
"reflects": true
|
|
45243
45356
|
},
|
|
45244
45357
|
{
|
|
45245
|
-
"
|
|
45246
|
-
"name": "
|
|
45358
|
+
"kind": "field",
|
|
45359
|
+
"name": "helpText",
|
|
45360
|
+
"type": {
|
|
45361
|
+
"text": "string | undefined"
|
|
45362
|
+
},
|
|
45363
|
+
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
45364
|
+
"default": "''",
|
|
45365
|
+
"attribute": "help-text",
|
|
45366
|
+
"reflects": true
|
|
45247
45367
|
},
|
|
45248
45368
|
{
|
|
45249
|
-
"
|
|
45250
|
-
"name": "
|
|
45369
|
+
"kind": "field",
|
|
45370
|
+
"name": "stepNumber",
|
|
45371
|
+
"type": {
|
|
45372
|
+
"text": "number | undefined"
|
|
45373
|
+
},
|
|
45374
|
+
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
45375
|
+
"default": "''",
|
|
45376
|
+
"attribute": "step-number",
|
|
45377
|
+
"reflects": true
|
|
45251
45378
|
},
|
|
45252
45379
|
{
|
|
45253
|
-
"
|
|
45254
|
-
"name": "
|
|
45380
|
+
"kind": "method",
|
|
45381
|
+
"name": "handleKeyDown",
|
|
45382
|
+
"privacy": "private",
|
|
45383
|
+
"parameters": [
|
|
45384
|
+
{
|
|
45385
|
+
"name": "event",
|
|
45386
|
+
"type": {
|
|
45387
|
+
"text": "KeyboardEvent"
|
|
45388
|
+
},
|
|
45389
|
+
"description": "The keyboard event."
|
|
45390
|
+
}
|
|
45391
|
+
],
|
|
45392
|
+
"description": "Handles the keydown event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is pressed.\nIf the key is 'Enter', the stepperitem is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the stepperitem's default is prevent to avoid scrolling etc in the host application."
|
|
45255
45393
|
},
|
|
45256
45394
|
{
|
|
45257
|
-
"
|
|
45258
|
-
"name": "
|
|
45395
|
+
"kind": "method",
|
|
45396
|
+
"name": "triggerClickEvent",
|
|
45397
|
+
"privacy": "private",
|
|
45398
|
+
"description": "Triggers a click event on the stepper item."
|
|
45259
45399
|
},
|
|
45260
45400
|
{
|
|
45261
|
-
"
|
|
45262
|
-
"name": "
|
|
45401
|
+
"kind": "method",
|
|
45402
|
+
"name": "handleKeyUp",
|
|
45403
|
+
"privacy": "private",
|
|
45404
|
+
"parameters": [
|
|
45405
|
+
{
|
|
45406
|
+
"name": "event",
|
|
45407
|
+
"type": {
|
|
45408
|
+
"text": "KeyboardEvent"
|
|
45409
|
+
},
|
|
45410
|
+
"description": "The keyboard event."
|
|
45411
|
+
}
|
|
45412
|
+
],
|
|
45413
|
+
"description": "Handles the keyup event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is clicked.\nIf the key is 'Space', the stepperitem is pressed. The native HTML button works in the same way."
|
|
45263
45414
|
},
|
|
45264
45415
|
{
|
|
45265
|
-
"
|
|
45266
|
-
"name": "
|
|
45416
|
+
"kind": "method",
|
|
45417
|
+
"name": "renderStatusIcon",
|
|
45418
|
+
"privacy": "private",
|
|
45419
|
+
"description": "Renders the status icon based on the current status of the stepper item.\n- If the status is `completed`, it renders a check icon.\n- If the status is `current` or `error-current`, it renders a pencil icon.\n- If the status is `not-started` or `error-incomplete`, it renders the step number.\n- If the status is anything else, it renders nothing.",
|
|
45420
|
+
"return": {
|
|
45421
|
+
"type": {
|
|
45422
|
+
"text": ""
|
|
45423
|
+
}
|
|
45424
|
+
}
|
|
45267
45425
|
},
|
|
45268
45426
|
{
|
|
45269
|
-
"
|
|
45270
|
-
"name": "
|
|
45427
|
+
"kind": "method",
|
|
45428
|
+
"name": "renderHelpText",
|
|
45429
|
+
"privacy": "private",
|
|
45430
|
+
"description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
|
|
45431
|
+
"return": {
|
|
45432
|
+
"type": {
|
|
45433
|
+
"text": ""
|
|
45434
|
+
}
|
|
45435
|
+
}
|
|
45271
45436
|
},
|
|
45272
45437
|
{
|
|
45273
|
-
"
|
|
45274
|
-
"name": "
|
|
45275
|
-
|
|
45438
|
+
"kind": "field",
|
|
45439
|
+
"name": "tabIndex",
|
|
45440
|
+
"type": {
|
|
45441
|
+
"text": "number"
|
|
45442
|
+
},
|
|
45443
|
+
"default": "0",
|
|
45444
|
+
"description": "This property specifies the tab order of the element.",
|
|
45445
|
+
"attribute": "tabIndex",
|
|
45446
|
+
"reflects": true,
|
|
45447
|
+
"inheritedFrom": {
|
|
45448
|
+
"name": "TabIndexMixin",
|
|
45449
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
45450
|
+
}
|
|
45451
|
+
}
|
|
45452
|
+
],
|
|
45453
|
+
"events": [
|
|
45454
|
+
{
|
|
45455
|
+
"description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
|
|
45456
|
+
"name": "click",
|
|
45457
|
+
"reactName": "onClick"
|
|
45458
|
+
},
|
|
45459
|
+
{
|
|
45460
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
|
|
45461
|
+
"name": "keydown",
|
|
45462
|
+
"reactName": "onKeyDown"
|
|
45463
|
+
},
|
|
45464
|
+
{
|
|
45465
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
|
|
45466
|
+
"name": "keyup",
|
|
45467
|
+
"reactName": "onKeyUp"
|
|
45468
|
+
}
|
|
45469
|
+
],
|
|
45470
|
+
"attributes": [
|
|
45471
|
+
{
|
|
45472
|
+
"name": "variant",
|
|
45473
|
+
"type": {
|
|
45474
|
+
"text": "VariantType"
|
|
45475
|
+
},
|
|
45476
|
+
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
45477
|
+
"default": "'inline'",
|
|
45478
|
+
"fieldName": "variant"
|
|
45479
|
+
},
|
|
45480
|
+
{
|
|
45481
|
+
"name": "status",
|
|
45482
|
+
"type": {
|
|
45483
|
+
"text": "StatusType"
|
|
45484
|
+
},
|
|
45485
|
+
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
45486
|
+
"default": "'not-started'",
|
|
45487
|
+
"fieldName": "status"
|
|
45488
|
+
},
|
|
45489
|
+
{
|
|
45490
|
+
"name": "label",
|
|
45491
|
+
"type": {
|
|
45492
|
+
"text": "string"
|
|
45493
|
+
},
|
|
45494
|
+
"default": "''",
|
|
45495
|
+
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
45496
|
+
"fieldName": "label"
|
|
45497
|
+
},
|
|
45498
|
+
{
|
|
45499
|
+
"name": "help-text",
|
|
45500
|
+
"type": {
|
|
45501
|
+
"text": "string | undefined"
|
|
45502
|
+
},
|
|
45503
|
+
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
45504
|
+
"default": "''",
|
|
45505
|
+
"fieldName": "helpText"
|
|
45506
|
+
},
|
|
45507
|
+
{
|
|
45508
|
+
"name": "step-number",
|
|
45509
|
+
"type": {
|
|
45510
|
+
"text": "number | undefined"
|
|
45511
|
+
},
|
|
45512
|
+
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
45513
|
+
"default": "''",
|
|
45514
|
+
"fieldName": "stepNumber"
|
|
45515
|
+
},
|
|
45516
|
+
{
|
|
45517
|
+
"name": "tabIndex",
|
|
45518
|
+
"type": {
|
|
45519
|
+
"text": "number"
|
|
45520
|
+
},
|
|
45521
|
+
"default": "0",
|
|
45522
|
+
"description": "This property specifies the tab order of the element.",
|
|
45523
|
+
"fieldName": "tabIndex",
|
|
45524
|
+
"inheritedFrom": {
|
|
45525
|
+
"name": "TabIndexMixin",
|
|
45526
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
45527
|
+
}
|
|
45528
|
+
}
|
|
45529
|
+
],
|
|
45530
|
+
"mixins": [
|
|
45531
|
+
{
|
|
45532
|
+
"name": "TabIndexMixin",
|
|
45533
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
45534
|
+
}
|
|
45535
|
+
],
|
|
45536
|
+
"superclass": {
|
|
45537
|
+
"name": "Component",
|
|
45538
|
+
"module": "/src/models"
|
|
45539
|
+
},
|
|
45540
|
+
"tagName": "mdc-stepperitem",
|
|
45541
|
+
"jsDoc": "/**\n * stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\n * It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\n * The component supports various visual styles and can be customized with labels, help text, and step numbers.\n *\n * This is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\n * Make sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n *\n * Additionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-stepperitem\n *\n * @event click - (React: onClick) This event is dispatched when the stepperitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the stepperitem.\n *\n * @csspart status-container - The container for the status icon or step number.\n * @csspart label-container - The container for the label and help text.\n * @csspart help-text-container - The container for the help text and error icon when applicable.\n * @csspart status-icon - The icon representing the status of the stepper item.\n * @csspart step-number - The text representing the step number.\n * @csspart label - The text representing the label of the stepper item.\n * @csspart help-text - The text providing additional information about the stepper item.\n * @csspart help-icon - The icon representing an error in the stepper item.\n *\n * @cssproperty --mdc-stepperitem-status-container-background - The background color of the status container.\n * @cssproperty --mdc-stepperitem-status-container-border-color - The border color of the status container.\n * @cssproperty --mdc-stepperitem-label-color - The color of the label text.\n * @cssproperty --mdc-stepperitem-help-text-color - The color of the optional label text.\n * @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.\n */",
|
|
45542
|
+
"customElement": true
|
|
45543
|
+
}
|
|
45544
|
+
],
|
|
45545
|
+
"exports": [
|
|
45546
|
+
{
|
|
45547
|
+
"kind": "js",
|
|
45548
|
+
"name": "default",
|
|
45549
|
+
"declaration": {
|
|
45550
|
+
"name": "StepperItem",
|
|
45551
|
+
"module": "components/stepperitem/stepperitem.component.js"
|
|
45552
|
+
}
|
|
45553
|
+
}
|
|
45554
|
+
]
|
|
45555
|
+
},
|
|
45556
|
+
{
|
|
45557
|
+
"kind": "javascript-module",
|
|
45558
|
+
"path": "components/tab/tab.component.js",
|
|
45559
|
+
"declarations": [
|
|
45560
|
+
{
|
|
45561
|
+
"kind": "class",
|
|
45562
|
+
"description": "`mdc-tab` is Tab component to be used within the Tabgroup.\n\nPassing in the attribute `text` to the tab component is changing the text displayed in the tab.\n\nPass attribute `tabid` when using inside of `tablist` component.\n\nThe `slot=\"badge\"` can be used to add a badge to the tab.\n\nThe `slot=\"chip\"` can be used to add a chip to the tab.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.\n\nNote: Icons can be used in conjunction with badges or chips.\nBadges and chips should not be used at the same time.",
|
|
45563
|
+
"name": "Tab",
|
|
45564
|
+
"cssProperties": [
|
|
45565
|
+
{
|
|
45566
|
+
"description": "Height for button size",
|
|
45567
|
+
"name": "--mdc-button-height",
|
|
45568
|
+
"inheritedFrom": {
|
|
45569
|
+
"name": "Buttonsimple",
|
|
45570
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
45571
|
+
}
|
|
45572
|
+
},
|
|
45573
|
+
{
|
|
45574
|
+
"description": "Gap between the badge(if provided), icon and text.",
|
|
45575
|
+
"name": "--mdc-tab-content-gap"
|
|
45576
|
+
},
|
|
45577
|
+
{
|
|
45578
|
+
"description": "Height of the tab.",
|
|
45579
|
+
"name": "--mdc-tab-height"
|
|
45580
|
+
},
|
|
45581
|
+
{
|
|
45582
|
+
"description": "Background color for active glass tab in disabled state.",
|
|
45583
|
+
"name": "--mdc-tab-glass-active-background-color-disabled"
|
|
45584
|
+
},
|
|
45585
|
+
{
|
|
45586
|
+
"description": "Background color for active glass tab in hover state.",
|
|
45587
|
+
"name": "--mdc-tab-glass-active-background-color-hover"
|
|
45588
|
+
},
|
|
45589
|
+
{
|
|
45590
|
+
"description": "Background color for active glass tab in rest state.",
|
|
45591
|
+
"name": "--mdc-tab-glass-active-background-color-normal"
|
|
45592
|
+
},
|
|
45593
|
+
{
|
|
45594
|
+
"description": "Background color for active glass tab in pressed state.",
|
|
45595
|
+
"name": "--mdc-tab-glass-active-background-color-pressed"
|
|
45596
|
+
},
|
|
45597
|
+
{
|
|
45598
|
+
"description": "Text and icon color for active glass tab.",
|
|
45599
|
+
"name": "--mdc-tab-glass-active-color"
|
|
45600
|
+
},
|
|
45601
|
+
{
|
|
45602
|
+
"description": "Text and icon color for active glass tab in disabled state.",
|
|
45603
|
+
"name": "--mdc-tab-glass-active-color-disabled"
|
|
45604
|
+
},
|
|
45605
|
+
{
|
|
45606
|
+
"description": "Border radius for glass tab.",
|
|
45607
|
+
"name": "--mdc-tab-glass-border-radius"
|
|
45608
|
+
},
|
|
45609
|
+
{
|
|
45610
|
+
"description": "Background color for inactive glass tab in disabled state.",
|
|
45611
|
+
"name": "--mdc-tab-glass-inactive-background-color-disabled"
|
|
45612
|
+
},
|
|
45613
|
+
{
|
|
45614
|
+
"description": "Background color for inactive glass tab in hover state.",
|
|
45615
|
+
"name": "--mdc-tab-glass-inactive-background-color-hover"
|
|
45616
|
+
},
|
|
45617
|
+
{
|
|
45618
|
+
"description": "Background color for inactive glass tab in rest state.",
|
|
45619
|
+
"name": "--mdc-tab-glass-inactive-background-color-normal"
|
|
45620
|
+
},
|
|
45621
|
+
{
|
|
45622
|
+
"description": "Background color for inactive glass tab in pressed state.",
|
|
45623
|
+
"name": "--mdc-tab-glass-inactive-background-color-pressed"
|
|
45624
|
+
},
|
|
45625
|
+
{
|
|
45626
|
+
"description": "Text and icon color for inactive glass tab.",
|
|
45627
|
+
"name": "--mdc-tab-glass-inactive-color"
|
|
45628
|
+
},
|
|
45629
|
+
{
|
|
45630
|
+
"description": "Text and icon color for inactive glass tab in disabled state.",
|
|
45631
|
+
"name": "--mdc-tab-glass-inactive-color-disabled"
|
|
45632
|
+
},
|
|
45633
|
+
{
|
|
45634
|
+
"description": "Background color for active line tab in pressed state.",
|
|
45635
|
+
"name": "--mdc-tab-line-active-background-color-pressed"
|
|
45636
|
+
},
|
|
45637
|
+
{
|
|
45638
|
+
"description": "Background color for active line tab in disabled state.",
|
|
45639
|
+
"name": "--mdc-tab-line-active-background-color-disabled"
|
|
45640
|
+
},
|
|
45641
|
+
{
|
|
45642
|
+
"description": "Background color for active line tab in hover state.",
|
|
45643
|
+
"name": "--mdc-tab-line-active-background-color-hover"
|
|
45644
|
+
},
|
|
45645
|
+
{
|
|
45646
|
+
"description": "Background color for active line tab in rest state.",
|
|
45647
|
+
"name": "--mdc-tab-line-active-background-color-normal"
|
|
45648
|
+
},
|
|
45649
|
+
{
|
|
45650
|
+
"description": "Text and icon color for active line tab.",
|
|
45651
|
+
"name": "--mdc-tab-line-active-color"
|
|
45652
|
+
},
|
|
45653
|
+
{
|
|
45654
|
+
"description": "Text and icon color for active line tab in disabled state.",
|
|
45655
|
+
"name": "--mdc-tab-line-active-color-disabled"
|
|
45656
|
+
},
|
|
45657
|
+
{
|
|
45658
|
+
"description": "color for indicator in active line tab.",
|
|
45659
|
+
"name": "--mdc-tab-line-active-indicator-color"
|
|
45660
|
+
},
|
|
45661
|
+
{
|
|
45662
|
+
"description": "Color for indicator in active line tab in disabled state.",
|
|
45663
|
+
"name": "--mdc-tab-line-active-indicator-color-disabled"
|
|
45664
|
+
},
|
|
45665
|
+
{
|
|
45666
|
+
"description": "Height for indicator in active line tab.",
|
|
45667
|
+
"name": "--mdc-tab-line-active-indicator-height"
|
|
45668
|
+
},
|
|
45276
45669
|
{
|
|
45277
45670
|
"description": "Width for indicator in active line tab.",
|
|
45278
45671
|
"name": "--mdc-tab-line-active-indicator-width"
|
|
@@ -46177,303 +46570,6 @@
|
|
|
46177
46570
|
}
|
|
46178
46571
|
]
|
|
46179
46572
|
},
|
|
46180
|
-
{
|
|
46181
|
-
"kind": "javascript-module",
|
|
46182
|
-
"path": "components/stepperitem/stepperitem.component.js",
|
|
46183
|
-
"declarations": [
|
|
46184
|
-
{
|
|
46185
|
-
"kind": "class",
|
|
46186
|
-
"description": "stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\nIt can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\nThe component supports various visual styles and can be customized with labels, help text, and step numbers.\n\nThis is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\nMake sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n\nAdditionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.",
|
|
46187
|
-
"name": "StepperItem",
|
|
46188
|
-
"cssProperties": [
|
|
46189
|
-
{
|
|
46190
|
-
"description": "The background color of the status container.",
|
|
46191
|
-
"name": "--mdc-stepperitem-status-container-background"
|
|
46192
|
-
},
|
|
46193
|
-
{
|
|
46194
|
-
"description": "The border color of the status container.",
|
|
46195
|
-
"name": "--mdc-stepperitem-status-container-border-color"
|
|
46196
|
-
},
|
|
46197
|
-
{
|
|
46198
|
-
"description": "The color of the label text.",
|
|
46199
|
-
"name": "--mdc-stepperitem-label-color"
|
|
46200
|
-
},
|
|
46201
|
-
{
|
|
46202
|
-
"description": "The color of the optional label text.",
|
|
46203
|
-
"name": "--mdc-stepperitem-help-text-color"
|
|
46204
|
-
},
|
|
46205
|
-
{
|
|
46206
|
-
"description": "The background color of the label container.",
|
|
46207
|
-
"name": "--mdc-stepperitem-label-container-background"
|
|
46208
|
-
}
|
|
46209
|
-
],
|
|
46210
|
-
"cssParts": [
|
|
46211
|
-
{
|
|
46212
|
-
"description": "The container for the status icon or step number.",
|
|
46213
|
-
"name": "status-container"
|
|
46214
|
-
},
|
|
46215
|
-
{
|
|
46216
|
-
"description": "The container for the label and help text.",
|
|
46217
|
-
"name": "label-container"
|
|
46218
|
-
},
|
|
46219
|
-
{
|
|
46220
|
-
"description": "The container for the help text and error icon when applicable.",
|
|
46221
|
-
"name": "help-text-container"
|
|
46222
|
-
},
|
|
46223
|
-
{
|
|
46224
|
-
"description": "The icon representing the status of the stepper item.",
|
|
46225
|
-
"name": "status-icon"
|
|
46226
|
-
},
|
|
46227
|
-
{
|
|
46228
|
-
"description": "The text representing the step number.",
|
|
46229
|
-
"name": "step-number"
|
|
46230
|
-
},
|
|
46231
|
-
{
|
|
46232
|
-
"description": "The text representing the label of the stepper item.",
|
|
46233
|
-
"name": "label"
|
|
46234
|
-
},
|
|
46235
|
-
{
|
|
46236
|
-
"description": "The text providing additional information about the stepper item.",
|
|
46237
|
-
"name": "help-text"
|
|
46238
|
-
},
|
|
46239
|
-
{
|
|
46240
|
-
"description": "The icon representing an error in the stepper item.",
|
|
46241
|
-
"name": "help-icon"
|
|
46242
|
-
}
|
|
46243
|
-
],
|
|
46244
|
-
"members": [
|
|
46245
|
-
{
|
|
46246
|
-
"kind": "field",
|
|
46247
|
-
"name": "variant",
|
|
46248
|
-
"type": {
|
|
46249
|
-
"text": "VariantType"
|
|
46250
|
-
},
|
|
46251
|
-
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
46252
|
-
"default": "'inline'",
|
|
46253
|
-
"attribute": "variant",
|
|
46254
|
-
"reflects": true
|
|
46255
|
-
},
|
|
46256
|
-
{
|
|
46257
|
-
"kind": "field",
|
|
46258
|
-
"name": "status",
|
|
46259
|
-
"type": {
|
|
46260
|
-
"text": "StatusType"
|
|
46261
|
-
},
|
|
46262
|
-
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
46263
|
-
"default": "'not-started'",
|
|
46264
|
-
"attribute": "status",
|
|
46265
|
-
"reflects": true
|
|
46266
|
-
},
|
|
46267
|
-
{
|
|
46268
|
-
"kind": "field",
|
|
46269
|
-
"name": "label",
|
|
46270
|
-
"type": {
|
|
46271
|
-
"text": "string"
|
|
46272
|
-
},
|
|
46273
|
-
"default": "''",
|
|
46274
|
-
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
46275
|
-
"attribute": "label",
|
|
46276
|
-
"reflects": true
|
|
46277
|
-
},
|
|
46278
|
-
{
|
|
46279
|
-
"kind": "field",
|
|
46280
|
-
"name": "helpText",
|
|
46281
|
-
"type": {
|
|
46282
|
-
"text": "string | undefined"
|
|
46283
|
-
},
|
|
46284
|
-
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
46285
|
-
"default": "''",
|
|
46286
|
-
"attribute": "help-text",
|
|
46287
|
-
"reflects": true
|
|
46288
|
-
},
|
|
46289
|
-
{
|
|
46290
|
-
"kind": "field",
|
|
46291
|
-
"name": "stepNumber",
|
|
46292
|
-
"type": {
|
|
46293
|
-
"text": "number | undefined"
|
|
46294
|
-
},
|
|
46295
|
-
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
46296
|
-
"default": "''",
|
|
46297
|
-
"attribute": "step-number",
|
|
46298
|
-
"reflects": true
|
|
46299
|
-
},
|
|
46300
|
-
{
|
|
46301
|
-
"kind": "method",
|
|
46302
|
-
"name": "handleKeyDown",
|
|
46303
|
-
"privacy": "private",
|
|
46304
|
-
"parameters": [
|
|
46305
|
-
{
|
|
46306
|
-
"name": "event",
|
|
46307
|
-
"type": {
|
|
46308
|
-
"text": "KeyboardEvent"
|
|
46309
|
-
},
|
|
46310
|
-
"description": "The keyboard event."
|
|
46311
|
-
}
|
|
46312
|
-
],
|
|
46313
|
-
"description": "Handles the keydown event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is pressed.\nIf the key is 'Enter', the stepperitem is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the stepperitem's default is prevent to avoid scrolling etc in the host application."
|
|
46314
|
-
},
|
|
46315
|
-
{
|
|
46316
|
-
"kind": "method",
|
|
46317
|
-
"name": "triggerClickEvent",
|
|
46318
|
-
"privacy": "private",
|
|
46319
|
-
"description": "Triggers a click event on the stepper item."
|
|
46320
|
-
},
|
|
46321
|
-
{
|
|
46322
|
-
"kind": "method",
|
|
46323
|
-
"name": "handleKeyUp",
|
|
46324
|
-
"privacy": "private",
|
|
46325
|
-
"parameters": [
|
|
46326
|
-
{
|
|
46327
|
-
"name": "event",
|
|
46328
|
-
"type": {
|
|
46329
|
-
"text": "KeyboardEvent"
|
|
46330
|
-
},
|
|
46331
|
-
"description": "The keyboard event."
|
|
46332
|
-
}
|
|
46333
|
-
],
|
|
46334
|
-
"description": "Handles the keyup event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is clicked.\nIf the key is 'Space', the stepperitem is pressed. The native HTML button works in the same way."
|
|
46335
|
-
},
|
|
46336
|
-
{
|
|
46337
|
-
"kind": "method",
|
|
46338
|
-
"name": "renderStatusIcon",
|
|
46339
|
-
"privacy": "private",
|
|
46340
|
-
"description": "Renders the status icon based on the current status of the stepper item.\n- If the status is `completed`, it renders a check icon.\n- If the status is `current` or `error-current`, it renders a pencil icon.\n- If the status is `not-started` or `error-incomplete`, it renders the step number.\n- If the status is anything else, it renders nothing.",
|
|
46341
|
-
"return": {
|
|
46342
|
-
"type": {
|
|
46343
|
-
"text": ""
|
|
46344
|
-
}
|
|
46345
|
-
}
|
|
46346
|
-
},
|
|
46347
|
-
{
|
|
46348
|
-
"kind": "method",
|
|
46349
|
-
"name": "renderHelpText",
|
|
46350
|
-
"privacy": "private",
|
|
46351
|
-
"description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
|
|
46352
|
-
"return": {
|
|
46353
|
-
"type": {
|
|
46354
|
-
"text": ""
|
|
46355
|
-
}
|
|
46356
|
-
}
|
|
46357
|
-
},
|
|
46358
|
-
{
|
|
46359
|
-
"kind": "field",
|
|
46360
|
-
"name": "tabIndex",
|
|
46361
|
-
"type": {
|
|
46362
|
-
"text": "number"
|
|
46363
|
-
},
|
|
46364
|
-
"default": "0",
|
|
46365
|
-
"description": "This property specifies the tab order of the element.",
|
|
46366
|
-
"attribute": "tabIndex",
|
|
46367
|
-
"reflects": true,
|
|
46368
|
-
"inheritedFrom": {
|
|
46369
|
-
"name": "TabIndexMixin",
|
|
46370
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
|
46371
|
-
}
|
|
46372
|
-
}
|
|
46373
|
-
],
|
|
46374
|
-
"events": [
|
|
46375
|
-
{
|
|
46376
|
-
"description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
|
|
46377
|
-
"name": "click",
|
|
46378
|
-
"reactName": "onClick"
|
|
46379
|
-
},
|
|
46380
|
-
{
|
|
46381
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
|
|
46382
|
-
"name": "keydown",
|
|
46383
|
-
"reactName": "onKeyDown"
|
|
46384
|
-
},
|
|
46385
|
-
{
|
|
46386
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
|
|
46387
|
-
"name": "keyup",
|
|
46388
|
-
"reactName": "onKeyUp"
|
|
46389
|
-
}
|
|
46390
|
-
],
|
|
46391
|
-
"attributes": [
|
|
46392
|
-
{
|
|
46393
|
-
"name": "variant",
|
|
46394
|
-
"type": {
|
|
46395
|
-
"text": "VariantType"
|
|
46396
|
-
},
|
|
46397
|
-
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
46398
|
-
"default": "'inline'",
|
|
46399
|
-
"fieldName": "variant"
|
|
46400
|
-
},
|
|
46401
|
-
{
|
|
46402
|
-
"name": "status",
|
|
46403
|
-
"type": {
|
|
46404
|
-
"text": "StatusType"
|
|
46405
|
-
},
|
|
46406
|
-
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
46407
|
-
"default": "'not-started'",
|
|
46408
|
-
"fieldName": "status"
|
|
46409
|
-
},
|
|
46410
|
-
{
|
|
46411
|
-
"name": "label",
|
|
46412
|
-
"type": {
|
|
46413
|
-
"text": "string"
|
|
46414
|
-
},
|
|
46415
|
-
"default": "''",
|
|
46416
|
-
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
46417
|
-
"fieldName": "label"
|
|
46418
|
-
},
|
|
46419
|
-
{
|
|
46420
|
-
"name": "help-text",
|
|
46421
|
-
"type": {
|
|
46422
|
-
"text": "string | undefined"
|
|
46423
|
-
},
|
|
46424
|
-
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
46425
|
-
"default": "''",
|
|
46426
|
-
"fieldName": "helpText"
|
|
46427
|
-
},
|
|
46428
|
-
{
|
|
46429
|
-
"name": "step-number",
|
|
46430
|
-
"type": {
|
|
46431
|
-
"text": "number | undefined"
|
|
46432
|
-
},
|
|
46433
|
-
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
46434
|
-
"default": "''",
|
|
46435
|
-
"fieldName": "stepNumber"
|
|
46436
|
-
},
|
|
46437
|
-
{
|
|
46438
|
-
"name": "tabIndex",
|
|
46439
|
-
"type": {
|
|
46440
|
-
"text": "number"
|
|
46441
|
-
},
|
|
46442
|
-
"default": "0",
|
|
46443
|
-
"description": "This property specifies the tab order of the element.",
|
|
46444
|
-
"fieldName": "tabIndex",
|
|
46445
|
-
"inheritedFrom": {
|
|
46446
|
-
"name": "TabIndexMixin",
|
|
46447
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
46448
|
-
}
|
|
46449
|
-
}
|
|
46450
|
-
],
|
|
46451
|
-
"mixins": [
|
|
46452
|
-
{
|
|
46453
|
-
"name": "TabIndexMixin",
|
|
46454
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
|
46455
|
-
}
|
|
46456
|
-
],
|
|
46457
|
-
"superclass": {
|
|
46458
|
-
"name": "Component",
|
|
46459
|
-
"module": "/src/models"
|
|
46460
|
-
},
|
|
46461
|
-
"tagName": "mdc-stepperitem",
|
|
46462
|
-
"jsDoc": "/**\n * stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\n * It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\n * The component supports various visual styles and can be customized with labels, help text, and step numbers.\n *\n * This is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\n * Make sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n *\n * Additionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-stepperitem\n *\n * @event click - (React: onClick) This event is dispatched when the stepperitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the stepperitem.\n *\n * @csspart status-container - The container for the status icon or step number.\n * @csspart label-container - The container for the label and help text.\n * @csspart help-text-container - The container for the help text and error icon when applicable.\n * @csspart status-icon - The icon representing the status of the stepper item.\n * @csspart step-number - The text representing the step number.\n * @csspart label - The text representing the label of the stepper item.\n * @csspart help-text - The text providing additional information about the stepper item.\n * @csspart help-icon - The icon representing an error in the stepper item.\n *\n * @cssproperty --mdc-stepperitem-status-container-background - The background color of the status container.\n * @cssproperty --mdc-stepperitem-status-container-border-color - The border color of the status container.\n * @cssproperty --mdc-stepperitem-label-color - The color of the label text.\n * @cssproperty --mdc-stepperitem-help-text-color - The color of the optional label text.\n * @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.\n */",
|
|
46463
|
-
"customElement": true
|
|
46464
|
-
}
|
|
46465
|
-
],
|
|
46466
|
-
"exports": [
|
|
46467
|
-
{
|
|
46468
|
-
"kind": "js",
|
|
46469
|
-
"name": "default",
|
|
46470
|
-
"declaration": {
|
|
46471
|
-
"name": "StepperItem",
|
|
46472
|
-
"module": "components/stepperitem/stepperitem.component.js"
|
|
46473
|
-
}
|
|
46474
|
-
}
|
|
46475
|
-
]
|
|
46476
|
-
},
|
|
46477
46573
|
{
|
|
46478
46574
|
"kind": "javascript-module",
|
|
46479
46575
|
"path": "components/text/text.component.js",
|