@lumx/react 3.0.6-alpha.1 → 3.0.6-alpha.2
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/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@juggle/resize-observer": "^3.2.0",
|
|
10
|
-
"@lumx/core": "^3.0.6-alpha.
|
|
11
|
-
"@lumx/icons": "^3.0.6-alpha.
|
|
10
|
+
"@lumx/core": "^3.0.6-alpha.2",
|
|
11
|
+
"@lumx/icons": "^3.0.6-alpha.2",
|
|
12
12
|
"@popperjs/core": "^2.5.4",
|
|
13
13
|
"body-scroll-lock": "^3.1.5",
|
|
14
14
|
"classnames": "^2.2.6",
|
|
@@ -114,6 +114,6 @@
|
|
|
114
114
|
"build:storybook": "cd storybook && ./build"
|
|
115
115
|
},
|
|
116
116
|
"sideEffects": false,
|
|
117
|
-
"version": "3.0.6-alpha.
|
|
118
|
-
"gitHead": "
|
|
117
|
+
"version": "3.0.6-alpha.2",
|
|
118
|
+
"gitHead": "08b0d777dc906cf3a6816c9cb9e2d4b57ddaf8e1"
|
|
119
119
|
}
|
|
@@ -41,7 +41,10 @@ export interface AutocompleteProps extends GenericProps, HasTheme {
|
|
|
41
41
|
*/
|
|
42
42
|
placement?: Placement;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Manage dropdown width:
|
|
45
|
+
* - `maxWidth`: dropdown not bigger than anchor
|
|
46
|
+
* - `minWidth` or `true`: dropdown not smaller than anchor
|
|
47
|
+
* - `width`: dropdown equal to the anchor.
|
|
45
48
|
* @see {@link DropdownProps#fitToAnchorWidth}
|
|
46
49
|
*/
|
|
47
50
|
fitToAnchorWidth?: DropdownProps['fitToAnchorWidth'];
|
|
@@ -34,7 +34,10 @@ export interface DropdownProps extends GenericProps {
|
|
|
34
34
|
*/
|
|
35
35
|
closeOnEscape?: boolean;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Manage dropdown width:
|
|
38
|
+
* - `maxWidth`: dropdown not bigger than anchor
|
|
39
|
+
* - `minWidth` or `true`: dropdown not smaller than anchor
|
|
40
|
+
* - `width`: dropdown equal to the anchor.
|
|
38
41
|
* @see {@link PopoverProps#fitToAnchorWidth}
|
|
39
42
|
*/
|
|
40
43
|
fitToAnchorWidth?: PopoverProps['fitToAnchorWidth'];
|
|
@@ -86,7 +86,12 @@ export interface PopoverProps extends GenericProps {
|
|
|
86
86
|
closeOnEscape?: boolean;
|
|
87
87
|
/** Shadow elevation. */
|
|
88
88
|
elevation?: Elevation;
|
|
89
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Manage popover width:
|
|
91
|
+
* - `maxWidth`: popover not bigger than anchor
|
|
92
|
+
* - `minWidth` or `true`: popover not smaller than anchor
|
|
93
|
+
* - `width`: popover equal to the anchor.
|
|
94
|
+
*/
|
|
90
95
|
fitToAnchorWidth?: AnchorWidthOption | boolean;
|
|
91
96
|
/** Shrink popover if even after flipping there is not enough space. */
|
|
92
97
|
fitWithinViewportHeight?: boolean;
|