@craftzbay/ui 0.2.3 → 0.2.5
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 +1 -1
- package/dist-lib/components/ui/Calendar.d.ts +1 -1
- package/dist-lib/components/ui/Drawer.d.ts +9 -1
- package/dist-lib/index.cjs +3 -3
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +1678 -1692
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ primitives — Button through DataGrid — plus composed patterns
|
|
|
5
5
|
(authentication, app shell, settings, etc.).
|
|
6
6
|
|
|
7
7
|
- **Showcase:** [design.runestonetechnologies.com](https://design.runestonetechnologies.com)
|
|
8
|
-
- **Storybook:** [
|
|
8
|
+
- **Storybook:** [design.runestonetechnologies.com/storybook](https://design.runestonetechnologies.com/storybook/)
|
|
9
9
|
|
|
10
10
|
> **Aesthetic direction:** Linear / Vercel / Stripe Dashboard / Notion / Raycast.
|
|
11
11
|
> Neutral-dominant, one accent, hairline borders, generous whitespace, fast quiet
|
|
@@ -4,6 +4,6 @@ export type CalendarProps = DayPickerProps & {
|
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
6
|
* Standalone calendar surface. Used by DatePicker, but can also be embedded
|
|
7
|
-
* directly in popovers, sheets, or inline forms. Wraps `react-day-picker
|
|
7
|
+
* directly in popovers, sheets, or inline forms. Wraps `react-day-picker` v9.
|
|
8
8
|
*/
|
|
9
9
|
export declare const Calendar: import('react').ForwardRefExoticComponent<CalendarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, HTMLAttributes } from 'react';
|
|
2
2
|
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
3
|
+
type Direction = 'top' | 'right' | 'bottom' | 'left';
|
|
3
4
|
export declare const Drawer: {
|
|
4
5
|
({ shouldScaleBackground, ...props }: ComponentPropsWithoutRef<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
displayName: string;
|
|
@@ -8,8 +9,15 @@ export declare const DrawerTrigger: import('react').ForwardRefExoticComponent<im
|
|
|
8
9
|
export declare const DrawerPortal: typeof import('vaul').Portal;
|
|
9
10
|
export declare const DrawerClose: import('react').ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
10
11
|
export declare const DrawerOverlay: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export
|
|
12
|
+
export interface DrawerContentProps extends ComponentPropsWithoutRef<typeof DrawerPrimitive.Content> {
|
|
13
|
+
/** Side the drawer slides in from. Default `bottom`. */
|
|
14
|
+
direction?: Direction;
|
|
15
|
+
/** Hide the drag handle. */
|
|
16
|
+
hideHandle?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const DrawerContent: import('react').ForwardRefExoticComponent<DrawerContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
19
|
export declare function DrawerHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
13
20
|
export declare function DrawerFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
21
|
export declare const DrawerTitle: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
15
22
|
export declare const DrawerDescription: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
23
|
+
export {};
|