@momentum-design/components 0.122.5 → 0.122.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12834,6 +12834,21 @@
12834
12834
  "module": "components/popover/popover.component.js"
12835
12835
  }
12836
12836
  },
12837
+ {
12838
+ "kind": "field",
12839
+ "name": "animationFrame",
12840
+ "type": {
12841
+ "text": "boolean"
12842
+ },
12843
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
12844
+ "default": "false",
12845
+ "attribute": "animation-frame",
12846
+ "reflects": true,
12847
+ "inheritedFrom": {
12848
+ "name": "Popover",
12849
+ "module": "components/popover/popover.component.js"
12850
+ }
12851
+ },
12837
12852
  {
12838
12853
  "kind": "field",
12839
12854
  "name": "arrowElement",
@@ -13604,6 +13619,19 @@
13604
13619
  "name": "Popover",
13605
13620
  "module": "src/components/popover/popover.component.ts"
13606
13621
  }
13622
+ },
13623
+ {
13624
+ "name": "animation-frame",
13625
+ "type": {
13626
+ "text": "boolean"
13627
+ },
13628
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
13629
+ "default": "false",
13630
+ "fieldName": "animationFrame",
13631
+ "inheritedFrom": {
13632
+ "name": "Popover",
13633
+ "module": "src/components/popover/popover.component.ts"
13634
+ }
13607
13635
  }
13608
13636
  ],
13609
13637
  "superclass": {
@@ -27965,6 +27993,21 @@
27965
27993
  "module": "components/popover/popover.component.js"
27966
27994
  }
27967
27995
  },
27996
+ {
27997
+ "kind": "field",
27998
+ "name": "animationFrame",
27999
+ "type": {
28000
+ "text": "boolean"
28001
+ },
28002
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
28003
+ "default": "false",
28004
+ "attribute": "animation-frame",
28005
+ "reflects": true,
28006
+ "inheritedFrom": {
28007
+ "name": "Popover",
28008
+ "module": "components/popover/popover.component.js"
28009
+ }
28010
+ },
27968
28011
  {
27969
28012
  "kind": "field",
27970
28013
  "name": "arrowElement",
@@ -28693,6 +28736,19 @@
28693
28736
  "name": "Popover",
28694
28737
  "module": "src/components/popover/popover.component.ts"
28695
28738
  }
28739
+ },
28740
+ {
28741
+ "name": "animation-frame",
28742
+ "type": {
28743
+ "text": "boolean"
28744
+ },
28745
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
28746
+ "default": "false",
28747
+ "fieldName": "animationFrame",
28748
+ "inheritedFrom": {
28749
+ "name": "Popover",
28750
+ "module": "src/components/popover/popover.component.ts"
28751
+ }
28696
28752
  }
28697
28753
  ],
28698
28754
  "superclass": {
@@ -33267,6 +33323,17 @@
33267
33323
  "attribute": "keep-connected-tooltip-open",
33268
33324
  "reflects": true
33269
33325
  },
33326
+ {
33327
+ "kind": "field",
33328
+ "name": "animationFrame",
33329
+ "type": {
33330
+ "text": "boolean"
33331
+ },
33332
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
33333
+ "default": "false",
33334
+ "attribute": "animation-frame",
33335
+ "reflects": true
33336
+ },
33270
33337
  {
33271
33338
  "kind": "field",
33272
33339
  "name": "arrowElement",
@@ -34295,6 +34362,15 @@
34295
34362
  "description": "Controls the visibility of a connected tooltip when this popover is open.\n- If set to `true`, the tooltip remains open alongside the popover.\n- If set to `false`, the tooltip will be closed when the popover opens.\nUseful for scenarios where both a popover and a tooltip are linked to the same trigger element.",
34296
34363
  "fieldName": "keepConnectedTooltipOpen"
34297
34364
  },
34365
+ {
34366
+ "name": "animation-frame",
34367
+ "type": {
34368
+ "text": "boolean"
34369
+ },
34370
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
34371
+ "default": "false",
34372
+ "fieldName": "animationFrame"
34373
+ },
34298
34374
  {
34299
34375
  "name": "should-focus-trap-wrap",
34300
34376
  "type": {
@@ -36111,16 +36187,32 @@
36111
36187
  },
36112
36188
  {
36113
36189
  "kind": "javascript-module",
36114
- "path": "components/radiogroup/radiogroup.component.js",
36190
+ "path": "components/radio/radio.component.js",
36115
36191
  "declarations": [
36116
36192
  {
36117
36193
  "kind": "class",
36118
- "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
36119
- "name": "RadioGroup",
36194
+ "description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
36195
+ "name": "Radio",
36120
36196
  "cssProperties": [
36121
36197
  {
36122
- "description": "color of the description text",
36123
- "name": "--mdc-radiogroup-description-text-normal"
36198
+ "description": "size of the inner circle",
36199
+ "name": "--mdc-radio-inner-circle-size"
36200
+ },
36201
+ {
36202
+ "description": "size of the outer circle",
36203
+ "name": "--mdc-radio-outer-circle-size"
36204
+ },
36205
+ {
36206
+ "description": "background color of the inner circle",
36207
+ "name": "--mdc-radio-inner-circle-background-color"
36208
+ },
36209
+ {
36210
+ "description": "border color of the outer circle",
36211
+ "name": "--mdc-radio-outer-circle-border-color"
36212
+ },
36213
+ {
36214
+ "description": "background color of the outer circle",
36215
+ "name": "--mdc-radio-outer-circle-background-color"
36124
36216
  },
36125
36217
  {
36126
36218
  "description": "Font size for the label text.",
@@ -36195,7 +36287,214 @@
36195
36287
  }
36196
36288
  }
36197
36289
  ],
36290
+ "cssParts": [
36291
+ {
36292
+ "description": "The label element.",
36293
+ "name": "label",
36294
+ "inheritedFrom": {
36295
+ "name": "FormfieldWrapper",
36296
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36297
+ }
36298
+ },
36299
+ {
36300
+ "description": "The container for the label and required indicator elements.",
36301
+ "name": "label-text",
36302
+ "inheritedFrom": {
36303
+ "name": "FormfieldWrapper",
36304
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36305
+ }
36306
+ },
36307
+ {
36308
+ "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36309
+ "name": "required-indicator",
36310
+ "inheritedFrom": {
36311
+ "name": "FormfieldWrapper",
36312
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36313
+ }
36314
+ },
36315
+ {
36316
+ "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
36317
+ "name": "info-icon-btn",
36318
+ "inheritedFrom": {
36319
+ "name": "FormfieldWrapper",
36320
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36321
+ }
36322
+ },
36323
+ {
36324
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
36325
+ "name": "label-toggletip",
36326
+ "inheritedFrom": {
36327
+ "name": "FormfieldWrapper",
36328
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36329
+ }
36330
+ },
36331
+ {
36332
+ "description": "The helper/validation text element.",
36333
+ "name": "help-text",
36334
+ "inheritedFrom": {
36335
+ "name": "FormfieldWrapper",
36336
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36337
+ }
36338
+ },
36339
+ {
36340
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36341
+ "name": "helper-icon",
36342
+ "inheritedFrom": {
36343
+ "name": "FormfieldWrapper",
36344
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36345
+ }
36346
+ },
36347
+ {
36348
+ "description": "The container for the helper/validation icon and text elements.",
36349
+ "name": "help-text-container",
36350
+ "inheritedFrom": {
36351
+ "name": "FormfieldWrapper",
36352
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36353
+ }
36354
+ },
36355
+ {
36356
+ "description": "The native radio input element.",
36357
+ "name": "radio-input"
36358
+ },
36359
+ {
36360
+ "description": "The container for the label and helper text elements.",
36361
+ "name": "text-container"
36362
+ }
36363
+ ],
36198
36364
  "members": [
36365
+ {
36366
+ "kind": "field",
36367
+ "name": "checked",
36368
+ "type": {
36369
+ "text": "boolean"
36370
+ },
36371
+ "default": "false",
36372
+ "description": "Determines whether the radio is selected or unselected.",
36373
+ "attribute": "checked",
36374
+ "reflects": true
36375
+ },
36376
+ {
36377
+ "kind": "method",
36378
+ "name": "getAllRadiosWithinSameGroup",
36379
+ "privacy": "private",
36380
+ "return": {
36381
+ "type": {
36382
+ "text": "Radio[]"
36383
+ }
36384
+ },
36385
+ "description": "Returns all radios within the same group (name)."
36386
+ },
36387
+ {
36388
+ "kind": "method",
36389
+ "name": "setGroupValidity",
36390
+ "privacy": "private",
36391
+ "parameters": [
36392
+ {
36393
+ "name": "radios",
36394
+ "type": {
36395
+ "text": "Radio[]"
36396
+ },
36397
+ "description": "Array of radios of the same group"
36398
+ },
36399
+ {
36400
+ "name": "isValid",
36401
+ "type": {
36402
+ "text": "boolean"
36403
+ },
36404
+ "description": "Boolean value to set the validity of the group"
36405
+ }
36406
+ ],
36407
+ "description": "Sets the validity of the group of radios."
36408
+ },
36409
+ {
36410
+ "kind": "method",
36411
+ "name": "setActualFormValue",
36412
+ "privacy": "private",
36413
+ "description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
36414
+ },
36415
+ {
36416
+ "kind": "method",
36417
+ "name": "handleChange",
36418
+ "privacy": "private",
36419
+ "return": {
36420
+ "type": {
36421
+ "text": "void"
36422
+ }
36423
+ },
36424
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
36425
+ },
36426
+ {
36427
+ "kind": "method",
36428
+ "name": "updateRadio",
36429
+ "privacy": "private",
36430
+ "parameters": [
36431
+ {
36432
+ "name": "enabledRadios",
36433
+ "type": {
36434
+ "text": "Radio[]"
36435
+ },
36436
+ "description": "An array of enabled radio buttons within the same group."
36437
+ },
36438
+ {
36439
+ "name": "index",
36440
+ "type": {
36441
+ "text": "number"
36442
+ },
36443
+ "description": "The index of the radio button to be updated within the enabled radios array."
36444
+ }
36445
+ ],
36446
+ "description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
36447
+ },
36448
+ {
36449
+ "kind": "method",
36450
+ "name": "handleKeyDown",
36451
+ "privacy": "private",
36452
+ "return": {
36453
+ "type": {
36454
+ "text": "void"
36455
+ }
36456
+ },
36457
+ "parameters": [
36458
+ {
36459
+ "name": "event",
36460
+ "type": {
36461
+ "text": "KeyboardEvent"
36462
+ }
36463
+ }
36464
+ ],
36465
+ "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
36466
+ },
36467
+ {
36468
+ "kind": "method",
36469
+ "name": "updateTabIndex",
36470
+ "privacy": "private",
36471
+ "return": {
36472
+ "type": {
36473
+ "text": "void"
36474
+ }
36475
+ },
36476
+ "description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
36477
+ },
36478
+ {
36479
+ "kind": "field",
36480
+ "name": "renderLabelAndHelperText",
36481
+ "privacy": "private"
36482
+ },
36483
+ {
36484
+ "kind": "field",
36485
+ "name": "autoFocusOnMount",
36486
+ "type": {
36487
+ "text": "boolean"
36488
+ },
36489
+ "default": "false",
36490
+ "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.",
36491
+ "attribute": "auto-focus-on-mount",
36492
+ "reflects": true,
36493
+ "inheritedFrom": {
36494
+ "name": "AutoFocusOnMountMixin",
36495
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
36496
+ }
36497
+ },
36199
36498
  {
36200
36499
  "kind": "field",
36201
36500
  "name": "name",
@@ -36203,8 +36502,98 @@
36203
36502
  "text": "string"
36204
36503
  },
36205
36504
  "default": "''",
36206
- "description": "Name of the radio group.\nThey are used to group elements in a form together.",
36207
- "attribute": "name"
36505
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36506
+ "attribute": "name",
36507
+ "reflects": true,
36508
+ "inheritedFrom": {
36509
+ "name": "FormInternalsMixin",
36510
+ "module": "utils/mixins/FormInternalsMixin.js"
36511
+ }
36512
+ },
36513
+ {
36514
+ "kind": "field",
36515
+ "name": "value",
36516
+ "type": {
36517
+ "text": "string"
36518
+ },
36519
+ "default": "''",
36520
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36521
+ "attribute": "value",
36522
+ "reflects": true,
36523
+ "inheritedFrom": {
36524
+ "name": "FormInternalsMixin",
36525
+ "module": "utils/mixins/FormInternalsMixin.js"
36526
+ }
36527
+ },
36528
+ {
36529
+ "kind": "field",
36530
+ "name": "validationMessage",
36531
+ "type": {
36532
+ "text": "string | undefined"
36533
+ },
36534
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
36535
+ "attribute": "validation-message",
36536
+ "reflects": true,
36537
+ "inheritedFrom": {
36538
+ "name": "FormInternalsMixin",
36539
+ "module": "utils/mixins/FormInternalsMixin.js"
36540
+ }
36541
+ },
36542
+ {
36543
+ "kind": "field",
36544
+ "name": "validity",
36545
+ "type": {
36546
+ "text": "ValidityState"
36547
+ },
36548
+ "readonly": true,
36549
+ "inheritedFrom": {
36550
+ "name": "FormInternalsMixin",
36551
+ "module": "utils/mixins/FormInternalsMixin.js"
36552
+ }
36553
+ },
36554
+ {
36555
+ "kind": "field",
36556
+ "name": "willValidate",
36557
+ "readonly": true,
36558
+ "inheritedFrom": {
36559
+ "name": "FormInternalsMixin",
36560
+ "module": "utils/mixins/FormInternalsMixin.js"
36561
+ }
36562
+ },
36563
+ {
36564
+ "kind": "method",
36565
+ "name": "setValidity",
36566
+ "description": "Sets the validity of the input field based on the input field's validity.",
36567
+ "return": {
36568
+ "type": {
36569
+ "text": ""
36570
+ }
36571
+ },
36572
+ "inheritedFrom": {
36573
+ "name": "FormInternalsMixin",
36574
+ "module": "utils/mixins/FormInternalsMixin.js"
36575
+ }
36576
+ },
36577
+ {
36578
+ "kind": "method",
36579
+ "name": "checkValidity",
36580
+ "return": {
36581
+ "type": {
36582
+ "text": "boolean"
36583
+ }
36584
+ },
36585
+ "inheritedFrom": {
36586
+ "name": "FormInternalsMixin",
36587
+ "module": "utils/mixins/FormInternalsMixin.js"
36588
+ }
36589
+ },
36590
+ {
36591
+ "kind": "method",
36592
+ "name": "reportValidity",
36593
+ "inheritedFrom": {
36594
+ "name": "FormInternalsMixin",
36595
+ "module": "utils/mixins/FormInternalsMixin.js"
36596
+ }
36208
36597
  },
36209
36598
  {
36210
36599
  "kind": "field",
@@ -36455,15 +36844,81 @@
36455
36844
  }
36456
36845
  }
36457
36846
  ],
36847
+ "events": [
36848
+ {
36849
+ "name": "change",
36850
+ "type": {
36851
+ "text": "Event"
36852
+ },
36853
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
36854
+ "reactName": "onChange"
36855
+ },
36856
+ {
36857
+ "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
36858
+ "name": "focus",
36859
+ "reactName": "onFocus"
36860
+ }
36861
+ ],
36458
36862
  "attributes": [
36863
+ {
36864
+ "name": "checked",
36865
+ "type": {
36866
+ "text": "boolean"
36867
+ },
36868
+ "default": "false",
36869
+ "description": "Determines whether the radio is selected or unselected.",
36870
+ "fieldName": "checked"
36871
+ },
36872
+ {
36873
+ "name": "auto-focus-on-mount",
36874
+ "type": {
36875
+ "text": "boolean"
36876
+ },
36877
+ "default": "false",
36878
+ "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.",
36879
+ "fieldName": "autoFocusOnMount",
36880
+ "inheritedFrom": {
36881
+ "name": "AutoFocusOnMountMixin",
36882
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
36883
+ }
36884
+ },
36459
36885
  {
36460
36886
  "name": "name",
36461
36887
  "type": {
36462
36888
  "text": "string"
36463
36889
  },
36464
36890
  "default": "''",
36465
- "description": "Name of the radio group.\nThey are used to group elements in a form together.",
36466
- "fieldName": "name"
36891
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36892
+ "fieldName": "name",
36893
+ "inheritedFrom": {
36894
+ "name": "FormInternalsMixin",
36895
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36896
+ }
36897
+ },
36898
+ {
36899
+ "name": "value",
36900
+ "type": {
36901
+ "text": "string"
36902
+ },
36903
+ "default": "''",
36904
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36905
+ "fieldName": "value",
36906
+ "inheritedFrom": {
36907
+ "name": "FormInternalsMixin",
36908
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36909
+ }
36910
+ },
36911
+ {
36912
+ "name": "validation-message",
36913
+ "type": {
36914
+ "text": "string | undefined"
36915
+ },
36916
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
36917
+ "fieldName": "validationMessage",
36918
+ "inheritedFrom": {
36919
+ "name": "FormInternalsMixin",
36920
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36921
+ }
36467
36922
  },
36468
36923
  {
36469
36924
  "name": "data-aria-label",
@@ -36615,22 +37070,28 @@
36615
37070
  }
36616
37071
  }
36617
37072
  ],
37073
+ "mixins": [
37074
+ {
37075
+ "name": "AutoFocusOnMountMixin",
37076
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
37077
+ },
37078
+ {
37079
+ "name": "FormInternalsMixin",
37080
+ "module": "/src/utils/mixins/FormInternalsMixin"
37081
+ },
37082
+ {
37083
+ "name": "DataAriaLabelMixin",
37084
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
37085
+ }
37086
+ ],
36618
37087
  "superclass": {
36619
- "name": "FormfieldGroup",
36620
- "module": "/src/components/formfieldgroup"
37088
+ "name": "FormfieldWrapper",
37089
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
36621
37090
  },
36622
- "tagName": "mdc-radiogroup",
36623
- "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
37091
+ "tagName": "mdc-radio",
37092
+ "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-outer-circle-size - size of the outer circle\n * @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle\n * @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle\n * @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart radio-input - The native radio input element.\n * @csspart text-container - The container for the label and helper text elements.\n */",
36624
37093
  "customElement": true,
36625
37094
  "slots": [
36626
- {
36627
- "description": "This is a default slot for checkbox or toggle components.",
36628
- "name": "default",
36629
- "inheritedFrom": {
36630
- "name": "FormfieldGroup",
36631
- "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
36632
- }
36633
- },
36634
37095
  {
36635
37096
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
36636
37097
  "name": "label",
@@ -36663,88 +37124,6 @@
36663
37124
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36664
37125
  }
36665
37126
  }
36666
- ],
36667
- "cssParts": [
36668
- {
36669
- "description": "The label element.",
36670
- "name": "label",
36671
- "inheritedFrom": {
36672
- "name": "FormfieldWrapper",
36673
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36674
- }
36675
- },
36676
- {
36677
- "description": "The container for the label and required indicator elements.",
36678
- "name": "label-text",
36679
- "inheritedFrom": {
36680
- "name": "FormfieldWrapper",
36681
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36682
- }
36683
- },
36684
- {
36685
- "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36686
- "name": "required-indicator",
36687
- "inheritedFrom": {
36688
- "name": "FormfieldWrapper",
36689
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36690
- }
36691
- },
36692
- {
36693
- "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
36694
- "name": "info-icon-btn",
36695
- "inheritedFrom": {
36696
- "name": "FormfieldWrapper",
36697
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36698
- }
36699
- },
36700
- {
36701
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
36702
- "name": "label-toggletip",
36703
- "inheritedFrom": {
36704
- "name": "FormfieldWrapper",
36705
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36706
- }
36707
- },
36708
- {
36709
- "description": "The helper/validation text element.",
36710
- "name": "help-text",
36711
- "inheritedFrom": {
36712
- "name": "FormfieldWrapper",
36713
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36714
- }
36715
- },
36716
- {
36717
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36718
- "name": "helper-icon",
36719
- "inheritedFrom": {
36720
- "name": "FormfieldWrapper",
36721
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36722
- }
36723
- },
36724
- {
36725
- "description": "The container for the helper/validation icon and text elements.",
36726
- "name": "help-text-container",
36727
- "inheritedFrom": {
36728
- "name": "FormfieldWrapper",
36729
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36730
- }
36731
- },
36732
- {
36733
- "description": "Formfieldgroup host container",
36734
- "name": "container",
36735
- "inheritedFrom": {
36736
- "name": "FormfieldGroup",
36737
- "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
36738
- }
36739
- },
36740
- {
36741
- "description": "This contains the label and help text for the group",
36742
- "name": "group-header",
36743
- "inheritedFrom": {
36744
- "name": "FormfieldGroup",
36745
- "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
36746
- }
36747
- }
36748
37127
  ]
36749
37128
  }
36750
37129
  ],
@@ -36753,40 +37132,24 @@
36753
37132
  "kind": "js",
36754
37133
  "name": "default",
36755
37134
  "declaration": {
36756
- "name": "RadioGroup",
36757
- "module": "components/radiogroup/radiogroup.component.js"
37135
+ "name": "Radio",
37136
+ "module": "components/radio/radio.component.js"
36758
37137
  }
36759
37138
  }
36760
37139
  ]
36761
37140
  },
36762
37141
  {
36763
37142
  "kind": "javascript-module",
36764
- "path": "components/radio/radio.component.js",
37143
+ "path": "components/radiogroup/radiogroup.component.js",
36765
37144
  "declarations": [
36766
37145
  {
36767
37146
  "kind": "class",
36768
- "description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
36769
- "name": "Radio",
37147
+ "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
37148
+ "name": "RadioGroup",
36770
37149
  "cssProperties": [
36771
37150
  {
36772
- "description": "size of the inner circle",
36773
- "name": "--mdc-radio-inner-circle-size"
36774
- },
36775
- {
36776
- "description": "size of the outer circle",
36777
- "name": "--mdc-radio-outer-circle-size"
36778
- },
36779
- {
36780
- "description": "background color of the inner circle",
36781
- "name": "--mdc-radio-inner-circle-background-color"
36782
- },
36783
- {
36784
- "description": "border color of the outer circle",
36785
- "name": "--mdc-radio-outer-circle-border-color"
36786
- },
36787
- {
36788
- "description": "background color of the outer circle",
36789
- "name": "--mdc-radio-outer-circle-background-color"
37151
+ "description": "color of the description text",
37152
+ "name": "--mdc-radiogroup-description-text-normal"
36790
37153
  },
36791
37154
  {
36792
37155
  "description": "Font size for the label text.",
@@ -36861,214 +37224,7 @@
36861
37224
  }
36862
37225
  }
36863
37226
  ],
36864
- "cssParts": [
36865
- {
36866
- "description": "The label element.",
36867
- "name": "label",
36868
- "inheritedFrom": {
36869
- "name": "FormfieldWrapper",
36870
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36871
- }
36872
- },
36873
- {
36874
- "description": "The container for the label and required indicator elements.",
36875
- "name": "label-text",
36876
- "inheritedFrom": {
36877
- "name": "FormfieldWrapper",
36878
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36879
- }
36880
- },
36881
- {
36882
- "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36883
- "name": "required-indicator",
36884
- "inheritedFrom": {
36885
- "name": "FormfieldWrapper",
36886
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36887
- }
36888
- },
36889
- {
36890
- "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
36891
- "name": "info-icon-btn",
36892
- "inheritedFrom": {
36893
- "name": "FormfieldWrapper",
36894
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36895
- }
36896
- },
36897
- {
36898
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
36899
- "name": "label-toggletip",
36900
- "inheritedFrom": {
36901
- "name": "FormfieldWrapper",
36902
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36903
- }
36904
- },
36905
- {
36906
- "description": "The helper/validation text element.",
36907
- "name": "help-text",
36908
- "inheritedFrom": {
36909
- "name": "FormfieldWrapper",
36910
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36911
- }
36912
- },
36913
- {
36914
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36915
- "name": "helper-icon",
36916
- "inheritedFrom": {
36917
- "name": "FormfieldWrapper",
36918
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36919
- }
36920
- },
36921
- {
36922
- "description": "The container for the helper/validation icon and text elements.",
36923
- "name": "help-text-container",
36924
- "inheritedFrom": {
36925
- "name": "FormfieldWrapper",
36926
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36927
- }
36928
- },
36929
- {
36930
- "description": "The native radio input element.",
36931
- "name": "radio-input"
36932
- },
36933
- {
36934
- "description": "The container for the label and helper text elements.",
36935
- "name": "text-container"
36936
- }
36937
- ],
36938
37227
  "members": [
36939
- {
36940
- "kind": "field",
36941
- "name": "checked",
36942
- "type": {
36943
- "text": "boolean"
36944
- },
36945
- "default": "false",
36946
- "description": "Determines whether the radio is selected or unselected.",
36947
- "attribute": "checked",
36948
- "reflects": true
36949
- },
36950
- {
36951
- "kind": "method",
36952
- "name": "getAllRadiosWithinSameGroup",
36953
- "privacy": "private",
36954
- "return": {
36955
- "type": {
36956
- "text": "Radio[]"
36957
- }
36958
- },
36959
- "description": "Returns all radios within the same group (name)."
36960
- },
36961
- {
36962
- "kind": "method",
36963
- "name": "setGroupValidity",
36964
- "privacy": "private",
36965
- "parameters": [
36966
- {
36967
- "name": "radios",
36968
- "type": {
36969
- "text": "Radio[]"
36970
- },
36971
- "description": "Array of radios of the same group"
36972
- },
36973
- {
36974
- "name": "isValid",
36975
- "type": {
36976
- "text": "boolean"
36977
- },
36978
- "description": "Boolean value to set the validity of the group"
36979
- }
36980
- ],
36981
- "description": "Sets the validity of the group of radios."
36982
- },
36983
- {
36984
- "kind": "method",
36985
- "name": "setActualFormValue",
36986
- "privacy": "private",
36987
- "description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
36988
- },
36989
- {
36990
- "kind": "method",
36991
- "name": "handleChange",
36992
- "privacy": "private",
36993
- "return": {
36994
- "type": {
36995
- "text": "void"
36996
- }
36997
- },
36998
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
36999
- },
37000
- {
37001
- "kind": "method",
37002
- "name": "updateRadio",
37003
- "privacy": "private",
37004
- "parameters": [
37005
- {
37006
- "name": "enabledRadios",
37007
- "type": {
37008
- "text": "Radio[]"
37009
- },
37010
- "description": "An array of enabled radio buttons within the same group."
37011
- },
37012
- {
37013
- "name": "index",
37014
- "type": {
37015
- "text": "number"
37016
- },
37017
- "description": "The index of the radio button to be updated within the enabled radios array."
37018
- }
37019
- ],
37020
- "description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
37021
- },
37022
- {
37023
- "kind": "method",
37024
- "name": "handleKeyDown",
37025
- "privacy": "private",
37026
- "return": {
37027
- "type": {
37028
- "text": "void"
37029
- }
37030
- },
37031
- "parameters": [
37032
- {
37033
- "name": "event",
37034
- "type": {
37035
- "text": "KeyboardEvent"
37036
- }
37037
- }
37038
- ],
37039
- "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
37040
- },
37041
- {
37042
- "kind": "method",
37043
- "name": "updateTabIndex",
37044
- "privacy": "private",
37045
- "return": {
37046
- "type": {
37047
- "text": "void"
37048
- }
37049
- },
37050
- "description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
37051
- },
37052
- {
37053
- "kind": "field",
37054
- "name": "renderLabelAndHelperText",
37055
- "privacy": "private"
37056
- },
37057
- {
37058
- "kind": "field",
37059
- "name": "autoFocusOnMount",
37060
- "type": {
37061
- "text": "boolean"
37062
- },
37063
- "default": "false",
37064
- "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.",
37065
- "attribute": "auto-focus-on-mount",
37066
- "reflects": true,
37067
- "inheritedFrom": {
37068
- "name": "AutoFocusOnMountMixin",
37069
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
37070
- }
37071
- },
37072
37228
  {
37073
37229
  "kind": "field",
37074
37230
  "name": "name",
@@ -37076,98 +37232,8 @@
37076
37232
  "text": "string"
37077
37233
  },
37078
37234
  "default": "''",
37079
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
37080
- "attribute": "name",
37081
- "reflects": true,
37082
- "inheritedFrom": {
37083
- "name": "FormInternalsMixin",
37084
- "module": "utils/mixins/FormInternalsMixin.js"
37085
- }
37086
- },
37087
- {
37088
- "kind": "field",
37089
- "name": "value",
37090
- "type": {
37091
- "text": "string"
37092
- },
37093
- "default": "''",
37094
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
37095
- "attribute": "value",
37096
- "reflects": true,
37097
- "inheritedFrom": {
37098
- "name": "FormInternalsMixin",
37099
- "module": "utils/mixins/FormInternalsMixin.js"
37100
- }
37101
- },
37102
- {
37103
- "kind": "field",
37104
- "name": "validationMessage",
37105
- "type": {
37106
- "text": "string | undefined"
37107
- },
37108
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
37109
- "attribute": "validation-message",
37110
- "reflects": true,
37111
- "inheritedFrom": {
37112
- "name": "FormInternalsMixin",
37113
- "module": "utils/mixins/FormInternalsMixin.js"
37114
- }
37115
- },
37116
- {
37117
- "kind": "field",
37118
- "name": "validity",
37119
- "type": {
37120
- "text": "ValidityState"
37121
- },
37122
- "readonly": true,
37123
- "inheritedFrom": {
37124
- "name": "FormInternalsMixin",
37125
- "module": "utils/mixins/FormInternalsMixin.js"
37126
- }
37127
- },
37128
- {
37129
- "kind": "field",
37130
- "name": "willValidate",
37131
- "readonly": true,
37132
- "inheritedFrom": {
37133
- "name": "FormInternalsMixin",
37134
- "module": "utils/mixins/FormInternalsMixin.js"
37135
- }
37136
- },
37137
- {
37138
- "kind": "method",
37139
- "name": "setValidity",
37140
- "description": "Sets the validity of the input field based on the input field's validity.",
37141
- "return": {
37142
- "type": {
37143
- "text": ""
37144
- }
37145
- },
37146
- "inheritedFrom": {
37147
- "name": "FormInternalsMixin",
37148
- "module": "utils/mixins/FormInternalsMixin.js"
37149
- }
37150
- },
37151
- {
37152
- "kind": "method",
37153
- "name": "checkValidity",
37154
- "return": {
37155
- "type": {
37156
- "text": "boolean"
37157
- }
37158
- },
37159
- "inheritedFrom": {
37160
- "name": "FormInternalsMixin",
37161
- "module": "utils/mixins/FormInternalsMixin.js"
37162
- }
37163
- },
37164
- {
37165
- "kind": "method",
37166
- "name": "reportValidity",
37167
- "inheritedFrom": {
37168
- "name": "FormInternalsMixin",
37169
- "module": "utils/mixins/FormInternalsMixin.js"
37170
- }
37235
+ "description": "Name of the radio group.\nThey are used to group elements in a form together.",
37236
+ "attribute": "name"
37171
37237
  },
37172
37238
  {
37173
37239
  "kind": "field",
@@ -37418,81 +37484,15 @@
37418
37484
  }
37419
37485
  }
37420
37486
  ],
37421
- "events": [
37422
- {
37423
- "name": "change",
37424
- "type": {
37425
- "text": "Event"
37426
- },
37427
- "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
37428
- "reactName": "onChange"
37429
- },
37430
- {
37431
- "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
37432
- "name": "focus",
37433
- "reactName": "onFocus"
37434
- }
37435
- ],
37436
37487
  "attributes": [
37437
- {
37438
- "name": "checked",
37439
- "type": {
37440
- "text": "boolean"
37441
- },
37442
- "default": "false",
37443
- "description": "Determines whether the radio is selected or unselected.",
37444
- "fieldName": "checked"
37445
- },
37446
- {
37447
- "name": "auto-focus-on-mount",
37448
- "type": {
37449
- "text": "boolean"
37450
- },
37451
- "default": "false",
37452
- "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.",
37453
- "fieldName": "autoFocusOnMount",
37454
- "inheritedFrom": {
37455
- "name": "AutoFocusOnMountMixin",
37456
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
37457
- }
37458
- },
37459
37488
  {
37460
37489
  "name": "name",
37461
37490
  "type": {
37462
37491
  "text": "string"
37463
37492
  },
37464
37493
  "default": "''",
37465
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
37466
- "fieldName": "name",
37467
- "inheritedFrom": {
37468
- "name": "FormInternalsMixin",
37469
- "module": "src/utils/mixins/FormInternalsMixin.ts"
37470
- }
37471
- },
37472
- {
37473
- "name": "value",
37474
- "type": {
37475
- "text": "string"
37476
- },
37477
- "default": "''",
37478
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
37479
- "fieldName": "value",
37480
- "inheritedFrom": {
37481
- "name": "FormInternalsMixin",
37482
- "module": "src/utils/mixins/FormInternalsMixin.ts"
37483
- }
37484
- },
37485
- {
37486
- "name": "validation-message",
37487
- "type": {
37488
- "text": "string | undefined"
37489
- },
37490
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
37491
- "fieldName": "validationMessage",
37492
- "inheritedFrom": {
37493
- "name": "FormInternalsMixin",
37494
- "module": "src/utils/mixins/FormInternalsMixin.ts"
37495
- }
37494
+ "description": "Name of the radio group.\nThey are used to group elements in a form together.",
37495
+ "fieldName": "name"
37496
37496
  },
37497
37497
  {
37498
37498
  "name": "data-aria-label",
@@ -37644,28 +37644,22 @@
37644
37644
  }
37645
37645
  }
37646
37646
  ],
37647
- "mixins": [
37648
- {
37649
- "name": "AutoFocusOnMountMixin",
37650
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
37651
- },
37652
- {
37653
- "name": "FormInternalsMixin",
37654
- "module": "/src/utils/mixins/FormInternalsMixin"
37655
- },
37656
- {
37657
- "name": "DataAriaLabelMixin",
37658
- "module": "/src/utils/mixins/DataAriaLabelMixin"
37659
- }
37660
- ],
37661
37647
  "superclass": {
37662
- "name": "FormfieldWrapper",
37663
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
37648
+ "name": "FormfieldGroup",
37649
+ "module": "/src/components/formfieldgroup"
37664
37650
  },
37665
- "tagName": "mdc-radio",
37666
- "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-outer-circle-size - size of the outer circle\n * @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle\n * @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle\n * @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart radio-input - The native radio input element.\n * @csspart text-container - The container for the label and helper text elements.\n */",
37651
+ "tagName": "mdc-radiogroup",
37652
+ "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
37667
37653
  "customElement": true,
37668
37654
  "slots": [
37655
+ {
37656
+ "description": "This is a default slot for checkbox or toggle components.",
37657
+ "name": "default",
37658
+ "inheritedFrom": {
37659
+ "name": "FormfieldGroup",
37660
+ "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
37661
+ }
37662
+ },
37669
37663
  {
37670
37664
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
37671
37665
  "name": "label",
@@ -37698,6 +37692,88 @@
37698
37692
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37699
37693
  }
37700
37694
  }
37695
+ ],
37696
+ "cssParts": [
37697
+ {
37698
+ "description": "The label element.",
37699
+ "name": "label",
37700
+ "inheritedFrom": {
37701
+ "name": "FormfieldWrapper",
37702
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37703
+ }
37704
+ },
37705
+ {
37706
+ "description": "The container for the label and required indicator elements.",
37707
+ "name": "label-text",
37708
+ "inheritedFrom": {
37709
+ "name": "FormfieldWrapper",
37710
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37711
+ }
37712
+ },
37713
+ {
37714
+ "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
37715
+ "name": "required-indicator",
37716
+ "inheritedFrom": {
37717
+ "name": "FormfieldWrapper",
37718
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37719
+ }
37720
+ },
37721
+ {
37722
+ "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
37723
+ "name": "info-icon-btn",
37724
+ "inheritedFrom": {
37725
+ "name": "FormfieldWrapper",
37726
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37727
+ }
37728
+ },
37729
+ {
37730
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
37731
+ "name": "label-toggletip",
37732
+ "inheritedFrom": {
37733
+ "name": "FormfieldWrapper",
37734
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37735
+ }
37736
+ },
37737
+ {
37738
+ "description": "The helper/validation text element.",
37739
+ "name": "help-text",
37740
+ "inheritedFrom": {
37741
+ "name": "FormfieldWrapper",
37742
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37743
+ }
37744
+ },
37745
+ {
37746
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
37747
+ "name": "helper-icon",
37748
+ "inheritedFrom": {
37749
+ "name": "FormfieldWrapper",
37750
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37751
+ }
37752
+ },
37753
+ {
37754
+ "description": "The container for the helper/validation icon and text elements.",
37755
+ "name": "help-text-container",
37756
+ "inheritedFrom": {
37757
+ "name": "FormfieldWrapper",
37758
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37759
+ }
37760
+ },
37761
+ {
37762
+ "description": "Formfieldgroup host container",
37763
+ "name": "container",
37764
+ "inheritedFrom": {
37765
+ "name": "FormfieldGroup",
37766
+ "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
37767
+ }
37768
+ },
37769
+ {
37770
+ "description": "This contains the label and help text for the group",
37771
+ "name": "group-header",
37772
+ "inheritedFrom": {
37773
+ "name": "FormfieldGroup",
37774
+ "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
37775
+ }
37776
+ }
37701
37777
  ]
37702
37778
  }
37703
37779
  ],
@@ -37706,8 +37782,8 @@
37706
37782
  "kind": "js",
37707
37783
  "name": "default",
37708
37784
  "declaration": {
37709
- "name": "Radio",
37710
- "module": "components/radio/radio.component.js"
37785
+ "name": "RadioGroup",
37786
+ "module": "components/radiogroup/radiogroup.component.js"
37711
37787
  }
37712
37788
  }
37713
37789
  ]
@@ -43459,6 +43535,186 @@
43459
43535
  }
43460
43536
  ]
43461
43537
  },
43538
+ {
43539
+ "kind": "javascript-module",
43540
+ "path": "components/staticcheckbox/staticcheckbox.component.js",
43541
+ "declarations": [
43542
+ {
43543
+ "kind": "class",
43544
+ "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 5 properties - checked, indeterminate, disabled, readonly and soft-disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
43545
+ "name": "StaticCheckbox",
43546
+ "cssProperties": [
43547
+ {
43548
+ "description": "Controls the border color of the checkbox.",
43549
+ "name": "--mdc-checkbox-border-color"
43550
+ },
43551
+ {
43552
+ "description": "Controls the background color of the checkbox.",
43553
+ "name": "--mdc-checkbox-background-color"
43554
+ },
43555
+ {
43556
+ "description": "Controls the icon color of the checkbox.",
43557
+ "name": "--mdc-checkbox-icon-color"
43558
+ },
43559
+ {
43560
+ "description": "Controls the size of the checkbox.",
43561
+ "name": "--mdc-checkbox-size"
43562
+ }
43563
+ ],
43564
+ "cssParts": [
43565
+ {
43566
+ "description": "The container for the checkbox icon.",
43567
+ "name": "icon-container"
43568
+ },
43569
+ {
43570
+ "description": "The checkbox icon.",
43571
+ "name": "checkbox-icon"
43572
+ }
43573
+ ],
43574
+ "slots": [
43575
+ {
43576
+ "description": "Default slot for adding label text.",
43577
+ "name": ""
43578
+ }
43579
+ ],
43580
+ "members": [
43581
+ {
43582
+ "kind": "field",
43583
+ "name": "checked",
43584
+ "type": {
43585
+ "text": "boolean"
43586
+ },
43587
+ "default": "false",
43588
+ "description": "Determines whether the checkbox is selected or unselected.",
43589
+ "attribute": "checked",
43590
+ "reflects": true
43591
+ },
43592
+ {
43593
+ "kind": "field",
43594
+ "name": "indeterminate",
43595
+ "type": {
43596
+ "text": "boolean"
43597
+ },
43598
+ "default": "false",
43599
+ "description": "Determines whether the checkbox is in an indeterminate state.",
43600
+ "attribute": "indeterminate",
43601
+ "reflects": true
43602
+ },
43603
+ {
43604
+ "kind": "field",
43605
+ "name": "readonly",
43606
+ "type": {
43607
+ "text": "boolean"
43608
+ },
43609
+ "default": "false",
43610
+ "description": "Determines whether the checkbox is read-only.",
43611
+ "attribute": "readonly",
43612
+ "reflects": true
43613
+ },
43614
+ {
43615
+ "kind": "field",
43616
+ "name": "softDisabled",
43617
+ "type": {
43618
+ "text": "boolean"
43619
+ },
43620
+ "default": "false",
43621
+ "description": "Determines whether the checkbox is soft-disabled.",
43622
+ "attribute": "soft-disabled",
43623
+ "reflects": true
43624
+ },
43625
+ {
43626
+ "kind": "field",
43627
+ "name": "disabled",
43628
+ "type": {
43629
+ "text": "boolean | undefined"
43630
+ },
43631
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
43632
+ "default": "undefined",
43633
+ "attribute": "disabled",
43634
+ "reflects": true,
43635
+ "inheritedFrom": {
43636
+ "name": "DisabledMixin",
43637
+ "module": "utils/mixins/DisabledMixin.js"
43638
+ }
43639
+ }
43640
+ ],
43641
+ "attributes": [
43642
+ {
43643
+ "name": "checked",
43644
+ "type": {
43645
+ "text": "boolean"
43646
+ },
43647
+ "default": "false",
43648
+ "description": "Determines whether the checkbox is selected or unselected.",
43649
+ "fieldName": "checked"
43650
+ },
43651
+ {
43652
+ "name": "indeterminate",
43653
+ "type": {
43654
+ "text": "boolean"
43655
+ },
43656
+ "default": "false",
43657
+ "description": "Determines whether the checkbox is in an indeterminate state.",
43658
+ "fieldName": "indeterminate"
43659
+ },
43660
+ {
43661
+ "name": "readonly",
43662
+ "type": {
43663
+ "text": "boolean"
43664
+ },
43665
+ "default": "false",
43666
+ "description": "Determines whether the checkbox is read-only.",
43667
+ "fieldName": "readonly"
43668
+ },
43669
+ {
43670
+ "name": "soft-disabled",
43671
+ "type": {
43672
+ "text": "boolean"
43673
+ },
43674
+ "default": "false",
43675
+ "description": "Determines whether the checkbox is soft-disabled.",
43676
+ "fieldName": "softDisabled"
43677
+ },
43678
+ {
43679
+ "name": "disabled",
43680
+ "type": {
43681
+ "text": "boolean | undefined"
43682
+ },
43683
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
43684
+ "default": "undefined",
43685
+ "fieldName": "disabled",
43686
+ "inheritedFrom": {
43687
+ "name": "DisabledMixin",
43688
+ "module": "src/utils/mixins/DisabledMixin.ts"
43689
+ }
43690
+ }
43691
+ ],
43692
+ "mixins": [
43693
+ {
43694
+ "name": "DisabledMixin",
43695
+ "module": "/src/utils/mixins/DisabledMixin"
43696
+ }
43697
+ ],
43698
+ "superclass": {
43699
+ "name": "Component",
43700
+ "module": "/src/models"
43701
+ },
43702
+ "tagName": "mdc-staticcheckbox",
43703
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 5 properties - checked, indeterminate, disabled, readonly and soft-disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-checkbox-border-color - Controls the border color of the checkbox.\n * @cssproperty --mdc-checkbox-background-color - Controls the background color of the checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Controls the icon color of the checkbox.\n * @cssproperty --mdc-checkbox-size - Controls the size of the checkbox.\n *\n * @csspart icon-container - The container for the checkbox icon.\n * @csspart checkbox-icon - The checkbox icon.\n *\n * @slot - Default slot for adding label text.\n */",
43704
+ "customElement": true
43705
+ }
43706
+ ],
43707
+ "exports": [
43708
+ {
43709
+ "kind": "js",
43710
+ "name": "default",
43711
+ "declaration": {
43712
+ "name": "StaticCheckbox",
43713
+ "module": "components/staticcheckbox/staticcheckbox.component.js"
43714
+ }
43715
+ }
43716
+ ]
43717
+ },
43462
43718
  {
43463
43719
  "kind": "javascript-module",
43464
43720
  "path": "components/staticchip/staticchip.component.js",
@@ -43594,43 +43850,43 @@
43594
43850
  },
43595
43851
  {
43596
43852
  "kind": "javascript-module",
43597
- "path": "components/staticcheckbox/staticcheckbox.component.js",
43853
+ "path": "components/staticradio/staticradio.component.js",
43598
43854
  "declarations": [
43599
43855
  {
43600
43856
  "kind": "class",
43601
- "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 5 properties - checked, indeterminate, disabled, readonly and soft-disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
43602
- "name": "StaticCheckbox",
43857
+ "description": "This is a decorative component that is styled to look as a radio.\nIt has 4 properties - checked, disabled, readonly and soft-disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
43858
+ "name": "StaticRadio",
43603
43859
  "cssProperties": [
43604
43860
  {
43605
- "description": "Controls the border color of the checkbox.",
43606
- "name": "--mdc-checkbox-border-color"
43861
+ "description": "size of the inner circle",
43862
+ "name": "--mdc-radio-inner-circle-size"
43607
43863
  },
43608
43864
  {
43609
- "description": "Controls the background color of the checkbox.",
43610
- "name": "--mdc-checkbox-background-color"
43865
+ "description": "size of the outer circle",
43866
+ "name": "--mdc-radio-outer-circle-size"
43611
43867
  },
43612
43868
  {
43613
- "description": "Controls the icon color of the checkbox.",
43614
- "name": "--mdc-checkbox-icon-color"
43869
+ "description": "background color of the inner circle",
43870
+ "name": "--mdc-radio-inner-circle-background-color"
43871
+ },
43872
+ {
43873
+ "description": "border color of the outer circle",
43874
+ "name": "--mdc-radio-outer-circle-border-color"
43615
43875
  },
43616
43876
  {
43617
- "description": "Controls the size of the checkbox.",
43618
- "name": "--mdc-checkbox-size"
43877
+ "description": "background color of the outer circle",
43878
+ "name": "--mdc-radio-outer-circle-background-color"
43619
43879
  }
43620
43880
  ],
43621
43881
  "cssParts": [
43622
43882
  {
43623
- "description": "The container for the checkbox icon.",
43624
- "name": "icon-container"
43625
- },
43626
- {
43627
- "description": "The checkbox icon.",
43628
- "name": "checkbox-icon"
43883
+ "description": "The radio icon.",
43884
+ "name": "radio-icon"
43629
43885
  }
43630
43886
  ],
43631
43887
  "slots": [
43632
43888
  {
43633
- "description": "Default slot for adding label text.",
43889
+ "description": "Default slot for the label of the radio.",
43634
43890
  "name": ""
43635
43891
  }
43636
43892
  ],
@@ -43642,21 +43898,10 @@
43642
43898
  "text": "boolean"
43643
43899
  },
43644
43900
  "default": "false",
43645
- "description": "Determines whether the checkbox is selected or unselected.",
43901
+ "description": "Determines whether the radio is selected or unselected.",
43646
43902
  "attribute": "checked",
43647
43903
  "reflects": true
43648
43904
  },
43649
- {
43650
- "kind": "field",
43651
- "name": "indeterminate",
43652
- "type": {
43653
- "text": "boolean"
43654
- },
43655
- "default": "false",
43656
- "description": "Determines whether the checkbox is in an indeterminate state.",
43657
- "attribute": "indeterminate",
43658
- "reflects": true
43659
- },
43660
43905
  {
43661
43906
  "kind": "field",
43662
43907
  "name": "readonly",
@@ -43664,7 +43909,7 @@
43664
43909
  "text": "boolean"
43665
43910
  },
43666
43911
  "default": "false",
43667
- "description": "Determines whether the checkbox is read-only.",
43912
+ "description": "Determines whether the radio is read-only.",
43668
43913
  "attribute": "readonly",
43669
43914
  "reflects": true
43670
43915
  },
@@ -43675,7 +43920,7 @@
43675
43920
  "text": "boolean"
43676
43921
  },
43677
43922
  "default": "false",
43678
- "description": "Determines whether the checkbox is soft-disabled.",
43923
+ "description": "Determines whether the radio is soft-disabled.",
43679
43924
  "attribute": "soft-disabled",
43680
43925
  "reflects": true
43681
43926
  },
@@ -43702,25 +43947,16 @@
43702
43947
  "text": "boolean"
43703
43948
  },
43704
43949
  "default": "false",
43705
- "description": "Determines whether the checkbox is selected or unselected.",
43950
+ "description": "Determines whether the radio is selected or unselected.",
43706
43951
  "fieldName": "checked"
43707
43952
  },
43708
- {
43709
- "name": "indeterminate",
43710
- "type": {
43711
- "text": "boolean"
43712
- },
43713
- "default": "false",
43714
- "description": "Determines whether the checkbox is in an indeterminate state.",
43715
- "fieldName": "indeterminate"
43716
- },
43717
43953
  {
43718
43954
  "name": "readonly",
43719
43955
  "type": {
43720
43956
  "text": "boolean"
43721
43957
  },
43722
43958
  "default": "false",
43723
- "description": "Determines whether the checkbox is read-only.",
43959
+ "description": "Determines whether the radio is read-only.",
43724
43960
  "fieldName": "readonly"
43725
43961
  },
43726
43962
  {
@@ -43729,7 +43965,7 @@
43729
43965
  "text": "boolean"
43730
43966
  },
43731
43967
  "default": "false",
43732
- "description": "Determines whether the checkbox is soft-disabled.",
43968
+ "description": "Determines whether the radio is soft-disabled.",
43733
43969
  "fieldName": "softDisabled"
43734
43970
  },
43735
43971
  {
@@ -43756,8 +43992,8 @@
43756
43992
  "name": "Component",
43757
43993
  "module": "/src/models"
43758
43994
  },
43759
- "tagName": "mdc-staticcheckbox",
43760
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 5 properties - checked, indeterminate, disabled, readonly and soft-disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-checkbox-border-color - Controls the border color of the checkbox.\n * @cssproperty --mdc-checkbox-background-color - Controls the background color of the checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Controls the icon color of the checkbox.\n * @cssproperty --mdc-checkbox-size - Controls the size of the checkbox.\n *\n * @csspart icon-container - The container for the checkbox icon.\n * @csspart checkbox-icon - The checkbox icon.\n *\n * @slot - Default slot for adding label text.\n */",
43995
+ "tagName": "mdc-staticradio",
43996
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 4 properties - checked, disabled, readonly and soft-disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-outer-circle-size - size of the outer circle\n * @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle\n * @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle\n * @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle\n *\n * @csspart radio-icon - The radio icon.\n *\n * @slot - Default slot for the label of the radio.\n */",
43761
43997
  "customElement": true
43762
43998
  }
43763
43999
  ],
@@ -43766,8 +44002,8 @@
43766
44002
  "kind": "js",
43767
44003
  "name": "default",
43768
44004
  "declaration": {
43769
- "name": "StaticCheckbox",
43770
- "module": "components/staticcheckbox/staticcheckbox.component.js"
44005
+ "name": "StaticRadio",
44006
+ "module": "components/staticradio/staticradio.component.js"
43771
44007
  }
43772
44008
  }
43773
44009
  ]
@@ -43968,166 +44204,6 @@
43968
44204
  }
43969
44205
  ]
43970
44206
  },
43971
- {
43972
- "kind": "javascript-module",
43973
- "path": "components/staticradio/staticradio.component.js",
43974
- "declarations": [
43975
- {
43976
- "kind": "class",
43977
- "description": "This is a decorative component that is styled to look as a radio.\nIt has 4 properties - checked, disabled, readonly and soft-disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
43978
- "name": "StaticRadio",
43979
- "cssProperties": [
43980
- {
43981
- "description": "size of the inner circle",
43982
- "name": "--mdc-radio-inner-circle-size"
43983
- },
43984
- {
43985
- "description": "size of the outer circle",
43986
- "name": "--mdc-radio-outer-circle-size"
43987
- },
43988
- {
43989
- "description": "background color of the inner circle",
43990
- "name": "--mdc-radio-inner-circle-background-color"
43991
- },
43992
- {
43993
- "description": "border color of the outer circle",
43994
- "name": "--mdc-radio-outer-circle-border-color"
43995
- },
43996
- {
43997
- "description": "background color of the outer circle",
43998
- "name": "--mdc-radio-outer-circle-background-color"
43999
- }
44000
- ],
44001
- "cssParts": [
44002
- {
44003
- "description": "The radio icon.",
44004
- "name": "radio-icon"
44005
- }
44006
- ],
44007
- "slots": [
44008
- {
44009
- "description": "Default slot for the label of the radio.",
44010
- "name": ""
44011
- }
44012
- ],
44013
- "members": [
44014
- {
44015
- "kind": "field",
44016
- "name": "checked",
44017
- "type": {
44018
- "text": "boolean"
44019
- },
44020
- "default": "false",
44021
- "description": "Determines whether the radio is selected or unselected.",
44022
- "attribute": "checked",
44023
- "reflects": true
44024
- },
44025
- {
44026
- "kind": "field",
44027
- "name": "readonly",
44028
- "type": {
44029
- "text": "boolean"
44030
- },
44031
- "default": "false",
44032
- "description": "Determines whether the radio is read-only.",
44033
- "attribute": "readonly",
44034
- "reflects": true
44035
- },
44036
- {
44037
- "kind": "field",
44038
- "name": "softDisabled",
44039
- "type": {
44040
- "text": "boolean"
44041
- },
44042
- "default": "false",
44043
- "description": "Determines whether the radio is soft-disabled.",
44044
- "attribute": "soft-disabled",
44045
- "reflects": true
44046
- },
44047
- {
44048
- "kind": "field",
44049
- "name": "disabled",
44050
- "type": {
44051
- "text": "boolean | undefined"
44052
- },
44053
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
44054
- "default": "undefined",
44055
- "attribute": "disabled",
44056
- "reflects": true,
44057
- "inheritedFrom": {
44058
- "name": "DisabledMixin",
44059
- "module": "utils/mixins/DisabledMixin.js"
44060
- }
44061
- }
44062
- ],
44063
- "attributes": [
44064
- {
44065
- "name": "checked",
44066
- "type": {
44067
- "text": "boolean"
44068
- },
44069
- "default": "false",
44070
- "description": "Determines whether the radio is selected or unselected.",
44071
- "fieldName": "checked"
44072
- },
44073
- {
44074
- "name": "readonly",
44075
- "type": {
44076
- "text": "boolean"
44077
- },
44078
- "default": "false",
44079
- "description": "Determines whether the radio is read-only.",
44080
- "fieldName": "readonly"
44081
- },
44082
- {
44083
- "name": "soft-disabled",
44084
- "type": {
44085
- "text": "boolean"
44086
- },
44087
- "default": "false",
44088
- "description": "Determines whether the radio is soft-disabled.",
44089
- "fieldName": "softDisabled"
44090
- },
44091
- {
44092
- "name": "disabled",
44093
- "type": {
44094
- "text": "boolean | undefined"
44095
- },
44096
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
44097
- "default": "undefined",
44098
- "fieldName": "disabled",
44099
- "inheritedFrom": {
44100
- "name": "DisabledMixin",
44101
- "module": "src/utils/mixins/DisabledMixin.ts"
44102
- }
44103
- }
44104
- ],
44105
- "mixins": [
44106
- {
44107
- "name": "DisabledMixin",
44108
- "module": "/src/utils/mixins/DisabledMixin"
44109
- }
44110
- ],
44111
- "superclass": {
44112
- "name": "Component",
44113
- "module": "/src/models"
44114
- },
44115
- "tagName": "mdc-staticradio",
44116
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 4 properties - checked, disabled, readonly and soft-disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-outer-circle-size - size of the outer circle\n * @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle\n * @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle\n * @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle\n *\n * @csspart radio-icon - The radio icon.\n *\n * @slot - Default slot for the label of the radio.\n */",
44117
- "customElement": true
44118
- }
44119
- ],
44120
- "exports": [
44121
- {
44122
- "kind": "js",
44123
- "name": "default",
44124
- "declaration": {
44125
- "name": "StaticRadio",
44126
- "module": "components/staticradio/staticradio.component.js"
44127
- }
44128
- }
44129
- ]
44130
- },
44131
44207
  {
44132
44208
  "kind": "javascript-module",
44133
44209
  "path": "components/stepper/stepper.component.js",
@@ -44313,6 +44389,303 @@
44313
44389
  }
44314
44390
  ]
44315
44391
  },
44392
+ {
44393
+ "kind": "javascript-module",
44394
+ "path": "components/stepperitem/stepperitem.component.js",
44395
+ "declarations": [
44396
+ {
44397
+ "kind": "class",
44398
+ "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.",
44399
+ "name": "StepperItem",
44400
+ "cssProperties": [
44401
+ {
44402
+ "description": "The background color of the status container.",
44403
+ "name": "--mdc-stepperitem-status-container-background"
44404
+ },
44405
+ {
44406
+ "description": "The border color of the status container.",
44407
+ "name": "--mdc-stepperitem-status-container-border-color"
44408
+ },
44409
+ {
44410
+ "description": "The color of the label text.",
44411
+ "name": "--mdc-stepperitem-label-color"
44412
+ },
44413
+ {
44414
+ "description": "The color of the optional label text.",
44415
+ "name": "--mdc-stepperitem-help-text-color"
44416
+ },
44417
+ {
44418
+ "description": "The background color of the label container.",
44419
+ "name": "--mdc-stepperitem-label-container-background"
44420
+ }
44421
+ ],
44422
+ "cssParts": [
44423
+ {
44424
+ "description": "The container for the status icon or step number.",
44425
+ "name": "status-container"
44426
+ },
44427
+ {
44428
+ "description": "The container for the label and help text.",
44429
+ "name": "label-container"
44430
+ },
44431
+ {
44432
+ "description": "The container for the help text and error icon when applicable.",
44433
+ "name": "help-text-container"
44434
+ },
44435
+ {
44436
+ "description": "The icon representing the status of the stepper item.",
44437
+ "name": "status-icon"
44438
+ },
44439
+ {
44440
+ "description": "The text representing the step number.",
44441
+ "name": "step-number"
44442
+ },
44443
+ {
44444
+ "description": "The text representing the label of the stepper item.",
44445
+ "name": "label"
44446
+ },
44447
+ {
44448
+ "description": "The text providing additional information about the stepper item.",
44449
+ "name": "help-text"
44450
+ },
44451
+ {
44452
+ "description": "The icon representing an error in the stepper item.",
44453
+ "name": "help-icon"
44454
+ }
44455
+ ],
44456
+ "members": [
44457
+ {
44458
+ "kind": "field",
44459
+ "name": "variant",
44460
+ "type": {
44461
+ "text": "VariantType"
44462
+ },
44463
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
44464
+ "default": "'inline'",
44465
+ "attribute": "variant",
44466
+ "reflects": true
44467
+ },
44468
+ {
44469
+ "kind": "field",
44470
+ "name": "status",
44471
+ "type": {
44472
+ "text": "StatusType"
44473
+ },
44474
+ "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
44475
+ "default": "'not-started'",
44476
+ "attribute": "status",
44477
+ "reflects": true
44478
+ },
44479
+ {
44480
+ "kind": "field",
44481
+ "name": "label",
44482
+ "type": {
44483
+ "text": "string"
44484
+ },
44485
+ "default": "''",
44486
+ "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.",
44487
+ "attribute": "label",
44488
+ "reflects": true
44489
+ },
44490
+ {
44491
+ "kind": "field",
44492
+ "name": "helpText",
44493
+ "type": {
44494
+ "text": "string | undefined"
44495
+ },
44496
+ "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.",
44497
+ "default": "''",
44498
+ "attribute": "help-text",
44499
+ "reflects": true
44500
+ },
44501
+ {
44502
+ "kind": "field",
44503
+ "name": "stepNumber",
44504
+ "type": {
44505
+ "text": "number | undefined"
44506
+ },
44507
+ "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.",
44508
+ "default": "''",
44509
+ "attribute": "step-number",
44510
+ "reflects": true
44511
+ },
44512
+ {
44513
+ "kind": "method",
44514
+ "name": "handleKeyDown",
44515
+ "privacy": "private",
44516
+ "parameters": [
44517
+ {
44518
+ "name": "event",
44519
+ "type": {
44520
+ "text": "KeyboardEvent"
44521
+ },
44522
+ "description": "The keyboard event."
44523
+ }
44524
+ ],
44525
+ "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."
44526
+ },
44527
+ {
44528
+ "kind": "method",
44529
+ "name": "triggerClickEvent",
44530
+ "privacy": "private",
44531
+ "description": "Triggers a click event on the stepper item."
44532
+ },
44533
+ {
44534
+ "kind": "method",
44535
+ "name": "handleKeyUp",
44536
+ "privacy": "private",
44537
+ "parameters": [
44538
+ {
44539
+ "name": "event",
44540
+ "type": {
44541
+ "text": "KeyboardEvent"
44542
+ },
44543
+ "description": "The keyboard event."
44544
+ }
44545
+ ],
44546
+ "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."
44547
+ },
44548
+ {
44549
+ "kind": "method",
44550
+ "name": "renderStatusIcon",
44551
+ "privacy": "private",
44552
+ "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.",
44553
+ "return": {
44554
+ "type": {
44555
+ "text": ""
44556
+ }
44557
+ }
44558
+ },
44559
+ {
44560
+ "kind": "method",
44561
+ "name": "renderHelpText",
44562
+ "privacy": "private",
44563
+ "description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
44564
+ "return": {
44565
+ "type": {
44566
+ "text": ""
44567
+ }
44568
+ }
44569
+ },
44570
+ {
44571
+ "kind": "field",
44572
+ "name": "tabIndex",
44573
+ "type": {
44574
+ "text": "number"
44575
+ },
44576
+ "default": "0",
44577
+ "description": "This property specifies the tab order of the element.",
44578
+ "attribute": "tabIndex",
44579
+ "reflects": true,
44580
+ "inheritedFrom": {
44581
+ "name": "TabIndexMixin",
44582
+ "module": "utils/mixins/TabIndexMixin.js"
44583
+ }
44584
+ }
44585
+ ],
44586
+ "events": [
44587
+ {
44588
+ "description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
44589
+ "name": "click",
44590
+ "reactName": "onClick"
44591
+ },
44592
+ {
44593
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
44594
+ "name": "keydown",
44595
+ "reactName": "onKeyDown"
44596
+ },
44597
+ {
44598
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
44599
+ "name": "keyup",
44600
+ "reactName": "onKeyUp"
44601
+ }
44602
+ ],
44603
+ "attributes": [
44604
+ {
44605
+ "name": "variant",
44606
+ "type": {
44607
+ "text": "VariantType"
44608
+ },
44609
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
44610
+ "default": "'inline'",
44611
+ "fieldName": "variant"
44612
+ },
44613
+ {
44614
+ "name": "status",
44615
+ "type": {
44616
+ "text": "StatusType"
44617
+ },
44618
+ "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
44619
+ "default": "'not-started'",
44620
+ "fieldName": "status"
44621
+ },
44622
+ {
44623
+ "name": "label",
44624
+ "type": {
44625
+ "text": "string"
44626
+ },
44627
+ "default": "''",
44628
+ "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.",
44629
+ "fieldName": "label"
44630
+ },
44631
+ {
44632
+ "name": "help-text",
44633
+ "type": {
44634
+ "text": "string | undefined"
44635
+ },
44636
+ "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.",
44637
+ "default": "''",
44638
+ "fieldName": "helpText"
44639
+ },
44640
+ {
44641
+ "name": "step-number",
44642
+ "type": {
44643
+ "text": "number | undefined"
44644
+ },
44645
+ "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.",
44646
+ "default": "''",
44647
+ "fieldName": "stepNumber"
44648
+ },
44649
+ {
44650
+ "name": "tabIndex",
44651
+ "type": {
44652
+ "text": "number"
44653
+ },
44654
+ "default": "0",
44655
+ "description": "This property specifies the tab order of the element.",
44656
+ "fieldName": "tabIndex",
44657
+ "inheritedFrom": {
44658
+ "name": "TabIndexMixin",
44659
+ "module": "src/utils/mixins/TabIndexMixin.ts"
44660
+ }
44661
+ }
44662
+ ],
44663
+ "mixins": [
44664
+ {
44665
+ "name": "TabIndexMixin",
44666
+ "module": "/src/utils/mixins/TabIndexMixin"
44667
+ }
44668
+ ],
44669
+ "superclass": {
44670
+ "name": "Component",
44671
+ "module": "/src/models"
44672
+ },
44673
+ "tagName": "mdc-stepperitem",
44674
+ "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 */",
44675
+ "customElement": true
44676
+ }
44677
+ ],
44678
+ "exports": [
44679
+ {
44680
+ "kind": "js",
44681
+ "name": "default",
44682
+ "declaration": {
44683
+ "name": "StepperItem",
44684
+ "module": "components/stepperitem/stepperitem.component.js"
44685
+ }
44686
+ }
44687
+ ]
44688
+ },
44316
44689
  {
44317
44690
  "kind": "javascript-module",
44318
44691
  "path": "components/tab/tab.component.js",
@@ -45330,303 +45703,6 @@
45330
45703
  }
45331
45704
  ]
45332
45705
  },
45333
- {
45334
- "kind": "javascript-module",
45335
- "path": "components/stepperitem/stepperitem.component.js",
45336
- "declarations": [
45337
- {
45338
- "kind": "class",
45339
- "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.",
45340
- "name": "StepperItem",
45341
- "cssProperties": [
45342
- {
45343
- "description": "The background color of the status container.",
45344
- "name": "--mdc-stepperitem-status-container-background"
45345
- },
45346
- {
45347
- "description": "The border color of the status container.",
45348
- "name": "--mdc-stepperitem-status-container-border-color"
45349
- },
45350
- {
45351
- "description": "The color of the label text.",
45352
- "name": "--mdc-stepperitem-label-color"
45353
- },
45354
- {
45355
- "description": "The color of the optional label text.",
45356
- "name": "--mdc-stepperitem-help-text-color"
45357
- },
45358
- {
45359
- "description": "The background color of the label container.",
45360
- "name": "--mdc-stepperitem-label-container-background"
45361
- }
45362
- ],
45363
- "cssParts": [
45364
- {
45365
- "description": "The container for the status icon or step number.",
45366
- "name": "status-container"
45367
- },
45368
- {
45369
- "description": "The container for the label and help text.",
45370
- "name": "label-container"
45371
- },
45372
- {
45373
- "description": "The container for the help text and error icon when applicable.",
45374
- "name": "help-text-container"
45375
- },
45376
- {
45377
- "description": "The icon representing the status of the stepper item.",
45378
- "name": "status-icon"
45379
- },
45380
- {
45381
- "description": "The text representing the step number.",
45382
- "name": "step-number"
45383
- },
45384
- {
45385
- "description": "The text representing the label of the stepper item.",
45386
- "name": "label"
45387
- },
45388
- {
45389
- "description": "The text providing additional information about the stepper item.",
45390
- "name": "help-text"
45391
- },
45392
- {
45393
- "description": "The icon representing an error in the stepper item.",
45394
- "name": "help-icon"
45395
- }
45396
- ],
45397
- "members": [
45398
- {
45399
- "kind": "field",
45400
- "name": "variant",
45401
- "type": {
45402
- "text": "VariantType"
45403
- },
45404
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
45405
- "default": "'inline'",
45406
- "attribute": "variant",
45407
- "reflects": true
45408
- },
45409
- {
45410
- "kind": "field",
45411
- "name": "status",
45412
- "type": {
45413
- "text": "StatusType"
45414
- },
45415
- "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
45416
- "default": "'not-started'",
45417
- "attribute": "status",
45418
- "reflects": true
45419
- },
45420
- {
45421
- "kind": "field",
45422
- "name": "label",
45423
- "type": {
45424
- "text": "string"
45425
- },
45426
- "default": "''",
45427
- "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.",
45428
- "attribute": "label",
45429
- "reflects": true
45430
- },
45431
- {
45432
- "kind": "field",
45433
- "name": "helpText",
45434
- "type": {
45435
- "text": "string | undefined"
45436
- },
45437
- "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.",
45438
- "default": "''",
45439
- "attribute": "help-text",
45440
- "reflects": true
45441
- },
45442
- {
45443
- "kind": "field",
45444
- "name": "stepNumber",
45445
- "type": {
45446
- "text": "number | undefined"
45447
- },
45448
- "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.",
45449
- "default": "''",
45450
- "attribute": "step-number",
45451
- "reflects": true
45452
- },
45453
- {
45454
- "kind": "method",
45455
- "name": "handleKeyDown",
45456
- "privacy": "private",
45457
- "parameters": [
45458
- {
45459
- "name": "event",
45460
- "type": {
45461
- "text": "KeyboardEvent"
45462
- },
45463
- "description": "The keyboard event."
45464
- }
45465
- ],
45466
- "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."
45467
- },
45468
- {
45469
- "kind": "method",
45470
- "name": "triggerClickEvent",
45471
- "privacy": "private",
45472
- "description": "Triggers a click event on the stepper item."
45473
- },
45474
- {
45475
- "kind": "method",
45476
- "name": "handleKeyUp",
45477
- "privacy": "private",
45478
- "parameters": [
45479
- {
45480
- "name": "event",
45481
- "type": {
45482
- "text": "KeyboardEvent"
45483
- },
45484
- "description": "The keyboard event."
45485
- }
45486
- ],
45487
- "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."
45488
- },
45489
- {
45490
- "kind": "method",
45491
- "name": "renderStatusIcon",
45492
- "privacy": "private",
45493
- "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.",
45494
- "return": {
45495
- "type": {
45496
- "text": ""
45497
- }
45498
- }
45499
- },
45500
- {
45501
- "kind": "method",
45502
- "name": "renderHelpText",
45503
- "privacy": "private",
45504
- "description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
45505
- "return": {
45506
- "type": {
45507
- "text": ""
45508
- }
45509
- }
45510
- },
45511
- {
45512
- "kind": "field",
45513
- "name": "tabIndex",
45514
- "type": {
45515
- "text": "number"
45516
- },
45517
- "default": "0",
45518
- "description": "This property specifies the tab order of the element.",
45519
- "attribute": "tabIndex",
45520
- "reflects": true,
45521
- "inheritedFrom": {
45522
- "name": "TabIndexMixin",
45523
- "module": "utils/mixins/TabIndexMixin.js"
45524
- }
45525
- }
45526
- ],
45527
- "events": [
45528
- {
45529
- "description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
45530
- "name": "click",
45531
- "reactName": "onClick"
45532
- },
45533
- {
45534
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
45535
- "name": "keydown",
45536
- "reactName": "onKeyDown"
45537
- },
45538
- {
45539
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
45540
- "name": "keyup",
45541
- "reactName": "onKeyUp"
45542
- }
45543
- ],
45544
- "attributes": [
45545
- {
45546
- "name": "variant",
45547
- "type": {
45548
- "text": "VariantType"
45549
- },
45550
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
45551
- "default": "'inline'",
45552
- "fieldName": "variant"
45553
- },
45554
- {
45555
- "name": "status",
45556
- "type": {
45557
- "text": "StatusType"
45558
- },
45559
- "description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
45560
- "default": "'not-started'",
45561
- "fieldName": "status"
45562
- },
45563
- {
45564
- "name": "label",
45565
- "type": {
45566
- "text": "string"
45567
- },
45568
- "default": "''",
45569
- "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.",
45570
- "fieldName": "label"
45571
- },
45572
- {
45573
- "name": "help-text",
45574
- "type": {
45575
- "text": "string | undefined"
45576
- },
45577
- "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.",
45578
- "default": "''",
45579
- "fieldName": "helpText"
45580
- },
45581
- {
45582
- "name": "step-number",
45583
- "type": {
45584
- "text": "number | undefined"
45585
- },
45586
- "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.",
45587
- "default": "''",
45588
- "fieldName": "stepNumber"
45589
- },
45590
- {
45591
- "name": "tabIndex",
45592
- "type": {
45593
- "text": "number"
45594
- },
45595
- "default": "0",
45596
- "description": "This property specifies the tab order of the element.",
45597
- "fieldName": "tabIndex",
45598
- "inheritedFrom": {
45599
- "name": "TabIndexMixin",
45600
- "module": "src/utils/mixins/TabIndexMixin.ts"
45601
- }
45602
- }
45603
- ],
45604
- "mixins": [
45605
- {
45606
- "name": "TabIndexMixin",
45607
- "module": "/src/utils/mixins/TabIndexMixin"
45608
- }
45609
- ],
45610
- "superclass": {
45611
- "name": "Component",
45612
- "module": "/src/models"
45613
- },
45614
- "tagName": "mdc-stepperitem",
45615
- "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 */",
45616
- "customElement": true
45617
- }
45618
- ],
45619
- "exports": [
45620
- {
45621
- "kind": "js",
45622
- "name": "default",
45623
- "declaration": {
45624
- "name": "StepperItem",
45625
- "module": "components/stepperitem/stepperitem.component.js"
45626
- }
45627
- }
45628
- ]
45629
- },
45630
45706
  {
45631
45707
  "kind": "javascript-module",
45632
45708
  "path": "components/text/text.component.js",
@@ -46952,6 +47028,396 @@
46952
47028
  }
46953
47029
  ]
46954
47030
  },
47031
+ {
47032
+ "kind": "javascript-module",
47033
+ "path": "components/toast/toast.component.js",
47034
+ "declarations": [
47035
+ {
47036
+ "kind": "class",
47037
+ "description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
47038
+ "name": "Toast",
47039
+ "cssProperties": [
47040
+ {
47041
+ "description": "Background color of the toast.",
47042
+ "name": "--mdc-toast-background-color"
47043
+ },
47044
+ {
47045
+ "description": "Border color of the toast.",
47046
+ "name": "--mdc-toast-border-color"
47047
+ },
47048
+ {
47049
+ "description": "Color of the header text in the toast.",
47050
+ "name": "--mdc-toast-header-text-color"
47051
+ },
47052
+ {
47053
+ "description": "Color of the icon in the toast.",
47054
+ "name": "--mdc-toast-icon-color"
47055
+ },
47056
+ {
47057
+ "description": "Elevation effect applied to the toast.",
47058
+ "name": "--mdc-toast-elevation-3"
47059
+ },
47060
+ {
47061
+ "description": "Width of the toast.",
47062
+ "name": "--mdc-toast-width"
47063
+ },
47064
+ {
47065
+ "description": "Padding inside the toast.",
47066
+ "name": "--mdc-toast-padding"
47067
+ }
47068
+ ],
47069
+ "cssParts": [
47070
+ {
47071
+ "description": "The container for the toast's main content, including icon, text, and close button.",
47072
+ "name": "content-container"
47073
+ },
47074
+ {
47075
+ "description": "The icon shown at the start of the toast, styled by variant.",
47076
+ "name": "toast-prefix-icon"
47077
+ },
47078
+ {
47079
+ "description": "The container for the header and body content of the toast.",
47080
+ "name": "toast-content"
47081
+ },
47082
+ {
47083
+ "description": "The header text of the toast.",
47084
+ "name": "toast-header"
47085
+ },
47086
+ {
47087
+ "description": "The container for the toast's footer, including toggle and action buttons.",
47088
+ "name": "footer"
47089
+ },
47090
+ {
47091
+ "description": "The toggle button for showing/hiding detailed content.",
47092
+ "name": "footer-button-toggle"
47093
+ },
47094
+ {
47095
+ "description": "The close button for the toast.",
47096
+ "name": "toast-close-btn"
47097
+ },
47098
+ {
47099
+ "description": "Applied to the footer when it contains buttons or a toggle button.",
47100
+ "name": "has-footer-buttons"
47101
+ }
47102
+ ],
47103
+ "slots": [
47104
+ {
47105
+ "description": "Slot for custom content before the icon (only for custom variant).",
47106
+ "name": "content-prefix"
47107
+ },
47108
+ {
47109
+ "description": "Slot for the main body content of the toast.",
47110
+ "name": "toast-body-normal"
47111
+ },
47112
+ {
47113
+ "description": "Slot for additional detailed content, shown when expanded.",
47114
+ "name": "toast-body-detailed"
47115
+ },
47116
+ {
47117
+ "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
47118
+ "name": "footer"
47119
+ },
47120
+ {
47121
+ "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
47122
+ "name": "footer-button-primary"
47123
+ },
47124
+ {
47125
+ "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
47126
+ "name": "footer-button-secondary"
47127
+ }
47128
+ ],
47129
+ "members": [
47130
+ {
47131
+ "kind": "field",
47132
+ "name": "variant",
47133
+ "type": {
47134
+ "text": "ToastVariant"
47135
+ },
47136
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
47137
+ "default": "'custom'",
47138
+ "attribute": "variant",
47139
+ "reflects": true
47140
+ },
47141
+ {
47142
+ "kind": "field",
47143
+ "name": "closeButtonAriaLabel",
47144
+ "type": {
47145
+ "text": "string | undefined"
47146
+ },
47147
+ "description": "Defines aria-label attribute for close button accessibility",
47148
+ "attribute": "close-button-aria-label"
47149
+ },
47150
+ {
47151
+ "kind": "field",
47152
+ "name": "headerText",
47153
+ "type": {
47154
+ "text": "string | undefined"
47155
+ },
47156
+ "description": "Defines a string value to display as the title of the toast",
47157
+ "attribute": "header-text",
47158
+ "reflects": true
47159
+ },
47160
+ {
47161
+ "kind": "field",
47162
+ "name": "headerTagName",
47163
+ "type": {
47164
+ "text": "TagName"
47165
+ },
47166
+ "description": "The html tag to be used for the header text",
47167
+ "default": "'h2'",
47168
+ "attribute": "header-tag-name",
47169
+ "reflects": true
47170
+ },
47171
+ {
47172
+ "kind": "field",
47173
+ "name": "ariaLabel",
47174
+ "type": {
47175
+ "text": "string | null"
47176
+ },
47177
+ "default": "null",
47178
+ "description": "Defines aria-label attribute when header is not used",
47179
+ "attribute": "aria-label",
47180
+ "reflects": true
47181
+ },
47182
+ {
47183
+ "kind": "field",
47184
+ "name": "showMoreText",
47185
+ "type": {
47186
+ "text": "string | undefined"
47187
+ },
47188
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
47189
+ "attribute": "show-more-text",
47190
+ "reflects": true
47191
+ },
47192
+ {
47193
+ "kind": "field",
47194
+ "name": "showLessText",
47195
+ "type": {
47196
+ "text": "string | undefined"
47197
+ },
47198
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
47199
+ "attribute": "show-less-text",
47200
+ "reflects": true
47201
+ },
47202
+ {
47203
+ "kind": "field",
47204
+ "name": "isDetailVisible",
47205
+ "type": {
47206
+ "text": "boolean"
47207
+ },
47208
+ "privacy": "private",
47209
+ "default": "false"
47210
+ },
47211
+ {
47212
+ "kind": "field",
47213
+ "name": "hasDetailedSlot",
47214
+ "type": {
47215
+ "text": "boolean"
47216
+ },
47217
+ "privacy": "private",
47218
+ "default": "false"
47219
+ },
47220
+ {
47221
+ "kind": "field",
47222
+ "name": "detailedElements",
47223
+ "type": {
47224
+ "text": "HTMLElement[]"
47225
+ },
47226
+ "privacy": "private"
47227
+ },
47228
+ {
47229
+ "kind": "field",
47230
+ "name": "hasFooterButtons",
47231
+ "type": {
47232
+ "text": "string"
47233
+ },
47234
+ "privacy": "private",
47235
+ "default": "''"
47236
+ },
47237
+ {
47238
+ "kind": "method",
47239
+ "name": "closeToast",
47240
+ "privacy": "private",
47241
+ "description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
47242
+ },
47243
+ {
47244
+ "kind": "method",
47245
+ "name": "toggleDetailVisibility",
47246
+ "privacy": "private"
47247
+ },
47248
+ {
47249
+ "kind": "method",
47250
+ "name": "updateDetailedSlotPresence",
47251
+ "privacy": "private"
47252
+ },
47253
+ {
47254
+ "kind": "method",
47255
+ "name": "updateFooterButtonsPresence",
47256
+ "privacy": "private"
47257
+ },
47258
+ {
47259
+ "kind": "method",
47260
+ "name": "renderIcon",
47261
+ "privacy": "protected",
47262
+ "parameters": [
47263
+ {
47264
+ "name": "iconName",
47265
+ "type": {
47266
+ "text": "string"
47267
+ }
47268
+ }
47269
+ ]
47270
+ },
47271
+ {
47272
+ "kind": "method",
47273
+ "name": "shouldRenderToggleButton",
47274
+ "privacy": "private"
47275
+ },
47276
+ {
47277
+ "kind": "method",
47278
+ "name": "renderToggleDetailButton",
47279
+ "privacy": "private"
47280
+ },
47281
+ {
47282
+ "kind": "method",
47283
+ "name": "renderHeader",
47284
+ "privacy": "protected"
47285
+ },
47286
+ {
47287
+ "kind": "method",
47288
+ "name": "handleFooterSlot",
47289
+ "privacy": "protected",
47290
+ "return": {
47291
+ "type": {
47292
+ "text": "void"
47293
+ }
47294
+ },
47295
+ "parameters": [
47296
+ {
47297
+ "name": "tagname",
47298
+ "type": {
47299
+ "text": "string"
47300
+ }
47301
+ },
47302
+ {
47303
+ "name": "variant",
47304
+ "optional": true,
47305
+ "type": {
47306
+ "text": "string | undefined"
47307
+ }
47308
+ }
47309
+ ]
47310
+ },
47311
+ {
47312
+ "kind": "method",
47313
+ "name": "renderFooter",
47314
+ "privacy": "protected",
47315
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
47316
+ "return": {
47317
+ "type": {
47318
+ "text": ""
47319
+ }
47320
+ },
47321
+ "inheritedFrom": {
47322
+ "name": "FooterMixin",
47323
+ "module": "utils/mixins/FooterMixin.js"
47324
+ }
47325
+ }
47326
+ ],
47327
+ "events": [
47328
+ {
47329
+ "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
47330
+ "name": "close",
47331
+ "reactName": "onClose"
47332
+ }
47333
+ ],
47334
+ "attributes": [
47335
+ {
47336
+ "name": "variant",
47337
+ "type": {
47338
+ "text": "ToastVariant"
47339
+ },
47340
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
47341
+ "default": "'custom'",
47342
+ "fieldName": "variant"
47343
+ },
47344
+ {
47345
+ "name": "close-button-aria-label",
47346
+ "type": {
47347
+ "text": "string | undefined"
47348
+ },
47349
+ "description": "Defines aria-label attribute for close button accessibility",
47350
+ "fieldName": "closeButtonAriaLabel"
47351
+ },
47352
+ {
47353
+ "name": "header-text",
47354
+ "type": {
47355
+ "text": "string | undefined"
47356
+ },
47357
+ "description": "Defines a string value to display as the title of the toast",
47358
+ "fieldName": "headerText"
47359
+ },
47360
+ {
47361
+ "name": "header-tag-name",
47362
+ "type": {
47363
+ "text": "TagName"
47364
+ },
47365
+ "description": "The html tag to be used for the header text",
47366
+ "default": "'h2'",
47367
+ "fieldName": "headerTagName"
47368
+ },
47369
+ {
47370
+ "name": "aria-label",
47371
+ "type": {
47372
+ "text": "string | null"
47373
+ },
47374
+ "default": "null",
47375
+ "description": "Defines aria-label attribute when header is not used",
47376
+ "fieldName": "ariaLabel"
47377
+ },
47378
+ {
47379
+ "name": "show-more-text",
47380
+ "type": {
47381
+ "text": "string | undefined"
47382
+ },
47383
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
47384
+ "fieldName": "showMoreText"
47385
+ },
47386
+ {
47387
+ "name": "show-less-text",
47388
+ "type": {
47389
+ "text": "string | undefined"
47390
+ },
47391
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
47392
+ "fieldName": "showLessText"
47393
+ }
47394
+ ],
47395
+ "mixins": [
47396
+ {
47397
+ "name": "FooterMixin",
47398
+ "module": "/src/utils/mixins/FooterMixin"
47399
+ }
47400
+ ],
47401
+ "superclass": {
47402
+ "name": "Component",
47403
+ "module": "/src/models"
47404
+ },
47405
+ "tagName": "mdc-toast",
47406
+ "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
47407
+ "customElement": true
47408
+ }
47409
+ ],
47410
+ "exports": [
47411
+ {
47412
+ "kind": "js",
47413
+ "name": "default",
47414
+ "declaration": {
47415
+ "name": "Toast",
47416
+ "module": "components/toast/toast.component.js"
47417
+ }
47418
+ }
47419
+ ]
47420
+ },
46955
47421
  {
46956
47422
  "kind": "javascript-module",
46957
47423
  "path": "components/toggle/toggle.component.js",
@@ -49099,6 +49565,21 @@
49099
49565
  "module": "components/popover/popover.component.js"
49100
49566
  }
49101
49567
  },
49568
+ {
49569
+ "kind": "field",
49570
+ "name": "animationFrame",
49571
+ "type": {
49572
+ "text": "boolean"
49573
+ },
49574
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
49575
+ "default": "false",
49576
+ "attribute": "animation-frame",
49577
+ "reflects": true,
49578
+ "inheritedFrom": {
49579
+ "name": "Popover",
49580
+ "module": "components/popover/popover.component.js"
49581
+ }
49582
+ },
49102
49583
  {
49103
49584
  "kind": "field",
49104
49585
  "name": "arrowElement",
@@ -49877,6 +50358,19 @@
49877
50358
  "name": "Popover",
49878
50359
  "module": "src/components/popover/popover.component.ts"
49879
50360
  }
50361
+ },
50362
+ {
50363
+ "name": "animation-frame",
50364
+ "type": {
50365
+ "text": "boolean"
50366
+ },
50367
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
50368
+ "default": "false",
50369
+ "fieldName": "animationFrame",
50370
+ "inheritedFrom": {
50371
+ "name": "Popover",
50372
+ "module": "src/components/popover/popover.component.ts"
50373
+ }
49880
50374
  }
49881
50375
  ],
49882
50376
  "superclass": {
@@ -49925,396 +50419,6 @@
49925
50419
  }
49926
50420
  ]
49927
50421
  },
49928
- {
49929
- "kind": "javascript-module",
49930
- "path": "components/toast/toast.component.js",
49931
- "declarations": [
49932
- {
49933
- "kind": "class",
49934
- "description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
49935
- "name": "Toast",
49936
- "cssProperties": [
49937
- {
49938
- "description": "Background color of the toast.",
49939
- "name": "--mdc-toast-background-color"
49940
- },
49941
- {
49942
- "description": "Border color of the toast.",
49943
- "name": "--mdc-toast-border-color"
49944
- },
49945
- {
49946
- "description": "Color of the header text in the toast.",
49947
- "name": "--mdc-toast-header-text-color"
49948
- },
49949
- {
49950
- "description": "Color of the icon in the toast.",
49951
- "name": "--mdc-toast-icon-color"
49952
- },
49953
- {
49954
- "description": "Elevation effect applied to the toast.",
49955
- "name": "--mdc-toast-elevation-3"
49956
- },
49957
- {
49958
- "description": "Width of the toast.",
49959
- "name": "--mdc-toast-width"
49960
- },
49961
- {
49962
- "description": "Padding inside the toast.",
49963
- "name": "--mdc-toast-padding"
49964
- }
49965
- ],
49966
- "cssParts": [
49967
- {
49968
- "description": "The container for the toast's main content, including icon, text, and close button.",
49969
- "name": "content-container"
49970
- },
49971
- {
49972
- "description": "The icon shown at the start of the toast, styled by variant.",
49973
- "name": "toast-prefix-icon"
49974
- },
49975
- {
49976
- "description": "The container for the header and body content of the toast.",
49977
- "name": "toast-content"
49978
- },
49979
- {
49980
- "description": "The header text of the toast.",
49981
- "name": "toast-header"
49982
- },
49983
- {
49984
- "description": "The container for the toast's footer, including toggle and action buttons.",
49985
- "name": "footer"
49986
- },
49987
- {
49988
- "description": "The toggle button for showing/hiding detailed content.",
49989
- "name": "footer-button-toggle"
49990
- },
49991
- {
49992
- "description": "The close button for the toast.",
49993
- "name": "toast-close-btn"
49994
- },
49995
- {
49996
- "description": "Applied to the footer when it contains buttons or a toggle button.",
49997
- "name": "has-footer-buttons"
49998
- }
49999
- ],
50000
- "slots": [
50001
- {
50002
- "description": "Slot for custom content before the icon (only for custom variant).",
50003
- "name": "content-prefix"
50004
- },
50005
- {
50006
- "description": "Slot for the main body content of the toast.",
50007
- "name": "toast-body-normal"
50008
- },
50009
- {
50010
- "description": "Slot for additional detailed content, shown when expanded.",
50011
- "name": "toast-body-detailed"
50012
- },
50013
- {
50014
- "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
50015
- "name": "footer"
50016
- },
50017
- {
50018
- "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
50019
- "name": "footer-button-primary"
50020
- },
50021
- {
50022
- "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
50023
- "name": "footer-button-secondary"
50024
- }
50025
- ],
50026
- "members": [
50027
- {
50028
- "kind": "field",
50029
- "name": "variant",
50030
- "type": {
50031
- "text": "ToastVariant"
50032
- },
50033
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
50034
- "default": "'custom'",
50035
- "attribute": "variant",
50036
- "reflects": true
50037
- },
50038
- {
50039
- "kind": "field",
50040
- "name": "closeButtonAriaLabel",
50041
- "type": {
50042
- "text": "string | undefined"
50043
- },
50044
- "description": "Defines aria-label attribute for close button accessibility",
50045
- "attribute": "close-button-aria-label"
50046
- },
50047
- {
50048
- "kind": "field",
50049
- "name": "headerText",
50050
- "type": {
50051
- "text": "string | undefined"
50052
- },
50053
- "description": "Defines a string value to display as the title of the toast",
50054
- "attribute": "header-text",
50055
- "reflects": true
50056
- },
50057
- {
50058
- "kind": "field",
50059
- "name": "headerTagName",
50060
- "type": {
50061
- "text": "TagName"
50062
- },
50063
- "description": "The html tag to be used for the header text",
50064
- "default": "'h2'",
50065
- "attribute": "header-tag-name",
50066
- "reflects": true
50067
- },
50068
- {
50069
- "kind": "field",
50070
- "name": "ariaLabel",
50071
- "type": {
50072
- "text": "string | null"
50073
- },
50074
- "default": "null",
50075
- "description": "Defines aria-label attribute when header is not used",
50076
- "attribute": "aria-label",
50077
- "reflects": true
50078
- },
50079
- {
50080
- "kind": "field",
50081
- "name": "showMoreText",
50082
- "type": {
50083
- "text": "string | undefined"
50084
- },
50085
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
50086
- "attribute": "show-more-text",
50087
- "reflects": true
50088
- },
50089
- {
50090
- "kind": "field",
50091
- "name": "showLessText",
50092
- "type": {
50093
- "text": "string | undefined"
50094
- },
50095
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
50096
- "attribute": "show-less-text",
50097
- "reflects": true
50098
- },
50099
- {
50100
- "kind": "field",
50101
- "name": "isDetailVisible",
50102
- "type": {
50103
- "text": "boolean"
50104
- },
50105
- "privacy": "private",
50106
- "default": "false"
50107
- },
50108
- {
50109
- "kind": "field",
50110
- "name": "hasDetailedSlot",
50111
- "type": {
50112
- "text": "boolean"
50113
- },
50114
- "privacy": "private",
50115
- "default": "false"
50116
- },
50117
- {
50118
- "kind": "field",
50119
- "name": "detailedElements",
50120
- "type": {
50121
- "text": "HTMLElement[]"
50122
- },
50123
- "privacy": "private"
50124
- },
50125
- {
50126
- "kind": "field",
50127
- "name": "hasFooterButtons",
50128
- "type": {
50129
- "text": "string"
50130
- },
50131
- "privacy": "private",
50132
- "default": "''"
50133
- },
50134
- {
50135
- "kind": "method",
50136
- "name": "closeToast",
50137
- "privacy": "private",
50138
- "description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
50139
- },
50140
- {
50141
- "kind": "method",
50142
- "name": "toggleDetailVisibility",
50143
- "privacy": "private"
50144
- },
50145
- {
50146
- "kind": "method",
50147
- "name": "updateDetailedSlotPresence",
50148
- "privacy": "private"
50149
- },
50150
- {
50151
- "kind": "method",
50152
- "name": "updateFooterButtonsPresence",
50153
- "privacy": "private"
50154
- },
50155
- {
50156
- "kind": "method",
50157
- "name": "renderIcon",
50158
- "privacy": "protected",
50159
- "parameters": [
50160
- {
50161
- "name": "iconName",
50162
- "type": {
50163
- "text": "string"
50164
- }
50165
- }
50166
- ]
50167
- },
50168
- {
50169
- "kind": "method",
50170
- "name": "shouldRenderToggleButton",
50171
- "privacy": "private"
50172
- },
50173
- {
50174
- "kind": "method",
50175
- "name": "renderToggleDetailButton",
50176
- "privacy": "private"
50177
- },
50178
- {
50179
- "kind": "method",
50180
- "name": "renderHeader",
50181
- "privacy": "protected"
50182
- },
50183
- {
50184
- "kind": "method",
50185
- "name": "handleFooterSlot",
50186
- "privacy": "protected",
50187
- "return": {
50188
- "type": {
50189
- "text": "void"
50190
- }
50191
- },
50192
- "parameters": [
50193
- {
50194
- "name": "tagname",
50195
- "type": {
50196
- "text": "string"
50197
- }
50198
- },
50199
- {
50200
- "name": "variant",
50201
- "optional": true,
50202
- "type": {
50203
- "text": "string | undefined"
50204
- }
50205
- }
50206
- ]
50207
- },
50208
- {
50209
- "kind": "method",
50210
- "name": "renderFooter",
50211
- "privacy": "protected",
50212
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
50213
- "return": {
50214
- "type": {
50215
- "text": ""
50216
- }
50217
- },
50218
- "inheritedFrom": {
50219
- "name": "FooterMixin",
50220
- "module": "utils/mixins/FooterMixin.js"
50221
- }
50222
- }
50223
- ],
50224
- "events": [
50225
- {
50226
- "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
50227
- "name": "close",
50228
- "reactName": "onClose"
50229
- }
50230
- ],
50231
- "attributes": [
50232
- {
50233
- "name": "variant",
50234
- "type": {
50235
- "text": "ToastVariant"
50236
- },
50237
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
50238
- "default": "'custom'",
50239
- "fieldName": "variant"
50240
- },
50241
- {
50242
- "name": "close-button-aria-label",
50243
- "type": {
50244
- "text": "string | undefined"
50245
- },
50246
- "description": "Defines aria-label attribute for close button accessibility",
50247
- "fieldName": "closeButtonAriaLabel"
50248
- },
50249
- {
50250
- "name": "header-text",
50251
- "type": {
50252
- "text": "string | undefined"
50253
- },
50254
- "description": "Defines a string value to display as the title of the toast",
50255
- "fieldName": "headerText"
50256
- },
50257
- {
50258
- "name": "header-tag-name",
50259
- "type": {
50260
- "text": "TagName"
50261
- },
50262
- "description": "The html tag to be used for the header text",
50263
- "default": "'h2'",
50264
- "fieldName": "headerTagName"
50265
- },
50266
- {
50267
- "name": "aria-label",
50268
- "type": {
50269
- "text": "string | null"
50270
- },
50271
- "default": "null",
50272
- "description": "Defines aria-label attribute when header is not used",
50273
- "fieldName": "ariaLabel"
50274
- },
50275
- {
50276
- "name": "show-more-text",
50277
- "type": {
50278
- "text": "string | undefined"
50279
- },
50280
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
50281
- "fieldName": "showMoreText"
50282
- },
50283
- {
50284
- "name": "show-less-text",
50285
- "type": {
50286
- "text": "string | undefined"
50287
- },
50288
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
50289
- "fieldName": "showLessText"
50290
- }
50291
- ],
50292
- "mixins": [
50293
- {
50294
- "name": "FooterMixin",
50295
- "module": "/src/utils/mixins/FooterMixin"
50296
- }
50297
- ],
50298
- "superclass": {
50299
- "name": "Component",
50300
- "module": "/src/models"
50301
- },
50302
- "tagName": "mdc-toast",
50303
- "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
50304
- "customElement": true
50305
- }
50306
- ],
50307
- "exports": [
50308
- {
50309
- "kind": "js",
50310
- "name": "default",
50311
- "declaration": {
50312
- "name": "Toast",
50313
- "module": "components/toast/toast.component.js"
50314
- }
50315
- }
50316
- ]
50317
- },
50318
50422
  {
50319
50423
  "kind": "javascript-module",
50320
50424
  "path": "components/tooltip/tooltip.component.js",
@@ -51560,6 +51664,21 @@
51560
51664
  "module": "components/popover/popover.component.js"
51561
51665
  }
51562
51666
  },
51667
+ {
51668
+ "kind": "field",
51669
+ "name": "animationFrame",
51670
+ "type": {
51671
+ "text": "boolean"
51672
+ },
51673
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
51674
+ "default": "false",
51675
+ "attribute": "animation-frame",
51676
+ "reflects": true,
51677
+ "inheritedFrom": {
51678
+ "name": "Popover",
51679
+ "module": "components/popover/popover.component.js"
51680
+ }
51681
+ },
51563
51682
  {
51564
51683
  "kind": "field",
51565
51684
  "name": "arrowElement",
@@ -52339,6 +52458,19 @@
52339
52458
  "name": "Popover",
52340
52459
  "module": "src/components/popover/popover.component.ts"
52341
52460
  }
52461
+ },
52462
+ {
52463
+ "name": "animation-frame",
52464
+ "type": {
52465
+ "text": "boolean"
52466
+ },
52467
+ "description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
52468
+ "default": "false",
52469
+ "fieldName": "animationFrame",
52470
+ "inheritedFrom": {
52471
+ "name": "Popover",
52472
+ "module": "src/components/popover/popover.component.ts"
52473
+ }
52342
52474
  }
52343
52475
  ],
52344
52476
  "superclass": {