@saas-ui/react 3.0.0-alpha.7 → 3.0.0-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/dist/chunk-7VSTNV2B.js +53 -0
- package/dist/{chunk-ZWSZQZ5G.js → chunk-CB52LBJK.js} +1 -3
- package/dist/{chunk-GEPWRHHH.js → chunk-H6TFEHY4.js} +1 -3
- package/dist/{chunk-5T7S5OAM.js → chunk-JGHXJ3PI.js} +2 -0
- package/dist/components/dialog/index.cjs +19 -58
- package/dist/components/dialog/index.js +1 -2
- package/dist/components/drawer/index.cjs +23 -64
- package/dist/components/drawer/index.js +1 -2
- package/dist/components/loading-overlay/index.cjs +16 -1868
- package/dist/components/loading-overlay/index.js +1 -1
- package/dist/components/menu/index.cjs +2 -0
- package/dist/components/menu/index.d.cts +3 -1
- package/dist/components/menu/index.d.ts +3 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/index.cjs +438 -2315
- package/dist/index.js +24 -24
- package/package.json +3 -2
- package/dist/chunk-VBIVLREP.js +0 -45
- package/dist/chunk-YWJZWB6I.js +0 -1892
@@ -32,6 +32,7 @@ __export(menu_exports, {
|
|
32
32
|
Button: () => MenuButton,
|
33
33
|
CheckboxItem: () => MenuCheckboxItem,
|
34
34
|
Content: () => MenuContent,
|
35
|
+
Context: () => MenuContext,
|
35
36
|
ContextTrigger: () => MenuContextTrigger,
|
36
37
|
Item: () => MenuItem,
|
37
38
|
ItemCommand: () => MenuItemCommand,
|
@@ -237,6 +238,7 @@ var MenuRadioItemGroup = import_react5.Menu.RadioItemGroup;
|
|
237
238
|
var MenuContextTrigger = import_react5.Menu.ContextTrigger;
|
238
239
|
var MenuRoot = import_react5.Menu.Root;
|
239
240
|
var MenuSeparator = import_react5.Menu.Separator;
|
241
|
+
var MenuContext = import_react5.Menu.Context;
|
240
242
|
var MenuItem = import_react5.Menu.Item;
|
241
243
|
var MenuItemText = import_react5.Menu.ItemText;
|
242
244
|
var MenuItemCommand = import_react5.Menu.ItemCommand;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as _ark_ui_react from '@ark-ui/react';
|
1
2
|
import * as react from 'react';
|
2
3
|
import { Menu, ButtonProps } from '@chakra-ui/react';
|
3
4
|
|
@@ -21,6 +22,7 @@ declare const MenuRadioItemGroup: react.ForwardRefExoticComponent<Menu.RadioItem
|
|
21
22
|
declare const MenuContextTrigger: react.ForwardRefExoticComponent<Menu.ContextTriggerProps & react.RefAttributes<HTMLElement>>;
|
22
23
|
declare const MenuRoot: react.FC<Menu.RootProps>;
|
23
24
|
declare const MenuSeparator: react.ForwardRefExoticComponent<Menu.SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
25
|
+
declare const MenuContext: (props: _ark_ui_react.MenuContextProps) => react.ReactNode;
|
24
26
|
declare const MenuItem: react.ForwardRefExoticComponent<Menu.ItemProps & react.RefAttributes<HTMLDivElement>>;
|
25
27
|
declare const MenuItemText: react.ForwardRefExoticComponent<Menu.ItemTextProps & react.RefAttributes<HTMLDivElement>>;
|
26
28
|
declare const MenuItemCommand: react.ForwardRefExoticComponent<Menu.CommandProps & react.RefAttributes<HTMLElement>>;
|
@@ -31,7 +33,7 @@ type MenuTriggerProps = Menu.TriggerProps;
|
|
31
33
|
type MenuItemProps = Menu.ItemProps;
|
32
34
|
|
33
35
|
declare namespace menu {
|
34
|
-
export { MenuArrow as Arrow, MenuButton as Button, type MenuButtonProps as ButtonProps, MenuCheckboxItem as CheckboxItem, MenuContent as Content, type MenuContentProps as ContentProps, MenuContextTrigger as ContextTrigger, MenuItem as Item, MenuItemCommand as ItemCommand, MenuItemGroup as ItemGroup, type MenuItemProps as ItemProps, MenuItemText as ItemText, MenuRadioItem as RadioItem, MenuRadioItemGroup as RadioItemGroup, MenuRoot as Root, type MenuRootProps as RootProps, MenuSeparator as Separator, MenuTrigger as Trigger, MenuTriggerItem as TriggerItem, type MenuTriggerItemProps as TriggerItemProps, type MenuTriggerProps as TriggerProps };
|
36
|
+
export { MenuArrow as Arrow, MenuButton as Button, type MenuButtonProps as ButtonProps, MenuCheckboxItem as CheckboxItem, MenuContent as Content, type MenuContentProps as ContentProps, MenuContext as Context, MenuContextTrigger as ContextTrigger, MenuItem as Item, MenuItemCommand as ItemCommand, MenuItemGroup as ItemGroup, type MenuItemProps as ItemProps, MenuItemText as ItemText, MenuRadioItem as RadioItem, MenuRadioItemGroup as RadioItemGroup, MenuRoot as Root, type MenuRootProps as RootProps, MenuSeparator as Separator, MenuTrigger as Trigger, MenuTriggerItem as TriggerItem, type MenuTriggerItemProps as TriggerItemProps, type MenuTriggerProps as TriggerProps };
|
35
37
|
}
|
36
38
|
|
37
39
|
export { menu as Menu };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as _ark_ui_react from '@ark-ui/react';
|
1
2
|
import * as react from 'react';
|
2
3
|
import { Menu, ButtonProps } from '@chakra-ui/react';
|
3
4
|
|
@@ -21,6 +22,7 @@ declare const MenuRadioItemGroup: react.ForwardRefExoticComponent<Menu.RadioItem
|
|
21
22
|
declare const MenuContextTrigger: react.ForwardRefExoticComponent<Menu.ContextTriggerProps & react.RefAttributes<HTMLElement>>;
|
22
23
|
declare const MenuRoot: react.FC<Menu.RootProps>;
|
23
24
|
declare const MenuSeparator: react.ForwardRefExoticComponent<Menu.SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
25
|
+
declare const MenuContext: (props: _ark_ui_react.MenuContextProps) => react.ReactNode;
|
24
26
|
declare const MenuItem: react.ForwardRefExoticComponent<Menu.ItemProps & react.RefAttributes<HTMLDivElement>>;
|
25
27
|
declare const MenuItemText: react.ForwardRefExoticComponent<Menu.ItemTextProps & react.RefAttributes<HTMLDivElement>>;
|
26
28
|
declare const MenuItemCommand: react.ForwardRefExoticComponent<Menu.CommandProps & react.RefAttributes<HTMLElement>>;
|
@@ -31,7 +33,7 @@ type MenuTriggerProps = Menu.TriggerProps;
|
|
31
33
|
type MenuItemProps = Menu.ItemProps;
|
32
34
|
|
33
35
|
declare namespace menu {
|
34
|
-
export { MenuArrow as Arrow, MenuButton as Button, type MenuButtonProps as ButtonProps, MenuCheckboxItem as CheckboxItem, MenuContent as Content, type MenuContentProps as ContentProps, MenuContextTrigger as ContextTrigger, MenuItem as Item, MenuItemCommand as ItemCommand, MenuItemGroup as ItemGroup, type MenuItemProps as ItemProps, MenuItemText as ItemText, MenuRadioItem as RadioItem, MenuRadioItemGroup as RadioItemGroup, MenuRoot as Root, type MenuRootProps as RootProps, MenuSeparator as Separator, MenuTrigger as Trigger, MenuTriggerItem as TriggerItem, type MenuTriggerItemProps as TriggerItemProps, type MenuTriggerProps as TriggerProps };
|
36
|
+
export { MenuArrow as Arrow, MenuButton as Button, type MenuButtonProps as ButtonProps, MenuCheckboxItem as CheckboxItem, MenuContent as Content, type MenuContentProps as ContentProps, MenuContext as Context, MenuContextTrigger as ContextTrigger, MenuItem as Item, MenuItemCommand as ItemCommand, MenuItemGroup as ItemGroup, type MenuItemProps as ItemProps, MenuItemText as ItemText, MenuRadioItem as RadioItem, MenuRadioItemGroup as RadioItemGroup, MenuRoot as Root, type MenuRootProps as RootProps, MenuSeparator as Separator, MenuTrigger as Trigger, MenuTriggerItem as TriggerItem, type MenuTriggerItemProps as TriggerItemProps, type MenuTriggerProps as TriggerProps };
|
35
37
|
}
|
36
38
|
|
37
39
|
export { menu as Menu };
|