sodtrack-web-ui 0.18.1 → 0.18.2
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/chip-status.d.mts +1 -1
- package/dist/chip-status.d.ts +1 -1
- package/dist/{chunk-GX6CSVNM.mjs → chunk-HLKMPIHV.mjs} +1 -1
- package/dist/{chunk-LVFMWBLB.mjs → chunk-PDQO5NBG.mjs} +1 -1
- package/dist/drawer.mjs +2 -2
- package/dist/icon-button.d.mts +2 -4
- package/dist/icon-button.d.ts +2 -4
- package/dist/icon-button.js +1 -1
- package/dist/icon-button.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
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 | {
|
|
@@ -2,6 +2,6 @@ import { forwardRef } from 'react';
|
|
|
2
2
|
import { cva } from 'cva';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
var
|
|
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
6
|
|
|
7
7
|
export { b as a };
|
package/dist/drawer.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as Drawer, d as DrawerClose, f as DrawerContent, j as DrawerDescription, h as DrawerFooter, g as DrawerHeader, e as DrawerOverlay, c as DrawerPortal, i as DrawerTitle, b as DrawerTrigger } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { a as Drawer, d as DrawerClose, f as DrawerContent, j as DrawerDescription, h as DrawerFooter, g as DrawerHeader, e as DrawerOverlay, c as DrawerPortal, i as DrawerTitle, b as DrawerTrigger } from './chunk-PDQO5NBG.mjs';
|
|
2
|
+
import './chunk-HLKMPIHV.mjs';
|
|
3
3
|
import './chunk-CYCKSEGE.mjs';
|
|
4
4
|
import './chunk-Y4KICDEH.mjs';
|
|
5
5
|
import './chunk-OUPYH4CT.mjs';
|
package/dist/icon-button.d.mts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React__default, { FC } from 'react';
|
|
2
2
|
import { VariantProps } from 'cva';
|
|
3
3
|
|
|
4
|
-
type IconButtonProps =
|
|
5
|
-
children: React__default.ReactElement;
|
|
6
|
-
} & VariantProps<typeof iconButton> & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
4
|
+
type IconButtonProps = VariantProps<typeof iconButton> & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
7
5
|
declare const iconButton: (props?: ({
|
|
8
6
|
variant?: "contained" | "outlined" | "ghost" | "standard" | undefined;
|
|
9
7
|
size?: "small" | "large" | "medium" | undefined;
|
|
@@ -64,4 +62,4 @@ declare const iconButton: (props?: ({
|
|
|
64
62
|
})) | undefined) => string;
|
|
65
63
|
declare const IconButton: FC<IconButtonProps>;
|
|
66
64
|
|
|
67
|
-
export { IconButton };
|
|
65
|
+
export { IconButton, type IconButtonProps };
|
package/dist/icon-button.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React__default, { FC } from 'react';
|
|
2
2
|
import { VariantProps } from 'cva';
|
|
3
3
|
|
|
4
|
-
type IconButtonProps =
|
|
5
|
-
children: React__default.ReactElement;
|
|
6
|
-
} & VariantProps<typeof iconButton> & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
4
|
+
type IconButtonProps = VariantProps<typeof iconButton> & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
7
5
|
declare const iconButton: (props?: ({
|
|
8
6
|
variant?: "contained" | "outlined" | "ghost" | "standard" | undefined;
|
|
9
7
|
size?: "small" | "large" | "medium" | undefined;
|
|
@@ -64,4 +62,4 @@ declare const iconButton: (props?: ({
|
|
|
64
62
|
})) | undefined) => string;
|
|
65
63
|
declare const IconButton: FC<IconButtonProps>;
|
|
66
64
|
|
|
67
|
-
export { IconButton };
|
|
65
|
+
export { IconButton, type IconButtonProps };
|
package/dist/icon-button.js
CHANGED
|
@@ -4,6 +4,6 @@ var react = require('react');
|
|
|
4
4
|
var cva = require('cva');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var p=cva.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=react.forwardRef(({children:r,className:t,variant:e="contained",size:a="medium",...i},n)=>jsxRuntime.jsx("button",{ref:n,...i,className:p({variant:e,size:a,className:t}),children:r}));
|
|
8
8
|
|
|
9
9
|
exports.IconButton = b;
|
package/dist/icon-button.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as IconButton } from './chunk-
|
|
1
|
+
export { a as IconButton } from './chunk-HLKMPIHV.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Button, ButtonProps } from './button.mjs';
|
|
2
2
|
export { Alert } from './alert.mjs';
|
|
3
|
-
export { IconButton } from './icon-button.mjs';
|
|
3
|
+
export { IconButton, IconButtonProps } from './icon-button.mjs';
|
|
4
4
|
export { Tooltip, TooltipProps, TooltipProvider, TooltipSize } from './tooltip.mjs';
|
|
5
5
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './tab.mjs';
|
|
6
6
|
export { TextField, TextFieldProps } from './text-field.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Button, ButtonProps } from './button.js';
|
|
2
2
|
export { Alert } from './alert.js';
|
|
3
|
-
export { IconButton } from './icon-button.js';
|
|
3
|
+
export { IconButton, IconButtonProps } from './icon-button.js';
|
|
4
4
|
export { Tooltip, TooltipProps, TooltipProvider, TooltipSize } from './tooltip.js';
|
|
5
5
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './tab.js';
|
|
6
6
|
export { TextField, TextFieldProps } from './text-field.js';
|
package/dist/index.mjs
CHANGED
|
@@ -7,8 +7,8 @@ export { a as DataTable } from './chunk-EUXKQK3I.mjs';
|
|
|
7
7
|
export { b as Tooltip, a as TooltipProvider } from './chunk-LVNQ7IF6.mjs';
|
|
8
8
|
export { b as Table, d as TableBody, e as TableBodyRow, f as TableBodyRowNoResults, i as TableCell, a as TableContainer, h as TableHead, c as TableHeader, g as TableHeaderRow } from './chunk-CROU5W3C.mjs';
|
|
9
9
|
export { a as Dialog, d as DialogClose, f as DialogContent, j as DialogDescription, h as DialogFooter, g as DialogHeader, e as DialogOverlay, c as DialogPortal, i as DialogTitle, b as DialogTrigger } from './chunk-QVCIRUEG.mjs';
|
|
10
|
-
export { a as Drawer, d as DrawerClose, f as DrawerContent, j as DrawerDescription, h as DrawerFooter, g as DrawerHeader, e as DrawerOverlay, c as DrawerPortal, i as DrawerTitle, b as DrawerTrigger } from './chunk-
|
|
11
|
-
export { a as IconButton } from './chunk-
|
|
10
|
+
export { a as Drawer, d as DrawerClose, f as DrawerContent, j as DrawerDescription, h as DrawerFooter, g as DrawerHeader, e as DrawerOverlay, c as DrawerPortal, i as DrawerTitle, b as DrawerTrigger } from './chunk-PDQO5NBG.mjs';
|
|
11
|
+
export { a as IconButton } from './chunk-HLKMPIHV.mjs';
|
|
12
12
|
export { a as RadioGroup, b as RadioGroupItem } from './chunk-KU6JHLNS.mjs';
|
|
13
13
|
export { a as Rating } from './chunk-JNNDSBUC.mjs';
|
|
14
14
|
export { a as Accordion, e as AccordionContent, b as AccordionItem, d as AccordionTrigger, c as AccordionTriggerEmpty } from './chunk-RCQ6XWV7.mjs';
|