sodtrack-web-ui 0.20.3 → 0.20.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/autocomplete.mjs +2 -2
- package/dist/chip-status.d.mts +1 -1
- package/dist/chip-status.d.ts +1 -1
- package/dist/{chunk-4T6CH4KY.mjs → chunk-4K2BNQYV.mjs} +1 -1
- package/dist/{chunk-JUXMXGXD.mjs → chunk-ALWIZUFB.mjs} +1 -1
- package/dist/{chunk-XBZWDG4R.mjs → chunk-XPYNXP2D.mjs} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/select.mjs +2 -2
- package/dist/text-field.d.mts +1 -1
- package/dist/text-field.d.ts +1 -1
- package/dist/text-field.mjs +1 -1
- package/package.json +1 -1
package/dist/autocomplete.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as Autocomplete } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { a as Autocomplete } from './chunk-XPYNXP2D.mjs';
|
|
2
|
+
import './chunk-ALWIZUFB.mjs';
|
|
3
3
|
import './chunk-SGB7P4UX.mjs';
|
|
4
4
|
import './chunk-CYCKSEGE.mjs';
|
|
5
5
|
import './chunk-OUPYH4CT.mjs';
|
package/dist/chip-status.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'cva';
|
|
|
2
2
|
import { FC, HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const chipStatus: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "warning" | "success" | "error" | "info" | undefined;
|
|
6
6
|
size?: "sm" | "md" | "xs" | undefined;
|
|
7
7
|
} & ({
|
|
8
8
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
package/dist/chip-status.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'cva';
|
|
|
2
2
|
import { FC, HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const chipStatus: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "warning" | "success" | "error" | "info" | undefined;
|
|
6
6
|
size?: "sm" | "md" | "xs" | undefined;
|
|
7
7
|
} & ({
|
|
8
8
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
@@ -5,6 +5,6 @@ import { forwardRef } from 'react';
|
|
|
5
5
|
import { Label } from '@radix-ui/react-label';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
|
-
var M=forwardRef(({label:l,placeholder:
|
|
8
|
+
var M=forwardRef(({label:l,placeholder:s,error:t,selectMode:n=!1,helperText:u,className:d,size:o="md",...c},x)=>jsxs("div",{className:a("flex flex-col",d),children:[jsxs("div",{className:a("relative flex flex-col",o==="md"?"h-14":"h-10"),children:[jsx("input",{className:a("peer absolute z-30 h-full w-full rounded-lg bg-neutral-50/0 pl-4 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&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700"),placeholder:s??"",...c,ref:x}),l&&jsx(Label,{className:a("absolute -top-[0.375rem] z-20 ml-3 bg-neutral-50 px-1 text-xs text-neutral-600 transition-all duration-75 ease-linear 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",o==="md"?"peer-placeholder-shown:top-4":"peer-placeholder-shown:top-2",t&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700"),children:l}),n&&jsx("div",{className:a("absolute right-4 flex h-full items-center rounded-full transition-all ease-linear hover:bg-neutral-500 peer-hover:text-primary-500 peer-focus:rotate-180 peer-focus:text-primary-800",t&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700"),children:jsx(g,{className:"h-6 w-6"})})]}),jsx(a$1,{helperText:u,error:t})]}));
|
|
9
9
|
|
|
10
10
|
export { M as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as a$2 } from './chunk-
|
|
1
|
+
import { a as a$2 } from './chunk-ALWIZUFB.mjs';
|
|
2
2
|
import { a } from './chunk-CYCKSEGE.mjs';
|
|
3
3
|
import { a as a$1 } from './chunk-P2GJ4P5W.mjs';
|
|
4
4
|
import _, { forwardRef, useId, useRef, useState, useEffect, useCallback } from 'react';
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { a as Textarea } from './chunk-WCKHXCN2.mjs';
|
|
2
2
|
export { a as Toggle } from './chunk-M3HCSYQD.mjs';
|
|
3
|
-
export { a as Select } from './chunk-
|
|
3
|
+
export { a as Select } from './chunk-4K2BNQYV.mjs';
|
|
4
4
|
export { a as Separator } from './chunk-KOVQK54Y.mjs';
|
|
5
5
|
export { a as Skeleton } from './chunk-H2IIOYU2.mjs';
|
|
6
6
|
export { a as Spinner } from './chunk-LDVCH4XW.mjs';
|
|
@@ -16,8 +16,8 @@ export { a as Rating } from './chunk-JNNDSBUC.mjs';
|
|
|
16
16
|
export { a as Accordion, e as AccordionContent, b as AccordionItem, d as AccordionTrigger, c as AccordionTriggerEmpty } from './chunk-RCQ6XWV7.mjs';
|
|
17
17
|
export { a as AlertDialog, d as AlertDialogCancel, f as AlertDialogContent, j as AlertDialogDescription, h as AlertDialogFooter, g as AlertDialogHeader, e as AlertDialogOverlay, c as AlertDialogPortal, i as AlertDialogTitle, b as AlertDialogTrigger } from './chunk-2N4AODHQ.mjs';
|
|
18
18
|
export { a as Alert } from './chunk-7VJR6WEY.mjs';
|
|
19
|
-
export { a as Autocomplete } from './chunk-
|
|
20
|
-
export { a as TextField } from './chunk-
|
|
19
|
+
export { a as Autocomplete } from './chunk-XPYNXP2D.mjs';
|
|
20
|
+
export { a as TextField } from './chunk-ALWIZUFB.mjs';
|
|
21
21
|
import './chunk-SGB7P4UX.mjs';
|
|
22
22
|
export { a as ScrollArea, b as ScrollBar } from './chunk-CYCKSEGE.mjs';
|
|
23
23
|
export { a as Button } from './chunk-CFZX3TXT.mjs';
|
package/dist/select.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as Select } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { a as Select } from './chunk-4K2BNQYV.mjs';
|
|
2
|
+
import './chunk-ALWIZUFB.mjs';
|
|
3
3
|
import './chunk-SGB7P4UX.mjs';
|
|
4
4
|
import './chunk-CYCKSEGE.mjs';
|
|
5
5
|
import './chunk-OUPYH4CT.mjs';
|
package/dist/text-field.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ type TextFieldProps = {
|
|
|
6
6
|
helperText?: string;
|
|
7
7
|
selectMode?: boolean;
|
|
8
8
|
size?: "sm" | "md";
|
|
9
|
-
} & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
9
|
+
} & DetailedHTMLProps<Omit<InputHTMLAttributes<HTMLInputElement>, "size">, HTMLInputElement>;
|
|
10
10
|
declare const TextField: FC<TextFieldProps>;
|
|
11
11
|
|
|
12
12
|
export { TextField, type TextFieldProps };
|
package/dist/text-field.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type TextFieldProps = {
|
|
|
6
6
|
helperText?: string;
|
|
7
7
|
selectMode?: boolean;
|
|
8
8
|
size?: "sm" | "md";
|
|
9
|
-
} & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
9
|
+
} & DetailedHTMLProps<Omit<InputHTMLAttributes<HTMLInputElement>, "size">, HTMLInputElement>;
|
|
10
10
|
declare const TextField: FC<TextFieldProps>;
|
|
11
11
|
|
|
12
12
|
export { TextField, type TextFieldProps };
|
package/dist/text-field.mjs
CHANGED