@customafk/lunas-ui 0.1.40 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{button-CPSR8ewr.d.mts → button-BP-PJSUy.d.mts} +3 -3
- package/dist/{button-DM5NJ-7F.d.cts → button-CriZT4R8.d.cts} +5 -5
- package/dist/{close-BuQ2DHur.mjs → close-CCf5pMYu.mjs} +1 -1
- package/dist/{close-BuQ2DHur.mjs.map → close-CCf5pMYu.mjs.map} +1 -1
- package/dist/{close-DvsVM8lM.cjs → close-D_Ge7gnP.cjs} +1 -1
- package/dist/{close-DvsVM8lM.cjs.map → close-D_Ge7gnP.cjs.map} +1 -1
- package/dist/{command-BKiAU1oU.mjs → command-CLjGZB-7.mjs} +2 -2
- package/dist/{command-BKiAU1oU.mjs.map → command-CLjGZB-7.mjs.map} +1 -1
- package/dist/{command-BqSzRw6j.cjs → command-D5zGkxau.cjs} +2 -2
- package/dist/{command-BqSzRw6j.cjs.map → command-D5zGkxau.cjs.map} +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/empty.d.mts +2 -2
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/statistic.d.mts +2 -2
- package/dist/{dialog-bd77jxcu.mjs → dialog-BbNb9Lr8.mjs} +2 -2
- package/dist/{dialog-bd77jxcu.mjs.map → dialog-BbNb9Lr8.mjs.map} +1 -1
- package/dist/{dialog-EzJiDxrJ.d.mts → dialog-DDBe8xR1.d.cts} +12 -12
- package/dist/{dialog-B2-c4OTw.d.cts → dialog-DbG76rtt.d.mts} +12 -12
- package/dist/{dialog-DVwvHuQB.cjs → dialog-DeIMaQO0.cjs} +2 -2
- package/dist/{dialog-DVwvHuQB.cjs.map → dialog-DeIMaQO0.cjs.map} +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +2 -0
- package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +1 -0
- package/dist/dialogs/detail-dialog/{component/sidebar.d.mts → components/sidebar.d.cts} +30 -35
- package/dist/dialogs/detail-dialog/{component/sidebar.d.cts → components/sidebar.d.mts} +31 -36
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +2 -0
- package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +1 -0
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.d.cts +9 -8
- package/dist/dialogs/detail-dialog/index.d.mts +9 -8
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/{drawer-ClbO_Gt0.mjs → drawer-272Fecsq.mjs} +1 -1
- package/dist/{drawer-ClbO_Gt0.mjs.map → drawer-272Fecsq.mjs.map} +1 -1
- package/dist/{drawer-DluJOnDX.cjs → drawer-y-Yrqskp.cjs} +1 -1
- package/dist/{drawer-DluJOnDX.cjs.map → drawer-y-Yrqskp.cjs.map} +1 -1
- package/dist/{dropdown-menu-DQs_Lvq7.cjs → dropdown-menu-BuyuU6uF.cjs} +1 -1
- package/dist/{dropdown-menu-DQs_Lvq7.cjs.map → dropdown-menu-BuyuU6uF.cjs.map} +1 -1
- package/dist/{dropdown-menu-DPhbyDEo.mjs → dropdown-menu-DsWYP0bL.mjs} +1 -1
- package/dist/{dropdown-menu-DPhbyDEo.mjs.map → dropdown-menu-DsWYP0bL.mjs.map} +1 -1
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +7 -7
- package/dist/features/tables/index.d.mts +5 -5
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tables/index.mjs.map +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +42 -42
- package/dist/features/tanstack-form/index.d.mts +42 -42
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/{input-LDpzfNmy.d.mts → input-6wEnu5ug.d.mts} +5 -5
- package/dist/{input-C1K2wbv1.mjs → input-DD17n9Bv.mjs} +1 -1
- package/dist/{input-C1K2wbv1.mjs.map → input-DD17n9Bv.mjs.map} +1 -1
- package/dist/{input-CMXa_99w.d.cts → input-DwS_ovem.d.cts} +5 -5
- package/dist/{input-C1BXP8dd.cjs → input-qnlHzDDm.cjs} +1 -1
- package/dist/{input-C1BXP8dd.cjs.map → input-qnlHzDDm.cjs.map} +1 -1
- package/dist/{label-CkTb259R.cjs → label-CaBktIhh.cjs} +1 -1
- package/dist/{label-CkTb259R.cjs.map → label-CaBktIhh.cjs.map} +1 -1
- package/dist/{label-DwmJnk4H.mjs → label-DVfxfyG5.mjs} +1 -1
- package/dist/{label-DwmJnk4H.mjs.map → label-DVfxfyG5.mjs.map} +1 -1
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.d.cts +28 -28
- package/dist/layouts/app-layout/index.d.mts +28 -28
- package/dist/layouts/app-layout/index.mjs +1 -1
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.mts +2 -2
- package/dist/layouts/service-layout/index.cjs +1 -1
- package/dist/layouts/service-layout/index.d.cts +11 -11
- package/dist/layouts/service-layout/index.d.mts +15 -15
- package/dist/layouts/service-layout/index.mjs +1 -1
- package/dist/layouts/service-layout/index.mjs.map +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/{resizable-C2-dXaDM.cjs → resizable-BS63Xwia.cjs} +1 -1
- package/dist/{resizable-C2-dXaDM.cjs.map → resizable-BS63Xwia.cjs.map} +1 -1
- package/dist/{resizable-LConLbS6.mjs → resizable-Dp4eTFXj.mjs} +1 -1
- package/dist/{resizable-LConLbS6.mjs.map → resizable-Dp4eTFXj.mjs.map} +1 -1
- package/dist/{scroll-area-6xusEFm6.mjs → scroll-area-CiMS2UY7.mjs} +1 -1
- package/dist/{scroll-area-6xusEFm6.mjs.map → scroll-area-CiMS2UY7.mjs.map} +1 -1
- package/dist/{scroll-area-D61j6n8I.cjs → scroll-area-qE6GqGkn.cjs} +1 -1
- package/dist/{scroll-area-D61j6n8I.cjs.map → scroll-area-qE6GqGkn.cjs.map} +1 -1
- package/dist/{separator-D9m7b_32.d.mts → separator-B5vn3HO4.d.cts} +3 -3
- package/dist/{separator-Crr30ZHa.cjs → separator-C3ip6sbh.cjs} +1 -1
- package/dist/{separator-Crr30ZHa.cjs.map → separator-C3ip6sbh.cjs.map} +1 -1
- package/dist/{separator-yTKDuMWb.mjs → separator-CZM2q-Ac.mjs} +1 -1
- package/dist/{separator-yTKDuMWb.mjs.map → separator-CZM2q-Ac.mjs.map} +1 -1
- package/dist/{separator-HDjiaARy.d.cts → separator-tIFjtAPC.d.mts} +3 -3
- package/dist/{sheet-BYKV6xT_.cjs → sheet-5MJRtrfG.cjs} +1 -1
- package/dist/{sheet-BYKV6xT_.cjs.map → sheet-5MJRtrfG.cjs.map} +1 -1
- package/dist/{sheet-BSeiP8S8.mjs → sheet-CUMpo5F_.mjs} +1 -1
- package/dist/{sheet-BSeiP8S8.mjs.map → sheet-CUMpo5F_.mjs.map} +1 -1
- package/dist/{tabs-XrUcxpL1.mjs → tabs-Cjh2jtUZ.mjs} +1 -1
- package/dist/{tabs-XrUcxpL1.mjs.map → tabs-Cjh2jtUZ.mjs.map} +1 -1
- package/dist/{tabs-DldSJjLy.cjs → tabs-DSofRReg.cjs} +1 -1
- package/dist/{tabs-DldSJjLy.cjs.map → tabs-DSofRReg.cjs.map} +1 -1
- package/dist/{tooltip-B5gO2RGs.d.cts → tooltip-CT8tMc9R.d.cts} +6 -6
- package/dist/{tooltip-WI0fJ7gP.d.mts → tooltip-D0lZdG0v.d.mts} +6 -6
- package/dist/{types-DWnJKJ5r.d.mts → types-D2kMOc_b.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/typography/title.cjs +2 -1
- package/dist/typography/title.cjs.map +1 -0
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/typography/title.mjs +2 -1
- package/dist/typography/title.mjs.map +1 -0
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.mts +6 -6
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.d.cts +5 -5
- package/dist/ui/button-group.d.mts +5 -5
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/drawer.mjs +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.mts +16 -16
- package/dist/ui/dropdown-menu.mjs +1 -1
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +13 -13
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +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.mts +3 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.d.cts +16 -16
- package/dist/ui/item.d.mts +16 -16
- package/dist/ui/item.mjs +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +1 -1
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.mts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.mts +4 -4
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/scroll-area.mjs +1 -1
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.mts +11 -11
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.mts +1 -1
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +30 -30
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +2 -2
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.mts +1 -1
- package/package.json +4 -4
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +0 -2
- package/dist/dialogs/detail-dialog/component/sidebar.cjs.map +0 -1
- package/dist/dialogs/detail-dialog/component/sidebar.mjs +0 -2
- package/dist/dialogs/detail-dialog/component/sidebar.mjs.map +0 -1
- package/dist/title-BK1YcXjX.mjs +0 -2
- package/dist/title-BK1YcXjX.mjs.map +0 -1
- package/dist/title-BNv6aAfA.cjs +0 -2
- package/dist/title-BNv6aAfA.cjs.map +0 -1
package/dist/ui/multi-select.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import"../button.variants-DmUzMbB8.mjs";import{t as e}from"../button-DIEXNBpi.mjs";import"../close-
|
|
1
|
+
"use client";import"../button.variants-DmUzMbB8.mjs";import{t as e}from"../button-DIEXNBpi.mjs";import"../close-CCf5pMYu.mjs";import"../dialog-BbNb9Lr8.mjs";import{c as t,i as n,o as r,s as ee,t as te}from"../command-CLjGZB-7.mjs";import{cn as i}from"@customafk/react-toolkit/utils";import{Fragment as a,jsx as o,jsxs as s}from"react/jsx-runtime";import{PlusIcon as ne,X as c}from"lucide-react";import{forwardRef as l,useCallback as u,useEffect as d,useImperativeHandle as re,useMemo as ie,useRef as f,useState as p}from"react";import{Command as m,useCommandState as h}from"cmdk";function g(e,t){let[n,r]=p(e);return d(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function _(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function ae(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function oe(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const v=l(({className:e,...t},n)=>h(e=>e.filtered.count===0)?o(`div`,{ref:n,className:i(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);v.displayName=`CommandEmpty`;const y=l(({value:l,onChange:h,placeholder:y,defaultOptions:b=[],options:x,delay:se,onSearch:S,onSearchSync:C,loadingIndicator:ce,emptyIndicator:w,maxSelected:T=2**53-1,onMaxSelected:E,hidePlaceholderWhenSelected:D,disabled:O,groupBy:k,className:A,badgeClassName:le,selectFirstItem:ue=!0,creatable:j=!1,triggerSearchOnFocus:M=!1,commandProps:N,inputProps:P,hideClearAllButton:F=!1,onAddNewItem:I},de)=>{let L=f(null),R=f(null),[z,B]=p(!1),[V,H]=p(!1),[U,W]=p(!1),[G,K]=p(l||[]),[q,J]=p(_(b,k)),[Y,X]=p(``),Z=g(Y,se||500);re(de,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=u(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=u(e=>{let t=G.filter(t=>t.value!==e.value);K(t),h?.(t)},[h,G]),fe=u(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);d(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),d(()=>{l&&K(l)},[l]),d(()=>{if(!x||S)return;let e=_(x||[],k);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[b,x,k,S,q]),d(()=>{let e=()=>{let e=C?.(Z);J(_(e||[],k))};(async()=>{!C||!z||(M&&e(),Z&&e())})()},[Z,k,z,M]),d(()=>{let e=async()=>{W(!0),J(_(await S?.(Z)||[],k)),W(!1)};(async()=>{!S||!z||(M&&await e(),Z&&await e())})()},[Z,k,z,M]);let pe=()=>{if(!j||oe(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=o(r,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=T){E?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),h?.(t)},children:`Create "${Y}"`});if(!S&&Y.length>0||S&&Z.length>0&&!U)return e},me=u(()=>{if(w)return S&&!j&&Object.keys(q).length===0?o(r,{value:`-`,disabled:!0,children:w}):o(v,{children:w})},[j,w,S,q]),he=ie(()=>ae(q,G),[q,G]),ge=u(()=>{if(N?.filter)return N.filter;if(j)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[j,N?.filter]);return s(te,{ref:R,...N,onKeyDown:e=>{fe(e),N?.onKeyDown?.(e)},className:i(`h-auto overflow-visible bg-transparent`,N?.className),shouldFilter:N?.shouldFilter===void 0?!S:N.shouldFilter,filter:ge(),children:[o(`div`,{className:i(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!O&&G.length!==0&&`cursor-text`,!F&&`pe-9`,A),onClick:()=>{O||L?.current?.focus()},children:s(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>s(`div`,{className:i(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,le),"data-fixed":e.fixed,"data-disabled":O||void 0,children:[e.label,o(`button`,{type:`button`,disabled:O||e.fixed,className:i(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:o(c,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),o(m.Input,{...P,ref:L,value:Y,disabled:O,onValueChange:e=>{X(e),P?.onValueChange?.(e)},onBlur:e=>{V||B(!1),P?.onBlur?.(e)},onFocus:e=>{B(!0),M&&S?.(Z),P?.onFocus?.(e)},placeholder:D&&G.length!==0?``:y,className:i(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":D,"px-3 py-2":G.length===0,"ml-1":G.length!==0},P?.className)}),o(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),h?.(G.filter(e=>e.fixed))},className:i(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(F||O||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:o(c,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),o(`div`,{className:`relative`,children:o(`div`,{className:i(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-lg`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-95`,`data-[state=open]:zoom-in-95`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&s(ee,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[I&&s(a,{children:[o(t,{}),o(n,{children:s(e,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:I,children:[o(ne,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?ce:s(a,{children:[me(),pe(),!ue&&o(r,{value:`-`,className:`hidden`}),Object.entries(he).map(([e,t])=>o(n,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>o(r,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=T){E?.(G.length);return}let t=[...G,e];X(``),K(t),h?.(t)},className:i(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});y.displayName=`MultipleSelector`;export{y as MultipleSelector,g as useDebounce};
|
|
2
2
|
//# sourceMappingURL=multi-select.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime174 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
3
3
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
@@ -10,37 +10,37 @@ declare function NavigationMenu({
|
|
|
10
10
|
...props
|
|
11
11
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
12
12
|
viewport?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime174.JSX.Element;
|
|
14
14
|
declare function NavigationMenuList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
17
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime174.JSX.Element;
|
|
18
18
|
declare function NavigationMenuItem({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
22
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime174.JSX.Element;
|
|
22
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types5.ClassProp | undefined) => string;
|
|
23
23
|
declare function NavigationMenuTrigger({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime174.JSX.Element;
|
|
28
28
|
declare function NavigationMenuContent({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime174.JSX.Element;
|
|
32
32
|
declare function NavigationMenuViewport({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
35
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime174.JSX.Element;
|
|
36
36
|
declare function NavigationMenuLink({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
39
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime174.JSX.Element;
|
|
40
40
|
declare function NavigationMenuIndicator({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime174.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime195 from "react/jsx-runtime";
|
|
2
2
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
3
3
|
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
4
4
|
|
|
@@ -10,37 +10,37 @@ declare function NavigationMenu({
|
|
|
10
10
|
...props
|
|
11
11
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
12
12
|
viewport?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime195.JSX.Element;
|
|
14
14
|
declare function NavigationMenuList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
17
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime195.JSX.Element;
|
|
18
18
|
declare function NavigationMenuItem({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime195.JSX.Element;
|
|
22
22
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types7.ClassProp | undefined) => string;
|
|
23
23
|
declare function NavigationMenuTrigger({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime195.JSX.Element;
|
|
28
28
|
declare function NavigationMenuContent({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime195.JSX.Element;
|
|
32
32
|
declare function NavigationMenuViewport({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
35
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime195.JSX.Element;
|
|
36
36
|
declare function NavigationMenuLink({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
39
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime195.JSX.Element;
|
|
40
40
|
declare function NavigationMenuIndicator({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime195.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.d.mts.map
|
package/dist/ui/pagination.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-CriZT4R8.cjs";
|
|
2
|
+
import * as react_jsx_runtime162 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
declare function Pagination({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'nav'>):
|
|
8
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime162.JSX.Element;
|
|
9
9
|
declare function PaginationContent({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'ul'>):
|
|
12
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime162.JSX.Element;
|
|
13
13
|
declare function PaginationItem({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'li'>):
|
|
15
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime162.JSX.Element;
|
|
16
16
|
type PaginationLinkProps = {
|
|
17
17
|
isActive?: boolean;
|
|
18
18
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -21,19 +21,19 @@ declare function PaginationLink({
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime162.JSX.Element;
|
|
25
25
|
declare function PaginationPrevious({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
28
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime162.JSX.Element;
|
|
29
29
|
declare function PaginationNext({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
32
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime162.JSX.Element;
|
|
33
33
|
declare function PaginationEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'span'>):
|
|
36
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime162.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
39
39
|
//# sourceMappingURL=pagination.d.cts.map
|
package/dist/ui/pagination.d.mts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-BP-PJSUy.mjs";
|
|
2
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
declare function Pagination({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'nav'>):
|
|
8
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime158.JSX.Element;
|
|
9
9
|
declare function PaginationContent({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'ul'>):
|
|
12
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime158.JSX.Element;
|
|
13
13
|
declare function PaginationItem({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'li'>):
|
|
15
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime158.JSX.Element;
|
|
16
16
|
type PaginationLinkProps = {
|
|
17
17
|
isActive?: boolean;
|
|
18
18
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -21,19 +21,19 @@ declare function PaginationLink({
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime158.JSX.Element;
|
|
25
25
|
declare function PaginationPrevious({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
28
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime158.JSX.Element;
|
|
29
29
|
declare function PaginationNext({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
32
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime158.JSX.Element;
|
|
33
33
|
declare function PaginationEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'span'>):
|
|
36
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime158.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
39
39
|
//# sourceMappingURL=pagination.d.mts.map
|
package/dist/ui/popover.d.cts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime170 from "react/jsx-runtime";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime170.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime170.JSX.Element;
|
|
11
11
|
declare function PopoverContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime170.JSX.Element;
|
|
17
17
|
declare function PopoverAnchor({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
19
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime170.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
22
22
|
//# sourceMappingURL=popover.d.cts.map
|
package/dist/ui/popover.d.mts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime132.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime132.JSX.Element;
|
|
11
11
|
declare function PopoverContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime132.JSX.Element;
|
|
17
17
|
declare function PopoverAnchor({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
19
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime132.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
22
22
|
//# sourceMappingURL=popover.d.mts.map
|
package/dist/ui/progress.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime169 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Progress({
|
|
|
6
6
|
className,
|
|
7
7
|
value,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime169.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Progress };
|
|
12
12
|
//# sourceMappingURL=progress.d.cts.map
|
package/dist/ui/progress.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime283 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Progress({
|
|
|
6
6
|
className,
|
|
7
7
|
value,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime283.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Progress };
|
|
12
12
|
//# sourceMappingURL=progress.d.mts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime209 from "react/jsx-runtime";
|
|
2
2
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/radio-group.d.ts
|
|
5
5
|
declare function RadioGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime209.JSX.Element;
|
|
9
9
|
declare function RadioGroupItem({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
12
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime209.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { RadioGroup, RadioGroupItem };
|
|
15
15
|
//# sourceMappingURL=radio-group.d.cts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime187 from "react/jsx-runtime";
|
|
2
2
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/radio-group.d.ts
|
|
5
5
|
declare function RadioGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime187.JSX.Element;
|
|
9
9
|
declare function RadioGroupItem({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
12
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime187.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { RadioGroup, RadioGroupItem };
|
|
15
15
|
//# sourceMappingURL=radio-group.d.mts.map
|
package/dist/ui/resizable.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../resizable-
|
|
1
|
+
"use client";const e=require(`../resizable-BS63Xwia.cjs`);exports.ResizableHandle=e.t,exports.ResizablePanel=e.n,exports.ResizablePanelGroup=e.r;
|
package/dist/ui/resizable.d.cts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime242 from "react/jsx-runtime";
|
|
2
2
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/resizable.d.ts
|
|
5
5
|
declare function ResizablePanelGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>):
|
|
8
|
+
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime242.JSX.Element;
|
|
9
9
|
declare function ResizablePanel({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof ResizablePrimitive.Panel>):
|
|
11
|
+
}: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime242.JSX.Element;
|
|
12
12
|
declare function ResizableHandle({
|
|
13
13
|
withHandle,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
17
17
|
withHandle?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime242.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
21
21
|
//# sourceMappingURL=resizable.d.cts.map
|
package/dist/ui/resizable.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime178 from "react/jsx-runtime";
|
|
2
2
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/resizable.d.ts
|
|
5
5
|
declare function ResizablePanelGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>):
|
|
8
|
+
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime178.JSX.Element;
|
|
9
9
|
declare function ResizablePanel({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof ResizablePrimitive.Panel>):
|
|
11
|
+
}: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime178.JSX.Element;
|
|
12
12
|
declare function ResizableHandle({
|
|
13
13
|
withHandle,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
17
17
|
withHandle?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime178.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
21
21
|
//# sourceMappingURL=resizable.d.mts.map
|
package/dist/ui/resizable.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,r as t,t as n}from"../resizable-
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"../resizable-Dp4eTFXj.mjs";export{n as ResizableHandle,e as ResizablePanel,t as ResizablePanelGroup};
|
package/dist/ui/scroll-area.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../scroll-area-
|
|
1
|
+
"use client";const e=require(`../scroll-area-qE6GqGkn.cjs`);exports.ScrollArea=e.t,exports.ScrollBar=e.n;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime207 from "react/jsx-runtime";
|
|
2
|
+
import * as react16 from "react";
|
|
3
3
|
import { ScrollArea as ScrollArea$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/scroll-area.d.ts
|
|
6
|
-
declare const ScrollArea:
|
|
6
|
+
declare const ScrollArea: react16.MemoExoticComponent<({
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
ref,
|
|
10
10
|
onScroll,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof ScrollArea$1.Root>) =>
|
|
13
|
-
declare const ScrollBar:
|
|
12
|
+
}: React.ComponentProps<typeof ScrollArea$1.Root>) => react_jsx_runtime207.JSX.Element>;
|
|
13
|
+
declare const ScrollBar: react16.MemoExoticComponent<({
|
|
14
14
|
className,
|
|
15
15
|
orientation,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) =>
|
|
17
|
+
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) => react_jsx_runtime207.JSX.Element>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ScrollArea, ScrollBar };
|
|
20
20
|
//# sourceMappingURL=scroll-area.d.cts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime252 from "react/jsx-runtime";
|
|
2
|
+
import * as react24 from "react";
|
|
3
3
|
import { ScrollArea as ScrollArea$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/scroll-area.d.ts
|
|
6
|
-
declare const ScrollArea:
|
|
6
|
+
declare const ScrollArea: react24.MemoExoticComponent<({
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
ref,
|
|
10
10
|
onScroll,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof ScrollArea$1.Root>) =>
|
|
13
|
-
declare const ScrollBar:
|
|
12
|
+
}: React.ComponentProps<typeof ScrollArea$1.Root>) => react_jsx_runtime252.JSX.Element>;
|
|
13
|
+
declare const ScrollBar: react24.MemoExoticComponent<({
|
|
14
14
|
className,
|
|
15
15
|
orientation,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) =>
|
|
17
|
+
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) => react_jsx_runtime252.JSX.Element>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ScrollArea, ScrollBar };
|
|
20
20
|
//# sourceMappingURL=scroll-area.d.mts.map
|
package/dist/ui/scroll-area.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../scroll-area-
|
|
1
|
+
"use client";import{n as e,t}from"../scroll-area-CiMS2UY7.mjs";export{t as ScrollArea,e as ScrollBar};
|
package/dist/ui/select.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime221 from "react/jsx-runtime";
|
|
2
2
|
import { Select as Select$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/select.d.ts
|
|
5
5
|
declare function Select({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Select$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime221.JSX.Element;
|
|
8
8
|
declare function SelectGroup({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Select$1.Group>):
|
|
10
|
+
}: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime221.JSX.Element;
|
|
11
11
|
declare function SelectValue({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Select$1.Value>):
|
|
13
|
+
}: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime221.JSX.Element;
|
|
14
14
|
declare function SelectTrigger({
|
|
15
15
|
className,
|
|
16
16
|
size,
|
|
@@ -18,34 +18,34 @@ declare function SelectTrigger({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
20
20
|
size?: 'sm' | 'default';
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime221.JSX.Element;
|
|
22
22
|
declare function SelectContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
position,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Select$1.Content>):
|
|
27
|
+
}: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime221.JSX.Element;
|
|
28
28
|
declare function SelectLabel({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Select$1.Label>):
|
|
31
|
+
}: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime221.JSX.Element;
|
|
32
32
|
declare function SelectItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Select$1.Item>):
|
|
36
|
+
}: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime221.JSX.Element;
|
|
37
37
|
declare function SelectSeparator({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Select$1.Separator>):
|
|
40
|
+
}: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime221.JSX.Element;
|
|
41
41
|
declare function SelectScrollUpButton({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Select$1.ScrollUpButton>):
|
|
44
|
+
}: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime221.JSX.Element;
|
|
45
45
|
declare function SelectScrollDownButton({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Select$1.ScrollDownButton>):
|
|
48
|
+
}: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime221.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
51
51
|
//# sourceMappingURL=select.d.cts.map
|
package/dist/ui/select.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime203 from "react/jsx-runtime";
|
|
2
2
|
import { Select as Select$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/select.d.ts
|
|
5
5
|
declare function Select({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Select$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime203.JSX.Element;
|
|
8
8
|
declare function SelectGroup({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Select$1.Group>):
|
|
10
|
+
}: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime203.JSX.Element;
|
|
11
11
|
declare function SelectValue({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Select$1.Value>):
|
|
13
|
+
}: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime203.JSX.Element;
|
|
14
14
|
declare function SelectTrigger({
|
|
15
15
|
className,
|
|
16
16
|
size,
|
|
@@ -18,34 +18,34 @@ declare function SelectTrigger({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
20
20
|
size?: 'sm' | 'default';
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime203.JSX.Element;
|
|
22
22
|
declare function SelectContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
position,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Select$1.Content>):
|
|
27
|
+
}: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime203.JSX.Element;
|
|
28
28
|
declare function SelectLabel({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Select$1.Label>):
|
|
31
|
+
}: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime203.JSX.Element;
|
|
32
32
|
declare function SelectItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Select$1.Item>):
|
|
36
|
+
}: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime203.JSX.Element;
|
|
37
37
|
declare function SelectSeparator({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Select$1.Separator>):
|
|
40
|
+
}: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime203.JSX.Element;
|
|
41
41
|
declare function SelectScrollUpButton({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Select$1.ScrollUpButton>):
|
|
44
|
+
}: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime203.JSX.Element;
|
|
45
45
|
declare function SelectScrollDownButton({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Select$1.ScrollDownButton>):
|
|
48
|
+
}: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime203.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
51
51
|
//# sourceMappingURL=select.d.mts.map
|