@customafk/lunas-ui 0.0.83 → 0.0.84
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/{add-new-Bt5QaeJs.cjs → add-new-CD6uW0cp.cjs} +2 -2
- package/dist/{add-new-Bt5QaeJs.cjs.map → add-new-CD6uW0cp.cjs.map} +1 -1
- package/dist/{add-new-BFJvt2an.js → add-new-HTqsYpR5.js} +2 -2
- package/dist/{add-new-BFJvt2an.js.map → add-new-HTqsYpR5.js.map} +1 -1
- package/dist/{alert-dialog-DcQKEgVC.js → alert-dialog-BfKVH-9l.js} +2 -2
- package/dist/{alert-dialog-DcQKEgVC.js.map → alert-dialog-BfKVH-9l.js.map} +1 -1
- package/dist/{alert-dialog-B-m2RVMu.cjs → alert-dialog-mR3avgRt.cjs} +2 -2
- package/dist/{alert-dialog-B-m2RVMu.cjs.map → alert-dialog-mR3avgRt.cjs.map} +1 -1
- package/dist/{button-DIPXcr_W.d.ts → button-B6RxJ31O.d.ts} +3 -3
- package/dist/{button-BaLuKPtr.cjs → button-BCahPWI8.cjs} +2 -2
- package/dist/{button-BaLuKPtr.cjs.map → button-BCahPWI8.cjs.map} +1 -1
- package/dist/{button-CYsnwc1-.js → button-CriBqo8S.js} +2 -2
- package/dist/{button-CYsnwc1-.js.map → button-CriBqo8S.js.map} +1 -1
- package/dist/{button-BRh46Vhx.d.cts → button-DW8t4_Xa.d.cts} +3 -3
- package/dist/button-variants-BHDyMRNh.cjs +2 -0
- package/dist/button-variants-BHDyMRNh.cjs.map +1 -0
- package/dist/button-variants-aFWCWUvu.js +2 -0
- package/dist/button-variants-aFWCWUvu.js.map +1 -0
- package/dist/{calendar-C4zLgISS.cjs → calendar-Brdd41FH.cjs} +2 -2
- package/dist/{calendar-C4zLgISS.cjs.map → calendar-Brdd41FH.cjs.map} +1 -1
- package/dist/{calendar-Dmq8I1ey.js → calendar-Diid0R3S.js} +2 -2
- package/dist/{calendar-Dmq8I1ey.js.map → calendar-Diid0R3S.js.map} +1 -1
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.js +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.js +1 -1
- package/dist/{command-D3-KujCH.d.cts → command-DBkTh6gn.d.cts} +12 -12
- package/dist/{command-D3q0OaKb.d.ts → command-dOuGzMZQ.d.ts} +12 -12
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-D5Oj_FUV.d.cts → dialog-JtlljVFY.d.ts} +12 -12
- package/dist/{dialog-BWtARDnm.d.ts → dialog-kBWafGWT.d.cts} +12 -12
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.js +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +27 -27
- package/dist/dialogs/detail-dialog/component/sidebar.d.ts +27 -27
- package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.js +1 -1
- package/dist/dialogs/form-dialog.cjs +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/{error-dialog-bra3vccX.cjs → error-dialog-BVTB1EEF.cjs} +2 -2
- package/dist/{error-dialog-bra3vccX.cjs.map → error-dialog-BVTB1EEF.cjs.map} +1 -1
- package/dist/{error-dialog-BeYJOtSH.js → error-dialog-DMGVy3dG.js} +2 -2
- package/dist/{error-dialog-BeYJOtSH.js.map → error-dialog-DMGVy3dG.js.map} +1 -1
- package/dist/{form-wrapper-BKTvSrZY.js → form-wrapper-BYwaFsJd.js} +2 -2
- package/dist/{form-wrapper-BKTvSrZY.js.map → form-wrapper-BYwaFsJd.js.map} +1 -1
- package/dist/{form-wrapper-vue82rfg.cjs → form-wrapper-CODuD3w6.cjs} +2 -2
- package/dist/{form-wrapper-vue82rfg.cjs.map → form-wrapper-CODuD3w6.cjs.map} +1 -1
- package/dist/forms/combobox-field.cjs +1 -1
- package/dist/forms/combobox-field.d.cts +2 -2
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/combobox-field.js +1 -1
- package/dist/forms/date-field.cjs +1 -1
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.js +1 -1
- package/dist/forms/form-wrapper.cjs +1 -1
- package/dist/forms/form-wrapper.d.cts +2 -2
- package/dist/forms/form-wrapper.d.ts +2 -2
- package/dist/forms/form-wrapper.js +1 -1
- package/dist/forms/multi-select-field.cjs +1 -1
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/multi-select-field.js +1 -1
- 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.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- 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/textarea-field.d.cts +2 -2
- package/dist/{input-B_LC16rD.d.cts → input-Bxd1DBt6.d.cts} +3 -3
- package/dist/{input-D0_NPJao.d.ts → input-Dmh4Wn9f.d.ts} +3 -3
- package/dist/{label-BxG8BdVi.d.cts → label-2SrK79Ib.d.ts} +3 -3
- package/dist/label-DTWNKTQu.d.cts +11 -0
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.d.cts +27 -27
- package/dist/layouts/app-layout/index.d.ts +25 -25
- package/dist/layouts/app-layout/index.js +1 -1
- package/dist/layouts/flex.d.cts +4 -4
- package/dist/layouts/flex.d.ts +2 -2
- package/dist/layouts/service-layout/index.cjs +1 -1
- package/dist/layouts/service-layout/index.cjs.map +1 -1
- package/dist/layouts/service-layout/index.d.cts +14 -14
- package/dist/layouts/service-layout/index.d.ts +12 -12
- package/dist/layouts/service-layout/index.js +1 -1
- package/dist/layouts/service-layout/index.js.map +1 -1
- package/dist/{multi-select-C66U77ON.js → multi-select-Bqqk4Tiu.js} +2 -2
- package/dist/{multi-select-C66U77ON.js.map → multi-select-Bqqk4Tiu.js.map} +1 -1
- package/dist/{multi-select-D38JwSYL.cjs → multi-select-DFaIxSYQ.cjs} +2 -2
- package/dist/{multi-select-D38JwSYL.cjs.map → multi-select-DFaIxSYQ.cjs.map} +1 -1
- package/dist/products/product-quantity-control.cjs +2 -0
- package/dist/products/product-quantity-control.cjs.map +1 -0
- package/dist/products/product-quantity-control.d.cts +50 -0
- package/dist/products/product-quantity-control.d.ts +50 -0
- package/dist/products/product-quantity-control.js +2 -0
- package/dist/products/product-quantity-control.js.map +1 -0
- package/dist/{refresh-CvvD6Ckf.cjs → refresh-Be---CBQ.cjs} +2 -2
- package/dist/{refresh-CvvD6Ckf.cjs.map → refresh-Be---CBQ.cjs.map} +1 -1
- package/dist/{refresh-CMQ49ae4.js → refresh-xkWxJ-m0.js} +2 -2
- package/dist/{refresh-CMQ49ae4.js.map → refresh-xkWxJ-m0.js.map} +1 -1
- package/dist/{separator-Dxf2wDl5.d.cts → separator-C6Moqffa.d.cts} +3 -3
- package/dist/{separator-3Tqllk9s.d.ts → separator-D2SRPIPb.d.ts} +3 -3
- package/dist/{sidebar-Bs42CUTZ.js → sidebar-64G8kwkB.js} +2 -2
- package/dist/{sidebar-Bs42CUTZ.js.map → sidebar-64G8kwkB.js.map} +1 -1
- package/dist/{sidebar-BgMpq73J.cjs → sidebar-CyRoNNDp.cjs} +2 -2
- package/dist/{sidebar-BgMpq73J.cjs.map → sidebar-CyRoNNDp.cjs.map} +1 -1
- 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/{toggle-BNUNuWcd.d.ts → toggle-BPiYX50f.d.ts} +3 -3
- package/dist/{toggle-C7HTp7p1.d.cts → toggle-Dr5qQygc.d.cts} +3 -3
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.ts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +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.ts +12 -12
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.ts +4 -4
- 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 +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button-group.d.cts +7 -7
- package/dist/ui/button-group.d.ts +7 -7
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.js +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.js +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.js +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.js +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.js +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.js +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +4 -4
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/carousel.js +1 -1
- 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/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.ts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/field.d.cts +14 -14
- package/dist/ui/field.d.ts +14 -14
- package/dist/ui/file-uploader.cjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +2 -2
- package/dist/ui/file-uploader.js +1 -1
- 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.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/item.d.cts +12 -12
- package/dist/ui/item.d.ts +15 -15
- package/dist/ui/label.d.cts +1 -1
- package/dist/ui/label.d.ts +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +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.ts +2 -2
- package/dist/ui/multi-select.js +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.ts +11 -11
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/pagination.js +1 -1
- 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.ts +4 -4
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.ts +11 -11
- 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.cjs +1 -1
- package/dist/ui/sidebar.d.cts +27 -27
- package/dist/ui/sidebar.d.ts +29 -29
- package/dist/ui/sidebar.js +1 -1
- 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/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.ts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- 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/package.json +5 -1
- package/dist/button-variants-DdVxfrSx.cjs +0 -2
- package/dist/button-variants-DdVxfrSx.cjs.map +0 -1
- package/dist/button-variants-Y1GTBayz.js +0 -2
- package/dist/button-variants-Y1GTBayz.js.map +0 -1
- package/dist/label-CGASn94e.d.ts +0 -11
package/dist/table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../dist-BgkALM7U.js";import"../button-variants-
|
|
1
|
+
import"../dist-BgkALM7U.js";import"../button-variants-aFWCWUvu.js";import{Button as e}from"../button-CriBqo8S.js";import{Flex as t}from"../flex-D6XrXRQW.js";import"../paragraph-B9fp9JaI.js";import"../input-BStypTnq.js";import{DropdownMenu as n,DropdownMenuContent as r,DropdownMenuItem as i,DropdownMenuTrigger as a}from"../dropdown-menu-DtEPAmMV.js";import{ScrollArea as o,ScrollBar as s}from"../scroll-area-DFENklE1.js";import{Table as c,TableBody as l,TableCell as u,TableFooter as d,TableHead as f,TableHeader as p,TableRow as m}from"../table-Cd75vfQ4.js";import{AddNewBtn as h}from"../add-new-HTqsYpR5.js";import{RefreshBtn as g}from"../refresh-xkWxJ-m0.js";import{SearchInput as _}from"../search-input-BI1RjMuQ.js";import{ArrowLeftToLineIcon as v,ArrowRightToLineIcon as y,ChevronDown as b,ChevronUp as x,EllipsisIcon as S,LoaderIcon as C,PinOffIcon as w}from"lucide-react";import{cn as T}from"@customafk/react-toolkit/utils";import{memo as E,useCallback as D,useEffect as O,useMemo as k,useRef as A,useState as j}from"react";import{Fragment as M,jsx as N,jsxs as P}from"react/jsx-runtime";import{flexRender as F,getCoreRowModel as I,getFacetedRowModel as L,getFacetedUniqueValues as R,getFilteredRowModel as z,getSortedRowModel as B,useReactTable as V}from"@tanstack/react-table";import{useVirtualizer as H}from"@tanstack/react-virtual";const U=e=>{let t=e.getIsPinned();return{left:t===`left`?`${e.getStart(`left`)}px`:void 0,right:t===`right`?`${e.getAfter(`right`)}px`:void 0,position:t?`sticky`:`relative`,width:e.getSize(),zIndex:t?1:0}},W=E(({column:e})=>{let t=e.getIsSorted(),n=k(()=>({asc:N(x,{className:`shrink-0 opacity-60`,size:16,strokeWidth:2,"aria-hidden":`true`}),desc:N(b,{className:`shrink-0 opacity-60`,size:16,strokeWidth:2,"aria-hidden":`true`})}),[]);return t?n[t]:null});W.displayName=`SortingIndicator`;const G=E(({column:t})=>{let o=typeof t.columnDef.header==`string`?t.columnDef.header:`Column`,s=D(()=>t.pin(!1),[t]),c=D(()=>t.pin(`left`),[t]),l=D(()=>t.pin(`right`),[t]);return t.getCanPin()?t.getIsPinned()?N(e,{size:`icon`,variant:`ghost`,color:`secondary`,className:`hover:[&_svg]:text-secondary-foreground -mr-1 size-7 shadow-none`,"aria-label":`Unpin ${o} column`,title:`Unpin ${o} column`,onClick:s,children:N(w,{className:`opacity-60`,size:16,"aria-hidden":`true`})}):P(n,{children:[N(a,{asChild:!0,children:N(e,{size:`icon`,variant:`ghost`,color:`secondary`,className:`size-7 shadow-none`,"aria-label":`Pin options for ${o} column`,title:`Pin options for ${o} column`,children:N(S,{className:`opacity-60`,size:16,"aria-hidden":`true`})})}),P(r,{align:`end`,children:[P(i,{onClick:c,children:[N(v,{size:16,className:`opacity-60`,"aria-hidden":`true`}),`Stick to left`]}),P(i,{onClick:l,children:[N(y,{size:16,className:`opacity-60`,"aria-hidden":`true`}),`Stick to right`]})]})]}):null});G.displayName=`PinControls`;const K=E(({header:e})=>{let{column:t}=e,n=D(e=>{t.getCanSort()&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),t.getToggleSortingHandler()?.(e))},[t]),r=t.getToggleSortingHandler();return e.isPlaceholder?N(`div`,{className:`flex items-center justify-between gap-2 truncate`}):P(`div`,{className:`flex items-center justify-between gap-2 truncate`,children:[P(`div`,{onClick:r,onKeyDown:n,tabIndex:t.getCanSort()?0:void 0,role:t.getCanSort()?`button`:void 0,className:T(t.getCanSort()&&`flex h-full cursor-pointer items-center justify-between gap-2 select-none`),children:[N(`span`,{className:`truncate`,children:F(t.columnDef.header,e.getContext())}),N(W,{column:t})]}),N(G,{column:t})]})});K.displayName=`HeaderContent`;const q=E(({row:e,measureElement:t,virtualRow:n,onClickRow:r})=>{let i=D(()=>{r&&r(e.id)},[e.id,r]);return N(m,{"data-index":n.index,ref:e=>t(e),className:`absolute flex w-full cursor-pointer focus:outline-none`,style:{transform:`translateY(${n.start}px)`},onClick:i,tabIndex:r?0:void 0,role:r?`button`:void 0,children:e.getVisibleCells().map(e=>{let t=e.column.getIsPinned(),n=t===`left`&&e.column.getIsLastColumn(`left`),r=t===`right`&&e.column.getIsFirstColumn(`right`);return N(u,{"data-pinned":t||void 0,"data-last-col":n?`left`:r?`right`:void 0,style:{...U(e.column),width:e.column.getSize()},className:T(`flex overflow-hidden py-2.5`,`data-pinned:bg-background/90`,`[&[data-pinned][data-last-col]]:border-border-weak`,`[&[data-pinned=left][data-last-col=left]]:border-r`,`[&[data-pinned=right][data-last-col=right]]:border-l`),children:F(e.column.columnDef.cell,e.getContext())},e.id)})})});q.displayName=`DataTableRow`;const J=({table:e,isLoading:t,isFetching:n,allowFetchMore:r=!0,onClickRow:i,onFetchNextPage:a})=>{let h=A(null),{rows:g}=e.getRowModel(),_=H({count:g.length,getScrollElement:()=>h.current,estimateSize:()=>37,measureElement:e=>e?.getBoundingClientRect().height??void 0,overscan:5}),v=D(e=>{if(!e)return;let{scrollHeight:t,scrollTop:i,clientHeight:o}=e;t-i-o<500&&!n&&r&&a?.()},[r,n,a]),y=D(e=>{v(e.currentTarget)},[v]);return O(()=>{let e=setTimeout(()=>{v(h.current)},100);return()=>clearTimeout(e)},[v]),P(o,{ref:h,className:`border-border-weak bg-background relative w-full overflow-auto rounded-lg border`,onScroll:y,children:[P(c,{className:T(`!w-full`,`grid`,`border-separate border-spacing-0`,`[&_td]:border-border-weak`,`[&_th]:border-border-weak`,`[&_th]:border-b`,`[&_th]:border-b-border-weak`,`[&_tfoot_td]:border-t`),children:[N(p,{className:`sticky top-0 z-10 backdrop-blur-xs`,children:e.getHeaderGroups().map(e=>N(m,{className:`flex w-full border-none`,children:e.headers.map(e=>{let{column:t}=e,n=t.getIsPinned(),r=n===`left`&&t.getIsLastColumn(`left`),i=n===`right`&&t.getIsFirstColumn(`right`),a=n||void 0,o=r?`left`:i?`right`:void 0,s={width:e.getSize(),...U(e.column)};return N(f,{"data-pinned":a,"data-last-col":o,className:T(`relative flex h-9 font-semibold select-none`,`data-pinned:backdrop-blur-xs`,`data-pinned:bg-muted-weak`,`[&>.cursor-col-resize]:last:opacity-0`,`[&[data-pinned][data-last-col]]:border-border-weak`,`[&:not([data-pinned]):has(+[data-pinned])_div.cursor-col-resize:last-child]:opacity-0`,`[&[data-last-col=left]_div.cursor-col-resize:last-child]:opacity-0`,`[&[data-pinned=left][data-last-col=left]]:border-r`,`[&[data-pinned=right]:last-child_div.cursor-col-resize:last-child]:opacity-0`,`[&[data-pinned=right][data-last-col=right]]:border-l`),colSpan:e.colSpan,style:s,children:N(K,{header:e})},e.id)})},e.id))}),N(l,{style:{height:`${_.getTotalSize()}px`},className:T(`relative grid w-full`,t&&`h-36`,g?.length===0&&`h-48`),children:t?N(m,{className:`absolute top-9 flex h-36 w-full items-center justify-center`,children:N(u,{children:`loading...`})}):N(M,{children:_.getVirtualItems().map(e=>{let t=g[e.index],n=t?.id||(t.original&&`id`in t.original?String(t.original.id):null)||(t.original&&`uuid`in t.original?String(t.original.uuid):null);return N(q,{id:n??String(e.index),row:t,measureElement:_.measureElement,virtualRow:e,onClickRow:i},n??e.index)})})}),n&&N(d,{children:N(`div`,{className:`flex w-full justify-center py-2`,children:N(C,{size:16,className:`animate-spin`,"aria-label":`Loading more data`})})})]}),N(s,{orientation:`horizontal`})]})},Y=({onAdd:e,onRefresh:n})=>P(t,{justify:`between`,padding:`none`,width:`full`,className:`flex-0`,children:[N(`div`,{className:`max-sm:flex-1`,children:N(_,{placeholder:`Search...`})}),P(t,{wrap:!1,className:`flex-0 px-0`,children:[!!e&&N(h,{onClick:e}),N(g,{onClick:n})]})]});function X({data:e,totalCount:n,isLoading:r,isFetching:i,allowLoadMore:a,columns:o,onAdd:s,onRefresh:c,onClickRow:l,onFetchNextPage:u}){"use no memo";let[d,f]=j({}),[p,m]=j([]),[h,g]=j([]),[_,v]=j({}),y=k(()=>({columnPinning:{right:[`actions`,`update`,`delete`]}}),[]),b=V({initialState:y,data:e,columns:o,rowCount:n,columnResizeMode:`onChange`,enableColumnResizing:!1,enableMultiRowSelection:!1,getCoreRowModel:I(),getSortedRowModel:B(),getFilteredRowModel:z(),getFacetedRowModel:L(),getFacetedUniqueValues:R(),getRowId:e=>e.id||e.uuid,state:{rowSelection:d,sorting:p,columnVisibility:_,columnFilters:h},onRowSelectionChange:f,onSortingChange:m,onColumnVisibilityChange:v,onColumnFiltersChange:g});return P(t,{vertical:!0,wrap:!1,gap:`sm`,align:`start`,className:`size-full overflow-y-auto pt-1`,children:[N(Y,{onAdd:s,onRefresh:c}),N(t,{padding:`none`,vertical:!0,wrap:!1,width:`full`,className:`flex-1 overflow-auto pb-4`,children:N(J,{table:b,isLoading:r,isFetching:i,allowFetchMore:a,onClickRow:l,onFetchNextPage:u})})]})}export{X as Table};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime271 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { Toggle } from "radix-ui";
|
|
4
4
|
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
@@ -13,7 +13,7 @@ declare function Toggle$1({
|
|
|
13
13
|
variant,
|
|
14
14
|
size,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>):
|
|
16
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime271.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Toggle$1 as Toggle, toggleVariants };
|
|
19
|
-
//# sourceMappingURL=toggle-
|
|
19
|
+
//# sourceMappingURL=toggle-BPiYX50f.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime269 from "react/jsx-runtime";
|
|
2
2
|
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { Toggle } from "radix-ui";
|
|
@@ -13,7 +13,7 @@ declare function Toggle$1({
|
|
|
13
13
|
variant,
|
|
14
14
|
size,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>):
|
|
16
|
+
}: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime269.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Toggle$1 as Toggle, toggleVariants };
|
|
19
|
-
//# sourceMappingURL=toggle-
|
|
19
|
+
//# sourceMappingURL=toggle-Dr5qQygc.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 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_runtime12.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_runtime16 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_runtime16.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Paragraph };
|
|
16
16
|
//# sourceMappingURL=paragraph.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime15 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_runtime15.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_runtime17 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_runtime17.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Title };
|
|
16
16
|
//# sourceMappingURL=title.d.ts.map
|
package/dist/ui/alert-dialog.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../button-variants-
|
|
1
|
+
"use client";require(`../button-variants-BHDyMRNh.cjs`);const e=require(`../alert-dialog-mR3avgRt.cjs`);exports.AlertDialog=e.AlertDialog,exports.AlertDialogAction=e.AlertDialogAction,exports.AlertDialogCancel=e.AlertDialogCancel,exports.AlertDialogContent=e.AlertDialogContent,exports.AlertDialogDescription=e.AlertDialogDescription,exports.AlertDialogFooter=e.AlertDialogFooter,exports.AlertDialogHeader=e.AlertDialogHeader,exports.AlertDialogOverlay=e.AlertDialogOverlay,exports.AlertDialogPortal=e.AlertDialogPortal,exports.AlertDialogTitle=e.AlertDialogTitle,exports.AlertDialogTrigger=e.AlertDialogTrigger;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime26 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_runtime26.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_runtime26.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_runtime26.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_runtime26.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_runtime26.JSX.Element;
|
|
22
22
|
declare function AlertDialogHeader({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
|
|
26
26
|
declare function AlertDialogFooter({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime26.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_runtime26.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_runtime26.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_runtime26.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_runtime26.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_runtime18 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_runtime18.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_runtime18.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_runtime18.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_runtime18.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_runtime18.JSX.Element;
|
|
22
22
|
declare function AlertDialogHeader({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime18.JSX.Element;
|
|
26
26
|
declare function AlertDialogFooter({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime18.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_runtime18.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_runtime18.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_runtime18.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_runtime18.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.ts.map
|
package/dist/ui/alert-dialog.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../button-variants-
|
|
1
|
+
"use client";import"../button-variants-aFWCWUvu.js";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogOverlay as s,AlertDialogPortal as c,AlertDialogTitle as l,AlertDialogTrigger as u}from"../alert-dialog-BfKVH-9l.js";export{e as AlertDialog,t as AlertDialogAction,n as AlertDialogCancel,r as AlertDialogContent,i as AlertDialogDescription,a as AlertDialogFooter,o as AlertDialogHeader,s as AlertDialogOverlay,c as AlertDialogPortal,l as AlertDialogTitle,u as AlertDialogTrigger};
|
package/dist/ui/alert.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types12 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
|
|
@@ -8,7 +8,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
8
8
|
*/
|
|
9
9
|
declare const alertVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "success" | "info" | "warning" | "destructive" | null | undefined;
|
|
11
|
-
} &
|
|
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_runtime18.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_runtime18.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_runtime18.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.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
4
4
|
|
|
@@ -37,7 +37,7 @@ declare function Alert({
|
|
|
37
37
|
dismissible,
|
|
38
38
|
onDismiss,
|
|
39
39
|
...props
|
|
40
|
-
}: AlertProps):
|
|
40
|
+
}: AlertProps): react_jsx_runtime32.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_runtime32.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_runtime32.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
|
69
69
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime16 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_runtime16.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_runtime35 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_runtime35.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AspectRatio };
|
|
11
11
|
//# sourceMappingURL=aspect-ratio.d.ts.map
|
package/dist/ui/avatar.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime22 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_runtime22.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_runtime22.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_runtime22.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
19
|
//# sourceMappingURL=avatar.d.cts.map
|
package/dist/ui/avatar.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime29 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_runtime29.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_runtime29.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_runtime29.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
19
|
//# sourceMappingURL=avatar.d.ts.map
|
package/dist/ui/badge.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
2
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ declare function Badge({
|
|
|
15
15
|
size,
|
|
16
16
|
pill,
|
|
17
17
|
...props
|
|
18
|
-
}: BadgeProps):
|
|
18
|
+
}: BadgeProps): react_jsx_runtime21.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Badge, BadgeProps, badgeVariants };
|
|
21
21
|
//# sourceMappingURL=badge.d.cts.map
|
package/dist/ui/badge.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/badge.d.ts
|
|
6
6
|
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_types0.ClassProp) | undefined) => string;
|
|
11
11
|
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'div'>;
|
|
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_runtime36.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Badge, BadgeProps, badgeVariants };
|
|
21
21
|
//# sourceMappingURL=badge.d.ts.map
|
package/dist/ui/breadcrumb.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
/**
|
|
@@ -7,21 +7,21 @@ import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
|
7
7
|
declare function Breadcrumb({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime78.JSX.Element;
|
|
11
11
|
/**
|
|
12
12
|
* Container for breadcrumb items
|
|
13
13
|
*/
|
|
14
14
|
declare function BreadcrumbList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'ol'>):
|
|
17
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime78.JSX.Element;
|
|
18
18
|
/**
|
|
19
19
|
* Individual breadcrumb item container
|
|
20
20
|
*/
|
|
21
21
|
declare function BreadcrumbItem({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'li'>):
|
|
24
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime78.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* Interactive breadcrumb link
|
|
27
27
|
*/
|
|
@@ -31,14 +31,14 @@ declare function BreadcrumbLink({
|
|
|
31
31
|
...props
|
|
32
32
|
}: React.ComponentProps<'a'> & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime78.JSX.Element;
|
|
35
35
|
/**
|
|
36
36
|
* Current page breadcrumb (non-interactive)
|
|
37
37
|
*/
|
|
38
38
|
declare function BreadcrumbPage({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'span'>):
|
|
41
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime78.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Separator between breadcrumb items
|
|
44
44
|
*/
|
|
@@ -46,14 +46,14 @@ declare function BreadcrumbSeparator({
|
|
|
46
46
|
children,
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'li'>):
|
|
49
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime78.JSX.Element;
|
|
50
50
|
/**
|
|
51
51
|
* Ellipsis for collapsed breadcrumbs
|
|
52
52
|
*/
|
|
53
53
|
declare function BreadcrumbEllipsis({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'button'>):
|
|
56
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime78.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
59
59
|
//# sourceMappingURL=breadcrumb.d.cts.map
|
package/dist/ui/breadcrumb.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
/**
|
|
@@ -7,21 +7,21 @@ import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
|
7
7
|
declare function Breadcrumb({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime37.JSX.Element;
|
|
11
11
|
/**
|
|
12
12
|
* Container for breadcrumb items
|
|
13
13
|
*/
|
|
14
14
|
declare function BreadcrumbList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'ol'>):
|
|
17
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime37.JSX.Element;
|
|
18
18
|
/**
|
|
19
19
|
* Individual breadcrumb item container
|
|
20
20
|
*/
|
|
21
21
|
declare function BreadcrumbItem({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'li'>):
|
|
24
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime37.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* Interactive breadcrumb link
|
|
27
27
|
*/
|
|
@@ -31,14 +31,14 @@ declare function BreadcrumbLink({
|
|
|
31
31
|
...props
|
|
32
32
|
}: React.ComponentProps<'a'> & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
35
35
|
/**
|
|
36
36
|
* Current page breadcrumb (non-interactive)
|
|
37
37
|
*/
|
|
38
38
|
declare function BreadcrumbPage({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'span'>):
|
|
41
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime37.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Separator between breadcrumb items
|
|
44
44
|
*/
|
|
@@ -46,14 +46,14 @@ declare function BreadcrumbSeparator({
|
|
|
46
46
|
children,
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'li'>):
|
|
49
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime37.JSX.Element;
|
|
50
50
|
/**
|
|
51
51
|
* Ellipsis for collapsed breadcrumbs
|
|
52
52
|
*/
|
|
53
53
|
declare function BreadcrumbEllipsis({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'button'>):
|
|
56
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime37.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
59
59
|
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Separator } from "../separator-
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import { Separator } from "../separator-C6Moqffa.cjs";
|
|
2
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/button-group.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
10
10
|
declare function ButtonGroup({
|
|
11
11
|
className,
|
|
12
12
|
orientation,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime86.JSX.Element;
|
|
15
15
|
declare function ButtonGroupText({
|
|
16
16
|
className,
|
|
17
17
|
asChild,
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<'div'> & {
|
|
20
20
|
asChild?: boolean;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
22
22
|
declare function ButtonGroupSeparator({
|
|
23
23
|
className,
|
|
24
24
|
orientation,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Separator>):
|
|
26
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime86.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
29
29
|
//# sourceMappingURL=button-group.d.cts.map
|