@ztwoint/z-ui 0.1.41 → 0.1.43
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/assets/icons/z2-slash.d.ts +8 -0
- package/dist/components/dropdown-menu/z2-dropdown-menu.d.ts +11 -4
- package/dist/components/dropdown-menu/z2-dropdown-menu.js +145 -122
- package/dist/components/stepper-item/stepper-item.js +4 -4
- package/dist/css/config/colors/surfaces.css +4 -0
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/types/components/assets/icons/z2-slash.d.ts +8 -0
- package/dist/types/components/dropdown-menu/z2-dropdown-menu.d.ts +11 -4
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45,5 +45,6 @@ export * from './components/assets/icons/vector';
|
|
|
45
45
|
export * from './components/assets/icons/window-left-copy';
|
|
46
46
|
export * from './components/assets/icons/x';
|
|
47
47
|
export * from './components/assets/icons/z2-icon';
|
|
48
|
+
export * from './components/assets/icons/z2-slash';
|
|
48
49
|
export * from './lib/theme.hook';
|
|
49
50
|
export * from './lib/utils';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
type IconProps = SVGProps<SVGSVGElement> & {
|
|
3
|
+
secondaryfill?: string;
|
|
4
|
+
strokewidth?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function Z2Slash({ fill, strokewidth, width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Z2Slash;
|
|
@@ -3,15 +3,22 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
3
3
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>
|
|
6
|
+
declare function DropdownMenuContent({ className, sideOffset, size, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content> & {
|
|
7
|
+
size?: 'xsmall' | 'small' | 'default' | 'large';
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
10
|
+
declare function DropdownMenuItem({ className, inset, variant, description, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
9
11
|
inset?: boolean;
|
|
10
12
|
variant?: 'default' | 'destructive';
|
|
13
|
+
description?: string;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, description, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
16
|
+
description?: string;
|
|
11
17
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
13
18
|
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>
|
|
19
|
+
declare function DropdownMenuRadioItem({ className, children, description, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
20
|
+
description?: string;
|
|
21
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
22
|
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
16
23
|
inset?: boolean;
|
|
17
24
|
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -46,5 +46,6 @@ export * from './components/assets/icons/vector';
|
|
|
46
46
|
export * from './components/assets/icons/window-left-copy';
|
|
47
47
|
export * from './components/assets/icons/x';
|
|
48
48
|
export * from './components/assets/icons/z2-icon';
|
|
49
|
+
export * from './components/assets/icons/z2-slash';
|
|
49
50
|
export * from './lib/theme.hook';
|
|
50
51
|
export * from './lib/utils';
|