@customafk/lunas-ui 0.2.2 → 0.2.4
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-BFcXpjqF.cjs +2 -0
- package/dist/button-BFcXpjqF.cjs.map +1 -0
- package/dist/button-BQTNG97Y.mjs +2 -0
- package/dist/button-BQTNG97Y.mjs.map +1 -0
- package/dist/{button-IfNjnUO-.d.mts → button-BX8Kz9y6.d.cts} +7 -5
- package/dist/{button-BnFROtRM.d.cts → button-Bo4oQsyD.d.mts} +8 -6
- package/dist/button.variants-CS-Cmarr.cjs +2 -0
- package/dist/button.variants-CS-Cmarr.cjs.map +1 -0
- package/dist/button.variants-DRWf66hR.mjs +2 -0
- package/dist/button.variants-DRWf66hR.mjs.map +1 -0
- package/dist/{calendar-BwWfk_Zk.cjs → calendar-CG-WMM8e.cjs} +2 -2
- package/dist/{calendar-BwWfk_Zk.cjs.map → calendar-CG-WMM8e.cjs.map} +1 -1
- package/dist/{calendar-Bt6qXSZb.mjs → calendar-CfOkrubO.mjs} +2 -2
- package/dist/{calendar-Bt6qXSZb.mjs.map → calendar-CfOkrubO.mjs.map} +1 -1
- 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/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-lFDfcYPP.d.mts → dialog-PWeGBpsm.d.mts} +12 -12
- package/dist/{dialog-CyLgmqny.d.cts → dialog-aSu9xFOW.d.cts} +12 -12
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.mjs +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/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +23 -23
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +6 -6
- package/dist/features/tanstack-form/index.d.mts +230 -230
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/{input-CLlVXOR2.d.mts → input-BgHvD7zf.d.mts} +6 -6
- package/dist/{input-Bm0YXroi.d.cts → input-DhQmoNrK.d.cts} +6 -6
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +7 -7
- package/dist/layouts/flex.d.mts +9 -9
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/paragraph.d.mts +5 -5
- 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.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.d.cts +7 -7
- package/dist/ui/alert.d.mts +7 -7
- 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/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 +4 -4
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +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 +13 -13
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/file-uploader.cjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/form.d.cts +7 -7
- 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 +15 -15
- package/dist/ui/item.d.mts +15 -15
- 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 +9 -9
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/pagination.mjs +1 -1
- 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 +1 -1
- 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.cjs +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.mjs +1 -1
- 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 +9 -9
- 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.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/dist/button-B2FJrOBP.mjs +0 -2
- package/dist/button-B2FJrOBP.mjs.map +0 -1
- package/dist/button-CYw2AqT0.cjs +0 -2
- package/dist/button-CYw2AqT0.cjs.map +0 -1
- package/dist/button.variants-DuuH1O0_.mjs +0 -2
- package/dist/button.variants-DuuH1O0_.mjs.map +0 -1
- package/dist/button.variants-rdXrPUao.cjs +0 -2
- package/dist/button.variants-rdXrPUao.cjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-
|
|
1
|
+
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-CS-Cmarr.cjs`);const t=require(`../button-BFcXpjqF.cjs`);let n=require(`@customafk/react-toolkit/utils`),r=require(`react/jsx-runtime`),i=require(`lucide-react`);const a=({title:e=`Tính năng đang bảo trì`,subtitle:a=`Chúng tôi đang khắc phục vấn đề với tính năng này. Vui lòng quay lại sau.`,buttonText:o=`Quay lại`,onButtonClick:s=()=>window.history.back(),className:c,iconClassName:l})=>(0,r.jsxs)(`div`,{className:(0,n.cn)(`flex flex-col items-center justify-center min-h-[50vh] gap-4 sm:gap-6 py-8 sm:py-10 px-4 text-center w-full`,c),children:[(0,r.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,r.jsx)(i.Wrench,{className:(0,n.cn)(`size-16 sm:size-24 text-orange-500`,l)}),(0,r.jsx)(`div`,{className:`text-3xl sm:text-5xl font-bold text-orange-500`})]}),(0,r.jsx)(`h1`,{className:`text-xl sm:text-2xl font-semibold mt-2`,children:e}),(0,r.jsx)(`p`,{className:`text-muted-foreground max-w-md text-sm sm:text-base`,children:a}),(0,r.jsx)(t.t,{onClick:s,variant:`default`,className:`mt-2`,size:`sm`,children:o})]});var o=a;exports.FeatureFixing=a,exports.default=o;
|
|
2
2
|
//# sourceMappingURL=FeatureFixing.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/FeatureFixing.d.ts
|
|
4
4
|
interface FeatureFixingProps {
|
|
@@ -19,7 +19,7 @@ declare const FeatureFixing: ({
|
|
|
19
19
|
onButtonClick,
|
|
20
20
|
className,
|
|
21
21
|
iconClassName
|
|
22
|
-
}: FeatureFixingProps) =>
|
|
22
|
+
}: FeatureFixingProps) => react_jsx_runtime4.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FeatureFixing, FeatureFixing as default, FeatureFixingProps };
|
|
25
25
|
//# sourceMappingURL=FeatureFixing.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/FeatureFixing.d.ts
|
|
4
4
|
interface FeatureFixingProps {
|
|
@@ -19,7 +19,7 @@ declare const FeatureFixing: ({
|
|
|
19
19
|
onButtonClick,
|
|
20
20
|
className,
|
|
21
21
|
iconClassName
|
|
22
|
-
}: FeatureFixingProps) =>
|
|
22
|
+
}: FeatureFixingProps) => react_jsx_runtime113.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FeatureFixing, FeatureFixing as default, FeatureFixingProps };
|
|
25
25
|
//# sourceMappingURL=FeatureFixing.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../button.variants-
|
|
1
|
+
import"../button.variants-DRWf66hR.mjs";import{t as e}from"../button-BQTNG97Y.mjs";import{cn as t}from"@customafk/react-toolkit/utils";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{Wrench as i}from"lucide-react";const a=({title:a=`Tính năng đang bảo trì`,subtitle:o=`Chúng tôi đang khắc phục vấn đề với tính năng này. Vui lòng quay lại sau.`,buttonText:s=`Quay lại`,onButtonClick:c=()=>window.history.back(),className:l,iconClassName:u})=>r(`div`,{className:t(`flex flex-col items-center justify-center min-h-[50vh] gap-4 sm:gap-6 py-8 sm:py-10 px-4 text-center w-full`,l),children:[r(`div`,{className:`flex flex-col items-center gap-2`,children:[n(i,{className:t(`size-16 sm:size-24 text-orange-500`,u)}),n(`div`,{className:`text-3xl sm:text-5xl font-bold text-orange-500`})]}),n(`h1`,{className:`text-xl sm:text-2xl font-semibold mt-2`,children:a}),n(`p`,{className:`text-muted-foreground max-w-md text-sm sm:text-base`,children:o}),n(e,{onClick:c,variant:`default`,className:`mt-2`,size:`sm`,children:s})]});var o=a;export{a as FeatureFixing,o as default};
|
|
2
2
|
//# sourceMappingURL=FeatureFixing.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-
|
|
1
|
+
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-CS-Cmarr.cjs`);const t=require(`../button-BFcXpjqF.cjs`);let n=require(`@customafk/react-toolkit/utils`),r=require(`react/jsx-runtime`),i=require(`lucide-react`);const a=({title:e=`Quyền truy cập bị từ chối`,subtitle:a=`Xin lỗi, bạn không có quyền truy cập vào trang này.`,buttonText:o=`Quay lại`,onButtonClick:s=()=>window.history.back(),className:c,iconClassName:l})=>(0,r.jsxs)(`div`,{className:(0,n.cn)(`flex flex-col items-center justify-center min-h-[50vh] gap-4 sm:gap-6 py-8 sm:py-10 px-4 text-center w-full`,c),children:[(0,r.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,r.jsx)(i.ShieldAlert,{className:(0,n.cn)(`size-16 sm:size-24 text-primary`,l)}),(0,r.jsx)(`div`,{className:`text-4xl sm:text-6xl font-bold text-primary`,children:`403`})]}),(0,r.jsx)(`h1`,{className:`text-xl sm:text-2xl font-semibold mt-2`,children:e}),(0,r.jsx)(`p`,{className:`text-muted-foreground max-w-md text-sm sm:text-base`,children:a}),(0,r.jsx)(t.t,{onClick:s,variant:`default`,className:`mt-2`,size:`sm`,children:o})]});var o=a;exports.NotAuthorized=a,exports.default=o;
|
|
2
2
|
//# sourceMappingURL=NotAuthorized.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/NotAuthorized.d.ts
|
|
4
4
|
interface NotAuthorizedProps {
|
|
@@ -19,7 +19,7 @@ declare const NotAuthorized: ({
|
|
|
19
19
|
onButtonClick,
|
|
20
20
|
className,
|
|
21
21
|
iconClassName
|
|
22
|
-
}: NotAuthorizedProps) =>
|
|
22
|
+
}: NotAuthorizedProps) => react_jsx_runtime35.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { NotAuthorized, NotAuthorized as default, NotAuthorizedProps };
|
|
25
25
|
//# sourceMappingURL=NotAuthorized.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/NotAuthorized.d.ts
|
|
4
4
|
interface NotAuthorizedProps {
|
|
@@ -19,7 +19,7 @@ declare const NotAuthorized: ({
|
|
|
19
19
|
onButtonClick,
|
|
20
20
|
className,
|
|
21
21
|
iconClassName
|
|
22
|
-
}: NotAuthorizedProps) =>
|
|
22
|
+
}: NotAuthorizedProps) => react_jsx_runtime43.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { NotAuthorized, NotAuthorized as default, NotAuthorizedProps };
|
|
25
25
|
//# sourceMappingURL=NotAuthorized.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../button.variants-
|
|
1
|
+
import"../button.variants-DRWf66hR.mjs";import{t as e}from"../button-BQTNG97Y.mjs";import{cn as t}from"@customafk/react-toolkit/utils";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{ShieldAlert as i}from"lucide-react";const a=({title:a=`Quyền truy cập bị từ chối`,subtitle:o=`Xin lỗi, bạn không có quyền truy cập vào trang này.`,buttonText:s=`Quay lại`,onButtonClick:c=()=>window.history.back(),className:l,iconClassName:u})=>r(`div`,{className:t(`flex flex-col items-center justify-center min-h-[50vh] gap-4 sm:gap-6 py-8 sm:py-10 px-4 text-center w-full`,l),children:[r(`div`,{className:`flex flex-col items-center gap-2`,children:[n(i,{className:t(`size-16 sm:size-24 text-primary`,u)}),n(`div`,{className:`text-4xl sm:text-6xl font-bold text-primary`,children:`403`})]}),n(`h1`,{className:`text-xl sm:text-2xl font-semibold mt-2`,children:a}),n(`p`,{className:`text-muted-foreground max-w-md text-sm sm:text-base`,children:o}),n(e,{onClick:c,variant:`default`,className:`mt-2`,size:`sm`,children:s})]});var o=a;export{a as NotAuthorized,o as default};
|
|
2
2
|
//# sourceMappingURL=NotAuthorized.mjs.map
|
package/dist/pages/NotFound.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-
|
|
1
|
+
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-CS-Cmarr.cjs`);const t=require(`../button-BFcXpjqF.cjs`);let n=require(`@customafk/react-toolkit/utils`),r=require(`react/jsx-runtime`),i=require(`lucide-react`);const a=({title:e=`Không tìm thấy trang`,subtitle:a=`Xin lỗi, trang bạn đang tìm kiếm không tồn tại hoặc đã bị di chuyển.`,buttonText:o=`Trở về trang chủ`,onButtonClick:s=()=>window.history.back(),className:c,iconClassName:l})=>(0,r.jsxs)(`div`,{className:(0,n.cn)(`flex flex-col items-center justify-center min-h-[50vh] gap-4 sm:gap-6 py-8 sm:py-10 px-4 text-center w-full`,c),children:[(0,r.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,r.jsx)(i.FileQuestion,{className:(0,n.cn)(`size-16 sm:size-24 text-primary`,l)}),(0,r.jsx)(`div`,{className:`text-4xl sm:text-6xl font-bold text-primary`,children:`404`})]}),(0,r.jsx)(`h1`,{className:`text-xl sm:text-2xl font-semibold mt-2`,children:e}),(0,r.jsx)(`p`,{className:`text-muted-foreground max-w-md text-sm sm:text-base`,children:a}),(0,r.jsx)(t.t,{onClick:s,variant:`default`,className:`mt-2`,size:`sm`,children:o})]});var o=a;exports.NotFound=a,exports.default=o;
|
|
2
2
|
//# sourceMappingURL=NotFound.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/NotFound.d.ts
|
|
4
4
|
interface NotFoundProps {
|
|
@@ -19,7 +19,7 @@ declare const NotFound: ({
|
|
|
19
19
|
onButtonClick,
|
|
20
20
|
className,
|
|
21
21
|
iconClassName
|
|
22
|
-
}: NotFoundProps) =>
|
|
22
|
+
}: NotFoundProps) => react_jsx_runtime27.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { NotFound, NotFound as default, NotFoundProps };
|
|
25
25
|
//# sourceMappingURL=NotFound.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/NotFound.d.ts
|
|
4
4
|
interface NotFoundProps {
|
|
@@ -19,7 +19,7 @@ declare const NotFound: ({
|
|
|
19
19
|
onButtonClick,
|
|
20
20
|
className,
|
|
21
21
|
iconClassName
|
|
22
|
-
}: NotFoundProps) =>
|
|
22
|
+
}: NotFoundProps) => react_jsx_runtime3.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { NotFound, NotFound as default, NotFoundProps };
|
|
25
25
|
//# sourceMappingURL=NotFound.d.mts.map
|
package/dist/pages/NotFound.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../button.variants-
|
|
1
|
+
import"../button.variants-DRWf66hR.mjs";import{t as e}from"../button-BQTNG97Y.mjs";import{cn as t}from"@customafk/react-toolkit/utils";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{FileQuestion as i}from"lucide-react";const a=({title:a=`Không tìm thấy trang`,subtitle:o=`Xin lỗi, trang bạn đang tìm kiếm không tồn tại hoặc đã bị di chuyển.`,buttonText:s=`Trở về trang chủ`,onButtonClick:c=()=>window.history.back(),className:l,iconClassName:u})=>r(`div`,{className:t(`flex flex-col items-center justify-center min-h-[50vh] gap-4 sm:gap-6 py-8 sm:py-10 px-4 text-center w-full`,l),children:[r(`div`,{className:`flex flex-col items-center gap-2`,children:[n(i,{className:t(`size-16 sm:size-24 text-primary`,u)}),n(`div`,{className:`text-4xl sm:text-6xl font-bold text-primary`,children:`404`})]}),n(`h1`,{className:`text-xl sm:text-2xl font-semibold mt-2`,children:a}),n(`p`,{className:`text-muted-foreground max-w-md text-sm sm:text-base`,children:o}),n(e,{onClick:c,variant:`default`,className:`mt-2`,size:`sm`,children:s})]});var o=a;export{a as NotFound,o as default};
|
|
2
2
|
//# sourceMappingURL=NotFound.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/typography/paragraph.d.ts
|
|
5
5
|
type Props = {
|
|
@@ -16,13 +16,13 @@ type Props = {
|
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
};
|
|
18
18
|
declare const paragraphVariants: (props?: ({
|
|
19
|
-
variant?: "xs" | "sm" | "lg" | "
|
|
20
|
-
} &
|
|
19
|
+
variant?: "xs" | "sm" | "lg" | "lead" | "p" | "muted" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
21
21
|
declare const Paragraph: ({
|
|
22
22
|
variant,
|
|
23
23
|
className,
|
|
24
24
|
children
|
|
25
|
-
}: Props) =>
|
|
25
|
+
}: Props) => react_jsx_runtime28.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Paragraph, paragraphVariants };
|
|
28
28
|
//# sourceMappingURL=paragraph.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/typography/paragraph.d.ts
|
|
5
5
|
type Props = {
|
|
@@ -16,13 +16,13 @@ type Props = {
|
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
};
|
|
18
18
|
declare const paragraphVariants: (props?: ({
|
|
19
|
-
variant?: "xs" | "sm" | "lg" | "
|
|
20
|
-
} &
|
|
19
|
+
variant?: "xs" | "sm" | "lg" | "lead" | "p" | "muted" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
21
21
|
declare const Paragraph: ({
|
|
22
22
|
variant,
|
|
23
23
|
className,
|
|
24
24
|
children
|
|
25
|
-
}: Props) =>
|
|
25
|
+
}: Props) => react_jsx_runtime2.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Paragraph, paragraphVariants };
|
|
28
28
|
//# sourceMappingURL=paragraph.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/typography/title.d.ts
|
|
4
4
|
type Props = {
|
|
@@ -10,7 +10,7 @@ declare const Title: ({
|
|
|
10
10
|
level,
|
|
11
11
|
className,
|
|
12
12
|
children
|
|
13
|
-
}: Props) =>
|
|
13
|
+
}: Props) => react_jsx_runtime33.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Title };
|
|
16
16
|
//# sourceMappingURL=title.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/typography/title.d.ts
|
|
4
4
|
type Props = {
|
|
@@ -10,7 +10,7 @@ declare const Title: ({
|
|
|
10
10
|
level,
|
|
11
11
|
className,
|
|
12
12
|
children
|
|
13
|
-
}: Props) =>
|
|
13
|
+
}: Props) => react_jsx_runtime26.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Title };
|
|
16
16
|
//# sourceMappingURL=title.d.mts.map
|
package/dist/ui/alert-dialog.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../heading-BEm5CCSE.cjs`),n=require(`../paragraph-B72bHMf7.cjs`),r=require(`../button.variants-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../heading-BEm5CCSE.cjs`),n=require(`../paragraph-B72bHMf7.cjs`),r=require(`../button.variants-CS-Cmarr.cjs`);let i=require(`@customafk/react-toolkit/utils`),a=require(`react/jsx-runtime`),o=require(`radix-ui`);function s({...e}){return(0,a.jsx)(o.AlertDialog.Root,{"data-slot":`alert-dialog`,...e})}function c({...e}){return(0,a.jsx)(o.AlertDialog.Trigger,{"data-slot":`alert-dialog-trigger`,...e})}function l({...e}){return(0,a.jsx)(o.AlertDialog.Portal,{"data-slot":`alert-dialog-portal`,...e})}function u({className:e,...t}){return(0,a.jsx)(o.AlertDialog.Overlay,{"data-slot":`alert-dialog-overlay`,style:{pointerEvents:`none`},className:(0,i.cn)(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,e),...t})}function d({className:e,...t}){return(0,a.jsxs)(l,{children:[(0,a.jsx)(u,{}),(0,a.jsx)(o.AlertDialog.Content,{"data-slot":`alert-dialog-content`,className:(0,i.cn)(`bg-background`,`fixed z-50`,`-translate-1/2 top-1/2 left-1/2`,`grid w-full max-w-[calc(100%-2rem)] sm:max-w-lg`,`gap-4 rounded-lg p-6 shadow-lg duration-200`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-95`,e),...t})]})}function f({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`alert-dialog-header`,className:(0,i.cn)(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function p({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`alert-dialog-footer`,className:(0,i.cn)(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function m({className:e,...n}){return(0,a.jsx)(o.AlertDialog.Title,{"data-slot":`alert-dialog-title`,className:(0,i.cn)(t.t({level:`h3`}),e),...n})}function h({className:e,...t}){return(0,a.jsx)(o.AlertDialog.Description,{"data-slot":`alert-dialog-description`,className:(0,i.cn)(n.n({variant:`muted`}),`not-first:mt-0`,e),...t})}function g({className:e,...t}){return(0,a.jsx)(o.AlertDialog.Action,{className:(0,i.cn)(r.n(),`min-w-24`,e),...t,autoFocus:!0,tabIndex:1})}function _({className:e,...t}){return(0,a.jsx)(o.AlertDialog.Cancel,{className:(0,i.cn)(r.n({variant:`outline`,color:`muted`}),`min-w-24`,e),...t})}exports.AlertDialog=s,exports.AlertDialogAction=g,exports.AlertDialogCancel=_,exports.AlertDialogContent=d,exports.AlertDialogDescription=h,exports.AlertDialogFooter=p,exports.AlertDialogHeader=f,exports.AlertDialogOverlay=u,exports.AlertDialogPortal=l,exports.AlertDialogTitle=m,exports.AlertDialogTrigger=c;
|
|
2
2
|
//# sourceMappingURL=alert-dialog.cjs.map
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/alert-dialog.d.ts
|
|
5
5
|
declare function AlertDialog({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof AlertDialog$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime36.JSX.Element;
|
|
8
8
|
declare function AlertDialogTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime36.JSX.Element;
|
|
11
11
|
declare function AlertDialogPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof AlertDialog$1.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime36.JSX.Element;
|
|
14
14
|
declare function AlertDialogOverlay({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
17
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime36.JSX.Element;
|
|
18
18
|
declare function AlertDialogContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof AlertDialog$1.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime36.JSX.Element;
|
|
22
22
|
declare function AlertDialogHeader({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.JSX.Element;
|
|
26
26
|
declare function AlertDialogFooter({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.JSX.Element;
|
|
30
30
|
declare function AlertDialogTitle({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
33
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime36.JSX.Element;
|
|
34
34
|
declare function AlertDialogDescription({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
37
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime36.JSX.Element;
|
|
38
38
|
declare function AlertDialogAction({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
41
|
+
}: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime36.JSX.Element;
|
|
42
42
|
declare function AlertDialogCancel({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
45
|
+
}: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime36.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
48
48
|
//# sourceMappingURL=alert-dialog.d.cts.map
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
2
2
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/alert-dialog.d.ts
|
|
5
5
|
declare function AlertDialog({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof AlertDialog$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime59.JSX.Element;
|
|
8
8
|
declare function AlertDialogTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime59.JSX.Element;
|
|
11
11
|
declare function AlertDialogPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof AlertDialog$1.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime59.JSX.Element;
|
|
14
14
|
declare function AlertDialogOverlay({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
17
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime59.JSX.Element;
|
|
18
18
|
declare function AlertDialogContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof AlertDialog$1.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime59.JSX.Element;
|
|
22
22
|
declare function AlertDialogHeader({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime59.JSX.Element;
|
|
26
26
|
declare function AlertDialogFooter({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime59.JSX.Element;
|
|
30
30
|
declare function AlertDialogTitle({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
33
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime59.JSX.Element;
|
|
34
34
|
declare function AlertDialogDescription({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
37
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime59.JSX.Element;
|
|
38
38
|
declare function AlertDialogAction({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
41
|
+
}: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime59.JSX.Element;
|
|
42
42
|
declare function AlertDialogCancel({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
45
|
+
}: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime59.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
48
48
|
//# sourceMappingURL=alert-dialog.d.mts.map
|
package/dist/ui/alert-dialog.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{t as e}from"../heading--VmdIi7C.mjs";import{n as t}from"../paragraph-moBSTPmT.mjs";import{n}from"../button.variants-
|
|
1
|
+
"use client";import{t as e}from"../heading--VmdIi7C.mjs";import{n as t}from"../paragraph-moBSTPmT.mjs";import{n}from"../button.variants-DRWf66hR.mjs";import{cn as r}from"@customafk/react-toolkit/utils";import{jsx as i,jsxs as a}from"react/jsx-runtime";import{AlertDialog as o}from"radix-ui";function s({...e}){return i(o.Root,{"data-slot":`alert-dialog`,...e})}function c({...e}){return i(o.Trigger,{"data-slot":`alert-dialog-trigger`,...e})}function l({...e}){return i(o.Portal,{"data-slot":`alert-dialog-portal`,...e})}function u({className:e,...t}){return i(o.Overlay,{"data-slot":`alert-dialog-overlay`,style:{pointerEvents:`none`},className:r(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,e),...t})}function d({className:e,...t}){return a(l,{children:[i(u,{}),i(o.Content,{"data-slot":`alert-dialog-content`,className:r(`bg-background`,`fixed z-50`,`-translate-1/2 top-1/2 left-1/2`,`grid w-full max-w-[calc(100%-2rem)] sm:max-w-lg`,`gap-4 rounded-lg p-6 shadow-lg duration-200`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-95`,e),...t})]})}function f({className:e,...t}){return i(`div`,{"data-slot":`alert-dialog-header`,className:r(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function p({className:e,...t}){return i(`div`,{"data-slot":`alert-dialog-footer`,className:r(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function m({className:t,...n}){return i(o.Title,{"data-slot":`alert-dialog-title`,className:r(e({level:`h3`}),t),...n})}function h({className:e,...n}){return i(o.Description,{"data-slot":`alert-dialog-description`,className:r(t({variant:`muted`}),`not-first:mt-0`,e),...n})}function g({className:e,...t}){return i(o.Action,{className:r(n(),`min-w-24`,e),...t,autoFocus:!0,tabIndex:1})}function _({className:e,...t}){return i(o.Cancel,{className:r(n({variant:`outline`,color:`muted`}),`min-w-24`,e),...t})}export{s as AlertDialog,g as AlertDialogAction,_ as AlertDialogCancel,d as AlertDialogContent,h as AlertDialogDescription,p as AlertDialogFooter,f as AlertDialogHeader,u as AlertDialogOverlay,l as AlertDialogPortal,m as AlertDialogTitle,c as AlertDialogTrigger};
|
|
2
2
|
//# sourceMappingURL=alert-dialog.mjs.map
|
package/dist/ui/alert.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types14 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/alert-variants.d.ts
|
|
@@ -7,8 +7,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
7
7
|
* Alert component variants for styling using class-variance-authority
|
|
8
8
|
*/
|
|
9
9
|
declare const alertVariants: (props?: ({
|
|
10
|
-
variant?: "default" | "
|
|
11
|
-
} &
|
|
10
|
+
variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types14.ClassProp) | undefined) => string;
|
|
12
12
|
type AlertVariantProps = VariantProps<typeof alertVariants>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region packages/components/ui/alert.d.ts
|
|
@@ -37,7 +37,7 @@ declare function Alert({
|
|
|
37
37
|
dismissible,
|
|
38
38
|
onDismiss,
|
|
39
39
|
...props
|
|
40
|
-
}: AlertProps):
|
|
40
|
+
}: AlertProps): react_jsx_runtime30.JSX.Element;
|
|
41
41
|
interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
42
42
|
/**
|
|
43
43
|
* Title text or elements
|
|
@@ -50,7 +50,7 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
50
50
|
declare function AlertTitle({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: AlertTitleProps):
|
|
53
|
+
}: AlertTitleProps): react_jsx_runtime30.JSX.Element;
|
|
54
54
|
interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
55
55
|
/**
|
|
56
56
|
* Description text or elements
|
|
@@ -63,7 +63,7 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
63
63
|
declare function AlertDescription({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: AlertDescriptionProps):
|
|
66
|
+
}: AlertDescriptionProps): react_jsx_runtime30.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
|
69
69
|
//# sourceMappingURL=alert.d.cts.map
|
package/dist/ui/alert.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime166 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/alert-variants.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* Alert component variants for styling using class-variance-authority
|
|
8
8
|
*/
|
|
9
9
|
declare const alertVariants: (props?: ({
|
|
10
|
-
variant?: "default" | "
|
|
11
|
-
} &
|
|
10
|
+
variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
12
12
|
type AlertVariantProps = VariantProps<typeof alertVariants>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region packages/components/ui/alert.d.ts
|
|
@@ -37,7 +37,7 @@ declare function Alert({
|
|
|
37
37
|
dismissible,
|
|
38
38
|
onDismiss,
|
|
39
39
|
...props
|
|
40
|
-
}: AlertProps):
|
|
40
|
+
}: AlertProps): react_jsx_runtime166.JSX.Element;
|
|
41
41
|
interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
42
42
|
/**
|
|
43
43
|
* Title text or elements
|
|
@@ -50,7 +50,7 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
50
50
|
declare function AlertTitle({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: AlertTitleProps):
|
|
53
|
+
}: AlertTitleProps): react_jsx_runtime166.JSX.Element;
|
|
54
54
|
interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
55
55
|
/**
|
|
56
56
|
* Description text or elements
|
|
@@ -63,7 +63,7 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
63
63
|
declare function AlertDescription({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: AlertDescriptionProps):
|
|
66
|
+
}: AlertDescriptionProps): react_jsx_runtime166.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
|
69
69
|
//# sourceMappingURL=alert.d.mts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
2
2
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/aspect-ratio.d.ts
|
|
5
5
|
declare function AspectRatio({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime34.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AspectRatio };
|
|
11
11
|
//# sourceMappingURL=aspect-ratio.d.cts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime217 from "react/jsx-runtime";
|
|
2
2
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/aspect-ratio.d.ts
|
|
5
5
|
declare function AspectRatio({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime217.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AspectRatio };
|
|
11
11
|
//# sourceMappingURL=aspect-ratio.d.mts.map
|
package/dist/ui/avatar.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/avatar.d.ts
|
|
5
5
|
declare function Avatar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime58.JSX.Element;
|
|
9
9
|
declare function AvatarImage({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
12
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime58.JSX.Element;
|
|
13
13
|
declare function AvatarFallback({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
16
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime58.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
19
|
//# sourceMappingURL=avatar.d.cts.map
|
package/dist/ui/avatar.d.mts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime182 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/avatar.d.ts
|
|
5
5
|
declare function Avatar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime182.JSX.Element;
|
|
9
9
|
declare function AvatarImage({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
12
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime182.JSX.Element;
|
|
13
13
|
declare function AvatarFallback({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
16
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime182.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
19
|
//# sourceMappingURL=avatar.d.mts.map
|
package/dist/ui/badge.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/badge.d.ts
|
|
@@ -7,7 +7,7 @@ declare const badgeVariants: (props?: ({
|
|
|
7
7
|
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "zinc" | null | undefined;
|
|
8
8
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
9
|
pill?: boolean | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
11
11
|
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'span'>;
|
|
12
12
|
declare function Badge({
|
|
13
13
|
className,
|
|
@@ -15,7 +15,7 @@ declare function Badge({
|
|
|
15
15
|
size,
|
|
16
16
|
pill,
|
|
17
17
|
...props
|
|
18
|
-
}: BadgeProps):
|
|
18
|
+
}: BadgeProps): react_jsx_runtime61.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Badge, BadgeProps, badgeVariants };
|
|
21
21
|
//# sourceMappingURL=badge.d.cts.map
|