@atom-learning/components 6.17.0-beta.2 → 7.0.0
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/components/dropdown-menu/DropdownMenu.d.ts +5 -0
- package/dist/components/dropdown-menu/DropdownMenu.js +4 -1
- package/dist/components/dropdown-menu/DropdownMenu.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuLabel.d.ts +8 -0
- package/dist/components/dropdown-menu/DropdownMenuLabel.js +16 -0
- package/dist/components/dropdown-menu/DropdownMenuLabel.js.map +1 -0
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +11 -0
- package/dist/index.cjs.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6216,6 +6216,15 @@ var DropdownMenuItem = styled(_radix_ui_react_dropdown_menu.Item, { base: [
|
|
|
6216
6216
|
"hover:underline"
|
|
6217
6217
|
] });
|
|
6218
6218
|
//#endregion
|
|
6219
|
+
//#region src/components/dropdown-menu/DropdownMenuLabel.tsx
|
|
6220
|
+
var DropdownMenuLabel = ({ className, ...props }) => /* @__PURE__ */ react.createElement(Text, {
|
|
6221
|
+
as: _radix_ui_react_dropdown_menu.Label,
|
|
6222
|
+
size: "sm",
|
|
6223
|
+
className: cn("px-3", "py-2", "text-text-subtle", className),
|
|
6224
|
+
...props
|
|
6225
|
+
});
|
|
6226
|
+
DropdownMenuLabel.displayName = "DropdownMenuLabel";
|
|
6227
|
+
//#endregion
|
|
6219
6228
|
//#region src/components/dropdown-menu/DropdownMenuLinkItem.tsx
|
|
6220
6229
|
var StyledLink$2 = styled("a", { base: ["no-underline"] });
|
|
6221
6230
|
var DropdownMenuLinkItem = ({ children, href, ...props }) => /* @__PURE__ */ react.default.createElement(DropdownMenuItem, {
|
|
@@ -6240,7 +6249,9 @@ var DropdownMenuTrigger = styled(_radix_ui_react_dropdown_menu.Trigger, { base:
|
|
|
6240
6249
|
//#region src/components/dropdown-menu/DropdownMenu.tsx
|
|
6241
6250
|
var DropdownMenu = Object.assign(_radix_ui_react_dropdown_menu.Root, {
|
|
6242
6251
|
Content: DropdownMenuContent,
|
|
6252
|
+
Group: _radix_ui_react_dropdown_menu.Group,
|
|
6243
6253
|
Item: DropdownMenuItem,
|
|
6254
|
+
Label: DropdownMenuLabel,
|
|
6244
6255
|
LinkItem: DropdownMenuLinkItem,
|
|
6245
6256
|
Portal: _radix_ui_react_dropdown_menu.Portal,
|
|
6246
6257
|
Separator: DropdownMenuSeparator,
|