@customafk/lunas-ui 0.0.56 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +246 -92
- package/dist/{add-new-NPjDhZh_.js → add-new-B9KK77jE.js} +1 -1
- package/dist/{add-new-NPjDhZh_.js.map → add-new-B9KK77jE.js.map} +1 -1
- package/dist/{add-new-B_isqDA8.cjs → add-new-B9vW0r69.cjs} +1 -1
- package/dist/{add-new-B_isqDA8.cjs.map → add-new-B9vW0r69.cjs.map} +1 -1
- package/dist/{button-D-rU8Zxi.d.cts → button-D_tzwFGJ.d.cts} +5 -5
- package/dist/{button-CbUzKqWI.d.ts → button-NsFoJEG0.d.ts} +5 -5
- package/dist/{command-rcA08Vgu.d.ts → command-7NgITO2I.d.ts} +12 -12
- package/dist/{command-BjYoQgjB.d.cts → command-HP5LITqM.d.cts} +12 -12
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-BOjG_Rwt.d.ts → dialog-BciL0byt.d.ts} +12 -12
- package/dist/{dialog-1Rot05ly.d.cts → dialog-DdcYSxA2.d.cts} +12 -12
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +30 -30
- package/dist/dialogs/detail-dialog/component/sidebar.d.ts +30 -30
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/form-dialog.cjs +1 -1
- package/dist/dialogs/form-dialog.cjs.map +1 -1
- package/dist/dialogs/form-dialog.d.cts +2 -2
- package/dist/dialogs/form-dialog.d.ts +2 -2
- package/dist/dialogs/form-dialog.js +1 -1
- package/dist/dialogs/form-dialog.js.map +1 -1
- package/dist/{dropdown-menu-DSjfaonn.js → dropdown-menu-BF9QbIfo.js} +1 -1
- package/dist/{dropdown-menu-DSjfaonn.js.map → dropdown-menu-BF9QbIfo.js.map} +1 -1
- package/dist/{dropdown-menu-Dd9uB7ai.cjs → dropdown-menu-CIldv8D7.cjs} +1 -1
- package/dist/{dropdown-menu-Dd9uB7ai.cjs.map → dropdown-menu-CIldv8D7.cjs.map} +1 -1
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.d.ts +2 -2
- package/dist/forms/form-wrapper.d.cts +2 -2
- package/dist/forms/form-wrapper.d.ts +2 -2
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/number-field.d.cts +2 -2
- package/dist/forms/number-field.d.ts +2 -2
- package/dist/forms/password-field.d.cts +2 -2
- package/dist/forms/password-field.d.ts +2 -2
- package/dist/forms/select-field.cjs +1 -1
- package/dist/forms/select-field.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- package/dist/forms/select-field.js +1 -1
- package/dist/forms/switch-field.d.cts +2 -2
- package/dist/forms/switch-field.d.ts +2 -2
- package/dist/forms/text-field.d.cts +2 -2
- package/dist/forms/text-field.d.ts +2 -2
- package/dist/forms/textarea-field.d.cts +2 -2
- package/dist/forms/textarea-field.d.ts +2 -2
- package/dist/{input-C2_xbUlg.d.ts → input-B_wIBIc_.d.ts} +3 -3
- package/dist/{input-DylA1RM_.d.cts → input-OGFokZXp.d.cts} +3 -3
- package/dist/layouts/app-layout/index.d.cts +26 -26
- package/dist/layouts/app-layout/index.d.ts +3 -3
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.ts +2 -2
- package/dist/layouts/main/index.d.cts +4 -4
- package/dist/{refresh-D7GSuCBj.cjs → refresh-By25Z7zj.cjs} +1 -1
- package/dist/{refresh-D7GSuCBj.cjs.map → refresh-By25Z7zj.cjs.map} +1 -1
- package/dist/{refresh-DCb5DN8c.js → refresh-CMzmHeMf.js} +1 -1
- package/dist/{refresh-DCb5DN8c.js.map → refresh-CMzmHeMf.js.map} +1 -1
- package/dist/{scroll-area-DkMARNAo.js → scroll-area-CPQoJKt1.js} +1 -1
- package/dist/{scroll-area-DkMARNAo.js.map → scroll-area-CPQoJKt1.js.map} +1 -1
- package/dist/{scroll-area-DPdTIzO1.cjs → scroll-area-D7O1NyZn.cjs} +1 -1
- package/dist/{scroll-area-DPdTIzO1.cjs.map → scroll-area-D7O1NyZn.cjs.map} +1 -1
- package/dist/{search-input-CgsAwGXl.js → search-input-Ba8aUECr.js} +1 -1
- package/dist/{search-input-CgsAwGXl.js.map → search-input-Ba8aUECr.js.map} +1 -1
- package/dist/{search-input-BoMYvbuv.cjs → search-input-BmAoqcee.cjs} +1 -1
- package/dist/{search-input-BoMYvbuv.cjs.map → search-input-BmAoqcee.cjs.map} +1 -1
- package/dist/select-C7na5CE5.cjs +2 -0
- package/dist/select-C7na5CE5.cjs.map +1 -0
- package/dist/select-VpccO3h2.js +2 -0
- package/dist/select-VpccO3h2.js.map +1 -0
- package/dist/{separator-C4B7TPqd.d.ts → separator-BChPwmFZ.d.ts} +3 -3
- package/dist/{separator-Cj69RDvU.d.cts → separator-yyGmy_ba.d.cts} +3 -3
- package/dist/table/index.cjs +1 -1
- package/dist/table/index.d.cts +2 -2
- package/dist/table/index.d.ts +2 -2
- package/dist/table/index.js +1 -1
- package/dist/{table-BX0M7vcu.cjs → table-Dgk7z91H.cjs} +2 -2
- package/dist/{table-BX0M7vcu.cjs.map → table-Dgk7z91H.cjs.map} +1 -1
- package/dist/{table-CBnyucZW.js → table-goPaI3yw.js} +2 -2
- package/dist/{table-CBnyucZW.js.map → table-goPaI3yw.js.map} +1 -1
- package/dist/{title-j3aTXn_c.cjs → title-DONX1fR6.cjs} +1 -1
- package/dist/{title-j3aTXn_c.cjs.map → title-DONX1fR6.cjs.map} +1 -1
- package/dist/{title-CYln9_WT.js → title-itXqz0us.js} +1 -1
- package/dist/{title-CYln9_WT.js.map → title-itXqz0us.js.map} +1 -1
- package/dist/{toggle-B3Tn0fly.d.ts → toggle-B_di9jVO.d.cts} +4 -4
- package/dist/{toggle-BwRoCj2v.d.cts → toggle-DPvX-y_y.d.ts} +4 -4
- package/dist/{tooltip-ChLgwxDy.d.ts → tooltip--7nev3Bt.d.ts} +6 -6
- package/dist/{tooltip-DgrYrDE8.d.cts → tooltip-DkK1GTLt.d.cts} +6 -6
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.ts +2 -2
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- package/dist/typography/title.js +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.js +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.js +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.d.cts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +2 -2
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.ts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/inputs/search-input.js +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.ts +2 -2
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.ts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/scroll-area.js +1 -1
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.ts +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sidebar.d.cts +30 -30
- package/dist/ui/sidebar.d.ts +30 -30
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/package.json +1 -1
- package/dist/select-BjTQmEN7.js +0 -2
- package/dist/select-BjTQmEN7.js.map +0 -1
- package/dist/select-BlPiYiG_.cjs +0 -2
- package/dist/select-BlPiYiG_.cjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`./chunk-CUT6urMc.cjs`),t=require(`./scroll-area-
|
|
2
|
-
//# sourceMappingURL=table-
|
|
1
|
+
const e=require(`./chunk-CUT6urMc.cjs`),t=require(`./scroll-area-D7O1NyZn.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`@customafk/react-toolkit/utils`)),i=e.__toESM(require(`react/jsx-runtime`));function a({className:e,...n}){return(0,i.jsxs)(t.ScrollArea,{"data-slot":`table-conatiner`,className:`border-border-weak bg-background relative w-full overflow-x-auto rounded-lg border`,children:[(0,i.jsx)(`table`,{"data-slot":`table`,className:(0,r.cn)(`w-full caption-bottom text-sm`,e),...n}),(0,i.jsx)(t.ScrollBar,{orientation:`vertical`,className:`z-5 w-2`}),(0,i.jsx)(t.ScrollBar,{orientation:`horizontal`,className:`absolute right-0 bottom-0 left-0 h-2`})]})}function o({className:e,...t}){return(0,i.jsx)(`thead`,{"data-slot":`table-header`,className:(0,r.cn)(`bg-muted-muted border-border-weak`,`[&_tr]:border-b`,`[&_tr:not(:last-child)_td]:border-b`,`[&_tr_th:not(:last-child)]:border-r`,`[&_tr_th:not(:last-child)]:border-r-border-weak`,e),...t})}function s({className:e,...t}){return(0,i.jsx)(`tbody`,{"data-slot":`table-body`,className:(0,r.cn)(`[&_tr:last-child]:border-0`,e),...t})}function c({className:e,...t}){return(0,i.jsx)(`tfoot`,{"data-slot":`table-footer`,className:(0,r.cn)(`bg-accent-muted border-t font-medium [&>tr]:last:border-b-0`,e),...t})}function l({className:e,...t}){return(0,i.jsx)(`tr`,{"data-slot":`table-row`,className:(0,r.cn)(`hover:bg-muted-muted/50 active:bg-muted-muted data-[state=selected]:bg-muted border-border-weak border-b transition-colors`,e),...t})}function u({className:e,...t}){return(0,i.jsx)(`th`,{"data-slot":`table-head`,className:(0,r.cn)(`text-text-positive-weak`,`h-10 px-2 text-left align-middle font-medium whitespace-nowrap`,`[&:has([role=checkbox])]:pr-0`,`[&>[role=checkbox]]:translate-y-0.5`,e),...t})}function d({className:e,...t}){return(0,i.jsx)(`td`,{"data-slot":`table-cell`,className:(0,r.cn)(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5`,e),...t})}function f({className:e,...t}){return(0,i.jsx)(`caption`,{"data-slot":`table-caption`,className:(0,r.cn)(`text-text-positive-muted mt-4 text-sm`,e),...t})}Object.defineProperty(exports,`Table`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`TableBody`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`TableCaption`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`TableCell`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`TableFooter`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`TableHead`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`TableHeader`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`TableRow`,{enumerable:!0,get:function(){return l}});
|
|
2
|
+
//# sourceMappingURL=table-Dgk7z91H.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-
|
|
1
|
+
{"version":3,"file":"table-Dgk7z91H.cjs","names":["ScrollArea","ScrollBar"],"sources":["../packages/components/ui/table.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\n\nimport { cn } from '@customafk/react-toolkit/utils'\nimport { ScrollArea, ScrollBar } from './scroll-area'\n\nfunction Table({ className, ...props }: React.ComponentProps<'table'>) {\n return (\n <ScrollArea data-slot=\"table-conatiner\" className=\"border-border-weak bg-background relative w-full overflow-x-auto rounded-lg border\">\n <table data-slot=\"table\" className={cn('w-full caption-bottom text-sm', className)} {...props} />\n <ScrollBar orientation=\"vertical\" className=\"z-5 w-2\" />\n <ScrollBar orientation=\"horizontal\" className=\"absolute right-0 bottom-0 left-0 h-2\" />\n </ScrollArea>\n )\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n return (\n <thead\n data-slot=\"table-header\"\n className={cn(\n 'bg-muted-muted border-border-weak',\n '[&_tr]:border-b',\n '[&_tr:not(:last-child)_td]:border-b',\n '[&_tr_th:not(:last-child)]:border-r',\n '[&_tr_th:not(:last-child)]:border-r-border-weak',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n return <tbody data-slot=\"table-body\" className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n return <tfoot data-slot=\"table-footer\" className={cn('bg-accent-muted border-t font-medium [&>tr]:last:border-b-0', className)} {...props} />\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n return (\n <tr\n data-slot=\"table-row\"\n className={cn('hover:bg-muted-muted/50 active:bg-muted-muted data-[state=selected]:bg-muted border-border-weak border-b transition-colors', className)}\n {...props}\n />\n )\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<'th'>) {\n return (\n <th\n data-slot=\"table-head\"\n className={cn(\n 'text-text-positive-weak',\n 'h-10 px-2 text-left align-middle font-medium whitespace-nowrap',\n '[&:has([role=checkbox])]:pr-0',\n '[&>[role=checkbox]]:translate-y-0.5',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<'td'>) {\n return (\n <td\n data-slot=\"table-cell\"\n className={cn('p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5', className)}\n {...props}\n />\n )\n}\n\nfunction TableCaption({ className, ...props }: React.ComponentProps<'caption'>) {\n return <caption data-slot=\"table-caption\" className={cn('text-text-positive-muted mt-4 text-sm', className)} {...props} />\n}\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow }\n"],"mappings":"+MAMA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAwC,CACrE,OACE,EAAA,EAAA,MAACA,EAAAA,WAAAA,CAAW,YAAU,kBAAkB,UAAU,gGAChD,EAAA,EAAA,KAAC,QAAA,CAAM,YAAU,QAAQ,WAAA,EAAA,EAAA,IAAc,gCAAiC,GAAY,GAAI,KACxF,EAAA,EAAA,KAACC,EAAAA,UAAAA,CAAU,YAAY,WAAW,UAAU,aAC5C,EAAA,EAAA,KAACA,EAAAA,UAAAA,CAAU,YAAY,aAAa,UAAU,4CAKpD,SAAS,EAAY,CAAE,YAAW,GAAG,GAAwC,CAC3E,OACE,EAAA,EAAA,KAAC,QAAA,CACC,YAAU,eACV,WAAA,EAAA,EAAA,IACE,oCACA,kBACA,sCACA,sCACA,kDACA,GAEF,GAAI,IAKV,SAAS,EAAU,CAAE,YAAW,GAAG,GAAwC,CACzE,OAAO,EAAA,EAAA,KAAC,QAAA,CAAM,YAAU,aAAa,WAAA,EAAA,EAAA,IAAc,6BAA8B,GAAY,GAAI,IAGnG,SAAS,EAAY,CAAE,YAAW,GAAG,GAAwC,CAC3E,OAAO,EAAA,EAAA,KAAC,QAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,8DAA+D,GAAY,GAAI,IAGtI,SAAS,EAAS,CAAE,YAAW,GAAG,GAAqC,CACrE,OACE,EAAA,EAAA,KAAC,KAAA,CACC,YAAU,YACV,WAAA,EAAA,EAAA,IAAc,6HAA8H,GAC5I,GAAI,IAKV,SAAS,EAAU,CAAE,YAAW,GAAG,GAAqC,CACtE,OACE,EAAA,EAAA,KAAC,KAAA,CACC,YAAU,aACV,WAAA,EAAA,EAAA,IACE,0BACA,iEACA,gCACA,sCACA,GAEF,GAAI,IAKV,SAAS,EAAU,CAAE,YAAW,GAAG,GAAqC,CACtE,OACE,EAAA,EAAA,KAAC,KAAA,CACC,YAAU,aACV,WAAA,EAAA,EAAA,IAAc,uGAAwG,GACtH,GAAI,IAKV,SAAS,EAAa,CAAE,YAAW,GAAG,GAA0C,CAC9E,OAAO,EAAA,EAAA,KAAC,UAAA,CAAQ,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,wCAAyC,GAAY,GAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ScrollArea as e,ScrollBar as t}from"./scroll-area-
|
|
2
|
-
//# sourceMappingURL=table-
|
|
1
|
+
import{ScrollArea as e,ScrollBar as t}from"./scroll-area-CPQoJKt1.js";import n from"react";import{cn as r}from"@customafk/react-toolkit/utils";import{jsx as i,jsxs as a}from"react/jsx-runtime";function o({className:n,...o}){return a(e,{"data-slot":`table-conatiner`,className:`border-border-weak bg-background relative w-full overflow-x-auto rounded-lg border`,children:[i(`table`,{"data-slot":`table`,className:r(`w-full caption-bottom text-sm`,n),...o}),i(t,{orientation:`vertical`,className:`z-5 w-2`}),i(t,{orientation:`horizontal`,className:`absolute right-0 bottom-0 left-0 h-2`})]})}function s({className:e,...t}){return i(`thead`,{"data-slot":`table-header`,className:r(`bg-muted-muted border-border-weak`,`[&_tr]:border-b`,`[&_tr:not(:last-child)_td]:border-b`,`[&_tr_th:not(:last-child)]:border-r`,`[&_tr_th:not(:last-child)]:border-r-border-weak`,e),...t})}function c({className:e,...t}){return i(`tbody`,{"data-slot":`table-body`,className:r(`[&_tr:last-child]:border-0`,e),...t})}function l({className:e,...t}){return i(`tfoot`,{"data-slot":`table-footer`,className:r(`bg-accent-muted border-t font-medium [&>tr]:last:border-b-0`,e),...t})}function u({className:e,...t}){return i(`tr`,{"data-slot":`table-row`,className:r(`hover:bg-muted-muted/50 active:bg-muted-muted data-[state=selected]:bg-muted border-border-weak border-b transition-colors`,e),...t})}function d({className:e,...t}){return i(`th`,{"data-slot":`table-head`,className:r(`text-text-positive-weak`,`h-10 px-2 text-left align-middle font-medium whitespace-nowrap`,`[&:has([role=checkbox])]:pr-0`,`[&>[role=checkbox]]:translate-y-0.5`,e),...t})}function f({className:e,...t}){return i(`td`,{"data-slot":`table-cell`,className:r(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5`,e),...t})}function p({className:e,...t}){return i(`caption`,{"data-slot":`table-caption`,className:r(`text-text-positive-muted mt-4 text-sm`,e),...t})}export{o as Table,c as TableBody,p as TableCaption,f as TableCell,l as TableFooter,d as TableHead,s as TableHeader,u as TableRow};
|
|
2
|
+
//# sourceMappingURL=table-goPaI3yw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-
|
|
1
|
+
{"version":3,"file":"table-goPaI3yw.js","names":[],"sources":["../packages/components/ui/table.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\n\nimport { cn } from '@customafk/react-toolkit/utils'\nimport { ScrollArea, ScrollBar } from './scroll-area'\n\nfunction Table({ className, ...props }: React.ComponentProps<'table'>) {\n return (\n <ScrollArea data-slot=\"table-conatiner\" className=\"border-border-weak bg-background relative w-full overflow-x-auto rounded-lg border\">\n <table data-slot=\"table\" className={cn('w-full caption-bottom text-sm', className)} {...props} />\n <ScrollBar orientation=\"vertical\" className=\"z-5 w-2\" />\n <ScrollBar orientation=\"horizontal\" className=\"absolute right-0 bottom-0 left-0 h-2\" />\n </ScrollArea>\n )\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n return (\n <thead\n data-slot=\"table-header\"\n className={cn(\n 'bg-muted-muted border-border-weak',\n '[&_tr]:border-b',\n '[&_tr:not(:last-child)_td]:border-b',\n '[&_tr_th:not(:last-child)]:border-r',\n '[&_tr_th:not(:last-child)]:border-r-border-weak',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n return <tbody data-slot=\"table-body\" className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n return <tfoot data-slot=\"table-footer\" className={cn('bg-accent-muted border-t font-medium [&>tr]:last:border-b-0', className)} {...props} />\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n return (\n <tr\n data-slot=\"table-row\"\n className={cn('hover:bg-muted-muted/50 active:bg-muted-muted data-[state=selected]:bg-muted border-border-weak border-b transition-colors', className)}\n {...props}\n />\n )\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<'th'>) {\n return (\n <th\n data-slot=\"table-head\"\n className={cn(\n 'text-text-positive-weak',\n 'h-10 px-2 text-left align-middle font-medium whitespace-nowrap',\n '[&:has([role=checkbox])]:pr-0',\n '[&>[role=checkbox]]:translate-y-0.5',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<'td'>) {\n return (\n <td\n data-slot=\"table-cell\"\n className={cn('p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5', className)}\n {...props}\n />\n )\n}\n\nfunction TableCaption({ className, ...props }: React.ComponentProps<'caption'>) {\n return <caption data-slot=\"table-caption\" className={cn('text-text-positive-muted mt-4 text-sm', className)} {...props} />\n}\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow }\n"],"mappings":"iMAMA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAwC,CACrE,OACE,EAAC,EAAA,CAAW,YAAU,kBAAkB,UAAU,+FAChD,EAAC,QAAA,CAAM,YAAU,QAAQ,UAAW,EAAG,gCAAiC,GAAY,GAAI,IACxF,EAAC,EAAA,CAAU,YAAY,WAAW,UAAU,YAC5C,EAAC,EAAA,CAAU,YAAY,aAAa,UAAU,4CAKpD,SAAS,EAAY,CAAE,YAAW,GAAG,GAAwC,CAC3E,OACE,EAAC,QAAA,CACC,YAAU,eACV,UAAW,EACT,oCACA,kBACA,sCACA,sCACA,kDACA,GAEF,GAAI,IAKV,SAAS,EAAU,CAAE,YAAW,GAAG,GAAwC,CACzE,OAAO,EAAC,QAAA,CAAM,YAAU,aAAa,UAAW,EAAG,6BAA8B,GAAY,GAAI,IAGnG,SAAS,EAAY,CAAE,YAAW,GAAG,GAAwC,CAC3E,OAAO,EAAC,QAAA,CAAM,YAAU,eAAe,UAAW,EAAG,8DAA+D,GAAY,GAAI,IAGtI,SAAS,EAAS,CAAE,YAAW,GAAG,GAAqC,CACrE,OACE,EAAC,KAAA,CACC,YAAU,YACV,UAAW,EAAG,6HAA8H,GAC5I,GAAI,IAKV,SAAS,EAAU,CAAE,YAAW,GAAG,GAAqC,CACtE,OACE,EAAC,KAAA,CACC,YAAU,aACV,UAAW,EACT,0BACA,iEACA,gCACA,sCACA,GAEF,GAAI,IAKV,SAAS,EAAU,CAAE,YAAW,GAAG,GAAqC,CACtE,OACE,EAAC,KAAA,CACC,YAAU,aACV,UAAW,EAAG,uGAAwG,GACtH,GAAI,IAKV,SAAS,EAAa,CAAE,YAAW,GAAG,GAA0C,CAC9E,OAAO,EAAC,UAAA,CAAQ,YAAU,gBAAgB,UAAW,EAAG,wCAAyC,GAAY,GAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const e=require(`./chunk-CUT6urMc.cjs`),t=e.__toESM(require(`@customafk/react-toolkit/utils`)),n=e.__toESM(require(`react/jsx-runtime`)),r=e.__toESM(require(`class-variance-authority`)),i=(0,r.cva)(`scroll-m-20 text-text-positive-strong tracking-tight`,{variants:{level:{1:`text-center text-4xl font-extrabold text-balance`,2:`border-b pb-2 text-3xl font-semibold first:mt-0`,3:`text-2xl font-semibold`,4:`text-xl font-semibold`,5:`text-lg font-semibold`,6:`text-base font-semibold`},default:{level:1}}}),a=({level:e=1,className:r,children:a})=>{let o=`h${e}`;return(0,n.jsx)(o,{className:(0,t.cn)(i({level:e}),r),children:a})};Object.defineProperty(exports,`Title`,{enumerable:!0,get:function(){return a}});
|
|
2
|
-
//# sourceMappingURL=title-
|
|
2
|
+
//# sourceMappingURL=title-DONX1fR6.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-
|
|
1
|
+
{"version":3,"file":"title-DONX1fR6.cjs","names":[],"sources":["../packages/components/typography/title.tsx"],"sourcesContent":["import type { JSX } from 'react'\nimport { cva } from 'class-variance-authority'\n\nimport { cn } from '@customafk/react-toolkit/utils'\n\nconst titleVariants = cva('scroll-m-20 text-text-positive-strong tracking-tight', {\n variants: {\n level: {\n 1: 'text-center text-4xl font-extrabold text-balance',\n 2: 'border-b pb-2 text-3xl font-semibold first:mt-0',\n 3: 'text-2xl font-semibold',\n 4: 'text-xl font-semibold',\n 5: 'text-lg font-semibold',\n 6: 'text-base font-semibold',\n },\n default: {\n level: 1,\n },\n },\n})\n\ntype Props = {\n level?: 1 | 2 | 3 | 4 | 5 | 6\n className?: string\n children?: React.ReactNode\n}\n\nexport const Title = ({ level = 1, className, children }: Props) => {\n const Comp = `h${level}` as keyof JSX.IntrinsicElements\n return <Comp className={cn(titleVariants({ level }), className)}>{children}</Comp>\n}\n"],"mappings":"0LAKM,GAAA,EAAA,EAAA,KAAoB,uDAAwD,CAChF,SAAU,CACR,MAAO,CACL,EAAG,mDACH,EAAG,kDACH,EAAG,yBACH,EAAG,wBACH,EAAG,wBACH,EAAG,2BAEL,QAAS,CACP,MAAO,MAWA,GAAS,CAAE,QAAQ,EAAG,YAAW,cAAsB,CAClE,IAAM,EAAO,IAAI,IACjB,OAAO,EAAA,EAAA,KAAC,EAAA,CAAK,WAAA,EAAA,EAAA,IAAc,EAAc,CAAE,UAAU,GAAa"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";import{cva as n}from"class-variance-authority";const r=n(`scroll-m-20 text-text-positive-strong tracking-tight`,{variants:{level:{1:`text-center text-4xl font-extrabold text-balance`,2:`border-b pb-2 text-3xl font-semibold first:mt-0`,3:`text-2xl font-semibold`,4:`text-xl font-semibold`,5:`text-lg font-semibold`,6:`text-base font-semibold`},default:{level:1}}}),i=({level:n=1,className:i,children:a})=>{let o=`h${n}`;return t(o,{className:e(r({level:n}),i),children:a})};export{i as Title};
|
|
2
|
-
//# sourceMappingURL=title-
|
|
2
|
+
//# sourceMappingURL=title-itXqz0us.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-
|
|
1
|
+
{"version":3,"file":"title-itXqz0us.js","names":[],"sources":["../packages/components/typography/title.tsx"],"sourcesContent":["import type { JSX } from 'react'\nimport { cva } from 'class-variance-authority'\n\nimport { cn } from '@customafk/react-toolkit/utils'\n\nconst titleVariants = cva('scroll-m-20 text-text-positive-strong tracking-tight', {\n variants: {\n level: {\n 1: 'text-center text-4xl font-extrabold text-balance',\n 2: 'border-b pb-2 text-3xl font-semibold first:mt-0',\n 3: 'text-2xl font-semibold',\n 4: 'text-xl font-semibold',\n 5: 'text-lg font-semibold',\n 6: 'text-base font-semibold',\n },\n default: {\n level: 1,\n },\n },\n})\n\ntype Props = {\n level?: 1 | 2 | 3 | 4 | 5 | 6\n className?: string\n children?: React.ReactNode\n}\n\nexport const Title = ({ level = 1, className, children }: Props) => {\n const Comp = `h${level}` as keyof JSX.IntrinsicElements\n return <Comp className={cn(titleVariants({ level }), className)}>{children}</Comp>\n}\n"],"mappings":"2IAKA,MAAM,EAAgB,EAAI,uDAAwD,CAChF,SAAU,CACR,MAAO,CACL,EAAG,mDACH,EAAG,kDACH,EAAG,yBACH,EAAG,wBACH,EAAG,wBACH,EAAG,2BAEL,QAAS,CACP,MAAO,MAWA,GAAS,CAAE,QAAQ,EAAG,YAAW,cAAsB,CAClE,IAAM,EAAO,IAAI,IACjB,OAAO,EAAC,EAAA,CAAK,UAAW,EAAG,EAAc,CAAE,UAAU,GAAa"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime193 from "react/jsx-runtime";
|
|
1
2
|
import React from "react";
|
|
2
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
3
4
|
import { VariantProps } from "class-variance-authority";
|
|
4
5
|
import { Toggle } from "radix-ui";
|
|
5
|
-
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region packages/components/ui/toggle.d.ts
|
|
8
8
|
declare const toggleVariants: (props?: ({
|
|
@@ -14,7 +14,7 @@ declare function Toggle$1({
|
|
|
14
14
|
variant,
|
|
15
15
|
size,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>):
|
|
17
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime193.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Toggle$1 as Toggle, toggleVariants };
|
|
20
|
-
//# sourceMappingURL=toggle-
|
|
20
|
+
//# sourceMappingURL=toggle-B_di9jVO.d.cts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as react_jsx_runtime187 from "react/jsx-runtime";
|
|
2
1
|
import React from "react";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime230 from "react/jsx-runtime";
|
|
4
3
|
import { VariantProps } from "class-variance-authority";
|
|
5
4
|
import { Toggle } from "radix-ui";
|
|
5
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region packages/components/ui/toggle.d.ts
|
|
8
8
|
declare const toggleVariants: (props?: ({
|
|
@@ -14,7 +14,7 @@ declare function Toggle$1({
|
|
|
14
14
|
variant,
|
|
15
15
|
size,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>):
|
|
17
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime230.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Toggle$1 as Toggle, toggleVariants };
|
|
20
|
-
//# sourceMappingURL=toggle-
|
|
20
|
+
//# sourceMappingURL=toggle-DPvX-y_y.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime164 from "react/jsx-runtime";
|
|
3
3
|
import { Tooltip } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/tooltip.d.ts
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Tooltip.Provider>):
|
|
9
|
+
}: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime164.JSX.Element;
|
|
10
10
|
declare function Tooltip$1({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Tooltip.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime164.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof Tooltip.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime164.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Tooltip.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime164.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tooltip$1 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
24
|
-
//# sourceMappingURL=tooltip
|
|
24
|
+
//# sourceMappingURL=tooltip--7nev3Bt.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime149 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Tooltip } from "radix-ui";
|
|
4
4
|
|
|
@@ -6,19 +6,19 @@ import { Tooltip } from "radix-ui";
|
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Tooltip.Provider>):
|
|
9
|
+
}: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime149.JSX.Element;
|
|
10
10
|
declare function Tooltip$1({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Tooltip.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime149.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof Tooltip.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime149.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Tooltip.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime149.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tooltip$1 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
24
|
-
//# sourceMappingURL=tooltip-
|
|
24
|
+
//# sourceMappingURL=tooltip-DkK1GTLt.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/typography/paragraph.d.ts
|
|
4
4
|
type Props = {
|
|
@@ -10,7 +10,7 @@ declare const Paragraph: ({
|
|
|
10
10
|
variant,
|
|
11
11
|
className,
|
|
12
12
|
children
|
|
13
|
-
}: Props) =>
|
|
13
|
+
}: Props) => react_jsx_runtime36.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Paragraph };
|
|
16
16
|
//# sourceMappingURL=paragraph.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/typography/paragraph.d.ts
|
|
4
4
|
type Props = {
|
|
@@ -10,7 +10,7 @@ declare const Paragraph: ({
|
|
|
10
10
|
variant,
|
|
11
11
|
className,
|
|
12
12
|
children
|
|
13
|
-
}: Props) =>
|
|
13
|
+
}: Props) => react_jsx_runtime11.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Paragraph };
|
|
16
16
|
//# sourceMappingURL=paragraph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../title-
|
|
1
|
+
const e=require(`../title-DONX1fR6.cjs`);exports.Title=e.Title;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime35 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_runtime35.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_runtime32 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_runtime32.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Title };
|
|
16
16
|
//# sourceMappingURL=title.d.ts.map
|
package/dist/typography/title.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Title as e}from"../title-
|
|
1
|
+
import{Title as e}from"../title-itXqz0us.js";export{e as Title};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/alert-dialog.d.ts
|
|
6
6
|
declare function AlertDialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AlertDialog$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime38.JSX.Element;
|
|
9
9
|
declare function AlertDialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime38.JSX.Element;
|
|
12
12
|
declare function AlertDialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof AlertDialog$1.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime38.JSX.Element;
|
|
15
15
|
declare function AlertDialogOverlay({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
18
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime38.JSX.Element;
|
|
19
19
|
declare function AlertDialogContent({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof AlertDialog$1.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime38.JSX.Element;
|
|
23
23
|
declare function AlertDialogHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime38.JSX.Element;
|
|
27
27
|
declare function AlertDialogFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime38.JSX.Element;
|
|
31
31
|
declare function AlertDialogTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime38.JSX.Element;
|
|
35
35
|
declare function AlertDialogDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime38.JSX.Element;
|
|
39
39
|
declare function AlertDialogAction({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
42
|
+
}: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime38.JSX.Element;
|
|
43
43
|
declare function AlertDialogCancel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
46
|
+
}: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime38.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
49
49
|
//# sourceMappingURL=alert-dialog.d.cts.map
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/alert-dialog.d.ts
|
|
6
6
|
declare function AlertDialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AlertDialog$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime17.JSX.Element;
|
|
9
9
|
declare function AlertDialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime17.JSX.Element;
|
|
12
12
|
declare function AlertDialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof AlertDialog$1.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime17.JSX.Element;
|
|
15
15
|
declare function AlertDialogOverlay({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
18
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime17.JSX.Element;
|
|
19
19
|
declare function AlertDialogContent({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof AlertDialog$1.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime17.JSX.Element;
|
|
23
23
|
declare function AlertDialogHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime17.JSX.Element;
|
|
27
27
|
declare function AlertDialogFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime17.JSX.Element;
|
|
31
31
|
declare function AlertDialogTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime17.JSX.Element;
|
|
35
35
|
declare function AlertDialogDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime17.JSX.Element;
|
|
39
39
|
declare function AlertDialogAction({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
42
|
+
}: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime17.JSX.Element;
|
|
43
43
|
declare function AlertDialogCancel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
46
|
+
}: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime17.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
49
49
|
//# sourceMappingURL=alert-dialog.d.ts.map
|
package/dist/ui/alert.d.cts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/alert.d.ts
|
|
7
7
|
declare const alertVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Alert({
|
|
11
11
|
className,
|
|
12
12
|
variant,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime31.JSX.Element;
|
|
15
15
|
declare function AlertTitle({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<'div'>):
|
|
18
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime31.JSX.Element;
|
|
19
19
|
declare function AlertDescription({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<'div'>):
|
|
22
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime31.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Alert, AlertDescription, AlertTitle };
|
|
25
25
|
//# sourceMappingURL=alert.d.cts.map
|
package/dist/ui/alert.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/alert.d.ts
|
|
7
7
|
declare const alertVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Alert({
|
|
11
11
|
className,
|
|
12
12
|
variant,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime28.JSX.Element;
|
|
15
15
|
declare function AlertTitle({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<'div'>):
|
|
18
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime28.JSX.Element;
|
|
19
19
|
declare function AlertDescription({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<'div'>):
|
|
22
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime28.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Alert, AlertDescription, AlertTitle };
|
|
25
25
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
|
6
6
|
declare function AspectRatio({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime28.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AspectRatio };
|
|
12
12
|
//# sourceMappingURL=aspect-ratio.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/aspect-ratio.d.ts
|
|
6
6
|
declare function AspectRatio({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime16.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AspectRatio };
|
|
12
12
|
//# sourceMappingURL=aspect-ratio.d.ts.map
|
package/dist/ui/avatar.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -6,15 +6,15 @@ import { Avatar as Avatar$1 } from "radix-ui";
|
|
|
6
6
|
declare function Avatar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime25.JSX.Element;
|
|
10
10
|
declare function AvatarImage({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
13
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime25.JSX.Element;
|
|
14
14
|
declare function AvatarFallback({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
17
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime25.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
20
20
|
//# sourceMappingURL=avatar.d.cts.map
|
package/dist/ui/avatar.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
3
3
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/avatar.d.ts
|
|
6
6
|
declare function Avatar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime33.JSX.Element;
|
|
10
10
|
declare function AvatarImage({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
13
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime33.JSX.Element;
|
|
14
14
|
declare function AvatarFallback({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
17
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime33.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
20
20
|
//# sourceMappingURL=avatar.d.ts.map
|
package/dist/ui/badge.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
@@ -16,7 +16,7 @@ declare function Badge({
|
|
|
16
16
|
size,
|
|
17
17
|
pill,
|
|
18
18
|
...props
|
|
19
|
-
}: BadgeProps):
|
|
19
|
+
}: BadgeProps): react_jsx_runtime34.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Badge, BadgeProps, badgeVariants };
|
|
22
22
|
//# sourceMappingURL=badge.d.cts.map
|
package/dist/ui/badge.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
8
|
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "zinc" | null | undefined;
|
|
9
9
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
10
|
pill?: boolean | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
12
12
|
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'div'>;
|
|
13
13
|
declare function Badge({
|
|
14
14
|
className,
|