sodtrack-web-ui 0.25.0 → 0.25.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-4PHP74JF.mjs +11 -0
- package/dist/index.js +85 -85
- package/dist/index.mjs +1 -2
- package/dist/list-item-arrow.d.mts +1 -0
- package/dist/list-item-arrow.d.ts +1 -0
- package/dist/list-item-arrow.js +23 -5
- package/dist/list-item-arrow.mjs +1 -2
- package/dist/list-item-checkbox.d.mts +1 -0
- package/dist/list-item-checkbox.d.ts +1 -0
- package/dist/list-item-checkbox.js +6 -4
- package/dist/list-item-checkbox.mjs +1 -2
- package/dist/list-item.css +1 -0
- package/dist/list-item.d.mts +1 -0
- package/dist/list-item.d.ts +1 -0
- package/dist/list-item.js +23 -5
- package/dist/list-item.mjs +33 -1
- package/package.json +1 -1
- package/dist/chunk-S744WD2G.mjs +0 -11
- package/dist/chunk-YBPSAQRS.mjs +0 -7
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" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | 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" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | 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 | {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a as a$3 } from './chunk-KOVQK54Y.mjs';
|
|
2
|
+
import { a as a$1 } from './chunk-MCCEKTMF.mjs';
|
|
3
|
+
import { a as a$2 } from './chunk-3HF3CBA3.mjs';
|
|
4
|
+
import { h } from './chunk-ICJLAWEF.mjs';
|
|
5
|
+
import { a } from './chunk-P2GJ4P5W.mjs';
|
|
6
|
+
import C from 'react';
|
|
7
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
var z=({children:l,title:o,description:e="",descriptionLines:t=1,disabled:i=!1,className:a$1,...n})=>jsxs("div",{className:"flex w-full flex-col",...n,children:[jsx("p",{className:a(!!e&&"font-medium"),children:o}),e&&jsx("p",{className:a("text-sm",i?"text-neutral-400":"text-neutral-700"),style:t?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:t}:void 0,children:e})]}),s=z;var W=({children:l,onSelect:o,startIcon:e,disabled:t=!1,title:i,description:a$2="",descriptionLines:n=1,badgeContent:c,hasDivider:p=!1,className:g,...w})=>jsxs(d,{hasDescription:!!a$2,disabled:t,onClick:o,hasDivider:p,className:a(!t&&"cursor-pointer",g),...w,children:[e&&C.cloneElement(e,{className:a(a$2?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(s,{title:i,description:a$2,descriptionLines:n,disabled:t}),jsxs("div",{className:"flex gap-2",children:[c&&jsx(a$1,{content:c,size:"lg",variant:"alert",className:a("self-center",t&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});var $=({children:l,startIcon:o,descriptionLines:e=1,disabled:t=!1,title:i,description:a$1="",checked:n,onCheckedChange:c,hasDivider:p=!1,className:g,...w})=>jsxs(d,{hasDescription:!!a$1,disabled:t,hasDivider:p,...w,className:a("pr-6",g),children:[o&&C.cloneElement(o,{className:a(a$1?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(s,{title:i,description:a$1,descriptionLines:e,disabled:t}),jsx(a$2,{checked:n,onCheckedChange:c,className:"self-center",disabled:t})]});var X=({children:l,hasDescription:o=!1,disabled:e=!1,hasDivider:t=!1,className:i,...a$1})=>jsxs(Fragment,{children:[jsx("div",{className:a("line-height-[120%] flex flex-row gap-4 pl-4 pr-3",o?"py-3":"py-[0.875rem]",e?"text-neutral-400":"hover:bg-primary-100 focus:bg-primary-200",i),...a$1,children:l}),t&&jsx(a$3,{})]}),d=X;var Wt=({children:l,startIcon:o,disabled:e=!1,title:t,description:i="",descriptionLines:a$1=1,hasDivider:n=!1,className:c,...p})=>jsxs(d,{hasDescription:!!i,disabled:e,hasDivider:n,className:c,...p,children:[o&&C.cloneElement(o,{className:a(i?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(s,{title:t,description:i,descriptionLines:a$1,disabled:e})]});
|
|
10
|
+
|
|
11
|
+
export { Wt as a, W as b, $ as c };
|