@momentum-design/components 0.144.5 → 0.144.7
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.
- package/dist/browser/index.js +162 -160
- package/dist/browser/index.js.map +3 -3
- package/dist/components/combobox/combobox.component.d.ts +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/popover/popover.component.d.ts +1 -1
- package/dist/components/popover/popover.component.js +20 -1
- package/dist/components/popover/popover.styles.js +3 -1
- package/dist/components/select/select.component.d.ts +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/timepicker/timepicker.component.d.ts +1 -0
- package/dist/components/timepicker/timepicker.component.js +1 -0
- package/dist/custom-elements.json +793 -15
- package/dist/react/combobox/index.d.ts +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/popover/index.d.ts +1 -1
- package/dist/react/popover/index.js +1 -1
- package/dist/react/select/index.d.ts +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/timepicker/index.d.ts +1 -0
- package/dist/react/timepicker/index.js +1 -0
- package/package.json +2 -2
|
@@ -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