@loomhq/lens 11.27.0 → 11.28.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/cjs/index.js
CHANGED
|
@@ -3109,7 +3109,9 @@ var menuPositions = {
|
|
|
3109
3109
|
left: "bottom-start",
|
|
3110
3110
|
right: "bottom-end",
|
|
3111
3111
|
["topLeft"]: "top-start",
|
|
3112
|
-
["topRight"]: "top-end"
|
|
3112
|
+
["topRight"]: "top-end",
|
|
3113
|
+
leftSide: "left-start",
|
|
3114
|
+
rightSide: "right-start"
|
|
3113
3115
|
};
|
|
3114
3116
|
var MenuWrapper = import_styled16.default.ul`
|
|
3115
3117
|
background-color: ${getColorValue("overlay")};
|
package/dist/esm/index.js
CHANGED
|
@@ -2890,7 +2890,9 @@ var menuPositions = {
|
|
|
2890
2890
|
left: "bottom-start",
|
|
2891
2891
|
right: "bottom-end",
|
|
2892
2892
|
["topLeft"]: "top-start",
|
|
2893
|
-
["topRight"]: "top-end"
|
|
2893
|
+
["topRight"]: "top-end",
|
|
2894
|
+
leftSide: "left-start",
|
|
2895
|
+
rightSide: "right-start"
|
|
2894
2896
|
};
|
|
2895
2897
|
var MenuWrapper = styled16.ul`
|
|
2896
2898
|
background-color: ${getColorValue("overlay")};
|
|
@@ -10,7 +10,7 @@ type OptionsObject = {
|
|
|
10
10
|
};
|
|
11
11
|
type DropdownProps = {
|
|
12
12
|
trigger?: React.ReactNode;
|
|
13
|
-
menuPosition?: 'left' | 'right' | 'topRight' | 'topLeft';
|
|
13
|
+
menuPosition?: 'left' | 'right' | 'topRight' | 'topLeft' | 'leftSide' | 'rightSide';
|
|
14
14
|
options?: OptionsObject[];
|
|
15
15
|
isOpen?: boolean;
|
|
16
16
|
menuZIndex?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type MenuPositionsProps = {
|
|
3
|
-
[key: string]: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
3
|
+
[key: string]: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'left-start' | 'right-start';
|
|
4
4
|
};
|
|
5
5
|
export declare const menuPositions: MenuPositionsProps;
|
|
6
6
|
declare const MenuWrapper: import("@emotion/styled").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, MenuProps, object>;
|