@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.
- package/dist/components/accordion/accordion-recipe.js +1 -1
- package/dist/components/checkbox/checkbox-recipe.js +1 -1
- package/dist/components/drawer/drawer-recipe.js +1 -1
- package/dist/components/fieldset/fieldset-recipe.js +1 -1
- package/dist/components/form-control/form-control-recipe.js +1 -1
- package/dist/components/menu/menu-recipe.js +1 -1
- package/dist/components/modal/modal-recipe.js +1 -1
- package/dist/components/radio/radio-group-recipe.js +1 -1
- package/dist/components/select/select-recipe.js +1 -1
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/spinner.composition.d.ts +3 -0
- package/dist/components/spinner/spinner.composition.d.ts.map +1 -0
- package/dist/components/spinner/spinner.d.ts +3 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.js +52 -0
- package/dist/components/spinner/spinner.spec.d.ts +2 -0
- package/dist/components/spinner/spinner.spec.d.ts.map +1 -0
- package/dist/components/spinner/spinner.visual.test.d.ts +2 -0
- package/dist/components/spinner/spinner.visual.test.d.ts.map +1 -0
- package/dist/components/spinner/types.d.ts +6 -0
- package/dist/components/spinner/types.d.ts.map +1 -0
- package/dist/components/switch/switch-recipe.js +1 -1
- package/dist/components/tabs/tabs-recipe.js +1 -1
- package/dist/components/tag/tag-recipe.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +171 -169
- package/package.json +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox.anatomy.js +0 -5
- package/dist/node_modules/@ark-ui/react/dist/components/color-picker/color-picker.anatomy.js +0 -5
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox.anatomy.js +0 -5
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js +0 -5
- package/dist/node_modules/@ark-ui/react/dist/components/field/field.anatomy.js +0 -15
- package/dist/node_modules/@ark-ui/react/dist/components/fieldset/fieldset.anatomy.js +0 -6
- package/dist/node_modules/@ark-ui/react/dist/components/listbox/listbox.anatomy.js +0 -2
- package/dist/node_modules/@chakra-ui/react/dist/esm/anatomy.js +0 -186
- package/dist/node_modules/@zag-js/accordion/dist/accordion.anatomy.js +0 -6
- package/dist/node_modules/@zag-js/anatomy/dist/create-anatomy.js +0 -26
- package/dist/node_modules/@zag-js/checkbox/dist/checkbox.anatomy.js +0 -6
- package/dist/node_modules/@zag-js/clipboard/dist/clipboard.anatomy.js +0 -6
- package/dist/node_modules/@zag-js/color-picker/dist/color-picker.anatomy.js +0 -31
- package/dist/node_modules/@zag-js/combobox/dist/combobox.anatomy.js +0 -21
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.anatomy.js +0 -31
- package/dist/node_modules/@zag-js/dialog/dist/dialog.anatomy.js +0 -14
- package/dist/node_modules/@zag-js/editable/dist/editable.anatomy.js +0 -16
- package/dist/node_modules/@zag-js/file-upload/dist/file-upload.anatomy.js +0 -19
- package/dist/node_modules/@zag-js/listbox/dist/listbox.anatomy.js +0 -17
- package/dist/node_modules/@zag-js/menu/dist/menu.anatomy.js +0 -21
- package/dist/node_modules/@zag-js/popover/dist/popover.anatomy.js +0 -17
- package/dist/node_modules/@zag-js/radio-group/dist/radio-group.anatomy.js +0 -13
- package/dist/node_modules/@zag-js/rating-group/dist/rating-group.anatomy.js +0 -6
- package/dist/node_modules/@zag-js/select/dist/select.anatomy.js +0 -22
- package/dist/node_modules/@zag-js/slider/dist/slider.anatomy.js +0 -17
- package/dist/node_modules/@zag-js/splitter/dist/splitter.anatomy.js +0 -6
- 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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.spec.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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 {
|
|
312
|
-
import {
|
|
313
|
-
import {
|
|
314
|
-
import {
|
|
315
|
-
import {
|
|
316
|
-
import {
|
|
317
|
-
import {
|
|
318
|
-
import {
|
|
319
|
-
import {
|
|
320
|
-
import {
|
|
321
|
-
import {
|
|
322
|
-
import {
|
|
323
|
-
import {
|
|
324
|
-
import {
|
|
325
|
-
import {
|
|
326
|
-
import {
|
|
327
|
-
import {
|
|
328
|
-
import {
|
|
329
|
-
import {
|
|
330
|
-
import {
|
|
331
|
-
import {
|
|
332
|
-
import {
|
|
333
|
-
import {
|
|
334
|
-
import {
|
|
335
|
-
import {
|
|
336
|
-
import {
|
|
337
|
-
import {
|
|
338
|
-
import {
|
|
339
|
-
import {
|
|
340
|
-
import {
|
|
341
|
-
import {
|
|
342
|
-
import {
|
|
343
|
-
import {
|
|
344
|
-
import {
|
|
345
|
-
import {
|
|
346
|
-
import {
|
|
347
|
-
import {
|
|
348
|
-
import {
|
|
349
|
-
import {
|
|
350
|
-
import {
|
|
351
|
-
import {
|
|
352
|
-
import {
|
|
353
|
-
import {
|
|
354
|
-
import {
|
|
355
|
-
import {
|
|
356
|
-
import {
|
|
357
|
-
import {
|
|
358
|
-
import {
|
|
359
|
-
import {
|
|
360
|
-
import {
|
|
361
|
-
import {
|
|
362
|
-
import {
|
|
363
|
-
import {
|
|
364
|
-
import {
|
|
365
|
-
import {
|
|
366
|
-
import {
|
|
367
|
-
import {
|
|
368
|
-
import {
|
|
369
|
-
import {
|
|
370
|
-
import {
|
|
371
|
-
import {
|
|
372
|
-
import {
|
|
373
|
-
import {
|
|
374
|
-
import {
|
|
375
|
-
import {
|
|
376
|
-
import {
|
|
377
|
-
import {
|
|
378
|
-
import {
|
|
379
|
-
import {
|
|
380
|
-
import {
|
|
381
|
-
import {
|
|
382
|
-
import {
|
|
383
|
-
import {
|
|
384
|
-
import {
|
|
385
|
-
import {
|
|
386
|
-
import {
|
|
387
|
-
import {
|
|
388
|
-
import {
|
|
389
|
-
import {
|
|
390
|
-
import {
|
|
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
|
|
702
|
-
HI as
|
|
703
|
-
vI as
|
|
704
|
-
UI as
|
|
705
|
-
WI as
|
|
706
|
-
NI as
|
|
707
|
-
KI as
|
|
708
|
-
jI as
|
|
709
|
-
qI as
|
|
710
|
-
YI as
|
|
711
|
-
_I as
|
|
712
|
-
oa as
|
|
713
|
-
ea as
|
|
714
|
-
na as
|
|
715
|
-
pa as
|
|
716
|
-
xa as
|
|
717
|
-
Ia as
|
|
718
|
-
ia as
|
|
719
|
-
da as
|
|
720
|
-
ua as
|
|
721
|
-
Ta as
|
|
722
|
-
ha as
|
|
723
|
-
Pa as
|
|
724
|
-
Sa as
|
|
725
|
-
ya as
|
|
726
|
-
Ba as
|
|
727
|
-
Da as
|
|
728
|
-
wa as
|
|
729
|
-
Ha as
|
|
730
|
-
va as
|
|
731
|
-
Ua as
|
|
732
|
-
Wa as
|
|
733
|
-
Na as
|
|
734
|
-
Ka as
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
ni as
|
|
746
|
-
pi as
|
|
747
|
-
xi as
|
|
748
|
-
Ii as
|
|
749
|
-
ii as
|
|
750
|
-
di as
|
|
751
|
-
ui as
|
|
752
|
-
Ti as
|
|
753
|
-
hi as
|
|
754
|
-
Pi as
|
|
755
|
-
Si as
|
|
756
|
-
yi as
|
|
757
|
-
Bi as
|
|
758
|
-
Di as
|
|
759
|
-
wi as
|
|
760
|
-
Hi as
|
|
761
|
-
vi as
|
|
762
|
-
Ui as
|
|
763
|
-
Wi as
|
|
764
|
-
Ni as
|
|
765
|
-
Ki as
|
|
766
|
-
ji as
|
|
767
|
-
qi as
|
|
768
|
-
Yi as
|
|
769
|
-
_i as
|
|
770
|
-
ol as
|
|
771
|
-
el as
|
|
772
|
-
nl as
|
|
773
|
-
pl as
|
|
774
|
-
xl as
|
|
775
|
-
Il as
|
|
776
|
-
il as
|
|
777
|
-
dl as
|
|
778
|
-
ul as
|
|
779
|
-
Tl as
|
|
780
|
-
hl as
|
|
781
|
-
Pl as
|
|
782
|
-
Sl as
|
|
783
|
-
yl as
|
|
784
|
-
Bl as
|
|
785
|
-
|
|
786
|
-
Fl as
|
|
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
|
-
|
|
790
|
-
|
|
791
|
-
|
|
791
|
+
Rl as useRichTextEditor,
|
|
792
|
+
Vl as useRichTextEditorContext,
|
|
793
|
+
Gl as useTableContext
|
|
792
794
|
};
|
package/package.json
CHANGED
|
@@ -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,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,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,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,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
|
-
};
|