@momentum-design/components 0.144.4 → 0.144.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ declare const Combobox_base: import("../../utils/mixins/index.types").Constructo
47
47
  * @cssproperty --mdc-combobox-height - The height of the combobox trigger control
48
48
  * @cssproperty --mdc-combobox-icon-color - The icon color of the combobox
49
49
  * @cssproperty --mdc-combobox-listbox-height - The height of the listbox inside the combobox
50
- * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox
50
+ * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox. With `strategy="fixed"`, the default `100%` matches the combobox trigger width.
51
51
  * @cssproperty --mdc-combobox-width - The width of the combobox
52
52
  * @cssproperty --mdc-combobox-hover-background-color - The background color of the combobox when hovered
53
53
  * @cssproperty --mdc-label-font-size - Font size for the label text.
@@ -58,7 +58,7 @@ import styles from './combobox.styles';
58
58
  * @cssproperty --mdc-combobox-height - The height of the combobox trigger control
59
59
  * @cssproperty --mdc-combobox-icon-color - The icon color of the combobox
60
60
  * @cssproperty --mdc-combobox-listbox-height - The height of the listbox inside the combobox
61
- * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox
61
+ * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox. With `strategy="fixed"`, the default `100%` matches the combobox trigger width.
62
62
  * @cssproperty --mdc-combobox-width - The width of the combobox
63
63
  * @cssproperty --mdc-combobox-hover-background-color - The background color of the combobox when hovered
64
64
  * @cssproperty --mdc-label-font-size - Font size for the label text.
@@ -36,7 +36,7 @@ declare const Popover_base: import("../../utils/mixins/index.types").Constructor
36
36
  * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover
37
37
  * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover
38
38
  * @cssproperty --mdc-popover-elevation-3 - elevation of the popover
39
- * @cssproperty --mdc-popover-max-width - max width of the popover
39
+ * @cssproperty --mdc-popover-max-width - max width of the popover. With `strategy="fixed"`, `100%` makes the popover as wide as its trigger.
40
40
  * @cssproperty --mdc-popover-max-height - max height of the popover
41
41
  * @cssproperty --mdc-popover-width - width of the popover
42
42
  * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)
@@ -42,7 +42,7 @@ import { PopoverUtils } from './popover.utils';
42
42
  * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover
43
43
  * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover
44
44
  * @cssproperty --mdc-popover-elevation-3 - elevation of the popover
45
- * @cssproperty --mdc-popover-max-width - max width of the popover
45
+ * @cssproperty --mdc-popover-max-width - max width of the popover. With `strategy="fixed"`, `100%` makes the popover as wide as its trigger.
46
46
  * @cssproperty --mdc-popover-max-height - max height of the popover
47
47
  * @cssproperty --mdc-popover-width - width of the popover
48
48
  * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)
@@ -691,6 +691,25 @@ class Popover extends KeyDownHandledMixin(KeyToActionMixin(BackdropMixin(Prevent
691
691
  rootBoundary,
692
692
  }));
693
693
  }
694
+ if (this.strategy === 'fixed') {
695
+ // A percentage max-width resolves against the viewport (or a filtered ancestor) under `fixed`,
696
+ // so the default `100%` is replaced with the trigger width, as with `absolute`.
697
+ middleware.push(size({
698
+ boundary,
699
+ rootBoundary,
700
+ apply: ({ rects }) => {
701
+ const maxWidth = getComputedStyle(this).getPropertyValue('--mdc-popover-max-width').trim();
702
+ if (maxWidth !== '100%') {
703
+ this.style.removeProperty('--mdc-popover-internal-trigger-width');
704
+ return;
705
+ }
706
+ this.style.setProperty('--mdc-popover-internal-trigger-width', `${rects.reference.width}px`);
707
+ },
708
+ }));
709
+ }
710
+ else {
711
+ this.style.removeProperty('--mdc-popover-internal-trigger-width');
712
+ }
694
713
  if (this.size) {
695
714
  // expose a CSS variable for the available height
696
715
  // so that it can be used in other components styles
@@ -15,6 +15,8 @@ const styles = css `
15
15
  --mdc-popover-max-height: auto;
16
16
  --mdc-popover-backdrop-color: var(--mds-color-theme-common-overlays-secondary-normal);
17
17
  --mdc-backdrop-mixin-background-color: var(--mdc-popover-backdrop-color);
18
+ /* set inline by positionPopover; 'initial' stops nested popovers from inheriting it */
19
+ --mdc-popover-internal-trigger-width: initial;
18
20
 
19
21
  display: none;
20
22
  position: absolute;
@@ -27,7 +29,7 @@ const styles = css `
27
29
  border: 0.0625rem solid var(--mdc-popover-border-color);
28
30
  filter: var(--mdc-popover-elevation-3);
29
31
  max-width: var(--mdc-popover-max-width);
30
- width: var(--mdc-popover-width, var(--mdc-popover-max-width));
32
+ width: var(--mdc-popover-internal-trigger-width, var(--mdc-popover-width, var(--mdc-popover-max-width)));
31
33
  }
32
34
 
33
35
  :host([strategy='absolute']) {
@@ -61,7 +63,7 @@ const styles = css `
61
63
  position: relative;
62
64
  cursor: default;
63
65
  padding: 0.75rem;
64
- z-index: 9998;
66
+ /* No z-index: a stacking context on this scroller clips nested fixed overlays in Safari. */
65
67
  max-height: var(--mdc-popover-max-height);
66
68
  }
67
69
 
@@ -68,7 +68,7 @@ declare const Select_base: import("../../utils/mixins/index.types").Constructor<
68
68
  * @cssproperty --mdc-select-height - The height of the select trigger control.
69
69
  * @cssproperty --mdc-select-width - The width of the select.
70
70
  * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.
71
- * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).
71
+ * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`). With `strategy="fixed"`, the default `100%` matches the select trigger width.
72
72
  */
73
73
  declare class Select extends Select_base implements AssociatedFormControl {
74
74
  /** @internal */
@@ -72,7 +72,7 @@ import styles from './select.styles';
72
72
  * @cssproperty --mdc-select-height - The height of the select trigger control.
73
73
  * @cssproperty --mdc-select-width - The width of the select.
74
74
  * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.
75
- * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).
75
+ * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`). With `strategy="fixed"`, the default `100%` matches the select trigger width.
76
76
  */
77
77
  class Select extends ListNavigationMixin(KeyToActionMixin(CaptureDestroyEventForChildElement(AutoFocusOnMountMixin(FormInternalsMixin(DataAriaLabelMixin(FormfieldWrapper)))))) {
78
78
  constructor() {
@@ -45,6 +45,7 @@ declare const TimePicker_base: import("../../utils/mixins/index.types").Construc
45
45
  * @cssproperty --mdc-timepicker-height - The height of the timepicker trigger control.
46
46
  * @cssproperty --mdc-timepicker-width - Width of the timepicker component.
47
47
  * @cssproperty --mdc-timepicker-listbox-height - The max-height of the dropdown listbox. Default shows ~6 items.
48
+ * @cssproperty --mdc-timepicker-listbox-width - The width of the dropdown listbox (default: `100%`). With `strategy="fixed"`, the default `100%` matches the timepicker trigger width. The listbox is never narrower than its options.
48
49
  *
49
50
  * @csspart label - The label element.
50
51
  * @csspart label-text - The container for the label and required indicator elements.
@@ -43,6 +43,7 @@ import styles from './timepicker.styles';
43
43
  * @cssproperty --mdc-timepicker-height - The height of the timepicker trigger control.
44
44
  * @cssproperty --mdc-timepicker-width - Width of the timepicker component.
45
45
  * @cssproperty --mdc-timepicker-listbox-height - The max-height of the dropdown listbox. Default shows ~6 items.
46
+ * @cssproperty --mdc-timepicker-listbox-width - The width of the dropdown listbox (default: `100%`). With `strategy="fixed"`, the default `100%` matches the timepicker trigger width. The listbox is never narrower than its options.
46
47
  *
47
48
  * @csspart label - The label element.
48
49
  * @csspart label-text - The container for the label and required indicator elements.
@@ -13431,7 +13431,7 @@
13431
13431
  }
13432
13432
  },
13433
13433
  {
13434
- "description": "max width of the popover",
13434
+ "description": "max width of the popover. With `strategy=\"fixed\"`, `100%` makes the popover as wide as its trigger.",
13435
13435
  "name": "--mdc-popover-max-width",
13436
13436
  "inheritedFrom": {
13437
13437
  "name": "Popover",
@@ -14798,7 +14798,7 @@
14798
14798
  "name": "--mdc-combobox-listbox-height"
14799
14799
  },
14800
14800
  {
14801
- "description": "The width of the listbox inside the combobox",
14801
+ "description": "The width of the listbox inside the combobox. With `strategy=\"fixed\"`, the default `100%` matches the combobox trigger width.",
14802
14802
  "name": "--mdc-combobox-listbox-width"
14803
14803
  },
14804
14804
  {
@@ -15866,7 +15866,7 @@
15866
15866
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
15867
15867
  },
15868
15868
  "tagName": "mdc-combobox",
15869
- "jsDoc": "/**\n * @tagname mdc-combobox\n *\n * @dependency mdc-buttonsimple\n * @dependency mdc-icon\n * @dependency mdc-input\n * @dependency mdc-listitem\n * @dependency mdc-popover\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @event click - (React: onClick) This event is dispatched when the combobox is clicked.\n * @event change - (React: onChange) This event is dispatched when the combobox is changed.\n * @event input - (React: onInput) This event is dispatched when the combobox is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the combobox.\n * @event focus - (React: onFocus) This event is dispatched when the combobox receives focus.\n *\n * @cssproperty --mdc-combobox-border-color - The border color of the combobox\n * @cssproperty --mdc-combobox-height - The height of the combobox trigger control\n * @cssproperty --mdc-combobox-icon-color - The icon color of the combobox\n * @cssproperty --mdc-combobox-listbox-height - The height of the listbox inside the combobox\n * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox\n * @cssproperty --mdc-combobox-width - The width of the combobox\n * @cssproperty --mdc-combobox-hover-background-color - The background color of the combobox when hovered\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart internal-native-input - The internal native input element of the combobox.\n * @csspart input-text - The input element of the combobox.\n * @csspart no-result-text - The no result text element of the combobox.\n * @csspart combobox-base - The base container element of the combobox.\n * @csspart combobox-button - The button element of the combobox.\n * @csspart combobox-button-icon - The icon element of the button of the combobox.\n */",
15869
+ "jsDoc": "/**\n * @tagname mdc-combobox\n *\n * @dependency mdc-buttonsimple\n * @dependency mdc-icon\n * @dependency mdc-input\n * @dependency mdc-listitem\n * @dependency mdc-popover\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @event click - (React: onClick) This event is dispatched when the combobox is clicked.\n * @event change - (React: onChange) This event is dispatched when the combobox is changed.\n * @event input - (React: onInput) This event is dispatched when the combobox is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the combobox.\n * @event focus - (React: onFocus) This event is dispatched when the combobox receives focus.\n *\n * @cssproperty --mdc-combobox-border-color - The border color of the combobox\n * @cssproperty --mdc-combobox-height - The height of the combobox trigger control\n * @cssproperty --mdc-combobox-icon-color - The icon color of the combobox\n * @cssproperty --mdc-combobox-listbox-height - The height of the listbox inside the combobox\n * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox. With `strategy=\"fixed\"`, the default `100%` matches the combobox trigger width.\n * @cssproperty --mdc-combobox-width - The width of the combobox\n * @cssproperty --mdc-combobox-hover-background-color - The background color of the combobox when hovered\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart internal-native-input - The internal native input element of the combobox.\n * @csspart input-text - The input element of the combobox.\n * @csspart no-result-text - The no result text element of the combobox.\n * @csspart combobox-base - The base container element of the combobox.\n * @csspart combobox-button - The button element of the combobox.\n * @csspart combobox-button-icon - The icon element of the button of the combobox.\n */",
15870
15870
  "customElement": true
15871
15871
  }
15872
15872
  ],
@@ -31220,7 +31220,7 @@
31220
31220
  }
31221
31221
  },
31222
31222
  {
31223
- "description": "max width of the popover",
31223
+ "description": "max width of the popover. With `strategy=\"fixed\"`, `100%` makes the popover as wide as its trigger.",
31224
31224
  "name": "--mdc-popover-max-width",
31225
31225
  "inheritedFrom": {
31226
31226
  "name": "Popover",
@@ -37680,7 +37680,7 @@
37680
37680
  "name": "--mdc-popover-elevation-3"
37681
37681
  },
37682
37682
  {
37683
- "description": "max width of the popover",
37683
+ "description": "max width of the popover. With `strategy=\"fixed\"`, `100%` makes the popover as wide as its trigger.",
37684
37684
  "name": "--mdc-popover-max-width"
37685
37685
  },
37686
37686
  {
@@ -38640,7 +38640,7 @@
38640
38640
  "module": "/src/models"
38641
38641
  },
38642
38642
  "tagName": "mdc-popover",
38643
- "jsDoc": "/**\n * @tagname mdc-popover\n *\n * @dependency mdc-button\n *\n * @event shown - (React: onShown) This event is dispatched when the popover is shown\n * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden\n * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n * @cssproperty --mdc-popover-max-width - max width of the popover\n * @cssproperty --mdc-popover-max-height - max height of the popover\n * @cssproperty --mdc-popover-width - width of the popover\n * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)\n *\n * @slot - Default slot for the popover content\n *\n * @csspart popover-close - The close button of the popover.\n * @csspart popover-content - The content of the popover.\n * @csspart popover-hover-bridge - The hover bridge of the popover.\n */",
38643
+ "jsDoc": "/**\n * @tagname mdc-popover\n *\n * @dependency mdc-button\n *\n * @event shown - (React: onShown) This event is dispatched when the popover is shown\n * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden\n * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n * @cssproperty --mdc-popover-max-width - max width of the popover. With `strategy=\"fixed\"`, `100%` makes the popover as wide as its trigger.\n * @cssproperty --mdc-popover-max-height - max height of the popover\n * @cssproperty --mdc-popover-width - width of the popover\n * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)\n *\n * @slot - Default slot for the popover content\n *\n * @csspart popover-close - The close button of the popover.\n * @csspart popover-content - The content of the popover.\n * @csspart popover-hover-bridge - The hover bridge of the popover.\n */",
38644
38644
  "customElement": true
38645
38645
  }
38646
38646
  ],
@@ -45886,7 +45886,7 @@
45886
45886
  "name": "--mdc-select-listbox-height"
45887
45887
  },
45888
45888
  {
45889
- "description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
45889
+ "description": "The width of the listbox inside the select (default: `--mdc-select-width`). With `strategy=\"fixed\"`, the default `100%` matches the select trigger width.",
45890
45890
  "name": "--mdc-select-listbox-width"
45891
45891
  }
45892
45892
  ],
@@ -47175,7 +47175,7 @@
47175
47175
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
47176
47176
  },
47177
47177
  "tagName": "mdc-select",
47178
- "jsDoc": "/**\n * @tagname mdc-select\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\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 * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-height - The height of the select trigger control.\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 */",
47178
+ "jsDoc": "/**\n * @tagname mdc-select\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\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 * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-height - The height of the select trigger control.\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`). With `strategy=\"fixed\"`, the default `100%` matches the select trigger width.\n */",
47179
47179
  "customElement": true
47180
47180
  }
47181
47181
  ],
@@ -52785,6 +52785,10 @@
52785
52785
  "description": "The max-height of the dropdown listbox. Default shows ~6 items.",
52786
52786
  "name": "--mdc-timepicker-listbox-height"
52787
52787
  },
52788
+ {
52789
+ "description": "The width of the dropdown listbox (default: `100%`). With `strategy=\"fixed\"`, the default `100%` matches the timepicker trigger width. The listbox is never narrower than its options.",
52790
+ "name": "--mdc-timepicker-listbox-width"
52791
+ },
52788
52792
  {
52789
52793
  "description": "Font size for the label text.",
52790
52794
  "name": "--mdc-label-font-size",
@@ -53993,7 +53997,7 @@
53993
53997
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
53994
53998
  },
53995
53999
  "tagName": "mdc-timepicker",
53996
- "jsDoc": "/**\n * @tagname mdc-timepicker\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-option\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @event input - (React: onInput) This event is dispatched when the time value changes.\n * @event change - (React: onChange) This event is dispatched when the time value is committed.\n * @event focus - (React: onFocus) This event is dispatched when the timepicker receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the timepicker loses focus.\n *\n * @slot label - Slot for the label element.\n * @slot toggletip - Slot for the toggletip info icon button.\n * @slot help-icon - Slot for the helper/validation icon.\n * @slot help-text - Slot for the helper/validation text.\n *\n * @cssproperty --mdc-timepicker-background-color - Background color of the timepicker input.\n * @cssproperty --mdc-timepicker-border-color - Border color of the timepicker input.\n * @cssproperty --mdc-timepicker-text-color - Text color of the timepicker input.\n * @cssproperty --mdc-timepicker-height - The height of the timepicker trigger control.\n * @cssproperty --mdc-timepicker-width - Width of the timepicker component.\n * @cssproperty --mdc-timepicker-listbox-height - The max-height of the dropdown listbox. Default shows ~6 items.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element.\n * @csspart info-icon-btn - The info icon button element.\n * @csspart label-toggletip - The toggletip element.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element.\n * @csspart help-text-container - The container for helper/validation elements.\n * @csspart container - The outer container for the input and popover.\n * @csspart base-container - The input container with border and background.\n * @csspart spinbutton-group - The container for spinbutton elements.\n * @csspart spinbutton - A spinbutton input element.\n * @csspart separator - The colon separator between spinbuttons.\n * @csspart period - The AM/PM period spinbutton.\n * @csspart icon-container - The dropdown arrow button container.\n * @csspart leading-icon - The prefix icon element displayed before spinbuttons.\n * @csspart native-input - The hidden native input for form participation.\n * @csspart listbox - The dropdown list container.\n */",
54000
+ "jsDoc": "/**\n * @tagname mdc-timepicker\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-option\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @event input - (React: onInput) This event is dispatched when the time value changes.\n * @event change - (React: onChange) This event is dispatched when the time value is committed.\n * @event focus - (React: onFocus) This event is dispatched when the timepicker receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the timepicker loses focus.\n *\n * @slot label - Slot for the label element.\n * @slot toggletip - Slot for the toggletip info icon button.\n * @slot help-icon - Slot for the helper/validation icon.\n * @slot help-text - Slot for the helper/validation text.\n *\n * @cssproperty --mdc-timepicker-background-color - Background color of the timepicker input.\n * @cssproperty --mdc-timepicker-border-color - Border color of the timepicker input.\n * @cssproperty --mdc-timepicker-text-color - Text color of the timepicker input.\n * @cssproperty --mdc-timepicker-height - The height of the timepicker trigger control.\n * @cssproperty --mdc-timepicker-width - Width of the timepicker component.\n * @cssproperty --mdc-timepicker-listbox-height - The max-height of the dropdown listbox. Default shows ~6 items.\n * @cssproperty --mdc-timepicker-listbox-width - The width of the dropdown listbox (default: `100%`). With `strategy=\"fixed\"`, the default `100%` matches the timepicker trigger width. The listbox is never narrower than its options.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element.\n * @csspart info-icon-btn - The info icon button element.\n * @csspart label-toggletip - The toggletip element.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element.\n * @csspart help-text-container - The container for helper/validation elements.\n * @csspart container - The outer container for the input and popover.\n * @csspart base-container - The input container with border and background.\n * @csspart spinbutton-group - The container for spinbutton elements.\n * @csspart spinbutton - A spinbutton input element.\n * @csspart separator - The colon separator between spinbuttons.\n * @csspart period - The AM/PM period spinbutton.\n * @csspart icon-container - The dropdown arrow button container.\n * @csspart leading-icon - The prefix icon element displayed before spinbuttons.\n * @csspart native-input - The hidden native input for form participation.\n * @csspart listbox - The dropdown list container.\n */",
53997
54001
  "customElement": true
53998
54002
  }
53999
54003
  ],
@@ -55412,7 +55416,7 @@
55412
55416
  }
55413
55417
  },
55414
55418
  {
55415
- "description": "max width of the popover",
55419
+ "description": "max width of the popover. With `strategy=\"fixed\"`, `100%` makes the popover as wide as its trigger.",
55416
55420
  "name": "--mdc-popover-max-width",
55417
55421
  "inheritedFrom": {
55418
55422
  "name": "Popover",
@@ -56890,7 +56894,7 @@
56890
56894
  }
56891
56895
  },
56892
56896
  {
56893
- "description": "max width of the popover",
56897
+ "description": "max width of the popover. With `strategy=\"fixed\"`, `100%` makes the popover as wide as its trigger.",
56894
56898
  "name": "--mdc-popover-max-width",
56895
56899
  "inheritedFrom": {
56896
56900
  "name": "Popover",
@@ -43,7 +43,7 @@ import type { Events } from '../../components/combobox/combobox.types';
43
43
  * @cssproperty --mdc-combobox-height - The height of the combobox trigger control
44
44
  * @cssproperty --mdc-combobox-icon-color - The icon color of the combobox
45
45
  * @cssproperty --mdc-combobox-listbox-height - The height of the listbox inside the combobox
46
- * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox
46
+ * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox. With `strategy="fixed"`, the default `100%` matches the combobox trigger width.
47
47
  * @cssproperty --mdc-combobox-width - The width of the combobox
48
48
  * @cssproperty --mdc-combobox-hover-background-color - The background color of the combobox when hovered
49
49
  * @cssproperty --mdc-label-font-size - Font size for the label text.
@@ -27,7 +27,7 @@ import { TAG_NAME } from '../../components/combobox/combobox.constants';
27
27
  * @cssproperty --mdc-combobox-height - The height of the combobox trigger control
28
28
  * @cssproperty --mdc-combobox-icon-color - The icon color of the combobox
29
29
  * @cssproperty --mdc-combobox-listbox-height - The height of the listbox inside the combobox
30
- * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox
30
+ * @cssproperty --mdc-combobox-listbox-width - The width of the listbox inside the combobox. With `strategy="fixed"`, the default `100%` matches the combobox trigger width.
31
31
  * @cssproperty --mdc-combobox-width - The width of the combobox
32
32
  * @cssproperty --mdc-combobox-hover-background-color - The background color of the combobox when hovered
33
33
  * @cssproperty --mdc-label-font-size - Font size for the label text.
@@ -33,7 +33,7 @@ import type { Events } from '../../components/popover/popover.types';
33
33
  * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover
34
34
  * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover
35
35
  * @cssproperty --mdc-popover-elevation-3 - elevation of the popover
36
- * @cssproperty --mdc-popover-max-width - max width of the popover
36
+ * @cssproperty --mdc-popover-max-width - max width of the popover. With `strategy="fixed"`, `100%` makes the popover as wide as its trigger.
37
37
  * @cssproperty --mdc-popover-max-height - max height of the popover
38
38
  * @cssproperty --mdc-popover-width - width of the popover
39
39
  * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)
@@ -20,7 +20,7 @@ import { TAG_NAME } from '../../components/popover/popover.constants';
20
20
  * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover
21
21
  * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover
22
22
  * @cssproperty --mdc-popover-elevation-3 - elevation of the popover
23
- * @cssproperty --mdc-popover-max-width - max width of the popover
23
+ * @cssproperty --mdc-popover-max-width - max width of the popover. With `strategy="fixed"`, `100%` makes the popover as wide as its trigger.
24
24
  * @cssproperty --mdc-popover-max-height - max height of the popover
25
25
  * @cssproperty --mdc-popover-width - width of the popover
26
26
  * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)
@@ -63,7 +63,7 @@ import type { Events } from '../../components/select/select.types';
63
63
  * @cssproperty --mdc-select-height - The height of the select trigger control.
64
64
  * @cssproperty --mdc-select-width - The width of the select.
65
65
  * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.
66
- * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).
66
+ * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`). With `strategy="fixed"`, the default `100%` matches the select trigger width.
67
67
  */
68
68
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
69
69
  onChange: EventName<Events["onChangeEvent"]>;
@@ -47,7 +47,7 @@ import { TAG_NAME } from '../../components/select/select.constants';
47
47
  * @cssproperty --mdc-select-height - The height of the select trigger control.
48
48
  * @cssproperty --mdc-select-width - The width of the select.
49
49
  * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.
50
- * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).
50
+ * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`). With `strategy="fixed"`, the default `100%` matches the select trigger width.
51
51
  */
52
52
  const reactWrapper = createComponent({
53
53
  tagName: TAG_NAME,
@@ -40,6 +40,7 @@ import type { Events } from '../../components/timepicker/timepicker.types';
40
40
  * @cssproperty --mdc-timepicker-height - The height of the timepicker trigger control.
41
41
  * @cssproperty --mdc-timepicker-width - Width of the timepicker component.
42
42
  * @cssproperty --mdc-timepicker-listbox-height - The max-height of the dropdown listbox. Default shows ~6 items.
43
+ * @cssproperty --mdc-timepicker-listbox-width - The width of the dropdown listbox (default: `100%`). With `strategy="fixed"`, the default `100%` matches the timepicker trigger width. The listbox is never narrower than its options.
43
44
  *
44
45
  * @csspart label - The label element.
45
46
  * @csspart label-text - The container for the label and required indicator elements.
@@ -28,6 +28,7 @@ import { TAG_NAME } from '../../components/timepicker/timepicker.constants';
28
28
  * @cssproperty --mdc-timepicker-height - The height of the timepicker trigger control.
29
29
  * @cssproperty --mdc-timepicker-width - Width of the timepicker component.
30
30
  * @cssproperty --mdc-timepicker-listbox-height - The max-height of the dropdown listbox. Default shows ~6 items.
31
+ * @cssproperty --mdc-timepicker-listbox-width - The width of the dropdown listbox (default: `100%`). With `strategy="fixed"`, the default `100%` matches the timepicker trigger width. The listbox is never narrower than its options.
31
32
  *
32
33
  * @csspart label - The label element.
33
34
  * @csspart label-text - The container for the label and required indicator elements.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@4.18.1",
4
- "version": "0.144.4",
4
+ "version": "0.144.6",
5
5
  "engines": {
6
- "node": ">=24.0.0",
6
+ "node": ">=24.18.0",
7
7
  "npm": ">=8.0.0"
8
8
  },
9
9
  "main": "./dist/index.js",