@ztwoint/z-ui 0.1.10 → 0.1.11

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/README.md CHANGED
@@ -19,6 +19,7 @@ npm install @ztwoint/z-ui
19
19
  # or
20
20
  yarn add @ztwoint/z-ui
21
21
  ```
22
+
22
23
  > Note: To use this package on a remote server, you need to set up an SSH key with access to this repository.
23
24
 
24
- This package will be published to npm registry later.
25
+ This package will be published to npm registry later.
@@ -0,0 +1,12 @@
1
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
2
+ declare function Z2Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
+ declare function Z2DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Z2DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
+ declare function Z2DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
6
+ declare function Z2DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
7
+ declare function Z2DialogContent({ className, children, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {}): import("react/jsx-runtime").JSX.Element;
8
+ declare function Z2DialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
9
+ declare function Z2DialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
+ declare function Z2DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
11
+ declare function Z2DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
12
+ export { Z2Dialog, Z2DialogContent, Z2DialogDescription, Z2DialogFooter, Z2DialogHeader, Z2DialogOverlay, Z2DialogPortal, Z2DialogClose, Z2DialogTitle, Z2DialogTrigger, };
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Z2Dialog } from './dialog';
3
+ declare const meta: Meta<typeof Z2Dialog>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Z2Dialog>;
6
+ export declare const Default: Story;
7
+ export declare const WithLongDescription: Story;
8
+ export declare const CustomFooter: Story;
9
+ export declare const Fullscreen: Story;
10
+ export declare const CloseInHeader: Story;
@@ -57,4 +57,4 @@
57
57
  /* Hover state for icon */
58
58
  [data-slot='tabs-trigger']:hover .tab-icon {
59
59
  color: var(--color-neutral-950) !important;
60
- }
60
+ }
@@ -74,4 +74,4 @@
74
74
 
75
75
  .text-default-muted {
76
76
  color: var(--color-neutral-400);
77
- }
77
+ }
@@ -36,4 +36,4 @@
36
36
  * {
37
37
  font-family: inherit;
38
38
  }
39
- }
39
+ }