@pyck/react 0.0.6 → 0.0.7

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 +21 -8
  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 +117 -87
  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 +207 -30
  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-CSPbdE60.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-R2nHrGQo.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 { z } from "zod";
3
3
  import { c } from "react/compiler-runtime";
4
4
  import { Fragment } from "react";
5
5
  import { Box, HStack, Stack } from "@pyck/styled-system/jsx";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
6
7
  import { CheckboxField } from "@pyck/react/checkbox";
7
8
  import { Field } from "@pyck/react/field";
8
9
  import { Controller, FormProvider, useForm, useFormContext } from "react-hook-form";
@@ -11,10 +12,10 @@ import { Portal } from "@ark-ui/react/portal";
11
12
  import { zodResolver } from "@hookform/resolvers/zod";
12
13
  import { Form } from "@pyck/react/form";
13
14
  import { Fieldset } from "@pyck/react/fieldset";
15
+ import { useListCollection } from "@ark-ui/react";
14
16
  import { InputField } from "@pyck/react/input";
15
17
  import { NumberInputField } from "@pyck/react/number-input";
16
- import { Combobox, useFilter, useListCollection } from "@pyck/react/combobox";
17
- import { useListCollection as useListCollection$1 } from "@ark-ui/react";
18
+ import { Combobox, useFilter, useListCollection as useListCollection$1 } from "@pyck/react/combobox";
18
19
  import { SelectField } from "@pyck/react/select";
19
20
  import { TagsInput } from "@pyck/react/tags-input";
20
21
 
@@ -38,13 +39,33 @@ const ComboboxFromItems = (t0) => {
38
39
  $[2] = items;
39
40
  $[3] = t2;
40
41
  } else t2 = $[3];
41
- const { collection, filter } = useListCollection(t2);
42
+ const { collection, filter } = useListCollection$1(t2);
42
43
  const { control } = useFormContext();
43
44
  let t3;
44
45
  if ($[4] !== collection || $[5] !== filter || $[6] !== helperText || $[7] !== label || $[8] !== required) {
45
46
  t3 = (t4) => {
46
47
  const { field, fieldState } = t4;
47
- return <Field label={label} helperText={helperText} invalid={!!fieldState.error} errorText={fieldState.error?.message} required={required}><Combobox.Root name={field.name} multiple={true} collection={collection} onInputValueChange={(e) => filter(e.inputValue)} value={field.value ?? []} onValueChange={(e_0) => field.onChange(e_0.value)} disabled={field.disabled} invalid={!!fieldState.error}><Combobox.Control><Combobox.Input placeholder="Search..." onBlur={field.onBlur} /><Combobox.IndicatorGroup><Combobox.ClearTrigger /><Combobox.Trigger /></Combobox.IndicatorGroup></Combobox.Control><Portal><Combobox.Positioner><Combobox.Content><Combobox.Empty>No results found</Combobox.Empty>{collection.items.map(_temp$2)}</Combobox.Content></Combobox.Positioner></Portal></Combobox.Root></Field>;
48
+ return /* @__PURE__ */ jsx(Field, {
49
+ label,
50
+ helperText,
51
+ invalid: !!fieldState.error,
52
+ errorText: fieldState.error?.message,
53
+ required,
54
+ children: /* @__PURE__ */ jsxs(Combobox.Root, {
55
+ name: field.name,
56
+ multiple: true,
57
+ collection,
58
+ onInputValueChange: (e) => filter(e.inputValue),
59
+ value: field.value ?? [],
60
+ onValueChange: (e_0) => field.onChange(e_0.value),
61
+ disabled: field.disabled,
62
+ invalid: !!fieldState.error,
63
+ children: [/* @__PURE__ */ jsxs(Combobox.Control, { children: [/* @__PURE__ */ jsx(Combobox.Input, {
64
+ placeholder: "Search...",
65
+ onBlur: field.onBlur
66
+ }), /* @__PURE__ */ jsxs(Combobox.IndicatorGroup, { children: [/* @__PURE__ */ jsx(Combobox.ClearTrigger, {}), /* @__PURE__ */ jsx(Combobox.Trigger, {})] })] }), /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, { children: /* @__PURE__ */ jsxs(Combobox.Content, { children: [/* @__PURE__ */ jsx(Combobox.Empty, { children: "No results found" }), collection.items.map(_temp$2)] }) }) })]
67
+ })
68
+ });
48
69
  };
49
70
  $[4] = collection;
50
71
  $[5] = filter;
@@ -55,7 +76,11 @@ const ComboboxFromItems = (t0) => {
55
76
  } else t3 = $[9];
56
77
  let t4;
57
78
  if ($[10] !== control || $[11] !== name || $[12] !== t3) {
58
- t4 = <Controller name={name} control={control} render={t3} />;
79
+ t4 = /* @__PURE__ */ jsx(Controller, {
80
+ name,
81
+ control,
82
+ render: t3
83
+ });
59
84
  $[10] = control;
60
85
  $[11] = name;
61
86
  $[12] = t3;
@@ -64,7 +89,10 @@ const ComboboxFromItems = (t0) => {
64
89
  return t4;
65
90
  };
66
91
  function _temp$2(item) {
67
- return <Combobox.Item key={item.value} item={item}><Combobox.ItemText>{item.label}</Combobox.ItemText><Combobox.ItemIndicator /></Combobox.Item>;
92
+ return /* @__PURE__ */ jsxs(Combobox.Item, {
93
+ item,
94
+ children: [/* @__PURE__ */ jsx(Combobox.ItemText, { children: item.label }), /* @__PURE__ */ jsx(Combobox.ItemIndicator, {})]
95
+ }, item.value);
68
96
  }
69
97
 
70
98
  //#endregion
@@ -78,7 +106,7 @@ const SelectFieldFromItems = (t0) => {
78
106
  $[0] = items;
79
107
  $[1] = t1;
80
108
  } else t1 = $[1];
81
- const { collection } = useListCollection$1(t1);
109
+ const { collection } = useListCollection(t1);
82
110
  if (items.length === 0) return null;
83
111
  const t2 = placeholder ?? `Select ${label}`;
84
112
  let t3;
@@ -89,7 +117,16 @@ const SelectFieldFromItems = (t0) => {
89
117
  } else t3 = $[3];
90
118
  let t4;
91
119
  if ($[4] !== collection || $[5] !== helperText || $[6] !== label || $[7] !== name || $[8] !== required || $[9] !== t2 || $[10] !== t3) {
92
- t4 = <SelectField.Root name={name} label={label} helperText={helperText} placeholder={t2} collection={collection} multiple={false} required={required}>{t3}</SelectField.Root>;
120
+ t4 = /* @__PURE__ */ jsx(SelectField.Root, {
121
+ name,
122
+ label,
123
+ helperText,
124
+ placeholder: t2,
125
+ collection,
126
+ multiple: false,
127
+ required,
128
+ children: t3
129
+ });
93
130
  $[4] = collection;
94
131
  $[5] = helperText;
95
132
  $[6] = label;
@@ -102,7 +139,10 @@ const SelectFieldFromItems = (t0) => {
102
139
  return t4;
103
140
  };
104
141
  function _temp$1(item) {
105
- return <SelectField.Item key={item.value} item={item}>{item.label}<SelectField.ItemIndicator /></SelectField.Item>;
142
+ return /* @__PURE__ */ jsxs(SelectField.Item, {
143
+ item,
144
+ children: [item.label, /* @__PURE__ */ jsx(SelectField.ItemIndicator, {})]
145
+ }, item.value);
106
146
  }
107
147
 
108
148
  //#endregion
@@ -115,10 +155,28 @@ const TagsInputField = (t0) => {
115
155
  if ($[0] !== disabled || $[1] !== helperText || $[2] !== label || $[3] !== placeholder || $[4] !== required) {
116
156
  t1 = (t2) => {
117
157
  const { field, fieldState } = t2;
118
- return <Field label={label} helperText={helperText} invalid={!!fieldState.error} errorText={fieldState.error?.message} required={required} disabled={field.disabled || disabled}><TagsInput.Root name={field.name} value={field.value ?? []} onValueChange={(e) => {
119
- field.onChange(e.value);
120
- field.onBlur();
121
- }} disabled={field.disabled || disabled} invalid={!!fieldState.error}><TagsInput.Control><TagsInput.Items /><TagsInput.Input placeholder={placeholder ?? "Add tag..."} onBlur={field.onBlur} /></TagsInput.Control><TagsInput.HiddenInput /></TagsInput.Root></Field>;
158
+ return /* @__PURE__ */ jsx(Field, {
159
+ label,
160
+ helperText,
161
+ invalid: !!fieldState.error,
162
+ errorText: fieldState.error?.message,
163
+ required,
164
+ disabled: field.disabled || disabled,
165
+ children: /* @__PURE__ */ jsxs(TagsInput.Root, {
166
+ name: field.name,
167
+ value: field.value ?? [],
168
+ onValueChange: (e) => {
169
+ field.onChange(e.value);
170
+ field.onBlur();
171
+ },
172
+ disabled: field.disabled || disabled,
173
+ invalid: !!fieldState.error,
174
+ children: [/* @__PURE__ */ jsxs(TagsInput.Control, { children: [/* @__PURE__ */ jsx(TagsInput.Items, {}), /* @__PURE__ */ jsx(TagsInput.Input, {
175
+ placeholder: placeholder ?? "Add tag...",
176
+ onBlur: field.onBlur
177
+ })] }), /* @__PURE__ */ jsx(TagsInput.HiddenInput, {})]
178
+ })
179
+ });
122
180
  };
123
181
  $[0] = disabled;
124
182
  $[1] = helperText;
@@ -129,7 +187,11 @@ const TagsInputField = (t0) => {
129
187
  } else t1 = $[5];
130
188
  let t2;
131
189
  if ($[6] !== control || $[7] !== name || $[8] !== t1) {
132
- t2 = <Controller name={name} control={control} render={t1} />;
190
+ t2 = /* @__PURE__ */ jsx(Controller, {
191
+ name,
192
+ control,
193
+ render: t1
194
+ });
133
195
  $[6] = control;
134
196
  $[7] = name;
135
197
  $[8] = t1;
@@ -156,28 +218,68 @@ const renderField = (schema, key, options) => {
156
218
  type: "string",
157
219
  enum: P.select(P.array(P.string))
158
220
  }, (enumValues) => {
159
- const helperText = schema.description ?? "";
160
- return <SelectFieldFromItems key={key} name={key} label={label} helperText={helperText} items={toSelectItems(enumValues)} required={required} />;
221
+ return /* @__PURE__ */ jsx(SelectFieldFromItems, {
222
+ name: key,
223
+ label,
224
+ helperText: schema.description ?? "",
225
+ items: toSelectItems(enumValues),
226
+ required
227
+ }, key);
161
228
  }).with({
162
229
  type: "string",
163
230
  oneOf: P.array({ const: P.string })
164
- }, (s) => <SelectFieldFromItems key={key} name={key} label={label} helperText={helperText} items={toSelectItems(s.oneOf.map((e) => e.const))} required={required} />).with({
231
+ }, (s) => /* @__PURE__ */ jsx(SelectFieldFromItems, {
232
+ name: key,
233
+ label,
234
+ helperText,
235
+ items: toSelectItems(s.oneOf.map((e) => e.const)),
236
+ required
237
+ }, key)).with({
165
238
  type: "string",
166
239
  format: P.optional(P.string),
167
240
  maxLength: P.optional(P.number)
168
- }, (s) => <InputField key={key} name={key} label={label} helperText={helperText} type={s.format === "email" || s.format === "date" ? s.format : "text"} maxLength={s.maxLength} required={required} />).with({
241
+ }, (s) => /* @__PURE__ */ jsx(InputField, {
242
+ name: key,
243
+ label,
244
+ helperText,
245
+ type: s.format === "email" || s.format === "date" ? s.format : "text",
246
+ maxLength: s.maxLength,
247
+ required
248
+ }, key)).with({
169
249
  type: P.union("number", "integer"),
170
250
  minimum: P.optional(P.number),
171
251
  maximum: P.optional(P.number)
172
- }, (s) => <NumberInputField key={key} name={key} label={label} helperText={helperText} min={s.minimum} max={s.maximum} required={required} />).with({ type: "boolean" }, () => <CheckboxField key={key} name={key} label={label} helperText={helperText} required={required} />).with({
252
+ }, (s) => /* @__PURE__ */ jsx(NumberInputField, {
253
+ name: key,
254
+ label,
255
+ helperText,
256
+ min: s.minimum,
257
+ max: s.maximum,
258
+ required
259
+ }, key)).with({ type: "boolean" }, () => /* @__PURE__ */ jsx(CheckboxField, {
260
+ name: key,
261
+ label,
262
+ helperText,
263
+ required
264
+ }, key)).with({
173
265
  type: "array",
174
266
  items: { enum: P.select(P.array(P.string)) }
175
267
  }, (enumValues) => {
176
- return <ComboboxFromItems key={key} name={key} label={label} items={toSelectItems(enumValues)} required={required} />;
268
+ return /* @__PURE__ */ jsx(ComboboxFromItems, {
269
+ name: key,
270
+ label,
271
+ items: toSelectItems(enumValues),
272
+ required
273
+ }, key);
177
274
  }).with({
178
275
  type: "array",
179
276
  items: { type: "string" }
180
- }, () => <TagsInputField key={key} name={key} label={label} helperText={helperText} required={required} />).otherwise(() => null);
277
+ }, () => /* @__PURE__ */ jsx(TagsInputField, {
278
+ name: key,
279
+ label,
280
+ helperText,
281
+ required
282
+ }, key)).otherwise(() => null);
181
283
  };
182
284
 
183
285
  //#endregion
@@ -327,7 +429,10 @@ const Builder = (t0) => {
327
429
  } else t4 = $[6];
328
430
  let t5;
329
431
  if ($[7] !== form || $[8] !== t4) {
330
- t5 = <Form value={form}>{t4}</Form>;
432
+ t5 = /* @__PURE__ */ jsx(Form, {
433
+ value: form,
434
+ children: t4
435
+ });
331
436
  $[7] = form;
332
437
  $[8] = t4;
333
438
  $[9] = t5;
@@ -388,14 +493,18 @@ const renderNode = (jsonSchema, node) => {
388
493
  };
389
494
  const renderLayoutNode = (jsonSchema, node) => {
390
495
  const children = node.nodes.map((child, index) => {
391
- return <Fragment key={`layout-${child.type}-${index}`}>{renderNode(jsonSchema, child)}</Fragment>;
496
+ return /* @__PURE__ */ jsx(Fragment, { children: renderNode(jsonSchema, child) }, `layout-${child.type}-${index}`);
497
+ });
498
+ if (node.format === "horizontal") return /* @__PURE__ */ jsx(HStack, {
499
+ gap: "3",
500
+ "data-testid": "layout-horizontal",
501
+ children
502
+ });
503
+ return /* @__PURE__ */ jsx(Stack, {
504
+ gap: "5",
505
+ "data-testid": "layout-vertical",
506
+ children
392
507
  });
393
- if (node.format === "horizontal") return <HStack gap="3" data-testid="layout-horizontal">
394
- {children}
395
- </HStack>;
396
- return <Stack gap="5" data-testid="layout-vertical">
397
- {children}
398
- </Stack>;
399
508
  };
400
509
  const renderFieldNode = (jsonSchema, node) => {
401
510
  const resolved = resolveScope(jsonSchema, node.scope);
@@ -419,19 +528,19 @@ const UiSchemaForm = (t0) => {
419
528
  } else t1 = $[2];
420
529
  let t2;
421
530
  if ($[3] !== uiFieldset.legend) {
422
- t2 = <Fieldset.Legend>{uiFieldset.legend}</Fieldset.Legend>;
531
+ t2 = /* @__PURE__ */ jsx(Fieldset.Legend, { children: uiFieldset.legend });
423
532
  $[3] = uiFieldset.legend;
424
533
  $[4] = t2;
425
534
  } else t2 = $[4];
426
535
  let t3;
427
536
  if ($[5] !== uiFieldset.description) {
428
- t3 = uiFieldset.description && <Fieldset.Description>{uiFieldset.description}</Fieldset.Description>;
537
+ t3 = uiFieldset.description && /* @__PURE__ */ jsx(Fieldset.Description, { children: uiFieldset.description });
429
538
  $[5] = uiFieldset.description;
430
539
  $[6] = t3;
431
540
  } else t3 = $[6];
432
541
  let t4;
433
542
  if ($[7] !== t2 || $[8] !== t3) {
434
- t4 = <Fieldset.Header>{t2}{t3}</Fieldset.Header>;
543
+ t4 = /* @__PURE__ */ jsxs(Fieldset.Header, { children: [t2, t3] });
435
544
  $[7] = t2;
436
545
  $[8] = t3;
437
546
  $[9] = t4;
@@ -440,7 +549,7 @@ const UiSchemaForm = (t0) => {
440
549
  if ($[10] !== jsonSchema || $[11] !== uiFieldset.nodes) {
441
550
  let t6;
442
551
  if ($[13] !== jsonSchema) {
443
- t6 = (node, index) => <Fragment key={`fieldset-${node.type}-${index}`}>{renderNode(jsonSchema, node)}</Fragment>;
552
+ t6 = (node, index) => /* @__PURE__ */ jsx(Fragment, { children: renderNode(jsonSchema, node) }, `fieldset-${node.type}-${index}`);
444
553
  $[13] = jsonSchema;
445
554
  $[14] = t6;
446
555
  } else t6 = $[14];
@@ -451,26 +560,33 @@ const UiSchemaForm = (t0) => {
451
560
  } else t5 = $[12];
452
561
  let t6;
453
562
  if ($[15] !== t5) {
454
- t6 = <Fieldset.Body><Stack gap="4">{t5}</Stack></Fieldset.Body>;
563
+ t6 = /* @__PURE__ */ jsx(Fieldset.Body, { children: /* @__PURE__ */ jsx(Stack, {
564
+ gap: "4",
565
+ children: t5
566
+ }) });
455
567
  $[15] = t5;
456
568
  $[16] = t6;
457
569
  } else t6 = $[16];
458
570
  let t7;
459
571
  if ($[17] !== error) {
460
- t7 = error && <Fieldset.ErrorText>{error}</Fieldset.ErrorText>;
572
+ t7 = error && /* @__PURE__ */ jsx(Fieldset.ErrorText, { children: error });
461
573
  $[17] = error;
462
574
  $[18] = t7;
463
575
  } else t7 = $[18];
464
576
  let t8;
465
577
  if ($[19] !== footer || $[20] !== t7) {
466
- t8 = <Fieldset.Footer>{t7}{footer}</Fieldset.Footer>;
578
+ t8 = /* @__PURE__ */ jsxs(Fieldset.Footer, { children: [t7, footer] });
467
579
  $[19] = footer;
468
580
  $[20] = t7;
469
581
  $[21] = t8;
470
582
  } else t8 = $[21];
471
583
  let t9;
472
584
  if ($[22] !== t4 || $[23] !== t6 || $[24] !== t8) {
473
- t9 = <Fieldset.Root>{t4}{t6}{t8}</Fieldset.Root>;
585
+ t9 = /* @__PURE__ */ jsxs(Fieldset.Root, { children: [
586
+ t4,
587
+ t6,
588
+ t8
589
+ ] });
474
590
  $[22] = t4;
475
591
  $[23] = t6;
476
592
  $[24] = t8;
@@ -478,14 +594,21 @@ const UiSchemaForm = (t0) => {
478
594
  } else t9 = $[25];
479
595
  let t10;
480
596
  if ($[26] !== form || $[27] !== t9) {
481
- t10 = <FormProvider {...form}>{t9}</FormProvider>;
597
+ t10 = /* @__PURE__ */ jsx(FormProvider, {
598
+ ...form,
599
+ children: t9
600
+ });
482
601
  $[26] = form;
483
602
  $[27] = t9;
484
603
  $[28] = t10;
485
604
  } else t10 = $[28];
486
605
  let t11;
487
606
  if ($[29] !== form || $[30] !== t1 || $[31] !== t10) {
488
- t11 = <Form value={form} onSubmit={t1}>{t10}</Form>;
607
+ t11 = /* @__PURE__ */ jsx(Form, {
608
+ value: form,
609
+ onSubmit: t1,
610
+ children: t10
611
+ });
489
612
  $[29] = form;
490
613
  $[30] = t1;
491
614
  $[31] = t10;
@@ -493,7 +616,10 @@ const UiSchemaForm = (t0) => {
493
616
  } else t11 = $[32];
494
617
  let t12;
495
618
  if ($[33] !== id || $[34] !== t11) {
496
- t12 = <Box id={id}>{t11}</Box>;
619
+ t12 = /* @__PURE__ */ jsx(Box, {
620
+ id,
621
+ children: t11
622
+ });
497
623
  $[33] = id;
498
624
  $[34] = t11;
499
625
  $[35] = t12;
@@ -1,27 +1,47 @@
1
1
  import { forwardRef } from "react";
2
2
  import { styled } from "@pyck/styled-system/jsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
3
4
  import { AbsoluteCenter } from "@pyck/react/absolute-center";
4
5
  import { Spinner } from "@pyck/react/spinner";
5
6
 
6
7
  //#region src/components/loader/loader.tsx
7
8
  const Span = styled("span");
8
9
  const Loader = forwardRef(function Loader(props, ref) {
9
- const { spinner = <Spinner size="inherit" borderWidth="0.125em" color="inherit" />, spinnerPlacement = "start", children, text, visible = true, ...rest } = props;
10
+ const { spinner = /* @__PURE__ */ jsx(Spinner, {
11
+ size: "inherit",
12
+ borderWidth: "0.125em",
13
+ color: "inherit"
14
+ }), spinnerPlacement = "start", children, text, visible = true, ...rest } = props;
10
15
  if (!visible) return children;
11
- if (text) return <Span ref={ref} display="contents" {...rest}>
12
- {spinnerPlacement === "start" && spinner}
13
- {text}
14
- {spinnerPlacement === "end" && spinner}
15
- </Span>;
16
- if (spinner) return <Span ref={ref} display="contents" {...rest}>
17
- <AbsoluteCenter display="inline-flex">{spinner}</AbsoluteCenter>
18
- <Span visibility="hidden" display="contents">
19
- {children}
20
- </Span>
21
- </Span>;
22
- return <Span ref={ref} display="contents" {...rest}>
23
- {children}
24
- </Span>;
16
+ if (text) return /* @__PURE__ */ jsxs(Span, {
17
+ ref,
18
+ display: "contents",
19
+ ...rest,
20
+ children: [
21
+ spinnerPlacement === "start" && spinner,
22
+ text,
23
+ spinnerPlacement === "end" && spinner
24
+ ]
25
+ });
26
+ if (spinner) return /* @__PURE__ */ jsxs(Span, {
27
+ ref,
28
+ display: "contents",
29
+ ...rest,
30
+ children: [/* @__PURE__ */ jsx(AbsoluteCenter, {
31
+ display: "inline-flex",
32
+ children: spinner
33
+ }), /* @__PURE__ */ jsx(Span, {
34
+ visibility: "hidden",
35
+ display: "contents",
36
+ children
37
+ })]
38
+ });
39
+ return /* @__PURE__ */ jsx(Span, {
40
+ ref,
41
+ display: "contents",
42
+ ...rest,
43
+ children
44
+ });
25
45
  });
26
46
 
27
47
  //#endregion
@@ -1,4 +1,5 @@
1
1
  import { c } from "react/compiler-runtime";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
2
3
 
3
4
  //#region src/components/logo/logo.tsx
4
5
  const Logo = (props) => {
@@ -6,8 +7,11 @@ const Logo = (props) => {
6
7
  let t0;
7
8
  let t1;
8
9
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
9
- t0 = <title>Pyck Logo</title>;
10
- t1 = <path d="M23.9648 14.7432C22.7094 20.0485 17.8934 23.9999 12.1426 24C9.3075 24 6.70113 23.0371 4.63477 21.4277C8.9098 20.4307 12.9283 17.3733 16.9268 16.2139C19.3145 16.0313 21.6543 15.4633 23.9648 14.7432ZM12.1426 0C17.9528 0.000132398 22.8082 4.03376 24.002 9.42188C18.9357 11.5198 12.7029 11.8905 14.5098 4.35352C13.4466 4.78152 12.6277 5.72995 11.6211 6.28809C10.4736 6.91121 9.73972 6.64161 7.73633 7.81348C7.30352 8.06454 6.75768 8.53945 6.31543 8.93945C5.91107 9.31137 5.6004 9.71109 5.29004 10.0088C4.28369 10.883 3.80445 11.4415 3.7666 11.9531C3.71952 12.5299 3.82299 12.7996 4.04883 13.0693C4.99889 14.2323 7.56671 14.7726 10.6807 15.0703C12.7798 16.3801 5.94935 19.3806 3.05176 19.9512C1.15419 17.8338 0 15.0509 0 12C5.21518e-07 5.37258 5.43658 0 12.1426 0ZM8.71484 9.45117C9.45796 8.60498 10.8212 9.76692 10.0508 10.5947H10.0596C9.30688 11.4321 7.9434 10.2977 8.71484 9.45117Z" fill="currentColor" />;
10
+ t0 = /* @__PURE__ */ jsx("title", { children: "Pyck Logo" });
11
+ t1 = /* @__PURE__ */ jsx("path", {
12
+ d: "M23.9648 14.7432C22.7094 20.0485 17.8934 23.9999 12.1426 24C9.3075 24 6.70113 23.0371 4.63477 21.4277C8.9098 20.4307 12.9283 17.3733 16.9268 16.2139C19.3145 16.0313 21.6543 15.4633 23.9648 14.7432ZM12.1426 0C17.9528 0.000132398 22.8082 4.03376 24.002 9.42188C18.9357 11.5198 12.7029 11.8905 14.5098 4.35352C13.4466 4.78152 12.6277 5.72995 11.6211 6.28809C10.4736 6.91121 9.73972 6.64161 7.73633 7.81348C7.30352 8.06454 6.75768 8.53945 6.31543 8.93945C5.91107 9.31137 5.6004 9.71109 5.29004 10.0088C4.28369 10.883 3.80445 11.4415 3.7666 11.9531C3.71952 12.5299 3.82299 12.7996 4.04883 13.0693C4.99889 14.2323 7.56671 14.7726 10.6807 15.0703C12.7798 16.3801 5.94935 19.3806 3.05176 19.9512C1.15419 17.8338 0 15.0509 0 12C5.21518e-07 5.37258 5.43658 0 12.1426 0ZM8.71484 9.45117C9.45796 8.60498 10.8212 9.76692 10.0508 10.5947H10.0596C9.30688 11.4321 7.9434 10.2977 8.71484 9.45117Z",
13
+ fill: "currentColor"
14
+ });
11
15
  $[0] = t0;
12
16
  $[1] = t1;
13
17
  } else {
@@ -16,7 +20,13 @@ const Logo = (props) => {
16
20
  }
17
21
  let t2;
18
22
  if ($[2] !== props) {
19
- t2 = <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>{t0}{t1}</svg>;
23
+ t2 = /* @__PURE__ */ jsxs("svg", {
24
+ viewBox: "0 0 24 24",
25
+ fill: "none",
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ ...props,
28
+ children: [t0, t1]
29
+ });
20
30
  $[2] = props;
21
31
  $[3] = t2;
22
32
  } else t2 = $[3];
@@ -26,22 +36,63 @@ const FullLogo = (props) => {
26
36
  const $ = c(5);
27
37
  let t0;
28
38
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
29
- t0 = <title>Pyck Logo</title>;
39
+ t0 = /* @__PURE__ */ jsx("title", { children: "Pyck Logo" });
30
40
  $[0] = t0;
31
41
  } else t0 = $[0];
32
42
  let t1;
33
43
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
34
- t1 = <g clipPath="url(#clip0_14004_29403)"><path d="M10.8098 24.5945C9.85325 24.0459 8.76308 23.7716 7.53928 23.7716C6.44207 23.7716 5.49257 24.0107 4.6767 24.482C4.24766 24.7352 3.86786 25.0587 3.54433 25.4455V23.9545H-0.000488281V41.362H3.70609V35.3767C4.00853 35.7143 4.34613 35.9956 4.72593 36.2207C5.53477 36.6989 6.47021 36.931 7.53224 36.931C8.75605 36.931 9.84622 36.6567 10.8028 36.1081C11.7593 35.5595 12.5259 34.7999 13.0886 33.8223C13.6513 32.8446 13.9326 31.6841 13.9326 30.3408C13.9326 28.9974 13.6513 27.851 13.0886 26.8663C12.5259 25.8816 11.7663 25.115 10.8028 24.5734L10.8098 24.5945ZM9.74072 32.2538C9.44532 32.7884 9.05848 33.1963 8.57318 33.4776C8.08788 33.766 7.53928 33.9067 6.92034 33.9067C6.30141 33.9067 5.74577 33.766 5.25343 33.4776C4.7611 33.1893 4.36723 32.7813 4.07886 32.2538C3.78346 31.7193 3.63576 31.0933 3.63576 30.3619C3.63576 29.6304 3.78346 28.9833 4.07886 28.4629C4.37426 27.9424 4.7611 27.5415 5.25343 27.2602C5.74577 26.9859 6.30141 26.8452 6.92034 26.8452C7.53928 26.8452 8.08788 26.9859 8.57318 27.2602C9.05848 27.5345 9.44532 27.9354 9.74072 28.4629C10.0361 28.9833 10.1838 29.6234 10.1838 30.3619C10.1838 31.1004 10.0361 31.7193 9.74072 32.2538Z" fill="currentcolor" /><path d="M21.5786 32.6474L17.9775 23.9682H14.1725L19.6866 36.8674L19.6374 36.9729C19.3842 37.5426 19.1028 37.9505 18.7934 38.1967C18.4839 38.4429 18.076 38.5624 17.5696 38.5624C17.1898 38.5624 16.81 38.4921 16.4372 38.3514C16.0644 38.2108 15.7339 37.9998 15.4525 37.7325L14.0951 40.3982C14.5241 40.7639 15.0587 41.0452 15.7128 41.2562C16.3598 41.4602 17.0139 41.5657 17.661 41.5657C18.4347 41.5657 19.145 41.4461 19.7921 41.207C20.4322 40.9679 21.023 40.5599 21.5505 39.9832C22.085 39.4064 22.5562 38.5906 22.9642 37.5426L28.7456 23.9612H25.2008L21.5716 32.6404L21.5786 32.6474Z" fill="currentcolor" /><path d="M34.386 27.2531C34.8924 26.9788 35.455 26.8382 36.074 26.8382C36.6577 26.8382 37.1993 26.9788 37.6917 27.2531C38.184 27.5274 38.606 27.9705 38.9506 28.5754L41.8062 27.007C41.3631 25.9801 40.6386 25.1783 39.6329 24.6156C38.6271 24.0529 37.4455 23.7716 36.1021 23.7716C34.7587 23.7716 33.4998 24.06 32.4307 24.6297C31.3616 25.1994 30.5176 25.9801 29.9127 26.9577C29.3008 27.9424 28.9984 29.0748 28.9984 30.3548C28.9984 31.6349 29.3008 32.7602 29.9127 33.759C30.5247 34.7577 31.3616 35.5384 32.4307 36.1011C33.4998 36.6638 34.7236 36.9451 36.1021 36.9451C37.4807 36.9451 38.6271 36.6567 39.6329 36.087C40.6386 35.5173 41.3631 34.7226 41.8062 33.7097L38.9506 32.1413C38.599 32.7602 38.184 33.2104 37.6917 33.4847C37.1993 33.759 36.6577 33.8997 36.074 33.8997C35.455 33.8997 34.8924 33.759 34.386 33.4847C33.8796 33.2104 33.4716 32.8024 33.1762 32.2749C32.8738 31.7404 32.7261 31.1074 32.7261 30.3619C32.7261 29.6163 32.8738 28.9833 33.1762 28.4629C33.4787 27.9424 33.8796 27.5415 34.386 27.2602V27.2531Z" fill="currentcolor" /><path d="M57.4346 23.9623H53.0106L47.5879 29.0826V19.1093H43.8743V36.756H47.5879V33.5136L49.3884 31.7623L53.4115 36.756H57.9058L52.1033 29.378L57.4346 23.9623Z" fill="currentcolor" /><path d="M77.9997 2.27797C77.8027 2.33423 77.3596 2.3905 77.1627 2.41863H77.1697C60.0294 5.36561 53.6502 -6.64034 38.7535 5.66805C32.2758 1.89816 26.3185 7.29979 21.1982 10.7743C17.6042 13.243 9.69164 15.5992 11.4007 8.38996C10.606 8.71349 9.99407 9.4309 9.2415 9.8529C8.38343 10.3241 7.83483 10.1202 6.33672 11.0064C6.01319 11.1963 5.60525 11.555 5.27468 11.8574C4.97225 12.1387 4.74015 12.4412 4.50805 12.6662C3.75548 13.3274 3.39678 13.7494 3.36864 14.1362C3.33348 14.5723 3.41084 14.7763 3.57964 14.9802C4.29001 15.8594 6.21012 16.2673 8.53817 16.4924C10.3668 17.6459 3.13654 20.5366 2.04637 20.2341C1.336 19.8895 0.414631 19.6363 -0.0144043 20.5225C0.400564 21.0781 1.27973 21.4861 1.96197 21.5423C5.94285 21.5916 9.58614 18.4195 13.2083 17.3575C19.8478 16.8441 25.995 12.3216 32.3461 12.7014C36.3692 13.046 38.9856 16.2392 42.9665 17.0551C47.1443 17.6599 51.9059 16.4361 56.1751 16.9214C56.773 16.9214 58.8337 16.8722 57.406 15.8172C56.3861 14.8114 55.1412 15.4163 53.9034 15.5148C51.5823 15.6414 49.2121 15.5077 46.87 14.5301C43.1986 12.9968 42.1365 8.23522 39.0981 5.87905C51.4417 3.47364 57.8842 18.2437 77.9926 2.2639L77.9997 2.27797ZM8.07396 13.1093C7.51129 13.7423 6.49146 12.8843 7.06819 12.2442C7.62383 11.6042 8.64367 12.4834 8.06693 13.1093H8.07396Z" fill="currentcolor" /></g>;
44
+ t1 = /* @__PURE__ */ jsxs("g", {
45
+ clipPath: "url(#clip0_14004_29403)",
46
+ children: [
47
+ /* @__PURE__ */ jsx("path", {
48
+ d: "M10.8098 24.5945C9.85325 24.0459 8.76308 23.7716 7.53928 23.7716C6.44207 23.7716 5.49257 24.0107 4.6767 24.482C4.24766 24.7352 3.86786 25.0587 3.54433 25.4455V23.9545H-0.000488281V41.362H3.70609V35.3767C4.00853 35.7143 4.34613 35.9956 4.72593 36.2207C5.53477 36.6989 6.47021 36.931 7.53224 36.931C8.75605 36.931 9.84622 36.6567 10.8028 36.1081C11.7593 35.5595 12.5259 34.7999 13.0886 33.8223C13.6513 32.8446 13.9326 31.6841 13.9326 30.3408C13.9326 28.9974 13.6513 27.851 13.0886 26.8663C12.5259 25.8816 11.7663 25.115 10.8028 24.5734L10.8098 24.5945ZM9.74072 32.2538C9.44532 32.7884 9.05848 33.1963 8.57318 33.4776C8.08788 33.766 7.53928 33.9067 6.92034 33.9067C6.30141 33.9067 5.74577 33.766 5.25343 33.4776C4.7611 33.1893 4.36723 32.7813 4.07886 32.2538C3.78346 31.7193 3.63576 31.0933 3.63576 30.3619C3.63576 29.6304 3.78346 28.9833 4.07886 28.4629C4.37426 27.9424 4.7611 27.5415 5.25343 27.2602C5.74577 26.9859 6.30141 26.8452 6.92034 26.8452C7.53928 26.8452 8.08788 26.9859 8.57318 27.2602C9.05848 27.5345 9.44532 27.9354 9.74072 28.4629C10.0361 28.9833 10.1838 29.6234 10.1838 30.3619C10.1838 31.1004 10.0361 31.7193 9.74072 32.2538Z",
49
+ fill: "currentcolor"
50
+ }),
51
+ /* @__PURE__ */ jsx("path", {
52
+ d: "M21.5786 32.6474L17.9775 23.9682H14.1725L19.6866 36.8674L19.6374 36.9729C19.3842 37.5426 19.1028 37.9505 18.7934 38.1967C18.4839 38.4429 18.076 38.5624 17.5696 38.5624C17.1898 38.5624 16.81 38.4921 16.4372 38.3514C16.0644 38.2108 15.7339 37.9998 15.4525 37.7325L14.0951 40.3982C14.5241 40.7639 15.0587 41.0452 15.7128 41.2562C16.3598 41.4602 17.0139 41.5657 17.661 41.5657C18.4347 41.5657 19.145 41.4461 19.7921 41.207C20.4322 40.9679 21.023 40.5599 21.5505 39.9832C22.085 39.4064 22.5562 38.5906 22.9642 37.5426L28.7456 23.9612H25.2008L21.5716 32.6404L21.5786 32.6474Z",
53
+ fill: "currentcolor"
54
+ }),
55
+ /* @__PURE__ */ jsx("path", {
56
+ d: "M34.386 27.2531C34.8924 26.9788 35.455 26.8382 36.074 26.8382C36.6577 26.8382 37.1993 26.9788 37.6917 27.2531C38.184 27.5274 38.606 27.9705 38.9506 28.5754L41.8062 27.007C41.3631 25.9801 40.6386 25.1783 39.6329 24.6156C38.6271 24.0529 37.4455 23.7716 36.1021 23.7716C34.7587 23.7716 33.4998 24.06 32.4307 24.6297C31.3616 25.1994 30.5176 25.9801 29.9127 26.9577C29.3008 27.9424 28.9984 29.0748 28.9984 30.3548C28.9984 31.6349 29.3008 32.7602 29.9127 33.759C30.5247 34.7577 31.3616 35.5384 32.4307 36.1011C33.4998 36.6638 34.7236 36.9451 36.1021 36.9451C37.4807 36.9451 38.6271 36.6567 39.6329 36.087C40.6386 35.5173 41.3631 34.7226 41.8062 33.7097L38.9506 32.1413C38.599 32.7602 38.184 33.2104 37.6917 33.4847C37.1993 33.759 36.6577 33.8997 36.074 33.8997C35.455 33.8997 34.8924 33.759 34.386 33.4847C33.8796 33.2104 33.4716 32.8024 33.1762 32.2749C32.8738 31.7404 32.7261 31.1074 32.7261 30.3619C32.7261 29.6163 32.8738 28.9833 33.1762 28.4629C33.4787 27.9424 33.8796 27.5415 34.386 27.2602V27.2531Z",
57
+ fill: "currentcolor"
58
+ }),
59
+ /* @__PURE__ */ jsx("path", {
60
+ d: "M57.4346 23.9623H53.0106L47.5879 29.0826V19.1093H43.8743V36.756H47.5879V33.5136L49.3884 31.7623L53.4115 36.756H57.9058L52.1033 29.378L57.4346 23.9623Z",
61
+ fill: "currentcolor"
62
+ }),
63
+ /* @__PURE__ */ jsx("path", {
64
+ d: "M77.9997 2.27797C77.8027 2.33423 77.3596 2.3905 77.1627 2.41863H77.1697C60.0294 5.36561 53.6502 -6.64034 38.7535 5.66805C32.2758 1.89816 26.3185 7.29979 21.1982 10.7743C17.6042 13.243 9.69164 15.5992 11.4007 8.38996C10.606 8.71349 9.99407 9.4309 9.2415 9.8529C8.38343 10.3241 7.83483 10.1202 6.33672 11.0064C6.01319 11.1963 5.60525 11.555 5.27468 11.8574C4.97225 12.1387 4.74015 12.4412 4.50805 12.6662C3.75548 13.3274 3.39678 13.7494 3.36864 14.1362C3.33348 14.5723 3.41084 14.7763 3.57964 14.9802C4.29001 15.8594 6.21012 16.2673 8.53817 16.4924C10.3668 17.6459 3.13654 20.5366 2.04637 20.2341C1.336 19.8895 0.414631 19.6363 -0.0144043 20.5225C0.400564 21.0781 1.27973 21.4861 1.96197 21.5423C5.94285 21.5916 9.58614 18.4195 13.2083 17.3575C19.8478 16.8441 25.995 12.3216 32.3461 12.7014C36.3692 13.046 38.9856 16.2392 42.9665 17.0551C47.1443 17.6599 51.9059 16.4361 56.1751 16.9214C56.773 16.9214 58.8337 16.8722 57.406 15.8172C56.3861 14.8114 55.1412 15.4163 53.9034 15.5148C51.5823 15.6414 49.2121 15.5077 46.87 14.5301C43.1986 12.9968 42.1365 8.23522 39.0981 5.87905C51.4417 3.47364 57.8842 18.2437 77.9926 2.2639L77.9997 2.27797ZM8.07396 13.1093C7.51129 13.7423 6.49146 12.8843 7.06819 12.2442C7.62383 11.6042 8.64367 12.4834 8.06693 13.1093H8.07396Z",
65
+ fill: "currentcolor"
66
+ })
67
+ ]
68
+ });
35
69
  $[1] = t1;
36
70
  } else t1 = $[1];
37
71
  let t2;
38
72
  if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
39
- t2 = <defs><clipPath id="clip0_14004_29403"><rect width="78" height="41.5601" fill="white" /></clipPath></defs>;
73
+ t2 = /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
74
+ id: "clip0_14004_29403",
75
+ children: /* @__PURE__ */ jsx("rect", {
76
+ width: "78",
77
+ height: "41.5601",
78
+ fill: "white"
79
+ })
80
+ }) });
40
81
  $[2] = t2;
41
82
  } else t2 = $[2];
42
83
  let t3;
43
84
  if ($[3] !== props) {
44
- t3 = <svg viewBox="0 0 78 42" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>{t0}{t1}{t2}</svg>;
85
+ t3 = /* @__PURE__ */ jsxs("svg", {
86
+ viewBox: "0 0 78 42",
87
+ fill: "none",
88
+ xmlns: "http://www.w3.org/2000/svg",
89
+ ...props,
90
+ children: [
91
+ t0,
92
+ t1,
93
+ t2
94
+ ]
95
+ });
45
96
  $[3] = props;
46
97
  $[4] = t3;
47
98
  } else t3 = $[4];
@@ -3,8 +3,8 @@ import { ComponentProps } from "react";
3
3
  import * as _pyck_styled_system_jsx0 from "@pyck/styled-system/jsx";
4
4
  import { HTMLStyledProps } from "@pyck/styled-system/jsx";
5
5
  import * as _pyck_styled_system_recipes0 from "@pyck/styled-system/recipes";
6
- import { Menu, MenuContext as Context, MenuSelectionDetails as SelectionDetails } from "@ark-ui/react/menu";
7
6
  import * as react_jsx_runtime0 from "react/jsx-runtime";
7
+ import { Menu, MenuContext as Context, MenuSelectionDetails as SelectionDetails } from "@ark-ui/react/menu";
8
8
 
9
9
  //#region src/components/menu/menu.d.ts
10
10
  declare namespace menu_d_exports {
@@ -1,11 +1,12 @@
1
1
  import { t as __exportAll } from "../../chunk-BYypO7fO.js";
2
- import { t as Show } from "../../show-DAysVQAC.js";
2
+ import { t as Show } from "../../show-B7zG1Vci.js";
3
3
  import "../show/index.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { forwardRef } from "react";
6
6
  import { createStyleContext } from "@pyck/styled-system/jsx";
7
7
  import { menu } from "@pyck/styled-system/recipes";
8
8
  import { CheckIcon, ChevronDownIcon } from "lucide-react";
9
+ import { jsx } from "react/jsx-runtime";
9
10
  import { Menu, MenuContext as Context, useMenuItemContext } from "@ark-ui/react/menu";
10
11
 
11
12
  //#region src/components/menu/menu.tsx
@@ -45,7 +46,7 @@ const ArrowTip = withContext(Menu.ArrowTip, "arrowTip");
45
46
  const CheckboxItem = withContext(Menu.CheckboxItem, "item");
46
47
  const Content = withContext(Menu.Content, "content");
47
48
  const ContextTrigger = withContext(Menu.ContextTrigger, "contextTrigger");
48
- const Indicator = withContext(Menu.Indicator, "indicator", { defaultProps: { children: <ChevronDownIcon /> } });
49
+ const Indicator = withContext(Menu.Indicator, "indicator", { defaultProps: { children: /* @__PURE__ */ jsx(ChevronDownIcon, {}) } });
49
50
  const Item = withContext(Menu.Item, "item");
50
51
  const ItemGroup = withContext(Menu.ItemGroup, "itemGroup");
51
52
  const ItemGroupLabel = withContext(Menu.ItemGroupLabel, "itemGroupLabel");
@@ -62,24 +63,35 @@ const ItemIndicator = forwardRef(function ItemIndicator(props, ref) {
62
63
  const item = useMenuItemContext();
63
64
  let t0;
64
65
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
65
- t0 = <svg aria-hidden="true" focusable="false" />;
66
+ t0 = /* @__PURE__ */ jsx("svg", {
67
+ "aria-hidden": "true",
68
+ focusable: "false"
69
+ });
66
70
  $[0] = t0;
67
71
  } else t0 = $[0];
68
72
  let t1;
69
73
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
70
- t1 = <CheckIcon />;
74
+ t1 = /* @__PURE__ */ jsx(CheckIcon, {});
71
75
  $[1] = t1;
72
76
  } else t1 = $[1];
73
77
  let t2;
74
78
  if ($[2] !== props || $[3] !== ref) {
75
- t2 = <StyledItemIndicator ref={ref} {...props}>{t1}</StyledItemIndicator>;
79
+ t2 = /* @__PURE__ */ jsx(StyledItemIndicator, {
80
+ ref,
81
+ ...props,
82
+ children: t1
83
+ });
76
84
  $[2] = props;
77
85
  $[3] = ref;
78
86
  $[4] = t2;
79
87
  } else t2 = $[4];
80
88
  let t3;
81
89
  if ($[5] !== item.checked || $[6] !== t2) {
82
- t3 = <Show when={item.checked} fallback={t0}>{t2}</Show>;
90
+ t3 = /* @__PURE__ */ jsx(Show, {
91
+ when: item.checked,
92
+ fallback: t0,
93
+ children: t2
94
+ });
83
95
  $[5] = item.checked;
84
96
  $[6] = t2;
85
97
  $[7] = t3;
@@ -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 { FieldProps } from "@pyck/react/field";
6
7
  import { FieldPath, FieldValues } from "react-hook-form";
7
8
  import { NumberInput } from "@pyck/react/number-input";
8
9
  import { NumberInput as NumberInput$1, NumberInputContext as Context } from "@ark-ui/react/number-input";
9
- import * as react_jsx_runtime0 from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/number-input/number-input.d.ts
12
12
  declare namespace number_input_d_exports {