@momentum-design/components 0.103.1 → 0.103.3

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.
@@ -9903,7 +9903,7 @@
9903
9903
  "kind": "field",
9904
9904
  "name": "boundaryPadding",
9905
9905
  "type": {
9906
- "text": "undefined | number"
9906
+ "text": "number | undefined"
9907
9907
  },
9908
9908
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
9909
9909
  "default": "undefined",
@@ -10109,6 +10109,21 @@
10109
10109
  "module": "components/popover/popover.component.js"
10110
10110
  }
10111
10111
  },
10112
+ {
10113
+ "kind": "field",
10114
+ "name": "strategy",
10115
+ "type": {
10116
+ "text": "'absolute' | 'fixed'"
10117
+ },
10118
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
10119
+ "default": "absolute",
10120
+ "attribute": "strategy",
10121
+ "reflects": true,
10122
+ "inheritedFrom": {
10123
+ "name": "Popover",
10124
+ "module": "components/popover/popover.component.js"
10125
+ }
10126
+ },
10112
10127
  {
10113
10128
  "kind": "field",
10114
10129
  "name": "role",
@@ -10677,7 +10692,7 @@
10677
10692
  {
10678
10693
  "name": "boundary-padding",
10679
10694
  "type": {
10680
- "text": "undefined | number"
10695
+ "text": "number | undefined"
10681
10696
  },
10682
10697
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
10683
10698
  "default": "undefined",
@@ -10882,6 +10897,19 @@
10882
10897
  "module": "src/components/popover/popover.component.ts"
10883
10898
  }
10884
10899
  },
10900
+ {
10901
+ "name": "strategy",
10902
+ "type": {
10903
+ "text": "'absolute' | 'fixed'"
10904
+ },
10905
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
10906
+ "default": "absolute",
10907
+ "fieldName": "strategy",
10908
+ "inheritedFrom": {
10909
+ "name": "Popover",
10910
+ "module": "src/components/popover/popover.component.ts"
10911
+ }
10912
+ },
10885
10913
  {
10886
10914
  "name": "role",
10887
10915
  "type": {
@@ -17044,6 +17072,14 @@
17044
17072
  "text": "void"
17045
17073
  }
17046
17074
  },
17075
+ "parameters": [
17076
+ {
17077
+ "name": "event",
17078
+ "type": {
17079
+ "text": "MouseEvent"
17080
+ }
17081
+ }
17082
+ ],
17047
17083
  "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first."
17048
17084
  },
17049
17085
  {
@@ -18170,6 +18206,14 @@
18170
18206
  "text": "void"
18171
18207
  }
18172
18208
  },
18209
+ "parameters": [
18210
+ {
18211
+ "name": "event",
18212
+ "type": {
18213
+ "text": "MouseEvent"
18214
+ }
18215
+ }
18216
+ ],
18173
18217
  "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
18174
18218
  "inheritedFrom": {
18175
18219
  "name": "ListItem",
@@ -19110,6 +19154,14 @@
19110
19154
  "text": "void"
19111
19155
  }
19112
19156
  },
19157
+ "parameters": [
19158
+ {
19159
+ "name": "event",
19160
+ "type": {
19161
+ "text": "MouseEvent"
19162
+ }
19163
+ }
19164
+ ],
19113
19165
  "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
19114
19166
  "inheritedFrom": {
19115
19167
  "name": "ListItem",
@@ -20103,6 +20155,14 @@
20103
20155
  "text": "void"
20104
20156
  }
20105
20157
  },
20158
+ "parameters": [
20159
+ {
20160
+ "name": "event",
20161
+ "type": {
20162
+ "text": "MouseEvent"
20163
+ }
20164
+ }
20165
+ ],
20106
20166
  "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
20107
20167
  "inheritedFrom": {
20108
20168
  "name": "ListItem",
@@ -21640,7 +21700,7 @@
21640
21700
  "kind": "field",
21641
21701
  "name": "boundaryPadding",
21642
21702
  "type": {
21643
- "text": "undefined | number"
21703
+ "text": "number | undefined"
21644
21704
  },
21645
21705
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
21646
21706
  "default": "undefined",
@@ -21876,6 +21936,21 @@
21876
21936
  "module": "components/popover/popover.component.js"
21877
21937
  }
21878
21938
  },
21939
+ {
21940
+ "kind": "field",
21941
+ "name": "strategy",
21942
+ "type": {
21943
+ "text": "'absolute' | 'fixed'"
21944
+ },
21945
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
21946
+ "default": "absolute",
21947
+ "attribute": "strategy",
21948
+ "reflects": true,
21949
+ "inheritedFrom": {
21950
+ "name": "Popover",
21951
+ "module": "components/popover/popover.component.js"
21952
+ }
21953
+ },
21879
21954
  {
21880
21955
  "kind": "field",
21881
21956
  "name": "role",
@@ -22378,7 +22453,7 @@
22378
22453
  {
22379
22454
  "name": "boundary-padding",
22380
22455
  "type": {
22381
- "text": "undefined | number"
22456
+ "text": "number | undefined"
22382
22457
  },
22383
22458
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
22384
22459
  "default": "undefined",
@@ -22609,6 +22684,19 @@
22609
22684
  "module": "src/components/popover/popover.component.ts"
22610
22685
  }
22611
22686
  },
22687
+ {
22688
+ "name": "strategy",
22689
+ "type": {
22690
+ "text": "'absolute' | 'fixed'"
22691
+ },
22692
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
22693
+ "default": "absolute",
22694
+ "fieldName": "strategy",
22695
+ "inheritedFrom": {
22696
+ "name": "Popover",
22697
+ "module": "src/components/popover/popover.component.ts"
22698
+ }
22699
+ },
22612
22700
  {
22613
22701
  "name": "role",
22614
22702
  "type": {
@@ -23541,6 +23629,14 @@
23541
23629
  "text": "void"
23542
23630
  }
23543
23631
  },
23632
+ "parameters": [
23633
+ {
23634
+ "name": "event",
23635
+ "type": {
23636
+ "text": "MouseEvent"
23637
+ }
23638
+ }
23639
+ ],
23544
23640
  "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
23545
23641
  "inheritedFrom": {
23546
23642
  "name": "ListItem",
@@ -24579,6 +24675,14 @@
24579
24675
  "text": "void"
24580
24676
  }
24581
24677
  },
24678
+ "parameters": [
24679
+ {
24680
+ "name": "event",
24681
+ "type": {
24682
+ "text": "MouseEvent"
24683
+ }
24684
+ }
24685
+ ],
24582
24686
  "description": "Handles the click event on the list item.\nIf the tooltip is open, it has to be closed first.",
24583
24687
  "inheritedFrom": {
24584
24688
  "name": "ListItem",
@@ -26648,7 +26752,7 @@
26648
26752
  "kind": "field",
26649
26753
  "name": "boundaryPadding",
26650
26754
  "type": {
26651
- "text": "undefined | number"
26755
+ "text": "number | undefined"
26652
26756
  },
26653
26757
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
26654
26758
  "default": "undefined",
@@ -26852,6 +26956,17 @@
26852
26956
  "attribute": "close-button-aria-label",
26853
26957
  "reflects": true
26854
26958
  },
26959
+ {
26960
+ "kind": "field",
26961
+ "name": "strategy",
26962
+ "type": {
26963
+ "text": "'absolute' | 'fixed'"
26964
+ },
26965
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
26966
+ "default": "absolute",
26967
+ "attribute": "strategy",
26968
+ "reflects": true
26969
+ },
26855
26970
  {
26856
26971
  "kind": "field",
26857
26972
  "name": "role",
@@ -27725,7 +27840,7 @@
27725
27840
  {
27726
27841
  "name": "boundary-padding",
27727
27842
  "type": {
27728
- "text": "undefined | number"
27843
+ "text": "number | undefined"
27729
27844
  },
27730
27845
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
27731
27846
  "default": "undefined",
@@ -27884,6 +27999,15 @@
27884
27999
  "description": "aria-label attribute to be set for close button accessibility.",
27885
28000
  "fieldName": "closeButtonAriaLabel"
27886
28001
  },
28002
+ {
28003
+ "name": "strategy",
28004
+ "type": {
28005
+ "text": "'absolute' | 'fixed'"
28006
+ },
28007
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
28008
+ "default": "absolute",
28009
+ "fieldName": "strategy"
28010
+ },
27887
28011
  {
27888
28012
  "name": "role",
27889
28013
  "type": {
@@ -31865,6 +31989,60 @@
31865
31989
  "kind": "class",
31866
31990
  "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.",
31867
31991
  "name": "Select",
31992
+ "cssProperties": [
31993
+ {
31994
+ "description": "The background color of the combobox of select.",
31995
+ "name": "--mdc-select-background-color"
31996
+ },
31997
+ {
31998
+ "description": "The background color of the combobox of select when hovered.",
31999
+ "name": "--mdc-select-background-color-hover"
32000
+ },
32001
+ {
32002
+ "description": "The background color of the combobox of select when active.",
32003
+ "name": "--mdc-select-background-color-active"
32004
+ },
32005
+ {
32006
+ "description": "The background color of the combobox of select when disabled.",
32007
+ "name": "--mdc-select-background-color-disabled"
32008
+ },
32009
+ {
32010
+ "description": "The text color of the select.",
32011
+ "name": "--mdc-select-text-color"
32012
+ },
32013
+ {
32014
+ "description": "The text color of the selected option in the select.",
32015
+ "name": "--mdc-select-text-color-selected"
32016
+ },
32017
+ {
32018
+ "description": "The text color of the select when disabled.",
32019
+ "name": "--mdc-select-text-color-disabled"
32020
+ },
32021
+ {
32022
+ "description": "The border color of the select.",
32023
+ "name": "--mdc-select-border-color"
32024
+ },
32025
+ {
32026
+ "description": "The border color of the select when disabled.",
32027
+ "name": "--mdc-select-border-color-disabled"
32028
+ },
32029
+ {
32030
+ "description": "The border color of the select when in success state.",
32031
+ "name": "--mdc-select-border-color-success"
32032
+ },
32033
+ {
32034
+ "description": "The border color of the select when in warning state.",
32035
+ "name": "--mdc-select-border-color-warning"
32036
+ },
32037
+ {
32038
+ "description": "The border color of the select when in error state.",
32039
+ "name": "--mdc-select-border-color-error"
32040
+ },
32041
+ {
32042
+ "description": "The width of the select.",
32043
+ "name": "--mdc-select-width"
32044
+ }
32045
+ ],
31868
32046
  "slots": [
31869
32047
  {
31870
32048
  "description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
@@ -31921,6 +32099,28 @@
31921
32099
  "default": "undefined",
31922
32100
  "attribute": "soft-disabled"
31923
32101
  },
32102
+ {
32103
+ "kind": "field",
32104
+ "name": "boundary",
32105
+ "type": {
32106
+ "text": "'clippingAncestors' | string"
32107
+ },
32108
+ "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",
32109
+ "default": "'clippingAncestors'",
32110
+ "attribute": "boundary",
32111
+ "reflects": true
32112
+ },
32113
+ {
32114
+ "kind": "field",
32115
+ "name": "strategy",
32116
+ "type": {
32117
+ "text": "'absolute' | 'fixed'"
32118
+ },
32119
+ "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.",
32120
+ "default": "absolute",
32121
+ "attribute": "strategy",
32122
+ "reflects": true
32123
+ },
31924
32124
  {
31925
32125
  "kind": "method",
31926
32126
  "name": "getAllValidOptions",
@@ -32563,6 +32763,24 @@
32563
32763
  "default": "undefined",
32564
32764
  "fieldName": "softDisabled"
32565
32765
  },
32766
+ {
32767
+ "name": "boundary",
32768
+ "type": {
32769
+ "text": "'clippingAncestors' | string"
32770
+ },
32771
+ "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",
32772
+ "default": "'clippingAncestors'",
32773
+ "fieldName": "boundary"
32774
+ },
32775
+ {
32776
+ "name": "strategy",
32777
+ "type": {
32778
+ "text": "'absolute' | 'fixed'"
32779
+ },
32780
+ "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.",
32781
+ "default": "absolute",
32782
+ "fieldName": "strategy"
32783
+ },
32566
32784
  {
32567
32785
  "name": "name",
32568
32786
  "type": {
@@ -32742,7 +32960,7 @@
32742
32960
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
32743
32961
  },
32744
32962
  "tagName": "mdc-select",
32745
- "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 */",
32963
+ "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 */",
32746
32964
  "customElement": true
32747
32965
  }
32748
32966
  ],
@@ -38132,7 +38350,7 @@
38132
38350
  "kind": "field",
38133
38351
  "name": "boundaryPadding",
38134
38352
  "type": {
38135
- "text": "undefined | number"
38353
+ "text": "number | undefined"
38136
38354
  },
38137
38355
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
38138
38356
  "default": "undefined",
@@ -38368,6 +38586,21 @@
38368
38586
  "module": "components/popover/popover.component.js"
38369
38587
  }
38370
38588
  },
38589
+ {
38590
+ "kind": "field",
38591
+ "name": "strategy",
38592
+ "type": {
38593
+ "text": "'absolute' | 'fixed'"
38594
+ },
38595
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
38596
+ "default": "absolute",
38597
+ "attribute": "strategy",
38598
+ "reflects": true,
38599
+ "inheritedFrom": {
38600
+ "name": "Popover",
38601
+ "module": "components/popover/popover.component.js"
38602
+ }
38603
+ },
38371
38604
  {
38372
38605
  "kind": "field",
38373
38606
  "name": "role",
@@ -38920,7 +39153,7 @@
38920
39153
  {
38921
39154
  "name": "boundary-padding",
38922
39155
  "type": {
38923
- "text": "undefined | number"
39156
+ "text": "number | undefined"
38924
39157
  },
38925
39158
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
38926
39159
  "default": "undefined",
@@ -39151,6 +39384,19 @@
39151
39384
  "module": "src/components/popover/popover.component.ts"
39152
39385
  }
39153
39386
  },
39387
+ {
39388
+ "name": "strategy",
39389
+ "type": {
39390
+ "text": "'absolute' | 'fixed'"
39391
+ },
39392
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
39393
+ "default": "absolute",
39394
+ "fieldName": "strategy",
39395
+ "inheritedFrom": {
39396
+ "name": "Popover",
39397
+ "module": "src/components/popover/popover.component.ts"
39398
+ }
39399
+ },
39154
39400
  {
39155
39401
  "name": "role",
39156
39402
  "type": {
@@ -40132,7 +40378,7 @@
40132
40378
  "kind": "field",
40133
40379
  "name": "boundaryPadding",
40134
40380
  "type": {
40135
- "text": "undefined | number"
40381
+ "text": "number | undefined"
40136
40382
  },
40137
40383
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
40138
40384
  "default": "undefined",
@@ -40368,6 +40614,21 @@
40368
40614
  "module": "components/popover/popover.component.js"
40369
40615
  }
40370
40616
  },
40617
+ {
40618
+ "kind": "field",
40619
+ "name": "strategy",
40620
+ "type": {
40621
+ "text": "'absolute' | 'fixed'"
40622
+ },
40623
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
40624
+ "default": "absolute",
40625
+ "attribute": "strategy",
40626
+ "reflects": true,
40627
+ "inheritedFrom": {
40628
+ "name": "Popover",
40629
+ "module": "components/popover/popover.component.js"
40630
+ }
40631
+ },
40371
40632
  {
40372
40633
  "kind": "field",
40373
40634
  "name": "role",
@@ -40921,7 +41182,7 @@
40921
41182
  {
40922
41183
  "name": "boundary-padding",
40923
41184
  "type": {
40924
- "text": "undefined | number"
41185
+ "text": "number | undefined"
40925
41186
  },
40926
41187
  "description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
40927
41188
  "default": "undefined",
@@ -41152,6 +41413,19 @@
41152
41413
  "module": "src/components/popover/popover.component.ts"
41153
41414
  }
41154
41415
  },
41416
+ {
41417
+ "name": "strategy",
41418
+ "type": {
41419
+ "text": "'absolute' | 'fixed'"
41420
+ },
41421
+ "description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
41422
+ "default": "absolute",
41423
+ "fieldName": "strategy",
41424
+ "inheritedFrom": {
41425
+ "name": "Popover",
41426
+ "module": "src/components/popover/popover.component.ts"
41427
+ }
41428
+ },
41155
41429
  {
41156
41430
  "name": "role",
41157
41431
  "type": {
@@ -27,6 +27,20 @@ import Component from '../../components/select';
27
27
  * @event input - (React: onInput) This event is dispatched when the select is changed.
28
28
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.
29
29
  * @event focus - (React: onFocus) This event is dispatched when the select receives focus.
30
+ *
31
+ * @cssproperty --mdc-select-background-color - The background color of the combobox of select.
32
+ * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.
33
+ * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.
34
+ * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.
35
+ * @cssproperty --mdc-select-text-color - The text color of the select.
36
+ * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.
37
+ * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.
38
+ * @cssproperty --mdc-select-border-color - The border color of the select.
39
+ * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.
40
+ * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.
41
+ * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.
42
+ * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.
43
+ * @cssproperty --mdc-select-width - The width of the select.
30
44
  */
31
45
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
32
46
  onChange: EventName<import("../../components/select/select.types").SelectChangeEvent>;
@@ -29,6 +29,20 @@ import { TAG_NAME } from '../../components/select/select.constants';
29
29
  * @event input - (React: onInput) This event is dispatched when the select is changed.
30
30
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.
31
31
  * @event focus - (React: onFocus) This event is dispatched when the select receives focus.
32
+ *
33
+ * @cssproperty --mdc-select-background-color - The background color of the combobox of select.
34
+ * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.
35
+ * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.
36
+ * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.
37
+ * @cssproperty --mdc-select-text-color - The text color of the select.
38
+ * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.
39
+ * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.
40
+ * @cssproperty --mdc-select-border-color - The border color of the select.
41
+ * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.
42
+ * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.
43
+ * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.
44
+ * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.
45
+ * @cssproperty --mdc-select-width - The width of the select.
32
46
  */
33
47
  const reactWrapper = createComponent({
34
48
  tagName: TAG_NAME,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.103.1",
4
+ "version": "0.103.3",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"