@wireapp/react-ui-kit 9.69.7-beta.11.d0ceefa60 → 9.69.7-beta.14.d7a6c4c53
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CSSObject } from '@emotion/react';
|
|
3
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
4
|
/**
|
|
4
5
|
* A dropdown menu component that provides a customizable and accessible dropdown interface.
|
|
5
6
|
* Built on top of accessible primitives, it offers a flexible way to display
|
|
@@ -48,5 +49,8 @@ export declare const DropdownMenu: {
|
|
|
48
49
|
children: ReactNode;
|
|
49
50
|
onClick: () => void;
|
|
50
51
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
52
|
+
SubContent: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
53
|
+
SubTrigger: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
54
|
+
Sub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
51
55
|
};
|
|
52
56
|
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/Surface/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/Surface/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAIvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,YAAY;mBAAgB;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAC;8CAQ3D;QACD,QAAQ,EAAE,SAAS,CAAC;QACpB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,SAAS,CAAC;KACpB;4BAUwC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAC;kCAYf;QAAC,QAAQ,EAAE,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAC;;;;CAhCxF,CAAC"}
|
|
@@ -75,3 +75,6 @@ const DropdownMenuItem = ({ children, onClick }) => {
|
|
|
75
75
|
return ((0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.Item, { css: DropdownMenu_styles_1.itemStyle, onClick: onClick, children: (0, jsx_runtime_1.jsx)("span", { css: DropdownMenu_styles_1.textStyles, children: children }) }));
|
|
76
76
|
};
|
|
77
77
|
exports.DropdownMenu.Item = DropdownMenuItem;
|
|
78
|
+
exports.DropdownMenu.SubContent = DropdownMenuPrimitive.SubContent;
|
|
79
|
+
exports.DropdownMenu.SubTrigger = DropdownMenuPrimitive.SubTrigger;
|
|
80
|
+
exports.DropdownMenu.Sub = DropdownMenuPrimitive.Sub;
|
package/package.json
CHANGED
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"test:watch": "jest --watch",
|
|
80
80
|
"test:update": "jest --updateSnapshot"
|
|
81
81
|
},
|
|
82
|
-
"version": "9.69.7-beta.
|
|
83
|
-
"gitHead": "
|
|
82
|
+
"version": "9.69.7-beta.14.d7a6c4c53",
|
|
83
|
+
"gitHead": "d7a6c4c5342038b51cb09a95e8781aad094a42b6"
|
|
84
84
|
}
|