@stokelp/ui 2.99.0 → 2.100.0
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/components/app/index.d.ts +1 -0
- package/dist/components/app/mobile-card/MobileCardEntityRow.cjs +2 -0
- package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -0
- package/dist/components/app/mobile-card/MobileCardEntityRow.d.ts +6 -0
- package/dist/components/app/mobile-card/MobileCardEntityRow.js +27 -0
- package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -0
- package/dist/components/app/mobile-card/MobileCardHeader.cjs +2 -0
- package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -0
- package/dist/components/app/mobile-card/MobileCardHeader.d.ts +6 -0
- package/dist/components/app/mobile-card/MobileCardHeader.js +22 -0
- package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -0
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +2 -0
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -0
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.d.ts +4 -0
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +16 -0
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -0
- package/dist/components/app/mobile-card/MobileCardShell.cjs +2 -0
- package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -0
- package/dist/components/app/mobile-card/MobileCardShell.d.ts +6 -0
- package/dist/components/app/mobile-card/MobileCardShell.js +21 -0
- package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -0
- package/dist/components/app/mobile-card/MobileCardSkeleton.cjs +2 -0
- package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -0
- package/dist/components/app/mobile-card/MobileCardSkeleton.d.ts +17 -0
- package/dist/components/app/mobile-card/MobileCardSkeleton.js +27 -0
- package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -0
- package/dist/components/app/mobile-card/index.d.ts +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +104 -92
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +2 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +30 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@stokelp/styled-system/jsx"),s=require("../../text/Text.cjs"),o=require("./MobileCardNotificationBadge.cjs");function c({name:i,imageURL:r,unreadNotifications:n}){return e.jsxs(t.HStack,{gap:"space-8",alignItems:"center",justifyContent:"space-between",children:[e.jsxs(t.HStack,{gap:"space-8",alignItems:"center",flex:"1",minW:"0",children:[r&&e.jsx(t.Box,{borderRadius:"full",overflow:"hidden",w:"size-20",h:"size-20",flexShrink:0,children:e.jsx("img",{src:r,alt:i,width:20,height:20,style:{objectFit:"cover",width:"100%",height:"100%"}})}),e.jsx(s.Text,{size:"sm",bold:!0,truncate:!0,children:i})]}),e.jsx(o.MobileCardNotificationBadge,{count:n})]})}exports.MobileCardEntityRow=c;
|
|
2
|
+
//# sourceMappingURL=MobileCardEntityRow.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardEntityRow.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardEntityRow.tsx"],"sourcesContent":["import { HStack, Box } from '@stokelp/styled-system/jsx'\nimport { Text } from '~/components/text/Text'\nimport { MobileCardNotificationBadge } from './MobileCardNotificationBadge'\n\nexport interface MobileCardEntityRowProps {\n name: string\n imageURL?: string\n unreadNotifications?: number\n}\n\nexport function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps) {\n return (\n <HStack gap=\"space-8\" alignItems=\"center\" justifyContent=\"space-between\">\n <HStack gap=\"space-8\" alignItems=\"center\" flex=\"1\" minW=\"0\">\n {imageURL && (\n <Box borderRadius=\"full\" overflow=\"hidden\" w=\"size-20\" h=\"size-20\" flexShrink={0}>\n <img\n src={imageURL}\n alt={name}\n width={20}\n height={20}\n style={{ objectFit: 'cover', width: '100%', height: '100%' }}\n />\n </Box>\n )}\n <Text size=\"sm\" bold truncate>\n {name}\n </Text>\n </HStack>\n <MobileCardNotificationBadge count={unreadNotifications} />\n </HStack>\n )\n}\n"],"names":["MobileCardEntityRow","name","imageURL","unreadNotifications","HStack","jsxs","jsx","Box","Text","MobileCardNotificationBadge"],"mappings":"0PAUO,SAASA,EAAoB,CAAE,KAAAC,EAAM,SAAAC,EAAU,oBAAAC,GAAiD,CACrG,cACGC,SAAA,CAAO,IAAI,UAAU,WAAW,SAAS,eAAe,gBACvD,SAAA,CAAAC,EAAAA,KAACD,EAAAA,OAAA,CAAO,IAAI,UAAU,WAAW,SAAS,KAAK,IAAI,KAAK,IACrD,SAAA,CAAAF,GACCI,EAAAA,IAACC,EAAAA,IAAA,CAAI,aAAa,OAAO,SAAS,SAAS,EAAE,UAAU,EAAE,UAAU,WAAY,EAC7E,SAAAD,EAAAA,IAAC,MAAA,CACC,IAAKJ,EACL,IAAKD,EACL,MAAO,GACP,OAAQ,GACR,MAAO,CAAE,UAAW,QAAS,MAAO,OAAQ,OAAQ,MAAA,CAAO,CAAA,EAE/D,EAEFK,EAAAA,IAACE,EAAAA,MAAK,KAAK,KAAK,KAAI,GAAC,SAAQ,GAC1B,SAAAP,CAAA,CACH,CAAA,EACF,EACAK,EAAAA,IAACG,EAAAA,4BAAA,CAA4B,MAAON,CAAA,CAAqB,CAAA,EAC3D,CAEJ"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface MobileCardEntityRowProps {
|
|
2
|
+
name: string;
|
|
3
|
+
imageURL?: string;
|
|
4
|
+
unreadNotifications?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { HStack as o, Box as c } from "@stokelp/styled-system/jsx";
|
|
4
|
+
import { Text as l } from "../../text/Text.js";
|
|
5
|
+
import { MobileCardNotificationBadge as s } from "./MobileCardNotificationBadge.js";
|
|
6
|
+
function m({ name: t, imageURL: i, unreadNotifications: n }) {
|
|
7
|
+
return /* @__PURE__ */ r(o, { gap: "space-8", alignItems: "center", justifyContent: "space-between", children: [
|
|
8
|
+
/* @__PURE__ */ r(o, { gap: "space-8", alignItems: "center", flex: "1", minW: "0", children: [
|
|
9
|
+
i && /* @__PURE__ */ e(c, { borderRadius: "full", overflow: "hidden", w: "size-20", h: "size-20", flexShrink: 0, children: /* @__PURE__ */ e(
|
|
10
|
+
"img",
|
|
11
|
+
{
|
|
12
|
+
src: i,
|
|
13
|
+
alt: t,
|
|
14
|
+
width: 20,
|
|
15
|
+
height: 20,
|
|
16
|
+
style: { objectFit: "cover", width: "100%", height: "100%" }
|
|
17
|
+
}
|
|
18
|
+
) }),
|
|
19
|
+
/* @__PURE__ */ e(l, { size: "sm", bold: !0, truncate: !0, children: t })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e(s, { count: n })
|
|
22
|
+
] });
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
m as MobileCardEntityRow
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=MobileCardEntityRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardEntityRow.js","sources":["../../../../src/components/app/mobile-card/MobileCardEntityRow.tsx"],"sourcesContent":["import { HStack, Box } from '@stokelp/styled-system/jsx'\nimport { Text } from '~/components/text/Text'\nimport { MobileCardNotificationBadge } from './MobileCardNotificationBadge'\n\nexport interface MobileCardEntityRowProps {\n name: string\n imageURL?: string\n unreadNotifications?: number\n}\n\nexport function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps) {\n return (\n <HStack gap=\"space-8\" alignItems=\"center\" justifyContent=\"space-between\">\n <HStack gap=\"space-8\" alignItems=\"center\" flex=\"1\" minW=\"0\">\n {imageURL && (\n <Box borderRadius=\"full\" overflow=\"hidden\" w=\"size-20\" h=\"size-20\" flexShrink={0}>\n <img\n src={imageURL}\n alt={name}\n width={20}\n height={20}\n style={{ objectFit: 'cover', width: '100%', height: '100%' }}\n />\n </Box>\n )}\n <Text size=\"sm\" bold truncate>\n {name}\n </Text>\n </HStack>\n <MobileCardNotificationBadge count={unreadNotifications} />\n </HStack>\n )\n}\n"],"names":["MobileCardEntityRow","name","imageURL","unreadNotifications","HStack","jsxs","jsx","Box","Text","MobileCardNotificationBadge"],"mappings":";;;;;AAUO,SAASA,EAAoB,EAAE,MAAAC,GAAM,UAAAC,GAAU,qBAAAC,KAAiD;AACrG,2BACGC,GAAA,EAAO,KAAI,WAAU,YAAW,UAAS,gBAAe,iBACvD,UAAA;AAAA,IAAA,gBAAAC,EAACD,GAAA,EAAO,KAAI,WAAU,YAAW,UAAS,MAAK,KAAI,MAAK,KACrD,UAAA;AAAA,MAAAF,KACC,gBAAAI,EAACC,GAAA,EAAI,cAAa,QAAO,UAAS,UAAS,GAAE,WAAU,GAAE,WAAU,YAAY,GAC7E,UAAA,gBAAAD;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,KAAKJ;AAAA,UACL,KAAKD;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,UACR,OAAO,EAAE,WAAW,SAAS,OAAO,QAAQ,QAAQ,OAAA;AAAA,QAAO;AAAA,MAAA,GAE/D;AAAA,MAEF,gBAAAK,EAACE,KAAK,MAAK,MAAK,MAAI,IAAC,UAAQ,IAC1B,UAAAP,EAAA,CACH;AAAA,IAAA,GACF;AAAA,IACA,gBAAAK,EAACG,GAAA,EAA4B,OAAON,EAAA,CAAqB;AAAA,EAAA,GAC3D;AAEJ;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),o=require("@stokelp/styled-system/jsx");function s({children:r,onClick:e}){return t.jsx(o.HStack,{bgColor:"primary.300",px:"space-16",py:"space-12",gap:"space-12",justifyContent:"space-between",cursor:e?"pointer":void 0,onClick:e,children:r})}exports.MobileCardHeader=s;
|
|
2
|
+
//# sourceMappingURL=MobileCardHeader.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardHeader.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardHeader.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { HStack } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardHeaderProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardHeader({ children, onClick }: MobileCardHeaderProps) {\n return (\n <HStack\n bgColor=\"primary.300\"\n px=\"space-16\"\n py=\"space-12\"\n gap=\"space-12\"\n justifyContent=\"space-between\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </HStack>\n )\n}\n"],"names":["MobileCardHeader","children","onClick","jsx","HStack"],"mappings":"0KAQO,SAASA,EAAiB,CAAE,SAAAC,EAAU,QAAAC,GAAkC,CAC7E,OACEC,EAAAA,IAACC,EAAAA,OAAA,CACC,QAAQ,cACR,GAAG,WACH,GAAG,WACH,IAAI,WACJ,eAAe,gBACf,OAAQF,EAAU,UAAY,OAC9B,QAAAA,EAEC,SAAAD,CAAA,CAAA,CAGP"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { HStack as p } from "@stokelp/styled-system/jsx";
|
|
4
|
+
function i({ children: r, onClick: e }) {
|
|
5
|
+
return /* @__PURE__ */ o(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
bgColor: "primary.300",
|
|
9
|
+
px: "space-16",
|
|
10
|
+
py: "space-12",
|
|
11
|
+
gap: "space-12",
|
|
12
|
+
justifyContent: "space-between",
|
|
13
|
+
cursor: e ? "pointer" : void 0,
|
|
14
|
+
onClick: e,
|
|
15
|
+
children: r
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
i as MobileCardHeader
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=MobileCardHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardHeader.js","sources":["../../../../src/components/app/mobile-card/MobileCardHeader.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { HStack } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardHeaderProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardHeader({ children, onClick }: MobileCardHeaderProps) {\n return (\n <HStack\n bgColor=\"primary.300\"\n px=\"space-16\"\n py=\"space-12\"\n gap=\"space-12\"\n justifyContent=\"space-between\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </HStack>\n )\n}\n"],"names":["MobileCardHeader","children","onClick","jsx","HStack"],"mappings":";;;AAQO,SAASA,EAAiB,EAAE,UAAAC,GAAU,SAAAC,KAAkC;AAC7E,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,IAAG;AAAA,MACH,IAAG;AAAA,MACH,KAAI;AAAA,MACJ,gBAAe;AAAA,MACf,QAAQF,IAAU,YAAY;AAAA,MAC9B,SAAAA;AAAA,MAEC,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@stokelp/styled-system/jsx"),r=require("../../chip/Chip.cjs"),n=require("../../icon/Icon.cjs"),o=require("../../../node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs");function s({count:i}){return!i||i<=0?null:e.jsxs(t.HStack,{gap:"space-4",alignItems:"center",flexShrink:0,children:[e.jsx(n.Icon,{size:"sm",color:"grey.400",children:e.jsx(o,{})}),e.jsx(r.Chip,{size:"sm",display:"flex",placeContent:"center",bgColor:"error.500",w:"size-20",h:"size-20",children:e.jsx(r.ChipLabel,{color:"white",children:i})})]})}exports.MobileCardNotificationBadge=s;
|
|
2
|
+
//# sourceMappingURL=MobileCardNotificationBadge.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardNotificationBadge.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardNotificationBadge.tsx"],"sourcesContent":["import { HStack } from '@stokelp/styled-system/jsx'\nimport { Chip, ChipLabel } from '~/components/chip/Chip'\nimport { Icon } from '~/components/icon/Icon'\nimport { ChatBubbleLeftRightIcon } from '@heroicons/react/24/outline'\n\nexport interface MobileCardNotificationBadgeProps {\n count?: number\n}\n\nexport function MobileCardNotificationBadge({ count }: MobileCardNotificationBadgeProps) {\n if (!count || count <= 0) return null\n\n return (\n <HStack gap=\"space-4\" alignItems=\"center\" flexShrink={0}>\n <Icon size=\"sm\" color=\"grey.400\">\n <ChatBubbleLeftRightIcon />\n </Icon>\n <Chip size=\"sm\" display=\"flex\" placeContent=\"center\" bgColor=\"error.500\" w=\"size-20\" h=\"size-20\">\n <ChipLabel color=\"white\">{count}</ChipLabel>\n </Chip>\n </HStack>\n )\n}\n"],"names":["MobileCardNotificationBadge","count","HStack","jsx","Icon","ChatBubbleLeftRightIcon","Chip","ChipLabel"],"mappings":"2UASO,SAASA,EAA4B,CAAE,MAAAC,GAA2C,CACvF,MAAI,CAACA,GAASA,GAAS,EAAU,YAG9BC,SAAA,CAAO,IAAI,UAAU,WAAW,SAAS,WAAY,EACpD,SAAA,CAAAC,EAAAA,IAACC,EAAAA,MAAK,KAAK,KAAK,MAAM,WACpB,SAAAD,EAAAA,IAACE,IAAwB,CAAA,CAC3B,QACCC,EAAAA,KAAA,CAAK,KAAK,KAAK,QAAQ,OAAO,aAAa,SAAS,QAAQ,YAAY,EAAE,UAAU,EAAE,UACrF,SAAAH,MAACI,EAAAA,WAAU,MAAM,QAAS,WAAM,CAAA,CAClC,CAAA,EACF,CAEJ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { HStack as o } from "@stokelp/styled-system/jsx";
|
|
4
|
+
import { Chip as l, ChipLabel as t } from "../../chip/Chip.js";
|
|
5
|
+
import { Icon as n } from "../../icon/Icon.js";
|
|
6
|
+
import c from "../../../node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js";
|
|
7
|
+
function h({ count: e }) {
|
|
8
|
+
return !e || e <= 0 ? null : /* @__PURE__ */ i(o, { gap: "space-4", alignItems: "center", flexShrink: 0, children: [
|
|
9
|
+
/* @__PURE__ */ r(n, { size: "sm", color: "grey.400", children: /* @__PURE__ */ r(c, {}) }),
|
|
10
|
+
/* @__PURE__ */ r(l, { size: "sm", display: "flex", placeContent: "center", bgColor: "error.500", w: "size-20", h: "size-20", children: /* @__PURE__ */ r(t, { color: "white", children: e }) })
|
|
11
|
+
] });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
h as MobileCardNotificationBadge
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=MobileCardNotificationBadge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardNotificationBadge.js","sources":["../../../../src/components/app/mobile-card/MobileCardNotificationBadge.tsx"],"sourcesContent":["import { HStack } from '@stokelp/styled-system/jsx'\nimport { Chip, ChipLabel } from '~/components/chip/Chip'\nimport { Icon } from '~/components/icon/Icon'\nimport { ChatBubbleLeftRightIcon } from '@heroicons/react/24/outline'\n\nexport interface MobileCardNotificationBadgeProps {\n count?: number\n}\n\nexport function MobileCardNotificationBadge({ count }: MobileCardNotificationBadgeProps) {\n if (!count || count <= 0) return null\n\n return (\n <HStack gap=\"space-4\" alignItems=\"center\" flexShrink={0}>\n <Icon size=\"sm\" color=\"grey.400\">\n <ChatBubbleLeftRightIcon />\n </Icon>\n <Chip size=\"sm\" display=\"flex\" placeContent=\"center\" bgColor=\"error.500\" w=\"size-20\" h=\"size-20\">\n <ChipLabel color=\"white\">{count}</ChipLabel>\n </Chip>\n </HStack>\n )\n}\n"],"names":["MobileCardNotificationBadge","count","HStack","jsx","Icon","ChatBubbleLeftRightIcon","Chip","ChipLabel"],"mappings":";;;;;;AASO,SAASA,EAA4B,EAAE,OAAAC,KAA2C;AACvF,SAAI,CAACA,KAASA,KAAS,IAAU,yBAG9BC,GAAA,EAAO,KAAI,WAAU,YAAW,UAAS,YAAY,GACpD,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAK,MAAK,MAAK,OAAM,YACpB,UAAA,gBAAAD,EAACE,KAAwB,EAAA,CAC3B;AAAA,sBACCC,GAAA,EAAK,MAAK,MAAK,SAAQ,QAAO,cAAa,UAAS,SAAQ,aAAY,GAAE,WAAU,GAAE,WACrF,UAAA,gBAAAH,EAACI,KAAU,OAAM,SAAS,aAAM,EAAA,CAClC;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("@stokelp/styled-system/jsx");function t({children:r,onClick:e}){return o.jsx(i.Box,{width:"100%",borderRadius:"radius-16",overflow:"hidden",backgroundColor:"white",cursor:e?"pointer":void 0,onClick:e,children:r})}exports.MobileCardShell=t;
|
|
2
|
+
//# sourceMappingURL=MobileCardShell.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardShell.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardShell.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardShellProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardShell({ children, onClick }: MobileCardShellProps) {\n return (\n <Box\n width=\"100%\"\n borderRadius=\"radius-16\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </Box>\n )\n}\n"],"names":["MobileCardShell","children","onClick","jsx","Box"],"mappings":"0KAQO,SAASA,EAAgB,CAAE,SAAAC,EAAU,QAAAC,GAAiC,CAC3E,OACEC,EAAAA,IAACC,EAAAA,IAAA,CACC,MAAM,OACN,aAAa,YACb,SAAS,SACT,gBAAgB,QAChB,OAAQF,EAAU,UAAY,OAC9B,QAAAA,EAEC,SAAAD,CAAA,CAAA,CAGP"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { Box as i } from "@stokelp/styled-system/jsx";
|
|
4
|
+
function u({ children: o, onClick: r }) {
|
|
5
|
+
return /* @__PURE__ */ e(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
width: "100%",
|
|
9
|
+
borderRadius: "radius-16",
|
|
10
|
+
overflow: "hidden",
|
|
11
|
+
backgroundColor: "white",
|
|
12
|
+
cursor: r ? "pointer" : void 0,
|
|
13
|
+
onClick: r,
|
|
14
|
+
children: o
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
u as MobileCardShell
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=MobileCardShell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardShell.js","sources":["../../../../src/components/app/mobile-card/MobileCardShell.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardShellProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardShell({ children, onClick }: MobileCardShellProps) {\n return (\n <Box\n width=\"100%\"\n borderRadius=\"radius-16\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </Box>\n )\n}\n"],"names":["MobileCardShell","children","onClick","jsx","Box"],"mappings":";;;AAQO,SAASA,EAAgB,EAAE,UAAAC,GAAU,SAAAC,KAAiC;AAC3E,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,cAAa;AAAA,MACb,UAAS;AAAA,MACT,iBAAgB;AAAA,MAChB,QAAQF,IAAU,YAAY;AAAA,MAC9B,SAAAA;AAAA,MAEC,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@stokelp/styled-system/jsx"),t=require("@stokelp/styled-system/css"),a=t.css({background:"linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)",backgroundSize:"200% 100%",animation:"shimmer 1.5s infinite"});function c({width:o,height:s,borderRadius:i="radius-4"}){return e.jsx(r.Box,{width:o,height:s,borderRadius:i,className:a})}function l({headerContent:o,bodyContent:s}){return e.jsxs(r.Box,{width:"100%",borderRadius:"radius-16",overflow:"hidden",border:"1px solid",borderColor:"grey.100",children:[e.jsx(r.HStack,{bgColor:"primary.100",px:"space-16",py:"space-12",gap:"space-8",children:o}),e.jsx(r.VStack,{gap:"space-12",p:"space-16",alignItems:"stretch",children:s})]})}function d({count:o=3,children:s}){return e.jsx(r.VStack,{gap:"space-16",width:"100%",children:Array.from({length:o},(i,n)=>e.jsx(r.Box,{children:s()},n))})}exports.MobileCardSkeleton=l;exports.MobileCardSkeletonList=d;exports.SkeletonBlock=c;
|
|
2
|
+
//# sourceMappingURL=MobileCardSkeleton.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardSkeleton.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardSkeleton.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\nimport { css } from '@stokelp/styled-system/css'\n\nconst skeletonClass = css({\n background: 'linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)',\n backgroundSize: '200% 100%',\n animation: 'shimmer 1.5s infinite',\n})\n\nexport interface SkeletonBlockProps {\n width: string\n height: string\n borderRadius?: string\n}\n\nexport function SkeletonBlock({ width, height, borderRadius = 'radius-4' }: SkeletonBlockProps) {\n return <Box width={width} height={height} borderRadius={borderRadius} className={skeletonClass} />\n}\n\nexport interface MobileCardSkeletonProps {\n headerContent: ReactNode\n bodyContent: ReactNode\n}\n\nexport function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps) {\n return (\n <Box width=\"100%\" borderRadius=\"radius-16\" overflow=\"hidden\" border=\"1px solid\" borderColor=\"grey.100\">\n <HStack bgColor=\"primary.100\" px=\"space-16\" py=\"space-12\" gap=\"space-8\">\n {headerContent}\n </HStack>\n <VStack gap=\"space-12\" p=\"space-16\" alignItems=\"stretch\">\n {bodyContent}\n </VStack>\n </Box>\n )\n}\n\nexport interface MobileCardSkeletonListProps {\n count?: number\n children: () => ReactNode\n}\n\nexport function MobileCardSkeletonList({ count = 3, children }: MobileCardSkeletonListProps) {\n return (\n <VStack gap=\"space-16\" width=\"100%\">\n {Array.from({ length: count }, (_, i) => (\n <Box key={i}>{children()}</Box>\n ))}\n </VStack>\n )\n}\n"],"names":["skeletonClass","css","SkeletonBlock","width","height","borderRadius","Box","MobileCardSkeleton","headerContent","bodyContent","jsxs","jsx","HStack","VStack","MobileCardSkeletonList","count","children","_","i"],"mappings":"kNAIMA,EAAgBC,EAAAA,IAAI,CACxB,WAAY,gEACZ,eAAgB,YAChB,UAAW,uBACb,CAAC,EAQM,SAASC,EAAc,CAAE,MAAAC,EAAO,OAAAC,EAAQ,aAAAC,EAAe,YAAkC,CAC9F,aAAQC,EAAAA,IAAA,CAAI,MAAAH,EAAc,OAAAC,EAAgB,aAAAC,EAA4B,UAAWL,EAAe,CAClG,CAOO,SAASO,EAAmB,CAAE,cAAAC,EAAe,YAAAC,GAAwC,CAC1F,OACEC,EAAAA,KAACJ,EAAAA,IAAA,CAAI,MAAM,OAAO,aAAa,YAAY,SAAS,SAAS,OAAO,YAAY,YAAY,WAC1F,SAAA,CAAAK,EAAAA,IAACC,EAAAA,OAAA,CAAO,QAAQ,cAAc,GAAG,WAAW,GAAG,WAAW,IAAI,UAC3D,SAAAJ,CAAA,CACH,EACAG,EAAAA,IAACE,EAAAA,QAAO,IAAI,WAAW,EAAE,WAAW,WAAW,UAC5C,SAAAJ,CAAA,CACH,CAAA,EACF,CAEJ,CAOO,SAASK,EAAuB,CAAE,MAAAC,EAAQ,EAAG,SAAAC,GAAyC,CAC3F,OACEL,MAACE,EAAAA,QAAO,IAAI,WAAW,MAAM,OAC1B,SAAA,MAAM,KAAK,CAAE,OAAQE,GAAS,CAACE,EAAGC,IACjCP,EAAAA,IAACL,EAAAA,KAAa,SAAAU,EAAA,CAAS,EAAbE,CAAe,CAC1B,CAAA,CACH,CAEJ"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface SkeletonBlockProps {
|
|
3
|
+
width: string;
|
|
4
|
+
height: string;
|
|
5
|
+
borderRadius?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function SkeletonBlock({ width, height, borderRadius }: SkeletonBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export interface MobileCardSkeletonProps {
|
|
9
|
+
headerContent: ReactNode;
|
|
10
|
+
bodyContent: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export interface MobileCardSkeletonListProps {
|
|
14
|
+
count?: number;
|
|
15
|
+
children: () => ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare function MobileCardSkeletonList({ count, children }: MobileCardSkeletonListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { Box as o, HStack as c, VStack as a } from "@stokelp/styled-system/jsx";
|
|
4
|
+
import { css as d } from "@stokelp/styled-system/css";
|
|
5
|
+
const l = d({
|
|
6
|
+
background: "linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)",
|
|
7
|
+
backgroundSize: "200% 100%",
|
|
8
|
+
animation: "shimmer 1.5s infinite"
|
|
9
|
+
});
|
|
10
|
+
function u({ width: e, height: r, borderRadius: n = "radius-4" }) {
|
|
11
|
+
return /* @__PURE__ */ i(o, { width: e, height: r, borderRadius: n, className: l });
|
|
12
|
+
}
|
|
13
|
+
function g({ headerContent: e, bodyContent: r }) {
|
|
14
|
+
return /* @__PURE__ */ s(o, { width: "100%", borderRadius: "radius-16", overflow: "hidden", border: "1px solid", borderColor: "grey.100", children: [
|
|
15
|
+
/* @__PURE__ */ i(c, { bgColor: "primary.100", px: "space-16", py: "space-12", gap: "space-8", children: e }),
|
|
16
|
+
/* @__PURE__ */ i(a, { gap: "space-12", p: "space-16", alignItems: "stretch", children: r })
|
|
17
|
+
] });
|
|
18
|
+
}
|
|
19
|
+
function h({ count: e = 3, children: r }) {
|
|
20
|
+
return /* @__PURE__ */ i(a, { gap: "space-16", width: "100%", children: Array.from({ length: e }, (n, t) => /* @__PURE__ */ i(o, { children: r() }, t)) });
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
g as MobileCardSkeleton,
|
|
24
|
+
h as MobileCardSkeletonList,
|
|
25
|
+
u as SkeletonBlock
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=MobileCardSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileCardSkeleton.js","sources":["../../../../src/components/app/mobile-card/MobileCardSkeleton.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\nimport { css } from '@stokelp/styled-system/css'\n\nconst skeletonClass = css({\n background: 'linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)',\n backgroundSize: '200% 100%',\n animation: 'shimmer 1.5s infinite',\n})\n\nexport interface SkeletonBlockProps {\n width: string\n height: string\n borderRadius?: string\n}\n\nexport function SkeletonBlock({ width, height, borderRadius = 'radius-4' }: SkeletonBlockProps) {\n return <Box width={width} height={height} borderRadius={borderRadius} className={skeletonClass} />\n}\n\nexport interface MobileCardSkeletonProps {\n headerContent: ReactNode\n bodyContent: ReactNode\n}\n\nexport function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps) {\n return (\n <Box width=\"100%\" borderRadius=\"radius-16\" overflow=\"hidden\" border=\"1px solid\" borderColor=\"grey.100\">\n <HStack bgColor=\"primary.100\" px=\"space-16\" py=\"space-12\" gap=\"space-8\">\n {headerContent}\n </HStack>\n <VStack gap=\"space-12\" p=\"space-16\" alignItems=\"stretch\">\n {bodyContent}\n </VStack>\n </Box>\n )\n}\n\nexport interface MobileCardSkeletonListProps {\n count?: number\n children: () => ReactNode\n}\n\nexport function MobileCardSkeletonList({ count = 3, children }: MobileCardSkeletonListProps) {\n return (\n <VStack gap=\"space-16\" width=\"100%\">\n {Array.from({ length: count }, (_, i) => (\n <Box key={i}>{children()}</Box>\n ))}\n </VStack>\n )\n}\n"],"names":["skeletonClass","css","SkeletonBlock","width","height","borderRadius","Box","MobileCardSkeleton","headerContent","bodyContent","jsxs","jsx","HStack","VStack","MobileCardSkeletonList","count","children","_","i"],"mappings":";;;;AAIA,MAAMA,IAAgBC,EAAI;AAAA,EACxB,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,WAAW;AACb,CAAC;AAQM,SAASC,EAAc,EAAE,OAAAC,GAAO,QAAAC,GAAQ,cAAAC,IAAe,cAAkC;AAC9F,2BAAQC,GAAA,EAAI,OAAAH,GAAc,QAAAC,GAAgB,cAAAC,GAA4B,WAAWL,GAAe;AAClG;AAOO,SAASO,EAAmB,EAAE,eAAAC,GAAe,aAAAC,KAAwC;AAC1F,SACE,gBAAAC,EAACJ,GAAA,EAAI,OAAM,QAAO,cAAa,aAAY,UAAS,UAAS,QAAO,aAAY,aAAY,YAC1F,UAAA;AAAA,IAAA,gBAAAK,EAACC,GAAA,EAAO,SAAQ,eAAc,IAAG,YAAW,IAAG,YAAW,KAAI,WAC3D,UAAAJ,EAAA,CACH;AAAA,IACA,gBAAAG,EAACE,KAAO,KAAI,YAAW,GAAE,YAAW,YAAW,WAC5C,UAAAJ,EAAA,CACH;AAAA,EAAA,GACF;AAEJ;AAOO,SAASK,EAAuB,EAAE,OAAAC,IAAQ,GAAG,UAAAC,KAAyC;AAC3F,SACE,gBAAAL,EAACE,KAAO,KAAI,YAAW,OAAM,QAC1B,UAAA,MAAM,KAAK,EAAE,QAAQE,KAAS,CAACE,GAAGC,MACjC,gBAAAP,EAACL,KAAa,UAAAU,EAAA,EAAS,GAAbE,CAAe,CAC1B,EAAA,CACH;AAEJ;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { MobileCardShell } from './MobileCardShell';
|
|
2
|
+
export type { MobileCardShellProps } from './MobileCardShell';
|
|
3
|
+
export { MobileCardHeader } from './MobileCardHeader';
|
|
4
|
+
export type { MobileCardHeaderProps } from './MobileCardHeader';
|
|
5
|
+
export { MobileCardEntityRow } from './MobileCardEntityRow';
|
|
6
|
+
export type { MobileCardEntityRowProps } from './MobileCardEntityRow';
|
|
7
|
+
export { MobileCardNotificationBadge } from './MobileCardNotificationBadge';
|
|
8
|
+
export type { MobileCardNotificationBadgeProps } from './MobileCardNotificationBadge';
|
|
9
|
+
export { MobileCardSkeleton, MobileCardSkeletonList, SkeletonBlock } from './MobileCardSkeleton';
|
|
10
|
+
export type { MobileCardSkeletonProps, MobileCardSkeletonListProps, SkeletonBlockProps } from './MobileCardSkeleton';
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@ark-ui/react"),t=require("react-phone-number-input");;/* empty css */const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@ark-ui/react"),t=require("react-phone-number-input");;/* empty css */const T=require("./preset.cjs"),i=require("./components/accordion/Accordion.cjs"),l=require("./components/action-card/ActionCard.cjs"),m=require("./components/alert/Alert.cjs"),h=require("./components/app/navigation/AppNavigation.cjs"),q=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),P=require("./components/avatar/styled.cjs"),I=require("./components/box/Box.cjs"),s=require("./components/breadcrumb/Breadcrumb.cjs"),A=require("./components/button/Button.cjs"),y=require("./components/button-filter/ButtonFilter.cjs"),S=require("./components/chat/Chat.cjs"),B=require("./components/chat/ChatDocumentMessage.cjs"),D=require("./components/chat/ChatMessage.cjs"),w=require("./components/chat/ChatProfileAvatar.cjs"),x=require("./components/chat/ChatTextInput.cjs"),g=require("./components/checkbox/Checkbox.cjs"),M=require("./components/checkbox-card/namespace.cjs"),c=require("./components/chip/Chip.cjs"),v=require("./components/collapsible/styled.cjs"),f=require("./components/combobox/Combobox.cjs"),N=require("./components/date-picker/DatePicker.cjs"),R=require("./components/dialog/styled.cjs"),e=require("./components/drawer/Drawer.cjs"),C=require("./components/flag/styled.cjs"),L=require("./components/form/FormControl.cjs"),G=require("./components/form/FormHelperText.cjs"),k=require("./components/form/FormLabel.cjs"),F=require("./components/heading/Heading.cjs"),a=require("./components/input/HighlightedInput.cjs"),H=require("./components/icon/Icon.cjs"),j=require("./components/icon-button/IconButton.cjs"),O=require("./components/illustration/Illustration.cjs"),$=require("./components/input/Input.cjs"),E=require("./components/input/InputAddon.cjs"),V=require("./components/input/InputGroup.cjs"),z=require("./components/menu/Menu.cjs"),J=require("./components/app/mobile-card/MobileCardEntityRow.cjs"),K=require("./components/app/mobile-card/MobileCardHeader.cjs"),Q=require("./components/app/mobile-card/MobileCardNotificationBadge.cjs"),U=require("./components/app/mobile-card/MobileCardShell.cjs"),d=require("./components/app/mobile-card/MobileCardSkeleton.cjs"),W=require("./components/app/mobile-navigation/MobileNavigation.cjs"),X=require("./components/pagination/Pagination.cjs"),Y=require("./components/input/PhoneNumberInput.cjs"),o=require("./components/popover/Popover.cjs"),Z=require("./components/app/price-tag/PriceTag.cjs"),_=require("./components/app/product-card-catalog/styled.cjs"),p=require("./components/radio-button-group/RadioButtonGroup.cjs"),ee=require("./components/radio-card-group/namespace.cjs"),b=require("./components/radio-group/RadioGroup.cjs"),re=require("./components/select/Select.cjs"),te=require("./components/select-language/SelectLanguage.cjs"),oe=require("./components/status-tag-select/StatusTagSelect.cjs"),ne=require("./components/switch/Switch.cjs"),ie=require("./components/switch-card/namespace.cjs"),r=require("./components/table/Table.cjs"),u=require("./components/tabs/Tabs.cjs"),ae=require("./components/tag/Tag.cjs"),ue=require("./components/text/Text.cjs"),ce=require("./components/textarea/Textarea.cjs"),le=require("./components/tooltip/Tooltip.cjs");Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:()=>n.createListCollection});Object.defineProperty(exports,"createToaster",{enumerable:!0,get:()=>n.createToaster});Object.defineProperty(exports,"parseColor",{enumerable:!0,get:()=>n.parseColor});Object.defineProperty(exports,"parseDate",{enumerable:!0,get:()=>n.parseDate});Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:()=>n.useAccordion});Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:()=>t.formatPhoneNumber});Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:()=>t.formatPhoneNumberIntl});Object.defineProperty(exports,"getCountries",{enumerable:!0,get:()=>t.getCountries});Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:()=>t.getCountryCallingCode});Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:()=>t.isPossiblePhoneNumber});Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:()=>t.isSupportedCountry});Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:()=>t.isValidPhoneNumber});Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:()=>t.parsePhoneNumber});exports.preset=T.preset;exports.Accordion=i.Accordion;exports.AccordionItem=i.AccordionItem;exports.AccordionItemContent=i.AccordionItemContent;exports.AccordionItemIndicator=i.AccordionItemIndicator;exports.AccordionItemTrigger=i.AccordionItemTrigger;exports.ActionCard=l.ActionCard;exports.ActionCardDescription=l.ActionCardDescription;exports.ActionCardTitle=l.ActionCardTitle;exports.Alert=m.Alert;exports.AppNavigation=h;exports.AppNavigationLanguageSelect=q.AppNavigationLanguageSelect;exports.Avatar=P;exports.Box=I.Box;exports.Breadcrumb=s.Breadcrumb;exports.BreadcrumbItem=s.BreadcrumbItem;exports.BreadcrumbLink=s.BreadcrumbLink;exports.Button=A.Button;exports.ButtonFilter=y.ButtonFilter;exports.Chat=S;exports.ChatDocumentMessage=B.ChatDocumentMessage;exports.ChatMessage=D.ChatMessage;exports.ChatProfileAvatar=w.ChatProfileAvatar;exports.ChatTextInput=x.ChatTextInput;exports.Checkbox=g.Checkbox;exports.CheckboxGroup=g.CheckboxGroup;exports.CheckboxCard=M;exports.Chip=c.Chip;exports.ChipAvatar=c.ChipAvatar;exports.ChipClearTrigger=c.ChipClearTrigger;exports.ChipLabel=c.ChipLabel;exports.Collapsible=v;exports.Combobox=f.Combobox;exports.DatePicker=N.DatePicker;exports.Dialog=R;exports.Drawer=e.Drawer;exports.DrawerBody=e.DrawerBody;exports.DrawerCloseTrigger=e.DrawerCloseTrigger;exports.DrawerContent=e.DrawerContent;exports.DrawerContext=e.DrawerContext;exports.DrawerFooter=e.DrawerFooter;exports.DrawerHeader=e.DrawerHeader;exports.DrawerTitle=e.DrawerTitle;exports.DrawerTrigger=e.DrawerTrigger;exports.Flag=C.Flag;exports.FlagCountryCodes=C.FlagCountryCodes;exports.FormControl=L.FormControl;exports.FormHelperText=G.FormHelperText;exports.FormLabel=k.FormLabel;exports.Heading=F.Heading;exports.Highlight=a.Highlight;exports.HighlightedInput=a.HighlightedInput;exports.InputSlot=a.InputSlot;exports.Renderer=a.Renderer;exports.Root=a.Root;exports.Icon=H.Icon;exports.IconButton=j.IconButton;exports.Illustration=O.Illustration;exports.Input=$.Input;exports.InputAddon=E.InputAddon;exports.InputGroup=V.InputGroup;exports.Menu=z;exports.MobileCardEntityRow=J.MobileCardEntityRow;exports.MobileCardHeader=K.MobileCardHeader;exports.MobileCardNotificationBadge=Q.MobileCardNotificationBadge;exports.MobileCardShell=U.MobileCardShell;exports.MobileCardSkeleton=d.MobileCardSkeleton;exports.MobileCardSkeletonList=d.MobileCardSkeletonList;exports.SkeletonBlock=d.SkeletonBlock;exports.MobileNavigation=W;exports.Pagination=X.Pagination;exports.PhoneNumberInput=Y.PhoneNumberInput;exports.Popover=o.Popover;exports.PopoverAnchor=o.PopoverAnchor;exports.PopoverCloseTrigger=o.PopoverCloseTrigger;exports.PopoverContent=o.PopoverContent;exports.PopoverContext=o.PopoverContext;exports.PopoverTrigger=o.PopoverTrigger;exports.PriceTag=Z.PriceTag;exports.ProductCardCatalog=_;exports.RadioButtonGroup=p.RadioButtonGroup;exports.RadioButtonGroupItem=p.RadioButtonGroupItem;exports.RadioButtonGroupLabel=p.RadioButtonGroupLabel;exports.RadioCardGroup=ee;exports.RadioGroup=b.RadioGroup;exports.RadioGroupItem=b.RadioGroupItem;exports.RadioGroupLabel=b.RadioGroupLabel;exports.Select=re.Select;exports.SelectLanguage=te.SelectLanguage;exports.StatusTagSelect=oe.StatusTagSelect;exports.Switch=ne.Switch;exports.SwitchCard=ie;exports.Table=r.Table;exports.TableContainer=r.TableContainer;exports.TableEmptyRow=r.TableEmptyRow;exports.TableGroupTitle=r.TableGroupTitle;exports.Tbody=r.Tbody;exports.Td=r.Td;exports.Th=r.Th;exports.Thead=r.Thead;exports.Tr=r.Tr;exports.Tabs=u.Tabs;exports.TabsChip=u.TabsChip;exports.TabsContent=u.TabsContent;exports.TabsList=u.TabsList;exports.TabsTrigger=u.TabsTrigger;exports.Tag=ae.Tag;exports.Text=ue.Text;exports.Textarea=ce.Textarea;exports.Tooltip=le.Tooltip;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { createListCollection as
|
|
3
|
-
import { formatPhoneNumber as h, formatPhoneNumberIntl as I, getCountries as P, getCountryCallingCode as A, isPossiblePhoneNumber as D, isSupportedCountry as
|
|
2
|
+
import { createListCollection as C, createToaster as u, parseColor as c, parseDate as g, useAccordion as b } from "@ark-ui/react";
|
|
3
|
+
import { formatPhoneNumber as h, formatPhoneNumberIntl as I, getCountries as P, getCountryCallingCode as A, isPossiblePhoneNumber as D, isSupportedCountry as w, isValidPhoneNumber as B, parsePhoneNumber as S } from "react-phone-number-input";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { preset as
|
|
6
|
-
import { Accordion as
|
|
7
|
-
import { ActionCard as
|
|
5
|
+
import { preset as y } from "./preset.js";
|
|
6
|
+
import { Accordion as G, AccordionItem as L, AccordionItemContent as M, AccordionItemIndicator as N, AccordionItemTrigger as k } from "./components/accordion/Accordion.js";
|
|
7
|
+
import { ActionCard as H, ActionCardDescription as $, ActionCardTitle as E } from "./components/action-card/ActionCard.js";
|
|
8
8
|
import { Alert as j } from "./components/alert/Alert.js";
|
|
9
9
|
import * as r from "./components/app/navigation/AppNavigation.js";
|
|
10
10
|
import { AppNavigationLanguageSelect as z } from "./components/app/navigation/language-select/AppNavigationLanguageSelect.js";
|
|
@@ -20,15 +20,15 @@ import { ChatProfileAvatar as po } from "./components/chat/ChatProfileAvatar.js"
|
|
|
20
20
|
import { ChatTextInput as io } from "./components/chat/ChatTextInput.js";
|
|
21
21
|
import { Checkbox as xo, CheckboxGroup as fo } from "./components/checkbox/Checkbox.js";
|
|
22
22
|
import * as a from "./components/checkbox-card/namespace.js";
|
|
23
|
-
import { Chip as
|
|
23
|
+
import { Chip as so, ChipAvatar as Co, ChipClearTrigger as uo, ChipLabel as co } from "./components/chip/Chip.js";
|
|
24
24
|
import * as p from "./components/collapsible/styled.js";
|
|
25
|
-
import { Combobox as
|
|
25
|
+
import { Combobox as bo } from "./components/combobox/Combobox.js";
|
|
26
26
|
import { DatePicker as ho } from "./components/date-picker/DatePicker.js";
|
|
27
27
|
import * as m from "./components/dialog/styled.js";
|
|
28
|
-
import { Drawer as Po, DrawerBody as Ao, DrawerCloseTrigger as Do, DrawerContent as
|
|
29
|
-
import { Flag as
|
|
28
|
+
import { Drawer as Po, DrawerBody as Ao, DrawerCloseTrigger as Do, DrawerContent as wo, DrawerContext as Bo, DrawerFooter as So, DrawerHeader as vo, DrawerTitle as yo, DrawerTrigger as Ro } from "./components/drawer/Drawer.js";
|
|
29
|
+
import { Flag as Lo, FlagCountryCodes as Mo } from "./components/flag/styled.js";
|
|
30
30
|
import { FormControl as ko } from "./components/form/FormControl.js";
|
|
31
|
-
import { FormHelperText as
|
|
31
|
+
import { FormHelperText as Ho } from "./components/form/FormHelperText.js";
|
|
32
32
|
import { FormLabel as Eo } from "./components/form/FormLabel.js";
|
|
33
33
|
import { Heading as jo } from "./components/heading/Heading.js";
|
|
34
34
|
import { Highlight as zo, HighlightedInput as Jo, InputSlot as Ko, Renderer as Oo, Root as Qo } from "./components/input/HighlightedInput.js";
|
|
@@ -39,34 +39,39 @@ import { Input as rr } from "./components/input/Input.js";
|
|
|
39
39
|
import { InputAddon as tr } from "./components/input/InputAddon.js";
|
|
40
40
|
import { InputGroup as pr } from "./components/input/InputGroup.js";
|
|
41
41
|
import * as i from "./components/menu/Menu.js";
|
|
42
|
+
import { MobileCardEntityRow as ir } from "./components/app/mobile-card/MobileCardEntityRow.js";
|
|
43
|
+
import { MobileCardHeader as xr } from "./components/app/mobile-card/MobileCardHeader.js";
|
|
44
|
+
import { MobileCardNotificationBadge as lr } from "./components/app/mobile-card/MobileCardNotificationBadge.js";
|
|
45
|
+
import { MobileCardShell as dr } from "./components/app/mobile-card/MobileCardShell.js";
|
|
46
|
+
import { MobileCardSkeleton as ur, MobileCardSkeletonList as cr, SkeletonBlock as gr } from "./components/app/mobile-card/MobileCardSkeleton.js";
|
|
42
47
|
import * as n from "./components/app/mobile-navigation/MobileNavigation.js";
|
|
43
|
-
import { Pagination as
|
|
44
|
-
import { PhoneNumberInput as
|
|
45
|
-
import { Popover as
|
|
46
|
-
import { PriceTag as
|
|
48
|
+
import { Pagination as Tr } from "./components/pagination/Pagination.js";
|
|
49
|
+
import { PhoneNumberInput as Ir } from "./components/input/PhoneNumberInput.js";
|
|
50
|
+
import { Popover as Ar, PopoverAnchor as Dr, PopoverCloseTrigger as wr, PopoverContent as Br, PopoverContext as Sr, PopoverTrigger as vr } from "./components/popover/Popover.js";
|
|
51
|
+
import { PriceTag as Rr } from "./components/app/price-tag/PriceTag.js";
|
|
47
52
|
import * as x from "./components/app/product-card-catalog/styled.js";
|
|
48
|
-
import { RadioButtonGroup as
|
|
53
|
+
import { RadioButtonGroup as Lr, RadioButtonGroupItem as Mr, RadioButtonGroupLabel as Nr } from "./components/radio-button-group/RadioButtonGroup.js";
|
|
49
54
|
import * as f from "./components/radio-card-group/namespace.js";
|
|
50
|
-
import { RadioGroup as
|
|
51
|
-
import { Select as
|
|
52
|
-
import { SelectLanguage as
|
|
53
|
-
import { StatusTagSelect as
|
|
54
|
-
import { Switch as
|
|
55
|
-
import * as
|
|
56
|
-
import { Table as
|
|
57
|
-
import { Tabs as
|
|
58
|
-
import { Tag as
|
|
59
|
-
import { Text as
|
|
60
|
-
import { Textarea as
|
|
61
|
-
import { Tooltip as
|
|
55
|
+
import { RadioGroup as Fr, RadioGroupItem as Hr, RadioGroupLabel as $r } from "./components/radio-group/RadioGroup.js";
|
|
56
|
+
import { Select as Vr } from "./components/select/Select.js";
|
|
57
|
+
import { SelectLanguage as qr } from "./components/select-language/SelectLanguage.js";
|
|
58
|
+
import { StatusTagSelect as Jr } from "./components/status-tag-select/StatusTagSelect.js";
|
|
59
|
+
import { Switch as Or } from "./components/switch/Switch.js";
|
|
60
|
+
import * as l from "./components/switch-card/namespace.js";
|
|
61
|
+
import { Table as Ur, TableContainer as Wr, TableEmptyRow as Xr, TableGroupTitle as Yr, Tbody as Zr, Td as _r, Th as oe, Thead as re, Tr as ee } from "./components/table/Table.js";
|
|
62
|
+
import { Tabs as ae, TabsChip as pe, TabsContent as me, TabsList as ie, TabsTrigger as ne } from "./components/tabs/Tabs.js";
|
|
63
|
+
import { Tag as fe } from "./components/tag/Tag.js";
|
|
64
|
+
import { Text as se } from "./components/text/Text.js";
|
|
65
|
+
import { Textarea as Ce } from "./components/textarea/Textarea.js";
|
|
66
|
+
import { Tooltip as ce } from "./components/tooltip/Tooltip.js";
|
|
62
67
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
G as Accordion,
|
|
69
|
+
L as AccordionItem,
|
|
70
|
+
M as AccordionItemContent,
|
|
71
|
+
N as AccordionItemIndicator,
|
|
67
72
|
k as AccordionItemTrigger,
|
|
68
|
-
|
|
69
|
-
|
|
73
|
+
H as ActionCard,
|
|
74
|
+
$ as ActionCardDescription,
|
|
70
75
|
E as ActionCardTitle,
|
|
71
76
|
j as Alert,
|
|
72
77
|
r as AppNavigation,
|
|
@@ -86,27 +91,27 @@ export {
|
|
|
86
91
|
xo as Checkbox,
|
|
87
92
|
a as CheckboxCard,
|
|
88
93
|
fo as CheckboxGroup,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
so as Chip,
|
|
95
|
+
Co as ChipAvatar,
|
|
96
|
+
uo as ChipClearTrigger,
|
|
97
|
+
co as ChipLabel,
|
|
93
98
|
p as Collapsible,
|
|
94
|
-
|
|
99
|
+
bo as Combobox,
|
|
95
100
|
ho as DatePicker,
|
|
96
101
|
m as Dialog,
|
|
97
102
|
Po as Drawer,
|
|
98
103
|
Ao as DrawerBody,
|
|
99
104
|
Do as DrawerCloseTrigger,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
+
wo as DrawerContent,
|
|
106
|
+
Bo as DrawerContext,
|
|
107
|
+
So as DrawerFooter,
|
|
108
|
+
vo as DrawerHeader,
|
|
109
|
+
yo as DrawerTitle,
|
|
105
110
|
Ro as DrawerTrigger,
|
|
106
|
-
|
|
107
|
-
|
|
111
|
+
Lo as Flag,
|
|
112
|
+
Mo as FlagCountryCodes,
|
|
108
113
|
ko as FormControl,
|
|
109
|
-
|
|
114
|
+
Ho as FormHelperText,
|
|
110
115
|
Eo as FormLabel,
|
|
111
116
|
jo as Heading,
|
|
112
117
|
zo as Highlight,
|
|
@@ -119,62 +124,69 @@ export {
|
|
|
119
124
|
pr as InputGroup,
|
|
120
125
|
Ko as InputSlot,
|
|
121
126
|
i as Menu,
|
|
127
|
+
ir as MobileCardEntityRow,
|
|
128
|
+
xr as MobileCardHeader,
|
|
129
|
+
lr as MobileCardNotificationBadge,
|
|
130
|
+
dr as MobileCardShell,
|
|
131
|
+
ur as MobileCardSkeleton,
|
|
132
|
+
cr as MobileCardSkeletonList,
|
|
122
133
|
n as MobileNavigation,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
134
|
+
Tr as Pagination,
|
|
135
|
+
Ir as PhoneNumberInput,
|
|
136
|
+
Ar as Popover,
|
|
137
|
+
Dr as PopoverAnchor,
|
|
138
|
+
wr as PopoverCloseTrigger,
|
|
139
|
+
Br as PopoverContent,
|
|
140
|
+
Sr as PopoverContext,
|
|
141
|
+
vr as PopoverTrigger,
|
|
142
|
+
Rr as PriceTag,
|
|
132
143
|
x as ProductCardCatalog,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
144
|
+
Lr as RadioButtonGroup,
|
|
145
|
+
Mr as RadioButtonGroupItem,
|
|
146
|
+
Nr as RadioButtonGroupLabel,
|
|
136
147
|
f as RadioCardGroup,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
Fr as RadioGroup,
|
|
149
|
+
Hr as RadioGroupItem,
|
|
150
|
+
$r as RadioGroupLabel,
|
|
140
151
|
Oo as Renderer,
|
|
141
152
|
Qo as Root,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
153
|
+
Vr as Select,
|
|
154
|
+
qr as SelectLanguage,
|
|
155
|
+
gr as SkeletonBlock,
|
|
156
|
+
Jr as StatusTagSelect,
|
|
157
|
+
Or as Switch,
|
|
158
|
+
l as SwitchCard,
|
|
159
|
+
Ur as Table,
|
|
160
|
+
Wr as TableContainer,
|
|
161
|
+
Xr as TableEmptyRow,
|
|
162
|
+
Yr as TableGroupTitle,
|
|
163
|
+
ae as Tabs,
|
|
164
|
+
pe as TabsChip,
|
|
165
|
+
me as TabsContent,
|
|
166
|
+
ie as TabsList,
|
|
167
|
+
ne as TabsTrigger,
|
|
168
|
+
fe as Tag,
|
|
169
|
+
Zr as Tbody,
|
|
170
|
+
_r as Td,
|
|
171
|
+
se as Text,
|
|
172
|
+
Ce as Textarea,
|
|
173
|
+
oe as Th,
|
|
174
|
+
re as Thead,
|
|
175
|
+
ce as Tooltip,
|
|
176
|
+
ee as Tr,
|
|
177
|
+
C as createListCollection,
|
|
178
|
+
u as createToaster,
|
|
167
179
|
h as formatPhoneNumber,
|
|
168
180
|
I as formatPhoneNumberIntl,
|
|
169
181
|
P as getCountries,
|
|
170
182
|
A as getCountryCallingCode,
|
|
171
183
|
D as isPossiblePhoneNumber,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
184
|
+
w as isSupportedCountry,
|
|
185
|
+
B as isValidPhoneNumber,
|
|
186
|
+
c as parseColor,
|
|
175
187
|
g as parseDate,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
188
|
+
S as parsePhoneNumber,
|
|
189
|
+
y as preset,
|
|
190
|
+
b as useAccordion
|
|
179
191
|
};
|
|
180
192
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|