@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 { c } from "react/compiler-runtime";
3
3
  import { createStyleContext } from "@pyck/styled-system/jsx";
4
4
  import { numberInput } from "@pyck/styled-system/recipes";
5
5
  import { ChevronDownIcon, ChevronUpIcon } from "lucide-react";
6
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
7
  import { Field } from "@pyck/react/field";
7
8
  import { Controller, useFormContext } from "react-hook-form";
8
9
  import { NumberInput } from "@pyck/react/number-input";
@@ -24,16 +25,13 @@ var number_input_exports = /* @__PURE__ */ __exportAll({
24
25
  const { withProvider, withContext } = createStyleContext(numberInput);
25
26
  const Root = withProvider(NumberInput$1.Root, "root");
26
27
  const RootProvider = withProvider(NumberInput$1.RootProvider, "root");
27
- const DecrementTrigger = withContext(NumberInput$1.DecrementTrigger, "decrementTrigger", { defaultProps: { children: <ChevronDownIcon /> } });
28
- const IncrementTrigger = withContext(NumberInput$1.IncrementTrigger, "incrementTrigger", { defaultProps: { children: <ChevronUpIcon /> } });
28
+ const DecrementTrigger = withContext(NumberInput$1.DecrementTrigger, "decrementTrigger", { defaultProps: { children: /* @__PURE__ */ jsx(ChevronDownIcon, {}) } });
29
+ const IncrementTrigger = withContext(NumberInput$1.IncrementTrigger, "incrementTrigger", { defaultProps: { children: /* @__PURE__ */ jsx(ChevronUpIcon, {}) } });
29
30
  const Input = withContext(NumberInput$1.Input, "input");
30
31
  const Label = withContext(NumberInput$1.Label, "label");
31
32
  const Scrubber = withContext(NumberInput$1.Scrubber, "scrubber");
32
33
  const ValueText = withContext(NumberInput$1.ValueText, "valueText");
33
- const Control = withContext(NumberInput$1.Control, "control", { defaultProps: { children: <>
34
- <IncrementTrigger />
35
- <DecrementTrigger />
36
- </> } });
34
+ const Control = withContext(NumberInput$1.Control, "control", { defaultProps: { children: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(IncrementTrigger, {}), /* @__PURE__ */ jsx(DecrementTrigger, {})] }) } });
37
35
 
38
36
  //#endregion
39
37
  //#region src/components/number-input/number-input.field.tsx
@@ -64,10 +62,24 @@ const NumberInputField = (props) => {
64
62
  if ($[6] !== disabled || $[7] !== helperText || $[8] !== label || $[9] !== numberInputProps) {
65
63
  t0 = (t1) => {
66
64
  const { field, fieldState } = t1;
67
- return <Field label={label} helperText={helperText} disabled={field.disabled || disabled} invalid={!!fieldState.error} errorText={fieldState.error?.message} required={numberInputProps.required}><NumberInput.Root {...numberInputProps} name={field.name} value={field.value} onValueChange={(t2) => {
68
- const { valueAsNumber } = t2;
69
- return field.onChange(valueAsNumber);
70
- }}><NumberInput.Control /><NumberInput.Input onBlur={field.onBlur} /></NumberInput.Root></Field>;
65
+ return /* @__PURE__ */ jsx(Field, {
66
+ label,
67
+ helperText,
68
+ disabled: field.disabled || disabled,
69
+ invalid: !!fieldState.error,
70
+ errorText: fieldState.error?.message,
71
+ required: numberInputProps.required,
72
+ children: /* @__PURE__ */ jsxs(NumberInput.Root, {
73
+ ...numberInputProps,
74
+ name: field.name,
75
+ value: field.value,
76
+ onValueChange: (t2) => {
77
+ const { valueAsNumber } = t2;
78
+ return field.onChange(valueAsNumber);
79
+ },
80
+ children: [/* @__PURE__ */ jsx(NumberInput.Control, {}), /* @__PURE__ */ jsx(NumberInput.Input, { onBlur: field.onBlur })]
81
+ })
82
+ });
71
83
  };
72
84
  $[6] = disabled;
73
85
  $[7] = helperText;
@@ -77,7 +89,11 @@ const NumberInputField = (props) => {
77
89
  } else t0 = $[10];
78
90
  let t1;
79
91
  if ($[11] !== control || $[12] !== name || $[13] !== t0) {
80
- t1 = <Controller name={name} control={control} render={t0} />;
92
+ t1 = /* @__PURE__ */ jsx(Controller, {
93
+ name,
94
+ control,
95
+ render: t0
96
+ });
81
97
  $[11] = control;
82
98
  $[12] = name;
83
99
  $[13] = t0;
@@ -1,5 +1,6 @@
1
1
  import { c } from "react/compiler-runtime";
2
2
  import { Stack } from "@pyck/styled-system/jsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
3
4
  import { Show } from "@pyck/react/show";
4
5
  import { Heading } from "@pyck/react/heading";
5
6
  import { Text } from "@pyck/react/text";
@@ -10,39 +11,60 @@ const PageHeader = (t0) => {
10
11
  const { title, description, tagline, textAlign } = t0;
11
12
  let t1;
12
13
  if ($[0] !== tagline) {
13
- t1 = <Show when={tagline}>{tagline}</Show>;
14
+ t1 = /* @__PURE__ */ jsx(Show, {
15
+ when: tagline,
16
+ children: tagline
17
+ });
14
18
  $[0] = tagline;
15
19
  $[1] = t1;
16
20
  } else t1 = $[1];
17
21
  let t2;
18
22
  if ($[2] !== title) {
19
- t2 = <Heading as="h1" textStyle="2xl" fontWeight="semibold">{title}</Heading>;
23
+ t2 = /* @__PURE__ */ jsx(Heading, {
24
+ as: "h1",
25
+ textStyle: "2xl",
26
+ fontWeight: "semibold",
27
+ children: title
28
+ });
20
29
  $[2] = title;
21
30
  $[3] = t2;
22
31
  } else t2 = $[3];
23
32
  let t3;
24
33
  if ($[4] !== description) {
25
- t3 = <Text color="fg.muted">{description}</Text>;
34
+ t3 = /* @__PURE__ */ jsx(Text, {
35
+ color: "fg.muted",
36
+ children: description
37
+ });
26
38
  $[4] = description;
27
39
  $[5] = t3;
28
40
  } else t3 = $[5];
29
41
  let t4;
30
42
  if ($[6] !== description || $[7] !== t3) {
31
- t4 = <Show when={description}>{t3}</Show>;
43
+ t4 = /* @__PURE__ */ jsx(Show, {
44
+ when: description,
45
+ children: t3
46
+ });
32
47
  $[6] = description;
33
48
  $[7] = t3;
34
49
  $[8] = t4;
35
50
  } else t4 = $[8];
36
51
  let t5;
37
52
  if ($[9] !== t2 || $[10] !== t4) {
38
- t5 = <Stack gap="1">{t2}{t4}</Stack>;
53
+ t5 = /* @__PURE__ */ jsxs(Stack, {
54
+ gap: "1",
55
+ children: [t2, t4]
56
+ });
39
57
  $[9] = t2;
40
58
  $[10] = t4;
41
59
  $[11] = t5;
42
60
  } else t5 = $[11];
43
61
  let t6;
44
62
  if ($[12] !== t1 || $[13] !== t5 || $[14] !== textAlign) {
45
- t6 = <Stack gap="4" textAlign={textAlign}>{t1}{t5}</Stack>;
63
+ t6 = /* @__PURE__ */ jsxs(Stack, {
64
+ gap: "4",
65
+ textAlign,
66
+ children: [t1, t5]
67
+ });
46
68
  $[12] = t1;
47
69
  $[13] = t5;
48
70
  $[14] = textAlign;
@@ -2,8 +2,8 @@ import * as react from "react";
2
2
  import { ComponentProps, ReactElement, ReactNode } 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 { Pagination, PaginationContext as Context } from "@ark-ui/react/pagination";
6
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
6
+ import { Pagination, PaginationContext as Context } from "@ark-ui/react/pagination";
7
7
 
8
8
  //#region src/components/pagination/pagination.d.ts
9
9
  declare namespace pagination_d_exports {
@@ -3,6 +3,7 @@ import { c } from "react/compiler-runtime";
3
3
  import { createStyleContext } from "@pyck/styled-system/jsx";
4
4
  import { pagination } from "@pyck/styled-system/recipes";
5
5
  import { EllipsisIcon } from "lucide-react";
6
+ import { jsx } from "react/jsx-runtime";
6
7
  import { IconButton } from "@pyck/react/button";
7
8
  import { For } from "@pyck/react/for";
8
9
  import { Pagination, PaginationContext as Context, usePaginationContext } from "@ark-ui/react/pagination";
@@ -45,8 +46,21 @@ const Items = (props) => {
45
46
  let t0;
46
47
  if ($[4] !== ellipsis || $[5] !== render || $[6] !== rest) {
47
48
  t0 = (page, index) => {
48
- if (page.type === "ellipsis") return <Ellipsis asChild={true} key={index} index={index}>{ellipsis || <IconButton as="span"><EllipsisIcon /></IconButton>}</Ellipsis>;
49
- return <Item asChild={true} key={index} type="page" value={page.value} {...rest}>{render(page)}</Item>;
49
+ if (page.type === "ellipsis") return /* @__PURE__ */ jsx(Ellipsis, {
50
+ asChild: true,
51
+ index,
52
+ children: ellipsis || /* @__PURE__ */ jsx(IconButton, {
53
+ as: "span",
54
+ children: /* @__PURE__ */ jsx(EllipsisIcon, {})
55
+ })
56
+ }, index);
57
+ return /* @__PURE__ */ jsx(Item, {
58
+ asChild: true,
59
+ type: "page",
60
+ value: page.value,
61
+ ...rest,
62
+ children: render(page)
63
+ }, index);
50
64
  };
51
65
  $[4] = ellipsis;
52
66
  $[5] = render;
@@ -55,7 +69,10 @@ const Items = (props) => {
55
69
  } else t0 = $[7];
56
70
  let t1;
57
71
  if ($[8] !== pages || $[9] !== t0) {
58
- t1 = <For each={pages}>{t0}</For>;
72
+ t1 = /* @__PURE__ */ jsx(For, {
73
+ each: pages,
74
+ children: t0
75
+ });
59
76
  $[8] = pages;
60
77
  $[9] = t0;
61
78
  $[10] = t1;
@@ -1,6 +1,7 @@
1
1
  import { createListCollection } from "@ark-ui/react/collection";
2
2
  import { useCallback, useId, useMemo, useRef } from "react";
3
3
  import { Divider } from "@pyck/styled-system/jsx";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
4
5
  import { Combobox } from "@pyck/react/combobox";
5
6
  import { ScrollArea } from "@pyck/react/scroll-area";
6
7
  import { useVirtualizer } from "@tanstack/react-virtual";
@@ -23,34 +24,61 @@ const Picker = (props) => {
23
24
  behavior: "auto"
24
25
  });
25
26
  }, [virtualizer]);
26
- return <Combobox.Root ids={{ content: id }} collection={collection} variant="plain" placeholder="Search..." inputBehavior="autohighlight" selectionBehavior="clear" size="sm" scrollToIndexFn={handleScrollToIndexFn} onInputValueChange={(e) => list.setFilterText(e.inputValue)} value={value ? [value.value] : []} onValueChange={({ items }) => {
27
- onValueChange?.(items[0]);
28
- }}>
29
- <Combobox.Trigger asChild focusable>
30
- {children}
31
- </Combobox.Trigger>
32
- <Combobox.Positioner>
33
- <Combobox.Content p="0" gap="0">
34
- <Combobox.Input placeholder={placeholder} my="1" />
35
- <Divider />
36
- <ScrollArea size="sm" ref={contentRef} ids={{ viewport: id }} p="1" maxH="sm">
37
- <Combobox.Empty>{emptyText}</Combobox.Empty>
38
- <Combobox.List style={{ height: `${virtualizer.getTotalSize()}px` }}>
39
- {virtualizer.getVirtualItems().map((virtualItem) => {
40
- const item = collection.items[virtualItem.index];
41
- if (!item) return null;
42
- return <Combobox.Item key={item.value} item={item} persistFocus position="absolute" inset="0" style={{
43
- height: `${virtualItem.size}px`,
44
- transform: `translateY(${virtualItem.start}px)`
45
- }}>
46
- <Combobox.ItemText>{item.label}</Combobox.ItemText>
47
- </Combobox.Item>;
48
- })}
49
- </Combobox.List>
50
- </ScrollArea>
51
- </Combobox.Content>
52
- </Combobox.Positioner>
53
- </Combobox.Root>;
27
+ return /* @__PURE__ */ jsxs(Combobox.Root, {
28
+ ids: { content: id },
29
+ collection,
30
+ variant: "plain",
31
+ placeholder: "Search...",
32
+ inputBehavior: "autohighlight",
33
+ selectionBehavior: "clear",
34
+ size: "sm",
35
+ scrollToIndexFn: handleScrollToIndexFn,
36
+ onInputValueChange: (e) => list.setFilterText(e.inputValue),
37
+ value: value ? [value.value] : [],
38
+ onValueChange: ({ items }) => {
39
+ onValueChange?.(items[0]);
40
+ },
41
+ children: [/* @__PURE__ */ jsx(Combobox.Trigger, {
42
+ asChild: true,
43
+ focusable: true,
44
+ children
45
+ }), /* @__PURE__ */ jsx(Combobox.Positioner, { children: /* @__PURE__ */ jsxs(Combobox.Content, {
46
+ p: "0",
47
+ gap: "0",
48
+ children: [
49
+ /* @__PURE__ */ jsx(Combobox.Input, {
50
+ placeholder,
51
+ my: "1"
52
+ }),
53
+ /* @__PURE__ */ jsx(Divider, {}),
54
+ /* @__PURE__ */ jsxs(ScrollArea, {
55
+ size: "sm",
56
+ ref: contentRef,
57
+ ids: { viewport: id },
58
+ p: "1",
59
+ maxH: "sm",
60
+ children: [/* @__PURE__ */ jsx(Combobox.Empty, { children: emptyText }), /* @__PURE__ */ jsx(Combobox.List, {
61
+ style: { height: `${virtualizer.getTotalSize()}px` },
62
+ children: virtualizer.getVirtualItems().map((virtualItem) => {
63
+ const item = collection.items[virtualItem.index];
64
+ if (!item) return null;
65
+ return /* @__PURE__ */ jsx(Combobox.Item, {
66
+ item,
67
+ persistFocus: true,
68
+ position: "absolute",
69
+ inset: "0",
70
+ style: {
71
+ height: `${virtualItem.size}px`,
72
+ transform: `translateY(${virtualItem.start}px)`
73
+ },
74
+ children: /* @__PURE__ */ jsx(Combobox.ItemText, { children: item.label })
75
+ }, item.value);
76
+ })
77
+ })]
78
+ })
79
+ ]
80
+ }) })]
81
+ });
54
82
  };
55
83
 
56
84
  //#endregion
@@ -3,8 +3,8 @@ 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
5
  import { Popover, PopoverContext as Context, PopoverOpenChangeDetails as OpenChangeDetails } from "@ark-ui/react/popover";
6
- import * as _ark_ui_react0 from "@ark-ui/react";
7
6
  import * as react_jsx_runtime0 from "react/jsx-runtime";
7
+ import * as _ark_ui_react0 from "@ark-ui/react";
8
8
 
9
9
  //#region src/components/popover/popover.d.ts
10
10
  declare namespace popover_d_exports {
@@ -3,6 +3,7 @@ import { ark } from "@ark-ui/react/factory";
3
3
  import { createStyleContext } from "@pyck/styled-system/jsx";
4
4
  import { popover } from "@pyck/styled-system/recipes";
5
5
  import { Popover, PopoverContext as Context } from "@ark-ui/react/popover";
6
+ import { jsx } from "react/jsx-runtime";
6
7
 
7
8
  //#region src/components/popover/popover.tsx
8
9
  var popover_exports = /* @__PURE__ */ __exportAll({
@@ -34,7 +35,7 @@ const RootProvider = withRootProvider(Popover.Root, { defaultProps: {
34
35
  } });
35
36
  const Anchor = withContext(Popover.Anchor, "anchor");
36
37
  const ArrowTip = withContext(Popover.ArrowTip, "arrowTip");
37
- const Arrow = withContext(Popover.Arrow, "arrow", { defaultProps: { children: <ArrowTip /> } });
38
+ const Arrow = withContext(Popover.Arrow, "arrow", { defaultProps: { children: /* @__PURE__ */ jsx(ArrowTip, {}) } });
38
39
  const CloseTrigger = withContext(Popover.CloseTrigger, "closeTrigger");
39
40
  const Content = withContext(Popover.Content, "content");
40
41
  const Description = withContext(Popover.Description, "description");
@@ -1,24 +1,11 @@
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 { progress } from "@pyck/styled-system/recipes";
6
- import { Progress as Progress$1, ProgressContext as Context } from "@ark-ui/react/progress";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { Progress as Progress$1 } from "@ark-ui/react/progress";
7
7
 
8
8
  //#region src/components/progress/progress.tsx
9
- var progress_exports = /* @__PURE__ */ __exportAll({
10
- Circle: () => Circle,
11
- CircleRange: () => CircleRange,
12
- CircleTrack: () => CircleTrack,
13
- Context: () => Context,
14
- Label: () => Label,
15
- Range: () => Range,
16
- Root: () => Root,
17
- RootProvider: () => RootProvider,
18
- Track: () => Track,
19
- ValueText: () => ValueText,
20
- View: () => View
21
- });
22
9
  const { withProvider, withContext } = createStyleContext(progress);
23
10
  const Root = withProvider(Progress$1.Root, "root");
24
11
  const RootProvider = withProvider(Progress$1.RootProvider, "root");
@@ -54,25 +41,33 @@ const Progress = forwardRef(function Progress(props, ref) {
54
41
  }
55
42
  let t0;
56
43
  if ($[5] !== label) {
57
- t0 = label && <progress_exports.Label>{label}</progress_exports.Label>;
44
+ t0 = label && /* @__PURE__ */ jsx(Label, { children: label });
58
45
  $[5] = label;
59
46
  $[6] = t0;
60
47
  } else t0 = $[6];
61
48
  let t1;
62
49
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
63
- t1 = <progress_exports.Track><progress_exports.Range /></progress_exports.Track>;
50
+ t1 = /* @__PURE__ */ jsx(Track, { children: /* @__PURE__ */ jsx(Range, {}) });
64
51
  $[7] = t1;
65
52
  } else t1 = $[7];
66
53
  let t2;
67
54
  if ($[8] !== showValueText || $[9] !== valueText) {
68
- t2 = showValueText && <progress_exports.ValueText>{valueText}</progress_exports.ValueText>;
55
+ t2 = showValueText && /* @__PURE__ */ jsx(ValueText, { children: valueText });
69
56
  $[8] = showValueText;
70
57
  $[9] = valueText;
71
58
  $[10] = t2;
72
59
  } else t2 = $[10];
73
60
  let t3;
74
61
  if ($[11] !== ref || $[12] !== rest || $[13] !== t0 || $[14] !== t2) {
75
- t3 = <progress_exports.Root {...rest} ref={ref}>{t0}{t1}{t2}</progress_exports.Root>;
62
+ t3 = /* @__PURE__ */ jsxs(Root, {
63
+ ...rest,
64
+ ref,
65
+ children: [
66
+ t0,
67
+ t1,
68
+ t2
69
+ ]
70
+ });
76
71
  $[11] = ref;
77
72
  $[12] = rest;
78
73
  $[13] = t0;
@@ -1,24 +1,13 @@
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 { Stack, createStyleContext } from "@pyck/styled-system/jsx";
5
4
  import { progressCircle } from "@pyck/styled-system/recipes";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Show } from "@pyck/react/show";
7
7
  import { AbsoluteCenter } from "@pyck/react/absolute-center";
8
- import { Progress, ProgressContext as Context } from "@ark-ui/react/progress";
8
+ import { Progress } from "@ark-ui/react/progress";
9
9
 
10
10
  //#region src/components/progress-circle/progress-circle.tsx
11
- var progress_circle_exports = /* @__PURE__ */ __exportAll({
12
- Circle: () => Circle,
13
- Context: () => Context,
14
- Label: () => Label,
15
- Range: () => Range,
16
- Root: () => Root,
17
- RootProvider: () => RootProvider,
18
- Track: () => Track,
19
- ValueText: () => ValueText,
20
- View: () => View
21
- });
22
11
  const { withProvider, withContext } = createStyleContext(progressCircle);
23
12
  const Root = withProvider(Progress.Root, "root");
24
13
  const RootProvider = withProvider(Progress.RootProvider, "root");
@@ -52,45 +41,59 @@ const ProgressCircle = forwardRef(function ProgressCircle(props, ref) {
52
41
  }
53
42
  let t0;
54
43
  if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
55
- t0 = <progress_circle_exports.Circle><progress_circle_exports.Track /><progress_circle_exports.Range /></progress_circle_exports.Circle>;
44
+ t0 = /* @__PURE__ */ jsxs(Circle, { children: [/* @__PURE__ */ jsx(Track, {}), /* @__PURE__ */ jsx(Range, {})] });
56
45
  $[5] = t0;
57
46
  } else t0 = $[5];
58
47
  let t1;
59
48
  if ($[6] !== label) {
60
- t1 = <progress_circle_exports.Label>{label}</progress_circle_exports.Label>;
49
+ t1 = /* @__PURE__ */ jsx(Label, { children: label });
61
50
  $[6] = label;
62
51
  $[7] = t1;
63
52
  } else t1 = $[7];
64
53
  let t2;
65
54
  if ($[8] !== label || $[9] !== t1) {
66
- t2 = <Show when={label}>{t1}</Show>;
55
+ t2 = /* @__PURE__ */ jsx(Show, {
56
+ when: label,
57
+ children: t1
58
+ });
67
59
  $[8] = label;
68
60
  $[9] = t1;
69
61
  $[10] = t2;
70
62
  } else t2 = $[10];
71
63
  let t3;
72
64
  if ($[11] !== valueText) {
73
- t3 = <progress_circle_exports.ValueText>{valueText}</progress_circle_exports.ValueText>;
65
+ t3 = /* @__PURE__ */ jsx(ValueText, { children: valueText });
74
66
  $[11] = valueText;
75
67
  $[12] = t3;
76
68
  } else t3 = $[12];
77
69
  let t4;
78
70
  if ($[13] !== showValueText || $[14] !== t3) {
79
- t4 = <Show when={showValueText}>{t3}</Show>;
71
+ t4 = /* @__PURE__ */ jsx(Show, {
72
+ when: showValueText,
73
+ children: t3
74
+ });
80
75
  $[13] = showValueText;
81
76
  $[14] = t3;
82
77
  $[15] = t4;
83
78
  } else t4 = $[15];
84
79
  let t5;
85
80
  if ($[16] !== t2 || $[17] !== t4) {
86
- t5 = <AbsoluteCenter><Stack gap="0" align="center">{t2}{t4}</Stack></AbsoluteCenter>;
81
+ t5 = /* @__PURE__ */ jsx(AbsoluteCenter, { children: /* @__PURE__ */ jsxs(Stack, {
82
+ gap: "0",
83
+ align: "center",
84
+ children: [t2, t4]
85
+ }) });
87
86
  $[16] = t2;
88
87
  $[17] = t4;
89
88
  $[18] = t5;
90
89
  } else t5 = $[18];
91
90
  let t6;
92
91
  if ($[19] !== ref || $[20] !== rest || $[21] !== t5) {
93
- t6 = <progress_circle_exports.Root {...rest} ref={ref}>{t0}{t5}</progress_circle_exports.Root>;
92
+ t6 = /* @__PURE__ */ jsxs(Root, {
93
+ ...rest,
94
+ ref,
95
+ children: [t0, t5]
96
+ });
94
97
  $[19] = ref;
95
98
  $[20] = rest;
96
99
  $[21] = t5;
@@ -1,22 +1,11 @@
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 { radioGroup } from "@pyck/styled-system/recipes";
6
- import { RadioGroup, RadioGroupContext as Context } from "@ark-ui/react/radio-group";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { RadioGroup } from "@ark-ui/react/radio-group";
7
7
 
8
8
  //#region src/components/radio-group/radio-group.tsx
9
- var radio_group_exports = /* @__PURE__ */ __exportAll({
10
- Context: () => Context,
11
- Indicator: () => Indicator,
12
- Item: () => Item,
13
- ItemControl: () => ItemControl,
14
- ItemHiddenInput: () => ItemHiddenInput,
15
- ItemText: () => ItemText,
16
- Label: () => Label,
17
- Root: () => Root,
18
- RootProvider: () => RootProvider
19
- });
20
9
  const { withProvider, withContext } = createStyleContext(radioGroup);
21
10
  const Root = withProvider(RadioGroup.Root, "root");
22
11
  const RootProvider = withProvider(RadioGroup.RootProvider, "root");
@@ -50,25 +39,36 @@ const Radio = forwardRef(function Radio(props, ref) {
50
39
  }
51
40
  let t0;
52
41
  if ($[5] !== inputProps || $[6] !== ref) {
53
- t0 = <radio_group_exports.ItemHiddenInput ref={ref} {...inputProps} />;
42
+ t0 = /* @__PURE__ */ jsx(ItemHiddenInput, {
43
+ ref,
44
+ ...inputProps
45
+ });
54
46
  $[5] = inputProps;
55
47
  $[6] = ref;
56
48
  $[7] = t0;
57
49
  } else t0 = $[7];
58
50
  let t1;
59
51
  if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
60
- t1 = <radio_group_exports.ItemControl />;
52
+ t1 = /* @__PURE__ */ jsx(ItemControl, {});
61
53
  $[8] = t1;
62
54
  } else t1 = $[8];
63
55
  let t2;
64
56
  if ($[9] !== children) {
65
- t2 = children && <radio_group_exports.ItemText>{children}</radio_group_exports.ItemText>;
57
+ t2 = children && /* @__PURE__ */ jsx(ItemText, { children });
66
58
  $[9] = children;
67
59
  $[10] = t2;
68
60
  } else t2 = $[10];
69
61
  let t3;
70
62
  if ($[11] !== rest || $[12] !== rootRef || $[13] !== t0 || $[14] !== t2) {
71
- t3 = <radio_group_exports.Item ref={rootRef} {...rest}>{t0}{t1}{t2}</radio_group_exports.Item>;
63
+ t3 = /* @__PURE__ */ jsxs(Item, {
64
+ ref: rootRef,
65
+ ...rest,
66
+ children: [
67
+ t0,
68
+ t1,
69
+ t2
70
+ ]
71
+ });
72
72
  $[11] = rest;
73
73
  $[12] = rootRef;
74
74
  $[13] = t0;
@@ -1,25 +1,17 @@
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 { scrollArea } from "@pyck/styled-system/recipes";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { ScrollArea as ScrollArea$1 } from "@ark-ui/react/scroll-area";
7
7
 
8
8
  //#region src/components/scroll-area/scroll-area.tsx
9
- var scroll_area_exports = /* @__PURE__ */ __exportAll({
10
- Content: () => Content,
11
- Corner: () => Corner,
12
- Root: () => Root,
13
- Scrollbar: () => Scrollbar,
14
- Thumb: () => Thumb,
15
- Viewport: () => Viewport
16
- });
17
9
  const { withProvider, withContext } = createStyleContext(scrollArea);
18
10
  const Root = withProvider(ScrollArea$1.Root, "root");
19
11
  const Content = withContext(ScrollArea$1.Content, "content");
20
12
  const Corner = withContext(ScrollArea$1.Corner, "corner");
21
13
  const Thumb = withContext(ScrollArea$1.Thumb, "thumb");
22
- const Scrollbar = withContext(ScrollArea$1.Scrollbar, "scrollbar", { defaultProps: { children: <Thumb /> } });
14
+ const Scrollbar = withContext(ScrollArea$1.Scrollbar, "scrollbar", { defaultProps: { children: /* @__PURE__ */ jsx(Thumb, {}) } });
23
15
  const Viewport = withContext(ScrollArea$1.Viewport, "viewport");
24
16
 
25
17
  //#endregion
@@ -48,40 +40,54 @@ const ScrollArea = forwardRef(function ScrollArea(props, ref) {
48
40
  const showHorizontal = scrollbars === "horizontal" || scrollbars === "both";
49
41
  let t1;
50
42
  if ($[5] !== children || $[6] !== contentProps) {
51
- t1 = <scroll_area_exports.Content {...contentProps}>{children}</scroll_area_exports.Content>;
43
+ t1 = /* @__PURE__ */ jsx(Content, {
44
+ ...contentProps,
45
+ children
46
+ });
52
47
  $[5] = children;
53
48
  $[6] = contentProps;
54
49
  $[7] = t1;
55
50
  } else t1 = $[7];
56
51
  let t2;
57
52
  if ($[8] !== ref || $[9] !== t1) {
58
- t2 = <scroll_area_exports.Viewport ref={ref}>{t1}</scroll_area_exports.Viewport>;
53
+ t2 = /* @__PURE__ */ jsx(Viewport, {
54
+ ref,
55
+ children: t1
56
+ });
59
57
  $[8] = ref;
60
58
  $[9] = t1;
61
59
  $[10] = t2;
62
60
  } else t2 = $[10];
63
61
  let t3;
64
62
  if ($[11] !== showVertical) {
65
- t3 = showVertical && <scroll_area_exports.Scrollbar orientation="vertical" />;
63
+ t3 = showVertical && /* @__PURE__ */ jsx(Scrollbar, { orientation: "vertical" });
66
64
  $[11] = showVertical;
67
65
  $[12] = t3;
68
66
  } else t3 = $[12];
69
67
  let t4;
70
68
  if ($[13] !== showHorizontal) {
71
- t4 = showHorizontal && <scroll_area_exports.Scrollbar orientation="horizontal" />;
69
+ t4 = showHorizontal && /* @__PURE__ */ jsx(Scrollbar, { orientation: "horizontal" });
72
70
  $[13] = showHorizontal;
73
71
  $[14] = t4;
74
72
  } else t4 = $[14];
75
73
  let t5;
76
74
  if ($[15] !== showHorizontal || $[16] !== showVertical) {
77
- t5 = showVertical && showHorizontal && <scroll_area_exports.Corner />;
75
+ t5 = showVertical && showHorizontal && /* @__PURE__ */ jsx(Corner, {});
78
76
  $[15] = showHorizontal;
79
77
  $[16] = showVertical;
80
78
  $[17] = t5;
81
79
  } else t5 = $[17];
82
80
  let t6;
83
81
  if ($[18] !== rest || $[19] !== t2 || $[20] !== t3 || $[21] !== t4 || $[22] !== t5) {
84
- t6 = <scroll_area_exports.Root {...rest}>{t2}{t3}{t4}{t5}</scroll_area_exports.Root>;
82
+ t6 = /* @__PURE__ */ jsxs(Root, {
83
+ ...rest,
84
+ children: [
85
+ t2,
86
+ t3,
87
+ t4,
88
+ t5
89
+ ]
90
+ });
85
91
  $[18] = rest;
86
92
  $[19] = t2;
87
93
  $[20] = t3;
@@ -2,8 +2,8 @@ import * as react from "react";
2
2
  import { ComponentProps, ReactNode } 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 { SegmentGroup, SegmentGroupContext as Context } from "@ark-ui/react/segment-group";
6
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
6
+ import { SegmentGroup, SegmentGroupContext as Context } from "@ark-ui/react/segment-group";
7
7
 
8
8
  //#region src/components/segment-group/segment-group.d.ts
9
9
  declare namespace segment_group_d_exports {