@caspeco/casper-ui-library 9.11.0 → 9.12.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.
Files changed (56) hide show
  1. package/dist/components/accordion/accordion-recipe.js +1 -1
  2. package/dist/components/checkbox/checkbox-recipe.js +1 -1
  3. package/dist/components/drawer/drawer-recipe.js +1 -1
  4. package/dist/components/fieldset/fieldset-recipe.js +1 -1
  5. package/dist/components/form-control/form-control-recipe.js +1 -1
  6. package/dist/components/menu/menu-recipe.js +1 -1
  7. package/dist/components/modal/modal-recipe.js +1 -1
  8. package/dist/components/radio/radio-group-recipe.js +1 -1
  9. package/dist/components/select/select-recipe.js +1 -1
  10. package/dist/components/spinner/index.d.ts +3 -0
  11. package/dist/components/spinner/index.d.ts.map +1 -0
  12. package/dist/components/spinner/spinner.composition.d.ts +3 -0
  13. package/dist/components/spinner/spinner.composition.d.ts.map +1 -0
  14. package/dist/components/spinner/spinner.d.ts +3 -0
  15. package/dist/components/spinner/spinner.d.ts.map +1 -0
  16. package/dist/components/spinner/spinner.js +52 -0
  17. package/dist/components/spinner/spinner.spec.d.ts +2 -0
  18. package/dist/components/spinner/spinner.spec.d.ts.map +1 -0
  19. package/dist/components/spinner/spinner.visual.test.d.ts +2 -0
  20. package/dist/components/spinner/spinner.visual.test.d.ts.map +1 -0
  21. package/dist/components/spinner/types.d.ts +6 -0
  22. package/dist/components/spinner/types.d.ts.map +1 -0
  23. package/dist/components/switch/switch-recipe.js +1 -1
  24. package/dist/components/tabs/tabs-recipe.js +1 -1
  25. package/dist/components/tag/tag-recipe.js +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +171 -169
  29. package/package.json +1 -1
  30. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox.anatomy.js +0 -5
  31. package/dist/node_modules/@ark-ui/react/dist/components/color-picker/color-picker.anatomy.js +0 -5
  32. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox.anatomy.js +0 -5
  33. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js +0 -5
  34. package/dist/node_modules/@ark-ui/react/dist/components/field/field.anatomy.js +0 -15
  35. package/dist/node_modules/@ark-ui/react/dist/components/fieldset/fieldset.anatomy.js +0 -6
  36. package/dist/node_modules/@ark-ui/react/dist/components/listbox/listbox.anatomy.js +0 -2
  37. package/dist/node_modules/@chakra-ui/react/dist/esm/anatomy.js +0 -186
  38. package/dist/node_modules/@zag-js/accordion/dist/accordion.anatomy.js +0 -6
  39. package/dist/node_modules/@zag-js/anatomy/dist/create-anatomy.js +0 -26
  40. package/dist/node_modules/@zag-js/checkbox/dist/checkbox.anatomy.js +0 -6
  41. package/dist/node_modules/@zag-js/clipboard/dist/clipboard.anatomy.js +0 -6
  42. package/dist/node_modules/@zag-js/color-picker/dist/color-picker.anatomy.js +0 -31
  43. package/dist/node_modules/@zag-js/combobox/dist/combobox.anatomy.js +0 -21
  44. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.anatomy.js +0 -31
  45. package/dist/node_modules/@zag-js/dialog/dist/dialog.anatomy.js +0 -14
  46. package/dist/node_modules/@zag-js/editable/dist/editable.anatomy.js +0 -16
  47. package/dist/node_modules/@zag-js/file-upload/dist/file-upload.anatomy.js +0 -19
  48. package/dist/node_modules/@zag-js/listbox/dist/listbox.anatomy.js +0 -17
  49. package/dist/node_modules/@zag-js/menu/dist/menu.anatomy.js +0 -21
  50. package/dist/node_modules/@zag-js/popover/dist/popover.anatomy.js +0 -17
  51. package/dist/node_modules/@zag-js/radio-group/dist/radio-group.anatomy.js +0 -13
  52. package/dist/node_modules/@zag-js/rating-group/dist/rating-group.anatomy.js +0 -6
  53. package/dist/node_modules/@zag-js/select/dist/select.anatomy.js +0 -22
  54. package/dist/node_modules/@zag-js/slider/dist/slider.anatomy.js +0 -17
  55. package/dist/node_modules/@zag-js/splitter/dist/splitter.anatomy.js +0 -6
  56. package/dist/node_modules/@zag-js/switch/dist/switch.anatomy.js +0 -6
@@ -1,6 +1,6 @@
1
1
  import { ThemeSpaceToken as o, ThemeColorToken as e, ThemeBorderToken as t, ThemeRadiusToken as r, ThemeFontSizeToken as n } from "../../theme/theme-tokens.js";
2
2
  import { defineSlotRecipe as d } from "@chakra-ui/react";
3
- import { accordionAnatomy as a } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { accordionAnatomy as a } from "@chakra-ui/react/anatomy";
4
4
  const i = {
5
5
  width: "100%",
6
6
  border: t.XSmall,
@@ -1,6 +1,6 @@
1
1
  import { ThemeFontSizeToken as e, ThemeColorToken as o, ThemeFontToken as n } from "../../theme/theme-tokens.js";
2
2
  import { defineSlotRecipe as l } from "@chakra-ui/react";
3
- import { checkboxAnatomy as a } from "../../node_modules/@ark-ui/react/dist/components/checkbox/checkbox.anatomy.js";
3
+ import { checkboxAnatomy as a } from "@chakra-ui/react/anatomy";
4
4
  const d = {
5
5
  m: 0,
6
6
  fontFamily: n.Body,
@@ -1,6 +1,6 @@
1
1
  import { ThemeColorToken as t } from "../../theme/theme-tokens.js";
2
2
  import { defineSlotRecipe as e } from "@chakra-ui/react";
3
- import { drawerAnatomy as o } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { drawerAnatomy as o } from "@chakra-ui/react/anatomy";
4
4
  const m = e({
5
5
  className: "drawer",
6
6
  slots: o.keys(),
@@ -1,7 +1,7 @@
1
1
  import { formControlRecipe as e } from "../form-control/form-control-recipe.js";
2
2
  import { ThemeSpaceToken as o } from "../../theme/theme-tokens.js";
3
3
  import { defineSlotRecipe as t } from "@chakra-ui/react";
4
- import { fieldsetAnatomy as m } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
4
+ import { fieldsetAnatomy as m } from "@chakra-ui/react/anatomy";
5
5
  const a = t({
6
6
  slots: m.keys(),
7
7
  base: {
@@ -1,6 +1,6 @@
1
1
  import { ThemeFontSizeToken as e, ThemeColorToken as o, ThemeFontToken as r, ThemeSpaceToken as l } from "../../theme/theme-tokens.js";
2
2
  import { defineSlotRecipe as n } from "@chakra-ui/react";
3
- import { fieldAnatomy as t } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { fieldAnatomy as t } from "@chakra-ui/react/anatomy";
4
4
  const d = n({
5
5
  className: "formControl",
6
6
  slots: t.keys(),
@@ -1,6 +1,6 @@
1
1
  import { ThemeSpaceVariable as e, ThemeColorVariable as o, ThemeFontSizeVariable as a, ThemeShadowVariable as t } from "../../theme/theme-types.js";
2
2
  import { defineSlotRecipe as r } from "@chakra-ui/react";
3
- import { menuAnatomy as i } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { menuAnatomy as i } from "@chakra-ui/react/anatomy";
4
4
  const n = {
5
5
  minW: "280px",
6
6
  alignItems: "center",
@@ -1,7 +1,7 @@
1
1
  import { buttonRecipe as o } from "../button/button-recipe.js";
2
2
  import { ThemeColorToken as e, ThemeRadiusToken as n, ThemeFontToken as a, ThemeFontSizeToken as t } from "../../theme/theme-tokens.js";
3
3
  import { defineSlotRecipe as i } from "@chakra-ui/react";
4
- import { dialogAnatomy as r } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
4
+ import { dialogAnatomy as r } from "@chakra-ui/react/anatomy";
5
5
  const x = i({
6
6
  className: "modal",
7
7
  slots: r.keys(),
@@ -1,6 +1,6 @@
1
1
  import { ThemeSpaceToken as e, ThemeColorToken as o, ThemeRadiusToken as c, ThemeFontSizeToken as n, ThemeFontToken as t } from "../../theme/theme-tokens.js";
2
2
  import { defineSlotRecipe as d } from "@chakra-ui/react";
3
- import { radioGroupAnatomy as a } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { radioGroupAnatomy as a } from "@chakra-ui/react/anatomy";
4
4
  import { ThemeColorVariable as r } from "../../theme/theme-types.js";
5
5
  const m = d({
6
6
  className: "radio",
@@ -1,7 +1,7 @@
1
1
  import { inputRecipe as l } from "../input/input-recipe.js";
2
2
  import { ThemeSpaceToken as e, ThemeFontSizeToken as t, ThemeColorToken as i } from "../../theme/theme-tokens.js";
3
3
  import { defineSlotRecipe as a } from "@chakra-ui/react";
4
- import { nativeSelectAnatomy as n } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
4
+ import { nativeSelectAnatomy as n } from "@chakra-ui/react/anatomy";
5
5
  import { ThemeIconSizeVariable as o } from "../../theme/theme-types.js";
6
6
  const S = a({
7
7
  className: "select",
@@ -0,0 +1,3 @@
1
+ export { Spinner } from './spinner.js';
2
+ export type { SpinnerProps, SpinnerSize } from './types.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const SpinnerSizes: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SpinnerColors: () => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=spinner.composition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,+CAQxB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAWzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SpinnerProps } from './types.js';
2
+ export declare function Spinner({ size, color, ...props }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,SAAS,CAAC;AAazD,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,KAAkC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAgClG"}
@@ -0,0 +1,52 @@
1
+ import { jsxs as l, jsx as i } from "react/jsx-runtime";
2
+ import { chakra as h } from "@chakra-ui/react";
3
+ import { ThemeColorVariable as n, ThemeIconSizeVariable as r } from "../../theme/theme-types.js";
4
+ const d = {
5
+ sm: r.XLarge,
6
+ md: r.X2Large,
7
+ lg: r.X3Large
8
+ }, o = 20, t = 4, a = 2 * Math.PI * o, p = a * 0.5;
9
+ function u({ size: s = "md", color: c = n.Primary, ...m }) {
10
+ const e = d[s];
11
+ return /* @__PURE__ */ l(
12
+ h.svg,
13
+ {
14
+ viewBox: "0 0 48 48",
15
+ width: e,
16
+ height: e,
17
+ color: c,
18
+ animation: "spin",
19
+ animationDuration: "0.7s",
20
+ ...m,
21
+ children: [
22
+ /* @__PURE__ */ i(
23
+ "circle",
24
+ {
25
+ cx: "24",
26
+ cy: "24",
27
+ r: o,
28
+ fill: "none",
29
+ stroke: n.SurfaceDisabled,
30
+ strokeWidth: t
31
+ }
32
+ ),
33
+ /* @__PURE__ */ i(
34
+ "circle",
35
+ {
36
+ cx: "24",
37
+ cy: "24",
38
+ r: o,
39
+ fill: "none",
40
+ stroke: "currentColor",
41
+ strokeWidth: t,
42
+ strokeLinecap: "round",
43
+ strokeDasharray: `${p} ${a}`
44
+ }
45
+ )
46
+ ]
47
+ }
48
+ );
49
+ }
50
+ export {
51
+ u as Spinner
52
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=spinner.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.spec.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.spec.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=spinner.visual.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.visual.test.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.visual.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { HTMLChakraProps } from '@chakra-ui/react';
2
+ export type SpinnerSize = "sm" | "md" | "lg";
3
+ export type SpinnerProps = {
4
+ size?: SpinnerSize;
5
+ } & Omit<HTMLChakraProps<"svg">, "size">;
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG;IAC1B,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ThemeColorToken as e } from "../../theme/theme-tokens.js";
2
2
  import { defineSlotRecipe as c } from "@chakra-ui/react";
3
- import { switchAnatomy as h } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { switchAnatomy as h } from "@chakra-ui/react/anatomy";
4
4
  const t = {
5
5
  background: e.Surface,
6
6
  borderColor: e.OnSurfaceSubdued,
@@ -1,7 +1,7 @@
1
1
  import { ThemeFontSizeToken as r, ThemeColorToken as e, ThemeRadiusToken as n, ThemeBorderToken as a, ThemeFontToken as d } from "../../theme/theme-tokens.js";
2
2
  import { ThemeColorVariable as l, ThemeSpaceVariable as o } from "../../theme/theme-types.js";
3
3
  import { defineSlotRecipe as c } from "@chakra-ui/react";
4
- import { tabsAnatomy as g } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
4
+ import { tabsAnatomy as g } from "@chakra-ui/react/anatomy";
5
5
  const t = {
6
6
  _disabled: {
7
7
  _selected: {
@@ -1,6 +1,6 @@
1
1
  import { ThemeIconSizeVariable as i, ThemeFontSizeVariable as l, ThemeSpaceVariable as r, ThemeFontVariable as k, ThemeRadiusVariable as P, ThemeColorVariable as e } from "../../theme/theme-types.js";
2
2
  import { defineSlotRecipe as b } from "@chakra-ui/react";
3
- import { tagAnatomy as m } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
3
+ import { tagAnatomy as m } from "@chakra-ui/react/anatomy";
4
4
  const n = "& .tag-icon", x = {
5
5
  neutral: {
6
6
  subtleBg: e.NeutralContainer,
package/dist/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export * from './components/rich-text-editor/index.js';
39
39
  export * from './components/segmented-control/index.js';
40
40
  export * from './components/select/index.js';
41
41
  export * from './components/skeleton/index.js';
42
+ export * from './components/spinner/index.js';
42
43
  export * from './components/stack/index.js';
43
44
  export * from './components/stepper/index.js';
44
45
  export * from './components/switch/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -308,86 +308,87 @@ import { SlightlySadIcon as SI } from "./components/icon/icons/slightly-sad-icon
308
308
  import { SmileIcon as yI } from "./components/icon/icons/smile-icon.js";
309
309
  import { SortAscIcon as BI } from "./components/icon/icons/sort-asc-icon.js";
310
310
  import { SortDescIcon as DI } from "./components/icon/icons/sort-desc-icon.js";
311
- import { SplitIcon as wI } from "./components/icon/icons/split-icon.js";
312
- import { Stack as HI } from "./components/stack/stack.js";
313
- import { StatusIcon as vI } from "./components/icon/icons/status-icon.js";
314
- import { StepContext as UI } from "./components/stepper/step-context.js";
315
- import { Stepper as WI } from "./components/stepper/stepper.js";
316
- import { StopIcon as NI } from "./components/icon/icons/stop-icon.js";
317
- import { SubmenuIcon as KI } from "./components/icon/icons/submenu-icon.js";
318
- import { SuccessIcon as jI } from "./components/icon/icons/success-icon.js";
319
- import { SwapIcon as qI } from "./components/icon/icons/swap-icon.js";
320
- import { SwatchIcon as YI } from "./components/icon/icons/swatch-icon.js";
321
- import { SweatIcon as _I } from "./components/icon/icons/sweat-icon.js";
322
- import { Switch as oa } from "./components/switch/switch.js";
323
- import { Tab as ea } from "./components/tabs/tab.js";
324
- import { TabList as na } from "./components/tabs/tab-list.js";
325
- import { TabPanel as pa } from "./components/tabs/tab-panel.js";
326
- import { TabPanels as xa } from "./components/tabs/tab-panels.js";
327
- import { Table as Ia } from "./components/table/table.js";
328
- import { TableContent as ia } from "./components/table/table-content.js";
329
- import { TableFilter as da } from "./components/table/table-filter.js";
330
- import { TableIcon as ua } from "./components/icon/icons/table-icon.js";
331
- import { TableMapIcon as Ta } from "./components/icon/icons/table-map-icon.js";
332
- import { TableToolbar as ha } from "./components/table/table-toolbar.js";
333
- import { TableToolbarActions as Pa } from "./components/table/table-toolbar-actions.js";
334
- import { TableToolbarAddButton as Sa } from "./components/table/table-toolbar-add-button.js";
335
- import { TableToolbarSearch as ya } from "./components/table/table-toolbar-search.js";
336
- import { TableToolbarSettings as Ba } from "./components/table/table-toolbar-settings.js";
337
- import { Tabs as Da } from "./components/tabs/tabs.js";
338
- import { Tag as wa } from "./components/tag/tag.js";
339
- import { TakeAwayDotComIcon as Ha } from "./components/icon/icons/take-away-dot-com-icon.js";
340
- import { TakeAwayIcon as va } from "./components/icon/icons/take-away-icon.js";
341
- import { TalkIcon as Ua } from "./components/icon/icons/talk-icon.js";
342
- import { Text as Wa } from "./components/text/text.js";
343
- import { Textarea as Na } from "./components/textarea/textarea.js";
344
- import { ThemeBorderVariable as Ka, ThemeBreakPointVariable as Qa, ThemeColorVariable as ja, ThemeFontSizeVariable as Ja, ThemeFontVariable as qa, ThemeIconSizeVariable as Xa, ThemeRadiusVariable as Ya, ThemeShadowVariable as Za, ThemeSpaceVariable as _a } from "./theme/theme-types.js";
345
- import { ThemeProvider as oi } from "./theme/theme-provider.js";
346
- import { ThumbtackIcon as ei } from "./components/icon/icons/thumbtack-icon.js";
347
- import { TimeIcon as ni } from "./components/icon/icons/time-icon.js";
348
- import { TimelineIcon as pi } from "./components/icon/icons/timeline-icon.js";
349
- import { TipIcon as xi } from "./components/icon/icons/tip-icon.js";
350
- import { TitleIcon as Ii } from "./components/icon/icons/title-icon.js";
351
- import { Toaster as ii } from "./components/toaster/toaster.js";
352
- import { ToggleButton as di } from "./components/toggle-button/toggle-button.js";
353
- import { Tooltip as ui } from "./components/tooltip/tooltip.js";
354
- import { TranslateIcon as Ti } from "./components/icon/icons/translate-icon.js";
355
- import { TreeViewCollapseIcon as hi } from "./components/icon/icons/tree-view-collapse-icon.js";
356
- import { TreeViewExpandIcon as Pi } from "./components/icon/icons/tree-view-expand-icon.js";
357
- import { TreeViewLastIcon as Si } from "./components/icon/icons/tree-view-last-icon.js";
358
- import { TrendDownIcon as yi } from "./components/icon/icons/trend-down-icon.js";
359
- import { TrendUpIcon as Bi } from "./components/icon/icons/trend-up-icon.js";
360
- import { TriangleWarningIcon as Di } from "./components/icon/icons/triangle-warning-icon.js";
361
- import { TrivecIcon as wi } from "./components/icon/icons/trivec-icon.js";
362
- import { UberEatsIcon as Hi } from "./components/icon/icons/uber-eats-icon.js";
363
- import { UndoIcon as vi } from "./components/icon/icons/undo-icon.js";
364
- import { UnlockIcon as Ui } from "./components/icon/icons/unlock-icon.js";
365
- import { UnwrapContentIcon as Wi } from "./components/icon/icons/unwrap-content-icon.js";
366
- import { UpIcon as Ni } from "./components/icon/icons/up-icon.js";
367
- import { UserGroupIcon as Ki } from "./components/icon/icons/user-group-icon.js";
368
- import { UserIcon as ji } from "./components/icon/icons/user-icon.js";
369
- import { UserPermissionsIcon as qi } from "./components/icon/icons/user-permissions-icon.js";
370
- import { UserWaitIcon as Yi } from "./components/icon/icons/user-wait-icon.js";
371
- import { UsersIcon as _i } from "./components/icon/icons/users-icon.js";
372
- import { VersionControlIcon as ol } from "./components/icon/icons/version-control-icon.js";
373
- import { VolumeHighIcon as el } from "./components/icon/icons/volume-high-icon.js";
374
- import { VolumeIcon as nl } from "./components/icon/icons/volume-icon.js";
375
- import { VolumeLowIcon as pl } from "./components/icon/icons/volume-low-icon.js";
376
- import { VolumeOffIcon as xl } from "./components/icon/icons/volume-off-icon.js";
377
- import { WarningIcon as Il } from "./components/icon/icons/warning-icon.js";
378
- import { WasteIcon as il } from "./components/icon/icons/waste-icon.js";
379
- import { WifiIcon as dl } from "./components/icon/icons/wifi-icon.js";
380
- import { WifiOffIcon as ul } from "./components/icon/icons/wifi-off-icon.js";
381
- import { WoltIcon as Tl } from "./components/icon/icons/wolt-icon.js";
382
- import { WrapContentIcon as hl } from "./components/icon/icons/wrap-content-icon.js";
383
- import { createCasperIcon as Pl } from "./components/icon/create-icon.js";
384
- import { createColumnHelper as Sl } from "./node_modules/@tanstack/table-core/build/lib/index.js";
385
- import { isTouchScreenDevice as yl } from "./theme/theme-helper.js";
386
- import { parseHtmlToContent as Bl, richTextExtensions as Ll } from "./components/rich-text-editor/extensions.js";
387
- import { showToast as Fl } from "./components/toaster/toast-store.js";
388
- import { useRichTextEditor as El } from "./components/rich-text-editor/use-rich-text-editor.js";
389
- import { useRichTextEditorContext as Rl } from "./components/rich-text-editor/rich-text-editor-context.js";
390
- import { useTableContext as Vl } from "./components/table/table-context.js";
311
+ import { Spinner as wI } from "./components/spinner/spinner.js";
312
+ import { SplitIcon as HI } from "./components/icon/icons/split-icon.js";
313
+ import { Stack as vI } from "./components/stack/stack.js";
314
+ import { StatusIcon as UI } from "./components/icon/icons/status-icon.js";
315
+ import { StepContext as WI } from "./components/stepper/step-context.js";
316
+ import { Stepper as NI } from "./components/stepper/stepper.js";
317
+ import { StopIcon as KI } from "./components/icon/icons/stop-icon.js";
318
+ import { SubmenuIcon as jI } from "./components/icon/icons/submenu-icon.js";
319
+ import { SuccessIcon as qI } from "./components/icon/icons/success-icon.js";
320
+ import { SwapIcon as YI } from "./components/icon/icons/swap-icon.js";
321
+ import { SwatchIcon as _I } from "./components/icon/icons/swatch-icon.js";
322
+ import { SweatIcon as oa } from "./components/icon/icons/sweat-icon.js";
323
+ import { Switch as ea } from "./components/switch/switch.js";
324
+ import { Tab as na } from "./components/tabs/tab.js";
325
+ import { TabList as pa } from "./components/tabs/tab-list.js";
326
+ import { TabPanel as xa } from "./components/tabs/tab-panel.js";
327
+ import { TabPanels as Ia } from "./components/tabs/tab-panels.js";
328
+ import { Table as ia } from "./components/table/table.js";
329
+ import { TableContent as da } from "./components/table/table-content.js";
330
+ import { TableFilter as ua } from "./components/table/table-filter.js";
331
+ import { TableIcon as Ta } from "./components/icon/icons/table-icon.js";
332
+ import { TableMapIcon as ha } from "./components/icon/icons/table-map-icon.js";
333
+ import { TableToolbar as Pa } from "./components/table/table-toolbar.js";
334
+ import { TableToolbarActions as Sa } from "./components/table/table-toolbar-actions.js";
335
+ import { TableToolbarAddButton as ya } from "./components/table/table-toolbar-add-button.js";
336
+ import { TableToolbarSearch as Ba } from "./components/table/table-toolbar-search.js";
337
+ import { TableToolbarSettings as Da } from "./components/table/table-toolbar-settings.js";
338
+ import { Tabs as wa } from "./components/tabs/tabs.js";
339
+ import { Tag as Ha } from "./components/tag/tag.js";
340
+ import { TakeAwayDotComIcon as va } from "./components/icon/icons/take-away-dot-com-icon.js";
341
+ import { TakeAwayIcon as Ua } from "./components/icon/icons/take-away-icon.js";
342
+ import { TalkIcon as Wa } from "./components/icon/icons/talk-icon.js";
343
+ import { Text as Na } from "./components/text/text.js";
344
+ import { Textarea as Ka } from "./components/textarea/textarea.js";
345
+ import { ThemeBorderVariable as ja, ThemeBreakPointVariable as Ja, ThemeColorVariable as qa, ThemeFontSizeVariable as Xa, ThemeFontVariable as Ya, ThemeIconSizeVariable as Za, ThemeRadiusVariable as _a, ThemeShadowVariable as $a, ThemeSpaceVariable as oi } from "./theme/theme-types.js";
346
+ import { ThemeProvider as ei } from "./theme/theme-provider.js";
347
+ import { ThumbtackIcon as ni } from "./components/icon/icons/thumbtack-icon.js";
348
+ import { TimeIcon as pi } from "./components/icon/icons/time-icon.js";
349
+ import { TimelineIcon as xi } from "./components/icon/icons/timeline-icon.js";
350
+ import { TipIcon as Ii } from "./components/icon/icons/tip-icon.js";
351
+ import { TitleIcon as ii } from "./components/icon/icons/title-icon.js";
352
+ import { Toaster as di } from "./components/toaster/toaster.js";
353
+ import { ToggleButton as ui } from "./components/toggle-button/toggle-button.js";
354
+ import { Tooltip as Ti } from "./components/tooltip/tooltip.js";
355
+ import { TranslateIcon as hi } from "./components/icon/icons/translate-icon.js";
356
+ import { TreeViewCollapseIcon as Pi } from "./components/icon/icons/tree-view-collapse-icon.js";
357
+ import { TreeViewExpandIcon as Si } from "./components/icon/icons/tree-view-expand-icon.js";
358
+ import { TreeViewLastIcon as yi } from "./components/icon/icons/tree-view-last-icon.js";
359
+ import { TrendDownIcon as Bi } from "./components/icon/icons/trend-down-icon.js";
360
+ import { TrendUpIcon as Di } from "./components/icon/icons/trend-up-icon.js";
361
+ import { TriangleWarningIcon as wi } from "./components/icon/icons/triangle-warning-icon.js";
362
+ import { TrivecIcon as Hi } from "./components/icon/icons/trivec-icon.js";
363
+ import { UberEatsIcon as vi } from "./components/icon/icons/uber-eats-icon.js";
364
+ import { UndoIcon as Ui } from "./components/icon/icons/undo-icon.js";
365
+ import { UnlockIcon as Wi } from "./components/icon/icons/unlock-icon.js";
366
+ import { UnwrapContentIcon as Ni } from "./components/icon/icons/unwrap-content-icon.js";
367
+ import { UpIcon as Ki } from "./components/icon/icons/up-icon.js";
368
+ import { UserGroupIcon as ji } from "./components/icon/icons/user-group-icon.js";
369
+ import { UserIcon as qi } from "./components/icon/icons/user-icon.js";
370
+ import { UserPermissionsIcon as Yi } from "./components/icon/icons/user-permissions-icon.js";
371
+ import { UserWaitIcon as _i } from "./components/icon/icons/user-wait-icon.js";
372
+ import { UsersIcon as ol } from "./components/icon/icons/users-icon.js";
373
+ import { VersionControlIcon as el } from "./components/icon/icons/version-control-icon.js";
374
+ import { VolumeHighIcon as nl } from "./components/icon/icons/volume-high-icon.js";
375
+ import { VolumeIcon as pl } from "./components/icon/icons/volume-icon.js";
376
+ import { VolumeLowIcon as xl } from "./components/icon/icons/volume-low-icon.js";
377
+ import { VolumeOffIcon as Il } from "./components/icon/icons/volume-off-icon.js";
378
+ import { WarningIcon as il } from "./components/icon/icons/warning-icon.js";
379
+ import { WasteIcon as dl } from "./components/icon/icons/waste-icon.js";
380
+ import { WifiIcon as ul } from "./components/icon/icons/wifi-icon.js";
381
+ import { WifiOffIcon as Tl } from "./components/icon/icons/wifi-off-icon.js";
382
+ import { WoltIcon as hl } from "./components/icon/icons/wolt-icon.js";
383
+ import { WrapContentIcon as Pl } from "./components/icon/icons/wrap-content-icon.js";
384
+ import { createCasperIcon as Sl } from "./components/icon/create-icon.js";
385
+ import { createColumnHelper as yl } from "./node_modules/@tanstack/table-core/build/lib/index.js";
386
+ import { isTouchScreenDevice as Bl } from "./theme/theme-helper.js";
387
+ import { parseHtmlToContent as Dl, richTextExtensions as Fl } from "./components/rich-text-editor/extensions.js";
388
+ import { showToast as El } from "./components/toaster/toast-store.js";
389
+ import { useRichTextEditor as Rl } from "./components/rich-text-editor/use-rich-text-editor.js";
390
+ import { useRichTextEditorContext as Vl } from "./components/rich-text-editor/rich-text-editor-context.js";
391
+ import { useTableContext as Gl } from "./components/table/table-context.js";
391
392
  export {
392
393
  x as AbsenceIcon,
393
394
  I as AccessibilityIcon,
@@ -698,95 +699,96 @@ export {
698
699
  yI as SmileIcon,
699
700
  BI as SortAscIcon,
700
701
  DI as SortDescIcon,
701
- wI as SplitIcon,
702
- HI as Stack,
703
- vI as StatusIcon,
704
- UI as StepContext,
705
- WI as Stepper,
706
- NI as StopIcon,
707
- KI as SubmenuIcon,
708
- jI as SuccessIcon,
709
- qI as SwapIcon,
710
- YI as SwatchIcon,
711
- _I as SweatIcon,
712
- oa as Switch,
713
- ea as Tab,
714
- na as TabList,
715
- pa as TabPanel,
716
- xa as TabPanels,
717
- Ia as Table,
718
- ia as TableContent,
719
- da as TableFilter,
720
- ua as TableIcon,
721
- Ta as TableMapIcon,
722
- ha as TableToolbar,
723
- Pa as TableToolbarActions,
724
- Sa as TableToolbarAddButton,
725
- ya as TableToolbarSearch,
726
- Ba as TableToolbarSettings,
727
- Da as Tabs,
728
- wa as Tag,
729
- Ha as TakeAwayDotComIcon,
730
- va as TakeAwayIcon,
731
- Ua as TalkIcon,
732
- Wa as Text,
733
- Na as Textarea,
734
- Ka as ThemeBorderVariable,
735
- Qa as ThemeBreakPointVariable,
736
- ja as ThemeColorVariable,
737
- Ja as ThemeFontSizeVariable,
738
- qa as ThemeFontVariable,
739
- Xa as ThemeIconSizeVariable,
740
- oi as ThemeProvider,
741
- Ya as ThemeRadiusVariable,
742
- Za as ThemeShadowVariable,
743
- _a as ThemeSpaceVariable,
744
- ei as ThumbtackIcon,
745
- ni as TimeIcon,
746
- pi as TimelineIcon,
747
- xi as TipIcon,
748
- Ii as TitleIcon,
749
- ii as Toaster,
750
- di as ToggleButton,
751
- ui as Tooltip,
752
- Ti as TranslateIcon,
753
- hi as TreeViewCollapseIcon,
754
- Pi as TreeViewExpandIcon,
755
- Si as TreeViewLastIcon,
756
- yi as TrendDownIcon,
757
- Bi as TrendUpIcon,
758
- Di as TriangleWarningIcon,
759
- wi as TrivecIcon,
760
- Hi as UberEatsIcon,
761
- vi as UndoIcon,
762
- Ui as UnlockIcon,
763
- Wi as UnwrapContentIcon,
764
- Ni as UpIcon,
765
- Ki as UserGroupIcon,
766
- ji as UserIcon,
767
- qi as UserPermissionsIcon,
768
- Yi as UserWaitIcon,
769
- _i as UsersIcon,
770
- ol as VersionControlIcon,
771
- el as VolumeHighIcon,
772
- nl as VolumeIcon,
773
- pl as VolumeLowIcon,
774
- xl as VolumeOffIcon,
775
- Il as WarningIcon,
776
- il as WasteIcon,
777
- dl as WifiIcon,
778
- ul as WifiOffIcon,
779
- Tl as WoltIcon,
780
- hl as WrapContentIcon,
781
- Pl as createCasperIcon,
782
- Sl as createColumnHelper,
783
- yl as isTouchScreenDevice,
784
- Bl as parseHtmlToContent,
785
- Ll as richTextExtensions,
786
- Fl as showToast,
702
+ wI as Spinner,
703
+ HI as SplitIcon,
704
+ vI as Stack,
705
+ UI as StatusIcon,
706
+ WI as StepContext,
707
+ NI as Stepper,
708
+ KI as StopIcon,
709
+ jI as SubmenuIcon,
710
+ qI as SuccessIcon,
711
+ YI as SwapIcon,
712
+ _I as SwatchIcon,
713
+ oa as SweatIcon,
714
+ ea as Switch,
715
+ na as Tab,
716
+ pa as TabList,
717
+ xa as TabPanel,
718
+ Ia as TabPanels,
719
+ ia as Table,
720
+ da as TableContent,
721
+ ua as TableFilter,
722
+ Ta as TableIcon,
723
+ ha as TableMapIcon,
724
+ Pa as TableToolbar,
725
+ Sa as TableToolbarActions,
726
+ ya as TableToolbarAddButton,
727
+ Ba as TableToolbarSearch,
728
+ Da as TableToolbarSettings,
729
+ wa as Tabs,
730
+ Ha as Tag,
731
+ va as TakeAwayDotComIcon,
732
+ Ua as TakeAwayIcon,
733
+ Wa as TalkIcon,
734
+ Na as Text,
735
+ Ka as Textarea,
736
+ ja as ThemeBorderVariable,
737
+ Ja as ThemeBreakPointVariable,
738
+ qa as ThemeColorVariable,
739
+ Xa as ThemeFontSizeVariable,
740
+ Ya as ThemeFontVariable,
741
+ Za as ThemeIconSizeVariable,
742
+ ei as ThemeProvider,
743
+ _a as ThemeRadiusVariable,
744
+ $a as ThemeShadowVariable,
745
+ oi as ThemeSpaceVariable,
746
+ ni as ThumbtackIcon,
747
+ pi as TimeIcon,
748
+ xi as TimelineIcon,
749
+ Ii as TipIcon,
750
+ ii as TitleIcon,
751
+ di as Toaster,
752
+ ui as ToggleButton,
753
+ Ti as Tooltip,
754
+ hi as TranslateIcon,
755
+ Pi as TreeViewCollapseIcon,
756
+ Si as TreeViewExpandIcon,
757
+ yi as TreeViewLastIcon,
758
+ Bi as TrendDownIcon,
759
+ Di as TrendUpIcon,
760
+ wi as TriangleWarningIcon,
761
+ Hi as TrivecIcon,
762
+ vi as UberEatsIcon,
763
+ Ui as UndoIcon,
764
+ Wi as UnlockIcon,
765
+ Ni as UnwrapContentIcon,
766
+ Ki as UpIcon,
767
+ ji as UserGroupIcon,
768
+ qi as UserIcon,
769
+ Yi as UserPermissionsIcon,
770
+ _i as UserWaitIcon,
771
+ ol as UsersIcon,
772
+ el as VersionControlIcon,
773
+ nl as VolumeHighIcon,
774
+ pl as VolumeIcon,
775
+ xl as VolumeLowIcon,
776
+ Il as VolumeOffIcon,
777
+ il as WarningIcon,
778
+ dl as WasteIcon,
779
+ ul as WifiIcon,
780
+ Tl as WifiOffIcon,
781
+ hl as WoltIcon,
782
+ Pl as WrapContentIcon,
783
+ Sl as createCasperIcon,
784
+ yl as createColumnHelper,
785
+ Bl as isTouchScreenDevice,
786
+ Dl as parseHtmlToContent,
787
+ Fl as richTextExtensions,
788
+ El as showToast,
787
789
  e as useColorMode,
788
790
  n as useDisclosure,
789
- El as useRichTextEditor,
790
- Rl as useRichTextEditorContext,
791
- Vl as useTableContext
791
+ Rl as useRichTextEditor,
792
+ Vl as useRichTextEditorContext,
793
+ Gl as useTableContext
792
794
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caspeco/casper-ui-library",
3
- "version": "9.11.0",
3
+ "version": "9.12.0",
4
4
  "prettier": "@caspeco/prettier-config",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -1,5 +0,0 @@
1
- import { anatomy as o } from "../../../../../@zag-js/checkbox/dist/checkbox.anatomy.js";
2
- const e = o.extendWith("group");
3
- export {
4
- e as checkboxAnatomy
5
- };
@@ -1,5 +0,0 @@
1
- import { anatomy as o } from "../../../../../@zag-js/color-picker/dist/color-picker.anatomy.js";
2
- const e = o.extendWith("view");
3
- export {
4
- e as colorPickerAnatomy
5
- };
@@ -1,5 +0,0 @@
1
- import { anatomy as o } from "../../../../../@zag-js/combobox/dist/combobox.anatomy.js";
2
- const m = o.extendWith("empty");
3
- export {
4
- m as comboboxAnatomy
5
- };
@@ -1,5 +0,0 @@
1
- import { anatomy as t } from "../../../../../@zag-js/date-picker/dist/date-picker.anatomy.js";
2
- const o = t.extendWith("view", "valueText");
3
- export {
4
- o as datePickerAnatomy
5
- };
@@ -1,15 +0,0 @@
1
- import { createAnatomy as e } from "../../../../../@zag-js/anatomy/dist/create-anatomy.js";
2
- const t = e("field").parts(
3
- "root",
4
- "errorText",
5
- "helperText",
6
- "input",
7
- "label",
8
- "select",
9
- "textarea",
10
- "requiredIndicator"
11
- );
12
- t.build();
13
- export {
14
- t as fieldAnatomy
15
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as e } from "../../../../../@zag-js/anatomy/dist/create-anatomy.js";
2
- const t = e("fieldset").parts("root", "errorText", "helperText", "legend");
3
- t.build();
4
- export {
5
- t as fieldsetAnatomy
6
- };
@@ -1,2 +0,0 @@
1
- import { anatomy as t } from "../../../../../@zag-js/listbox/dist/listbox.anatomy.js";
2
- t.extendWith("empty");
@@ -1,186 +0,0 @@
1
- import { anatomy as o } from "../../../../@zag-js/dialog/dist/dialog.anatomy.js";
2
- import { createAnatomy as t } from "../../../../@zag-js/anatomy/dist/create-anatomy.js";
3
- import { anatomy as e } from "../../../../@zag-js/menu/dist/menu.anatomy.js";
4
- import { anatomy as a } from "../../../../@zag-js/switch/dist/switch.anatomy.js";
5
- import { fieldsetAnatomy as r } from "../../../../@ark-ui/react/dist/components/fieldset/fieldset.anatomy.js";
6
- import { fieldAnatomy as n } from "../../../../@ark-ui/react/dist/components/field/field.anatomy.js";
7
- import { anatomy as i } from "../../../../@zag-js/radio-group/dist/radio-group.anatomy.js";
8
- import { anatomy as m } from "../../../../@zag-js/accordion/dist/accordion.anatomy.js";
9
- import { datePickerAnatomy as d } from "../../../../@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js";
10
- import { anatomy as s } from "../../../../@zag-js/editable/dist/editable.anatomy.js";
11
- import { anatomy as c } from "../../../../@zag-js/file-upload/dist/file-upload.anatomy.js";
12
- import { anatomy as p } from "../../../../@zag-js/popover/dist/popover.anatomy.js";
13
- import { anatomy as y } from "../../../../@zag-js/rating-group/dist/rating-group.anatomy.js";
14
- import { anatomy as l } from "../../../../@zag-js/select/dist/select.anatomy.js";
15
- import { comboboxAnatomy as f } from "../../../../@ark-ui/react/dist/components/combobox/combobox.anatomy.js";
16
- import { anatomy as h } from "../../../../@zag-js/slider/dist/slider.anatomy.js";
17
- import { colorPickerAnatomy as x } from "../../../../@ark-ui/react/dist/components/color-picker/color-picker.anatomy.js";
18
- import { anatomy as b } from "../../../../@zag-js/splitter/dist/splitter.anatomy.js";
19
- import { anatomy as A } from "../../../../@zag-js/clipboard/dist/clipboard.anatomy.js";
20
- const U = m.extendWith("itemBody");
21
- t("action-bar").parts(
22
- "positioner",
23
- "content",
24
- "separator",
25
- "selectionTrigger",
26
- "closeTrigger"
27
- );
28
- t("alert").parts(
29
- "title",
30
- "description",
31
- "root",
32
- "indicator",
33
- "content"
34
- );
35
- t("breadcrumb").parts(
36
- "link",
37
- "currentLink",
38
- "item",
39
- "list",
40
- "root",
41
- "ellipsis",
42
- "separator"
43
- );
44
- t("blockquote").parts(
45
- "root",
46
- "icon",
47
- "content",
48
- "caption"
49
- );
50
- t("card").parts(
51
- "root",
52
- "header",
53
- "body",
54
- "footer",
55
- "title",
56
- "description"
57
- );
58
- t("data-list").parts(
59
- "root",
60
- "item",
61
- "itemLabel",
62
- "itemValue"
63
- );
64
- d.extendWith("indicatorGroup");
65
- const V = o.extendWith(
66
- "header",
67
- "body",
68
- "footer",
69
- "backdrop"
70
- ), j = o.extendWith(
71
- "header",
72
- "body",
73
- "footer",
74
- "backdrop"
75
- );
76
- s.extendWith("textarea");
77
- const F = n.extendWith("requiredIndicator"), J = r.extendWith("content");
78
- c.extendWith(
79
- "itemContent",
80
- "dropzoneContent",
81
- "fileText"
82
- );
83
- t("list").parts(
84
- "root",
85
- "item",
86
- "indicator"
87
- );
88
- const K = e.extendWith("itemCommand"), M = t("select").parts(
89
- "root",
90
- "field",
91
- "indicator"
92
- );
93
- p.extendWith(
94
- "header",
95
- "body",
96
- "footer"
97
- );
98
- const W = i.extendWith(
99
- "itemAddon",
100
- "itemIndicator"
101
- );
102
- W.extendWith(
103
- "itemContent",
104
- "itemDescription"
105
- );
106
- y.extendWith("itemIndicator");
107
- l.extendWith("indicatorGroup");
108
- f.extendWith(
109
- "indicatorGroup",
110
- "empty"
111
- );
112
- h.extendWith(
113
- "markerIndicator",
114
- "markerLabel"
115
- );
116
- t("stat").parts(
117
- "root",
118
- "label",
119
- "helpText",
120
- "valueText",
121
- "valueUnit",
122
- "indicator"
123
- );
124
- t("status").parts("root", "indicator");
125
- const N = a.extendWith("indicator");
126
- t("table").parts(
127
- "root",
128
- "header",
129
- "body",
130
- "row",
131
- "columnHeader",
132
- "cell",
133
- "footer",
134
- "caption"
135
- );
136
- t("toast").parts(
137
- "root",
138
- "title",
139
- "description",
140
- "indicator",
141
- "closeTrigger",
142
- "actionTrigger"
143
- );
144
- const O = t("tabs").parts(
145
- "root",
146
- "trigger",
147
- "list",
148
- "content",
149
- "contentGroup",
150
- "indicator"
151
- ), Q = t("tag").parts(
152
- "root",
153
- "label",
154
- "closeTrigger",
155
- "startElement",
156
- "endElement"
157
- );
158
- t("timeline").parts(
159
- "root",
160
- "item",
161
- "content",
162
- "separator",
163
- "indicator",
164
- "connector",
165
- "title",
166
- "description"
167
- );
168
- x.extendWith("channelText");
169
- b.extendWith(
170
- "resizeTriggerSeparator",
171
- "resizeTriggerIndicator"
172
- );
173
- A.extendWith("valueText");
174
- export {
175
- U as accordionAnatomy,
176
- V as dialogAnatomy,
177
- j as drawerAnatomy,
178
- F as fieldAnatomy,
179
- J as fieldsetAnatomy,
180
- K as menuAnatomy,
181
- M as nativeSelectAnatomy,
182
- W as radioGroupAnatomy,
183
- N as switchAnatomy,
184
- O as tabsAnatomy,
185
- Q as tagAnatomy
186
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
- var o = t("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator");
3
- o.build();
4
- export {
5
- o as anatomy
6
- };
@@ -1,26 +0,0 @@
1
- var c = (e, a = []) => ({
2
- parts: (...t) => {
3
- if (d(a))
4
- return c(e, t);
5
- throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
6
- },
7
- extendWith: (...t) => c(e, [...a, ...t]),
8
- omit: (...t) => c(e, a.filter((o) => !t.includes(o))),
9
- rename: (t) => c(t, a),
10
- keys: () => a,
11
- build: () => [...new Set(a)].reduce(
12
- (t, o) => Object.assign(t, {
13
- [o]: {
14
- selector: [
15
- `&[data-scope="${r(e)}"][data-part="${r(o)}"]`,
16
- `& [data-scope="${r(e)}"][data-part="${r(o)}"]`
17
- ].join(", "),
18
- attrs: { "data-scope": r(e), "data-part": r(o) }
19
- }
20
- }),
21
- {}
22
- )
23
- }), r = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), d = (e) => e.length === 0;
24
- export {
25
- c as createAnatomy
26
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as o } from "../../anatomy/dist/create-anatomy.js";
2
- var r = o("checkbox").parts("root", "label", "control", "indicator");
3
- r.build();
4
- export {
5
- r as anatomy
6
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var o = r("clipboard").parts("root", "control", "trigger", "indicator", "input", "label");
3
- o.build();
4
- export {
5
- o as anatomy
6
- };
@@ -1,31 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var e = r("color-picker", [
3
- "root",
4
- "label",
5
- "control",
6
- "trigger",
7
- "positioner",
8
- "content",
9
- "area",
10
- "areaThumb",
11
- "valueText",
12
- "areaBackground",
13
- "channelSlider",
14
- "channelSliderLabel",
15
- "channelSliderTrack",
16
- "channelSliderThumb",
17
- "channelSliderValueText",
18
- "channelInput",
19
- "transparencyGrid",
20
- "swatchGroup",
21
- "swatchTrigger",
22
- "swatchIndicator",
23
- "swatch",
24
- "eyeDropperTrigger",
25
- "formatTrigger",
26
- "formatSelect"
27
- ]);
28
- e.build();
29
- export {
30
- e as anatomy
31
- };
@@ -1,21 +0,0 @@
1
- import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
- var o = t("combobox").parts(
3
- "root",
4
- "clearTrigger",
5
- "content",
6
- "control",
7
- "input",
8
- "item",
9
- "itemGroup",
10
- "itemGroupLabel",
11
- "itemIndicator",
12
- "itemText",
13
- "label",
14
- "list",
15
- "positioner",
16
- "trigger"
17
- );
18
- o.build();
19
- export {
20
- o as anatomy
21
- };
@@ -1,31 +0,0 @@
1
- import { createAnatomy as e } from "../../anatomy/dist/create-anatomy.js";
2
- var r = e("date-picker").parts(
3
- "clearTrigger",
4
- "content",
5
- "control",
6
- "input",
7
- "label",
8
- "monthSelect",
9
- "nextTrigger",
10
- "positioner",
11
- "presetTrigger",
12
- "prevTrigger",
13
- "rangeText",
14
- "root",
15
- "table",
16
- "tableBody",
17
- "tableCell",
18
- "tableCellTrigger",
19
- "tableHead",
20
- "tableHeader",
21
- "tableRow",
22
- "trigger",
23
- "view",
24
- "viewControl",
25
- "viewTrigger",
26
- "yearSelect"
27
- );
28
- r.build();
29
- export {
30
- r as anatomy
31
- };
@@ -1,14 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var t = r("dialog").parts(
3
- "trigger",
4
- "backdrop",
5
- "positioner",
6
- "content",
7
- "title",
8
- "description",
9
- "closeTrigger"
10
- );
11
- t.build();
12
- export {
13
- t as anatomy
14
- };
@@ -1,16 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var e = r("editable").parts(
3
- "root",
4
- "area",
5
- "label",
6
- "preview",
7
- "input",
8
- "editTrigger",
9
- "submitTrigger",
10
- "cancelTrigger",
11
- "control"
12
- );
13
- e.build();
14
- export {
15
- e as anatomy
16
- };
@@ -1,19 +0,0 @@
1
- import { createAnatomy as e } from "../../anatomy/dist/create-anatomy.js";
2
- var r = e("file-upload").parts(
3
- "root",
4
- "dropzone",
5
- "item",
6
- "itemDeleteTrigger",
7
- "itemGroup",
8
- "itemName",
9
- "itemPreview",
10
- "itemPreviewImage",
11
- "itemSizeText",
12
- "label",
13
- "trigger",
14
- "clearTrigger"
15
- );
16
- r.build();
17
- export {
18
- r as anatomy
19
- };
@@ -1,17 +0,0 @@
1
- import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
- var e = t("listbox").parts(
3
- "label",
4
- "input",
5
- "item",
6
- "itemText",
7
- "itemIndicator",
8
- "itemGroup",
9
- "itemGroupLabel",
10
- "content",
11
- "root",
12
- "valueText"
13
- );
14
- e.build();
15
- export {
16
- e as anatomy
17
- };
@@ -1,21 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var t = r("menu").parts(
3
- "arrow",
4
- "arrowTip",
5
- "content",
6
- "contextTrigger",
7
- "indicator",
8
- "item",
9
- "itemGroup",
10
- "itemGroupLabel",
11
- "itemIndicator",
12
- "itemText",
13
- "positioner",
14
- "separator",
15
- "trigger",
16
- "triggerItem"
17
- );
18
- t.build();
19
- export {
20
- t as anatomy
21
- };
@@ -1,17 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var o = r("popover").parts(
3
- "arrow",
4
- "arrowTip",
5
- "anchor",
6
- "trigger",
7
- "indicator",
8
- "positioner",
9
- "content",
10
- "title",
11
- "description",
12
- "closeTrigger"
13
- );
14
- o.build();
15
- export {
16
- o as anatomy
17
- };
@@ -1,13 +0,0 @@
1
- import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
- var o = t("radio-group").parts(
3
- "root",
4
- "label",
5
- "item",
6
- "itemText",
7
- "itemControl",
8
- "indicator"
9
- );
10
- o.build();
11
- export {
12
- o as anatomy
13
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as o } from "../../anatomy/dist/create-anatomy.js";
2
- var r = o("rating-group").parts("root", "label", "item", "control");
3
- r.build();
4
- export {
5
- r as anatomy
6
- };
@@ -1,22 +0,0 @@
1
- import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
- var e = t("select").parts(
3
- "label",
4
- "positioner",
5
- "trigger",
6
- "indicator",
7
- "clearTrigger",
8
- "item",
9
- "itemText",
10
- "itemIndicator",
11
- "itemGroup",
12
- "itemGroupLabel",
13
- "list",
14
- "content",
15
- "root",
16
- "control",
17
- "valueText"
18
- );
19
- e.build();
20
- export {
21
- e as anatomy
22
- };
@@ -1,17 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var a = r("slider").parts(
3
- "root",
4
- "label",
5
- "thumb",
6
- "valueText",
7
- "track",
8
- "range",
9
- "control",
10
- "markerGroup",
11
- "marker",
12
- "draggingIndicator"
13
- );
14
- a.build();
15
- export {
16
- a as anatomy
17
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as r } from "../../anatomy/dist/create-anatomy.js";
2
- var e = r("splitter").parts("root", "panel", "resizeTrigger", "resizeTriggerIndicator");
3
- e.build();
4
- export {
5
- e as anatomy
6
- };
@@ -1,6 +0,0 @@
1
- import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
- var o = t("switch").parts("root", "label", "control", "thumb");
3
- o.build();
4
- export {
5
- o as anatomy
6
- };