sodtrack-web-ui 0.35.10 → 0.36.1
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/accordion.d.mts +3 -3
- package/dist/accordion.d.ts +3 -3
- package/dist/accordion.js +8 -43
- package/dist/accordion.mjs +1 -5
- package/dist/alert-dialog.js +1 -39
- package/dist/alert-dialog.mjs +1 -2
- package/dist/alert.js +12 -20
- package/dist/alert.mjs +1 -4
- package/dist/avatar.js +8 -36
- package/dist/avatar.mjs +1 -3
- package/dist/badge.js +1 -7
- package/dist/badge.mjs +1 -2
- package/dist/button.d.mts +163 -62
- package/dist/button.d.ts +163 -62
- package/dist/button.js +8 -20
- package/dist/button.mjs +1 -4
- package/dist/calendar.js +9 -17
- package/dist/calendar.mjs +1 -4
- package/dist/checkbox.js +9 -40
- package/dist/checkbox.mjs +1 -4
- package/dist/chip-form-complementary.d.mts +6 -6
- package/dist/chip-form-complementary.d.ts +6 -6
- package/dist/chip-form-complementary.js +1 -11
- package/dist/chip-form-complementary.mjs +1 -2
- package/dist/chip-form.d.mts +7 -10
- package/dist/chip-form.d.ts +7 -10
- package/dist/chip-form.js +1 -12
- package/dist/chip-form.mjs +1 -3
- package/dist/chip-input.d.mts +417 -7
- package/dist/chip-input.d.ts +417 -7
- package/dist/chip-input.js +8 -19
- package/dist/chip-input.mjs +1 -4
- package/dist/chip-status-complementary.d.mts +2 -2
- package/dist/chip-status-complementary.d.ts +2 -2
- package/dist/chip-status-complementary.js +1 -10
- package/dist/chip-status-complementary.mjs +1 -1
- package/dist/chip-status-table.d.mts +2 -2
- package/dist/chip-status-table.d.ts +2 -2
- package/dist/chip-status-table.js +1 -8
- package/dist/chip-status-table.mjs +1 -2
- package/dist/chip-status.d.mts +2 -2
- package/dist/chip-status.d.ts +2 -2
- package/dist/chip-status.js +1 -11
- package/dist/chip-status.mjs +1 -1
- package/dist/chunk-2LXG6QEY.mjs +1 -0
- package/dist/{chunk-P5UTQFFP.mjs → chunk-2WINTZSS.mjs} +1 -3
- package/dist/chunk-3O53ORIU.mjs +1 -0
- package/dist/chunk-442ZNBSP.mjs +1 -0
- package/dist/chunk-4SUP4N33.mjs +178 -0
- package/dist/chunk-5XFAWQQE.mjs +1 -0
- package/dist/chunk-6AGR3HBL.mjs +2 -0
- package/dist/chunk-7OKG3XAA.mjs +1 -0
- package/dist/chunk-7TIDRZ27.mjs +1 -0
- package/dist/chunk-AAPIG5QF.mjs +1 -0
- package/dist/chunk-AF7XWQ5Y.mjs +1 -0
- package/dist/chunk-AGEEF5RX.mjs +1 -0
- package/dist/chunk-BVHU5ZT3.mjs +1 -0
- package/dist/chunk-DENFBIT7.mjs +1 -0
- package/dist/chunk-DFTBHRBX.mjs +1 -0
- package/dist/chunk-E5FYVKT3.mjs +1 -0
- package/dist/chunk-FY54GKOC.mjs +1 -0
- package/dist/chunk-GPNLU6DM.mjs +1 -0
- package/dist/chunk-HFJV6IIY.mjs +1 -0
- package/dist/chunk-HR7CYSJD.mjs +1 -0
- package/dist/chunk-HUAKTFJQ.mjs +1 -0
- package/dist/chunk-J3XZZZXK.mjs +1 -0
- package/dist/chunk-J6IEHNOS.mjs +1 -0
- package/dist/chunk-K2XENCS4.mjs +1 -0
- package/dist/chunk-KTRSJBA4.mjs +1 -5
- package/dist/chunk-NUDVEK4R.mjs +1 -0
- package/dist/chunk-PCSXDSU2.mjs +1 -0
- package/dist/chunk-PDKUK5KM.mjs +1 -0
- package/dist/chunk-QLOBYRYP.mjs +1 -0
- package/dist/chunk-TBVSCYRJ.mjs +1 -0
- package/dist/chunk-TK4BJICK.mjs +1 -0
- package/dist/chunk-TYK4VIVE.mjs +1 -0
- package/dist/chunk-U3IVW6EK.mjs +1 -0
- package/dist/chunk-VGP2E7LW.mjs +1 -0
- package/dist/chunk-VTZ3HCM2.mjs +1 -0
- package/dist/chunk-WGMDH4XX.mjs +1 -0
- package/dist/chunk-WJOAAVA2.mjs +1 -0
- package/dist/chunk-WNLJSMHT.mjs +1 -0
- package/dist/{chunk-GT52YLYD.mjs → chunk-WWSXCOGT.mjs} +1 -8
- package/dist/chunk-XGJ7RSSV.mjs +1 -0
- package/dist/chunk-XKRLLYFH.mjs +1 -0
- package/dist/chunk-XPN52IBB.mjs +1 -0
- package/dist/chunk-YIEVS6EO.mjs +1 -0
- package/dist/data-table.js +10 -44
- package/dist/data-table.mjs +1 -7
- package/dist/date-picker.js +13 -47
- package/dist/date-picker.mjs +1 -8
- package/dist/dialog.js +8 -49
- package/dist/dialog.mjs +1 -5
- package/dist/drawer.d.mts +3 -2
- package/dist/drawer.d.ts +3 -2
- package/dist/drawer.js +10 -51
- package/dist/drawer.mjs +1 -8
- package/dist/flag-select.js +10 -44
- package/dist/flag-select.mjs +1 -7
- package/dist/icon-button.d.mts +97 -61
- package/dist/icon-button.d.ts +97 -61
- package/dist/icon-button.js +1 -9
- package/dist/icon-button.mjs +1 -1
- package/dist/icons.js +23 -44
- package/dist/icons.mjs +1 -2
- package/dist/index.css +1 -1
- package/dist/index.d.mts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +23 -191
- package/dist/index.mjs +1 -43
- package/dist/list-item-arrow.css +1 -1
- package/dist/list-item-arrow.js +8 -37
- package/dist/list-item-arrow.mjs +1 -43
- package/dist/list-item-checkbox.css +1 -1
- package/dist/list-item-checkbox.js +9 -41
- package/dist/list-item-checkbox.mjs +1 -43
- package/dist/list-item.css +1 -1
- package/dist/list-item.js +1 -30
- package/dist/list-item.mjs +1 -43
- package/dist/popover.js +1 -32
- package/dist/popover.mjs +1 -2
- package/dist/radio.d.mts +2 -2
- package/dist/radio.d.ts +2 -2
- package/dist/radio.js +1 -32
- package/dist/radio.mjs +1 -2
- package/dist/rating.js +8 -15
- package/dist/rating.mjs +1 -4
- package/dist/scrollarea.js +1 -30
- package/dist/scrollarea.mjs +1 -2
- package/dist/search-bar.js +11 -23
- package/dist/search-bar.mjs +1 -6
- package/dist/select.js +10 -44
- package/dist/select.mjs +1 -7
- package/dist/separator.js +1 -30
- package/dist/separator.mjs +1 -2
- package/dist/skeleton.js +1 -8
- package/dist/skeleton.mjs +1 -2
- package/dist/snackbar.js +8 -42
- package/dist/snackbar.mjs +1 -4
- package/dist/spinner.d.mts +2 -2
- package/dist/spinner.d.ts +2 -2
- package/dist/spinner.js +8 -16
- package/dist/spinner.mjs +1 -3
- package/dist/tab.d.mts +3 -3
- package/dist/tab.d.ts +3 -3
- package/dist/tab.js +8 -45
- package/dist/tab.mjs +1 -5
- package/dist/table.js +9 -45
- package/dist/table.mjs +1 -4
- package/dist/tailwind-preset.js +1 -5
- package/dist/tailwind-preset.mjs +1 -3
- package/dist/text-field-helper-text.js +1 -7
- package/dist/text-field-helper-text.mjs +1 -2
- package/dist/text-field.js +10 -22
- package/dist/text-field.mjs +1 -5
- package/dist/textarea.d.mts +72 -4
- package/dist/textarea.d.ts +72 -4
- package/dist/textarea.js +1 -9
- package/dist/textarea.mjs +1 -3
- package/dist/time-picker.js +11 -46
- package/dist/time-picker.mjs +1 -8
- package/dist/toggle.js +1 -30
- package/dist/toggle.mjs +1 -2
- package/dist/tooltip.d.mts +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +1 -9
- package/dist/tooltip.mjs +1 -2
- package/package.json +49 -49
- package/dist/chunk-2CQADSOJ.mjs +0 -13
- package/dist/chunk-2JOHLCWM.mjs +0 -11
- package/dist/chunk-3AQYQJHG.mjs +0 -11
- package/dist/chunk-4FJBTSNQ.mjs +0 -9
- package/dist/chunk-4H6XFPH2.mjs +0 -8
- package/dist/chunk-5VHQUJIE.mjs +0 -8
- package/dist/chunk-7O2KZJ5U.mjs +0 -17
- package/dist/chunk-AXGV7DEU.mjs +0 -6
- package/dist/chunk-CTDL3KTY.mjs +0 -9
- package/dist/chunk-CYXKXVPJ.mjs +0 -5
- package/dist/chunk-DM5EBUN4.mjs +0 -9
- package/dist/chunk-DUHAMQ4M.mjs +0 -8
- package/dist/chunk-EHAVZFJ6.mjs +0 -13
- package/dist/chunk-EJLFOZOO.mjs +0 -9
- package/dist/chunk-G7YOPX6C.mjs +0 -11
- package/dist/chunk-GBLHF7X3.mjs +0 -13
- package/dist/chunk-GEZSC2HS.mjs +0 -9
- package/dist/chunk-HHYTTZJ4.mjs +0 -8
- package/dist/chunk-HLKMPIHV.mjs +0 -7
- package/dist/chunk-HOKUAAAA.mjs +0 -8
- package/dist/chunk-I5KUH65Q.mjs +0 -7
- package/dist/chunk-IIEPYY5Q.mjs +0 -6
- package/dist/chunk-JCRLICZS.mjs +0 -7
- package/dist/chunk-JM47WICB.mjs +0 -8
- package/dist/chunk-JQGPN4OZ.mjs +0 -9
- package/dist/chunk-LYJI6LWS.mjs +0 -7
- package/dist/chunk-NBX5DVEK.mjs +0 -8
- package/dist/chunk-QEEDHECW.mjs +0 -8
- package/dist/chunk-RQMOAGZD.mjs +0 -6
- package/dist/chunk-S6DPBMYM.mjs +0 -7
- package/dist/chunk-SL6BOTSB.mjs +0 -7
- package/dist/chunk-UOTH67KT.mjs +0 -6
- package/dist/chunk-VDMK4M2M.mjs +0 -10
- package/dist/chunk-WB7YE6OK.mjs +0 -8
- package/dist/chunk-WCTI52GU.mjs +0 -10
- package/dist/chunk-WONJKCFU.mjs +0 -11
- package/dist/chunk-X6CBUD64.mjs +0 -11
- package/dist/chunk-XNYIOZ4G.mjs +0 -8
- package/dist/chunk-YTVQ4PUI.mjs +0 -182
- package/dist/chunk-ZY2CFYRT.mjs +0 -10
package/dist/chunk-GEZSC2HS.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a as a$1 } from './chunk-AXGV7DEU.mjs';
|
|
2
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import { Label } from '@radix-ui/react-label';
|
|
5
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var L=forwardRef(({className:p,placeholder:n,helperText:i,error:r,size:t="md",label:l,...s},x)=>jsxs("div",{className:a("relative flex flex-col",p),children:[jsx("textarea",{className:a("peer z-30 h-full w-full resize-none rounded-lg bg-neutral-50/0 px-4 py-2.5 text-neutral-900 placeholder-neutral-600/0 caret-neutral-900 outline-0 ring-[1.5px] ring-inset ring-neutral-600 transition-all ease-linear hover:text-primary-500 hover:placeholder-primary-500/0 hover:caret-primary-500 hover:ring-primary-500 focus:text-neutral-900 focus:placeholder-neutral-600 focus:placeholder-opacity-100 focus:caret-primary-800 focus:ring-[3px] focus:ring-primary-800 disabled:bg-neutral-50 disabled:text-neutral-500 disabled:ring-neutral-500 [&:not(:placeholder-shown)]:z-10",t==="md"&&"h-20",t==="sm"&&"h-[4.5rem]",t==="lg"&&"h-22",r&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700"),placeholder:n??"",...s,ref:x}),l&&jsx(Label,{className:a("absolute -top-[0.375rem] z-20 mx-3 bg-neutral-50 px-1 text-xs text-neutral-600 transition-all duration-75 ease-linear peer-placeholder-shown:top-2.5 peer-placeholder-shown:text-base peer-hover:text-primary-500 peer-focus:-top-[0.375rem] peer-focus:z-30 peer-focus:text-xs peer-focus:text-primary-800 peer-disabled:z-30 peer-disabled:text-neutral-500",r&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700"),children:l}),jsx(a$1,{helperText:i,error:r})]}));
|
|
8
|
-
|
|
9
|
-
export { L as a };
|
package/dist/chunk-HHYTTZJ4.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { a as a$1 } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import * as c from 'react';
|
|
3
|
-
import * as a from '@radix-ui/react-switch';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var u=c.forwardRef(({className:r,size:t="md",...s},i)=>jsx(a.Root,{className:a$1("group inline-flex h-8 w-13 shrink-0 cursor-pointer items-center rounded-[100px] transition-all disabled:cursor-not-allowed data-[state=checked]:bg-primary-500 data-[state=unchecked]:ring-2 data-[state=unchecked]:ring-inset data-[state=unchecked]:ring-primary-500 data-[state=unchecked]:hover:ring-primary-600 data-[state=checked]:focus:bg-primary-800 data-[state=unchecked]:focus:ring-3 data-[state=unchecked]:focus:ring-primary-800 data-[state=checked]:active:bg-primary-700 data-[state=unchecked]:active:ring-2 data-[state=unchecked]:active:ring-primary-400 data-[state=checked]:disabled:bg-neutral-200 data-[state=unchecked]:disabled:ring-neutral-300",t==="sm"&&"h-6 w-10",r),...s,ref:i,children:jsx(a.Thumb,{className:a$1("block h-6 w-6 rounded-full transition-all group-hover:ring-transparent-primary-9 data-[state=unchecked]:h-4 data-[state=unchecked]:w-4 data-[state=checked]:translate-x-6 data-[state=unchecked]:translate-x-2 data-[state=checked]:bg-primary-200 data-[state=unchecked]:bg-primary-500 data-[state=unchecked]:group-hover:bg-primary-600 data-[state=checked]:group-hover:ring-8 data-[state=unchecked]:group-hover:ring-12 data-[state=unchecked]:group-focus:h-4 data-[state=unchecked]:group-focus:w-4 data-[state=checked]:group-focus:bg-primary-100 data-[state=unchecked]:group-focus:bg-primary-500 data-[state=unchecked]:group-focus:ring-transparent-primary-8 data-[state=checked]:group-active:h-7 data-[state=unchecked]:group-active:h-7 data-[state=checked]:group-active:w-7 data-[state=unchecked]:group-active:w-7 data-[state=unchecked]:group-active:translate-x-[2px] group-active:data-[state=checked]:translate-x-[22px] data-[state=unchecked]:group-active:ring-0 data-[state=checked]:group-disabled:h-6 data-[state=unchecked]:group-disabled:h-4 data-[state=checked]:group-disabled:w-6 data-[state=unchecked]:group-disabled:w-4 data-[state=checked]:group-disabled:translate-x-6 data-[state=unchecked]:group-disabled:translate-x-2 data-[state=checked]:group-disabled:bg-neutral-100 data-[state=unchecked]:group-disabled:bg-neutral-500 data-[state=checked]:group-disabled:ring-0 data-[state=unchecked]:group-disabled:ring-0",t==="sm"&&"h-4 w-4 data-[state=unchecked]:h-3 data-[state=unchecked]:w-3 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-[6px] data-[state=unchecked]:group-focus:h-3 data-[state=unchecked]:group-focus:w-3 data-[state=checked]:group-active:h-5 data-[state=unchecked]:group-active:h-5 data-[state=checked]:group-active:w-5 data-[state=unchecked]:group-active:w-5 data-[state=unchecked]:group-active:translate-x-[2px] group-active:data-[state=checked]:translate-x-[18px] data-[state=checked]:group-disabled:h-4 data-[state=unchecked]:group-disabled:h-3 data-[state=checked]:group-disabled:w-4 data-[state=unchecked]:group-disabled:w-3 data-[state=checked]:group-disabled:translate-x-5 data-[state=unchecked]:group-disabled:translate-x-[6px]")})}));u.displayName=a.Root.displayName;
|
|
7
|
-
|
|
8
|
-
export { u as a };
|
package/dist/chunk-HLKMPIHV.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { forwardRef } from 'react';
|
|
2
|
-
import { cva } from 'cva';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var p=cva({base:"flex items-center justify-center rounded-lg font-inter text-base font-semibold disabled:cursor-not-allowed disabled:ring-0",variants:{variant:{contained:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] active:ring-0 focus:ring-inset focus:ring-primary-800 active:bg-primary-700 disabled:bg-neutral-100 disabled:text-neutral-500",outlined:"text-primary-500 ring-[1.5px] active:ring-[1.5px] focus:ring-primary-800 ring-inset ring-primary-500 hover:bg-transparent-primary-9 hover:text-primary-600 hover:ring-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] active:bg-transparent-primary-20 active:text-primary-700 active:ring-primary-700 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-500 disabled:ring-[1.5px] disabled:ring-neutral-500",ghost:"text-primary-500 hover:bg-transparent-primary-9 active:ring-0 hover:text-primary-600 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-20 active:text-primary-700 disabled:bg-neutral-50/0 disabled:text-neutral-500",standard:"text-neutral-900 hover:bg-transparent-primary-9 focus:bg-neutral-50 active:ring-0 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-20 disabled:bg-neutral-50/0 disabled:text-neutral-500"},size:{small:"h-8 w-8 text-sm",medium:"h-10 w-10",large:"h-12 w-12"}},defaultVariants:{variant:"contained",size:"medium"}}),b=forwardRef(({children:r,className:t,variant:e="contained",size:a="medium",...i},n)=>jsx("button",{ref:n,...i,className:p({variant:e,size:a,className:t}),children:r}));
|
|
6
|
-
|
|
7
|
-
export { b as a };
|
package/dist/chunk-HOKUAAAA.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import * as e from 'react';
|
|
3
|
-
import * as o from '@radix-ui/react-separator';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var f=e.forwardRef(({className:a$1,orientation:t="horizontal",decorative:i=!0,...p},m)=>jsx(o.Root,{ref:m,decorative:i,orientation:t,className:a("shrink-0 bg-neutral-200",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a$1),...p}));f.displayName=o.Root.displayName;
|
|
7
|
-
|
|
8
|
-
export { f as a };
|
package/dist/chunk-I5KUH65Q.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var n=forwardRef(({className:t,...r},o)=>jsx("div",{ref:o,className:a("animate-pulse rounded-lg bg-primary-100",t),...r}));n.displayName="Skeleton";
|
|
6
|
-
|
|
7
|
-
export { n as a };
|
package/dist/chunk-IIEPYY5Q.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { cva } from 'cva';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
var f=["success","info","warning","error","generic"],y=["xs","sm","md"],g=["light","full"],o=cva({base:"rounded-2xl w-fit flex items-center tracking-normal",variants:{variant:{success:"",info:"",warning:"",error:"",generic:""},size:{xs:"px-2 text-xs leading-[130%] min-h-4 rounded-2xl",sm:"px-2 py-0.75 text-sm leading-[130%] min-h-6 rounded-2xl",md:"px-3 py-1 text-base leading-[130%] min-h-8 rounded-3xl"},type:{light:"",full:""},disabled:{true:"text-neutral-400 bg-neutral-100",false:""}},compoundVariants:[{variant:"success",type:"light",disabled:!1,className:"bg-success-100 text-success-700"},{variant:"success",type:"full",disabled:!1,className:"bg-success-300 text-neutral-50"},{variant:"info",type:"light",disabled:!1,className:"bg-info-100 text-info-700"},{variant:"info",type:"full",disabled:!1,className:"bg-info-300 text-neutral-50"},{variant:"warning",type:"light",disabled:!1,className:"bg-warning-100 text-warning-900"},{variant:"warning",type:"full",disabled:!1,className:"bg-warning-500 text-warning-900"},{variant:"error",type:"light",disabled:!1,className:"bg-error-100 text-error-900"},{variant:"error",type:"full",disabled:!1,className:"bg-error-500 text-neutral-50"},{variant:"generic",type:"light",disabled:!1,className:"bg-primary-200 text-primary-600"},{variant:"generic",type:"full",disabled:!1,className:"bg-primary-500 text-neutral-50"}],defaultVariants:{disabled:!1,size:"sm"}}),h=({size:e,variant:a,className:s,type:i,disabled:r,StartIcon:t,children:n,...p})=>jsxs("span",{className:o({variant:a,size:e,type:i,disabled:r,className:s}),...p,children:[t&&jsx(t,{size:14,className:"mr-1"}),n]});
|
|
5
|
-
|
|
6
|
-
export { f as a, y as b, g as c, h as d };
|
package/dist/chunk-JCRLICZS.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { a as a$1 } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import { cva } from 'cva';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var a=cva({variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"}},defaultVariants:{variant:"info"}}),c=({variant:e,className:n,children:o,...s})=>jsx("div",{className:a$1(a({variant:e}),"flex max-h-[3.75rem] min-h-[3.75rem] w-[8.5rem] items-center justify-center overflow-hidden rounded p-2",n),...s,children:jsx("p",{className:a$1(a({variant:e}),"line-clamp-3 text-center text-xs leading-[130%] tracking-normal"),children:o})});
|
|
6
|
-
|
|
7
|
-
export { c as a };
|
package/dist/chunk-JM47WICB.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import * as r from 'react';
|
|
3
|
-
import * as t from '@radix-ui/react-alert-dialog';
|
|
4
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var v=t.Root,P=t.Trigger,m=t.Portal,R=t.Cancel,n=r.forwardRef(({className:e,...a$1},i)=>jsx(t.Overlay,{ref:i,className:a("bg-black/80 fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a$1}));n.displayName=t.Overlay.displayName;var d=r.forwardRef(({className:e,children:a$1,...i},s)=>jsxs(m,{children:[jsx(n,{className:"bg-neutral-900/50"}),jsx(t.Content,{ref:s,className:a("elevation-9 fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] rounded-2xl bg-neutral-50 p-8 duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",e),...i,children:a$1})]}));d.displayName=t.Content.displayName;var f=({className:e,...a$1})=>jsx("div",{className:a("flex flex-col gap-4 sm:text-left",e),...a$1});f.displayName="AlertDialogHeader";var c=({className:e,...a$1})=>jsx("div",{className:a("mt-6 flex justify-end gap-3",e),...a$1});c.displayName="AlertDialogFooter";var g=r.forwardRef(({className:e,...a$1},i)=>jsx(t.Title,{ref:i,className:a("font-jakarta text-2xl font-semibold leading-[160%]",e),...a$1}));g.displayName=t.Title.displayName;var p=r.forwardRef(({className:e,...a$1},i)=>jsx(t.Description,{ref:i,className:a("font-jakarta text-lg font-normal leading-[140%]",e),...a$1}));p.displayName=t.Description.displayName;
|
|
7
|
-
|
|
8
|
-
export { v as a, P as b, m as c, R as d, n as e, d as f, f as g, c as h, g as i, p as j };
|
package/dist/chunk-JQGPN4OZ.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import * as d from 'react';
|
|
3
|
-
import * as e from '@radix-ui/react-radio-group';
|
|
4
|
-
import { cva } from 'cva';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var n=cva({base:"group grid gap-2 [&_label]:data-[disabled]:text-neutral-500",variants:{size:{lg:"[&_label]:font-normal [&_label]:leading-[130%] [&_label]:text-base [&_button]:h-5 [&_button]:w-5 [&_button]:border-2 [&_span>div]:w-[10px] [&_span>div]:h-[10px]",md:"[&_label]:font-normal [&_label]:leading-[120%] [&_label]:text-sm [&_button]:h-[17px] [&_button]:w-[17px] [&_button]:border-[1.5px] [&_span>div]:w-2 [&_span>div]:h-2"}}}),m=cva({base:"group/item rounded-full data-[state=checked]:border-primary-500 data-[disabled]:border-neutral-500 border-neutral-900 transition-all hover:ring-[6px] hover:ring-primary-200 disabled:cursor-not-allowed disabled:border-neutral-500 disabled:ring-0 [&:not(:disabled)]:hover:bg-primary-200"}),u=d.forwardRef(({className:o,size:t="lg",...i},l)=>jsx(e.Root,{className:a(n({className:o,size:t}),o),...i,ref:l}));u.displayName=e.Root.displayName;var s=d.forwardRef(({className:o,...t},i)=>jsx(e.Item,{ref:i,className:a(m({className:o}),o),...t,children:jsx(e.Indicator,{className:"flex items-center justify-center",children:jsx("div",{className:"rounded-full bg-primary-500 group-disabled/item:bg-neutral-500"})})}));s.displayName=e.Item.displayName;
|
|
8
|
-
|
|
9
|
-
export { u as a, s as b };
|
package/dist/chunk-LYJI6LWS.mjs
DELETED
package/dist/chunk-NBX5DVEK.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { i, h } from './chunk-CYXKXVPJ.mjs';
|
|
2
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
3
|
-
import * as r from 'react';
|
|
4
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var u=r.forwardRef(({className:t,...a$1},l)=>jsx("div",{ref:l,className:a("flex flex-col overflow-hidden rounded-2xl border border-primary-200 bg-neutral-50",t),...a$1}));u.displayName="TableContainer";var R=r.forwardRef(({className:t,...a$1},l)=>jsx("div",{className:"relative w-full overflow-auto",children:jsx("table",{ref:l,className:a("w-full table-auto overflow-hidden text-neutral-900",t),...a$1})}));R.displayName="Table";var x=r.forwardRef(({className:t,...a},l)=>jsx("thead",{ref:l,className:t,...a}));x.displayName="TableHeader";var N=r.forwardRef(({className:t,...a},l)=>jsx("tbody",{ref:l,className:t,...a}));N.displayName="TableBody";var g=r.forwardRef(({className:t,...a$1},l)=>jsx("tr",{ref:l,className:a("text-base font-normal leading-[130%]",t),...a$1}));g.displayName="TableBodyRow";var H=r.forwardRef(({colSpan:t,Icon:a,icon:l,title:m,description:o,...s},d)=>jsx("tr",{ref:d,...s,children:jsx("td",{colSpan:t,children:jsxs("div",{className:"flex flex-col items-center justify-center px-10 pb-12 pt-10 font-normal leading-[120%] text-neutral-500",children:[l,a&&jsx(a,{size:40,className:"text-neutral-300"}),jsx("span",{className:"mt-2 font-semibold leading-[130%] text-neutral-500",children:m}),o&&jsx("span",{className:"leading-[130%] text-neutral-500",children:o})]})})}));H.displayName="TableBodyRowNoResults";var w=r.forwardRef(({className:t,...a$1},l)=>jsx("tr",{ref:l,className:a("bg-primary-100",t),...a$1}));w.displayName="TableHeaderRow";var L=r.forwardRef(({className:t,...a$1},l)=>jsx("th",{ref:l,className:a("h-10 px-3 py-1 text-left text-sm font-semibold uppercase leading-[130%]",t),...a$1}));L.displayName="TableHead";var v=r.forwardRef(({className:t,...a$1},l)=>jsx("td",{ref:l,className:a("h-18 px-3 py-1",t),...a$1}));v.displayName="TableCell";var E=({disableNextPage:t,disablePreviousPage:a$1,onNextPageClick:l,onPreviousPageClick:m,pagination:o,rowsCount:s,rowsPerPageText:d="Rows per page",ofText:T="of",onRowsPerPageChange:p})=>jsxs("div",{className:"ml-auto flex h-8 items-center justify-end gap-6 border-t-1 border-t-primary-200",children:[jsxs("div",{className:"flex items-center",children:[jsx("span",{className:"mr-2 text-sm font-semibold leading-[130%] text-neutral-700",children:`${d}:`}),jsxs("select",{className:"text-sm leading-[130%]",value:o.pageSize,id:"rows_per_page",onChange:f=>{p?.(Number(f.target.value));},children:[jsx("option",{value:"10",children:"10"}),jsx("option",{value:"25",children:"25"}),jsx("option",{value:"50",children:"50"})]})]}),!!s&&jsx("span",{className:"text-sm font-normal leading-[130%] text-neutral-700",children:`${o?.pageIndex*o.pageSize+1}-${s>o?.pageIndex*o.pageSize+o.pageSize?o?.pageIndex*o.pageSize+o.pageSize:s} ${T} ${s}`}),!s&&jsx("span",{className:"text-sm font-normal leading-[120%] tracking-sm text-neutral-700",children:`${o.pageIndex>0?"... ":""}${o.pageIndex+1}${t?"":" ..."}`}),jsxs("div",{className:"flex items-center",children:[jsx("button",{type:"button",disabled:a$1,className:"flex h-8 cursor-pointer items-center px-3 disabled:cursor-not-allowed",onClick:m,children:jsx(i,{className:a("h-[1.125rem] w-[1.125rem] text-neutral-900",a$1&&"text-neutral-500")})}),jsx("button",{type:"button",disabled:t,className:"flex h-8 cursor-pointer items-center px-3 disabled:cursor-not-allowed",onClick:l,children:jsx(h,{className:a("h-[1.125rem] w-[1.125rem] text-neutral-900",t&&"text-neutral-500")})})]})]});
|
|
7
|
-
|
|
8
|
-
export { u as a, R as b, x as c, N as d, g as e, H as f, w as g, L as h, v as i, E as j };
|
package/dist/chunk-QEEDHECW.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { i, h } from './chunk-CYXKXVPJ.mjs';
|
|
2
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
3
|
-
import { DayPicker } from 'react-day-picker';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var p=({classNames:t,...l})=>jsx(DayPicker,{classNames:{caption_dropdowns:a("flex",t?.caption_dropdowns),months:a("flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",t?.months),month:a("overflow-hidden w-full rounded-[1.75rem] px-3 pb-4 bg-neutral-100",t?.month),table:a("w-full",t?.table),caption:a("flex ml-1 justify-between items-center py-1",t?.caption),caption_label:a("capitalize text-sm ml-2 mr-1 font-semibold",t?.caption_label),nav_button:a("p-3",t?.nav_button),head_row:a("flex",t?.head_row),head_cell:a("capitalize w-[14.3%] aspect-square font-normal flex justify-center items-center",t?.head_cell),row:a("flex w-full",t?.row),cell:a("w-[14.3%] aspect-square flex justify-center items-center",t?.cell),day:a("w-full disabled:ring-0 hover:bg-neutral-200 disabled:cursor-auto disabled:bg-opacity-0 disabled:text-neutral-500 h-full ring-inset rounded-full hover:cursor-pointer flex justify-center items-center text-small",t?.day),day_range_end:"day-range-end",day_selected:a("bg-primary-500 !text-neutral-50 hover:!bg-primary-500",t?.day_selected),day_hidden:a("hidden",t?.day_hidden),day_today:a("ring-[1px] ring-primary-500 text-primary-500 hover:bg-primary-50 hover:bg-opacity-0",t?.day_today)},formatters:{formatWeekdayName:(r,d)=>d?.locale?.localize.day(r.getDay(),{width:"narrow"})},components:{IconLeft:({...r})=>jsx(i,{className:"h-6 w-6",...r}),IconRight:({...r})=>jsx(h,{className:"h-6 w-6",...r})},...l});p.displayName="Calendar";
|
|
7
|
-
|
|
8
|
-
export { p as a };
|
package/dist/chunk-RQMOAGZD.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { cva } from 'cva';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
var m=["zoro","ussop","crocodile","silvers","buggy","nami","shanks","sanji","ace","hancock","chopper","bentham","ivankov","brook","luffy","frankie","jinbe","robin","law","piiman"],l=["xs","sm","md"],o=cva({base:"w-fit flex items-center tracking-normal",variants:{variant:{zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"},size:{xs:"px-2 text-xs leading-[130%] min-h-4 rounded-2xl",sm:"px-2 py-0.75 text-sm leading-[130%] min-h-6 rounded-2xl",md:"px-3 py-1 text-base leading-[130%] min-h-8 rounded-3xl"}},defaultVariants:{size:"sm"}}),y=({size:t,variant:e,className:a,...n})=>jsx("span",{className:o({variant:e,size:t,className:a}),...n});
|
|
5
|
-
|
|
6
|
-
export { m as a, l as b, y as c };
|
package/dist/chunk-S6DPBMYM.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import { TooltipProvider, Root, TooltipTrigger, TooltipContent, TooltipArrow } from '@radix-ui/react-tooltip';
|
|
3
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var f=TooltipProvider,b=({children:r,content:l,open:n,defaultOpen:m,onOpenChange:a$1,className:T,size:t="medium",align:s="center",side:o="bottom",...P})=>jsxs(Root,{open:n,defaultOpen:m,onOpenChange:a$1,children:[jsx(TooltipTrigger,{asChild:!0,children:r}),jsxs(TooltipContent,{className:a("max-w-[20.5rem] whitespace-break-spaces rounded-lg bg-neutral-900 text-sm leading-[120%] text-neutral-50",t==="small"&&"p-2",t==="medium"&&"p-4",o==="top"&&"text-center",o==="bottom"&&"text-center",o==="right"&&"text-left",o==="right"&&"text-right",T),side:o,align:s,...P,children:[l,jsx(TooltipArrow,{width:16,height:8,className:"fill-neutral-900"})]})]});
|
|
6
|
-
|
|
7
|
-
export { f as a, b };
|
package/dist/chunk-SL6BOTSB.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-CYXKXVPJ.mjs';
|
|
2
|
-
import { cva } from 'cva';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var p=cva({base:"h-12 w-12 animate-spin",variants:{variant:{primary:"text-primary-500",neutral:"text-neutral-100"}},defaultVariants:{variant:"primary"}}),c=({variant:a$1,className:n,...t})=>jsx(a,{className:p({variant:a$1,className:n}),...t});
|
|
6
|
-
|
|
7
|
-
export { c as a };
|
package/dist/chunk-UOTH67KT.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
var s=({content:m,variant:t="select",size:e="lg",className:l,...n})=>jsx("div",{className:a("content-center px-1 text-center text-neutral-50",e==="sm"&&"h-4 min-w-4 text-xs",e==="md"&&"min-w-4.5 h-4.5 text-xs",e==="lg"&&"h-6 min-w-6",t==="select"&&"rounded-sm bg-primary-700",t==="alert"&&"rounded-full bg-error-700",t==="alert"&&e==="sm"&&"h-[0.375rem] min-w-[0.375rem] p-0",t==="alert"&&e==="md"&&"h-4 min-w-4",l),...n,children:!(t==="alert"&&e==="sm")&&m});
|
|
5
|
-
|
|
6
|
-
export { s as a };
|
package/dist/chunk-VDMK4M2M.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { a as a$2 } from './chunk-GT52YLYD.mjs';
|
|
2
|
-
import { a } from './chunk-ZY2CFYRT.mjs';
|
|
3
|
-
import { a as a$1 } from './chunk-P5UTQFFP.mjs';
|
|
4
|
-
import $, { useId, useRef, useState, useEffect } from 'react';
|
|
5
|
-
import * as R from '@radix-ui/react-portal';
|
|
6
|
-
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
var i=56,u=6,q=({options:n,noResults:w,selectedOption:L,onSelect:P,onChange:C,onClick:T,className:k,...I})=>{let N=useId(),l=useRef(null),o=useRef(null),g=useRef(null),[H,M]=useState("bottom"),[r,F]=useState(),[s,c]=useState(-1),[h,y]=useState(L??null),b=e=>{l.current.style.display="none",o.current.value=e.label,y(e),P?.(e);},A=e=>{if(e.key==="ArrowDown"){if(s===n.length-1)return;c(t=>t+1),l.current.style.display="flex",x();}else if(e.key==="ArrowUp"){if(s===0)return;c(t=>t-1),x();}else e.key==="Enter"&&(b(n[s]),c(-1));},x=()=>{let e=i*u;g.current.scroll({top:(s+2)*i<=e?0:i*(s+2)-e,behavior:"smooth"});};return useEffect(()=>{if(!o.current)return;let e=()=>{if(!o.current)return;let t=i*(n.length<u?n.length:u)+16,m=o.current.getBoundingClientRect();F(m);let B=window.innerHeight-m.bottom>t,D=m.top>t;M(B?"bottom":D?"top":"bottom");};return e(),o.current.addEventListener("mousedown",e),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{o.current?.removeEventListener("mousedown",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e);}},[o.current]),useEffect(()=>{function e(t){l.current&&!l.current.contains(t.target)&&(l.current.style.display="none",c(-1));}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e);}},[l.current]),jsxs(Fragment,{children:[jsx(a,{className:a$1("w-full !cursor-pointer",k),readOnly:!0,ref:o,autoComplete:"off",list:"",selectMode:!0,value:h?.label,showClearButton:!1,onClick:e=>{l.current.style.display="flex",T?.(e);},onChange:e=>{c(-1),y(null),C?.(e);},onKeyDown:A,...I}),jsx(R.Root,{asChild:!0,children:jsx("ul",{ref:l,className:"pointer-events-auto absolute z-[10000] hidden w-full",style:r?{width:`${r.width}px`,left:r.left,top:H==="bottom"?`${r.height+r.top+window.scrollY}px`:window.scrollY+r.top-(n.length<u?n.length:u)*i-16}:void 0,children:jsxs(a$2,{className:"elevation-8 my-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:g,children:[n.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[$.cloneElement(w.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:w.message})]}),n.map((e,t)=>jsx("li",{onClick:()=>{b(e);},className:a$1("w-full flex-shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",h?.value===e.value&&"bg-primary-200",s===t&&"bg-primary-200"),value:e.value,children:e.label},`select-option-${N}-${e.key??e.value}`))]})})})]})};
|
|
9
|
-
|
|
10
|
-
export { q as a };
|
package/dist/chunk-WB7YE6OK.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import { cva } from 'cva';
|
|
4
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var j=["zoro","ussop","crocodile","silvers","buggy","nami","shanks","piiman","sanji","ace","hancock","chopper","bentham","ivankov","brook","luffy","frankie","jinbe","robin","law"],g={zoro:"bg-zoro-300 [&:not(:disabled)]:hover:bg-zoro-500 text-sunny-800",ussop:"bg-ussop-300 [&:not(:disabled)]:hover:bg-ussop-500 text-sunny-800",crocodile:"bg-crocodile-300 [&:not(:disabled)]:hover:bg-crocodile-500 text-sunny-800",silvers:"bg-silvers-300 [&:not(:disabled)]:hover:bg-silvers-500 text-sunny-800",buggy:"bg-buggy-300 [&:not(:disabled)]:hover:bg-buggy-500 text-sunny-800",nami:"bg-nami-300 [&:not(:disabled)]:hover:bg-nami-500 text-polartang-800",shanks:"bg-shanks-300 [&:not(:disabled)]:hover:bg-shanks-500 text-polartang-800",piiman:"bg-piiman-300 [&:not(:disabled)]:hover:bg-piiman-500 text-polartang-800",sanji:"bg-sanji-300 [&:not(:disabled)]:hover:bg-sanji-500 text-polartang-800",ace:"bg-ace-300 [&:not(:disabled)]:hover:bg-ace-500 text-polartang-800",hancock:"bg-hancock-300 [&:not(:disabled)]:hover:bg-hancock-500 text-merry-800",chopper:"bg-chopper-300 [&:not(:disabled)]:hover:bg-chopper-500 text-merry-800",bentham:"bg-bentham-300 [&:not(:disabled)]:hover:bg-bentham-500 text-merry-800",ivankov:"bg-ivankov-300 [&:not(:disabled)]:hover:bg-ivankov-500 text-merry-800",brook:"bg-brook-300 [&:not(:disabled)]:hover:bg-brook-500 text-merry-800",luffy:"bg-luffy-300 [&:not(:disabled)]:hover:bg-luffy-500 text-jackson-800",frankie:"bg-frankie-300 [&:not(:disabled)]:hover:bg-frankie-500 text-jackson-800",jinbe:"bg-jinbe-300 [&:not(:disabled)]:hover:bg-jinbe-500 text-jackson-800",robin:"bg-robin-300 [&:not(:disabled)]:hover:bg-robin-500 text-jackson-800",law:"bg-law-300 [&:not(:disabled)]:hover:bg-law-500 text-jackson-800"},c=cva({base:"py-1 px-3 rounded-lg w-fit text-sm flex justify-center items-center transition-all",variants:{variant:g,size:{sm:"h-8 text-sm leading-[130%]",md:"h-10 leading-[130%]"},selected:{true:"ring-2 ring-primary-800",false:"ring-0"},disabled:{true:"bg-neutral-100 text-neutral-400 ring-0"}},defaultVariants:{size:"md"}}),V=forwardRef(({children:a$1,variant:n,size:i,selected:e,onChangeSelected:s,className:b,disabled:o,StartIcon:t,...m},p)=>jsxs("button",{ref:p,disabled:o,onClick:()=>s?.(!e),className:a(c({variant:n,size:i,selected:e,disabled:o}),b),...m,children:[t&&jsx(t,{size:18,className:"mr-2"}),a$1]}));
|
|
7
|
-
|
|
8
|
-
export { j as a, g as b, V as c };
|
package/dist/chunk-WCTI52GU.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { j, k as k$1 } from './chunk-CYXKXVPJ.mjs';
|
|
2
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
3
|
-
import * as s from 'react';
|
|
4
|
-
import * as r from '@radix-ui/react-checkbox';
|
|
5
|
-
import { Label } from '@radix-ui/react-label';
|
|
6
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
var k=["sm","md"],h=s.forwardRef(({className:c,label:n,size:e="md",...t},l)=>jsxs("div",{className:a("flex items-center",e==="md"&&"gap-3",e==="sm"&&"gap-2",c),children:[jsx("div",{className:a("flex flex-shrink-0 rounded-full transition-all has-[:hover]:has-[:enabled]:[&:not(:active)]:bg-transparent-primary-9 has-[:hover]:[&:not(:disabled)]:[&:not(:active)]:ring-transparent-primary-9",e==="sm"&&"h-4 w-4 has-[:hover]:has-[:enabled]:[&:not(:active)]:ring-4",e=="md"&&"h-5 w-5 has-[:hover]:has-[:enabled]:[&:not(:active)]:ring-6"),children:jsx(r.Root,{ref:l,className:a("flex-shrink-0 rounded-sm ring-2 ring-inset ring-neutral-900 active:enabled:ring-primary-700 disabled:cursor-not-allowed disabled:ring-neutral-500 data-[state=checked]:enabled:bg-primary-500 data-[state=indeterminate]:enabled:bg-primary-500 data-[state=checked]:enabled:ring-0 data-[state=indeterminate]:enabled:ring-0 hover:data-[state=checked]:enabled:bg-primary-600 hover:data-[state=indeterminate]:enabled:bg-primary-600 hover:data-[state=unchecked]:enabled:ring-primary-600 active:enabled:data-[state=checked]:bg-primary-700 active:enabled:data-[state=indeterminate]:bg-primary-700 disabled:data-[state=checked]:bg-neutral-500 disabled:data-[state=indeterminate]:bg-neutral-500",e==="sm"&&"h-4 w-4",e==="md"&&"h-5 w-5"),...t,children:jsxs(r.Indicator,{className:"flex items-center justify-center",children:[t.checked!=="indeterminate"&&jsx(j,{size:e==="sm"?14:18,className:"text-neutral-50"}),t.checked==="indeterminate"&&jsx(k$1,{size:e==="sm"?14:18,className:"text-neutral-50"})]})})}),n&&jsx(Label,{htmlFor:t.id,className:a("font-normal leading-[130%] text-neutral-900",t.disabled&&"text-neutral-500",e==="md"&&"text-base",e==="sm"&&"text-sm"),children:n})]}));h.displayName=r.Root.displayName;
|
|
9
|
-
|
|
10
|
-
export { k as a, h as b };
|
package/dist/chunk-WONJKCFU.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { a, b as b$2 } from './chunk-S6DPBMYM.mjs';
|
|
2
|
-
import { a as a$1, b as b$1, c, g, h, d, e as e$1, i, f, j } from './chunk-NBX5DVEK.mjs';
|
|
3
|
-
import { a as a$2, b } from './chunk-GT52YLYD.mjs';
|
|
4
|
-
import { e } from './chunk-CYXKXVPJ.mjs';
|
|
5
|
-
import { useMemo } from 'react';
|
|
6
|
-
import { useReactTable, getCoreRowModel, getPaginationRowModel, flexRender } from '@tanstack/react-table';
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
|
|
9
|
-
function V({columns:g$1,data:d$1,rowsCount:n,pagination:l,onPaginationChange:c$1,noResults:r,rowsPerPageText:k="Rows per page",ofText:z="of",onNextPageClick:$,onPreviousPageClick:q,disableNextPage:p,disablePreviousPage:T,className:M,...B}){let o=useReactTable({data:d$1,columns:g$1,rowCount:n,state:{pagination:l},onPaginationChange:c$1,manualPagination:!0,getCoreRowModel:getCoreRowModel(),getPaginationRowModel:getPaginationRowModel()}),A=useMemo(()=>T||!!n&&!o.getCanPreviousPage(),[T,n,l?.pageIndex]),L=useMemo(()=>p||!!n&&!o.getCanNextPage(),[p,n,l?.pageIndex]);return jsx(a,{children:jsxs(a$1,{className:M,...B,children:[jsxs(a$2,{children:[jsx(b,{orientation:"horizontal"}),jsxs(b$1,{children:[jsx("colgroup",{children:o.getHeaderGroups()[0].headers.map(t=>{let a=t.column.getSize()/o.getHeaderGroups()[0].headers.reduce((i,G)=>i+G.getSize(),0)*100;return jsx("col",{span:1,style:{width:`${a}%`}},t.id)})}),jsx(c,{children:o.getHeaderGroups().map(t=>jsx(g,{children:t.headers.map(a=>{let i=a.column.columnDef;return jsx(h,{children:jsxs("div",{className:"flex items-center",children:[a.isPlaceholder?null:flexRender(i.header,a.getContext()),i.headerInfoTooltip&&jsx(b$2,{size:i.headerInfoTooltipSize,content:i.headerInfoTooltip,className:"font-normal normal-case",children:jsx(e,{className:"ml-1 w-[0.875rem]"})})]})},a.id)})},t.id))}),jsx(d,{children:o.getRowModel().rows?.length?o.getRowModel().rows.map(t=>jsx(e$1,{"data-state":t.getIsSelected()&&"selected",children:t.getVisibleCells().map(a=>jsx(i,{children:flexRender(a.column.columnDef.cell,a.getContext())},a.id))},t.id)):jsx(f,{colSpan:g$1.length,icon:r.icon,Icon:r.Icon,title:r.title,description:r.description})})]})]}),l&&c$1&&d$1.length>0&&jsx(j,{rowsCount:n,pagination:l,onRowsPerPageChange:t=>{o.setPageSize(t),o.setPageIndex(0);},onPreviousPageClick:o.previousPage,onNextPageClick:o.nextPage,disableNextPage:L,disablePreviousPage:A,ofText:z,rowsPerPageText:k})]})})}var te=V;
|
|
10
|
-
|
|
11
|
-
export { V as a, te as b };
|
package/dist/chunk-X6CBUD64.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { a as a$1 } from './chunk-GT52YLYD.mjs';
|
|
2
|
-
import { d as d$1 } from './chunk-CYXKXVPJ.mjs';
|
|
3
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
4
|
-
import * as s from 'react';
|
|
5
|
-
import * as e from '@radix-ui/react-dialog';
|
|
6
|
-
export { e as a };
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
|
|
9
|
-
var N=e.Root,C=e.Trigger,f=e.Portal,x=e.Close,d=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Overlay,{ref:o,className:a("bg-black/80 fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a$1}));d.displayName=e.Overlay.displayName;var c=s.forwardRef(({className:t,children:a$2,...o},p)=>jsx(f,{children:jsx(d,{className:"bg-neutral-900/50",children:jsxs(e.Content,{ref:p,className:a("elevation-9 fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] rounded-2xl bg-neutral-50 pr-0 pt-4 duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",t),...o,children:[jsxs(e.Close,{className:"data-[state=open]:bg-accent data-[state=open]:text-muted-foreground mr-4 self-end justify-self-end rounded-sm transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none",children:[jsx(d$1,{className:"h-6 w-6"}),jsx("span",{className:"sr-only",children:"Close"})]}),jsx(a$1,{className:"max-h-[80vh]",viewPortClassName:"p-8 pt-2",children:a$2})]})})}));c.displayName=e.Content.displayName;var g=({className:t,...a$1})=>jsx("div",{className:a("flex flex-col gap-4 text-left",t),...a$1});g.displayName="DialogHeader";var D=({className:t,...a$1})=>jsx("div",{className:a("mt-6 flex justify-end gap-3",t),...a$1});D.displayName="DialogFooter";var v=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Title,{ref:o,className:a("font-jakarta text-xl font-semibold leading-[130%]",t),...a$1}));v.displayName=e.Title.displayName;var P=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Description,{ref:o,className:a("font-inter text-base font-normal leading-[130%]",t),...a$1}));P.displayName=e.Description.displayName;
|
|
10
|
-
|
|
11
|
-
export { N as b, C as c, f as d, x as e, d as f, c as g, g as h, D as i, v as j, P as k };
|
package/dist/chunk-XNYIOZ4G.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { m } from './chunk-CYXKXVPJ.mjs';
|
|
2
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var y=({value:r,readOnly:e,onClick:c,className:i,...m$1})=>{let[a$1,p]=useState(0);return jsx("div",{className:a("flex gap-1",i),...m$1,children:new Array(5).fill(null).map((F,t)=>jsx(m,{onClick:()=>{if(e)return;let l=t+1;p(l),c?.(l);},"aria-readonly":e,className:a(!e&&"cursor-pointer"),style:{color:r?t<r?"#FFCB00":"#7E8A86":t<a$1?"#FFCB00":"#7E8A86",fill:r?t<r?"#FFCB00":"transparent":t<a$1?"#FFCB00":"transparent"}},t))})};
|
|
7
|
-
|
|
8
|
-
export { y as a };
|
package/dist/chunk-YTVQ4PUI.mjs
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { forwardRef, createElement } from 'react';
|
|
2
|
-
|
|
3
|
-
var A=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=(...e)=>e.filter((t,u,r)=>!!t&&r.indexOf(t)===u).join(" ");var B={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var M=forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:r,className:c="",children:s,iconNode:D,...R},q)=>createElement("svg",{ref:q,...B,width:t,height:t,stroke:e,strokeWidth:r?Number(u)*24/Number(t):u,className:i("lucide",c),...R},[...D.map(([T,y])=>createElement(T,y)),...Array.isArray(s)?s:[s]]));var a=(e,t)=>{let u=forwardRef(({className:r,...c},s)=>createElement(M,{ref:s,iconNode:t,className:i(`lucide-${A(e)}`,r),...c}));return u.displayName=`${e}`,u};var n=a("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);var p=a("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var L=a("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var m=a("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var I=a("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var o=a("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var d=a("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var x=a("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);var C=a("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var l=a("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var h=a("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var S=a("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var g=a("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var w=a("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);var f=a("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var k=a("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var P=a("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/*! Bundled license information:
|
|
4
|
-
|
|
5
|
-
lucide-react/dist/esm/shared/src/utils.js:
|
|
6
|
-
(**
|
|
7
|
-
* @license lucide-react v0.452.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*)
|
|
12
|
-
|
|
13
|
-
lucide-react/dist/esm/defaultAttributes.js:
|
|
14
|
-
(**
|
|
15
|
-
* @license lucide-react v0.452.0 - ISC
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the ISC license.
|
|
18
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
19
|
-
*)
|
|
20
|
-
|
|
21
|
-
lucide-react/dist/esm/Icon.js:
|
|
22
|
-
(**
|
|
23
|
-
* @license lucide-react v0.452.0 - ISC
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the ISC license.
|
|
26
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
27
|
-
*)
|
|
28
|
-
|
|
29
|
-
lucide-react/dist/esm/createLucideIcon.js:
|
|
30
|
-
(**
|
|
31
|
-
* @license lucide-react v0.452.0 - ISC
|
|
32
|
-
*
|
|
33
|
-
* This source code is licensed under the ISC license.
|
|
34
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
35
|
-
*)
|
|
36
|
-
|
|
37
|
-
lucide-react/dist/esm/icons/calendar.js:
|
|
38
|
-
(**
|
|
39
|
-
* @license lucide-react v0.452.0 - ISC
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the ISC license.
|
|
42
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
-
*)
|
|
44
|
-
|
|
45
|
-
lucide-react/dist/esm/icons/check.js:
|
|
46
|
-
(**
|
|
47
|
-
* @license lucide-react v0.452.0 - ISC
|
|
48
|
-
*
|
|
49
|
-
* This source code is licensed under the ISC license.
|
|
50
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
-
*)
|
|
52
|
-
|
|
53
|
-
lucide-react/dist/esm/icons/chevron-down.js:
|
|
54
|
-
(**
|
|
55
|
-
* @license lucide-react v0.452.0 - ISC
|
|
56
|
-
*
|
|
57
|
-
* This source code is licensed under the ISC license.
|
|
58
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
-
*)
|
|
60
|
-
|
|
61
|
-
lucide-react/dist/esm/icons/chevron-left.js:
|
|
62
|
-
(**
|
|
63
|
-
* @license lucide-react v0.452.0 - ISC
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the ISC license.
|
|
66
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
-
*)
|
|
68
|
-
|
|
69
|
-
lucide-react/dist/esm/icons/chevron-right.js:
|
|
70
|
-
(**
|
|
71
|
-
* @license lucide-react v0.452.0 - ISC
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the ISC license.
|
|
74
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
-
*)
|
|
76
|
-
|
|
77
|
-
lucide-react/dist/esm/icons/circle-check.js:
|
|
78
|
-
(**
|
|
79
|
-
* @license lucide-react v0.452.0 - ISC
|
|
80
|
-
*
|
|
81
|
-
* This source code is licensed under the ISC license.
|
|
82
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*)
|
|
84
|
-
|
|
85
|
-
lucide-react/dist/esm/icons/circle-x.js:
|
|
86
|
-
(**
|
|
87
|
-
* @license lucide-react v0.452.0 - ISC
|
|
88
|
-
*
|
|
89
|
-
* This source code is licensed under the ISC license.
|
|
90
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
-
*)
|
|
92
|
-
|
|
93
|
-
lucide-react/dist/esm/icons/clock.js:
|
|
94
|
-
(**
|
|
95
|
-
* @license lucide-react v0.452.0 - ISC
|
|
96
|
-
*
|
|
97
|
-
* This source code is licensed under the ISC license.
|
|
98
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
-
*)
|
|
100
|
-
|
|
101
|
-
lucide-react/dist/esm/icons/info.js:
|
|
102
|
-
(**
|
|
103
|
-
* @license lucide-react v0.452.0 - ISC
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the ISC license.
|
|
106
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
-
*)
|
|
108
|
-
|
|
109
|
-
lucide-react/dist/esm/icons/loader-circle.js:
|
|
110
|
-
(**
|
|
111
|
-
* @license lucide-react v0.452.0 - ISC
|
|
112
|
-
*
|
|
113
|
-
* This source code is licensed under the ISC license.
|
|
114
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
-
*)
|
|
116
|
-
|
|
117
|
-
lucide-react/dist/esm/icons/minus.js:
|
|
118
|
-
(**
|
|
119
|
-
* @license lucide-react v0.452.0 - ISC
|
|
120
|
-
*
|
|
121
|
-
* This source code is licensed under the ISC license.
|
|
122
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*)
|
|
124
|
-
|
|
125
|
-
lucide-react/dist/esm/icons/moon.js:
|
|
126
|
-
(**
|
|
127
|
-
* @license lucide-react v0.452.0 - ISC
|
|
128
|
-
*
|
|
129
|
-
* This source code is licensed under the ISC license.
|
|
130
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
-
*)
|
|
132
|
-
|
|
133
|
-
lucide-react/dist/esm/icons/search.js:
|
|
134
|
-
(**
|
|
135
|
-
* @license lucide-react v0.452.0 - ISC
|
|
136
|
-
*
|
|
137
|
-
* This source code is licensed under the ISC license.
|
|
138
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
139
|
-
*)
|
|
140
|
-
|
|
141
|
-
lucide-react/dist/esm/icons/star.js:
|
|
142
|
-
(**
|
|
143
|
-
* @license lucide-react v0.452.0 - ISC
|
|
144
|
-
*
|
|
145
|
-
* This source code is licensed under the ISC license.
|
|
146
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
-
*)
|
|
148
|
-
|
|
149
|
-
lucide-react/dist/esm/icons/triangle-alert.js:
|
|
150
|
-
(**
|
|
151
|
-
* @license lucide-react v0.452.0 - ISC
|
|
152
|
-
*
|
|
153
|
-
* This source code is licensed under the ISC license.
|
|
154
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
155
|
-
*)
|
|
156
|
-
|
|
157
|
-
lucide-react/dist/esm/icons/user.js:
|
|
158
|
-
(**
|
|
159
|
-
* @license lucide-react v0.452.0 - ISC
|
|
160
|
-
*
|
|
161
|
-
* This source code is licensed under the ISC license.
|
|
162
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
163
|
-
*)
|
|
164
|
-
|
|
165
|
-
lucide-react/dist/esm/icons/x.js:
|
|
166
|
-
(**
|
|
167
|
-
* @license lucide-react v0.452.0 - ISC
|
|
168
|
-
*
|
|
169
|
-
* This source code is licensed under the ISC license.
|
|
170
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
-
*)
|
|
172
|
-
|
|
173
|
-
lucide-react/dist/esm/lucide-react.js:
|
|
174
|
-
(**
|
|
175
|
-
* @license lucide-react v0.452.0 - ISC
|
|
176
|
-
*
|
|
177
|
-
* This source code is licensed under the ISC license.
|
|
178
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*)
|
|
180
|
-
*/
|
|
181
|
-
|
|
182
|
-
export { n as a, p as b, L as c, m as d, I as e, o as f, d as g, x as h, C as i, l as j, h as k, S as l, g as m, w as n, f as o, k as p, P as q };
|
package/dist/chunk-ZY2CFYRT.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { a as a$1 } from './chunk-AXGV7DEU.mjs';
|
|
2
|
-
import { c, d, g } from './chunk-CYXKXVPJ.mjs';
|
|
3
|
-
import { a } from './chunk-P5UTQFFP.mjs';
|
|
4
|
-
import f, { forwardRef, useRef, useState, useCallback, useEffect } from 'react';
|
|
5
|
-
import { Label } from '@radix-ui/react-label';
|
|
6
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
var J=forwardRef(({label:h,placeholder:M,error:r,selectMode:g$1=!1,showClearButton:y=!0,helperText:H,className:N,size:e="lg",onClean:I,onChange:d$1,startIcon:u,endIcon:s,startComponent:p,fixedTopLabel:P,startText:c$1,disabled:i,...D},m)=>{let l=useRef(null),[o,x]=useState(!1),b=!l.current?.value,v=useCallback(()=>{if(l.current&&!i){l.current.value="",x(!1),I?.();let n={target:l.current,currentTarget:l.current,type:"change",bubbles:!0,cancelable:!1,defaultPrevented:!1,eventPhase:0,isTrusted:!0,preventDefault:()=>{},stopPropagation:()=>{},persist:()=>{},isDefaultPrevented:()=>!1,isPropagationStopped:()=>!1,timeStamp:Date.now(),nativeEvent:new Event("change")};d$1?.(n);}},[i,d$1,l.current]);return useEffect(()=>{l.current&&x(l.current.value.length>0);},[]),jsxs("div",{className:a("flex flex-col",N),children:[jsxs("div",{className:a("relative flex flex-col",e==="lg"&&"h-12",e==="md"&&"h-10",e==="sm"&&"h-8"),children:[jsx("input",{disabled:i,className:a("hover:caret-neutral-text-neutral-600 hover:ring-neutral-text-neutral-600 hover:text-neutral peer absolute z-20 h-full w-full rounded-lg bg-neutral-50/0 text-left tracking-normal text-neutral-900 placeholder-neutral-500/0 caret-neutral-900 outline-0 ring-1 ring-inset ring-neutral-400 transition-all ease-linear hover:placeholder-neutral-500/0 focus:text-neutral-900 focus:placeholder-neutral-500 focus:placeholder-opacity-100 focus:caret-primary-800 focus:ring-[2px] focus:ring-primary-800 disabled:bg-neutral-100 disabled:text-neutral-400 disabled:ring-neutral-100 [&:not(:placeholder-shown)]:z-10",r&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700",e==="lg"&&"text-base",e==="md"&&"text-base",e==="sm"&&"text-sm",u?e==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":p?"pl-[6.5rem]":"pl-4",c$1&&"pl-[1.94rem]",s?e==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:M??"",ref:n=>{typeof m=="function"?m(n):m&&(m.current=n),l.current=n;},onChange:n=>{x(n.target.value.length>0),d$1?.(n);},...D}),p&&f.cloneElement(p,{className:a("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",r&&!o&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),u&&f.cloneElement(u,{size:e==="lg"?24:18,className:a("absolute flex peer-focus:text-neutral-900 z-20 text-neutral-500 left-3 h-full items-center rounded-full peer-disabled:text-neutral-400",r&&!o&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),c$1&&jsx("p",{className:a("items-center pl-3 pt-3 text-neutral-700",e==="lg"?"pt-3":"pt-2",r&&"text-error-700"),children:c$1}),h&&jsx(Label,{className:a("peer-hover:text-neutral-00 absolute -top-[0.5625rem] z-10 ml-3 bg-neutral-50 px-1 tracking-normal text-neutral-600 transition-all duration-75 ease-linear peer-disabled:z-20 peer-disabled:bg-neutral-100 peer-disabled:text-neutral-400","peer-focus:-top-[0.5625rem] peer-focus:z-20 peer-focus:ml-3 peer-focus:text-xs peer-focus:text-primary-800",o&&"peer-disabled:bg-neutral-50",e==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":e==="md"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-2":"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-[6px]",!b&&"text-xs",r&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",u?e==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":p?"peer-placeholder-shown:ml-[6rem]":"ml-3",P&&"!-top-[0.375rem] z-20 ml-3 !text-xs !transition-none",c$1&&"peer-placeholder-shown:ml-[1.94rem]"),children:h}),y&&(!b||o)&&jsx("div",{className:a("peer-hover:text-neutral absolute z-10 hidden h-full cursor-pointer items-center rounded-full peer-focus:flex peer-focus:text-primary-800 peer-disabled:cursor-not-allowed peer-disabled:text-neutral-400",r&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",g$1||s?e==="lg"?"right-[2.81rem]":e==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:r?jsx(c,{onMouseDown:v,size:e==="lg"?24:e==="md"?18:14,className:"text-error-700"}):jsx(d,{onMouseDown:v,size:e==="lg"?24:e==="md"?18:14,className:"text-neutral-900"})}),s&&f.cloneElement(s,{size:e==="lg"?24:e==="md"?18:14,className:a("absolute peer-focus:text-neutral-900 z-20 text-neutral-500 flex right-3 h-full items-center rounded-full peer-disabled:text-neutral-400",r&&!o&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),g$1&&jsx("div",{className:a("peer-hover:text-neutral absolute right-4 z-20 flex h-full items-center rounded-full transition-all ease-linear peer-focus:rotate-180 peer-focus:text-primary-900 peer-disabled:text-neutral-400"),children:jsx(g,{className:e==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsx(a$1,{helperText:H,error:r,disabled:i})]})});
|
|
9
|
-
|
|
10
|
-
export { J as a };
|