@workokay/atom 0.2.26 → 0.2.29
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/atom.css +1 -1
- package/dist/index.cjs +64 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16488 -897
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/dist/types/components/avatar/Avatar.d.ts +60 -0
- package/dist/types/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/types/components/avatar/avatarVariants.d.ts +14 -0
- package/dist/types/components/avatar/avatarVariants.d.ts.map +1 -0
- package/dist/types/components/avatar/index.d.ts +5 -0
- package/dist/types/components/avatar/index.d.ts.map +1 -0
- package/dist/types/components/calendar/Calendar.d.ts +7 -0
- package/dist/types/components/calendar/Calendar.d.ts.map +1 -0
- package/dist/types/components/calendar/index.d.ts +3 -0
- package/dist/types/components/calendar/index.d.ts.map +1 -0
- package/dist/types/components/card/Card.d.ts +45 -0
- package/dist/types/components/card/Card.d.ts.map +1 -0
- package/dist/types/components/card/index.d.ts +3 -0
- package/dist/types/components/card/index.d.ts.map +1 -0
- package/dist/types/components/checkbox/Checkbox.d.ts +11 -0
- package/dist/types/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/types/components/checkbox/checkboxVariants.d.ts +6 -0
- package/dist/types/components/checkbox/checkboxVariants.d.ts.map +1 -0
- package/dist/types/components/checkbox/index.d.ts +4 -0
- package/dist/types/components/checkbox/index.d.ts.map +1 -0
- package/dist/types/components/contentCard/ContentCard.d.ts +12 -0
- package/dist/types/components/contentCard/ContentCard.d.ts.map +1 -0
- package/dist/types/components/contentCard/contentCardVariants.d.ts +8 -0
- package/dist/types/components/contentCard/contentCardVariants.d.ts.map +1 -0
- package/dist/types/components/contentCard/index.d.ts +4 -0
- package/dist/types/components/contentCard/index.d.ts.map +1 -0
- package/dist/types/components/dataTable/DataTable.d.ts +33 -0
- package/dist/types/components/dataTable/DataTable.d.ts.map +1 -0
- package/dist/types/components/dataTable/dataTableVariants.d.ts +2 -0
- package/dist/types/components/dataTable/dataTableVariants.d.ts.map +1 -0
- package/dist/types/components/dataTable/index.d.ts +2 -0
- package/dist/types/components/dataTable/index.d.ts.map +1 -0
- package/dist/types/components/dialog/Dialog.d.ts +29 -0
- package/dist/types/components/dialog/Dialog.d.ts.map +1 -0
- package/dist/types/components/dialog/dialogVariants.d.ts +3 -0
- package/dist/types/components/dialog/dialogVariants.d.ts.map +1 -0
- package/dist/types/components/dialog/index.d.ts +2 -0
- package/dist/types/components/dialog/index.d.ts.map +1 -0
- package/dist/types/components/drawer/Drawer.d.ts +30 -0
- package/dist/types/components/drawer/Drawer.d.ts.map +1 -0
- package/dist/types/components/drawer/drawerVariants.d.ts +6 -0
- package/dist/types/components/drawer/drawerVariants.d.ts.map +1 -0
- package/dist/types/components/drawer/index.d.ts +3 -0
- package/dist/types/components/drawer/index.d.ts.map +1 -0
- package/dist/types/components/dropdown/Dropdown.d.ts +72 -0
- package/dist/types/components/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/types/components/dropdown/index.d.ts +2 -0
- package/dist/types/components/dropdown/index.d.ts.map +1 -0
- package/dist/types/components/heading/Heading.d.ts +15 -0
- package/dist/types/components/heading/Heading.d.ts.map +1 -0
- package/dist/types/components/heading/headingVariants.d.ts +7 -0
- package/dist/types/components/heading/headingVariants.d.ts.map +1 -0
- package/dist/types/components/heading/index.d.ts +3 -0
- package/dist/types/components/heading/index.d.ts.map +1 -0
- package/dist/types/components/{form → input}/Input.d.ts +4 -4
- package/dist/types/components/input/Input.d.ts.map +1 -0
- package/dist/types/components/input/index.d.ts.map +1 -0
- package/dist/types/components/inputNumber/InputNumber.d.ts +20 -0
- package/dist/types/components/inputNumber/InputNumber.d.ts.map +1 -0
- package/dist/types/components/inputNumber/index.d.ts +2 -0
- package/dist/types/components/inputNumber/index.d.ts.map +1 -0
- package/dist/types/components/paper/Paper.d.ts +7 -0
- package/dist/types/components/paper/Paper.d.ts.map +1 -0
- package/dist/types/components/paper/index.d.ts +4 -0
- package/dist/types/components/paper/index.d.ts.map +1 -0
- package/dist/types/components/paper/paperVariants.d.ts +9 -0
- package/dist/types/components/paper/paperVariants.d.ts.map +1 -0
- package/dist/types/components/popover/Popover.d.ts +77 -0
- package/dist/types/components/popover/Popover.d.ts.map +1 -0
- package/dist/types/components/popover/index.d.ts +2 -0
- package/dist/types/components/popover/index.d.ts.map +1 -0
- package/dist/types/components/progressBar/ProgressBar.d.ts +20 -0
- package/dist/types/components/progressBar/ProgressBar.d.ts.map +1 -0
- package/dist/types/components/progressBar/index.d.ts +4 -0
- package/dist/types/components/progressBar/index.d.ts.map +1 -0
- package/dist/types/components/progressBar/progressBarVariants.d.ts +13 -0
- package/dist/types/components/progressBar/progressBarVariants.d.ts.map +1 -0
- package/dist/types/components/radio/Radio.d.ts +7 -0
- package/dist/types/components/radio/Radio.d.ts.map +1 -0
- package/dist/types/components/radio/RadioGroup.d.ts +7 -0
- package/dist/types/components/radio/RadioGroup.d.ts.map +1 -0
- package/dist/types/components/radio/index.d.ts +3 -0
- package/dist/types/components/radio/index.d.ts.map +1 -0
- package/dist/types/components/radio/radioVariants.d.ts +5 -0
- package/dist/types/components/radio/radioVariants.d.ts.map +1 -0
- package/dist/types/components/skeleton/Skeleton.d.ts +16 -0
- package/dist/types/components/skeleton/Skeleton.d.ts.map +1 -0
- package/dist/types/components/skeleton/index.d.ts +3 -0
- package/dist/types/components/skeleton/index.d.ts.map +1 -0
- package/dist/types/components/statCardA/StatCardA.d.ts +40 -0
- package/dist/types/components/statCardA/StatCardA.d.ts.map +1 -0
- package/dist/types/components/statCardA/index.d.ts +2 -0
- package/dist/types/components/statCardA/index.d.ts.map +1 -0
- package/dist/types/components/statCardB/StatCardB.d.ts +17 -0
- package/dist/types/components/statCardB/StatCardB.d.ts.map +1 -0
- package/dist/types/components/statCardB/index.d.ts +2 -0
- package/dist/types/components/statCardB/index.d.ts.map +1 -0
- package/dist/types/components/statCardB/statCardBVariants.d.ts +9 -0
- package/dist/types/components/statCardB/statCardBVariants.d.ts.map +1 -0
- package/dist/types/components/statCardC/StatCardC.d.ts +17 -0
- package/dist/types/components/statCardC/StatCardC.d.ts.map +1 -0
- package/dist/types/components/statCardC/StatCardC.tests.d.ts +2 -0
- package/dist/types/components/statCardC/StatCardC.tests.d.ts.map +1 -0
- package/dist/types/components/statCardC/index.d.ts +2 -0
- package/dist/types/components/statCardC/index.d.ts.map +1 -0
- package/dist/types/components/statCardC/statCardCVariants.d.ts +8 -0
- package/dist/types/components/statCardC/statCardCVariants.d.ts.map +1 -0
- package/dist/types/components/switch/Switch.d.ts +8 -0
- package/dist/types/components/switch/Switch.d.ts.map +1 -0
- package/dist/types/components/switch/index.d.ts +3 -0
- package/dist/types/components/switch/index.d.ts.map +1 -0
- package/dist/types/components/switch/switchVariants.d.ts +23 -0
- package/dist/types/components/switch/switchVariants.d.ts.map +1 -0
- package/dist/types/components/tabs/Tabs.d.ts +36 -0
- package/dist/types/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/types/components/tabs/index.d.ts +2 -0
- package/dist/types/components/tabs/index.d.ts.map +1 -0
- package/dist/types/components/text/Text.d.ts +15 -0
- package/dist/types/components/text/Text.d.ts.map +1 -0
- package/dist/types/components/text/index.d.ts +2 -0
- package/dist/types/components/text/index.d.ts.map +1 -0
- package/dist/types/components/textArea/TextArea.d.ts +17 -0
- package/dist/types/components/textArea/TextArea.d.ts.map +1 -0
- package/dist/types/components/textArea/index.d.ts +2 -0
- package/dist/types/components/textArea/index.d.ts.map +1 -0
- package/dist/types/components/tooltip/Tooltip.d.ts +28 -0
- package/dist/types/components/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/types/components/tooltip/index.d.ts +2 -0
- package/dist/types/components/tooltip/index.d.ts.map +1 -0
- package/dist/types/hooks/useTheme.d.ts +1 -1
- package/dist/types/hooks/useTheme.d.ts.map +1 -1
- package/dist/types/index.d.ts +23 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +18 -8
- package/dist/types/components/form/Input.d.ts.map +0 -1
- package/dist/types/components/form/index.d.ts.map +0 -1
- /package/dist/types/components/{form → input}/index.d.ts +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const cardVariants: (props?: ({
|
|
4
|
+
variant?: "flat" | "elevated" | "outlined" | null | undefined;
|
|
5
|
+
hoverable?: boolean | null | undefined;
|
|
6
|
+
clickable?: boolean | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
9
|
+
}
|
|
10
|
+
export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const cardHeaderVariants: (props?: ({
|
|
12
|
+
divider?: boolean | null | undefined;
|
|
13
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
export interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardHeaderVariants> {
|
|
16
|
+
avatar?: React.ReactNode;
|
|
17
|
+
action?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
21
|
+
export declare const CardSubtitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
22
|
+
declare const cardBodyVariants: (props?: ({
|
|
23
|
+
noPadding?: boolean | null | undefined;
|
|
24
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
25
|
+
export interface CardBodyProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardBodyVariants> {
|
|
26
|
+
}
|
|
27
|
+
export declare const CardBody: React.ForwardRefExoticComponent<CardBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
declare const cardFooterVariants: (props?: ({
|
|
29
|
+
divider?: boolean | null | undefined;
|
|
30
|
+
align?: "center" | "left" | "right" | "between" | null | undefined;
|
|
31
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
32
|
+
export interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardFooterVariants> {
|
|
33
|
+
}
|
|
34
|
+
export declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const cardMediaVariants: (props?: ({
|
|
36
|
+
size?: "sm" | "md" | "lg" | "auto" | "xl" | null | undefined;
|
|
37
|
+
objectFit?: "none" | "fill" | "cover" | "contain" | null | undefined;
|
|
38
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
39
|
+
export interface CardMediaProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, "height">, VariantProps<typeof cardMediaVariants> {
|
|
40
|
+
src: string;
|
|
41
|
+
alt: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const CardMedia: React.ForwardRefExoticComponent<CardMediaProps & React.RefAttributes<HTMLImageElement>>;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOlE,QAAA,MAAM,YAAY;;;;8EA+BjB,CAAC;AAEF,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,eAAO,MAAM,IAAI,kFAShB,CAAC;AAOF,QAAA,MAAM,kBAAkB;;;8EAgBtB,CAAC;AAEH,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,UAAU,wFA4BtB,CAAC;AAOF,eAAO,MAAM,SAAS,qHAapB,CAAC;AAOH,eAAO,MAAM,YAAY,yHAYvB,CAAC;AAOH,QAAA,MAAM,gBAAgB;;8EAUpB,CAAC;AAEH,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE5C,eAAO,MAAM,QAAQ,sFAQpB,CAAC;AAOF,QAAA,MAAM,kBAAkB;;;8EAiBtB,CAAC;AAEH,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE9C,eAAO,MAAM,UAAU,wFAQtB,CAAC;AAOF,QAAA,MAAM,iBAAiB;;;8EAoBrB,CAAC;AAEH,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,EAC/D,YAAY,CAAC,OAAO,iBAAiB,CAAC;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,SAAS,yFAQrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,SAAS,GACV,MAAM,QAAQ,CAAC;AAEhB,YAAY,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACb,eAAe,EACf,cAAc,GACf,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type CheckboxSize } from "./checkboxVariants";
|
|
3
|
+
export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
size?: CheckboxSize;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
wrapperClassName?: string;
|
|
8
|
+
labelClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEzE,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,QAAQ,wFAyDpB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
export declare const checkboxVariants: (props?: ({
|
|
3
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
export type CheckboxSize = NonNullable<VariantProps<typeof checkboxVariants>["size"]>;
|
|
6
|
+
//# sourceMappingURL=checkboxVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkboxVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/checkboxVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,gBAAgB;;8EA2B5B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,WAAW,CACpC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAC9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type ContentCardVariant, type ContentCardSize } from "./contentCardVariants";
|
|
3
|
+
export interface ContentCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
variant?: ContentCardVariant;
|
|
5
|
+
size?: ContentCardSize;
|
|
6
|
+
title?: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
footer?: React.ReactNode;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const ContentCard: React.ForwardRefExoticComponent<ContentCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
//# sourceMappingURL=ContentCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentCard.d.ts","sourceRoot":"","sources":["../../../../src/components/contentCard/ContentCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,yFA4DvB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
export declare const contentCardVariants: (props?: ({
|
|
3
|
+
variant?: "success" | "warning" | "info" | "error" | "neutral" | "default" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export type ContentCardVariant = NonNullable<VariantProps<typeof contentCardVariants>["variant"]>;
|
|
7
|
+
export type ContentCardSize = NonNullable<VariantProps<typeof contentCardVariants>["size"]>;
|
|
8
|
+
//# sourceMappingURL=contentCardVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentCardVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/contentCard/contentCardVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,mBAAmB;;;8EA0C/B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAC1C,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC,SAAS,CAAC,CACpD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,WAAW,CACvC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CACjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/contentCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,kBAAkB,EAClB,eAAe,GAChB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface Column {
|
|
3
|
+
name: string;
|
|
4
|
+
key: string;
|
|
5
|
+
selector?: (row: DataRow) => unknown;
|
|
6
|
+
cell?: (row: DataRow, rowIndex: number) => ReactNode;
|
|
7
|
+
conditionalCell?: (value: unknown, row: DataRow) => ReactNode;
|
|
8
|
+
sortable?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface DataRow {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
id?: string | number;
|
|
13
|
+
}
|
|
14
|
+
export interface DataTableOptions {
|
|
15
|
+
search?: boolean;
|
|
16
|
+
download?: boolean;
|
|
17
|
+
viewColumns?: boolean;
|
|
18
|
+
filter?: boolean;
|
|
19
|
+
filterType?: 'dropdown' | 'checkbox' | 'text';
|
|
20
|
+
tableBodyHeight?: string;
|
|
21
|
+
tableBodyMaxHeight?: string;
|
|
22
|
+
exportFormat?: 'csv' | 'excel';
|
|
23
|
+
}
|
|
24
|
+
interface DataTableProps {
|
|
25
|
+
columns: Column[];
|
|
26
|
+
data: DataRow[];
|
|
27
|
+
pagination?: boolean;
|
|
28
|
+
className?: string;
|
|
29
|
+
options?: DataTableOptions;
|
|
30
|
+
}
|
|
31
|
+
export declare function DataTable({ columns, data, pagination, className, options, }: DataTableProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/dataTable/DataTable.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAA;IACpC,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAA;IACpD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,SAAS,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,OAAO;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IACtB,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAA;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,KAAK,GAAG,OAAO,CAAA;CAC/B;AAED,UAAU,cAAc;IACtB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAC3B;AAktBD,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,IAAI,EACJ,UAAkB,EAClB,SAAS,EACT,OAAO,GACR,EAAE,cAAc,2CA4WhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataTableVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/dataTable/dataTableVariants.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataTable/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: {
|
|
6
|
+
({ children, ...props }: DialogPrimitive.DialogPortalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
11
|
+
showClose?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const DialogHeader: {
|
|
15
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
declare const DialogBody: {
|
|
19
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
declare const DialogFooter: {
|
|
23
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
27
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
28
|
+
export { Dialog, DialogTrigger, DialogPortal, DialogOverlay, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogDescription, };
|
|
29
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAY1D,QAAA,MAAM,MAAM,uCAAuB,CAAC;AACpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAM9C,QAAA,MAAM,YAAY;6BAGf,eAAe,CAAC,iBAAiB;;CAoBnC,CAAC;AAOF,QAAA,MAAM,aAAa,8JASjB,CAAC;AAOH,UAAU,kBACR,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,2FA+BjB,CAAC;AAOH,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF,QAAA,MAAM,UAAU;8BAGb,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAC;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAOF,QAAA,MAAM,WAAW,oKAaf,CAAC;AAGH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAQH,OAAO,EACL,MAAM,EACN,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const dialogOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
2
|
+
export declare const dialogContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
3
|
+
//# sourceMappingURL=dialogVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialogVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/dialogVariants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,qBAAqB,oFAQjC,CAAC;AAMF,eAAO,MAAM,qBAAqB,oFAoBjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const drawerVariants: (props?: ({
|
|
4
|
+
variant?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export type DrawerVariant = 'right' | 'left' | 'bottom' | 'top';
|
|
8
|
+
export type DrawerSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
+
export interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof drawerVariants> {
|
|
10
|
+
open: boolean;
|
|
11
|
+
onOpenChange?: (open: boolean) => void;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
asChild?: boolean;
|
|
14
|
+
closeOnBackdropClick?: boolean;
|
|
15
|
+
closeOnEscape?: boolean;
|
|
16
|
+
showBackdrop?: boolean;
|
|
17
|
+
/** Optional label for accessibility. Falls back to DrawerTitle id if not provided */
|
|
18
|
+
'aria-label'?: string;
|
|
19
|
+
/** Optional description for accessibility */
|
|
20
|
+
'aria-describedby'?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export declare const DrawerHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export declare const DrawerTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
25
|
+
export declare const DrawerDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
26
|
+
export declare const DrawerBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export declare const DrawerFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
export declare const DrawerClose: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,cAAc;;;8EAgCnB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAA;AAC/D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAElD,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,qFAAqF;IACrF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAmBD,eAAO,MAAM,MAAM,oFA4KlB,CAAA;AAKD,eAAO,MAAM,YAAY,6GASvB,CAAA;AAGF,eAAO,MAAM,WAAW,qHAatB,CAAA;AAGF,eAAO,MAAM,iBAAiB,yHAU5B,CAAA;AAGF,eAAO,MAAM,UAAU,6GASrB,CAAA;AAGF,eAAO,MAAM,YAAY,6GASvB,CAAA;AAGF,eAAO,MAAM,WAAW,yHAgCtB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const drawerOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
2
|
+
export declare const drawerContentVariants: (props?: ({
|
|
3
|
+
variant?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
//# sourceMappingURL=drawerVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawerVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/drawerVariants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,qBAAqB,oFASjC,CAAC;AAMF,eAAO,MAAM,qBAAqB;;;8EA0DjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,YAAY,GACb,MAAM,UAAU,CAAC;AAElB,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { ErrorInfo, ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const dropdownContentVariants: (props?: ({
|
|
4
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
5
|
+
align?: "center" | "end" | "start" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare const dropdownTriggerVariants: (props?: ({
|
|
8
|
+
variant?: "ghost" | "default" | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
+
export type DropdownSide = 'top' | 'bottom' | 'left' | 'right';
|
|
11
|
+
export type DropdownAlign = 'start' | 'center' | 'end';
|
|
12
|
+
export type DropdownTriggerVariant = 'default' | 'ghost';
|
|
13
|
+
export interface DropdownProps {
|
|
14
|
+
/** Controlled open state */
|
|
15
|
+
open?: boolean;
|
|
16
|
+
/** Callback when open state changes */
|
|
17
|
+
onOpenChange?: (open: boolean) => void;
|
|
18
|
+
/** Default open state (uncontrolled) */
|
|
19
|
+
defaultOpen?: boolean;
|
|
20
|
+
/** Selected value for highlighting */
|
|
21
|
+
value?: string;
|
|
22
|
+
/** Callback when value changes */
|
|
23
|
+
onValueChange?: (value: string) => void;
|
|
24
|
+
/** Disable the entire dropdown */
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/** Enable scale animation on dropdown items (hover/tap) */
|
|
27
|
+
animateItems?: boolean;
|
|
28
|
+
/** Custom error boundary fallback */
|
|
29
|
+
errorFallback?: ReactNode;
|
|
30
|
+
/** Error handler callback */
|
|
31
|
+
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export interface DropdownTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof dropdownTriggerVariants> {
|
|
35
|
+
asChild?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface DropdownContentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart'>, VariantProps<typeof dropdownContentVariants> {
|
|
38
|
+
/** Portal container (defaults to document.body) */
|
|
39
|
+
container?: HTMLElement | null;
|
|
40
|
+
/** Offset from trigger in pixels */
|
|
41
|
+
sideOffset?: number;
|
|
42
|
+
/** Align offset in pixels */
|
|
43
|
+
alignOffset?: number;
|
|
44
|
+
/** Prevent closing on content click */
|
|
45
|
+
preventClose?: boolean;
|
|
46
|
+
/** Close dropdown when an item is selected */
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
}
|
|
49
|
+
export interface DropdownItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart'> {
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
/** Prevent closing on click */
|
|
52
|
+
preventClose?: boolean;
|
|
53
|
+
/** Value for this item */
|
|
54
|
+
value?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface DropdownGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
57
|
+
children: ReactNode;
|
|
58
|
+
}
|
|
59
|
+
export type DropdownLabelProps = React.HTMLAttributes<HTMLDivElement>;
|
|
60
|
+
export type DropdownSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
|
|
61
|
+
export declare const Dropdown: {
|
|
62
|
+
({ open: controlledOpen, onOpenChange, defaultOpen, value: controlledValue, onValueChange, disabled, animateItems, errorFallback, onError, children, }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
displayName: string;
|
|
64
|
+
};
|
|
65
|
+
export declare const DropdownTrigger: import("react").ForwardRefExoticComponent<DropdownTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
66
|
+
export declare const DropdownContent: import("react").ForwardRefExoticComponent<DropdownContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
67
|
+
export declare const DropdownItem: import("react").ForwardRefExoticComponent<DropdownItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
68
|
+
export declare const DropdownSeparator: import("react").ForwardRefExoticComponent<DropdownSeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
69
|
+
export declare const DropdownLabel: import("react").ForwardRefExoticComponent<DropdownLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
70
|
+
export declare const DropdownGroup: import("react").ForwardRefExoticComponent<DropdownGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
71
|
+
export {};
|
|
72
|
+
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type HeadingVariantProps } from './headingVariants';
|
|
3
|
+
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, HeadingVariantProps {
|
|
4
|
+
/**
|
|
5
|
+
* Semantic heading level
|
|
6
|
+
* @default 'h2'
|
|
7
|
+
*/
|
|
8
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
9
|
+
/**
|
|
10
|
+
* Render as child component (Radix Slot)
|
|
11
|
+
*/
|
|
12
|
+
asChild?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
15
|
+
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,mBAAmB,CAAA;AAE1B,MAAM,WAAW,YACf,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAC9C,mBAAmB;IACrB;;;OAGG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAC5C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAcD,eAAO,MAAM,OAAO,yFA6BnB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const headingVariants: (props?: ({
|
|
3
|
+
size?: "sm" | "md" | "lg" | "none" | "xl" | "xs" | null | undefined;
|
|
4
|
+
weight?: "bold" | "medium" | "normal" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export type HeadingVariantProps = VariantProps<typeof headingVariants>;
|
|
7
|
+
//# sourceMappingURL=headingVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headingVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/heading/headingVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,eAAO,MAAM,eAAe;;;8EAuB3B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/heading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import { type VariantProps } from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const inputVariants: (props?: ({
|
|
4
4
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
-
tone?: "success" | "
|
|
5
|
+
tone?: "success" | "invalid" | "default" | null | undefined;
|
|
6
6
|
hasLeft?: boolean | null | undefined;
|
|
7
7
|
hasRight?: boolean | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>,
|
|
9
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
|
|
10
10
|
leftIcon?: React.ReactNode;
|
|
11
11
|
rightIcon?: React.ReactNode;
|
|
12
12
|
hint?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,aAAa;;;;;8EA+ClB,CAAA;AAED,MAAM,WAAW,UACf,SACE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EACzD,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,eAAO,MAAM,KAAK,qFAyJjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const numberInputVariants: (props?: ({
|
|
4
|
+
variant?: "numeric" | "alphanumeric" | "alpha" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export type NumberInputVariant = NonNullable<VariantProps<typeof numberInputVariants>['variant']>;
|
|
8
|
+
export type NumberInputSize = NonNullable<VariantProps<typeof numberInputVariants>['size']>;
|
|
9
|
+
export interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'size' | 'value'>, VariantProps<typeof numberInputVariants> {
|
|
10
|
+
value?: string | number;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
step?: number;
|
|
15
|
+
showSpinners?: boolean;
|
|
16
|
+
decimalPlaces?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=InputNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputNumber.d.ts","sourceRoot":"","sources":["../../../../src/components/inputNumber/InputNumber.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,mBAAmB;;;8EA6DxB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAC1C,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC,SAAS,CAAC,CACpD,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,WAAW,CACvC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CACjD,CAAA;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CACR,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CACvC,EACD,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAoID,eAAO,MAAM,WAAW,2FAqOvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/inputNumber/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type PaperVariantProps } from './paperVariants';
|
|
3
|
+
export interface PaperProps extends React.HTMLAttributes<HTMLDivElement>, PaperVariantProps {
|
|
4
|
+
asChild?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Paper: React.ForwardRefExoticComponent<PaperProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
//# sourceMappingURL=Paper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paper.d.ts","sourceRoot":"","sources":["../../../../src/components/paper/Paper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,iBAAiB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,KAAK,mFAgCjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/paper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const paperVariants: (props?: ({
|
|
3
|
+
variant?: "flat" | "outlined" | "dashed" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
5
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
6
|
+
radius?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
export type PaperVariantProps = VariantProps<typeof paperVariants>;
|
|
9
|
+
//# sourceMappingURL=paperVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paperVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/paper/paperVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,eAAO,MAAM,aAAa;;;;;8EAwCzB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAA"}
|