@pyck/react 0.0.6 → 0.0.8

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 (82) hide show
  1. package/dist/{checkmark-fJPHeX8N.js → checkmark-rF75Pk98.js} +16 -3
  2. package/dist/{close-button-r3blTfSH.js → close-button-DAgpEZYq.js} +38 -7
  3. package/dist/components/avatar/index.js +27 -14
  4. package/dist/components/button/index.js +1 -1
  5. package/dist/components/carousel/index.js +22 -7
  6. package/dist/components/checkbox/index.d.ts +1 -1
  7. package/dist/components/checkbox/index.js +59 -23
  8. package/dist/components/checkmark/index.js +1 -1
  9. package/dist/components/clipboard/index.js +3 -2
  10. package/dist/components/combobox/index.js +20 -7
  11. package/dist/components/data-list/index.d.ts +3 -2
  12. package/dist/components/data-list/index.js +8 -4
  13. package/dist/components/date-picker/index.js +17 -10
  14. package/dist/components/dialog/index.d.ts +1 -1
  15. package/dist/components/dialog/index.js +118 -88
  16. package/dist/components/display-date-value/index.d.ts +1 -1
  17. package/dist/components/display-date-value/index.js +2 -2
  18. package/dist/components/display-value/index.js +1 -1
  19. package/dist/components/drawer/index.d.ts +1 -1
  20. package/dist/components/drawer/index.js +6 -1
  21. package/dist/components/drilldown-menu/index.js +70 -20
  22. package/dist/components/field/index.js +30 -20
  23. package/dist/components/floating-panel/index.d.ts +1 -1
  24. package/dist/components/floating-panel/index.js +46 -9
  25. package/dist/components/form/index.d.ts +1 -1
  26. package/dist/components/form/index.js +40 -13
  27. package/dist/components/highlight/index.d.ts +1 -1
  28. package/dist/components/highlight/index.js +13 -2
  29. package/dist/components/icon/index.d.ts +1 -1
  30. package/dist/components/icon/index.js +1 -1
  31. package/dist/components/image/index.js +7 -1
  32. package/dist/components/input/index.d.ts +1 -1
  33. package/dist/components/input/index.js +22 -2
  34. package/dist/components/input-group/index.js +28 -5
  35. package/dist/components/json-form-builder/index.d.ts +1 -1
  36. package/dist/components/json-form-builder/index.js +166 -40
  37. package/dist/components/loader/index.js +35 -15
  38. package/dist/components/logo/index.js +58 -7
  39. package/dist/components/menu/index.d.ts +1 -1
  40. package/dist/components/menu/index.js +18 -6
  41. package/dist/components/number-input/index.d.ts +1 -1
  42. package/dist/components/number-input/index.js +27 -11
  43. package/dist/components/page-header/index.js +28 -6
  44. package/dist/components/pagination/index.d.ts +1 -1
  45. package/dist/components/pagination/index.js +20 -3
  46. package/dist/components/picker/index.js +56 -28
  47. package/dist/components/popover/index.d.ts +1 -1
  48. package/dist/components/popover/index.js +2 -1
  49. package/dist/components/progress/index.js +14 -19
  50. package/dist/components/progress-circle/index.js +23 -20
  51. package/dist/components/radio-group/index.js +17 -17
  52. package/dist/components/scroll-area/index.js +22 -16
  53. package/dist/components/segment-group/index.d.ts +1 -1
  54. package/dist/components/segment-group/index.js +7 -1
  55. package/dist/components/select/index.d.ts +1 -1
  56. package/dist/components/select/index.js +43 -10
  57. package/dist/components/show/index.js +1 -1
  58. package/dist/components/skeleton/index.js +13 -2
  59. package/dist/components/slider/index.d.ts +1 -0
  60. package/dist/components/slider/index.js +55 -33
  61. package/dist/components/spotlight/index.js +208 -31
  62. package/dist/components/steps/index.js +15 -7
  63. package/dist/components/switch/index.d.ts +1 -1
  64. package/dist/components/switch/index.js +65 -29
  65. package/dist/components/table/index.d.ts +1 -1
  66. package/dist/components/table/index.js +79 -15
  67. package/dist/components/tags-input/index.d.ts +1 -1
  68. package/dist/components/tags-input/index.js +9 -3
  69. package/dist/components/textarea/index.d.ts +1 -1
  70. package/dist/components/textarea/index.js +21 -2
  71. package/dist/components/toast/index.d.ts +1 -1
  72. package/dist/components/toast/index.js +32 -4
  73. package/dist/components/tooltip/index.d.ts +1 -1
  74. package/dist/components/tooltip/index.js +21 -16
  75. package/dist/components/tree-view/index.d.ts +1 -1
  76. package/dist/components/tree-view/index.js +25 -6
  77. package/dist/{display-date-value-BAU46P8s.js → display-date-value-Ca7v5jK7.js} +7 -2
  78. package/dist/{display-date-value-CdfgVuB7.d.ts → display-date-value-RbzRgYHt.d.ts} +1 -1
  79. package/dist/{display-value-Bz71ZqgM.js → display-value-DDIH9kvx.js} +29 -5
  80. package/dist/{featured-icon-CKDv0xfF.js → featured-icon-DBnAKGXC.js} +6 -2
  81. package/dist/{show-DAysVQAC.js → show-B7zG1Vci.js} +2 -1
  82. package/package.json +4 -3
@@ -3,6 +3,7 @@ import { forwardRef } from "react";
3
3
  import { ark } from "@ark-ui/react/factory";
4
4
  import { styled } from "@pyck/styled-system/jsx";
5
5
  import { checkmark } from "@pyck/styled-system/recipes";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
6
7
  import { dataAttr } from "@pyck/react/utils";
7
8
 
8
9
  //#region src/components/checkmark/checkmark.tsx
@@ -35,19 +36,31 @@ const Checkmark = forwardRef(function Checkmark(props, ref) {
35
36
  } else t1 = $[6];
36
37
  let t2;
37
38
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
38
- t2 = <title>Checkmark</title>;
39
+ t2 = /* @__PURE__ */ jsx("title", { children: "Checkmark" });
39
40
  $[7] = t2;
40
41
  } else t2 = $[7];
41
42
  let t3;
42
43
  if ($[8] !== checked || $[9] !== indeterminate) {
43
- t3 = indeterminate ? <path d="M5 12h14" /> : checked ? <path d="M20 6 9 17l-5-5" /> : null;
44
+ t3 = indeterminate ? /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) : checked ? /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" }) : null;
44
45
  $[8] = checked;
45
46
  $[9] = indeterminate;
46
47
  $[10] = t3;
47
48
  } else t3 = $[10];
48
49
  let t4;
49
50
  if ($[11] !== ref || $[12] !== rest || $[13] !== t0 || $[14] !== t1 || $[15] !== t3) {
50
- t4 = <StyledCheckmark ref={ref} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3px" strokeLinecap="round" strokeLinejoin="round" data-state={t0} data-disabled={t1} {...rest}>{t2}{t3}</StyledCheckmark>;
51
+ t4 = /* @__PURE__ */ jsxs(StyledCheckmark, {
52
+ ref,
53
+ viewBox: "0 0 24 24",
54
+ fill: "none",
55
+ stroke: "currentColor",
56
+ strokeWidth: "3px",
57
+ strokeLinecap: "round",
58
+ strokeLinejoin: "round",
59
+ "data-state": t0,
60
+ "data-disabled": t1,
61
+ ...rest,
62
+ children: [t2, t3]
63
+ });
51
64
  $[11] = ref;
52
65
  $[12] = rest;
53
66
  $[13] = t0;
@@ -5,6 +5,7 @@ import { ark } from "@ark-ui/react/factory";
5
5
  import { styled } from "@pyck/styled-system/jsx";
6
6
  import { button } from "@pyck/styled-system/recipes";
7
7
  import { XIcon } from "lucide-react";
8
+ import { jsx } from "react/jsx-runtime";
8
9
  import { Loader } from "@pyck/react/loader";
9
10
  import { Group } from "@pyck/react/group";
10
11
 
@@ -20,14 +21,20 @@ const ButtonGroup = forwardRef(function ButtonGroup(props, ref) {
20
21
  const [variantProps, otherProps] = t0;
21
22
  let t1;
22
23
  if ($[2] !== otherProps || $[3] !== ref) {
23
- t1 = <Group ref={ref} {...otherProps} />;
24
+ t1 = /* @__PURE__ */ jsx(Group, {
25
+ ref,
26
+ ...otherProps
27
+ });
24
28
  $[2] = otherProps;
25
29
  $[3] = ref;
26
30
  $[4] = t1;
27
31
  } else t1 = $[4];
28
32
  let t2;
29
33
  if ($[5] !== t1 || $[6] !== variantProps) {
30
- t2 = <ButtonPropsProvider value={variantProps}>{t1}</ButtonPropsProvider>;
34
+ t2 = /* @__PURE__ */ jsx(ButtonPropsProvider, {
35
+ value: variantProps,
36
+ children: t1
37
+ });
31
38
  $[5] = t1;
32
39
  $[6] = variantProps;
33
40
  $[7] = t2;
@@ -82,7 +89,12 @@ const Button = forwardRef(function Button(props, ref) {
82
89
  const t2 = loading || rest.disabled;
83
90
  let t3;
84
91
  if ($[10] !== children || $[11] !== loading || $[12] !== loadingText || $[13] !== props.asChild || $[14] !== spinner || $[15] !== spinnerPlacement) {
85
- t3 = !props.asChild && loading ? <Loader spinner={spinner} text={loadingText} spinnerPlacement={spinnerPlacement}>{children}</Loader> : children;
92
+ t3 = !props.asChild && loading ? /* @__PURE__ */ jsx(Loader, {
93
+ spinner,
94
+ text: loadingText,
95
+ spinnerPlacement,
96
+ children
97
+ }) : children;
86
98
  $[10] = children;
87
99
  $[11] = loading;
88
100
  $[12] = loadingText;
@@ -93,7 +105,14 @@ const Button = forwardRef(function Button(props, ref) {
93
105
  } else t3 = $[16];
94
106
  let t4;
95
107
  if ($[17] !== ref || $[18] !== rest || $[19] !== t1 || $[20] !== t2 || $[21] !== t3) {
96
- t4 = <BaseButton type="button" ref={ref} {...rest} data-loading={t1} disabled={t2}>{t3}</BaseButton>;
108
+ t4 = /* @__PURE__ */ jsx(BaseButton, {
109
+ type: "button",
110
+ ref,
111
+ ...rest,
112
+ "data-loading": t1,
113
+ disabled: t2,
114
+ children: t3
115
+ });
97
116
  $[17] = ref;
98
117
  $[18] = rest;
99
118
  $[19] = t1;
@@ -110,7 +129,12 @@ const IconButton = forwardRef(function IconButton(props, ref) {
110
129
  const $ = c(3);
111
130
  let t0;
112
131
  if ($[0] !== props || $[1] !== ref) {
113
- t0 = <Button px="0" py="0" ref={ref} {...props} />;
132
+ t0 = /* @__PURE__ */ jsx(Button, {
133
+ px: "0",
134
+ py: "0",
135
+ ref,
136
+ ...props
137
+ });
114
138
  $[0] = props;
115
139
  $[1] = ref;
116
140
  $[2] = t0;
@@ -124,12 +148,19 @@ const CloseButton = forwardRef(function CloseButton(props, ref) {
124
148
  const $ = c(4);
125
149
  let t0;
126
150
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
127
- t0 = <XIcon />;
151
+ t0 = /* @__PURE__ */ jsx(XIcon, {});
128
152
  $[0] = t0;
129
153
  } else t0 = $[0];
130
154
  let t1;
131
155
  if ($[1] !== props || $[2] !== ref) {
132
- t1 = <IconButton variant="plain" color="fg.muted" aria-label="Close" ref={ref} {...props}>{t0}</IconButton>;
156
+ t1 = /* @__PURE__ */ jsx(IconButton, {
157
+ variant: "plain",
158
+ color: "fg.muted",
159
+ "aria-label": "Close",
160
+ ref,
161
+ ...props,
162
+ children: t0
163
+ });
133
164
  $[1] = props;
134
165
  $[2] = ref;
135
166
  $[3] = t1;
@@ -1,19 +1,12 @@
1
- import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
1
  import { c } from "react/compiler-runtime";
3
2
  import { forwardRef } from "react";
4
3
  import { createStyleContext } from "@pyck/styled-system/jsx";
5
4
  import { avatar } from "@pyck/styled-system/recipes";
6
- import { Avatar as Avatar$1, AvatarContext as Context } from "@ark-ui/react/avatar";
5
+ import { Avatar as Avatar$1 } from "@ark-ui/react/avatar";
7
6
  import { UserIcon } from "lucide-react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
9
  //#region src/components/avatar/avatar.tsx
10
- var avatar_exports = /* @__PURE__ */ __exportAll({
11
- Context: () => Context,
12
- Fallback: () => Fallback,
13
- Image: () => Image,
14
- Root: () => Root,
15
- RootProvider: () => RootProvider
16
- });
17
10
  const { withProvider, withContext } = createStyleContext(avatar);
18
11
  const Root = withProvider(Avatar$1.Root, "root");
19
12
  const RootProvider = withProvider(Avatar$1.RootProvider, "root");
@@ -44,7 +37,7 @@ const Fallback = forwardRef(function Fallback(props, ref) {
44
37
  }
45
38
  let t0;
46
39
  if ($[5] !== asChild || $[6] !== children || $[7] !== name) {
47
- t0 = children || asChild ? children : name ? getInitials(name) : <UserIcon />;
40
+ t0 = children || asChild ? children : name ? getInitials(name) : /* @__PURE__ */ jsx(UserIcon, {});
48
41
  $[5] = asChild;
49
42
  $[6] = children;
50
43
  $[7] = name;
@@ -53,7 +46,11 @@ const Fallback = forwardRef(function Fallback(props, ref) {
53
46
  const fallbackContent = t0;
54
47
  let t1;
55
48
  if ($[9] !== fallbackContent || $[10] !== ref || $[11] !== rest) {
56
- t1 = <StyledFallback ref={ref} {...rest}>{fallbackContent}</StyledFallback>;
49
+ t1 = /* @__PURE__ */ jsx(StyledFallback, {
50
+ ref,
51
+ ...rest,
52
+ children: fallbackContent
53
+ });
57
54
  $[9] = fallbackContent;
58
55
  $[10] = ref;
59
56
  $[11] = rest;
@@ -106,7 +103,10 @@ const Avatar = forwardRef(function Avatar(props, ref) {
106
103
  const t0 = fallback || icon;
107
104
  let t1;
108
105
  if ($[9] !== name || $[10] !== t0) {
109
- t1 = <avatar_exports.Fallback name={name}>{t0}</avatar_exports.Fallback>;
106
+ t1 = /* @__PURE__ */ jsx(Fallback, {
107
+ name,
108
+ children: t0
109
+ });
110
110
  $[9] = name;
111
111
  $[10] = t0;
112
112
  $[11] = t1;
@@ -114,7 +114,12 @@ const Avatar = forwardRef(function Avatar(props, ref) {
114
114
  const t2 = src ?? void 0;
115
115
  let t3;
116
116
  if ($[12] !== loading || $[13] !== name || $[14] !== srcSet || $[15] !== t2) {
117
- t3 = <avatar_exports.Image src={t2} srcSet={srcSet} loading={loading} alt={name} />;
117
+ t3 = /* @__PURE__ */ jsx(Image, {
118
+ src: t2,
119
+ srcSet,
120
+ loading,
121
+ alt: name
122
+ });
118
123
  $[12] = loading;
119
124
  $[13] = name;
120
125
  $[14] = srcSet;
@@ -123,7 +128,15 @@ const Avatar = forwardRef(function Avatar(props, ref) {
123
128
  } else t3 = $[16];
124
129
  let t4;
125
130
  if ($[17] !== children || $[18] !== ref || $[19] !== rest || $[20] !== t1 || $[21] !== t3) {
126
- t4 = <avatar_exports.Root ref={ref} {...rest}>{t1}{t3}{children}</avatar_exports.Root>;
131
+ t4 = /* @__PURE__ */ jsxs(Root, {
132
+ ref,
133
+ ...rest,
134
+ children: [
135
+ t1,
136
+ t3,
137
+ children
138
+ ]
139
+ });
127
140
  $[17] = children;
128
141
  $[18] = ref;
129
142
  $[19] = rest;
@@ -1,3 +1,3 @@
1
- import { i as ButtonGroup, n as IconButton, r as Button, t as CloseButton } from "../../close-button-r3blTfSH.js";
1
+ import { i as ButtonGroup, n as IconButton, r as Button, t as CloseButton } from "../../close-button-DAgpEZYq.js";
2
2
 
3
3
  export { Button, ButtonGroup, CloseButton, IconButton };
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
- import { n as IconButton } from "../../close-button-r3blTfSH.js";
2
+ import { n as IconButton } from "../../close-button-DAgpEZYq.js";
3
3
  import "../button/index.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { forwardRef } from "react";
@@ -7,6 +7,7 @@ import { ark } from "@ark-ui/react/factory";
7
7
  import { createStyleContext } from "@pyck/styled-system/jsx";
8
8
  import { carousel } from "@pyck/styled-system/recipes";
9
9
  import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
10
+ import { jsx } from "react/jsx-runtime";
10
11
  import { Carousel, CarouselContext as Context, useCarouselContext } from "@ark-ui/react/carousel";
11
12
 
12
13
  //#region src/components/carousel/carousel.tsx
@@ -39,27 +40,37 @@ const NextTriggerChild = () => {
39
40
  const $ = c(1);
40
41
  let t0;
41
42
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
42
- t0 = <IconButton size="sm" variant="plain" aria-label="Next slide"><ChevronRightIcon /></IconButton>;
43
+ t0 = /* @__PURE__ */ jsx(IconButton, {
44
+ size: "sm",
45
+ variant: "plain",
46
+ "aria-label": "Next slide",
47
+ children: /* @__PURE__ */ jsx(ChevronRightIcon, {})
48
+ });
43
49
  $[0] = t0;
44
50
  } else t0 = $[0];
45
51
  return t0;
46
52
  };
47
53
  const NextTrigger = withContext(Carousel.NextTrigger, "nextTrigger", { defaultProps: {
48
54
  asChild: true,
49
- children: <NextTriggerChild />
55
+ children: /* @__PURE__ */ jsx(NextTriggerChild, {})
50
56
  } });
51
57
  const PrevTriggerChild = () => {
52
58
  const $ = c(1);
53
59
  let t0;
54
60
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
55
- t0 = <IconButton size="sm" variant="plain" aria-label="Previous slide"><ChevronLeftIcon /></IconButton>;
61
+ t0 = /* @__PURE__ */ jsx(IconButton, {
62
+ size: "sm",
63
+ variant: "plain",
64
+ "aria-label": "Previous slide",
65
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon, {})
66
+ });
56
67
  $[0] = t0;
57
68
  } else t0 = $[0];
58
69
  return t0;
59
70
  };
60
71
  const PrevTrigger = withContext(Carousel.PrevTrigger, "prevTrigger", { defaultProps: {
61
72
  asChild: true,
62
- children: <PrevTriggerChild />
73
+ children: /* @__PURE__ */ jsx(PrevTriggerChild, {})
63
74
  } });
64
75
  const Image = withContext(ark.img, "image");
65
76
  const StyledIndicatorGroup = withContext(Carousel.IndicatorGroup, "indicatorGroup");
@@ -74,7 +85,11 @@ const IndicatorGroup = forwardRef((props, ref) => {
74
85
  } else t0 = $[1];
75
86
  let t1;
76
87
  if ($[2] !== props || $[3] !== ref || $[4] !== t0) {
77
- t1 = <StyledIndicatorGroup {...props} ref={ref}>{t0}</StyledIndicatorGroup>;
88
+ t1 = /* @__PURE__ */ jsx(StyledIndicatorGroup, {
89
+ ...props,
90
+ ref,
91
+ children: t0
92
+ });
78
93
  $[2] = props;
79
94
  $[3] = ref;
80
95
  $[4] = t0;
@@ -83,7 +98,7 @@ const IndicatorGroup = forwardRef((props, ref) => {
83
98
  return t1;
84
99
  });
85
100
  function _temp(_, index) {
86
- return <Indicator key={index} index={index} />;
101
+ return /* @__PURE__ */ jsx(Indicator, { index }, index);
87
102
  }
88
103
 
89
104
  //#endregion
@@ -2,11 +2,11 @@ import * as react from "react";
2
2
  import { ComponentProps } from "react";
3
3
  import * as _pyck_styled_system_jsx0 from "@pyck/styled-system/jsx";
4
4
  import * as _pyck_styled_system_recipes0 from "@pyck/styled-system/recipes";
5
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
6
  import { Checkbox as Checkbox$1, CheckboxCheckedState } from "@ark-ui/react/checkbox";
6
7
  import { CheckboxProps as CheckboxProps$1 } from "@pyck/react/checkbox";
7
8
  import { FieldPath, FieldValues } from "react-hook-form";
8
9
  import { HTMLStyledProps as HTMLStyledProps$1 } from "@pyck/styled-system/types";
9
- import * as react_jsx_runtime0 from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/checkbox/checkbox.d.ts
12
12
  type RootProps = ComponentProps<typeof Root>;
@@ -1,24 +1,14 @@
1
- import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
1
  import { c } from "react/compiler-runtime";
3
2
  import { forwardRef } from "react";
4
3
  import { VisuallyHidden, createStyleContext, styled } from "@pyck/styled-system/jsx";
5
4
  import { checkbox } from "@pyck/styled-system/recipes";
6
- import { Checkbox as Checkbox$1, CheckboxGroupProvider as GroupProvider, useCheckboxContext } from "@ark-ui/react/checkbox";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { Checkbox as Checkbox$1, useCheckboxContext } from "@ark-ui/react/checkbox";
7
7
  import { Checkbox as Checkbox$2 } from "@pyck/react/checkbox";
8
8
  import { Field } from "@pyck/react/field";
9
9
  import { Controller, useFormContext } from "react-hook-form";
10
10
 
11
11
  //#region src/components/checkbox/checkbox.tsx
12
- var checkbox_exports = /* @__PURE__ */ __exportAll({
13
- Control: () => Control,
14
- Group: () => Group,
15
- GroupProvider: () => GroupProvider,
16
- HiddenInput: () => HiddenInput,
17
- Indicator: () => Indicator,
18
- Label: () => Label,
19
- Root: () => Root,
20
- RootProvider: () => RootProvider
21
- });
22
12
  const { withProvider, withContext } = createStyleContext(checkbox);
23
13
  const Root = withProvider(Checkbox$1.Root, "root");
24
14
  const RootProvider = withProvider(Checkbox$1.RootProvider, "root");
@@ -31,19 +21,29 @@ const Indicator = forwardRef(function Indicator(props, ref) {
31
21
  const { indeterminate, checked } = useCheckboxContext();
32
22
  let t0;
33
23
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
34
- t0 = <title>Checkmark</title>;
24
+ t0 = /* @__PURE__ */ jsx("title", { children: "Checkmark" });
35
25
  $[0] = t0;
36
26
  } else t0 = $[0];
37
27
  let t1;
38
28
  if ($[1] !== checked || $[2] !== indeterminate) {
39
- t1 = indeterminate ? <path d="M5 12h14" /> : checked ? <path d="M20 6 9 17l-5-5" /> : null;
29
+ t1 = indeterminate ? /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) : checked ? /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" }) : null;
40
30
  $[1] = checked;
41
31
  $[2] = indeterminate;
42
32
  $[3] = t1;
43
33
  } else t1 = $[3];
44
34
  let t2;
45
35
  if ($[4] !== props || $[5] !== ref || $[6] !== t1) {
46
- t2 = <styled.svg ref={ref} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3px" strokeLinecap="round" strokeLinejoin="round" {...props}>{t0}{t1}</styled.svg>;
36
+ t2 = /* @__PURE__ */ jsxs(styled.svg, {
37
+ ref,
38
+ viewBox: "0 0 24 24",
39
+ fill: "none",
40
+ stroke: "currentColor",
41
+ strokeWidth: "3px",
42
+ strokeLinecap: "round",
43
+ strokeLinejoin: "round",
44
+ ...props,
45
+ children: [t0, t1]
46
+ });
47
47
  $[4] = props;
48
48
  $[5] = ref;
49
49
  $[6] = t1;
@@ -51,7 +51,11 @@ const Indicator = forwardRef(function Indicator(props, ref) {
51
51
  } else t2 = $[7];
52
52
  let t3;
53
53
  if ($[8] !== indeterminate || $[9] !== t2) {
54
- t3 = <Checkbox$1.Indicator indeterminate={indeterminate} asChild={true}>{t2}</Checkbox$1.Indicator>;
54
+ t3 = /* @__PURE__ */ jsx(Checkbox$1.Indicator, {
55
+ indeterminate,
56
+ asChild: true,
57
+ children: t2
58
+ });
55
59
  $[8] = indeterminate;
56
60
  $[9] = t2;
57
61
  $[10] = t3;
@@ -79,31 +83,45 @@ const Checkbox = forwardRef(function Checkbox(props, ref) {
79
83
  }
80
84
  let t0;
81
85
  if ($[4] !== inputProps || $[5] !== ref) {
82
- t0 = <checkbox_exports.HiddenInput ref={ref} {...inputProps} />;
86
+ t0 = /* @__PURE__ */ jsx(HiddenInput, {
87
+ ref,
88
+ ...inputProps
89
+ });
83
90
  $[4] = inputProps;
84
91
  $[5] = ref;
85
92
  $[6] = t0;
86
93
  } else t0 = $[6];
87
94
  let t1;
88
95
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
89
- t1 = <checkbox_exports.Control><checkbox_exports.Indicator /></checkbox_exports.Control>;
96
+ t1 = /* @__PURE__ */ jsx(Control, { children: /* @__PURE__ */ jsx(Indicator, {}) });
90
97
  $[7] = t1;
91
98
  } else t1 = $[7];
92
99
  let t2;
93
100
  if ($[8] !== children) {
94
- t2 = children && <checkbox_exports.Label>{children}</checkbox_exports.Label>;
101
+ t2 = children && /* @__PURE__ */ jsx(Label, { children });
95
102
  $[8] = children;
96
103
  $[9] = t2;
97
104
  } else t2 = $[9];
98
105
  let t3;
99
106
  if ($[10] !== props) {
100
- t3 = props["aria-label"] && <checkbox_exports.Label asChild={true}><VisuallyHidden>{props["aria-label"]}</VisuallyHidden></checkbox_exports.Label>;
107
+ t3 = props["aria-label"] && /* @__PURE__ */ jsx(Label, {
108
+ asChild: true,
109
+ children: /* @__PURE__ */ jsx(VisuallyHidden, { children: props["aria-label"] })
110
+ });
101
111
  $[10] = props;
102
112
  $[11] = t3;
103
113
  } else t3 = $[11];
104
114
  let t4;
105
115
  if ($[12] !== rootProps || $[13] !== t0 || $[14] !== t2 || $[15] !== t3) {
106
- t4 = <checkbox_exports.Root {...rootProps}>{t0}{t1}{t2}{t3}</checkbox_exports.Root>;
116
+ t4 = /* @__PURE__ */ jsxs(Root, {
117
+ ...rootProps,
118
+ children: [
119
+ t0,
120
+ t1,
121
+ t2,
122
+ t3
123
+ ]
124
+ });
107
125
  $[12] = rootProps;
108
126
  $[13] = t0;
109
127
  $[14] = t2;
@@ -123,7 +141,21 @@ const CheckboxField = (props) => {
123
141
  if ($[0] !== checkboxProps || $[1] !== disabled || $[2] !== helperText || $[3] !== hideLabel || $[4] !== label || $[5] !== required) {
124
142
  t0 = (t1) => {
125
143
  const { field, fieldState } = t1;
126
- return <Field helperText={helperText} disabled={disabled} invalid={!!fieldState.error} errorText={fieldState.error?.message} hideLabel={hideLabel} required={required}><Checkbox$2 size="xs" checked={!!field.value} onCheckedChange={(e) => field.onChange(e.checked)} {...checkboxProps}>{label}</Checkbox$2></Field>;
144
+ return /* @__PURE__ */ jsx(Field, {
145
+ helperText,
146
+ disabled,
147
+ invalid: !!fieldState.error,
148
+ errorText: fieldState.error?.message,
149
+ hideLabel,
150
+ required,
151
+ children: /* @__PURE__ */ jsx(Checkbox$2, {
152
+ size: "xs",
153
+ checked: !!field.value,
154
+ onCheckedChange: (e) => field.onChange(e.checked),
155
+ ...checkboxProps,
156
+ children: label
157
+ })
158
+ });
127
159
  };
128
160
  $[0] = checkboxProps;
129
161
  $[1] = disabled;
@@ -135,7 +167,11 @@ const CheckboxField = (props) => {
135
167
  } else t0 = $[6];
136
168
  let t1;
137
169
  if ($[7] !== control || $[8] !== name || $[9] !== t0) {
138
- t1 = <Controller name={name} control={control} render={t0} />;
170
+ t1 = /* @__PURE__ */ jsx(Controller, {
171
+ name,
172
+ control,
173
+ render: t0
174
+ });
139
175
  $[7] = control;
140
176
  $[8] = name;
141
177
  $[9] = t0;
@@ -1,3 +1,3 @@
1
- import { t as Checkmark } from "../../checkmark-fJPHeX8N.js";
1
+ import { t as Checkmark } from "../../checkmark-rF75Pk98.js";
2
2
 
3
3
  export { Checkmark };
@@ -2,6 +2,7 @@ import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
2
  import { createStyleContext } from "@pyck/styled-system/jsx";
3
3
  import { clipboard } from "@pyck/styled-system/recipes";
4
4
  import { CheckIcon, CopyIcon } from "lucide-react";
5
+ import { jsx } from "react/jsx-runtime";
5
6
  import { Clipboard, ClipboardContext as Context } from "@ark-ui/react/clipboard";
6
7
 
7
8
  //#region src/components/clipboard/clipboard.tsx
@@ -24,8 +25,8 @@ const Input = withContext(Clipboard.Input, "input");
24
25
  const Label = withContext(Clipboard.Label, "label");
25
26
  const Trigger = withContext(Clipboard.Trigger, "trigger");
26
27
  const Indicator = withContext(Clipboard.Indicator, "indicator", { defaultProps: {
27
- copied: <CheckIcon />,
28
- children: <CopyIcon />
28
+ copied: /* @__PURE__ */ jsx(CheckIcon, {}),
29
+ children: /* @__PURE__ */ jsx(CopyIcon, {})
29
30
  } });
30
31
  const CopyText = withContext(Clipboard.Indicator, "indicator", { defaultProps: {
31
32
  copied: "Copied",
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
- import { t as Checkmark } from "../../checkmark-fJPHeX8N.js";
2
+ import { t as Checkmark } from "../../checkmark-rF75Pk98.js";
3
3
  import "../checkmark/index.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { forwardRef } from "react";
@@ -7,6 +7,7 @@ import { ark } from "@ark-ui/react/factory";
7
7
  import { createStyleContext } from "@pyck/styled-system/jsx";
8
8
  import { combobox } from "@pyck/styled-system/recipes";
9
9
  import { ChevronsUpDownIcon, XIcon } from "lucide-react";
10
+ import { jsx } from "react/jsx-runtime";
10
11
  import { Combobox, ComboboxContext as Context, useComboboxItemContext, useListCollection } from "@ark-ui/react/combobox";
11
12
  import { useFilter } from "@ark-ui/react/locale";
12
13
  import { Show } from "@pyck/react/show";
@@ -35,7 +36,7 @@ var combobox_exports = /* @__PURE__ */ __exportAll({
35
36
  const { withProvider, withContext } = createStyleContext(combobox);
36
37
  const Root = withProvider(Combobox.Root, "root", { defaultProps: { positioning: { sameWidth: false } } });
37
38
  const RootProvider = withProvider(Combobox.RootProvider, "root");
38
- const ClearTrigger = withContext(Combobox.ClearTrigger, "clearTrigger", { defaultProps: { children: <XIcon /> } });
39
+ const ClearTrigger = withContext(Combobox.ClearTrigger, "clearTrigger", { defaultProps: { children: /* @__PURE__ */ jsx(XIcon, {}) } });
39
40
  const Content = withContext(Combobox.Content, "content");
40
41
  const Control = withContext(Combobox.Control, "control");
41
42
  const Empty = withContext(Combobox.Empty, "empty");
@@ -50,18 +51,26 @@ const ItemIndicator = forwardRef(function ItemIndicator(props, ref) {
50
51
  const item = useComboboxItemContext();
51
52
  let t0;
52
53
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
53
- t0 = <Checkmark size="sm" />;
54
+ t0 = /* @__PURE__ */ jsx(Checkmark, { size: "sm" });
54
55
  $[0] = t0;
55
56
  } else t0 = $[0];
56
57
  let t1;
57
58
  if ($[1] !== item.selected) {
58
- t1 = <Checkmark size="sm" checked={item.selected} />;
59
+ t1 = /* @__PURE__ */ jsx(Checkmark, {
60
+ size: "sm",
61
+ checked: item.selected
62
+ });
59
63
  $[1] = item.selected;
60
64
  $[2] = t1;
61
65
  } else t1 = $[2];
62
66
  let t2;
63
67
  if ($[3] !== props || $[4] !== ref || $[5] !== t1) {
64
- t2 = <StyledItemIndicator ref={ref} asChild={true} {...props}>{t1}</StyledItemIndicator>;
68
+ t2 = /* @__PURE__ */ jsx(StyledItemIndicator, {
69
+ ref,
70
+ asChild: true,
71
+ ...props,
72
+ children: t1
73
+ });
65
74
  $[3] = props;
66
75
  $[4] = ref;
67
76
  $[5] = t1;
@@ -69,7 +78,11 @@ const ItemIndicator = forwardRef(function ItemIndicator(props, ref) {
69
78
  } else t2 = $[6];
70
79
  let t3;
71
80
  if ($[7] !== item.selected || $[8] !== t2) {
72
- t3 = <Show when={item.selected} fallback={t0}>{t2}</Show>;
81
+ t3 = /* @__PURE__ */ jsx(Show, {
82
+ when: item.selected,
83
+ fallback: t0,
84
+ children: t2
85
+ });
73
86
  $[7] = item.selected;
74
87
  $[8] = t2;
75
88
  $[9] = t3;
@@ -80,7 +93,7 @@ const ItemText = withContext(Combobox.ItemText, "itemText");
80
93
  const Label = withContext(Combobox.Label, "label");
81
94
  const List = withContext(Combobox.List, "list");
82
95
  const Positioner = withContext(Combobox.Positioner, "positioner");
83
- const Trigger = withContext(Combobox.Trigger, "trigger", { defaultProps: { children: <ChevronsUpDownIcon /> } });
96
+ const Trigger = withContext(Combobox.Trigger, "trigger", { defaultProps: { children: /* @__PURE__ */ jsx(ChevronsUpDownIcon, {}) } });
84
97
 
85
98
  //#endregion
86
99
  export { combobox_exports as Combobox, useFilter, useListCollection };
@@ -1,12 +1,13 @@
1
- import { r as DisplayDateValueProps } from "../../display-date-value-CdfgVuB7.js";
1
+ import { r as DisplayDateValueProps } from "../../display-date-value-RbzRgYHt.js";
2
2
  import "../display-date-value/index.js";
3
3
  import { n as DisplayValueProps } from "../../display-value-IyQT1429.js";
4
+ import "../display-value/index.js";
4
5
  import * as react from "react";
5
6
  import { ComponentProps } from "react";
6
7
  import * as _pyck_styled_system_jsx0 from "@pyck/styled-system/jsx";
7
8
  import * as _pyck_styled_system_recipes0 from "@pyck/styled-system/recipes";
8
- import * as _ark_ui_react0 from "@ark-ui/react";
9
9
  import * as react_jsx_runtime0 from "react/jsx-runtime";
10
+ import * as _ark_ui_react0 from "@ark-ui/react";
10
11
 
11
12
  //#region src/components/data-list/data-list.d.ts
12
13
  declare namespace data_list_d_exports {
@@ -1,12 +1,13 @@
1
1
  import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
- import { t as DisplayValue } from "../../display-value-Bz71ZqgM.js";
3
- import { t as DisplayDateValue } from "../../display-date-value-BAU46P8s.js";
2
+ import { t as DisplayValue } from "../../display-value-DDIH9kvx.js";
3
+ import { t as DisplayDateValue } from "../../display-date-value-Ca7v5jK7.js";
4
4
  import "../display-date-value/index.js";
5
5
  import "../display-value/index.js";
6
6
  import { c } from "react/compiler-runtime";
7
7
  import { ark } from "@ark-ui/react/factory";
8
8
  import { createStyleContext } from "@pyck/styled-system/jsx";
9
9
  import { dataList } from "@pyck/styled-system/recipes";
10
+ import { jsx } from "react/jsx-runtime";
10
11
 
11
12
  //#region src/components/data-list/data-list.tsx
12
13
  var data_list_exports = /* @__PURE__ */ __exportAll({
@@ -29,7 +30,10 @@ const Value = (props) => {
29
30
  const $ = c(2);
30
31
  let t0;
31
32
  if ($[0] !== props) {
32
- t0 = <StyledValue><DisplayValue copyable={true} {...props} /></StyledValue>;
33
+ t0 = /* @__PURE__ */ jsx(StyledValue, { children: /* @__PURE__ */ jsx(DisplayValue, {
34
+ copyable: true,
35
+ ...props
36
+ }) });
33
37
  $[0] = props;
34
38
  $[1] = t0;
35
39
  } else t0 = $[1];
@@ -39,7 +43,7 @@ const DateValue = (props) => {
39
43
  const $ = c(2);
40
44
  let t0;
41
45
  if ($[0] !== props) {
42
- t0 = <StyledValue><DisplayDateValue {...props} /></StyledValue>;
46
+ t0 = /* @__PURE__ */ jsx(StyledValue, { children: /* @__PURE__ */ jsx(DisplayDateValue, { ...props }) });
43
47
  $[0] = props;
44
48
  $[1] = t0;
45
49
  } else t0 = $[1];