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.
@@ -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?: "error" | "warning" | "success" | "info" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
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 | {
@@ -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?: "error" | "warning" | "success" | "info" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
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 };