@customafk/lunas-ui 0.1.95 → 0.1.97
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/{button-DgVnlWul.d.mts → button-BnpEQNcI.d.cts} +4 -4
- package/dist/{button-BRHW1rSO.d.cts → button-DmtBrsu5.d.mts} +5 -5
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.d.mts +2 -2
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/{command-BciJADha.cjs → command-Dd4OnuB0.cjs} +2 -2
- package/dist/{command-BciJADha.cjs.map → command-Dd4OnuB0.cjs.map} +1 -1
- package/dist/{command-DSvEsWG8.mjs → command-Uq5FAdtW.mjs} +2 -2
- package/dist/{command-DSvEsWG8.mjs.map → command-Uq5FAdtW.mjs.map} +1 -1
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.mts +2 -2
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/user.cjs +1 -1
- package/dist/data-display/user.mjs +1 -1
- package/dist/{dialog-D5TBBX99.cjs → dialog-2N-D9B9o.cjs} +2 -2
- package/dist/{dialog-D5TBBX99.cjs.map → dialog-2N-D9B9o.cjs.map} +1 -1
- package/dist/{dialog-zsQVCZzj.d.cts → dialog-BWDpdfq4.d.cts} +12 -12
- package/dist/{dialog-B4h77Z-1.d.mts → dialog-CfAXxmem.d.mts} +12 -12
- package/dist/{dialog-DSvmcuYl.mjs → dialog-DTz8ngeU.mjs} +2 -2
- package/dist/{dialog-DSvmcuYl.mjs.map → dialog-DTz8ngeU.mjs.map} +1 -1
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.cjs.map +1 -1
- package/dist/dialogs/confirm-dialog.d.cts +3 -0
- package/dist/dialogs/confirm-dialog.d.mts +3 -0
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/confirm-dialog.mjs.map +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.mjs +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.mjs +1 -1
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.cjs.map +1 -1
- package/dist/features/tables/index.d.cts +23 -23
- package/dist/features/tables/index.d.mts +1 -1
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tables/index.mjs.map +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +224 -224
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/{input-VtO0d8O-.d.cts → input-B4scaWjT.d.mts} +5 -5
- package/dist/{input-Dv7UKl6Z.d.mts → input-Bq2N5bvL.d.cts} +6 -6
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/paragraph-BBye8n4M.cjs +2 -0
- package/dist/paragraph-BBye8n4M.cjs.map +1 -0
- package/dist/paragraph-BS88Xdo7.mjs +2 -0
- package/dist/paragraph-BS88Xdo7.mjs.map +1 -0
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +4 -4
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/typography/paragraph.mjs +1 -1
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.cjs.map +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert-dialog.mjs +1 -1
- package/dist/ui/alert-dialog.mjs.map +1 -1
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.mts +4 -4
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +22 -22
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/styles/typography.css +2 -0
- package/dist/paragraph-4z_6Z5aj.cjs +0 -2
- package/dist/paragraph-4z_6Z5aj.cjs.map +0 -1
- package/dist/paragraph-BTJV4aeF.mjs +0 -2
- package/dist/paragraph-BTJV4aeF.mjs.map +0 -1
package/dist/ui/spinner.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/spinner.d.ts
|
|
4
4
|
declare function Spinner({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<'svg'>):
|
|
7
|
+
}: React.ComponentProps<'svg'>): react_jsx_runtime81.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Spinner };
|
|
10
10
|
//# sourceMappingURL=spinner.d.cts.map
|
package/dist/ui/spinner.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime267 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/spinner.d.ts
|
|
4
4
|
declare function Spinner({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<'svg'>):
|
|
7
|
+
}: React.ComponentProps<'svg'>): react_jsx_runtime267.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Spinner };
|
|
10
10
|
//# sourceMappingURL=spinner.d.mts.map
|
package/dist/ui/switch.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
2
2
|
import { Switch as Switch$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/switch.d.ts
|
|
5
5
|
declare function Switch({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Switch$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime69.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Switch };
|
|
11
11
|
//# sourceMappingURL=switch.d.cts.map
|
package/dist/ui/switch.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime227 from "react/jsx-runtime";
|
|
2
2
|
import { Switch as Switch$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/switch.d.ts
|
|
5
5
|
declare function Switch({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Switch$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime227.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Switch };
|
|
11
11
|
//# sourceMappingURL=switch.d.mts.map
|
package/dist/ui/table.d.cts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime73 from "react/jsx-runtime";
|
|
2
|
+
import * as react1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/table.d.ts
|
|
5
|
-
declare const Table:
|
|
5
|
+
declare const Table: react1.MemoExoticComponent<({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"table">) =>
|
|
9
|
-
declare const TableHeader:
|
|
8
|
+
}: React.ComponentProps<"table">) => react_jsx_runtime73.JSX.Element>;
|
|
9
|
+
declare const TableHeader: react1.MemoExoticComponent<({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"thead">) =>
|
|
13
|
-
declare const TableBody:
|
|
12
|
+
}: React.ComponentProps<"thead">) => react_jsx_runtime73.JSX.Element>;
|
|
13
|
+
declare const TableBody: react1.MemoExoticComponent<({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"tbody">) =>
|
|
17
|
-
declare const TableFooter:
|
|
16
|
+
}: React.ComponentProps<"tbody">) => react_jsx_runtime73.JSX.Element>;
|
|
17
|
+
declare const TableFooter: react1.MemoExoticComponent<({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<"tfoot">) =>
|
|
21
|
-
declare const TableRow:
|
|
20
|
+
}: React.ComponentProps<"tfoot">) => react_jsx_runtime73.JSX.Element>;
|
|
21
|
+
declare const TableRow: react1.MemoExoticComponent<({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<"tr">) =>
|
|
25
|
-
declare const TableHead:
|
|
24
|
+
}: React.ComponentProps<"tr">) => react_jsx_runtime73.JSX.Element>;
|
|
25
|
+
declare const TableHead: react1.MemoExoticComponent<({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"th">) =>
|
|
29
|
-
declare const TableCell:
|
|
28
|
+
}: React.ComponentProps<"th">) => react_jsx_runtime73.JSX.Element>;
|
|
29
|
+
declare const TableCell: react1.MemoExoticComponent<({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"td">) =>
|
|
33
|
-
declare const TableCaption:
|
|
32
|
+
}: React.ComponentProps<"td">) => react_jsx_runtime73.JSX.Element>;
|
|
33
|
+
declare const TableCaption: react1.MemoExoticComponent<({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"caption">) =>
|
|
36
|
+
}: React.ComponentProps<"caption">) => react_jsx_runtime73.JSX.Element>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
39
39
|
//# sourceMappingURL=table.d.cts.map
|
package/dist/ui/table.d.mts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react26 from "react";
|
|
2
|
+
import * as react_jsx_runtime271 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/table.d.ts
|
|
5
|
-
declare const Table:
|
|
5
|
+
declare const Table: react26.MemoExoticComponent<({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"table">) =>
|
|
9
|
-
declare const TableHeader:
|
|
8
|
+
}: React.ComponentProps<"table">) => react_jsx_runtime271.JSX.Element>;
|
|
9
|
+
declare const TableHeader: react26.MemoExoticComponent<({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"thead">) =>
|
|
13
|
-
declare const TableBody:
|
|
12
|
+
}: React.ComponentProps<"thead">) => react_jsx_runtime271.JSX.Element>;
|
|
13
|
+
declare const TableBody: react26.MemoExoticComponent<({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"tbody">) =>
|
|
17
|
-
declare const TableFooter:
|
|
16
|
+
}: React.ComponentProps<"tbody">) => react_jsx_runtime271.JSX.Element>;
|
|
17
|
+
declare const TableFooter: react26.MemoExoticComponent<({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<"tfoot">) =>
|
|
21
|
-
declare const TableRow:
|
|
20
|
+
}: React.ComponentProps<"tfoot">) => react_jsx_runtime271.JSX.Element>;
|
|
21
|
+
declare const TableRow: react26.MemoExoticComponent<({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<"tr">) =>
|
|
25
|
-
declare const TableHead:
|
|
24
|
+
}: React.ComponentProps<"tr">) => react_jsx_runtime271.JSX.Element>;
|
|
25
|
+
declare const TableHead: react26.MemoExoticComponent<({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"th">) =>
|
|
29
|
-
declare const TableCell:
|
|
28
|
+
}: React.ComponentProps<"th">) => react_jsx_runtime271.JSX.Element>;
|
|
29
|
+
declare const TableCell: react26.MemoExoticComponent<({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"td">) =>
|
|
33
|
-
declare const TableCaption:
|
|
32
|
+
}: React.ComponentProps<"td">) => react_jsx_runtime271.JSX.Element>;
|
|
33
|
+
declare const TableCaption: react26.MemoExoticComponent<({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"caption">) =>
|
|
36
|
+
}: React.ComponentProps<"caption">) => react_jsx_runtime271.JSX.Element>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
39
39
|
//# sourceMappingURL=table.d.mts.map
|
package/dist/ui/tabs.d.cts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime189 from "react/jsx-runtime";
|
|
2
2
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tabs.d.ts
|
|
5
5
|
declare function Tabs({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime189.JSX.Element;
|
|
9
9
|
declare function TabsList({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Tabs$1.List>):
|
|
12
|
+
}: React.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime189.JSX.Element;
|
|
13
13
|
declare function TabsTrigger({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
16
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime189.JSX.Element;
|
|
17
17
|
declare function TabsContent({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
20
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime189.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
23
23
|
//# sourceMappingURL=tabs.d.cts.map
|
package/dist/ui/tabs.d.mts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime228 from "react/jsx-runtime";
|
|
2
2
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tabs.d.ts
|
|
5
5
|
declare function Tabs({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime228.JSX.Element;
|
|
9
9
|
declare function TabsList({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Tabs$1.List>):
|
|
12
|
+
}: React.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime228.JSX.Element;
|
|
13
13
|
declare function TabsTrigger({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
16
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime228.JSX.Element;
|
|
17
17
|
declare function TabsContent({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
20
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime228.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
23
23
|
//# sourceMappingURL=tabs.d.mts.map
|
package/dist/ui/textarea.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/textarea.d.ts
|
|
4
4
|
declare function Textarea({
|
|
@@ -8,7 +8,7 @@ declare function Textarea({
|
|
|
8
8
|
...props
|
|
9
9
|
}: React.ComponentProps<'textarea'> & {
|
|
10
10
|
onValueChange?: (value: string) => void;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime64.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Textarea };
|
|
14
14
|
//# sourceMappingURL=textarea.d.cts.map
|
package/dist/ui/textarea.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime218 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/textarea.d.ts
|
|
4
4
|
declare function Textarea({
|
|
@@ -8,7 +8,7 @@ declare function Textarea({
|
|
|
8
8
|
...props
|
|
9
9
|
}: React.ComponentProps<'textarea'> & {
|
|
10
10
|
onValueChange?: (value: string) => void;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime218.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Textarea };
|
|
14
14
|
//# sourceMappingURL=textarea.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime170 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
5
5
|
|
|
@@ -10,14 +10,14 @@ declare function ToggleGroup({
|
|
|
10
10
|
size,
|
|
11
11
|
children,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>):
|
|
13
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime170.JSX.Element;
|
|
14
14
|
declare function ToggleGroupItem({
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
variant,
|
|
18
18
|
size,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
20
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime170.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ToggleGroup, ToggleGroupItem };
|
|
23
23
|
//# sourceMappingURL=toggle-group.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.mjs";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime279 from "react/jsx-runtime";
|
|
4
4
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/toggle-group.d.ts
|
|
@@ -10,14 +10,14 @@ declare function ToggleGroup({
|
|
|
10
10
|
size,
|
|
11
11
|
children,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>):
|
|
13
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime279.JSX.Element;
|
|
14
14
|
declare function ToggleGroupItem({
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
variant,
|
|
18
18
|
size,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
20
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime279.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ToggleGroup, ToggleGroupItem };
|
|
23
23
|
//# sourceMappingURL=toggle-group.d.mts.map
|
package/dist/ui/toggle.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime251 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { Toggle as Toggle$1 } from "radix-ui";
|
|
5
5
|
|
|
@@ -7,13 +7,13 @@ import { Toggle as Toggle$1 } from "radix-ui";
|
|
|
7
7
|
declare const toggleVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | null | undefined;
|
|
9
9
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Toggle({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
size,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>):
|
|
16
|
+
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime251.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Toggle, toggleVariants };
|
|
19
19
|
//# sourceMappingURL=toggle.d.cts.map
|
package/dist/ui/toggle.d.mts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime287 from "react/jsx-runtime";
|
|
3
3
|
import { Toggle as Toggle$1 } from "radix-ui";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/toggle.d.ts
|
|
7
7
|
declare const toggleVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | null | undefined;
|
|
9
9
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Toggle({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
size,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>):
|
|
16
|
+
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime287.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Toggle, toggleVariants };
|
|
19
19
|
//# sourceMappingURL=toggle.d.mts.map
|
package/dist/ui/tooltip.d.cts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime272 from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tooltip.d.ts
|
|
5
5
|
declare function TooltipProvider({
|
|
6
6
|
delayDuration,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Tooltip$1.Provider>):
|
|
8
|
+
}: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime272.JSX.Element;
|
|
9
9
|
declare function Tooltip({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Tooltip$1.Root>):
|
|
11
|
+
}: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime272.JSX.Element;
|
|
12
12
|
declare function TooltipTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Tooltip$1.Trigger>):
|
|
14
|
+
}: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime272.JSX.Element;
|
|
15
15
|
declare function TooltipContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
children,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Tooltip$1.Content>):
|
|
20
|
+
}: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime272.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
23
23
|
//# sourceMappingURL=tooltip.d.cts.map
|
package/dist/ui/tooltip.d.mts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime263 from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tooltip.d.ts
|
|
5
5
|
declare function TooltipProvider({
|
|
6
6
|
delayDuration,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Tooltip$1.Provider>):
|
|
8
|
+
}: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime263.JSX.Element;
|
|
9
9
|
declare function Tooltip({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Tooltip$1.Root>):
|
|
11
|
+
}: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime263.JSX.Element;
|
|
12
12
|
declare function TooltipTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Tooltip$1.Trigger>):
|
|
14
|
+
}: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime263.JSX.Element;
|
|
15
15
|
declare function TooltipContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
children,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Tooltip$1.Content>):
|
|
20
|
+
}: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime263.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
23
23
|
//# sourceMappingURL=tooltip.d.mts.map
|
package/package.json
CHANGED
package/styles/typography.css
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`class-variance-authority`),r=require(`react/jsx-runtime`);const i=(0,n.cva)(`text-wrap text-sm text-start max-w-prose tabular-nums transition-colors not-first:mt-3`,{variants:{variant:{lead:`text-text-positive-strong font-semibold tracking-tight`,lg:`font-medium text-text-positive-strong`,p:`font-normal text-text-positive`,sm:`font-light text-text-positive-weak`,muted:`text-text-positive-weak font-normal`}},defaultVariants:{variant:`sm`}}),a=({variant:e=`p`,className:n,children:a})=>(0,r.jsx)(`p`,{className:(0,t.cn)(i({variant:e}),n),children:a});Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
2
|
-
//# sourceMappingURL=paragraph-4z_6Z5aj.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph-4z_6Z5aj.cjs","names":[],"sources":["../packages/components/typography/paragraph.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva } from 'class-variance-authority';\n\ntype Props = {\n /**\n * The variant of the paragraph. It can be one of the following:\n * - `p`: The default paragraph style. It has a normal font weight and is used for regular text content.\n * - `muted`: The muted paragraph style. It has a lighter color to indicate less emphasis and is often used for secondary information.\n * - `lead`: The lead paragraph style. It is typically used to introduce the content of a section and has a larger font size and stronger text color.\n * - `sm`: The small paragraph style. It is used for less important text and has a smaller font size.\n * - `lg`: The large paragraph style. It is used for more emphasis and visibility, with a larger font size.\n */\n variant?: 'p' | 'muted' | 'lead' | 'sm' | 'lg';\n className?: string;\n children?: React.ReactNode;\n};\n\nexport const paragraphVariants = cva('text-wrap text-sm text-start max-w-prose tabular-nums transition-colors not-first:mt-3', {\n variants: {\n variant: {\n // Lead: Nhấn mạnh mạnh mẽ nhất, dùng cho mở bài/highlight\n lead: 'text-text-positive-strong font-semibold tracking-tight',\n lg: 'font-medium text-text-positive-strong',\n p: 'font-normal text-text-positive',\n sm: 'font-light text-text-positive-weak',\n muted: 'text-text-positive-weak font-normal',\n },\n },\n defaultVariants: {\n variant: 'sm',\n },\n});\n\nexport const Paragraph = ({ variant = 'p', className, children }: Props) => {\n return <p className={cn(paragraphVariants({ variant }), className)}>{children}</p>;\n};\n"],"mappings":"6JAoBA,MAAa,GAAA,EAAA,EAAA,KAAwB,yFAA0F,CAC7H,SAAU,CACR,QAAS,CAEP,KAAM,yDACN,GAAI,wCACJ,EAAG,iCACH,GAAI,qCACJ,MAAO,sCACR,CACF,CACD,gBAAiB,CACf,QAAS,KACV,CACF,CAAC,CAEW,GAAa,CAAE,UAAU,IAAK,YAAW,eAC7C,EAAA,EAAA,KAAC,IAAA,CAAE,WAAA,EAAA,EAAA,IAAc,EAAkB,CAAE,UAAS,CAAC,CAAE,EAAU,CAAG,YAAa"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{cn as e}from"@customafk/react-toolkit/utils";import{cva as t}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";const r=t(`text-wrap text-sm text-start max-w-prose tabular-nums transition-colors not-first:mt-3`,{variants:{variant:{lead:`text-text-positive-strong font-semibold tracking-tight`,lg:`font-medium text-text-positive-strong`,p:`font-normal text-text-positive`,sm:`font-light text-text-positive-weak`,muted:`text-text-positive-weak font-normal`}},defaultVariants:{variant:`sm`}}),i=({variant:t=`p`,className:i,children:a})=>n(`p`,{className:e(r({variant:t}),i),children:a});export{r as n,i as t};
|
|
2
|
-
//# sourceMappingURL=paragraph-BTJV4aeF.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph-BTJV4aeF.mjs","names":[],"sources":["../packages/components/typography/paragraph.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva } from 'class-variance-authority';\n\ntype Props = {\n /**\n * The variant of the paragraph. It can be one of the following:\n * - `p`: The default paragraph style. It has a normal font weight and is used for regular text content.\n * - `muted`: The muted paragraph style. It has a lighter color to indicate less emphasis and is often used for secondary information.\n * - `lead`: The lead paragraph style. It is typically used to introduce the content of a section and has a larger font size and stronger text color.\n * - `sm`: The small paragraph style. It is used for less important text and has a smaller font size.\n * - `lg`: The large paragraph style. It is used for more emphasis and visibility, with a larger font size.\n */\n variant?: 'p' | 'muted' | 'lead' | 'sm' | 'lg';\n className?: string;\n children?: React.ReactNode;\n};\n\nexport const paragraphVariants = cva('text-wrap text-sm text-start max-w-prose tabular-nums transition-colors not-first:mt-3', {\n variants: {\n variant: {\n // Lead: Nhấn mạnh mạnh mẽ nhất, dùng cho mở bài/highlight\n lead: 'text-text-positive-strong font-semibold tracking-tight',\n lg: 'font-medium text-text-positive-strong',\n p: 'font-normal text-text-positive',\n sm: 'font-light text-text-positive-weak',\n muted: 'text-text-positive-weak font-normal',\n },\n },\n defaultVariants: {\n variant: 'sm',\n },\n});\n\nexport const Paragraph = ({ variant = 'p', className, children }: Props) => {\n return <p className={cn(paragraphVariants({ variant }), className)}>{children}</p>;\n};\n"],"mappings":"2IAoBA,MAAa,EAAoB,EAAI,yFAA0F,CAC7H,SAAU,CACR,QAAS,CAEP,KAAM,yDACN,GAAI,wCACJ,EAAG,iCACH,GAAI,qCACJ,MAAO,sCACR,CACF,CACD,gBAAiB,CACf,QAAS,KACV,CACF,CAAC,CAEW,GAAa,CAAE,UAAU,IAAK,YAAW,cAC7C,EAAC,IAAA,CAAE,UAAW,EAAG,EAAkB,CAAE,UAAS,CAAC,CAAE,EAAU,CAAG,YAAa"}
|