@momentum-design/components 0.104.3 → 0.104.4

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.
@@ -6394,12 +6394,12 @@
6394
6394
  },
6395
6395
  {
6396
6396
  "kind": "javascript-module",
6397
- "path": "components/cardradio/cardradio.component.js",
6397
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
6398
6398
  "declarations": [
6399
6399
  {
6400
6400
  "kind": "class",
6401
- "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6402
- "name": "CardRadio",
6401
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6402
+ "name": "CardCheckbox",
6403
6403
  "cssProperties": [
6404
6404
  {
6405
6405
  "description": "The width of the card",
@@ -6576,76 +6576,20 @@
6576
6576
  },
6577
6577
  {
6578
6578
  "kind": "field",
6579
- "name": "name",
6579
+ "name": "selectionType",
6580
6580
  "type": {
6581
- "text": "string"
6582
- },
6583
- "default": "''",
6584
- "description": "The name of the radio.",
6585
- "attribute": "name"
6586
- },
6587
- {
6588
- "kind": "method",
6589
- "name": "getAllCardsWithinSameGroup",
6590
- "privacy": "private",
6591
- "return": {
6592
- "type": {
6593
- "text": "CardRadio[]"
6594
- }
6581
+ "text": "SelectionType"
6595
6582
  },
6596
- "description": "Returns all cards within the same group (name)."
6583
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6584
+ "default": "'check'",
6585
+ "attribute": "selection-type",
6586
+ "reflects": true
6597
6587
  },
6598
6588
  {
6599
6589
  "kind": "method",
6600
6590
  "name": "toggleChecked",
6601
6591
  "privacy": "private",
6602
- "return": {
6603
- "type": {
6604
- "text": "void"
6605
- }
6606
- },
6607
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
6608
- },
6609
- {
6610
- "kind": "method",
6611
- "name": "setDisabled",
6612
- "return": {
6613
- "type": {
6614
- "text": "void"
6615
- }
6616
- },
6617
- "parameters": [
6618
- {
6619
- "name": "disabled",
6620
- "type": {
6621
- "text": "boolean"
6622
- }
6623
- }
6624
- ]
6625
- },
6626
- {
6627
- "kind": "method",
6628
- "name": "updateCardRadio",
6629
- "privacy": "private",
6630
- "return": {
6631
- "type": {
6632
- "text": "void"
6633
- }
6634
- },
6635
- "parameters": [
6636
- {
6637
- "name": "cards",
6638
- "type": {
6639
- "text": "CardRadio[]"
6640
- }
6641
- },
6642
- {
6643
- "name": "index",
6644
- "type": {
6645
- "text": "number"
6646
- }
6647
- }
6648
- ]
6592
+ "description": "Toggles the checked state"
6649
6593
  },
6650
6594
  {
6651
6595
  "kind": "method",
@@ -6677,6 +6621,17 @@
6677
6621
  ],
6678
6622
  "description": "Toggles the checked state when space key is used"
6679
6623
  },
6624
+ {
6625
+ "kind": "method",
6626
+ "name": "renderSelection",
6627
+ "privacy": "private",
6628
+ "description": "Renders the selection icon or checkbox based on the selection type",
6629
+ "return": {
6630
+ "type": {
6631
+ "text": ""
6632
+ }
6633
+ }
6634
+ },
6680
6635
  {
6681
6636
  "kind": "method",
6682
6637
  "name": "renderHeader",
@@ -6950,13 +6905,13 @@
6950
6905
  "fieldName": "checked"
6951
6906
  },
6952
6907
  {
6953
- "name": "name",
6908
+ "name": "selection-type",
6954
6909
  "type": {
6955
- "text": "string"
6910
+ "text": "SelectionType"
6956
6911
  },
6957
- "default": "''",
6958
- "description": "The name of the radio.",
6959
- "fieldName": "name"
6912
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6913
+ "default": "'check'",
6914
+ "fieldName": "selectionType"
6960
6915
  },
6961
6916
  {
6962
6917
  "name": "disabled",
@@ -7115,8 +7070,8 @@
7115
7070
  "name": "Card",
7116
7071
  "module": "/src/components/card/card.component"
7117
7072
  },
7118
- "tagName": "mdc-cardradio",
7119
- "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7073
+ "tagName": "mdc-cardcheckbox",
7074
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7120
7075
  "customElement": true
7121
7076
  }
7122
7077
  ],
@@ -7125,20 +7080,20 @@
7125
7080
  "kind": "js",
7126
7081
  "name": "default",
7127
7082
  "declaration": {
7128
- "name": "CardRadio",
7129
- "module": "components/cardradio/cardradio.component.js"
7083
+ "name": "CardCheckbox",
7084
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
7130
7085
  }
7131
7086
  }
7132
7087
  ]
7133
7088
  },
7134
7089
  {
7135
7090
  "kind": "javascript-module",
7136
- "path": "components/cardcheckbox/cardcheckbox.component.js",
7091
+ "path": "components/cardradio/cardradio.component.js",
7137
7092
  "declarations": [
7138
7093
  {
7139
7094
  "kind": "class",
7140
- "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
7141
- "name": "CardCheckbox",
7095
+ "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
7096
+ "name": "CardRadio",
7142
7097
  "cssProperties": [
7143
7098
  {
7144
7099
  "description": "The width of the card",
@@ -7315,20 +7270,76 @@
7315
7270
  },
7316
7271
  {
7317
7272
  "kind": "field",
7318
- "name": "selectionType",
7273
+ "name": "name",
7319
7274
  "type": {
7320
- "text": "SelectionType"
7275
+ "text": "string"
7321
7276
  },
7322
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
7323
- "default": "'check'",
7324
- "attribute": "selection-type",
7325
- "reflects": true
7277
+ "default": "''",
7278
+ "description": "The name of the radio.",
7279
+ "attribute": "name"
7280
+ },
7281
+ {
7282
+ "kind": "method",
7283
+ "name": "getAllCardsWithinSameGroup",
7284
+ "privacy": "private",
7285
+ "return": {
7286
+ "type": {
7287
+ "text": "CardRadio[]"
7288
+ }
7289
+ },
7290
+ "description": "Returns all cards within the same group (name)."
7326
7291
  },
7327
7292
  {
7328
7293
  "kind": "method",
7329
7294
  "name": "toggleChecked",
7330
7295
  "privacy": "private",
7331
- "description": "Toggles the checked state"
7296
+ "return": {
7297
+ "type": {
7298
+ "text": "void"
7299
+ }
7300
+ },
7301
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
7302
+ },
7303
+ {
7304
+ "kind": "method",
7305
+ "name": "setDisabled",
7306
+ "return": {
7307
+ "type": {
7308
+ "text": "void"
7309
+ }
7310
+ },
7311
+ "parameters": [
7312
+ {
7313
+ "name": "disabled",
7314
+ "type": {
7315
+ "text": "boolean"
7316
+ }
7317
+ }
7318
+ ]
7319
+ },
7320
+ {
7321
+ "kind": "method",
7322
+ "name": "updateCardRadio",
7323
+ "privacy": "private",
7324
+ "return": {
7325
+ "type": {
7326
+ "text": "void"
7327
+ }
7328
+ },
7329
+ "parameters": [
7330
+ {
7331
+ "name": "cards",
7332
+ "type": {
7333
+ "text": "CardRadio[]"
7334
+ }
7335
+ },
7336
+ {
7337
+ "name": "index",
7338
+ "type": {
7339
+ "text": "number"
7340
+ }
7341
+ }
7342
+ ]
7332
7343
  },
7333
7344
  {
7334
7345
  "kind": "method",
@@ -7360,17 +7371,6 @@
7360
7371
  ],
7361
7372
  "description": "Toggles the checked state when space key is used"
7362
7373
  },
7363
- {
7364
- "kind": "method",
7365
- "name": "renderSelection",
7366
- "privacy": "private",
7367
- "description": "Renders the selection icon or checkbox based on the selection type",
7368
- "return": {
7369
- "type": {
7370
- "text": ""
7371
- }
7372
- }
7373
- },
7374
7374
  {
7375
7375
  "kind": "method",
7376
7376
  "name": "renderHeader",
@@ -7644,13 +7644,13 @@
7644
7644
  "fieldName": "checked"
7645
7645
  },
7646
7646
  {
7647
- "name": "selection-type",
7647
+ "name": "name",
7648
7648
  "type": {
7649
- "text": "SelectionType"
7649
+ "text": "string"
7650
7650
  },
7651
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
7652
- "default": "'check'",
7653
- "fieldName": "selectionType"
7651
+ "default": "''",
7652
+ "description": "The name of the radio.",
7653
+ "fieldName": "name"
7654
7654
  },
7655
7655
  {
7656
7656
  "name": "disabled",
@@ -7809,8 +7809,8 @@
7809
7809
  "name": "Card",
7810
7810
  "module": "/src/components/card/card.component"
7811
7811
  },
7812
- "tagName": "mdc-cardcheckbox",
7813
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7812
+ "tagName": "mdc-cardradio",
7813
+ "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7814
7814
  "customElement": true
7815
7815
  }
7816
7816
  ],
@@ -7819,8 +7819,8 @@
7819
7819
  "kind": "js",
7820
7820
  "name": "default",
7821
7821
  "declaration": {
7822
- "name": "CardCheckbox",
7823
- "module": "components/cardcheckbox/cardcheckbox.component.js"
7822
+ "name": "CardRadio",
7823
+ "module": "components/cardradio/cardradio.component.js"
7824
7824
  }
7825
7825
  }
7826
7826
  ]
@@ -30722,89 +30722,189 @@
30722
30722
  },
30723
30723
  {
30724
30724
  "kind": "javascript-module",
30725
- "path": "components/select/select.component.js",
30725
+ "path": "components/searchfield/searchfield.component.js",
30726
30726
  "declarations": [
30727
30727
  {
30728
30728
  "kind": "class",
30729
- "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
30730
- "name": "Select",
30731
- "cssProperties": [
30729
+ "description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
30730
+ "name": "Searchfield",
30731
+ "slots": [
30732
30732
  {
30733
- "description": "The background color of the combobox of select.",
30734
- "name": "--mdc-select-background-color"
30733
+ "description": "Slot for input chips",
30734
+ "name": "filters"
30735
+ }
30736
+ ],
30737
+ "members": [
30738
+ {
30739
+ "kind": "field",
30740
+ "name": "inputChips",
30741
+ "type": {
30742
+ "text": "Array<HTMLElement> | undefined"
30743
+ }
30735
30744
  },
30736
30745
  {
30737
- "description": "The background color of the combobox of select when hovered.",
30738
- "name": "--mdc-select-background-color-hover"
30746
+ "kind": "method",
30747
+ "name": "handleKeyDown",
30748
+ "privacy": "protected",
30749
+ "parameters": [
30750
+ {
30751
+ "name": "event",
30752
+ "type": {
30753
+ "text": "KeyboardEvent"
30754
+ },
30755
+ "description": "Keyboard event"
30756
+ }
30757
+ ],
30758
+ "description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
30759
+ "inheritedFrom": {
30760
+ "name": "Input",
30761
+ "module": "components/input/input.component.js"
30762
+ }
30739
30763
  },
30740
30764
  {
30741
- "description": "The background color of the combobox of select when active.",
30742
- "name": "--mdc-select-background-color-active"
30765
+ "kind": "method",
30766
+ "name": "renderInputChips",
30767
+ "privacy": "private",
30768
+ "description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
30743
30769
  },
30744
30770
  {
30745
- "description": "The background color of the combobox of select when disabled.",
30746
- "name": "--mdc-select-background-color-disabled"
30747
- },
30748
- {
30749
- "description": "The text color of the select.",
30750
- "name": "--mdc-select-text-color"
30771
+ "kind": "method",
30772
+ "name": "clearInputText",
30773
+ "privacy": "protected",
30774
+ "description": "Clears the input field.",
30775
+ "inheritedFrom": {
30776
+ "name": "Input",
30777
+ "module": "components/input/input.component.js"
30778
+ }
30751
30779
  },
30752
30780
  {
30753
- "description": "The text color of the selected option in the select.",
30754
- "name": "--mdc-select-text-color-selected"
30781
+ "kind": "field",
30782
+ "name": "name",
30783
+ "type": {
30784
+ "text": "string"
30785
+ },
30786
+ "default": "''",
30787
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
30788
+ "attribute": "name",
30789
+ "reflects": true,
30790
+ "inheritedFrom": {
30791
+ "name": "FormInternalsMixin",
30792
+ "module": "utils/mixins/FormInternalsMixin.js"
30793
+ }
30755
30794
  },
30756
30795
  {
30757
- "description": "The text color of the select when disabled.",
30758
- "name": "--mdc-select-text-color-disabled"
30796
+ "kind": "field",
30797
+ "name": "value",
30798
+ "type": {
30799
+ "text": "string"
30800
+ },
30801
+ "default": "''",
30802
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
30803
+ "attribute": "value",
30804
+ "reflects": true,
30805
+ "inheritedFrom": {
30806
+ "name": "FormInternalsMixin",
30807
+ "module": "utils/mixins/FormInternalsMixin.js"
30808
+ }
30759
30809
  },
30760
30810
  {
30761
- "description": "The border color of the select.",
30762
- "name": "--mdc-select-border-color"
30811
+ "kind": "field",
30812
+ "name": "validationMessage",
30813
+ "type": {
30814
+ "text": "string | undefined"
30815
+ },
30816
+ "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.",
30817
+ "attribute": "validation-message",
30818
+ "reflects": true,
30819
+ "inheritedFrom": {
30820
+ "name": "FormInternalsMixin",
30821
+ "module": "utils/mixins/FormInternalsMixin.js"
30822
+ }
30763
30823
  },
30764
30824
  {
30765
- "description": "The border color of the select when disabled.",
30766
- "name": "--mdc-select-border-color-disabled"
30825
+ "kind": "field",
30826
+ "name": "validity",
30827
+ "type": {
30828
+ "text": "ValidityState"
30829
+ },
30830
+ "readonly": true,
30831
+ "inheritedFrom": {
30832
+ "name": "FormInternalsMixin",
30833
+ "module": "utils/mixins/FormInternalsMixin.js"
30834
+ }
30767
30835
  },
30768
30836
  {
30769
- "description": "The border color of the select when in success state.",
30770
- "name": "--mdc-select-border-color-success"
30837
+ "kind": "field",
30838
+ "name": "willValidate",
30839
+ "readonly": true,
30840
+ "inheritedFrom": {
30841
+ "name": "FormInternalsMixin",
30842
+ "module": "utils/mixins/FormInternalsMixin.js"
30843
+ }
30771
30844
  },
30772
30845
  {
30773
- "description": "The border color of the select when in warning state.",
30774
- "name": "--mdc-select-border-color-warning"
30846
+ "kind": "method",
30847
+ "name": "setValidity",
30848
+ "description": "Sets the validity of the input field based on the input field's validity.",
30849
+ "return": {
30850
+ "type": {
30851
+ "text": ""
30852
+ }
30853
+ },
30854
+ "inheritedFrom": {
30855
+ "name": "FormInternalsMixin",
30856
+ "module": "utils/mixins/FormInternalsMixin.js"
30857
+ }
30775
30858
  },
30776
30859
  {
30777
- "description": "The border color of the select when in error state.",
30778
- "name": "--mdc-select-border-color-error"
30860
+ "kind": "method",
30861
+ "name": "checkValidity",
30862
+ "return": {
30863
+ "type": {
30864
+ "text": "boolean"
30865
+ }
30866
+ },
30867
+ "inheritedFrom": {
30868
+ "name": "FormInternalsMixin",
30869
+ "module": "utils/mixins/FormInternalsMixin.js"
30870
+ }
30779
30871
  },
30780
30872
  {
30781
- "description": "The width of the select.",
30782
- "name": "--mdc-select-width"
30873
+ "kind": "method",
30874
+ "name": "reportValidity",
30875
+ "inheritedFrom": {
30876
+ "name": "FormInternalsMixin",
30877
+ "module": "utils/mixins/FormInternalsMixin.js"
30878
+ }
30783
30879
  },
30784
30880
  {
30785
- "description": "The height of the listbox inside the select.",
30786
- "name": "--mdc-select-listbox-height"
30881
+ "kind": "field",
30882
+ "name": "dataAriaLabel",
30883
+ "type": {
30884
+ "text": "string | null"
30885
+ },
30886
+ "default": "null",
30887
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
30888
+ "attribute": "data-aria-label",
30889
+ "reflects": true,
30890
+ "inheritedFrom": {
30891
+ "name": "DataAriaLabelMixin",
30892
+ "module": "utils/mixins/DataAriaLabelMixin.js"
30893
+ }
30787
30894
  },
30788
- {
30789
- "description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
30790
- "name": "--mdc-select-listbox-width"
30791
- }
30792
- ],
30793
- "slots": [
30794
- {
30795
- "description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
30796
- "name": "default"
30797
- }
30798
- ],
30799
- "members": [
30800
30895
  {
30801
30896
  "kind": "field",
30802
30897
  "name": "placeholder",
30803
30898
  "type": {
30804
- "text": "string | undefined"
30899
+ "text": "string"
30805
30900
  },
30806
- "description": "The placeholder text which will be shown on the text if provided.",
30807
- "attribute": "placeholder"
30901
+ "default": "''",
30902
+ "description": "The placeholder text that is displayed when the input field is empty.",
30903
+ "attribute": "placeholder",
30904
+ "inheritedFrom": {
30905
+ "name": "Input",
30906
+ "module": "components/input/input.component.js"
30907
+ }
30808
30908
  },
30809
30909
  {
30810
30910
  "kind": "field",
@@ -30813,409 +30913,311 @@
30813
30913
  "text": "boolean"
30814
30914
  },
30815
30915
  "default": "false",
30816
- "description": "readonly attribute of the select field. If true, the select is read-only.",
30817
- "attribute": "readonly"
30916
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
30917
+ "attribute": "readonly",
30918
+ "inheritedFrom": {
30919
+ "name": "Input",
30920
+ "module": "components/input/input.component.js"
30921
+ }
30818
30922
  },
30819
30923
  {
30820
30924
  "kind": "field",
30821
- "name": "placement",
30925
+ "name": "prefixText",
30822
30926
  "type": {
30823
- "text": "Placement"
30927
+ "text": "string | undefined"
30824
30928
  },
30825
- "description": "The placeholder text which will be shown on the text if provided.",
30826
- "attribute": "placement",
30827
- "reflects": true
30929
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
30930
+ "attribute": "prefix-text",
30931
+ "inheritedFrom": {
30932
+ "name": "Input",
30933
+ "module": "components/input/input.component.js"
30934
+ }
30828
30935
  },
30829
30936
  {
30830
30937
  "kind": "field",
30831
- "name": "softDisabled",
30938
+ "name": "leadingIcon",
30832
30939
  "type": {
30833
- "text": "boolean | undefined"
30940
+ "text": "IconNames | undefined"
30834
30941
  },
30835
- "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
30836
- "default": "undefined",
30837
- "attribute": "soft-disabled"
30942
+ "description": "The leading icon that is displayed before the input field.",
30943
+ "attribute": "leading-icon",
30944
+ "inheritedFrom": {
30945
+ "name": "Input",
30946
+ "module": "components/input/input.component.js"
30947
+ }
30838
30948
  },
30839
30949
  {
30840
30950
  "kind": "field",
30841
- "name": "boundary",
30951
+ "name": "trailingButton",
30842
30952
  "type": {
30843
- "text": "'clippingAncestors' | string"
30953
+ "text": "boolean"
30844
30954
  },
30845
- "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
30846
- "default": "'clippingAncestors'",
30847
- "attribute": "boundary",
30848
- "reflects": true
30955
+ "default": "false",
30956
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
30957
+ "attribute": "trailing-button",
30958
+ "inheritedFrom": {
30959
+ "name": "Input",
30960
+ "module": "components/input/input.component.js"
30961
+ }
30849
30962
  },
30850
30963
  {
30851
30964
  "kind": "field",
30852
- "name": "strategy",
30965
+ "name": "maxlength",
30853
30966
  "type": {
30854
- "text": "'absolute' | 'fixed'"
30967
+ "text": "number | undefined"
30855
30968
  },
30856
- "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
30857
- "default": "absolute",
30858
- "attribute": "strategy",
30859
- "reflects": true
30969
+ "description": "The maximum number of characters that the input field can accept.",
30970
+ "attribute": "maxlength",
30971
+ "inheritedFrom": {
30972
+ "name": "Input",
30973
+ "module": "components/input/input.component.js"
30974
+ }
30860
30975
  },
30861
30976
  {
30862
- "kind": "method",
30863
- "name": "getAllValidOptions",
30864
- "privacy": "private",
30865
- "return": {
30866
- "type": {
30867
- "text": "Array<Option>"
30868
- }
30977
+ "kind": "field",
30978
+ "name": "minlength",
30979
+ "type": {
30980
+ "text": "number | undefined"
30981
+ },
30982
+ "description": "The minimum number of characters that the input field can accept.",
30983
+ "attribute": "minlength",
30984
+ "inheritedFrom": {
30985
+ "name": "Input",
30986
+ "module": "components/input/input.component.js"
30869
30987
  }
30870
30988
  },
30871
30989
  {
30872
- "kind": "method",
30873
- "name": "getFirstValidOption",
30874
- "privacy": "private",
30875
- "return": {
30876
- "type": {
30877
- "text": "Option | null"
30878
- }
30990
+ "kind": "field",
30991
+ "name": "autocapitalize",
30992
+ "type": {
30993
+ "text": "AutoCapitalizeType"
30994
+ },
30995
+ "description": "The autocapitalize attribute of the input field.",
30996
+ "default": "'off'",
30997
+ "attribute": "autocapitalize",
30998
+ "inheritedFrom": {
30999
+ "name": "Input",
31000
+ "module": "components/input/input.component.js"
30879
31001
  }
30880
31002
  },
30881
31003
  {
30882
- "kind": "method",
30883
- "name": "getLastValidOption",
30884
- "privacy": "private",
30885
- "return": {
30886
- "type": {
30887
- "text": "Option | null"
30888
- }
31004
+ "kind": "field",
31005
+ "name": "autocomplete",
31006
+ "type": {
31007
+ "text": "AutoCompleteType"
31008
+ },
31009
+ "description": "The autocomplete attribute of the input field.",
31010
+ "default": "'off'",
31011
+ "attribute": "autocomplete",
31012
+ "inheritedFrom": {
31013
+ "name": "Input",
31014
+ "module": "components/input/input.component.js"
30889
31015
  }
30890
31016
  },
30891
31017
  {
30892
- "kind": "method",
30893
- "name": "getFirstSelectedOption",
30894
- "privacy": "private",
30895
- "return": {
30896
- "type": {
30897
- "text": "Option | null"
30898
- }
31018
+ "kind": "field",
31019
+ "name": "autofocus",
31020
+ "type": {
31021
+ "text": "boolean"
31022
+ },
31023
+ "default": "false",
31024
+ "description": "If true, the input field is focused when the component is rendered.",
31025
+ "attribute": "autofocus",
31026
+ "inheritedFrom": {
31027
+ "name": "Input",
31028
+ "module": "components/input/input.component.js"
31029
+ }
31030
+ },
31031
+ {
31032
+ "kind": "field",
31033
+ "name": "dirname",
31034
+ "type": {
31035
+ "text": "string | undefined"
31036
+ },
31037
+ "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
31038
+ "attribute": "dirname",
31039
+ "inheritedFrom": {
31040
+ "name": "Input",
31041
+ "module": "components/input/input.component.js"
31042
+ }
31043
+ },
31044
+ {
31045
+ "kind": "field",
31046
+ "name": "pattern",
31047
+ "type": {
31048
+ "text": "string | undefined"
31049
+ },
31050
+ "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
31051
+ "attribute": "pattern",
31052
+ "inheritedFrom": {
31053
+ "name": "Input",
31054
+ "module": "components/input/input.component.js"
31055
+ }
31056
+ },
31057
+ {
31058
+ "kind": "field",
31059
+ "name": "list",
31060
+ "type": {
31061
+ "text": "string | undefined"
31062
+ },
31063
+ "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
31064
+ "attribute": "list",
31065
+ "inheritedFrom": {
31066
+ "name": "Input",
31067
+ "module": "components/input/input.component.js"
31068
+ }
31069
+ },
31070
+ {
31071
+ "kind": "field",
31072
+ "name": "size",
31073
+ "type": {
31074
+ "text": "number | undefined | undefined"
31075
+ },
31076
+ "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
31077
+ "default": "undefined",
31078
+ "attribute": "size",
31079
+ "inheritedFrom": {
31080
+ "name": "Input",
31081
+ "module": "components/input/input.component.js"
31082
+ }
31083
+ },
31084
+ {
31085
+ "kind": "field",
31086
+ "name": "clearAriaLabel",
31087
+ "type": {
31088
+ "text": "string"
31089
+ },
31090
+ "default": "''",
31091
+ "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
31092
+ "attribute": "clear-aria-label",
31093
+ "inheritedFrom": {
31094
+ "name": "Input",
31095
+ "module": "components/input/input.component.js"
30899
31096
  }
30900
31097
  },
30901
31098
  {
30902
31099
  "kind": "method",
30903
- "name": "modifyListBoxWrapper",
31100
+ "name": "setInputValidity",
30904
31101
  "privacy": "private",
30905
- "description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
31102
+ "inheritedFrom": {
31103
+ "name": "Input",
31104
+ "module": "components/input/input.component.js"
31105
+ }
30906
31106
  },
30907
31107
  {
30908
31108
  "kind": "method",
30909
- "name": "handleOptionsClick",
31109
+ "name": "updateValue",
30910
31110
  "privacy": "private",
31111
+ "description": "Updates the value of the input field.\nSets the form value.",
30911
31112
  "return": {
30912
31113
  "type": {
30913
- "text": "void"
31114
+ "text": ""
30914
31115
  }
30915
31116
  },
30916
- "parameters": [
30917
- {
30918
- "name": "event",
30919
- "type": {
30920
- "text": "MouseEvent"
30921
- },
30922
- "description": "The event which triggered this function."
30923
- }
30924
- ],
30925
- "description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
31117
+ "inheritedFrom": {
31118
+ "name": "Input",
31119
+ "module": "components/input/input.component.js"
31120
+ }
30926
31121
  },
30927
31122
  {
30928
31123
  "kind": "method",
30929
- "name": "setSelectedOption",
31124
+ "name": "onInput",
30930
31125
  "privacy": "private",
30931
- "return": {
30932
- "type": {
30933
- "text": "void"
30934
- }
30935
- },
30936
- "parameters": [
30937
- {
30938
- "name": "option",
30939
- "type": {
30940
- "text": "Option | null"
30941
- },
30942
- "description": "The option element in DOM which gets selected."
30943
- }
30944
- ],
30945
- "description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
31126
+ "description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
31127
+ "inheritedFrom": {
31128
+ "name": "Input",
31129
+ "module": "components/input/input.component.js"
31130
+ }
30946
31131
  },
30947
31132
  {
30948
31133
  "kind": "method",
30949
- "name": "updateTabIndexForAllOptions",
31134
+ "name": "onChange",
30950
31135
  "privacy": "private",
30951
- "return": {
30952
- "type": {
30953
- "text": "void"
30954
- }
30955
- },
30956
31136
  "parameters": [
30957
31137
  {
30958
- "name": "option",
30959
- "optional": true,
31138
+ "name": "event",
30960
31139
  "type": {
30961
- "text": "Option | null"
31140
+ "text": "Event"
30962
31141
  },
30963
- "description": "The option which tabIndex should be set to 0."
31142
+ "description": "Event which contains information about the value change."
30964
31143
  }
30965
31144
  ],
30966
- "description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
31145
+ "description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed",
31146
+ "inheritedFrom": {
31147
+ "name": "Input",
31148
+ "module": "components/input/input.component.js"
31149
+ }
30967
31150
  },
30968
31151
  {
30969
31152
  "kind": "method",
30970
- "name": "updateSelectedInChildOptions",
30971
- "privacy": "private",
31153
+ "name": "renderLeadingIcon",
31154
+ "privacy": "protected",
31155
+ "description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
30972
31156
  "return": {
30973
31157
  "type": {
30974
- "text": "void"
31158
+ "text": ""
30975
31159
  }
30976
31160
  },
30977
- "parameters": [
30978
- {
30979
- "name": "selectedOption",
30980
- "type": {
30981
- "text": "Option | null"
30982
- },
30983
- "description": "The option which gets selected"
30984
- }
30985
- ],
30986
- "description": "Sets selected attribute on the selected option and removes it from all options"
31161
+ "inheritedFrom": {
31162
+ "name": "Input",
31163
+ "module": "components/input/input.component.js"
31164
+ }
30987
31165
  },
30988
31166
  {
30989
31167
  "kind": "method",
30990
- "name": "fireEvents",
30991
- "privacy": "private",
31168
+ "name": "renderPrefixText",
31169
+ "privacy": "protected",
31170
+ "description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
30992
31171
  "return": {
30993
31172
  "type": {
30994
- "text": "void"
31173
+ "text": ""
30995
31174
  }
30996
31175
  },
30997
- "description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
31176
+ "inheritedFrom": {
31177
+ "name": "Input",
31178
+ "module": "components/input/input.component.js"
31179
+ }
30998
31180
  },
30999
31181
  {
31000
31182
  "kind": "method",
31001
- "name": "dispatchChange",
31002
- "privacy": "private",
31003
- "return": {
31004
- "type": {
31005
- "text": "void"
31006
- }
31007
- },
31183
+ "name": "renderTrailingButton",
31184
+ "privacy": "protected",
31008
31185
  "parameters": [
31009
31186
  {
31010
- "name": "option",
31011
- "type": {
31012
- "text": "Option"
31013
- }
31187
+ "name": "show",
31188
+ "default": "false"
31014
31189
  }
31015
- ]
31016
- },
31017
- {
31018
- "kind": "method",
31019
- "name": "dispatchInput",
31020
- "privacy": "private",
31190
+ ],
31191
+ "description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
31021
31192
  "return": {
31022
31193
  "type": {
31023
- "text": "void"
31194
+ "text": ""
31024
31195
  }
31025
31196
  },
31026
- "parameters": [
31027
- {
31028
- "name": "option",
31029
- "type": {
31030
- "text": "Option"
31031
- }
31032
- }
31033
- ]
31197
+ "inheritedFrom": {
31198
+ "name": "Input",
31199
+ "module": "components/input/input.component.js"
31200
+ }
31034
31201
  },
31035
31202
  {
31036
31203
  "kind": "method",
31037
- "name": "handleClickCombobox",
31038
- "privacy": "private",
31039
- "return": {
31040
- "type": {
31041
- "text": "void"
31042
- }
31043
- },
31204
+ "name": "renderInputElement",
31205
+ "privacy": "protected",
31044
31206
  "parameters": [
31045
31207
  {
31046
- "name": "event",
31208
+ "name": "type",
31047
31209
  "type": {
31048
- "text": "MouseEvent"
31049
- },
31050
- "description": "The mouse event which triggered this function."
31210
+ "text": "InputType"
31211
+ }
31212
+ },
31213
+ {
31214
+ "name": "hidePlaceholder",
31215
+ "default": "false"
31051
31216
  }
31052
31217
  ],
31053
- "description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
31054
- },
31055
- {
31056
- "kind": "method",
31057
- "name": "handleKeydownCombobox",
31058
- "privacy": "private",
31059
- "return": {
31060
- "type": {
31061
- "text": "void"
31062
- }
31063
- },
31064
- "parameters": [
31065
- {
31066
- "name": "event",
31067
- "type": {
31068
- "text": "KeyboardEvent"
31069
- },
31070
- "description": "The keyboard event."
31071
- }
31072
- ],
31073
- "description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
31074
- },
31075
- {
31076
- "kind": "method",
31077
- "name": "handlePopoverKeydown",
31078
- "privacy": "private",
31079
- "return": {
31080
- "type": {
31081
- "text": "void"
31082
- }
31083
- },
31084
- "parameters": [
31085
- {
31086
- "name": "event",
31087
- "type": {
31088
- "text": "KeyboardEvent"
31089
- },
31090
- "description": "The keyboard event."
31091
- }
31092
- ],
31093
- "description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
31094
- },
31095
- {
31096
- "kind": "method",
31097
- "name": "updateState",
31098
- "privacy": "public",
31099
- "return": {
31100
- "type": {
31101
- "text": "void"
31102
- }
31103
- },
31104
- "description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
31105
- },
31106
- {
31107
- "kind": "field",
31108
- "name": "name",
31109
- "type": {
31110
- "text": "string"
31111
- },
31112
- "default": "''",
31113
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
31114
- "attribute": "name",
31115
- "reflects": true,
31116
- "inheritedFrom": {
31117
- "name": "FormInternalsMixin",
31118
- "module": "utils/mixins/FormInternalsMixin.js"
31119
- }
31120
- },
31121
- {
31122
- "kind": "field",
31123
- "name": "value",
31124
- "type": {
31125
- "text": "string"
31126
- },
31127
- "default": "''",
31128
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
31129
- "attribute": "value",
31130
- "reflects": true,
31131
- "inheritedFrom": {
31132
- "name": "FormInternalsMixin",
31133
- "module": "utils/mixins/FormInternalsMixin.js"
31134
- }
31135
- },
31136
- {
31137
- "kind": "field",
31138
- "name": "validationMessage",
31139
- "type": {
31140
- "text": "string | undefined"
31141
- },
31142
- "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.",
31143
- "attribute": "validation-message",
31144
- "reflects": true,
31145
- "inheritedFrom": {
31146
- "name": "FormInternalsMixin",
31147
- "module": "utils/mixins/FormInternalsMixin.js"
31148
- }
31149
- },
31150
- {
31151
- "kind": "field",
31152
- "name": "validity",
31153
- "type": {
31154
- "text": "ValidityState"
31155
- },
31156
- "readonly": true,
31157
- "inheritedFrom": {
31158
- "name": "FormInternalsMixin",
31159
- "module": "utils/mixins/FormInternalsMixin.js"
31160
- }
31161
- },
31162
- {
31163
- "kind": "field",
31164
- "name": "willValidate",
31165
- "readonly": true,
31166
- "inheritedFrom": {
31167
- "name": "FormInternalsMixin",
31168
- "module": "utils/mixins/FormInternalsMixin.js"
31169
- }
31170
- },
31171
- {
31172
- "kind": "method",
31173
- "name": "setValidity",
31174
- "description": "Sets the validity of the input field based on the input field's validity.",
31175
- "return": {
31176
- "type": {
31177
- "text": ""
31178
- }
31179
- },
31180
- "inheritedFrom": {
31181
- "name": "FormInternalsMixin",
31182
- "module": "utils/mixins/FormInternalsMixin.js"
31183
- }
31184
- },
31185
- {
31186
- "kind": "method",
31187
- "name": "checkValidity",
31188
- "return": {
31189
- "type": {
31190
- "text": "boolean"
31191
- }
31192
- },
31193
- "inheritedFrom": {
31194
- "name": "FormInternalsMixin",
31195
- "module": "utils/mixins/FormInternalsMixin.js"
31196
- }
31197
- },
31198
- {
31199
- "kind": "method",
31200
- "name": "reportValidity",
31201
- "inheritedFrom": {
31202
- "name": "FormInternalsMixin",
31203
- "module": "utils/mixins/FormInternalsMixin.js"
31204
- }
31205
- },
31206
- {
31207
- "kind": "field",
31208
- "name": "dataAriaLabel",
31209
- "type": {
31210
- "text": "string | null"
31211
- },
31212
- "default": "null",
31213
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31214
- "attribute": "data-aria-label",
31215
- "reflects": true,
31216
31218
  "inheritedFrom": {
31217
- "name": "DataAriaLabelMixin",
31218
- "module": "utils/mixins/DataAriaLabelMixin.js"
31219
+ "name": "Input",
31220
+ "module": "components/input/input.component.js"
31219
31221
  }
31220
31222
  },
31221
31223
  {
@@ -31425,139 +31427,308 @@
31425
31427
  ],
31426
31428
  "events": [
31427
31429
  {
31430
+ "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
31431
+ "name": "input",
31432
+ "reactName": "onInput",
31433
+ "inheritedFrom": {
31434
+ "name": "Input",
31435
+ "module": "src/components/input/input.component.ts"
31436
+ }
31437
+ },
31438
+ {
31439
+ "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
31428
31440
  "name": "change",
31429
- "type": {
31430
- "text": "CustomEvent"
31431
- },
31432
- "description": "(React: onChange) This event is dispatched when the select is changed.",
31433
- "reactName": "onChange"
31441
+ "reactName": "onChange",
31442
+ "inheritedFrom": {
31443
+ "name": "Input",
31444
+ "module": "src/components/input/input.component.ts"
31445
+ }
31434
31446
  },
31435
31447
  {
31436
- "name": "input",
31437
- "type": {
31438
- "text": "CustomEvent"
31439
- },
31440
- "description": "(React: onInput) This event is dispatched when the select is changed.",
31441
- "reactName": "onInput"
31448
+ "description": "(React: onFocus) This event is dispatched when the input receives focus.",
31449
+ "name": "focus",
31450
+ "reactName": "onFocus",
31451
+ "inheritedFrom": {
31452
+ "name": "Input",
31453
+ "module": "src/components/input/input.component.ts"
31454
+ }
31442
31455
  },
31443
31456
  {
31444
- "description": "(React: onClick) This event is dispatched when the select is clicked.",
31445
- "name": "click",
31446
- "reactName": "onClick"
31457
+ "description": "(React: onBlur) This event is dispatched when the input loses focus.",
31458
+ "name": "blur",
31459
+ "reactName": "onBlur",
31460
+ "inheritedFrom": {
31461
+ "name": "Input",
31462
+ "module": "src/components/input/input.component.ts"
31463
+ }
31447
31464
  },
31448
31465
  {
31449
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
31450
- "name": "keydown",
31451
- "reactName": "onKeyDown"
31466
+ "name": "clear",
31467
+ "type": {
31468
+ "text": "CustomEvent"
31469
+ },
31470
+ "description": "(React: onClear) This event is dispatched when the input text is cleared.",
31471
+ "reactName": "onClear",
31472
+ "inheritedFrom": {
31473
+ "name": "Input",
31474
+ "module": "src/components/input/input.component.ts"
31475
+ }
31452
31476
  },
31453
31477
  {
31454
- "description": "(React: onFocus) This event is dispatched when the select receives focus.",
31455
- "name": "focus",
31456
- "reactName": "onFocus"
31478
+ "type": {
31479
+ "text": "EventConstructor"
31480
+ },
31481
+ "inheritedFrom": {
31482
+ "name": "Input",
31483
+ "module": "src/components/input/input.component.ts"
31484
+ }
31457
31485
  }
31458
31486
  ],
31487
+ "superclass": {
31488
+ "name": "Input",
31489
+ "module": "/src/components/input/input.component"
31490
+ },
31491
+ "tagName": "mdc-searchfield",
31492
+ "jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
31493
+ "customElement": true,
31459
31494
  "attributes": [
31460
31495
  {
31461
- "name": "placeholder",
31496
+ "name": "name",
31462
31497
  "type": {
31463
- "text": "string | undefined"
31498
+ "text": "string"
31464
31499
  },
31465
- "description": "The placeholder text which will be shown on the text if provided.",
31466
- "fieldName": "placeholder"
31500
+ "default": "''",
31501
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
31502
+ "fieldName": "name",
31503
+ "inheritedFrom": {
31504
+ "name": "FormInternalsMixin",
31505
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
31506
+ }
31467
31507
  },
31468
31508
  {
31469
- "name": "readonly",
31509
+ "name": "value",
31470
31510
  "type": {
31471
- "text": "boolean"
31511
+ "text": "string"
31472
31512
  },
31473
- "default": "false",
31474
- "description": "readonly attribute of the select field. If true, the select is read-only.",
31475
- "fieldName": "readonly"
31513
+ "default": "''",
31514
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
31515
+ "fieldName": "value",
31516
+ "inheritedFrom": {
31517
+ "name": "FormInternalsMixin",
31518
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
31519
+ }
31476
31520
  },
31477
31521
  {
31478
- "name": "placement",
31522
+ "name": "validation-message",
31479
31523
  "type": {
31480
- "text": "Placement"
31524
+ "text": "string | undefined"
31481
31525
  },
31482
- "description": "The placeholder text which will be shown on the text if provided.",
31483
- "fieldName": "placement"
31526
+ "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.",
31527
+ "fieldName": "validationMessage",
31528
+ "inheritedFrom": {
31529
+ "name": "FormInternalsMixin",
31530
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
31531
+ }
31484
31532
  },
31485
31533
  {
31486
- "name": "soft-disabled",
31534
+ "name": "data-aria-label",
31487
31535
  "type": {
31488
- "text": "boolean | undefined"
31536
+ "text": "string | null"
31489
31537
  },
31490
- "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
31491
- "default": "undefined",
31492
- "fieldName": "softDisabled"
31538
+ "default": "null",
31539
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31540
+ "fieldName": "dataAriaLabel",
31541
+ "inheritedFrom": {
31542
+ "name": "DataAriaLabelMixin",
31543
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
31544
+ }
31493
31545
  },
31494
31546
  {
31495
- "name": "boundary",
31547
+ "name": "placeholder",
31496
31548
  "type": {
31497
- "text": "'clippingAncestors' | string"
31549
+ "text": "string"
31498
31550
  },
31499
- "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
31500
- "default": "'clippingAncestors'",
31501
- "fieldName": "boundary"
31551
+ "default": "''",
31552
+ "description": "The placeholder text that is displayed when the input field is empty.",
31553
+ "fieldName": "placeholder",
31554
+ "inheritedFrom": {
31555
+ "name": "Input",
31556
+ "module": "src/components/input/input.component.ts"
31557
+ }
31502
31558
  },
31503
31559
  {
31504
- "name": "strategy",
31560
+ "name": "readonly",
31505
31561
  "type": {
31506
- "text": "'absolute' | 'fixed'"
31562
+ "text": "boolean"
31507
31563
  },
31508
- "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
31509
- "default": "absolute",
31510
- "fieldName": "strategy"
31564
+ "default": "false",
31565
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
31566
+ "fieldName": "readonly",
31567
+ "inheritedFrom": {
31568
+ "name": "Input",
31569
+ "module": "src/components/input/input.component.ts"
31570
+ }
31511
31571
  },
31512
31572
  {
31513
- "name": "name",
31573
+ "name": "prefix-text",
31514
31574
  "type": {
31515
- "text": "string"
31575
+ "text": "string | undefined"
31516
31576
  },
31517
- "default": "''",
31518
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
31519
- "fieldName": "name",
31577
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
31578
+ "fieldName": "prefixText",
31520
31579
  "inheritedFrom": {
31521
- "name": "FormInternalsMixin",
31522
- "module": "src/utils/mixins/FormInternalsMixin.ts"
31580
+ "name": "Input",
31581
+ "module": "src/components/input/input.component.ts"
31523
31582
  }
31524
31583
  },
31525
31584
  {
31526
- "name": "value",
31585
+ "name": "leading-icon",
31527
31586
  "type": {
31528
- "text": "string"
31587
+ "text": "IconNames | undefined"
31529
31588
  },
31530
- "default": "''",
31531
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
31532
- "fieldName": "value",
31589
+ "description": "The leading icon that is displayed before the input field.",
31590
+ "fieldName": "leadingIcon",
31533
31591
  "inheritedFrom": {
31534
- "name": "FormInternalsMixin",
31535
- "module": "src/utils/mixins/FormInternalsMixin.ts"
31592
+ "name": "Input",
31593
+ "module": "src/components/input/input.component.ts"
31536
31594
  }
31537
31595
  },
31538
31596
  {
31539
- "name": "validation-message",
31597
+ "name": "trailing-button",
31598
+ "type": {
31599
+ "text": "boolean"
31600
+ },
31601
+ "default": "false",
31602
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
31603
+ "fieldName": "trailingButton",
31604
+ "inheritedFrom": {
31605
+ "name": "Input",
31606
+ "module": "src/components/input/input.component.ts"
31607
+ }
31608
+ },
31609
+ {
31610
+ "name": "maxlength",
31611
+ "type": {
31612
+ "text": "number | undefined"
31613
+ },
31614
+ "description": "The maximum number of characters that the input field can accept.",
31615
+ "fieldName": "maxlength",
31616
+ "inheritedFrom": {
31617
+ "name": "Input",
31618
+ "module": "src/components/input/input.component.ts"
31619
+ }
31620
+ },
31621
+ {
31622
+ "name": "minlength",
31623
+ "type": {
31624
+ "text": "number | undefined"
31625
+ },
31626
+ "description": "The minimum number of characters that the input field can accept.",
31627
+ "fieldName": "minlength",
31628
+ "inheritedFrom": {
31629
+ "name": "Input",
31630
+ "module": "src/components/input/input.component.ts"
31631
+ }
31632
+ },
31633
+ {
31634
+ "name": "autocapitalize",
31635
+ "type": {
31636
+ "text": "AutoCapitalizeType"
31637
+ },
31638
+ "description": "The autocapitalize attribute of the input field.",
31639
+ "default": "'off'",
31640
+ "fieldName": "autocapitalize",
31641
+ "inheritedFrom": {
31642
+ "name": "Input",
31643
+ "module": "src/components/input/input.component.ts"
31644
+ }
31645
+ },
31646
+ {
31647
+ "name": "autocomplete",
31648
+ "type": {
31649
+ "text": "AutoCompleteType"
31650
+ },
31651
+ "description": "The autocomplete attribute of the input field.",
31652
+ "default": "'off'",
31653
+ "fieldName": "autocomplete",
31654
+ "inheritedFrom": {
31655
+ "name": "Input",
31656
+ "module": "src/components/input/input.component.ts"
31657
+ }
31658
+ },
31659
+ {
31660
+ "name": "autofocus",
31661
+ "type": {
31662
+ "text": "boolean"
31663
+ },
31664
+ "default": "false",
31665
+ "description": "If true, the input field is focused when the component is rendered.",
31666
+ "fieldName": "autofocus",
31667
+ "inheritedFrom": {
31668
+ "name": "Input",
31669
+ "module": "src/components/input/input.component.ts"
31670
+ }
31671
+ },
31672
+ {
31673
+ "name": "dirname",
31540
31674
  "type": {
31541
31675
  "text": "string | undefined"
31542
31676
  },
31543
- "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.",
31544
- "fieldName": "validationMessage",
31677
+ "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
31678
+ "fieldName": "dirname",
31545
31679
  "inheritedFrom": {
31546
- "name": "FormInternalsMixin",
31547
- "module": "src/utils/mixins/FormInternalsMixin.ts"
31680
+ "name": "Input",
31681
+ "module": "src/components/input/input.component.ts"
31548
31682
  }
31549
31683
  },
31550
31684
  {
31551
- "name": "data-aria-label",
31685
+ "name": "pattern",
31552
31686
  "type": {
31553
- "text": "string | null"
31687
+ "text": "string | undefined"
31554
31688
  },
31555
- "default": "null",
31556
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31557
- "fieldName": "dataAriaLabel",
31689
+ "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
31690
+ "fieldName": "pattern",
31558
31691
  "inheritedFrom": {
31559
- "name": "DataAriaLabelMixin",
31560
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
31692
+ "name": "Input",
31693
+ "module": "src/components/input/input.component.ts"
31694
+ }
31695
+ },
31696
+ {
31697
+ "name": "list",
31698
+ "type": {
31699
+ "text": "string | undefined"
31700
+ },
31701
+ "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
31702
+ "fieldName": "list",
31703
+ "inheritedFrom": {
31704
+ "name": "Input",
31705
+ "module": "src/components/input/input.component.ts"
31706
+ }
31707
+ },
31708
+ {
31709
+ "name": "size",
31710
+ "type": {
31711
+ "text": "number | undefined | undefined"
31712
+ },
31713
+ "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
31714
+ "default": "undefined",
31715
+ "fieldName": "size",
31716
+ "inheritedFrom": {
31717
+ "name": "Input",
31718
+ "module": "src/components/input/input.component.ts"
31719
+ }
31720
+ },
31721
+ {
31722
+ "name": "clear-aria-label",
31723
+ "type": {
31724
+ "text": "string"
31725
+ },
31726
+ "default": "''",
31727
+ "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
31728
+ "fieldName": "clearAriaLabel",
31729
+ "inheritedFrom": {
31730
+ "name": "Input",
31731
+ "module": "src/components/input/input.component.ts"
31561
31732
  }
31562
31733
  },
31563
31734
  {
@@ -31673,574 +31844,646 @@
31673
31844
  }
31674
31845
  }
31675
31846
  ],
31676
- "mixins": [
31847
+ "cssProperties": [
31677
31848
  {
31678
- "name": "FormInternalsMixin",
31679
- "module": "/src/utils/mixins/FormInternalsMixin"
31849
+ "description": "Border color for the input container when disabled",
31850
+ "name": "--mdc-input-disabled-border-color",
31851
+ "inheritedFrom": {
31852
+ "name": "Input",
31853
+ "module": "src/components/input/input.component.ts"
31854
+ }
31680
31855
  },
31681
31856
  {
31682
- "name": "DataAriaLabelMixin",
31683
- "module": "/src/utils/mixins/DataAriaLabelMixin"
31684
- }
31685
- ],
31686
- "superclass": {
31687
- "name": "FormfieldWrapper",
31688
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
31689
- },
31690
- "tagName": "mdc-select",
31691
- "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
31692
- "customElement": true
31693
- }
31694
- ],
31695
- "exports": [
31696
- {
31697
- "kind": "js",
31698
- "name": "default",
31699
- "declaration": {
31700
- "name": "Select",
31701
- "module": "components/select/select.component.js"
31702
- }
31703
- }
31704
- ]
31705
- },
31706
- {
31707
- "kind": "javascript-module",
31708
- "path": "components/selectlistbox/selectlistbox.component.js",
31709
- "declarations": [
31710
- {
31711
- "kind": "class",
31712
- "description": "Selectlistbox component as Light DOM component to act as a simple wrapper\nfor mdc-option components to ensure accessibility and proper role assignment.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\nand mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them.",
31713
- "name": "Selectlistbox",
31714
- "slots": [
31715
- {
31716
- "description": "This is a default/unnamed slot, which can be used to insert mdc-option components.",
31717
- "name": "default"
31718
- }
31719
- ],
31720
- "members": [
31721
- {
31722
- "kind": "field",
31723
- "name": "role"
31724
- }
31725
- ],
31726
- "superclass": {
31727
- "name": "Component",
31728
- "module": "/src/models"
31729
- },
31730
- "tagName": "mdc-selectlistbox",
31731
- "jsDoc": "/**\n * Selectlistbox component as Light DOM component to act as a simple wrapper\n * for mdc-option components to ensure accessibility and proper role assignment.\n *\n * Once [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\n * and mdc-option can be used directly in the select component with a listbox in a different\n * shadow root and aria-owns attribute to connect them.\n *\n * @tagname mdc-selectlistbox\n *\n * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.\n */",
31732
- "customElement": true
31733
- }
31734
- ],
31735
- "exports": [
31736
- {
31737
- "kind": "js",
31738
- "name": "default",
31739
- "declaration": {
31740
- "name": "Selectlistbox",
31741
- "module": "components/selectlistbox/selectlistbox.component.js"
31742
- }
31743
- }
31744
- ]
31745
- },
31746
- {
31747
- "kind": "javascript-module",
31748
- "path": "components/searchfield/searchfield.component.js",
31749
- "declarations": [
31750
- {
31751
- "kind": "class",
31752
- "description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
31753
- "name": "Searchfield",
31754
- "slots": [
31755
- {
31756
- "description": "Slot for input chips",
31757
- "name": "filters"
31758
- }
31759
- ],
31760
- "members": [
31761
- {
31762
- "kind": "field",
31763
- "name": "inputChips",
31764
- "type": {
31765
- "text": "Array<HTMLElement> | undefined"
31857
+ "description": "Text color for the input field when disabled",
31858
+ "name": "--mdc-input-disabled-text-color",
31859
+ "inheritedFrom": {
31860
+ "name": "Input",
31861
+ "module": "src/components/input/input.component.ts"
31766
31862
  }
31767
31863
  },
31768
31864
  {
31769
- "kind": "method",
31770
- "name": "handleKeyDown",
31771
- "privacy": "protected",
31772
- "parameters": [
31773
- {
31774
- "name": "event",
31775
- "type": {
31776
- "text": "KeyboardEvent"
31777
- },
31778
- "description": "Keyboard event"
31779
- }
31780
- ],
31781
- "description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
31865
+ "description": "Background color for the input field when disabled",
31866
+ "name": "--mdc-input-disabled-background-color",
31782
31867
  "inheritedFrom": {
31783
31868
  "name": "Input",
31784
- "module": "components/input/input.component.js"
31869
+ "module": "src/components/input/input.component.ts"
31785
31870
  }
31786
31871
  },
31787
31872
  {
31788
- "kind": "method",
31789
- "name": "renderInputChips",
31790
- "privacy": "private",
31791
- "description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
31792
- },
31793
- {
31794
- "kind": "method",
31795
- "name": "clearInputText",
31796
- "privacy": "protected",
31797
- "description": "Clears the input field.",
31873
+ "description": "Border color for the input container",
31874
+ "name": "--mdc-input-border-color",
31798
31875
  "inheritedFrom": {
31799
31876
  "name": "Input",
31800
- "module": "components/input/input.component.js"
31877
+ "module": "src/components/input/input.component.ts"
31801
31878
  }
31802
31879
  },
31803
31880
  {
31804
- "kind": "field",
31805
- "name": "name",
31806
- "type": {
31807
- "text": "string"
31808
- },
31809
- "default": "''",
31810
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
31811
- "attribute": "name",
31812
- "reflects": true,
31881
+ "description": "Text color for the input field",
31882
+ "name": "--mdc-input-text-color",
31813
31883
  "inheritedFrom": {
31814
- "name": "FormInternalsMixin",
31815
- "module": "utils/mixins/FormInternalsMixin.js"
31884
+ "name": "Input",
31885
+ "module": "src/components/input/input.component.ts"
31816
31886
  }
31817
31887
  },
31818
31888
  {
31819
- "kind": "field",
31820
- "name": "value",
31821
- "type": {
31822
- "text": "string"
31823
- },
31824
- "default": "''",
31825
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
31826
- "attribute": "value",
31827
- "reflects": true,
31889
+ "description": "Background color for the input field",
31890
+ "name": "--mdc-input-background-color",
31828
31891
  "inheritedFrom": {
31829
- "name": "FormInternalsMixin",
31830
- "module": "utils/mixins/FormInternalsMixin.js"
31892
+ "name": "Input",
31893
+ "module": "src/components/input/input.component.ts"
31831
31894
  }
31832
31895
  },
31833
31896
  {
31834
- "kind": "field",
31835
- "name": "validationMessage",
31836
- "type": {
31837
- "text": "string | undefined"
31838
- },
31839
- "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.",
31840
- "attribute": "validation-message",
31841
- "reflects": true,
31897
+ "description": "Background color for the selected text",
31898
+ "name": "--mdc-input-selection-background-color",
31842
31899
  "inheritedFrom": {
31843
- "name": "FormInternalsMixin",
31844
- "module": "utils/mixins/FormInternalsMixin.js"
31900
+ "name": "Input",
31901
+ "module": "src/components/input/input.component.ts"
31845
31902
  }
31846
31903
  },
31847
31904
  {
31848
- "kind": "field",
31849
- "name": "validity",
31850
- "type": {
31851
- "text": "ValidityState"
31852
- },
31853
- "readonly": true,
31905
+ "description": "Text color for the selected text",
31906
+ "name": "--mdc-input-selection-text-color",
31854
31907
  "inheritedFrom": {
31855
- "name": "FormInternalsMixin",
31856
- "module": "utils/mixins/FormInternalsMixin.js"
31908
+ "name": "Input",
31909
+ "module": "src/components/input/input.component.ts"
31857
31910
  }
31858
31911
  },
31859
31912
  {
31860
- "kind": "field",
31861
- "name": "willValidate",
31862
- "readonly": true,
31913
+ "description": "Text color for the help text",
31914
+ "name": "--mdc-input-support-text-color",
31863
31915
  "inheritedFrom": {
31864
- "name": "FormInternalsMixin",
31865
- "module": "utils/mixins/FormInternalsMixin.js"
31916
+ "name": "Input",
31917
+ "module": "src/components/input/input.component.ts"
31866
31918
  }
31867
31919
  },
31868
31920
  {
31869
- "kind": "method",
31870
- "name": "setValidity",
31871
- "description": "Sets the validity of the input field based on the input field's validity.",
31872
- "return": {
31873
- "type": {
31874
- "text": ""
31875
- }
31876
- },
31921
+ "description": "Background color for the input field when hovered",
31922
+ "name": "--mdc-input-hover-background-color",
31877
31923
  "inheritedFrom": {
31878
- "name": "FormInternalsMixin",
31879
- "module": "utils/mixins/FormInternalsMixin.js"
31924
+ "name": "Input",
31925
+ "module": "src/components/input/input.component.ts"
31880
31926
  }
31881
31927
  },
31882
31928
  {
31883
- "kind": "method",
31884
- "name": "checkValidity",
31885
- "return": {
31886
- "type": {
31887
- "text": "boolean"
31888
- }
31889
- },
31929
+ "description": "Background color for the input field when focused",
31930
+ "name": "--mdc-input-focused-background-color",
31890
31931
  "inheritedFrom": {
31891
- "name": "FormInternalsMixin",
31892
- "module": "utils/mixins/FormInternalsMixin.js"
31932
+ "name": "Input",
31933
+ "module": "src/components/input/input.component.ts"
31893
31934
  }
31894
31935
  },
31895
31936
  {
31896
- "kind": "method",
31897
- "name": "reportValidity",
31937
+ "description": "Border color for the input container when focused",
31938
+ "name": "--mdc-input-focused-border-color",
31898
31939
  "inheritedFrom": {
31899
- "name": "FormInternalsMixin",
31900
- "module": "utils/mixins/FormInternalsMixin.js"
31940
+ "name": "Input",
31941
+ "module": "src/components/input/input.component.ts"
31901
31942
  }
31902
31943
  },
31903
31944
  {
31904
- "kind": "field",
31905
- "name": "dataAriaLabel",
31906
- "type": {
31907
- "text": "string | null"
31908
- },
31909
- "default": "null",
31910
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31911
- "attribute": "data-aria-label",
31912
- "reflects": true,
31945
+ "description": "Border color for the input container when error",
31946
+ "name": "--mdc-input-error-border-color",
31913
31947
  "inheritedFrom": {
31914
- "name": "DataAriaLabelMixin",
31915
- "module": "utils/mixins/DataAriaLabelMixin.js"
31948
+ "name": "Input",
31949
+ "module": "src/components/input/input.component.ts"
31916
31950
  }
31917
31951
  },
31918
31952
  {
31919
- "kind": "field",
31920
- "name": "placeholder",
31921
- "type": {
31922
- "text": "string"
31923
- },
31924
- "default": "''",
31925
- "description": "The placeholder text that is displayed when the input field is empty.",
31926
- "attribute": "placeholder",
31953
+ "description": "Border color for the input container when warning",
31954
+ "name": "--mdc-input-warning-border-color",
31927
31955
  "inheritedFrom": {
31928
31956
  "name": "Input",
31929
- "module": "components/input/input.component.js"
31957
+ "module": "src/components/input/input.component.ts"
31930
31958
  }
31931
31959
  },
31932
31960
  {
31933
- "kind": "field",
31934
- "name": "readonly",
31935
- "type": {
31936
- "text": "boolean"
31937
- },
31938
- "default": "false",
31939
- "description": "readonly attribute of the input field. If true, the input field is read-only.",
31940
- "attribute": "readonly",
31961
+ "description": "Border color for the input container when success",
31962
+ "name": "--mdc-input-success-border-color",
31941
31963
  "inheritedFrom": {
31942
31964
  "name": "Input",
31943
- "module": "components/input/input.component.js"
31965
+ "module": "src/components/input/input.component.ts"
31944
31966
  }
31945
31967
  },
31946
31968
  {
31947
- "kind": "field",
31948
- "name": "prefixText",
31949
- "type": {
31950
- "text": "string | undefined"
31951
- },
31952
- "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
31953
- "attribute": "prefix-text",
31969
+ "description": "Border color for the input container when primary",
31970
+ "name": "--mdc-input-primary-border-color",
31954
31971
  "inheritedFrom": {
31955
31972
  "name": "Input",
31956
- "module": "components/input/input.component.js"
31957
- }
31958
- },
31959
- {
31960
- "kind": "field",
31961
- "name": "leadingIcon",
31962
- "type": {
31963
- "text": "IconNames | undefined"
31964
- },
31965
- "description": "The leading icon that is displayed before the input field.",
31966
- "attribute": "leading-icon",
31967
- "inheritedFrom": {
31968
- "name": "Input",
31969
- "module": "components/input/input.component.js"
31973
+ "module": "src/components/input/input.component.ts"
31970
31974
  }
31975
+ }
31976
+ ]
31977
+ }
31978
+ ],
31979
+ "exports": [
31980
+ {
31981
+ "kind": "js",
31982
+ "name": "default",
31983
+ "declaration": {
31984
+ "name": "Searchfield",
31985
+ "module": "components/searchfield/searchfield.component.js"
31986
+ }
31987
+ }
31988
+ ]
31989
+ },
31990
+ {
31991
+ "kind": "javascript-module",
31992
+ "path": "components/select/select.component.js",
31993
+ "declarations": [
31994
+ {
31995
+ "kind": "class",
31996
+ "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
31997
+ "name": "Select",
31998
+ "cssProperties": [
31999
+ {
32000
+ "description": "The background color of the combobox of select.",
32001
+ "name": "--mdc-select-background-color"
31971
32002
  },
31972
32003
  {
31973
- "kind": "field",
31974
- "name": "trailingButton",
31975
- "type": {
31976
- "text": "boolean"
31977
- },
31978
- "default": "false",
31979
- "description": "The trailing button when set to true, shows a clear button that clears the input field.",
31980
- "attribute": "trailing-button",
31981
- "inheritedFrom": {
31982
- "name": "Input",
31983
- "module": "components/input/input.component.js"
31984
- }
32004
+ "description": "The background color of the combobox of select when hovered.",
32005
+ "name": "--mdc-select-background-color-hover"
31985
32006
  },
31986
32007
  {
31987
- "kind": "field",
31988
- "name": "maxlength",
31989
- "type": {
31990
- "text": "number | undefined"
31991
- },
31992
- "description": "The maximum number of characters that the input field can accept.",
31993
- "attribute": "maxlength",
31994
- "inheritedFrom": {
31995
- "name": "Input",
31996
- "module": "components/input/input.component.js"
31997
- }
32008
+ "description": "The background color of the combobox of select when active.",
32009
+ "name": "--mdc-select-background-color-active"
31998
32010
  },
31999
32011
  {
32000
- "kind": "field",
32001
- "name": "minlength",
32002
- "type": {
32003
- "text": "number | undefined"
32004
- },
32005
- "description": "The minimum number of characters that the input field can accept.",
32006
- "attribute": "minlength",
32007
- "inheritedFrom": {
32008
- "name": "Input",
32009
- "module": "components/input/input.component.js"
32010
- }
32012
+ "description": "The background color of the combobox of select when disabled.",
32013
+ "name": "--mdc-select-background-color-disabled"
32011
32014
  },
32012
32015
  {
32013
- "kind": "field",
32014
- "name": "autocapitalize",
32015
- "type": {
32016
- "text": "AutoCapitalizeType"
32017
- },
32018
- "description": "The autocapitalize attribute of the input field.",
32019
- "default": "'off'",
32020
- "attribute": "autocapitalize",
32021
- "inheritedFrom": {
32022
- "name": "Input",
32023
- "module": "components/input/input.component.js"
32024
- }
32016
+ "description": "The text color of the select.",
32017
+ "name": "--mdc-select-text-color"
32018
+ },
32019
+ {
32020
+ "description": "The text color of the selected option in the select.",
32021
+ "name": "--mdc-select-text-color-selected"
32022
+ },
32023
+ {
32024
+ "description": "The text color of the select when disabled.",
32025
+ "name": "--mdc-select-text-color-disabled"
32025
32026
  },
32027
+ {
32028
+ "description": "The border color of the select.",
32029
+ "name": "--mdc-select-border-color"
32030
+ },
32031
+ {
32032
+ "description": "The border color of the select when disabled.",
32033
+ "name": "--mdc-select-border-color-disabled"
32034
+ },
32035
+ {
32036
+ "description": "The border color of the select when in success state.",
32037
+ "name": "--mdc-select-border-color-success"
32038
+ },
32039
+ {
32040
+ "description": "The border color of the select when in warning state.",
32041
+ "name": "--mdc-select-border-color-warning"
32042
+ },
32043
+ {
32044
+ "description": "The border color of the select when in error state.",
32045
+ "name": "--mdc-select-border-color-error"
32046
+ },
32047
+ {
32048
+ "description": "The width of the select.",
32049
+ "name": "--mdc-select-width"
32050
+ },
32051
+ {
32052
+ "description": "The height of the listbox inside the select.",
32053
+ "name": "--mdc-select-listbox-height"
32054
+ },
32055
+ {
32056
+ "description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
32057
+ "name": "--mdc-select-listbox-width"
32058
+ }
32059
+ ],
32060
+ "slots": [
32061
+ {
32062
+ "description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
32063
+ "name": "default"
32064
+ }
32065
+ ],
32066
+ "members": [
32026
32067
  {
32027
32068
  "kind": "field",
32028
- "name": "autocomplete",
32069
+ "name": "placeholder",
32029
32070
  "type": {
32030
- "text": "AutoCompleteType"
32071
+ "text": "string | undefined"
32031
32072
  },
32032
- "description": "The autocomplete attribute of the input field.",
32033
- "default": "'off'",
32034
- "attribute": "autocomplete",
32035
- "inheritedFrom": {
32036
- "name": "Input",
32037
- "module": "components/input/input.component.js"
32038
- }
32073
+ "description": "The placeholder text which will be shown on the text if provided.",
32074
+ "attribute": "placeholder"
32039
32075
  },
32040
32076
  {
32041
32077
  "kind": "field",
32042
- "name": "autofocus",
32078
+ "name": "readonly",
32043
32079
  "type": {
32044
32080
  "text": "boolean"
32045
32081
  },
32046
32082
  "default": "false",
32047
- "description": "If true, the input field is focused when the component is rendered.",
32048
- "attribute": "autofocus",
32049
- "inheritedFrom": {
32050
- "name": "Input",
32051
- "module": "components/input/input.component.js"
32052
- }
32083
+ "description": "readonly attribute of the select field. If true, the select is read-only.",
32084
+ "attribute": "readonly"
32053
32085
  },
32054
32086
  {
32055
32087
  "kind": "field",
32056
- "name": "dirname",
32088
+ "name": "placement",
32057
32089
  "type": {
32058
- "text": "string | undefined"
32090
+ "text": "Placement"
32059
32091
  },
32060
- "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
32061
- "attribute": "dirname",
32062
- "inheritedFrom": {
32063
- "name": "Input",
32064
- "module": "components/input/input.component.js"
32065
- }
32092
+ "description": "The placeholder text which will be shown on the text if provided.",
32093
+ "attribute": "placement",
32094
+ "reflects": true
32066
32095
  },
32067
32096
  {
32068
32097
  "kind": "field",
32069
- "name": "pattern",
32098
+ "name": "softDisabled",
32070
32099
  "type": {
32071
- "text": "string | undefined"
32100
+ "text": "boolean | undefined"
32072
32101
  },
32073
- "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
32074
- "attribute": "pattern",
32075
- "inheritedFrom": {
32076
- "name": "Input",
32077
- "module": "components/input/input.component.js"
32078
- }
32102
+ "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
32103
+ "default": "undefined",
32104
+ "attribute": "soft-disabled",
32105
+ "reflects": true
32079
32106
  },
32080
32107
  {
32081
32108
  "kind": "field",
32082
- "name": "list",
32109
+ "name": "boundary",
32083
32110
  "type": {
32084
- "text": "string | undefined"
32111
+ "text": "'clippingAncestors' | string"
32085
32112
  },
32086
- "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
32087
- "attribute": "list",
32088
- "inheritedFrom": {
32089
- "name": "Input",
32090
- "module": "components/input/input.component.js"
32091
- }
32113
+ "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
32114
+ "default": "'clippingAncestors'",
32115
+ "attribute": "boundary",
32116
+ "reflects": true
32092
32117
  },
32093
32118
  {
32094
32119
  "kind": "field",
32095
- "name": "size",
32120
+ "name": "strategy",
32096
32121
  "type": {
32097
- "text": "number | undefined | undefined"
32122
+ "text": "'absolute' | 'fixed'"
32098
32123
  },
32099
- "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
32100
- "default": "undefined",
32101
- "attribute": "size",
32102
- "inheritedFrom": {
32103
- "name": "Input",
32104
- "module": "components/input/input.component.js"
32105
- }
32124
+ "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
32125
+ "default": "absolute",
32126
+ "attribute": "strategy",
32127
+ "reflects": true
32106
32128
  },
32107
32129
  {
32108
- "kind": "field",
32109
- "name": "clearAriaLabel",
32110
- "type": {
32111
- "text": "string"
32112
- },
32113
- "default": "''",
32114
- "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
32115
- "attribute": "clear-aria-label",
32116
- "inheritedFrom": {
32117
- "name": "Input",
32118
- "module": "components/input/input.component.js"
32130
+ "kind": "method",
32131
+ "name": "getAllValidOptions",
32132
+ "privacy": "private",
32133
+ "return": {
32134
+ "type": {
32135
+ "text": "Array<Option>"
32136
+ }
32119
32137
  }
32120
32138
  },
32121
32139
  {
32122
32140
  "kind": "method",
32123
- "name": "setInputValidity",
32141
+ "name": "getFirstValidOption",
32124
32142
  "privacy": "private",
32125
- "inheritedFrom": {
32126
- "name": "Input",
32127
- "module": "components/input/input.component.js"
32143
+ "return": {
32144
+ "type": {
32145
+ "text": "Option | null"
32146
+ }
32128
32147
  }
32129
32148
  },
32130
32149
  {
32131
32150
  "kind": "method",
32132
- "name": "updateValue",
32151
+ "name": "getLastValidOption",
32133
32152
  "privacy": "private",
32134
- "description": "Updates the value of the input field.\nSets the form value.",
32135
32153
  "return": {
32136
32154
  "type": {
32137
- "text": ""
32155
+ "text": "Option | null"
32138
32156
  }
32139
- },
32140
- "inheritedFrom": {
32141
- "name": "Input",
32142
- "module": "components/input/input.component.js"
32143
32157
  }
32144
32158
  },
32145
32159
  {
32146
32160
  "kind": "method",
32147
- "name": "onInput",
32161
+ "name": "getFirstSelectedOption",
32148
32162
  "privacy": "private",
32149
- "description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
32150
- "inheritedFrom": {
32151
- "name": "Input",
32152
- "module": "components/input/input.component.js"
32163
+ "return": {
32164
+ "type": {
32165
+ "text": "Option | null"
32166
+ }
32153
32167
  }
32154
32168
  },
32155
32169
  {
32156
32170
  "kind": "method",
32157
- "name": "onChange",
32171
+ "name": "modifyListBoxWrapper",
32158
32172
  "privacy": "private",
32173
+ "description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
32174
+ },
32175
+ {
32176
+ "kind": "method",
32177
+ "name": "handleOptionsClick",
32178
+ "privacy": "private",
32179
+ "return": {
32180
+ "type": {
32181
+ "text": "void"
32182
+ }
32183
+ },
32159
32184
  "parameters": [
32160
32185
  {
32161
32186
  "name": "event",
32162
32187
  "type": {
32163
- "text": "Event"
32188
+ "text": "MouseEvent"
32164
32189
  },
32165
- "description": "Event which contains information about the value change."
32190
+ "description": "The event which triggered this function."
32166
32191
  }
32167
32192
  ],
32168
- "description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed",
32169
- "inheritedFrom": {
32170
- "name": "Input",
32171
- "module": "components/input/input.component.js"
32172
- }
32193
+ "description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
32173
32194
  },
32174
32195
  {
32175
32196
  "kind": "method",
32176
- "name": "renderLeadingIcon",
32177
- "privacy": "protected",
32178
- "description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
32197
+ "name": "setSelectedOption",
32198
+ "privacy": "private",
32179
32199
  "return": {
32180
32200
  "type": {
32181
- "text": ""
32201
+ "text": "void"
32202
+ }
32203
+ },
32204
+ "parameters": [
32205
+ {
32206
+ "name": "option",
32207
+ "type": {
32208
+ "text": "Option | null"
32209
+ },
32210
+ "description": "The option element in DOM which gets selected."
32211
+ }
32212
+ ],
32213
+ "description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
32214
+ },
32215
+ {
32216
+ "kind": "method",
32217
+ "name": "updateTabIndexForAllOptions",
32218
+ "privacy": "private",
32219
+ "return": {
32220
+ "type": {
32221
+ "text": "void"
32222
+ }
32223
+ },
32224
+ "parameters": [
32225
+ {
32226
+ "name": "option",
32227
+ "optional": true,
32228
+ "type": {
32229
+ "text": "Option | null"
32230
+ },
32231
+ "description": "The option which tabIndex should be set to 0."
32232
+ }
32233
+ ],
32234
+ "description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
32235
+ },
32236
+ {
32237
+ "kind": "method",
32238
+ "name": "updateSelectedInChildOptions",
32239
+ "privacy": "private",
32240
+ "return": {
32241
+ "type": {
32242
+ "text": "void"
32243
+ }
32244
+ },
32245
+ "parameters": [
32246
+ {
32247
+ "name": "selectedOption",
32248
+ "type": {
32249
+ "text": "Option | null"
32250
+ },
32251
+ "description": "The option which gets selected"
32252
+ }
32253
+ ],
32254
+ "description": "Sets selected attribute on the selected option and removes it from all options"
32255
+ },
32256
+ {
32257
+ "kind": "method",
32258
+ "name": "fireEvents",
32259
+ "privacy": "private",
32260
+ "return": {
32261
+ "type": {
32262
+ "text": "void"
32263
+ }
32264
+ },
32265
+ "description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
32266
+ },
32267
+ {
32268
+ "kind": "method",
32269
+ "name": "dispatchChange",
32270
+ "privacy": "private",
32271
+ "return": {
32272
+ "type": {
32273
+ "text": "void"
32274
+ }
32275
+ },
32276
+ "parameters": [
32277
+ {
32278
+ "name": "option",
32279
+ "type": {
32280
+ "text": "Option"
32281
+ }
32282
+ }
32283
+ ]
32284
+ },
32285
+ {
32286
+ "kind": "method",
32287
+ "name": "dispatchInput",
32288
+ "privacy": "private",
32289
+ "return": {
32290
+ "type": {
32291
+ "text": "void"
32292
+ }
32293
+ },
32294
+ "parameters": [
32295
+ {
32296
+ "name": "option",
32297
+ "type": {
32298
+ "text": "Option"
32299
+ }
32300
+ }
32301
+ ]
32302
+ },
32303
+ {
32304
+ "kind": "method",
32305
+ "name": "handleClickCombobox",
32306
+ "privacy": "private",
32307
+ "return": {
32308
+ "type": {
32309
+ "text": "void"
32310
+ }
32311
+ },
32312
+ "parameters": [
32313
+ {
32314
+ "name": "event",
32315
+ "type": {
32316
+ "text": "MouseEvent"
32317
+ },
32318
+ "description": "The mouse event which triggered this function."
32319
+ }
32320
+ ],
32321
+ "description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
32322
+ },
32323
+ {
32324
+ "kind": "method",
32325
+ "name": "handleKeydownCombobox",
32326
+ "privacy": "private",
32327
+ "return": {
32328
+ "type": {
32329
+ "text": "void"
32182
32330
  }
32183
32331
  },
32332
+ "parameters": [
32333
+ {
32334
+ "name": "event",
32335
+ "type": {
32336
+ "text": "KeyboardEvent"
32337
+ },
32338
+ "description": "The keyboard event."
32339
+ }
32340
+ ],
32341
+ "description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
32342
+ },
32343
+ {
32344
+ "kind": "method",
32345
+ "name": "handlePopoverKeydown",
32346
+ "privacy": "private",
32347
+ "return": {
32348
+ "type": {
32349
+ "text": "void"
32350
+ }
32351
+ },
32352
+ "parameters": [
32353
+ {
32354
+ "name": "event",
32355
+ "type": {
32356
+ "text": "KeyboardEvent"
32357
+ },
32358
+ "description": "The keyboard event."
32359
+ }
32360
+ ],
32361
+ "description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
32362
+ },
32363
+ {
32364
+ "kind": "method",
32365
+ "name": "updateState",
32366
+ "privacy": "public",
32367
+ "return": {
32368
+ "type": {
32369
+ "text": "void"
32370
+ }
32371
+ },
32372
+ "description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
32373
+ },
32374
+ {
32375
+ "kind": "field",
32376
+ "name": "name",
32377
+ "type": {
32378
+ "text": "string"
32379
+ },
32380
+ "default": "''",
32381
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
32382
+ "attribute": "name",
32383
+ "reflects": true,
32184
32384
  "inheritedFrom": {
32185
- "name": "Input",
32186
- "module": "components/input/input.component.js"
32385
+ "name": "FormInternalsMixin",
32386
+ "module": "utils/mixins/FormInternalsMixin.js"
32387
+ }
32388
+ },
32389
+ {
32390
+ "kind": "field",
32391
+ "name": "value",
32392
+ "type": {
32393
+ "text": "string"
32394
+ },
32395
+ "default": "''",
32396
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
32397
+ "attribute": "value",
32398
+ "reflects": true,
32399
+ "inheritedFrom": {
32400
+ "name": "FormInternalsMixin",
32401
+ "module": "utils/mixins/FormInternalsMixin.js"
32402
+ }
32403
+ },
32404
+ {
32405
+ "kind": "field",
32406
+ "name": "validationMessage",
32407
+ "type": {
32408
+ "text": "string | undefined"
32409
+ },
32410
+ "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.",
32411
+ "attribute": "validation-message",
32412
+ "reflects": true,
32413
+ "inheritedFrom": {
32414
+ "name": "FormInternalsMixin",
32415
+ "module": "utils/mixins/FormInternalsMixin.js"
32416
+ }
32417
+ },
32418
+ {
32419
+ "kind": "field",
32420
+ "name": "validity",
32421
+ "type": {
32422
+ "text": "ValidityState"
32423
+ },
32424
+ "readonly": true,
32425
+ "inheritedFrom": {
32426
+ "name": "FormInternalsMixin",
32427
+ "module": "utils/mixins/FormInternalsMixin.js"
32428
+ }
32429
+ },
32430
+ {
32431
+ "kind": "field",
32432
+ "name": "willValidate",
32433
+ "readonly": true,
32434
+ "inheritedFrom": {
32435
+ "name": "FormInternalsMixin",
32436
+ "module": "utils/mixins/FormInternalsMixin.js"
32187
32437
  }
32188
32438
  },
32189
32439
  {
32190
32440
  "kind": "method",
32191
- "name": "renderPrefixText",
32192
- "privacy": "protected",
32193
- "description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
32441
+ "name": "setValidity",
32442
+ "description": "Sets the validity of the input field based on the input field's validity.",
32194
32443
  "return": {
32195
32444
  "type": {
32196
32445
  "text": ""
32197
32446
  }
32198
32447
  },
32199
32448
  "inheritedFrom": {
32200
- "name": "Input",
32201
- "module": "components/input/input.component.js"
32449
+ "name": "FormInternalsMixin",
32450
+ "module": "utils/mixins/FormInternalsMixin.js"
32202
32451
  }
32203
32452
  },
32204
32453
  {
32205
32454
  "kind": "method",
32206
- "name": "renderTrailingButton",
32207
- "privacy": "protected",
32208
- "parameters": [
32209
- {
32210
- "name": "show",
32211
- "default": "false"
32212
- }
32213
- ],
32214
- "description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
32455
+ "name": "checkValidity",
32215
32456
  "return": {
32216
32457
  "type": {
32217
- "text": ""
32458
+ "text": "boolean"
32218
32459
  }
32219
32460
  },
32220
32461
  "inheritedFrom": {
32221
- "name": "Input",
32222
- "module": "components/input/input.component.js"
32462
+ "name": "FormInternalsMixin",
32463
+ "module": "utils/mixins/FormInternalsMixin.js"
32223
32464
  }
32224
32465
  },
32225
32466
  {
32226
32467
  "kind": "method",
32227
- "name": "renderInputElement",
32228
- "privacy": "protected",
32229
- "parameters": [
32230
- {
32231
- "name": "type",
32232
- "type": {
32233
- "text": "InputType"
32234
- }
32235
- },
32236
- {
32237
- "name": "hidePlaceholder",
32238
- "default": "false"
32239
- }
32240
- ],
32468
+ "name": "reportValidity",
32241
32469
  "inheritedFrom": {
32242
- "name": "Input",
32243
- "module": "components/input/input.component.js"
32470
+ "name": "FormInternalsMixin",
32471
+ "module": "utils/mixins/FormInternalsMixin.js"
32472
+ }
32473
+ },
32474
+ {
32475
+ "kind": "field",
32476
+ "name": "dataAriaLabel",
32477
+ "type": {
32478
+ "text": "string | null"
32479
+ },
32480
+ "default": "null",
32481
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
32482
+ "attribute": "data-aria-label",
32483
+ "reflects": true,
32484
+ "inheritedFrom": {
32485
+ "name": "DataAriaLabelMixin",
32486
+ "module": "utils/mixins/DataAriaLabelMixin.js"
32244
32487
  }
32245
32488
  },
32246
32489
  {
@@ -32450,308 +32693,139 @@
32450
32693
  ],
32451
32694
  "events": [
32452
32695
  {
32453
- "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
32454
- "name": "input",
32455
- "reactName": "onInput",
32456
- "inheritedFrom": {
32457
- "name": "Input",
32458
- "module": "src/components/input/input.component.ts"
32459
- }
32460
- },
32461
- {
32462
- "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
32463
32696
  "name": "change",
32464
- "reactName": "onChange",
32465
- "inheritedFrom": {
32466
- "name": "Input",
32467
- "module": "src/components/input/input.component.ts"
32468
- }
32469
- },
32470
- {
32471
- "description": "(React: onFocus) This event is dispatched when the input receives focus.",
32472
- "name": "focus",
32473
- "reactName": "onFocus",
32474
- "inheritedFrom": {
32475
- "name": "Input",
32476
- "module": "src/components/input/input.component.ts"
32477
- }
32478
- },
32479
- {
32480
- "description": "(React: onBlur) This event is dispatched when the input loses focus.",
32481
- "name": "blur",
32482
- "reactName": "onBlur",
32483
- "inheritedFrom": {
32484
- "name": "Input",
32485
- "module": "src/components/input/input.component.ts"
32486
- }
32487
- },
32488
- {
32489
- "name": "clear",
32490
32697
  "type": {
32491
32698
  "text": "CustomEvent"
32492
32699
  },
32493
- "description": "(React: onClear) This event is dispatched when the input text is cleared.",
32494
- "reactName": "onClear",
32495
- "inheritedFrom": {
32496
- "name": "Input",
32497
- "module": "src/components/input/input.component.ts"
32498
- }
32700
+ "description": "(React: onChange) This event is dispatched when the select is changed.",
32701
+ "reactName": "onChange"
32499
32702
  },
32500
32703
  {
32704
+ "name": "input",
32501
32705
  "type": {
32502
- "text": "EventConstructor"
32503
- },
32504
- "inheritedFrom": {
32505
- "name": "Input",
32506
- "module": "src/components/input/input.component.ts"
32507
- }
32508
- }
32509
- ],
32510
- "superclass": {
32511
- "name": "Input",
32512
- "module": "/src/components/input/input.component"
32513
- },
32514
- "tagName": "mdc-searchfield",
32515
- "jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
32516
- "customElement": true,
32517
- "attributes": [
32518
- {
32519
- "name": "name",
32520
- "type": {
32521
- "text": "string"
32706
+ "text": "CustomEvent"
32522
32707
  },
32523
- "default": "''",
32524
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
32525
- "fieldName": "name",
32526
- "inheritedFrom": {
32527
- "name": "FormInternalsMixin",
32528
- "module": "src/utils/mixins/FormInternalsMixin.ts"
32529
- }
32708
+ "description": "(React: onInput) This event is dispatched when the select is changed.",
32709
+ "reactName": "onInput"
32530
32710
  },
32531
32711
  {
32532
- "name": "value",
32533
- "type": {
32534
- "text": "string"
32535
- },
32536
- "default": "''",
32537
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
32538
- "fieldName": "value",
32539
- "inheritedFrom": {
32540
- "name": "FormInternalsMixin",
32541
- "module": "src/utils/mixins/FormInternalsMixin.ts"
32542
- }
32712
+ "description": "(React: onClick) This event is dispatched when the select is clicked.",
32713
+ "name": "click",
32714
+ "reactName": "onClick"
32543
32715
  },
32544
32716
  {
32545
- "name": "validation-message",
32546
- "type": {
32547
- "text": "string | undefined"
32548
- },
32549
- "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.",
32550
- "fieldName": "validationMessage",
32551
- "inheritedFrom": {
32552
- "name": "FormInternalsMixin",
32553
- "module": "src/utils/mixins/FormInternalsMixin.ts"
32554
- }
32717
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
32718
+ "name": "keydown",
32719
+ "reactName": "onKeyDown"
32555
32720
  },
32556
32721
  {
32557
- "name": "data-aria-label",
32558
- "type": {
32559
- "text": "string | null"
32560
- },
32561
- "default": "null",
32562
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
32563
- "fieldName": "dataAriaLabel",
32564
- "inheritedFrom": {
32565
- "name": "DataAriaLabelMixin",
32566
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
32567
- }
32568
- },
32722
+ "description": "(React: onFocus) This event is dispatched when the select receives focus.",
32723
+ "name": "focus",
32724
+ "reactName": "onFocus"
32725
+ }
32726
+ ],
32727
+ "attributes": [
32569
32728
  {
32570
32729
  "name": "placeholder",
32571
- "type": {
32572
- "text": "string"
32573
- },
32574
- "default": "''",
32575
- "description": "The placeholder text that is displayed when the input field is empty.",
32576
- "fieldName": "placeholder",
32577
- "inheritedFrom": {
32578
- "name": "Input",
32579
- "module": "src/components/input/input.component.ts"
32580
- }
32581
- },
32582
- {
32583
- "name": "readonly",
32584
- "type": {
32585
- "text": "boolean"
32586
- },
32587
- "default": "false",
32588
- "description": "readonly attribute of the input field. If true, the input field is read-only.",
32589
- "fieldName": "readonly",
32590
- "inheritedFrom": {
32591
- "name": "Input",
32592
- "module": "src/components/input/input.component.ts"
32593
- }
32594
- },
32595
- {
32596
- "name": "prefix-text",
32597
32730
  "type": {
32598
32731
  "text": "string | undefined"
32599
32732
  },
32600
- "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
32601
- "fieldName": "prefixText",
32602
- "inheritedFrom": {
32603
- "name": "Input",
32604
- "module": "src/components/input/input.component.ts"
32605
- }
32606
- },
32607
- {
32608
- "name": "leading-icon",
32609
- "type": {
32610
- "text": "IconNames | undefined"
32611
- },
32612
- "description": "The leading icon that is displayed before the input field.",
32613
- "fieldName": "leadingIcon",
32614
- "inheritedFrom": {
32615
- "name": "Input",
32616
- "module": "src/components/input/input.component.ts"
32617
- }
32618
- },
32619
- {
32620
- "name": "trailing-button",
32621
- "type": {
32622
- "text": "boolean"
32623
- },
32624
- "default": "false",
32625
- "description": "The trailing button when set to true, shows a clear button that clears the input field.",
32626
- "fieldName": "trailingButton",
32627
- "inheritedFrom": {
32628
- "name": "Input",
32629
- "module": "src/components/input/input.component.ts"
32630
- }
32631
- },
32632
- {
32633
- "name": "maxlength",
32634
- "type": {
32635
- "text": "number | undefined"
32636
- },
32637
- "description": "The maximum number of characters that the input field can accept.",
32638
- "fieldName": "maxlength",
32639
- "inheritedFrom": {
32640
- "name": "Input",
32641
- "module": "src/components/input/input.component.ts"
32642
- }
32733
+ "description": "The placeholder text which will be shown on the text if provided.",
32734
+ "fieldName": "placeholder"
32643
32735
  },
32644
32736
  {
32645
- "name": "minlength",
32737
+ "name": "readonly",
32646
32738
  "type": {
32647
- "text": "number | undefined"
32739
+ "text": "boolean"
32648
32740
  },
32649
- "description": "The minimum number of characters that the input field can accept.",
32650
- "fieldName": "minlength",
32651
- "inheritedFrom": {
32652
- "name": "Input",
32653
- "module": "src/components/input/input.component.ts"
32654
- }
32741
+ "default": "false",
32742
+ "description": "readonly attribute of the select field. If true, the select is read-only.",
32743
+ "fieldName": "readonly"
32655
32744
  },
32656
32745
  {
32657
- "name": "autocapitalize",
32746
+ "name": "placement",
32658
32747
  "type": {
32659
- "text": "AutoCapitalizeType"
32748
+ "text": "Placement"
32660
32749
  },
32661
- "description": "The autocapitalize attribute of the input field.",
32662
- "default": "'off'",
32663
- "fieldName": "autocapitalize",
32664
- "inheritedFrom": {
32665
- "name": "Input",
32666
- "module": "src/components/input/input.component.ts"
32667
- }
32750
+ "description": "The placeholder text which will be shown on the text if provided.",
32751
+ "fieldName": "placement"
32668
32752
  },
32669
32753
  {
32670
- "name": "autocomplete",
32754
+ "name": "soft-disabled",
32671
32755
  "type": {
32672
- "text": "AutoCompleteType"
32756
+ "text": "boolean | undefined"
32673
32757
  },
32674
- "description": "The autocomplete attribute of the input field.",
32675
- "default": "'off'",
32676
- "fieldName": "autocomplete",
32677
- "inheritedFrom": {
32678
- "name": "Input",
32679
- "module": "src/components/input/input.component.ts"
32680
- }
32758
+ "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
32759
+ "default": "undefined",
32760
+ "fieldName": "softDisabled"
32681
32761
  },
32682
32762
  {
32683
- "name": "autofocus",
32763
+ "name": "boundary",
32684
32764
  "type": {
32685
- "text": "boolean"
32765
+ "text": "'clippingAncestors' | string"
32686
32766
  },
32687
- "default": "false",
32688
- "description": "If true, the input field is focused when the component is rendered.",
32689
- "fieldName": "autofocus",
32690
- "inheritedFrom": {
32691
- "name": "Input",
32692
- "module": "src/components/input/input.component.ts"
32693
- }
32767
+ "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
32768
+ "default": "'clippingAncestors'",
32769
+ "fieldName": "boundary"
32694
32770
  },
32695
32771
  {
32696
- "name": "dirname",
32772
+ "name": "strategy",
32697
32773
  "type": {
32698
- "text": "string | undefined"
32774
+ "text": "'absolute' | 'fixed'"
32699
32775
  },
32700
- "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
32701
- "fieldName": "dirname",
32702
- "inheritedFrom": {
32703
- "name": "Input",
32704
- "module": "src/components/input/input.component.ts"
32705
- }
32776
+ "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
32777
+ "default": "absolute",
32778
+ "fieldName": "strategy"
32706
32779
  },
32707
32780
  {
32708
- "name": "pattern",
32781
+ "name": "name",
32709
32782
  "type": {
32710
- "text": "string | undefined"
32783
+ "text": "string"
32711
32784
  },
32712
- "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
32713
- "fieldName": "pattern",
32785
+ "default": "''",
32786
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
32787
+ "fieldName": "name",
32714
32788
  "inheritedFrom": {
32715
- "name": "Input",
32716
- "module": "src/components/input/input.component.ts"
32789
+ "name": "FormInternalsMixin",
32790
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
32717
32791
  }
32718
32792
  },
32719
32793
  {
32720
- "name": "list",
32794
+ "name": "value",
32721
32795
  "type": {
32722
- "text": "string | undefined"
32796
+ "text": "string"
32723
32797
  },
32724
- "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
32725
- "fieldName": "list",
32798
+ "default": "''",
32799
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
32800
+ "fieldName": "value",
32726
32801
  "inheritedFrom": {
32727
- "name": "Input",
32728
- "module": "src/components/input/input.component.ts"
32802
+ "name": "FormInternalsMixin",
32803
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
32729
32804
  }
32730
32805
  },
32731
32806
  {
32732
- "name": "size",
32807
+ "name": "validation-message",
32733
32808
  "type": {
32734
- "text": "number | undefined | undefined"
32809
+ "text": "string | undefined"
32735
32810
  },
32736
- "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
32737
- "default": "undefined",
32738
- "fieldName": "size",
32811
+ "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.",
32812
+ "fieldName": "validationMessage",
32739
32813
  "inheritedFrom": {
32740
- "name": "Input",
32741
- "module": "src/components/input/input.component.ts"
32814
+ "name": "FormInternalsMixin",
32815
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
32742
32816
  }
32743
32817
  },
32744
32818
  {
32745
- "name": "clear-aria-label",
32819
+ "name": "data-aria-label",
32746
32820
  "type": {
32747
- "text": "string"
32821
+ "text": "string | null"
32748
32822
  },
32749
- "default": "''",
32750
- "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
32751
- "fieldName": "clearAriaLabel",
32823
+ "default": "null",
32824
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
32825
+ "fieldName": "dataAriaLabel",
32752
32826
  "inheritedFrom": {
32753
- "name": "Input",
32754
- "module": "src/components/input/input.component.ts"
32827
+ "name": "DataAriaLabelMixin",
32828
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
32755
32829
  }
32756
32830
  },
32757
32831
  {
@@ -32818,185 +32892,72 @@
32818
32892
  }
32819
32893
  },
32820
32894
  {
32821
- "name": "help-text",
32822
- "type": {
32823
- "text": "string | undefined"
32824
- },
32825
- "description": "The help text that is displayed below the input field.",
32826
- "fieldName": "helpText",
32827
- "inheritedFrom": {
32828
- "name": "FormfieldWrapper",
32829
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32830
- }
32831
- },
32832
- {
32833
- "name": "toggletip-text",
32834
- "type": {
32835
- "text": "string | undefined"
32836
- },
32837
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
32838
- "fieldName": "toggletipText",
32839
- "inheritedFrom": {
32840
- "name": "FormfieldWrapper",
32841
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32842
- }
32843
- },
32844
- {
32845
- "name": "toggletip-placement",
32846
- "type": {
32847
- "text": "PopoverPlacement"
32848
- },
32849
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
32850
- "default": "'top'",
32851
- "fieldName": "toggletipPlacement",
32852
- "inheritedFrom": {
32853
- "name": "FormfieldWrapper",
32854
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32855
- }
32856
- },
32857
- {
32858
- "name": "info-icon-aria-label",
32859
- "type": {
32860
- "text": "string | undefined"
32861
- },
32862
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
32863
- "fieldName": "infoIconAriaLabel",
32864
- "inheritedFrom": {
32865
- "name": "FormfieldWrapper",
32866
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32867
- }
32868
- }
32869
- ],
32870
- "cssProperties": [
32871
- {
32872
- "description": "Border color for the input container when disabled",
32873
- "name": "--mdc-input-disabled-border-color",
32874
- "inheritedFrom": {
32875
- "name": "Input",
32876
- "module": "src/components/input/input.component.ts"
32877
- }
32878
- },
32879
- {
32880
- "description": "Text color for the input field when disabled",
32881
- "name": "--mdc-input-disabled-text-color",
32882
- "inheritedFrom": {
32883
- "name": "Input",
32884
- "module": "src/components/input/input.component.ts"
32885
- }
32886
- },
32887
- {
32888
- "description": "Background color for the input field when disabled",
32889
- "name": "--mdc-input-disabled-background-color",
32890
- "inheritedFrom": {
32891
- "name": "Input",
32892
- "module": "src/components/input/input.component.ts"
32893
- }
32894
- },
32895
- {
32896
- "description": "Border color for the input container",
32897
- "name": "--mdc-input-border-color",
32898
- "inheritedFrom": {
32899
- "name": "Input",
32900
- "module": "src/components/input/input.component.ts"
32901
- }
32902
- },
32903
- {
32904
- "description": "Text color for the input field",
32905
- "name": "--mdc-input-text-color",
32906
- "inheritedFrom": {
32907
- "name": "Input",
32908
- "module": "src/components/input/input.component.ts"
32909
- }
32910
- },
32911
- {
32912
- "description": "Background color for the input field",
32913
- "name": "--mdc-input-background-color",
32914
- "inheritedFrom": {
32915
- "name": "Input",
32916
- "module": "src/components/input/input.component.ts"
32917
- }
32918
- },
32919
- {
32920
- "description": "Background color for the selected text",
32921
- "name": "--mdc-input-selection-background-color",
32922
- "inheritedFrom": {
32923
- "name": "Input",
32924
- "module": "src/components/input/input.component.ts"
32925
- }
32926
- },
32927
- {
32928
- "description": "Text color for the selected text",
32929
- "name": "--mdc-input-selection-text-color",
32930
- "inheritedFrom": {
32931
- "name": "Input",
32932
- "module": "src/components/input/input.component.ts"
32933
- }
32934
- },
32935
- {
32936
- "description": "Text color for the help text",
32937
- "name": "--mdc-input-support-text-color",
32938
- "inheritedFrom": {
32939
- "name": "Input",
32940
- "module": "src/components/input/input.component.ts"
32941
- }
32942
- },
32943
- {
32944
- "description": "Background color for the input field when hovered",
32945
- "name": "--mdc-input-hover-background-color",
32946
- "inheritedFrom": {
32947
- "name": "Input",
32948
- "module": "src/components/input/input.component.ts"
32949
- }
32950
- },
32951
- {
32952
- "description": "Background color for the input field when focused",
32953
- "name": "--mdc-input-focused-background-color",
32954
- "inheritedFrom": {
32955
- "name": "Input",
32956
- "module": "src/components/input/input.component.ts"
32957
- }
32958
- },
32959
- {
32960
- "description": "Border color for the input container when focused",
32961
- "name": "--mdc-input-focused-border-color",
32895
+ "name": "help-text",
32896
+ "type": {
32897
+ "text": "string | undefined"
32898
+ },
32899
+ "description": "The help text that is displayed below the input field.",
32900
+ "fieldName": "helpText",
32962
32901
  "inheritedFrom": {
32963
- "name": "Input",
32964
- "module": "src/components/input/input.component.ts"
32902
+ "name": "FormfieldWrapper",
32903
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32965
32904
  }
32966
32905
  },
32967
32906
  {
32968
- "description": "Border color for the input container when error",
32969
- "name": "--mdc-input-error-border-color",
32907
+ "name": "toggletip-text",
32908
+ "type": {
32909
+ "text": "string | undefined"
32910
+ },
32911
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
32912
+ "fieldName": "toggletipText",
32970
32913
  "inheritedFrom": {
32971
- "name": "Input",
32972
- "module": "src/components/input/input.component.ts"
32914
+ "name": "FormfieldWrapper",
32915
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32973
32916
  }
32974
32917
  },
32975
32918
  {
32976
- "description": "Border color for the input container when warning",
32977
- "name": "--mdc-input-warning-border-color",
32919
+ "name": "toggletip-placement",
32920
+ "type": {
32921
+ "text": "PopoverPlacement"
32922
+ },
32923
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
32924
+ "default": "'top'",
32925
+ "fieldName": "toggletipPlacement",
32978
32926
  "inheritedFrom": {
32979
- "name": "Input",
32980
- "module": "src/components/input/input.component.ts"
32927
+ "name": "FormfieldWrapper",
32928
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32981
32929
  }
32982
32930
  },
32983
32931
  {
32984
- "description": "Border color for the input container when success",
32985
- "name": "--mdc-input-success-border-color",
32932
+ "name": "info-icon-aria-label",
32933
+ "type": {
32934
+ "text": "string | undefined"
32935
+ },
32936
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
32937
+ "fieldName": "infoIconAriaLabel",
32986
32938
  "inheritedFrom": {
32987
- "name": "Input",
32988
- "module": "src/components/input/input.component.ts"
32939
+ "name": "FormfieldWrapper",
32940
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32989
32941
  }
32942
+ }
32943
+ ],
32944
+ "mixins": [
32945
+ {
32946
+ "name": "FormInternalsMixin",
32947
+ "module": "/src/utils/mixins/FormInternalsMixin"
32990
32948
  },
32991
32949
  {
32992
- "description": "Border color for the input container when primary",
32993
- "name": "--mdc-input-primary-border-color",
32994
- "inheritedFrom": {
32995
- "name": "Input",
32996
- "module": "src/components/input/input.component.ts"
32997
- }
32950
+ "name": "DataAriaLabelMixin",
32951
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
32998
32952
  }
32999
- ]
32953
+ ],
32954
+ "superclass": {
32955
+ "name": "FormfieldWrapper",
32956
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
32957
+ },
32958
+ "tagName": "mdc-select",
32959
+ "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
32960
+ "customElement": true
33000
32961
  }
33001
32962
  ],
33002
32963
  "exports": [
@@ -33004,8 +32965,48 @@
33004
32965
  "kind": "js",
33005
32966
  "name": "default",
33006
32967
  "declaration": {
33007
- "name": "Searchfield",
33008
- "module": "components/searchfield/searchfield.component.js"
32968
+ "name": "Select",
32969
+ "module": "components/select/select.component.js"
32970
+ }
32971
+ }
32972
+ ]
32973
+ },
32974
+ {
32975
+ "kind": "javascript-module",
32976
+ "path": "components/selectlistbox/selectlistbox.component.js",
32977
+ "declarations": [
32978
+ {
32979
+ "kind": "class",
32980
+ "description": "Selectlistbox component as Light DOM component to act as a simple wrapper\nfor mdc-option components to ensure accessibility and proper role assignment.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\nand mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them.",
32981
+ "name": "Selectlistbox",
32982
+ "slots": [
32983
+ {
32984
+ "description": "This is a default/unnamed slot, which can be used to insert mdc-option components.",
32985
+ "name": "default"
32986
+ }
32987
+ ],
32988
+ "members": [
32989
+ {
32990
+ "kind": "field",
32991
+ "name": "role"
32992
+ }
32993
+ ],
32994
+ "superclass": {
32995
+ "name": "Component",
32996
+ "module": "/src/models"
32997
+ },
32998
+ "tagName": "mdc-selectlistbox",
32999
+ "jsDoc": "/**\n * Selectlistbox component as Light DOM component to act as a simple wrapper\n * for mdc-option components to ensure accessibility and proper role assignment.\n *\n * Once [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\n * and mdc-option can be used directly in the select component with a listbox in a different\n * shadow root and aria-owns attribute to connect them.\n *\n * @tagname mdc-selectlistbox\n *\n * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.\n */",
33000
+ "customElement": true
33001
+ }
33002
+ ],
33003
+ "exports": [
33004
+ {
33005
+ "kind": "js",
33006
+ "name": "default",
33007
+ "declaration": {
33008
+ "name": "Selectlistbox",
33009
+ "module": "components/selectlistbox/selectlistbox.component.js"
33009
33010
  }
33010
33011
  }
33011
33012
  ]
@@ -33420,52 +33421,48 @@
33420
33421
  },
33421
33422
  {
33422
33423
  "kind": "javascript-module",
33423
- "path": "components/staticradio/staticradio.component.js",
33424
+ "path": "components/staticcheckbox/staticcheckbox.component.js",
33424
33425
  "declarations": [
33425
33426
  {
33426
33427
  "kind": "class",
33427
- "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
33428
- "name": "StaticRadio",
33428
+ "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
33429
+ "name": "StaticCheckbox",
33429
33430
  "cssProperties": [
33430
33431
  {
33431
- "description": "size of the inner circle",
33432
- "name": "--mdc-staticradio-inner-circle-size"
33433
- },
33434
- {
33435
- "description": "color of the label when disabled",
33436
- "name": "--mdc-staticradio-text-disabled-color"
33432
+ "description": "Border color in high contrast.",
33433
+ "name": "--mdc-staticcheckbox-border-color"
33437
33434
  },
33438
33435
  {
33439
- "description": "color of the radio button border when normal",
33440
- "name": "--mdc-staticradio-normal-border-color"
33436
+ "description": "Background color for a selected checkbox.",
33437
+ "name": "--mdc-staticcheckbox-checked-background-color"
33441
33438
  },
33442
33439
  {
33443
- "description": "color of the radio button border when disabled",
33444
- "name": "--mdc-staticradio-disabled-border-color"
33440
+ "description": "Background color for a disabled checkbox.",
33441
+ "name": "--mdc-staticcheckbox-disabled-background-color"
33445
33442
  },
33446
33443
  {
33447
- "description": "background color of the inner circle when normal",
33448
- "name": "--mdc-staticradio-inner-circle-normal-background"
33444
+ "description": "Border color for a disabled checkbox.",
33445
+ "name": "--mdc-checkbox-disabled-border-color"
33449
33446
  },
33450
33447
  {
33451
- "description": "background color of the inner circle when disabled",
33452
- "name": "--mdc-staticradio-inner-circle-disabled-background"
33448
+ "description": "Background color for a disabled, selected checkbox.",
33449
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
33453
33450
  },
33454
33451
  {
33455
- "description": "color of the radio button when inactive",
33456
- "name": "--mdc-staticradio-control-inactive-color"
33452
+ "description": "Icon color for a disabled checkbox.",
33453
+ "name": "--mdc-staticcheckbox-disabled-icon-color"
33457
33454
  },
33458
33455
  {
33459
- "description": "background color of the radio button when inactive and disabled",
33460
- "name": "--mdc-staticradio-control-inactive-disabled-background"
33456
+ "description": "Background color for an unselected checkbox.",
33457
+ "name": "--mdc-staticcheckbox-icon-background-color"
33461
33458
  },
33462
33459
  {
33463
- "description": "color of the radio button when active",
33464
- "name": "--mdc-staticradio-control-active-color"
33460
+ "description": "Default background color for an unselected checkbox.",
33461
+ "name": "--mdc-staticcheckbox-icon-border-color"
33465
33462
  },
33466
33463
  {
33467
- "description": "background color of the radio button when active and disabled",
33468
- "name": "--mdc-staticradio-control-active-disabled-background"
33464
+ "description": "Icon color for an unselected checkbox.",
33465
+ "name": "--mdc-staticcheckbox-icon-color"
33469
33466
  }
33470
33467
  ],
33471
33468
  "members": [
@@ -33476,19 +33473,19 @@
33476
33473
  "text": "boolean"
33477
33474
  },
33478
33475
  "default": "false",
33479
- "description": "Determines whether the radio is selected or unselected.",
33476
+ "description": "Determines whether the checkbox is selected or unselected.",
33480
33477
  "attribute": "checked",
33481
33478
  "reflects": true
33482
33479
  },
33483
33480
  {
33484
33481
  "kind": "field",
33485
- "name": "readonly",
33482
+ "name": "indeterminate",
33486
33483
  "type": {
33487
33484
  "text": "boolean"
33488
33485
  },
33489
33486
  "default": "false",
33490
- "description": "Determines whether the radio is read-only.",
33491
- "attribute": "readonly",
33487
+ "description": "Determines whether the checkbox is in an indeterminate state.",
33488
+ "attribute": "indeterminate",
33492
33489
  "reflects": true
33493
33490
  },
33494
33491
  {
@@ -33514,17 +33511,17 @@
33514
33511
  "text": "boolean"
33515
33512
  },
33516
33513
  "default": "false",
33517
- "description": "Determines whether the radio is selected or unselected.",
33514
+ "description": "Determines whether the checkbox is selected or unselected.",
33518
33515
  "fieldName": "checked"
33519
33516
  },
33520
33517
  {
33521
- "name": "readonly",
33518
+ "name": "indeterminate",
33522
33519
  "type": {
33523
33520
  "text": "boolean"
33524
33521
  },
33525
33522
  "default": "false",
33526
- "description": "Determines whether the radio is read-only.",
33527
- "fieldName": "readonly"
33523
+ "description": "Determines whether the checkbox is in an indeterminate state.",
33524
+ "fieldName": "indeterminate"
33528
33525
  },
33529
33526
  {
33530
33527
  "name": "disabled",
@@ -33550,8 +33547,8 @@
33550
33547
  "name": "Component",
33551
33548
  "module": "/src/models"
33552
33549
  },
33553
- "tagName": "mdc-staticradio",
33554
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and 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-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
33550
+ "tagName": "mdc-staticcheckbox",
33551
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and 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-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
33555
33552
  "customElement": true
33556
33553
  }
33557
33554
  ],
@@ -33560,56 +33557,60 @@
33560
33557
  "kind": "js",
33561
33558
  "name": "default",
33562
33559
  "declaration": {
33563
- "name": "StaticRadio",
33564
- "module": "components/staticradio/staticradio.component.js"
33560
+ "name": "StaticCheckbox",
33561
+ "module": "components/staticcheckbox/staticcheckbox.component.js"
33565
33562
  }
33566
33563
  }
33567
33564
  ]
33568
33565
  },
33569
33566
  {
33570
33567
  "kind": "javascript-module",
33571
- "path": "components/staticcheckbox/staticcheckbox.component.js",
33568
+ "path": "components/staticradio/staticradio.component.js",
33572
33569
  "declarations": [
33573
33570
  {
33574
33571
  "kind": "class",
33575
- "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
33576
- "name": "StaticCheckbox",
33572
+ "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
33573
+ "name": "StaticRadio",
33577
33574
  "cssProperties": [
33578
33575
  {
33579
- "description": "Border color in high contrast.",
33580
- "name": "--mdc-staticcheckbox-border-color"
33576
+ "description": "size of the inner circle",
33577
+ "name": "--mdc-staticradio-inner-circle-size"
33581
33578
  },
33582
33579
  {
33583
- "description": "Background color for a selected checkbox.",
33584
- "name": "--mdc-staticcheckbox-checked-background-color"
33580
+ "description": "color of the label when disabled",
33581
+ "name": "--mdc-staticradio-text-disabled-color"
33585
33582
  },
33586
33583
  {
33587
- "description": "Background color for a disabled checkbox.",
33588
- "name": "--mdc-staticcheckbox-disabled-background-color"
33584
+ "description": "color of the radio button border when normal",
33585
+ "name": "--mdc-staticradio-normal-border-color"
33589
33586
  },
33590
33587
  {
33591
- "description": "Border color for a disabled checkbox.",
33592
- "name": "--mdc-checkbox-disabled-border-color"
33588
+ "description": "color of the radio button border when disabled",
33589
+ "name": "--mdc-staticradio-disabled-border-color"
33593
33590
  },
33594
33591
  {
33595
- "description": "Background color for a disabled, selected checkbox.",
33596
- "name": "--mdc-checkbox-disabled-checked-icon-color"
33592
+ "description": "background color of the inner circle when normal",
33593
+ "name": "--mdc-staticradio-inner-circle-normal-background"
33597
33594
  },
33598
33595
  {
33599
- "description": "Icon color for a disabled checkbox.",
33600
- "name": "--mdc-staticcheckbox-disabled-icon-color"
33596
+ "description": "background color of the inner circle when disabled",
33597
+ "name": "--mdc-staticradio-inner-circle-disabled-background"
33601
33598
  },
33602
33599
  {
33603
- "description": "Background color for an unselected checkbox.",
33604
- "name": "--mdc-staticcheckbox-icon-background-color"
33600
+ "description": "color of the radio button when inactive",
33601
+ "name": "--mdc-staticradio-control-inactive-color"
33605
33602
  },
33606
33603
  {
33607
- "description": "Default background color for an unselected checkbox.",
33608
- "name": "--mdc-staticcheckbox-icon-border-color"
33604
+ "description": "background color of the radio button when inactive and disabled",
33605
+ "name": "--mdc-staticradio-control-inactive-disabled-background"
33609
33606
  },
33610
33607
  {
33611
- "description": "Icon color for an unselected checkbox.",
33612
- "name": "--mdc-staticcheckbox-icon-color"
33608
+ "description": "color of the radio button when active",
33609
+ "name": "--mdc-staticradio-control-active-color"
33610
+ },
33611
+ {
33612
+ "description": "background color of the radio button when active and disabled",
33613
+ "name": "--mdc-staticradio-control-active-disabled-background"
33613
33614
  }
33614
33615
  ],
33615
33616
  "members": [
@@ -33620,19 +33621,19 @@
33620
33621
  "text": "boolean"
33621
33622
  },
33622
33623
  "default": "false",
33623
- "description": "Determines whether the checkbox is selected or unselected.",
33624
+ "description": "Determines whether the radio is selected or unselected.",
33624
33625
  "attribute": "checked",
33625
33626
  "reflects": true
33626
33627
  },
33627
33628
  {
33628
33629
  "kind": "field",
33629
- "name": "indeterminate",
33630
+ "name": "readonly",
33630
33631
  "type": {
33631
33632
  "text": "boolean"
33632
33633
  },
33633
33634
  "default": "false",
33634
- "description": "Determines whether the checkbox is in an indeterminate state.",
33635
- "attribute": "indeterminate",
33635
+ "description": "Determines whether the radio is read-only.",
33636
+ "attribute": "readonly",
33636
33637
  "reflects": true
33637
33638
  },
33638
33639
  {
@@ -33658,17 +33659,17 @@
33658
33659
  "text": "boolean"
33659
33660
  },
33660
33661
  "default": "false",
33661
- "description": "Determines whether the checkbox is selected or unselected.",
33662
+ "description": "Determines whether the radio is selected or unselected.",
33662
33663
  "fieldName": "checked"
33663
33664
  },
33664
33665
  {
33665
- "name": "indeterminate",
33666
+ "name": "readonly",
33666
33667
  "type": {
33667
33668
  "text": "boolean"
33668
33669
  },
33669
33670
  "default": "false",
33670
- "description": "Determines whether the checkbox is in an indeterminate state.",
33671
- "fieldName": "indeterminate"
33671
+ "description": "Determines whether the radio is read-only.",
33672
+ "fieldName": "readonly"
33672
33673
  },
33673
33674
  {
33674
33675
  "name": "disabled",
@@ -33694,8 +33695,8 @@
33694
33695
  "name": "Component",
33695
33696
  "module": "/src/models"
33696
33697
  },
33697
- "tagName": "mdc-staticcheckbox",
33698
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and 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-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
33698
+ "tagName": "mdc-staticradio",
33699
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and 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-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
33699
33700
  "customElement": true
33700
33701
  }
33701
33702
  ],
@@ -33704,8 +33705,8 @@
33704
33705
  "kind": "js",
33705
33706
  "name": "default",
33706
33707
  "declaration": {
33707
- "name": "StaticCheckbox",
33708
- "module": "components/staticcheckbox/staticcheckbox.component.js"
33708
+ "name": "StaticRadio",
33709
+ "module": "components/staticradio/staticradio.component.js"
33709
33710
  }
33710
33711
  }
33711
33712
  ]