@stokelp/ui 2.97.0 → 2.99.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-navigation/MobileNavigation.cjs +2 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.d.ts +17 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.js +19 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -0
- package/dist/components/app/mobile-navigation/index.d.ts +2 -0
- package/dist/components/chat/ChatDocumentMessage.js +1 -1
- package/dist/components/checkbox/Checkbox.js +3 -3
- package/dist/components/checkbox-card/CheckboxCard.js +2 -2
- package/dist/components/drawer/Drawer.js +1 -1
- package/dist/components/pagination/use-pagination.cjs.map +1 -1
- package/dist/components/pagination/use-pagination.js +1 -1
- package/dist/components/pagination/use-pagination.js.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.js +1 -1
- package/dist/components/switch-card/SwitchCard.js +2 -2
- package/dist/components/table/Table.js +3 -3
- package/dist/components/table/TableProvider.js +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +169 -167
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@pandacss/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@pandacss/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@zag-js/utils/dist/index.cjs.map +1 -1
- package/dist/node_modules/@zag-js/utils/dist/index.js.map +1 -1
- package/dist/node_modules/deepmerge/dist/cjs.js +1 -1
- package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -1
- package/dist/node_modules/lodash/lodash.cjs +7 -14
- package/dist/node_modules/lodash/lodash.cjs.map +1 -1
- package/dist/node_modules/lodash/lodash.js +1282 -1273
- package/dist/node_modules/lodash/lodash.js.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.cjs +2 -0
- package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -0
- package/dist/theme/recipes/app/mobile-navigation.d.ts +2 -0
- package/dist/theme/recipes/app/mobile-navigation.js +110 -0
- package/dist/theme/recipes/app/mobile-navigation.js.map +1 -0
- package/dist/theme/recipes/index.cjs +1 -1
- package/dist/theme/recipes/index.cjs.map +1 -1
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/theme/recipes/index.js +60 -58
- package/dist/theme/recipes/index.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +15 -21
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@stokelp/styled-system/jsx"),o=require("@stokelp/styled-system/recipes"),s=require("../../../utils/slots.cjs"),n=require("../../icon/Icon.cjs"),{withProvider:r,withContext:e}=s.createStyleContext(o.mobileNavigation,{dataAttr:!0}),c=r(t.styled("nav"),"root"),i=e(t.styled("a"),"item"),a=e(n.Icon,"itemIcon",{defaultProps:{size:"sm"}}),l=e(t.styled("span"),"itemLabel");exports.Item=i;exports.ItemIcon=a;exports.ItemLabel=l;exports.Root=c;
|
|
2
|
+
//# sourceMappingURL=MobileNavigation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileNavigation.cjs","sources":["../../../../src/components/app/mobile-navigation/MobileNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { mobileNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(mobileNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root')\nexport const Item = withContext(styled('a'), 'item')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemLabel = withContext(styled('span'), 'itemLabel')\n\nexport interface MobileNavigationProps extends ComponentProps<typeof Root> {}\nexport interface MobileNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {}\n"],"names":["withProvider","withContext","createStyleContext","mobileNavigation","Root","styled","Item","ItemIcon","Icon","ItemLabel"],"mappings":"8PAMM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,iBAAkB,CACzE,SAAU,EACZ,CAAC,EAEYC,EAAOJ,EAAaK,SAAO,KAAK,EAAG,MAAM,EACzCC,EAAOL,EAAYI,SAAO,GAAG,EAAG,MAAM,EACtCE,EAAWN,EAAYO,EAAAA,KAAM,WAAY,CACpD,aAAc,CACZ,KAAM,IAAA,CAEV,CAAC,EACYC,EAAYR,EAAYI,SAAO,MAAM,EAAG,WAAW"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentProps, FC } from 'react';
|
|
2
|
+
import { ComponentVariants } from '../../../utils/slots';
|
|
3
|
+
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
|
+
import { MobileNavigationRecipe } from '@stokelp/styled-system/recipes';
|
|
5
|
+
import { IconProps } from '../../icon/Icon';
|
|
6
|
+
export declare const Root: ComponentVariants<StyledComponent<"nav", {}>, MobileNavigationRecipe>;
|
|
7
|
+
export declare const Item: StyledComponent<"a", {}>;
|
|
8
|
+
export declare const ItemIcon: FC<IconProps>;
|
|
9
|
+
export declare const ItemLabel: StyledComponent<"span", {}>;
|
|
10
|
+
export interface MobileNavigationProps extends ComponentProps<typeof Root> {
|
|
11
|
+
}
|
|
12
|
+
export interface MobileNavigationItemProps extends ComponentProps<typeof Item> {
|
|
13
|
+
}
|
|
14
|
+
export interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {
|
|
15
|
+
}
|
|
16
|
+
export interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { styled as t } from "@stokelp/styled-system/jsx";
|
|
3
|
+
import { mobileNavigation as e } from "@stokelp/styled-system/recipes";
|
|
4
|
+
import { createStyleContext as m } from "../../../utils/slots.js";
|
|
5
|
+
import { Icon as r } from "../../icon/Icon.js";
|
|
6
|
+
const { withProvider: i, withContext: o } = m(e, {
|
|
7
|
+
dataAttr: !0
|
|
8
|
+
}), l = i(t("nav"), "root"), p = o(t("a"), "item"), I = o(r, "itemIcon", {
|
|
9
|
+
defaultProps: {
|
|
10
|
+
size: "sm"
|
|
11
|
+
}
|
|
12
|
+
}), f = o(t("span"), "itemLabel");
|
|
13
|
+
export {
|
|
14
|
+
p as Item,
|
|
15
|
+
I as ItemIcon,
|
|
16
|
+
f as ItemLabel,
|
|
17
|
+
l as Root
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=MobileNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileNavigation.js","sources":["../../../../src/components/app/mobile-navigation/MobileNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { mobileNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(mobileNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root')\nexport const Item = withContext(styled('a'), 'item')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemLabel = withContext(styled('span'), 'itemLabel')\n\nexport interface MobileNavigationProps extends ComponentProps<typeof Root> {}\nexport interface MobileNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {}\n"],"names":["withProvider","withContext","createStyleContext","mobileNavigation","Root","styled","Item","ItemIcon","Icon","ItemLabel"],"mappings":";;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,GAAkB;AAAA,EACzE,UAAU;AACZ,CAAC,GAEYC,IAAOJ,EAAaK,EAAO,KAAK,GAAG,MAAM,GACzCC,IAAOL,EAAYI,EAAO,GAAG,GAAG,MAAM,GACtCE,IAAWN,EAAYO,GAAM,YAAY;AAAA,EACpD,cAAc;AAAA,IACZ,MAAM;AAAA,EAAA;AAEV,CAAC,GACYC,IAAYR,EAAYI,EAAO,MAAM,GAAG,WAAW;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { chatDocumentMessage as p } from "@stokelp/styled-system/recipes";
|
|
4
|
-
import {
|
|
4
|
+
import { HStack as i, styled as a } from "@stokelp/styled-system/jsx";
|
|
5
5
|
import l from "../../node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js";
|
|
6
6
|
import { Text as f } from "../text/Text.js";
|
|
7
7
|
import d from "../../node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js";
|
|
@@ -3,11 +3,11 @@ import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
|
3
3
|
import { Checkbox as o } from "@ark-ui/react";
|
|
4
4
|
import { forwardRef as x } from "react";
|
|
5
5
|
import { cx as b, css as u } from "@stokelp/styled-system/css";
|
|
6
|
-
import {
|
|
6
|
+
import { splitCssProps as k, styled as f } from "@stokelp/styled-system/jsx";
|
|
7
7
|
import { checkbox as a, checkboxGroup as C } from "@stokelp/styled-system/recipes";
|
|
8
8
|
import { CheckIcon as P, MinusIcon as N } from "../../shared/assets/icons.js";
|
|
9
9
|
const I = x((n, i) => {
|
|
10
|
-
const [l, p] = a.splitVariantProps(n), [m, h] =
|
|
10
|
+
const [l, p] = a.splitVariantProps(n), [m, h] = k(p), { children: c, className: d, ...e } = h, s = a(l);
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
12
12
|
o.Root,
|
|
13
13
|
{
|
|
@@ -25,7 +25,7 @@ const I = x((n, i) => {
|
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
|
-
}), y =
|
|
28
|
+
}), y = f(o.Group, C);
|
|
29
29
|
I.displayName = "Checkbox";
|
|
30
30
|
y.displayName = "CheckboxGroup";
|
|
31
31
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { ark as k, Checkbox as o } from "@ark-ui/react";
|
|
4
4
|
import { cx as b, css as f } from "@stokelp/styled-system/css";
|
|
5
|
-
import {
|
|
5
|
+
import { styled as r, splitCssProps as u } from "@stokelp/styled-system/jsx";
|
|
6
6
|
import { checkboxCard as c } from "@stokelp/styled-system/recipes";
|
|
7
7
|
import { forwardRef as P } from "react";
|
|
8
8
|
import { createStyleContext as I } from "../../utils/slots.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as p,
|
|
2
|
+
import { jsxs as p, Fragment as C, jsx as o } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog as e, ark as c, useDialogContext as y } from "@ark-ui/react";
|
|
4
4
|
import { useMediaQuery as x } from "usehooks-ts";
|
|
5
5
|
import { styled as r } from "@stokelp/styled-system/jsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pagination.cjs","sources":["../../../src/components/pagination/use-pagination.ts"],"sourcesContent":["// https://github.com/mantinedev/mantine/blob/95115daf60364ba2e5aba5e5d42d69103f90cb1a/packages/%40mantine/hooks/src/use-pagination/use-pagination.ts\n\nimport { useMemo } from 'react'\nimport { useUncontrolled } from '~/shared/hooks/useUncontrolled'\n\nfunction range(start: number, end: number) {\n const length = end - start + 1\n return Array.from({ length }, (_, index) => index + start)\n}\n\nexport const DOTS: unique symbol = Symbol('dots')\n\nexport interface PaginationParams {\n initialPage?: number\n page?: number\n total: number\n siblings?: number\n boundaries?: number\n onChange?: (page: number) => void\n}\n\nexport const usePagination = ({\n total,\n siblings = 1,\n boundaries = 1,\n page,\n initialPage = 1,\n onChange,\n}: PaginationParams) => {\n const _total = Math.max(Math.trunc(total), 0)\n const [activePage, setActivePage] = useUncontrolled({\n value: page,\n onChange,\n defaultValue: initialPage,\n finalValue: initialPage,\n })\n\n const setPage = (pageNumber: number) => {\n if (pageNumber <= 0) {\n setActivePage(1)\n } else if (pageNumber > _total) {\n setActivePage(_total)\n } else {\n setActivePage(pageNumber)\n }\n }\n\n const next = () => setPage(activePage + 1)\n const previous = () => setPage(activePage - 1)\n const first = () => setPage(1)\n const last = () => setPage(_total)\n\n const paginationRange = useMemo((): (number | typeof DOTS)[] => {\n const totalPageNumbers = siblings * 2 + 3 + boundaries * 2\n if (totalPageNumbers >= _total) {\n return range(1, _total)\n }\n\n const leftSiblingIndex = Math.max(activePage - siblings, boundaries)\n const rightSiblingIndex = Math.min(activePage + siblings, _total - boundaries)\n\n const shouldShowLeftDots = leftSiblingIndex > boundaries + 2\n const shouldShowRightDots = rightSiblingIndex < _total - (boundaries + 1)\n\n if (!shouldShowLeftDots && shouldShowRightDots) {\n const leftItemCount = siblings * 2 + boundaries + 2\n return [...range(1, leftItemCount), DOTS, ...range(_total - (boundaries - 1), _total)]\n }\n\n if (shouldShowLeftDots && !shouldShowRightDots) {\n const rightItemCount = boundaries + 1 + 2 * siblings\n return [...range(1, boundaries), DOTS, ...range(_total - rightItemCount, _total)]\n }\n\n return [\n ...range(1, boundaries),\n DOTS,\n ...range(leftSiblingIndex, rightSiblingIndex),\n DOTS,\n ...range(_total - boundaries + 1, _total),\n ]\n }, [_total, siblings, boundaries, activePage])\n\n return {\n range: paginationRange,\n active: activePage,\n setPage,\n next,\n previous,\n first,\n last,\n }\n}\n"],"names":["range","start","end","length","_","index","DOTS","usePagination","total","siblings","boundaries","page","initialPage","onChange","_total","activePage","setActivePage","useUncontrolled","setPage","pageNumber","next","previous","first","last","useMemo","leftSiblingIndex","rightSiblingIndex","shouldShowLeftDots","shouldShowRightDots","leftItemCount","rightItemCount"],"mappings":"0KAKA,SAASA,EAAMC,EAAeC,EAAa,CACzC,MAAMC,EAASD,EAAMD,EAAQ,EAC7B,OAAO,MAAM,KAAK,CAAE,OAAAE,CAAA,EAAU,CAACC,EAAGC,IAAUA,EAAQJ,CAAK,CAC3D,CAEO,MAAMK,
|
|
1
|
+
{"version":3,"file":"use-pagination.cjs","sources":["../../../src/components/pagination/use-pagination.ts"],"sourcesContent":["// https://github.com/mantinedev/mantine/blob/95115daf60364ba2e5aba5e5d42d69103f90cb1a/packages/%40mantine/hooks/src/use-pagination/use-pagination.ts\n\nimport { useMemo } from 'react'\nimport { useUncontrolled } from '~/shared/hooks/useUncontrolled'\n\nfunction range(start: number, end: number) {\n const length = end - start + 1\n return Array.from({ length }, (_, index) => index + start)\n}\n\nexport const DOTS: unique symbol = Symbol('dots')\n\nexport interface PaginationParams {\n initialPage?: number\n page?: number\n total: number\n siblings?: number\n boundaries?: number\n onChange?: (page: number) => void\n}\n\nexport const usePagination = ({\n total,\n siblings = 1,\n boundaries = 1,\n page,\n initialPage = 1,\n onChange,\n}: PaginationParams) => {\n const _total = Math.max(Math.trunc(total), 0)\n const [activePage, setActivePage] = useUncontrolled({\n value: page,\n onChange,\n defaultValue: initialPage,\n finalValue: initialPage,\n })\n\n const setPage = (pageNumber: number) => {\n if (pageNumber <= 0) {\n setActivePage(1)\n } else if (pageNumber > _total) {\n setActivePage(_total)\n } else {\n setActivePage(pageNumber)\n }\n }\n\n const next = () => setPage(activePage + 1)\n const previous = () => setPage(activePage - 1)\n const first = () => setPage(1)\n const last = () => setPage(_total)\n\n const paginationRange = useMemo((): (number | typeof DOTS)[] => {\n const totalPageNumbers = siblings * 2 + 3 + boundaries * 2\n if (totalPageNumbers >= _total) {\n return range(1, _total)\n }\n\n const leftSiblingIndex = Math.max(activePage - siblings, boundaries)\n const rightSiblingIndex = Math.min(activePage + siblings, _total - boundaries)\n\n const shouldShowLeftDots = leftSiblingIndex > boundaries + 2\n const shouldShowRightDots = rightSiblingIndex < _total - (boundaries + 1)\n\n if (!shouldShowLeftDots && shouldShowRightDots) {\n const leftItemCount = siblings * 2 + boundaries + 2\n return [...range(1, leftItemCount), DOTS, ...range(_total - (boundaries - 1), _total)]\n }\n\n if (shouldShowLeftDots && !shouldShowRightDots) {\n const rightItemCount = boundaries + 1 + 2 * siblings\n return [...range(1, boundaries), DOTS, ...range(_total - rightItemCount, _total)]\n }\n\n return [\n ...range(1, boundaries),\n DOTS,\n ...range(leftSiblingIndex, rightSiblingIndex),\n DOTS,\n ...range(_total - boundaries + 1, _total),\n ]\n }, [_total, siblings, boundaries, activePage])\n\n return {\n range: paginationRange,\n active: activePage,\n setPage,\n next,\n previous,\n first,\n last,\n }\n}\n"],"names":["range","start","end","length","_","index","DOTS","usePagination","total","siblings","boundaries","page","initialPage","onChange","_total","activePage","setActivePage","useUncontrolled","setPage","pageNumber","next","previous","first","last","useMemo","leftSiblingIndex","rightSiblingIndex","shouldShowLeftDots","shouldShowRightDots","leftItemCount","rightItemCount"],"mappings":"0KAKA,SAASA,EAAMC,EAAeC,EAAa,CACzC,MAAMC,EAASD,EAAMD,EAAQ,EAC7B,OAAO,MAAM,KAAK,CAAE,OAAAE,CAAA,EAAU,CAACC,EAAGC,IAAUA,EAAQJ,CAAK,CAC3D,CAEO,MAAMK,SAA6B,MAAM,EAWnCC,EAAgB,CAAC,CAC5B,MAAAC,EACA,SAAAC,EAAW,EACX,WAAAC,EAAa,EACb,KAAAC,EACA,YAAAC,EAAc,EACd,SAAAC,CACF,IAAwB,CACtB,MAAMC,EAAS,KAAK,IAAI,KAAK,MAAMN,CAAK,EAAG,CAAC,EACtC,CAACO,EAAYC,CAAa,EAAIC,kBAAgB,CAClD,MAAON,EACP,SAAAE,EACA,aAAcD,EACd,WAAYA,CAAA,CACb,EAEKM,EAAWC,GAAuB,CAClCA,GAAc,EAChBH,EAAc,CAAC,EACNG,EAAaL,EACtBE,EAAcF,CAAM,EAEpBE,EAAcG,CAAU,CAE5B,EAEMC,EAAO,IAAMF,EAAQH,EAAa,CAAC,EACnCM,EAAW,IAAMH,EAAQH,EAAa,CAAC,EACvCO,EAAQ,IAAMJ,EAAQ,CAAC,EACvBK,EAAO,IAAML,EAAQJ,CAAM,EAiCjC,MAAO,CACL,MAhCsBU,EAAAA,QAAQ,IAAgC,CAE9D,GADyBf,EAAW,EAAI,EAAIC,EAAa,GACjCI,EACtB,OAAOd,EAAM,EAAGc,CAAM,EAGxB,MAAMW,EAAmB,KAAK,IAAIV,EAAaN,EAAUC,CAAU,EAC7DgB,EAAoB,KAAK,IAAIX,EAAaN,EAAUK,EAASJ,CAAU,EAEvEiB,EAAqBF,EAAmBf,EAAa,EACrDkB,EAAsBF,EAAoBZ,GAAUJ,EAAa,GAEvE,GAAI,CAACiB,GAAsBC,EAAqB,CAC9C,MAAMC,EAAgBpB,EAAW,EAAIC,EAAa,EAClD,MAAO,CAAC,GAAGV,EAAM,EAAG6B,CAAa,EAAGvB,EAAM,GAAGN,EAAMc,GAAUJ,EAAa,GAAII,CAAM,CAAC,CACvF,CAEA,GAAIa,GAAsB,CAACC,EAAqB,CAC9C,MAAME,EAAiBpB,EAAa,EAAI,EAAID,EAC5C,MAAO,CAAC,GAAGT,EAAM,EAAGU,CAAU,EAAGJ,EAAM,GAAGN,EAAMc,EAASgB,EAAgBhB,CAAM,CAAC,CAClF,CAEA,MAAO,CACL,GAAGd,EAAM,EAAGU,CAAU,EACtBJ,EACA,GAAGN,EAAMyB,EAAkBC,CAAiB,EAC5CpB,EACA,GAAGN,EAAMc,EAASJ,EAAa,EAAGI,CAAM,CAAA,CAE5C,EAAG,CAACA,EAAQL,EAAUC,EAAYK,CAAU,CAAC,EAI3C,OAAQA,EACR,QAAAG,EACA,KAAAE,EACA,SAAAC,EACA,MAAAC,EACA,KAAAC,CAAA,CAEJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pagination.js","sources":["../../../src/components/pagination/use-pagination.ts"],"sourcesContent":["// https://github.com/mantinedev/mantine/blob/95115daf60364ba2e5aba5e5d42d69103f90cb1a/packages/%40mantine/hooks/src/use-pagination/use-pagination.ts\n\nimport { useMemo } from 'react'\nimport { useUncontrolled } from '~/shared/hooks/useUncontrolled'\n\nfunction range(start: number, end: number) {\n const length = end - start + 1\n return Array.from({ length }, (_, index) => index + start)\n}\n\nexport const DOTS: unique symbol = Symbol('dots')\n\nexport interface PaginationParams {\n initialPage?: number\n page?: number\n total: number\n siblings?: number\n boundaries?: number\n onChange?: (page: number) => void\n}\n\nexport const usePagination = ({\n total,\n siblings = 1,\n boundaries = 1,\n page,\n initialPage = 1,\n onChange,\n}: PaginationParams) => {\n const _total = Math.max(Math.trunc(total), 0)\n const [activePage, setActivePage] = useUncontrolled({\n value: page,\n onChange,\n defaultValue: initialPage,\n finalValue: initialPage,\n })\n\n const setPage = (pageNumber: number) => {\n if (pageNumber <= 0) {\n setActivePage(1)\n } else if (pageNumber > _total) {\n setActivePage(_total)\n } else {\n setActivePage(pageNumber)\n }\n }\n\n const next = () => setPage(activePage + 1)\n const previous = () => setPage(activePage - 1)\n const first = () => setPage(1)\n const last = () => setPage(_total)\n\n const paginationRange = useMemo((): (number | typeof DOTS)[] => {\n const totalPageNumbers = siblings * 2 + 3 + boundaries * 2\n if (totalPageNumbers >= _total) {\n return range(1, _total)\n }\n\n const leftSiblingIndex = Math.max(activePage - siblings, boundaries)\n const rightSiblingIndex = Math.min(activePage + siblings, _total - boundaries)\n\n const shouldShowLeftDots = leftSiblingIndex > boundaries + 2\n const shouldShowRightDots = rightSiblingIndex < _total - (boundaries + 1)\n\n if (!shouldShowLeftDots && shouldShowRightDots) {\n const leftItemCount = siblings * 2 + boundaries + 2\n return [...range(1, leftItemCount), DOTS, ...range(_total - (boundaries - 1), _total)]\n }\n\n if (shouldShowLeftDots && !shouldShowRightDots) {\n const rightItemCount = boundaries + 1 + 2 * siblings\n return [...range(1, boundaries), DOTS, ...range(_total - rightItemCount, _total)]\n }\n\n return [\n ...range(1, boundaries),\n DOTS,\n ...range(leftSiblingIndex, rightSiblingIndex),\n DOTS,\n ...range(_total - boundaries + 1, _total),\n ]\n }, [_total, siblings, boundaries, activePage])\n\n return {\n range: paginationRange,\n active: activePage,\n setPage,\n next,\n previous,\n first,\n last,\n }\n}\n"],"names":["range","start","end","length","_","index","DOTS","usePagination","total","siblings","boundaries","page","initialPage","onChange","_total","activePage","setActivePage","useUncontrolled","setPage","pageNumber","next","previous","first","last","useMemo","leftSiblingIndex","rightSiblingIndex","shouldShowLeftDots","shouldShowRightDots","leftItemCount","rightItemCount"],"mappings":";;;AAKA,SAASA,EAAMC,GAAeC,GAAa;AACzC,QAAMC,IAASD,IAAMD,IAAQ;AAC7B,SAAO,MAAM,KAAK,EAAE,QAAAE,EAAA,GAAU,CAACC,GAAGC,MAAUA,IAAQJ,CAAK;AAC3D;AAEO,MAAMK,
|
|
1
|
+
{"version":3,"file":"use-pagination.js","sources":["../../../src/components/pagination/use-pagination.ts"],"sourcesContent":["// https://github.com/mantinedev/mantine/blob/95115daf60364ba2e5aba5e5d42d69103f90cb1a/packages/%40mantine/hooks/src/use-pagination/use-pagination.ts\n\nimport { useMemo } from 'react'\nimport { useUncontrolled } from '~/shared/hooks/useUncontrolled'\n\nfunction range(start: number, end: number) {\n const length = end - start + 1\n return Array.from({ length }, (_, index) => index + start)\n}\n\nexport const DOTS: unique symbol = Symbol('dots')\n\nexport interface PaginationParams {\n initialPage?: number\n page?: number\n total: number\n siblings?: number\n boundaries?: number\n onChange?: (page: number) => void\n}\n\nexport const usePagination = ({\n total,\n siblings = 1,\n boundaries = 1,\n page,\n initialPage = 1,\n onChange,\n}: PaginationParams) => {\n const _total = Math.max(Math.trunc(total), 0)\n const [activePage, setActivePage] = useUncontrolled({\n value: page,\n onChange,\n defaultValue: initialPage,\n finalValue: initialPage,\n })\n\n const setPage = (pageNumber: number) => {\n if (pageNumber <= 0) {\n setActivePage(1)\n } else if (pageNumber > _total) {\n setActivePage(_total)\n } else {\n setActivePage(pageNumber)\n }\n }\n\n const next = () => setPage(activePage + 1)\n const previous = () => setPage(activePage - 1)\n const first = () => setPage(1)\n const last = () => setPage(_total)\n\n const paginationRange = useMemo((): (number | typeof DOTS)[] => {\n const totalPageNumbers = siblings * 2 + 3 + boundaries * 2\n if (totalPageNumbers >= _total) {\n return range(1, _total)\n }\n\n const leftSiblingIndex = Math.max(activePage - siblings, boundaries)\n const rightSiblingIndex = Math.min(activePage + siblings, _total - boundaries)\n\n const shouldShowLeftDots = leftSiblingIndex > boundaries + 2\n const shouldShowRightDots = rightSiblingIndex < _total - (boundaries + 1)\n\n if (!shouldShowLeftDots && shouldShowRightDots) {\n const leftItemCount = siblings * 2 + boundaries + 2\n return [...range(1, leftItemCount), DOTS, ...range(_total - (boundaries - 1), _total)]\n }\n\n if (shouldShowLeftDots && !shouldShowRightDots) {\n const rightItemCount = boundaries + 1 + 2 * siblings\n return [...range(1, boundaries), DOTS, ...range(_total - rightItemCount, _total)]\n }\n\n return [\n ...range(1, boundaries),\n DOTS,\n ...range(leftSiblingIndex, rightSiblingIndex),\n DOTS,\n ...range(_total - boundaries + 1, _total),\n ]\n }, [_total, siblings, boundaries, activePage])\n\n return {\n range: paginationRange,\n active: activePage,\n setPage,\n next,\n previous,\n first,\n last,\n }\n}\n"],"names":["range","start","end","length","_","index","DOTS","usePagination","total","siblings","boundaries","page","initialPage","onChange","_total","activePage","setActivePage","useUncontrolled","setPage","pageNumber","next","previous","first","last","useMemo","leftSiblingIndex","rightSiblingIndex","shouldShowLeftDots","shouldShowRightDots","leftItemCount","rightItemCount"],"mappings":";;;AAKA,SAASA,EAAMC,GAAeC,GAAa;AACzC,QAAMC,IAASD,IAAMD,IAAQ;AAC7B,SAAO,MAAM,KAAK,EAAE,QAAAE,EAAA,GAAU,CAACC,GAAGC,MAAUA,IAAQJ,CAAK;AAC3D;AAEO,MAAMK,2BAA6B,MAAM,GAWnCC,IAAgB,CAAC;AAAA,EAC5B,OAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AAAA,EACb,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC;AACF,MAAwB;AACtB,QAAMC,IAAS,KAAK,IAAI,KAAK,MAAMN,CAAK,GAAG,CAAC,GACtC,CAACO,GAAYC,CAAa,IAAIC,EAAgB;AAAA,IAClD,OAAON;AAAA,IACP,UAAAE;AAAA,IACA,cAAcD;AAAA,IACd,YAAYA;AAAA,EAAA,CACb,GAEKM,IAAU,CAACC,MAAuB;AACtC,IAAIA,KAAc,IAChBH,EAAc,CAAC,IACNG,IAAaL,IACtBE,EAAcF,CAAM,IAEpBE,EAAcG,CAAU;AAAA,EAE5B,GAEMC,IAAO,MAAMF,EAAQH,IAAa,CAAC,GACnCM,IAAW,MAAMH,EAAQH,IAAa,CAAC,GACvCO,IAAQ,MAAMJ,EAAQ,CAAC,GACvBK,IAAO,MAAML,EAAQJ,CAAM;AAiCjC,SAAO;AAAA,IACL,OAhCsBU,EAAQ,MAAgC;AAE9D,UADyBf,IAAW,IAAI,IAAIC,IAAa,KACjCI;AACtB,eAAOd,EAAM,GAAGc,CAAM;AAGxB,YAAMW,IAAmB,KAAK,IAAIV,IAAaN,GAAUC,CAAU,GAC7DgB,IAAoB,KAAK,IAAIX,IAAaN,GAAUK,IAASJ,CAAU,GAEvEiB,IAAqBF,IAAmBf,IAAa,GACrDkB,IAAsBF,IAAoBZ,KAAUJ,IAAa;AAEvE,UAAI,CAACiB,KAAsBC,GAAqB;AAC9C,cAAMC,IAAgBpB,IAAW,IAAIC,IAAa;AAClD,eAAO,CAAC,GAAGV,EAAM,GAAG6B,CAAa,GAAGvB,GAAM,GAAGN,EAAMc,KAAUJ,IAAa,IAAII,CAAM,CAAC;AAAA,MACvF;AAEA,UAAIa,KAAsB,CAACC,GAAqB;AAC9C,cAAME,IAAiBpB,IAAa,IAAI,IAAID;AAC5C,eAAO,CAAC,GAAGT,EAAM,GAAGU,CAAU,GAAGJ,GAAM,GAAGN,EAAMc,IAASgB,GAAgBhB,CAAM,CAAC;AAAA,MAClF;AAEA,aAAO;AAAA,QACL,GAAGd,EAAM,GAAGU,CAAU;AAAA,QACtBJ;AAAA,QACA,GAAGN,EAAMyB,GAAkBC,CAAiB;AAAA,QAC5CpB;AAAA,QACA,GAAGN,EAAMc,IAASJ,IAAa,GAAGI,CAAM;AAAA,MAAA;AAAA,IAE5C,GAAG,CAACA,GAAQL,GAAUC,GAAYK,CAAU,CAAC;AAAA,IAI3C,QAAQA;AAAA,IACR,SAAAG;AAAA,IACA,MAAAE;AAAA,IACA,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC;AAAA,EAAA;AAEJ;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { ark as p, RadioGroup as r } from "@ark-ui/react";
|
|
4
4
|
import { radioCardGroup as s } from "@stokelp/styled-system/recipes";
|
|
5
5
|
import { createStyleContext as C } from "../../utils/slots.js";
|
|
6
6
|
import { forwardRef as c } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as C, jsx as i } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { ark as f, Switch as t } from "@ark-ui/react";
|
|
4
4
|
import { cx as S, css as P } from "@stokelp/styled-system/css";
|
|
5
|
-
import {
|
|
5
|
+
import { styled as o, splitCssProps as u } from "@stokelp/styled-system/jsx";
|
|
6
6
|
import { switchCard as c } from "@stokelp/styled-system/recipes";
|
|
7
7
|
import { forwardRef as x } from "react";
|
|
8
8
|
import { createStyleContext as N } from "../../utils/slots.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as p, useRef as T, useLayoutEffect as m } from "react";
|
|
4
4
|
import { styled as r } from "@stokelp/styled-system/jsx";
|
|
5
|
-
import { tableContainer as w,
|
|
5
|
+
import { tableContainer as w, tableEmptyRow as y, tableGroupTitle as R, table as v } from "@stokelp/styled-system/recipes";
|
|
6
6
|
import { createStyleContext as S } from "../../utils/slots.js";
|
|
7
7
|
import { TableProvider as C, useTable as _ } from "./TableProvider.js";
|
|
8
8
|
const { withProvider: g, withContext: i } = S(v), U = r("div", w), x = g(r("table"), "root"), E = p(
|
|
@@ -79,7 +79,7 @@ const j = i(r("thead"), "thead"), h = i(r("div"), "sortIndicatorRoot"), s = i(r(
|
|
|
79
79
|
}
|
|
80
80
|
);
|
|
81
81
|
O.displayName = "Th";
|
|
82
|
-
const z = i(r("td"), "td"), P = r("td",
|
|
82
|
+
const z = i(r("td"), "td"), P = r("td", R), k = p((n, o) => {
|
|
83
83
|
const t = T(null);
|
|
84
84
|
return m(() => {
|
|
85
85
|
if (t.current) {
|
|
@@ -89,7 +89,7 @@ const z = i(r("td"), "td"), P = r("td", y), k = p((n, o) => {
|
|
|
89
89
|
}, []), /* @__PURE__ */ e("tr", { ref: o, className: "table_tr__group__title", children: /* @__PURE__ */ e(P, { ref: t, ...n }) });
|
|
90
90
|
});
|
|
91
91
|
k.displayName = "TableGroupTitle";
|
|
92
|
-
const D = r("td",
|
|
92
|
+
const D = r("td", y), I = p((n, o) => {
|
|
93
93
|
const t = T(null);
|
|
94
94
|
return m(() => {
|
|
95
95
|
if (t.current) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as u } from "react/jsx-runtime";
|
|
3
|
-
import { useReducer as i, useEffect as l,
|
|
3
|
+
import { useReducer as i, useEffect as l, useContext as a, createContext as p } from "react";
|
|
4
4
|
const d = (e, r) => {
|
|
5
5
|
switch (r.type) {
|
|
6
6
|
case "CLEAR_SORT_DESCRIPTOR":
|
|
@@ -16,8 +16,8 @@ const d = (e, r) => {
|
|
|
16
16
|
default:
|
|
17
17
|
return e;
|
|
18
18
|
}
|
|
19
|
-
}, o =
|
|
20
|
-
const e =
|
|
19
|
+
}, o = p(void 0), D = () => {
|
|
20
|
+
const e = a(o);
|
|
21
21
|
if (!e)
|
|
22
22
|
throw new Error("useTable must be used within a <TableProvider/>");
|
|
23
23
|
return e;
|
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 C=require("./preset.cjs"),a=require("./components/accordion/Accordion.cjs"),
|
|
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 C=require("./preset.cjs"),a=require("./components/accordion/Accordion.cjs"),s=require("./components/action-card/ActionCard.cjs"),T=require("./components/alert/Alert.cjs"),m=require("./components/app/navigation/AppNavigation.cjs"),h=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),q=require("./components/avatar/styled.cjs"),P=require("./components/box/Box.cjs"),l=require("./components/breadcrumb/Breadcrumb.cjs"),I=require("./components/button/Button.cjs"),A=require("./components/button-filter/ButtonFilter.cjs"),y=require("./components/chat/Chat.cjs"),D=require("./components/chat/ChatDocumentMessage.cjs"),x=require("./components/chat/ChatMessage.cjs"),B=require("./components/chat/ChatProfileAvatar.cjs"),v=require("./components/chat/ChatTextInput.cjs"),d=require("./components/checkbox/Checkbox.cjs"),w=require("./components/checkbox-card/namespace.cjs"),c=require("./components/chip/Chip.cjs"),S=require("./components/collapsible/styled.cjs"),G=require("./components/combobox/Combobox.cjs"),f=require("./components/date-picker/DatePicker.cjs"),L=require("./components/dialog/styled.cjs"),e=require("./components/drawer/Drawer.cjs"),b=require("./components/flag/styled.cjs"),N=require("./components/form/FormControl.cjs"),R=require("./components/form/FormHelperText.cjs"),F=require("./components/form/FormLabel.cjs"),j=require("./components/heading/Heading.cjs"),i=require("./components/input/HighlightedInput.cjs"),O=require("./components/icon/Icon.cjs"),H=require("./components/icon-button/IconButton.cjs"),k=require("./components/illustration/Illustration.cjs"),M=require("./components/input/Input.cjs"),$=require("./components/input/InputAddon.cjs"),E=require("./components/input/InputGroup.cjs"),V=require("./components/menu/Menu.cjs"),z=require("./components/app/mobile-navigation/MobileNavigation.cjs"),J=require("./components/pagination/Pagination.cjs"),K=require("./components/input/PhoneNumberInput.cjs"),o=require("./components/popover/Popover.cjs"),Q=require("./components/app/price-tag/PriceTag.cjs"),U=require("./components/app/product-card-catalog/styled.cjs"),p=require("./components/radio-button-group/RadioButtonGroup.cjs"),W=require("./components/radio-card-group/namespace.cjs"),g=require("./components/radio-group/RadioGroup.cjs"),X=require("./components/select/Select.cjs"),Y=require("./components/select-language/SelectLanguage.cjs"),Z=require("./components/status-tag-select/StatusTagSelect.cjs"),_=require("./components/switch/Switch.cjs"),ee=require("./components/switch-card/namespace.cjs"),r=require("./components/table/Table.cjs"),u=require("./components/tabs/Tabs.cjs"),re=require("./components/tag/Tag.cjs"),te=require("./components/text/Text.cjs"),oe=require("./components/textarea/Textarea.cjs"),ne=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=C.preset;exports.Accordion=a.Accordion;exports.AccordionItem=a.AccordionItem;exports.AccordionItemContent=a.AccordionItemContent;exports.AccordionItemIndicator=a.AccordionItemIndicator;exports.AccordionItemTrigger=a.AccordionItemTrigger;exports.ActionCard=s.ActionCard;exports.ActionCardDescription=s.ActionCardDescription;exports.ActionCardTitle=s.ActionCardTitle;exports.Alert=T.Alert;exports.AppNavigation=m;exports.AppNavigationLanguageSelect=h.AppNavigationLanguageSelect;exports.Avatar=q;exports.Box=P.Box;exports.Breadcrumb=l.Breadcrumb;exports.BreadcrumbItem=l.BreadcrumbItem;exports.BreadcrumbLink=l.BreadcrumbLink;exports.Button=I.Button;exports.ButtonFilter=A.ButtonFilter;exports.Chat=y;exports.ChatDocumentMessage=D.ChatDocumentMessage;exports.ChatMessage=x.ChatMessage;exports.ChatProfileAvatar=B.ChatProfileAvatar;exports.ChatTextInput=v.ChatTextInput;exports.Checkbox=d.Checkbox;exports.CheckboxGroup=d.CheckboxGroup;exports.CheckboxCard=w;exports.Chip=c.Chip;exports.ChipAvatar=c.ChipAvatar;exports.ChipClearTrigger=c.ChipClearTrigger;exports.ChipLabel=c.ChipLabel;exports.Collapsible=S;exports.Combobox=G.Combobox;exports.DatePicker=f.DatePicker;exports.Dialog=L;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=b.Flag;exports.FlagCountryCodes=b.FlagCountryCodes;exports.FormControl=N.FormControl;exports.FormHelperText=R.FormHelperText;exports.FormLabel=F.FormLabel;exports.Heading=j.Heading;exports.Highlight=i.Highlight;exports.HighlightedInput=i.HighlightedInput;exports.InputSlot=i.InputSlot;exports.Renderer=i.Renderer;exports.Root=i.Root;exports.Icon=O.Icon;exports.IconButton=H.IconButton;exports.Illustration=k.Illustration;exports.Input=M.Input;exports.InputAddon=$.InputAddon;exports.InputGroup=E.InputGroup;exports.Menu=V;exports.MobileNavigation=z;exports.Pagination=J.Pagination;exports.PhoneNumberInput=K.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=Q.PriceTag;exports.ProductCardCatalog=U;exports.RadioButtonGroup=p.RadioButtonGroup;exports.RadioButtonGroupItem=p.RadioButtonGroupItem;exports.RadioButtonGroupLabel=p.RadioButtonGroupLabel;exports.RadioCardGroup=W;exports.RadioGroup=g.RadioGroup;exports.RadioGroupItem=g.RadioGroupItem;exports.RadioGroupLabel=g.RadioGroupLabel;exports.Select=X.Select;exports.SelectLanguage=Y.SelectLanguage;exports.StatusTagSelect=Z.StatusTagSelect;exports.Switch=_.Switch;exports.SwitchCard=ee;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=re.Tag;exports.Text=te.Text;exports.Textarea=oe.Textarea;exports.Tooltip=ne.Tooltip;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|