@momentum-design/components 0.102.3 → 0.102.5

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.
@@ -14650,6 +14650,14 @@
14650
14650
  "text": "EventConstructor"
14651
14651
  }
14652
14652
  },
14653
+ {
14654
+ "name": "clear",
14655
+ "type": {
14656
+ "text": "CustomEvent"
14657
+ },
14658
+ "description": "(React: onClear) This event is dispatched when the input text is cleared.",
14659
+ "reactName": "onClear"
14660
+ },
14653
14661
  {
14654
14662
  "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
14655
14663
  "name": "input",
@@ -14979,7 +14987,7 @@
14979
14987
  "module": "/src/components/formfieldwrapper"
14980
14988
  },
14981
14989
  "tagName": "mdc-input",
14982
- "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\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 *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
14990
+ "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\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 * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
14983
14991
  "customElement": true
14984
14992
  }
14985
14993
  ],
@@ -16527,25 +16535,25 @@
16527
16535
  "declarations": [
16528
16536
  {
16529
16537
  "kind": "class",
16530
- "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.",
16538
+ "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
16531
16539
  "name": "List",
16540
+ "cssParts": [
16541
+ {
16542
+ "description": "The container slot around the list items",
16543
+ "name": "container"
16544
+ }
16545
+ ],
16532
16546
  "slots": [
16533
16547
  {
16534
- "description": "This is a default/unnamed slot",
16548
+ "description": "This is a default/unnamed slot, where listitems can be placed.",
16535
16549
  "name": "default"
16550
+ },
16551
+ {
16552
+ "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
16553
+ "name": "list-header"
16536
16554
  }
16537
16555
  ],
16538
16556
  "members": [
16539
- {
16540
- "kind": "field",
16541
- "name": "headerText",
16542
- "type": {
16543
- "text": "string | undefined"
16544
- },
16545
- "description": "The header text of the list.",
16546
- "attribute": "header-text",
16547
- "reflects": true
16548
- },
16549
16557
  {
16550
16558
  "kind": "method",
16551
16559
  "name": "handleKeyDown",
@@ -16654,50 +16662,6 @@
16654
16662
  }
16655
16663
  ],
16656
16664
  "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
16657
- },
16658
- {
16659
- "kind": "field",
16660
- "name": "dataAriaLabel",
16661
- "type": {
16662
- "text": "string | null"
16663
- },
16664
- "default": "null",
16665
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
16666
- "attribute": "data-aria-label",
16667
- "reflects": true,
16668
- "inheritedFrom": {
16669
- "name": "DataAriaLabelMixin",
16670
- "module": "utils/mixins/DataAriaLabelMixin.js"
16671
- }
16672
- }
16673
- ],
16674
- "attributes": [
16675
- {
16676
- "name": "header-text",
16677
- "type": {
16678
- "text": "string | undefined"
16679
- },
16680
- "description": "The header text of the list.",
16681
- "fieldName": "headerText"
16682
- },
16683
- {
16684
- "name": "data-aria-label",
16685
- "type": {
16686
- "text": "string | null"
16687
- },
16688
- "default": "null",
16689
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
16690
- "fieldName": "dataAriaLabel",
16691
- "inheritedFrom": {
16692
- "name": "DataAriaLabelMixin",
16693
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
16694
- }
16695
- }
16696
- ],
16697
- "mixins": [
16698
- {
16699
- "name": "DataAriaLabelMixin",
16700
- "module": "/src/utils/mixins/DataAriaLabelMixin"
16701
16665
  }
16702
16666
  ],
16703
16667
  "superclass": {
@@ -16705,7 +16669,7 @@
16705
16669
  "module": "/src/models"
16706
16670
  },
16707
16671
  "tagName": "mdc-list",
16708
- "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * @tagname mdc-list\n *\n * @dependency mdc-text\n *\n * @slot default - This is a default/unnamed slot\n */",
16672
+ "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
16709
16673
  "customElement": true
16710
16674
  }
16711
16675
  ],
@@ -20655,147 +20619,6 @@
20655
20619
  }
20656
20620
  ]
20657
20621
  },
20658
- {
20659
- "kind": "javascript-module",
20660
- "path": "components/menusection/menusection.component.js",
20661
- "declarations": [
20662
- {
20663
- "kind": "class",
20664
- "description": "`mdc-menusection` is a container element used to group a set of menu items.\n\nThis component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n\n- If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n only one radio item can be selected at a time.\n- If `menuitemcheckbox` components are included, their checked state can be toggled independently.",
20665
- "name": "MenuSection",
20666
- "slots": [
20667
- {
20668
- "description": "Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`",
20669
- "name": ""
20670
- }
20671
- ],
20672
- "members": [
20673
- {
20674
- "kind": "field",
20675
- "name": "ariaLabel",
20676
- "type": {
20677
- "text": "string | null"
20678
- },
20679
- "default": "null",
20680
- "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
20681
- "attribute": "aria-label",
20682
- "reflects": true
20683
- },
20684
- {
20685
- "kind": "field",
20686
- "name": "headerText",
20687
- "type": {
20688
- "text": "string | null"
20689
- },
20690
- "default": "null",
20691
- "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20692
- "attribute": "header-text",
20693
- "reflects": true
20694
- },
20695
- {
20696
- "kind": "field",
20697
- "name": "prefixIcon",
20698
- "type": {
20699
- "text": "IconNames | undefined"
20700
- },
20701
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
20702
- "attribute": "prefix-icon"
20703
- },
20704
- {
20705
- "kind": "field",
20706
- "name": "showDivider",
20707
- "type": {
20708
- "text": "boolean"
20709
- },
20710
- "default": "false",
20711
- "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
20712
- "attribute": "show-divider",
20713
- "reflects": true
20714
- },
20715
- {
20716
- "kind": "field",
20717
- "name": "dividerVariant",
20718
- "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
20719
- "default": "'solid'",
20720
- "attribute": "divider-variant",
20721
- "reflects": true
20722
- },
20723
- {
20724
- "kind": "method",
20725
- "name": "renderHeader",
20726
- "privacy": "private"
20727
- }
20728
- ],
20729
- "events": [
20730
- {
20731
- "description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
20732
- "name": "change",
20733
- "reactName": "onChange"
20734
- }
20735
- ],
20736
- "attributes": [
20737
- {
20738
- "name": "aria-label",
20739
- "type": {
20740
- "text": "string | null"
20741
- },
20742
- "default": "null",
20743
- "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
20744
- "fieldName": "ariaLabel"
20745
- },
20746
- {
20747
- "name": "header-text",
20748
- "type": {
20749
- "text": "string | null"
20750
- },
20751
- "default": "null",
20752
- "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20753
- "fieldName": "headerText"
20754
- },
20755
- {
20756
- "name": "prefix-icon",
20757
- "type": {
20758
- "text": "IconNames | undefined"
20759
- },
20760
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
20761
- "fieldName": "prefixIcon"
20762
- },
20763
- {
20764
- "name": "show-divider",
20765
- "type": {
20766
- "text": "boolean"
20767
- },
20768
- "default": "false",
20769
- "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
20770
- "fieldName": "showDivider"
20771
- },
20772
- {
20773
- "name": "divider-variant",
20774
- "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
20775
- "default": "'solid'",
20776
- "fieldName": "dividerVariant"
20777
- }
20778
- ],
20779
- "superclass": {
20780
- "name": "Component",
20781
- "module": "/src/models"
20782
- },
20783
- "tagName": "mdc-menusection",
20784
- "jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n */",
20785
- "customElement": true
20786
- }
20787
- ],
20788
- "exports": [
20789
- {
20790
- "kind": "js",
20791
- "name": "default",
20792
- "declaration": {
20793
- "name": "MenuSection",
20794
- "module": "components/menusection/menusection.component.js"
20795
- }
20796
- }
20797
- ]
20798
- },
20799
20622
  {
20800
20623
  "kind": "javascript-module",
20801
20624
  "path": "components/menupopover/menupopover.component.js",
@@ -22940,6 +22763,147 @@
22940
22763
  }
22941
22764
  ]
22942
22765
  },
22766
+ {
22767
+ "kind": "javascript-module",
22768
+ "path": "components/menusection/menusection.component.js",
22769
+ "declarations": [
22770
+ {
22771
+ "kind": "class",
22772
+ "description": "`mdc-menusection` is a container element used to group a set of menu items.\n\nThis component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n\n- If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n only one radio item can be selected at a time.\n- If `menuitemcheckbox` components are included, their checked state can be toggled independently.",
22773
+ "name": "MenuSection",
22774
+ "slots": [
22775
+ {
22776
+ "description": "Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`",
22777
+ "name": ""
22778
+ }
22779
+ ],
22780
+ "members": [
22781
+ {
22782
+ "kind": "field",
22783
+ "name": "ariaLabel",
22784
+ "type": {
22785
+ "text": "string | null"
22786
+ },
22787
+ "default": "null",
22788
+ "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
22789
+ "attribute": "aria-label",
22790
+ "reflects": true
22791
+ },
22792
+ {
22793
+ "kind": "field",
22794
+ "name": "headerText",
22795
+ "type": {
22796
+ "text": "string | null"
22797
+ },
22798
+ "default": "null",
22799
+ "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
22800
+ "attribute": "header-text",
22801
+ "reflects": true
22802
+ },
22803
+ {
22804
+ "kind": "field",
22805
+ "name": "prefixIcon",
22806
+ "type": {
22807
+ "text": "IconNames | undefined"
22808
+ },
22809
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
22810
+ "attribute": "prefix-icon"
22811
+ },
22812
+ {
22813
+ "kind": "field",
22814
+ "name": "showDivider",
22815
+ "type": {
22816
+ "text": "boolean"
22817
+ },
22818
+ "default": "false",
22819
+ "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
22820
+ "attribute": "show-divider",
22821
+ "reflects": true
22822
+ },
22823
+ {
22824
+ "kind": "field",
22825
+ "name": "dividerVariant",
22826
+ "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
22827
+ "default": "'solid'",
22828
+ "attribute": "divider-variant",
22829
+ "reflects": true
22830
+ },
22831
+ {
22832
+ "kind": "method",
22833
+ "name": "renderHeader",
22834
+ "privacy": "private"
22835
+ }
22836
+ ],
22837
+ "events": [
22838
+ {
22839
+ "description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
22840
+ "name": "change",
22841
+ "reactName": "onChange"
22842
+ }
22843
+ ],
22844
+ "attributes": [
22845
+ {
22846
+ "name": "aria-label",
22847
+ "type": {
22848
+ "text": "string | null"
22849
+ },
22850
+ "default": "null",
22851
+ "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
22852
+ "fieldName": "ariaLabel"
22853
+ },
22854
+ {
22855
+ "name": "header-text",
22856
+ "type": {
22857
+ "text": "string | null"
22858
+ },
22859
+ "default": "null",
22860
+ "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
22861
+ "fieldName": "headerText"
22862
+ },
22863
+ {
22864
+ "name": "prefix-icon",
22865
+ "type": {
22866
+ "text": "IconNames | undefined"
22867
+ },
22868
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
22869
+ "fieldName": "prefixIcon"
22870
+ },
22871
+ {
22872
+ "name": "show-divider",
22873
+ "type": {
22874
+ "text": "boolean"
22875
+ },
22876
+ "default": "false",
22877
+ "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
22878
+ "fieldName": "showDivider"
22879
+ },
22880
+ {
22881
+ "name": "divider-variant",
22882
+ "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
22883
+ "default": "'solid'",
22884
+ "fieldName": "dividerVariant"
22885
+ }
22886
+ ],
22887
+ "superclass": {
22888
+ "name": "Component",
22889
+ "module": "/src/models"
22890
+ },
22891
+ "tagName": "mdc-menusection",
22892
+ "jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n */",
22893
+ "customElement": true
22894
+ }
22895
+ ],
22896
+ "exports": [
22897
+ {
22898
+ "kind": "js",
22899
+ "name": "default",
22900
+ "declaration": {
22901
+ "name": "MenuSection",
22902
+ "module": "components/menusection/menusection.component.js"
22903
+ }
22904
+ }
22905
+ ]
22906
+ },
22943
22907
  {
22944
22908
  "kind": "javascript-module",
22945
22909
  "path": "components/navmenuitem/navmenuitem.component.js",
@@ -26102,6 +26066,18 @@
26102
26066
  "name": "Input",
26103
26067
  "module": "src/components/input/input.component.ts"
26104
26068
  }
26069
+ },
26070
+ {
26071
+ "name": "clear",
26072
+ "type": {
26073
+ "text": "CustomEvent"
26074
+ },
26075
+ "description": "(React: onClear) This event is dispatched when the input text is cleared.",
26076
+ "reactName": "onClear",
26077
+ "inheritedFrom": {
26078
+ "name": "Input",
26079
+ "module": "src/components/input/input.component.ts"
26080
+ }
26105
26081
  }
26106
26082
  ],
26107
26083
  "attributes": [
@@ -30624,7 +30600,7 @@
30624
30600
  "declarations": [
30625
30601
  {
30626
30602
  "kind": "class",
30627
- "description": "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.",
30603
+ "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.",
30628
30604
  "name": "Searchfield",
30629
30605
  "slots": [
30630
30606
  {
@@ -31323,12 +31299,71 @@
31323
31299
  }
31324
31300
  }
31325
31301
  ],
31302
+ "events": [
31303
+ {
31304
+ "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
31305
+ "name": "input",
31306
+ "reactName": "onInput",
31307
+ "inheritedFrom": {
31308
+ "name": "Input",
31309
+ "module": "src/components/input/input.component.ts"
31310
+ }
31311
+ },
31312
+ {
31313
+ "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
31314
+ "name": "change",
31315
+ "reactName": "onChange",
31316
+ "inheritedFrom": {
31317
+ "name": "Input",
31318
+ "module": "src/components/input/input.component.ts"
31319
+ }
31320
+ },
31321
+ {
31322
+ "description": "(React: onFocus) This event is dispatched when the input receives focus.",
31323
+ "name": "focus",
31324
+ "reactName": "onFocus",
31325
+ "inheritedFrom": {
31326
+ "name": "Input",
31327
+ "module": "src/components/input/input.component.ts"
31328
+ }
31329
+ },
31330
+ {
31331
+ "description": "(React: onBlur) This event is dispatched when the input loses focus.",
31332
+ "name": "blur",
31333
+ "reactName": "onBlur",
31334
+ "inheritedFrom": {
31335
+ "name": "Input",
31336
+ "module": "src/components/input/input.component.ts"
31337
+ }
31338
+ },
31339
+ {
31340
+ "name": "clear",
31341
+ "type": {
31342
+ "text": "CustomEvent"
31343
+ },
31344
+ "description": "(React: onClear) This event is dispatched when the input text is cleared.",
31345
+ "reactName": "onClear",
31346
+ "inheritedFrom": {
31347
+ "name": "Input",
31348
+ "module": "src/components/input/input.component.ts"
31349
+ }
31350
+ },
31351
+ {
31352
+ "type": {
31353
+ "text": "EventConstructor"
31354
+ },
31355
+ "inheritedFrom": {
31356
+ "name": "Input",
31357
+ "module": "src/components/input/input.component.ts"
31358
+ }
31359
+ }
31360
+ ],
31326
31361
  "superclass": {
31327
31362
  "name": "Input",
31328
31363
  "module": "/src/components/input/input.component"
31329
31364
  },
31330
31365
  "tagName": "mdc-searchfield",
31331
- "jsDoc": "/**\n * 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 * @slot filters - Slot for input chips\n *\n */",
31366
+ "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 */",
31332
31367
  "customElement": true,
31333
31368
  "attributes": [
31334
31369
  {
@@ -31812,53 +31847,6 @@
31812
31847
  "module": "src/components/input/input.component.ts"
31813
31848
  }
31814
31849
  }
31815
- ],
31816
- "events": [
31817
- {
31818
- "type": {
31819
- "text": "EventConstructor"
31820
- },
31821
- "inheritedFrom": {
31822
- "name": "Input",
31823
- "module": "src/components/input/input.component.ts"
31824
- }
31825
- },
31826
- {
31827
- "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
31828
- "name": "input",
31829
- "reactName": "onInput",
31830
- "inheritedFrom": {
31831
- "name": "Input",
31832
- "module": "src/components/input/input.component.ts"
31833
- }
31834
- },
31835
- {
31836
- "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
31837
- "name": "change",
31838
- "reactName": "onChange",
31839
- "inheritedFrom": {
31840
- "name": "Input",
31841
- "module": "src/components/input/input.component.ts"
31842
- }
31843
- },
31844
- {
31845
- "description": "(React: onFocus) This event is dispatched when the input receives focus.",
31846
- "name": "focus",
31847
- "reactName": "onFocus",
31848
- "inheritedFrom": {
31849
- "name": "Input",
31850
- "module": "src/components/input/input.component.ts"
31851
- }
31852
- },
31853
- {
31854
- "description": "(React: onBlur) This event is dispatched when the input loses focus.",
31855
- "name": "blur",
31856
- "reactName": "onBlur",
31857
- "inheritedFrom": {
31858
- "name": "Input",
31859
- "module": "src/components/input/input.component.ts"
31860
- }
31861
- }
31862
31850
  ]
31863
31851
  }
31864
31852
  ],
@@ -40,8 +40,8 @@ export { default as MenuBar } from './menubar';
40
40
  export { default as MenuItem } from './menuitem';
41
41
  export { default as MenuItemCheckbox } from './menuitemcheckbox';
42
42
  export { default as MenuItemRadio } from './menuitemradio';
43
- export { default as MenuSection } from './menusection';
44
43
  export { default as MenuPopover } from './menupopover';
44
+ export { default as MenuSection } from './menusection';
45
45
  export { default as NavMenuItem } from './navmenuitem';
46
46
  export { default as OptGroup } from './optgroup';
47
47
  export { default as Option } from './option';
@@ -40,8 +40,8 @@ export { default as MenuBar } from './menubar';
40
40
  export { default as MenuItem } from './menuitem';
41
41
  export { default as MenuItemCheckbox } from './menuitemcheckbox';
42
42
  export { default as MenuItemRadio } from './menuitemradio';
43
- export { default as MenuSection } from './menusection';
44
43
  export { default as MenuPopover } from './menupopover';
44
+ export { default as MenuSection } from './menusection';
45
45
  export { default as NavMenuItem } from './navmenuitem';
46
46
  export { default as OptGroup } from './optgroup';
47
47
  export { default as Option } from './option';
@@ -18,6 +18,7 @@ import Component from '../../components/input';
18
18
  * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).
19
19
  * @event focus - (React: onFocus) This event is dispatched when the input receives focus.
20
20
  * @event blur - (React: onBlur) This event is dispatched when the input loses focus.
21
+ * @event clear - (React: onClear) This event is dispatched when the input text is cleared.
21
22
  *
22
23
  * @dependency mdc-icon
23
24
  * @dependency mdc-text
@@ -43,8 +44,9 @@ import Component from '../../components/input';
43
44
  *
44
45
  */
45
46
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
47
+ onClear: EventName<import("../../components/input/input.types").InputClearEvent>;
46
48
  onInput: EventName<InputEvent>;
47
- onChange: EventName<Event>;
49
+ onChange: EventName<import("../../components/input/input.types").InputChangeEvent>;
48
50
  onFocus: EventName<FocusEvent>;
49
51
  onBlur: EventName<FocusEvent>;
50
52
  }>;
@@ -20,6 +20,7 @@ import { TAG_NAME } from '../../components/input/input.constants';
20
20
  * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).
21
21
  * @event focus - (React: onFocus) This event is dispatched when the input receives focus.
22
22
  * @event blur - (React: onBlur) This event is dispatched when the input loses focus.
23
+ * @event clear - (React: onClear) This event is dispatched when the input text is cleared.
23
24
  *
24
25
  * @dependency mdc-icon
25
26
  * @dependency mdc-text
@@ -49,6 +50,7 @@ const reactWrapper = createComponent({
49
50
  elementClass: Component,
50
51
  react: React,
51
52
  events: {
53
+ onClear: 'clear',
52
54
  onInput: 'input',
53
55
  onChange: 'change',
54
56
  onFocus: 'focus',
@@ -2,11 +2,15 @@ import Component from '../../components/list';
2
2
  /**
3
3
  * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.
4
4
  *
5
+ * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
6
+ * `mdc-listitem` components can be placed in the default slot.
7
+ *
5
8
  * @tagname mdc-list
6
9
  *
7
- * @dependency mdc-text
10
+ * @slot default - This is a default/unnamed slot, where listitems can be placed.
11
+ * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.
8
12
  *
9
- * @slot default - This is a default/unnamed slot
13
+ * @csspart container - The container slot around the list items
10
14
  */
11
15
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
12
16
  export default reactWrapper;