@mirohq/design-system-dropdown-menu 4.1.9 → 4.1.11-combobox.1
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/main.js +66 -39
- package/dist/main.js.map +1 -1
- package/dist/module.js +66 -39
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +6 -3
- package/package.json +10 -10
package/dist/types.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ declare type Align = 'start' | 'center' | 'end';
|
|
|
64
64
|
declare type StickyBehavior = 'partial' | 'always';
|
|
65
65
|
declare type ContainerSpacing = ExtractValidKeys<StyledContentProps['containerSpacing']>;
|
|
66
66
|
declare type Overflow = 'auto' | 'visible';
|
|
67
|
+
declare type Direction = 'ltr' | 'rtl';
|
|
67
68
|
|
|
68
69
|
type types_PointerDownOutsideEvent = PointerDownOutsideEvent;
|
|
69
70
|
type types_FocusOutsideEvent = FocusOutsideEvent;
|
|
@@ -72,6 +73,7 @@ type types_Align = Align;
|
|
|
72
73
|
type types_StickyBehavior = StickyBehavior;
|
|
73
74
|
type types_ContainerSpacing = ContainerSpacing;
|
|
74
75
|
type types_Overflow = Overflow;
|
|
76
|
+
type types_Direction = Direction;
|
|
75
77
|
declare namespace types {
|
|
76
78
|
export {
|
|
77
79
|
types_PointerDownOutsideEvent as PointerDownOutsideEvent,
|
|
@@ -81,6 +83,7 @@ declare namespace types {
|
|
|
81
83
|
types_StickyBehavior as StickyBehavior,
|
|
82
84
|
types_ContainerSpacing as ContainerSpacing,
|
|
83
85
|
types_Overflow as Overflow,
|
|
86
|
+
types_Direction as Direction,
|
|
84
87
|
};
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -186,7 +189,7 @@ interface ContentProps extends StyledContentProps {
|
|
|
186
189
|
*/
|
|
187
190
|
maxHeight?: CSSProperties['maxHeight'];
|
|
188
191
|
/**
|
|
189
|
-
* Setting overflow as "visible" means that the content can extend beyond
|
|
192
|
+
* Setting overflow as "visible" means that the content can extend beyond
|
|
190
193
|
* its collision boundary without any clipping or scrolling being
|
|
191
194
|
* applied.
|
|
192
195
|
* When set to "auto," a scrollbar is added if the content exceeds its
|
|
@@ -442,7 +445,7 @@ interface SubContentProps extends StyledSubContentProps {
|
|
|
442
445
|
*/
|
|
443
446
|
maxHeight?: CSSProperties['maxHeight'];
|
|
444
447
|
/**
|
|
445
|
-
* Setting overflow as "visible" means that the content can extend beyond
|
|
448
|
+
* Setting overflow as "visible" means that the content can extend beyond
|
|
446
449
|
* its collision boundary without any clipping or scrolling being
|
|
447
450
|
* applied.
|
|
448
451
|
* When set to "auto," a scrollbar is added if the content exceeds its
|
|
@@ -528,7 +531,7 @@ interface DropdownMenuProps {
|
|
|
528
531
|
* (left-to-right) reading mode.
|
|
529
532
|
* @default 'ltr'
|
|
530
533
|
*/
|
|
531
|
-
direction?:
|
|
534
|
+
direction?: Direction;
|
|
532
535
|
/**
|
|
533
536
|
* The current dropdown open state.
|
|
534
537
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-dropdown-menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.11-combobox.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
|
31
31
|
"@react-aria/utils": "^3.13.0",
|
|
32
|
-
"@mirohq/design-system-base-hotkey": "^0.1.
|
|
33
|
-
"@mirohq/design-system-base-
|
|
34
|
-
"@mirohq/design-system-base-icon": "^0.1.30",
|
|
35
|
-
"@mirohq/design-system-icons": "^0.43.1",
|
|
32
|
+
"@mirohq/design-system-base-hotkey": "^0.1.11",
|
|
33
|
+
"@mirohq/design-system-base-icon": "^0.1.31",
|
|
36
34
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
37
|
-
"@mirohq/design-system-
|
|
38
|
-
"@mirohq/design-system-
|
|
39
|
-
"@mirohq/design-system-
|
|
40
|
-
"@mirohq/design-system-
|
|
35
|
+
"@mirohq/design-system-icons": "^0.43.3-combobox.0",
|
|
36
|
+
"@mirohq/design-system-base-switch": "^0.1.31-combobox.0",
|
|
37
|
+
"@mirohq/design-system-scroll-area": "^0.2.12-combobox.0",
|
|
38
|
+
"@mirohq/design-system-stitches": "^2.6.10",
|
|
39
|
+
"@mirohq/design-system-styles": "^1.2.10-combobox.0",
|
|
40
|
+
"@mirohq/design-system-types": "^0.10.0",
|
|
41
41
|
"@mirohq/design-system-use-layout-effect": "^0.2.1",
|
|
42
|
-
"@mirohq/design-system-utils": "^0.15.
|
|
42
|
+
"@mirohq/design-system-utils": "^0.15.4"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "rollup -c ../../../rollup.config.js",
|