@gbmtech/aurora-ui 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/command.cjs +1 -1
- package/dist/cjs/components/data-table/data-table-filter-list.cjs +1 -1
- package/dist/cjs/components/data-table/data-table-filter-menu.cjs +1 -1
- package/dist/cjs/components/data-table/data-table-range-filter.cjs +1 -1
- package/dist/cjs/components/data-table/data-table-slider-filter.cjs +1 -1
- package/dist/cjs/components/data-table/data-table-toolbar.cjs +1 -1
- package/dist/cjs/components/data-table/index.cjs +1 -1
- package/dist/cjs/components/dialog/dialog.cjs +2 -0
- package/dist/cjs/components/dialog/dialog.d.ts +39 -0
- package/dist/cjs/components/dialog/dialog.d.ts.map +1 -0
- package/dist/cjs/components/dialog/index.cjs +1 -0
- package/dist/cjs/components/dialog/index.d.ts +2 -0
- package/dist/cjs/components/dialog/index.d.ts.map +1 -0
- package/dist/cjs/components/input/index.cjs +1 -0
- package/dist/cjs/components/input/index.d.ts +3 -0
- package/dist/cjs/components/input/index.d.ts.map +1 -0
- package/dist/cjs/components/input/input-variants.cjs +1 -0
- package/dist/cjs/components/input/input-variants.d.ts +103 -0
- package/dist/cjs/components/input/input-variants.d.ts.map +1 -0
- package/dist/cjs/components/input/input.cjs +2 -0
- package/dist/cjs/components/input/input.d.ts +14 -0
- package/dist/cjs/components/input/input.d.ts.map +1 -0
- package/dist/cjs/components/input-otp/index.cjs +1 -0
- package/dist/cjs/components/input-otp/index.d.ts +2 -0
- package/dist/cjs/components/input-otp/index.d.ts.map +1 -0
- package/dist/cjs/components/input-otp/input-otp.cjs +2 -0
- package/dist/cjs/components/input-otp/input-otp.d.ts +16 -0
- package/dist/cjs/components/input-otp/input-otp.d.ts.map +1 -0
- package/dist/cjs/components/input-password/index.cjs +1 -0
- package/dist/cjs/components/input-password/index.d.ts +2 -0
- package/dist/cjs/components/input-password/index.d.ts.map +1 -0
- package/dist/cjs/components/input-password/input-password.cjs +2 -0
- package/dist/cjs/components/input-password/input-password.d.ts +8 -0
- package/dist/cjs/components/input-password/input-password.d.ts.map +1 -0
- package/dist/cjs/components/mask-input.cjs +1 -1
- package/dist/cjs/components/month-picker.cjs +1 -1
- package/dist/cjs/components/month-picker.d.ts +3 -2
- package/dist/cjs/components/month-picker.d.ts.map +1 -1
- package/dist/cjs/components/time-picker/time-picker-input.cjs +1 -1
- package/dist/cjs/hooks/use-data-table.cjs +1 -1
- package/dist/cjs/hooks/use-data-table.d.ts +1 -0
- package/dist/cjs/hooks/use-data-table.d.ts.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/primitives/input.d.ts.map +1 -0
- package/dist/esm/components/command.js +1 -1
- package/dist/esm/components/data-table/data-table-filter-list.js +1 -1
- package/dist/esm/components/data-table/data-table-filter-menu.js +1 -1
- package/dist/esm/components/data-table/data-table-range-filter.js +1 -1
- package/dist/esm/components/data-table/data-table-slider-filter.js +1 -1
- package/dist/esm/components/data-table/data-table-toolbar.js +1 -1
- package/dist/esm/components/dialog/dialog.d.ts +39 -0
- package/dist/esm/components/dialog/dialog.d.ts.map +1 -0
- package/dist/esm/components/dialog/dialog.js +2 -0
- package/dist/esm/components/dialog/index.d.ts +2 -0
- package/dist/esm/components/dialog/index.d.ts.map +1 -0
- package/dist/esm/components/dialog/index.js +1 -0
- package/dist/esm/components/input/index.d.ts +3 -0
- package/dist/esm/components/input/index.d.ts.map +1 -0
- package/dist/esm/components/input/index.js +1 -0
- package/dist/esm/components/input/input-variants.d.ts +103 -0
- package/dist/esm/components/input/input-variants.d.ts.map +1 -0
- package/dist/esm/components/input/input-variants.js +1 -0
- package/dist/esm/components/input/input.d.ts +14 -0
- package/dist/esm/components/input/input.d.ts.map +1 -0
- package/dist/esm/components/input/input.js +2 -0
- package/dist/esm/components/input-otp/index.d.ts +2 -0
- package/dist/esm/components/input-otp/index.d.ts.map +1 -0
- package/dist/esm/components/input-otp/index.js +1 -0
- package/dist/esm/components/input-otp/input-otp.d.ts +16 -0
- package/dist/esm/components/input-otp/input-otp.d.ts.map +1 -0
- package/dist/esm/components/input-otp/input-otp.js +2 -0
- package/dist/esm/components/input-password/index.d.ts +2 -0
- package/dist/esm/components/input-password/index.d.ts.map +1 -0
- package/dist/esm/components/input-password/index.js +1 -0
- package/dist/esm/components/input-password/input-password.d.ts +8 -0
- package/dist/esm/components/input-password/input-password.d.ts.map +1 -0
- package/dist/esm/components/input-password/input-password.js +2 -0
- package/dist/esm/components/mask-input.js +1 -1
- package/dist/esm/components/month-picker.d.ts +3 -2
- package/dist/esm/components/month-picker.d.ts.map +1 -1
- package/dist/esm/components/month-picker.js +1 -1
- package/dist/esm/components/time-picker/time-picker-input.js +1 -1
- package/dist/esm/hooks/use-data-table.d.ts +1 -0
- package/dist/esm/hooks/use-data-table.d.ts.map +1 -1
- package/dist/esm/hooks/use-data-table.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/primitives/input.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/components/dialog.cjs +0 -2
- package/dist/cjs/components/dialog.d.ts +0 -59
- package/dist/cjs/components/dialog.d.ts.map +0 -1
- package/dist/cjs/components/input-otp.cjs +0 -2
- package/dist/cjs/components/input-otp.d.ts +0 -23
- package/dist/cjs/components/input-otp.d.ts.map +0 -1
- package/dist/cjs/components/input-password.cjs +0 -2
- package/dist/cjs/components/input-password.d.ts +0 -10
- package/dist/cjs/components/input-password.d.ts.map +0 -1
- package/dist/cjs/components/input.cjs +0 -2
- package/dist/cjs/components/input.d.ts +0 -46
- package/dist/cjs/components/input.d.ts.map +0 -1
- package/dist/cjs/primitive/input.d.ts.map +0 -1
- package/dist/esm/components/dialog.d.ts +0 -59
- package/dist/esm/components/dialog.d.ts.map +0 -1
- package/dist/esm/components/dialog.js +0 -2
- package/dist/esm/components/input-otp.d.ts +0 -23
- package/dist/esm/components/input-otp.d.ts.map +0 -1
- package/dist/esm/components/input-otp.js +0 -2
- package/dist/esm/components/input-password.d.ts +0 -10
- package/dist/esm/components/input-password.d.ts.map +0 -1
- package/dist/esm/components/input-password.js +0 -2
- package/dist/esm/components/input.d.ts +0 -46
- package/dist/esm/components/input.d.ts.map +0 -1
- package/dist/esm/components/input.js +0 -2
- package/dist/esm/primitive/input.d.ts.map +0 -1
- /package/dist/cjs/{primitive → primitives}/input.cjs +0 -0
- /package/dist/cjs/{primitive → primitives}/input.d.ts +0 -0
- /package/dist/esm/{primitive → primitives}/input.d.ts +0 -0
- /package/dist/esm/{primitive → primitives}/input.js +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { VariantProps } from '../lib/utils';
|
|
3
|
-
import * as InputPrimitive from '../primitive/input';
|
|
4
|
-
declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
7
|
-
input?: import("tailwind-variants").ClassValue;
|
|
8
|
-
root?: import("tailwind-variants").ClassValue;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
} | {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
14
|
-
input?: import("tailwind-variants").ClassValue;
|
|
15
|
-
root?: import("tailwind-variants").ClassValue;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
} | {}, {
|
|
19
|
-
root: string;
|
|
20
|
-
input: string;
|
|
21
|
-
}, undefined, {
|
|
22
|
-
[key: string]: {
|
|
23
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
|
-
input?: import("tailwind-variants").ClassValue;
|
|
25
|
-
root?: import("tailwind-variants").ClassValue;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
} | {}, {
|
|
29
|
-
root: string;
|
|
30
|
-
input: string;
|
|
31
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
32
|
-
root: string;
|
|
33
|
-
input: string;
|
|
34
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
35
|
-
declare function Input({ className, disabled, loaderPosition, loading, prefix, readOnly, spinner, suffix, classNames, ...props }: ComponentProps<typeof InputPrimitive.Root> & Omit<ComponentProps<typeof InputPrimitive.Field>, 'prefix' | 'type'> & VariantProps<typeof inputVariants> & {
|
|
36
|
-
type?: string;
|
|
37
|
-
classNames?: {
|
|
38
|
-
wrapper?: string;
|
|
39
|
-
input?: string;
|
|
40
|
-
};
|
|
41
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
declare namespace Input {
|
|
43
|
-
var displayName: string;
|
|
44
|
-
}
|
|
45
|
-
export { Input, inputVariants };
|
|
46
|
-
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAM,YAAY,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAA;AAOnD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAMjB,CAAA;AAQF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,OAAO,EACP,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,UAAU,EACV,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAC3C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,GACpE,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,KAAK,CAAC,EAAE,MA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AO,CAAC,CAAA;AAE9C,iBAAS,UAAU,CAAC,EAClB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,eAAe,CAAC,GAAG,GAAG,CAAC,OAAO,CAuB5C;AAMD,OAAO,EACL,gBAAgB,EAChB,UAAU,IAAI,KAAK,EACnB,KAAK,EACL,UAAU,EACV,KAAK,IAAI,IAAI,GACd,CAAA"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { VariantProps } from '../lib/utils';
|
|
4
|
-
import { buttonVariants } from './button';
|
|
5
|
-
declare function Dialog(props: ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace Dialog {
|
|
7
|
-
var displayName: string;
|
|
8
|
-
}
|
|
9
|
-
declare function DialogTrigger(props: ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare namespace DialogTrigger {
|
|
11
|
-
var displayName: string;
|
|
12
|
-
}
|
|
13
|
-
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare namespace DialogPortal {
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
17
|
-
declare function DialogClose({ className, size, variant, ...props }: Omit<ComponentProps<typeof DialogPrimitive.Close>, 'ref'> & {
|
|
18
|
-
size?: VariantProps<typeof buttonVariants>['size'];
|
|
19
|
-
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
declare namespace DialogClose {
|
|
22
|
-
var displayName: string;
|
|
23
|
-
}
|
|
24
|
-
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
declare namespace DialogOverlay {
|
|
26
|
-
var displayName: string;
|
|
27
|
-
}
|
|
28
|
-
declare function DialogContent({ children, className, classNames, ...props }: ComponentProps<typeof DialogPrimitive.Content> & {
|
|
29
|
-
classNames?: {
|
|
30
|
-
close?: string;
|
|
31
|
-
content?: string;
|
|
32
|
-
overlay?: string;
|
|
33
|
-
};
|
|
34
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
declare namespace DialogContent {
|
|
36
|
-
var displayName: string;
|
|
37
|
-
}
|
|
38
|
-
declare function DialogHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
declare namespace DialogHeader {
|
|
40
|
-
var displayName: string;
|
|
41
|
-
}
|
|
42
|
-
declare function DialogBody({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
declare namespace DialogBody {
|
|
44
|
-
var displayName: string;
|
|
45
|
-
}
|
|
46
|
-
declare function DialogFooter({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
declare namespace DialogFooter {
|
|
48
|
-
var displayName: string;
|
|
49
|
-
}
|
|
50
|
-
declare function DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
declare namespace DialogTitle {
|
|
52
|
-
var displayName: string;
|
|
53
|
-
}
|
|
54
|
-
declare function DialogDescription({ className, ...props }: ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
declare namespace DialogDescription {
|
|
56
|
-
var displayName: string;
|
|
57
|
-
}
|
|
58
|
-
export { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogDescription, DialogClose, DialogPortal, DialogOverlay, };
|
|
59
|
-
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/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AAK,CAAC,EAAE,MAAM,CAAA;QACd,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,2CA2BA;kBAtCQ,aAAa;;;AA6CtB,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAWnE;kBAXQ,YAAY;;;AAkBrB,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAQjE;kBARQ,UAAU;;;AAenB,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAWnE;kBAXQ,YAAY;;;AAkBrB,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAW9C;kBAdQ,WAAW;;;AAqBpB,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAQpD;kBAXQ,iBAAiB;;;AAkB1B,OAAO,EACL,MAAM,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,GACd,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import{jsx as a,jsxs as t}from"react/jsx-runtime";import{XIcon as e}from"@phosphor-icons/react";import{Close as o,Content as l,Description as i,Overlay as s,Portal as r,Root as n,Title as d,Trigger as c}from"@radix-ui/react-dialog";import{cn as g}from"../lib/utils.js";import{buttonVariants as m}from"./button/index.js";function p(t){return a(n,{"data-slot":"dialog",...t})}function u(t){return a(c,{"data-slot":"dialog-trigger",...t})}function f({...t}){return a(r,{"data-slot":"dialog-portal",...t})}function y({className:t,size:e,variant:l="outline",...i}){return a(o,{className:m({className:t,size:e,variant:l}),"data-slot":"dialog-close",...i})}function D({className:t,...e}){return a(s,{className:g("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",t),"data-slot":"dialog-overlay",...e})}function N({children:i,className:s,classNames:r,...n}){return t(f,{children:[a(D,{className:r?.overlay}),t(l,{className:g("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg sm:rounded-lg",s,r?.content),"data-slot":"dialog-content-wrapper",...n,children:[i,t(o,{className:m({className:["absolute top-2.5 right-2.5 size-7",r?.close],size:"icon",variant:"ghost"}),children:[a(e,{className:"size-4"}),a("span",{className:"sr-only",children:"Close"})]})]})]})}function x({className:t,...e}){return a("div",{className:g("flex flex-col space-y-1.5 text-center sm:text-left",t),"data-slot":"dialog-header",...e})}function h({className:t,...e}){return a("main",{className:g("py-2",t),"data-slot":"dialog-body",...e})}function b({className:t,...e}){return a("footer",{className:g("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),"data-slot":"dialog-footer",...e})}function v({className:t,...e}){return a(d,{className:g("font-semibold text-lg leading-none tracking-tight",t),"data-slot":"dialog-title",...e})}function z({className:t,...e}){return a(i,{className:g("text-gray-600 text-sm",t),"data-slot":"dialog-description",...e})}p.displayName="Dialog",u.displayName="DialogTrigger",f.displayName="DialogPortal",y.displayName="DialogClose",D.displayName="DialogOverlay",N.displayName="DialogContent",x.displayName="DialogHeader",h.displayName="DialogBody",b.displayName="DialogFooter",v.displayName="DialogTitle",z.displayName="DialogDescription";export{p as Dialog,h as DialogBody,y as DialogClose,N as DialogContent,z as DialogDescription,b as DialogFooter,x as DialogHeader,D as DialogOverlay,f as DialogPortal,v as DialogTitle,u as DialogTrigger};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OTPInput } from 'input-otp';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
declare function InputOTP({ className, containerClassName, pattern, ...props }: ComponentProps<typeof OTPInput>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare namespace InputOTP {
|
|
5
|
-
var displayName: string;
|
|
6
|
-
}
|
|
7
|
-
declare function InputOTPGroup({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare namespace InputOTPGroup {
|
|
9
|
-
var displayName: string;
|
|
10
|
-
}
|
|
11
|
-
declare function InputOTPSlot({ className, index, ...props }: ComponentProps<'div'> & {
|
|
12
|
-
index: number;
|
|
13
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare namespace InputOTPSlot {
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
17
|
-
declare function InputOTPSeparator({ ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
declare namespace InputOTPSeparator {
|
|
19
|
-
var displayName: string;
|
|
20
|
-
}
|
|
21
|
-
export { REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, } from 'input-otp';
|
|
22
|
-
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
23
|
-
//# sourceMappingURL=input-otp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../../src/components/input-otp.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,QAAQ,EAGT,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAA;AAOlD,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,kBAAkB,EAClB,OAAO,EACP,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,QAAQ,CAAC,2CAcjC;kBAnBQ,QAAQ;;;AA0BjB,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CASpE;kBATQ,aAAa;;;AAgBtB,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;CACd,2CAsBA;kBA5BQ,YAAY;;;AAmCrB,iBAAS,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAM7D;kBANQ,iBAAiB;;;AAS1B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{MinusIcon as a}from"@phosphor-icons/react";import{OTPInput as r,OTPInputContext as o,REGEXP_ONLY_CHARS as i,REGEXP_ONLY_DIGITS as n,REGEXP_ONLY_DIGITS_AND_CHARS as s}from"input-otp";import{useContext as p}from"react";import{cn as l}from"../lib/utils.js";function u({className:e,containerClassName:a,pattern:o,...i}){return t(r,{"aria-label":"One-time password",className:l("disabled:cursor-not-allowed",e),containerClassName:l("flex items-center gap-2 has-[:disabled]:opacity-50",a),"data-slot":"input-otp",pattern:o||s,...i})}function d({className:e,...a}){return t("div",{className:l("flex items-center gap-1",e),"data-slot":"input-otp-group",role:"group",...a})}function c({className:a,index:r,...i}){let{isActive:n,char:s,hasFakeCaret:u}=p(o).slots[r];return e("div",{className:l("relative flex h-12 w-11 items-center justify-center rounded border border-stroke border-y text-base shadow-sm transition-all data-[active=true]:z-10 data-[active=true]:ring-1 data-[active=true]:ring-ring",a),"data-active":n,"data-slot":"input-otp-slot",...i,children:[s,u&&t("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:t("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})}function m({...e}){return t("div",{"data-slot":"input-otp-separator",...e,children:t(a,{})})}u.displayName="InputOTP",d.displayName="InputOTPGroup",c.displayName="InputOTPSlot",m.displayName="InputOTPSeparator";export{u as InputOTP,d as InputOTPGroup,m as InputOTPSeparator,c as InputOTPSlot,i as REGEXP_ONLY_CHARS,n as REGEXP_ONLY_DIGITS,s as REGEXP_ONLY_DIGITS_AND_CHARS};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, JSX } from 'react';
|
|
2
|
-
import * as InputPrimitive from '../primitive/input';
|
|
3
|
-
import { VariantProps } from '../lib/utils';
|
|
4
|
-
import { inputVariants } from './input';
|
|
5
|
-
declare function InputPassword({ className, disabled, loaderPosition, loading, prefix, readOnly, spinner, suffix, ...props }: ComponentProps<typeof InputPrimitive.Root> & Omit<ComponentProps<typeof InputPrimitive.Field>, 'prefix' | 'type'> & VariantProps<typeof inputVariants>): JSX.Element;
|
|
6
|
-
declare namespace InputPassword {
|
|
7
|
-
var displayName: string;
|
|
8
|
-
}
|
|
9
|
-
export { InputPassword };
|
|
10
|
-
//# sourceMappingURL=input-password.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-password.d.ts","sourceRoot":"","sources":["../../../src/components/input-password.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,cAAc,EACd,GAAG,EAIJ,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAA;AAGnD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAYvC,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,OAAO,EACP,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAC3C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,GACpE,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG,GAAG,CAAC,OAAO,CA8CjD;kBA1DQ,aAAa;;;AAiEtB,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import{jsx as s,jsxs as a}from"react/jsx-runtime";import{EyeIcon as o,EyeSlashIcon as r}from"@phosphor-icons/react";import{useCallback as i,useState as t}from"react";import{Field as e,Root as p}from"../primitive/input.js";import{Spinner as n}from"./spinner.js";import{Button as d}from"./button/index.js";import{inputVariants as l}from"./input.js";let{input:m,root:u}=l();function c({className:l,disabled:c,loaderPosition:f,loading:w,prefix:x,readOnly:N,spinner:b,suffix:g,...h}){let[j,z]=t("password"),v=i(()=>{z(s=>"password"===s?"text":"password")},[]);return a(p,{className:u({className:[!g&&"pr-1.5",l]}),"data-slot":"input-password",disabled:c,loaderPosition:f,loading:w,prefix:x,readOnly:N,spinner:b||s(n,{}),suffix:g,children:[s(e,{autoCapitalize:"none",className:m(),"data-slot":"input-password-item",type:j,...h}),s(d,{"aria-label":"password"===j?"Show password":"Hide password",className:"full size-8 rounded-full focus-visible:ring-0","data-slot":"input-password-toggle",disabled:c,prefix:"password"===j?s(r,{className:"size-6"}):s(o,{className:"size-6"}),size:"icon",variant:"ghost",onClick:v})]})}c.displayName="InputPassword";export{c as InputPassword};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { VariantProps } from '../lib/utils';
|
|
3
|
-
import * as InputPrimitive from '../primitive/input';
|
|
4
|
-
declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
7
|
-
input?: import("tailwind-variants").ClassValue;
|
|
8
|
-
root?: import("tailwind-variants").ClassValue;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
} | {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
14
|
-
input?: import("tailwind-variants").ClassValue;
|
|
15
|
-
root?: import("tailwind-variants").ClassValue;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
} | {}, {
|
|
19
|
-
root: string;
|
|
20
|
-
input: string;
|
|
21
|
-
}, undefined, {
|
|
22
|
-
[key: string]: {
|
|
23
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
|
-
input?: import("tailwind-variants").ClassValue;
|
|
25
|
-
root?: import("tailwind-variants").ClassValue;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
} | {}, {
|
|
29
|
-
root: string;
|
|
30
|
-
input: string;
|
|
31
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
32
|
-
root: string;
|
|
33
|
-
input: string;
|
|
34
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
35
|
-
declare function Input({ className, disabled, loaderPosition, loading, prefix, readOnly, spinner, suffix, classNames, ...props }: ComponentProps<typeof InputPrimitive.Root> & Omit<ComponentProps<typeof InputPrimitive.Field>, 'prefix' | 'type'> & VariantProps<typeof inputVariants> & {
|
|
36
|
-
type?: string;
|
|
37
|
-
classNames?: {
|
|
38
|
-
wrapper?: string;
|
|
39
|
-
input?: string;
|
|
40
|
-
};
|
|
41
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
declare namespace Input {
|
|
43
|
-
var displayName: string;
|
|
44
|
-
}
|
|
45
|
-
export { Input, inputVariants };
|
|
46
|
-
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAM,YAAY,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAA;AAOnD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAMjB,CAAA;AAQF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,OAAO,EACP,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,UAAU,EACV,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAC3C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,GACpE,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;CACF,2CAoBF;kBAvCQ,KAAK;;;AA0Cd,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import{jsx as e}from"react/jsx-runtime";import{tv as t}from"../lib/utils.js";import{Field as r,Root as o}from"../primitive/input.js";import{Spinner as i}from"./spinner.js";let n=t({slots:{root:"flex h-10 w-full items-center gap-4 rounded-md border border-input bg-background px-4 shadow-xs placeholder:text-muted-foreground focus-within:border-primary focus-within:outline-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50",input:"peer h-full w-full flex-1 overflow-hidden bg-transparent text-sm outline-none placeholder:text-muted-foreground"}}),{input:a,root:l}=n();function s({className:t,disabled:n,loaderPosition:s,loading:d,prefix:u,readOnly:p,spinner:m,suffix:f,classNames:c,...x}){return e(o,{className:l({className:[t,c?.wrapper]}),"data-slot":"input",disabled:n,loaderPosition:s,loading:d,prefix:u,readOnly:p,spinner:m||e(i,{}),suffix:f,children:e(r,{className:a({className:c?.input}),"data-slot":"input-item",...x})})}s.displayName="Input";export{s as Input,n as inputVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/primitive/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,KAAK,EACV,cAAc,EACd,GAAG,EAEH,iBAAiB,EACjB,SAAS,EAEV,MAAM,OAAO,CAAA;AAYd;;GAEG;AACH,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAA;CACrB,CAAA;AAED,QAAA,MAA2B,gBAAgB,+CAAkC,CAAA;AAyB7E;;GAEG;AACH,UAAU,gBAAgB;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB;AAED;;GAEG;AACH,UAAU,kBAAkB;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,KAAK,UAA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