@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
@@ -4,6 +4,7 @@ import { c } from "react/compiler-runtime";
4
4
  import { useMemo } from "react";
5
5
  import { createStyleContext } from "@pyck/styled-system/jsx";
6
6
  import { segmentGroup } from "@pyck/styled-system/recipes";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
7
8
  import { SegmentGroup, SegmentGroupContext as Context } from "@ark-ui/react/segment-group";
8
9
 
9
10
  //#region src/components/segment-group/segment-group.tsx
@@ -55,7 +56,12 @@ const Items = (props) => {
55
56
  if ($[5] !== data || $[6] !== itemProps) {
56
57
  let t2;
57
58
  if ($[8] !== itemProps) {
58
- t2 = (item) => <Item key={item.value} value={item.value} disabled={item.disabled} {...itemProps}><ItemText>{item.label}</ItemText><ItemHiddenInput /></Item>;
59
+ t2 = (item) => /* @__PURE__ */ jsxs(Item, {
60
+ value: item.value,
61
+ disabled: item.disabled,
62
+ ...itemProps,
63
+ children: [/* @__PURE__ */ jsx(ItemText, { children: item.label }), /* @__PURE__ */ jsx(ItemHiddenInput, {})]
64
+ }, item.value);
59
65
  $[8] = itemProps;
60
66
  $[9] = t2;
61
67
  } else t2 = $[9];
@@ -3,6 +3,7 @@ import * as react from "react";
3
3
  import { ReactNode, RefAttributes } from "react";
4
4
  import * as _pyck_styled_system_jsx0 from "@pyck/styled-system/jsx";
5
5
  import { SelectVariantProps } from "@pyck/styled-system/recipes";
6
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
6
7
  import { FieldProps } from "@pyck/react/field";
7
8
  import * as _ark_ui_react0 from "@ark-ui/react";
8
9
  import { Assign, CollectionItem, SelectRootProps } from "@ark-ui/react";
@@ -10,7 +11,6 @@ import { Select } from "@pyck/react/select";
10
11
  import { Select as Select$1, SelectContext as Context, SelectItemContext as ItemContext, SelectValueChangeDetails as ValueChangeDetails, useListCollection } from "@ark-ui/react/select";
11
12
  import * as _pyck_styled_system_types0 from "@pyck/styled-system/types";
12
13
  import { HTMLStyledProps as HTMLStyledProps$1 } from "@pyck/styled-system/types";
13
- import * as react_jsx_runtime0 from "react/jsx-runtime";
14
14
 
15
15
  //#region src/components/select/select.d.ts
16
16
  declare namespace select_d_exports {
@@ -6,6 +6,7 @@ import { ark } from "@ark-ui/react/factory";
6
6
  import { createStyleContext } from "@pyck/styled-system/jsx";
7
7
  import { select } from "@pyck/styled-system/recipes";
8
8
  import { CheckIcon, ChevronsUpDownIcon } from "lucide-react";
9
+ import { jsx, jsxs } from "react/jsx-runtime";
9
10
  import { Field } from "@pyck/react/field";
10
11
  import { Controller, useFormContext } from "react-hook-form";
11
12
  import { Show } from "@pyck/react/show";
@@ -49,7 +50,7 @@ const List = withContext(Select$1.List, "list");
49
50
  const Positioner = withContext(Select$1.Positioner, "positioner");
50
51
  const Trigger = withContext(Select$1.Trigger, "trigger");
51
52
  const ValueText = withContext(Select$1.ValueText, "valueText");
52
- const Indicator = withContext(Select$1.Indicator, "indicator", { defaultProps: { children: <ChevronsUpDownIcon /> } });
53
+ const Indicator = withContext(Select$1.Indicator, "indicator", { defaultProps: { children: /* @__PURE__ */ jsx(ChevronsUpDownIcon, {}) } });
53
54
  const HiddenSelect = Select$1.HiddenSelect;
54
55
  const StyledItemIndicator = withContext(Select$1.ItemIndicator, "itemIndicator");
55
56
  const ItemIndicator$1 = forwardRef(function ItemIndicator(props, ref) {
@@ -57,24 +58,35 @@ const ItemIndicator$1 = forwardRef(function ItemIndicator(props, ref) {
57
58
  const item = useSelectItemContext();
58
59
  let t0;
59
60
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
60
- t0 = <svg aria-hidden="true" focusable="false" />;
61
+ t0 = /* @__PURE__ */ jsx("svg", {
62
+ "aria-hidden": "true",
63
+ focusable: "false"
64
+ });
61
65
  $[0] = t0;
62
66
  } else t0 = $[0];
63
67
  let t1;
64
68
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
65
- t1 = <CheckIcon />;
69
+ t1 = /* @__PURE__ */ jsx(CheckIcon, {});
66
70
  $[1] = t1;
67
71
  } else t1 = $[1];
68
72
  let t2;
69
73
  if ($[2] !== props || $[3] !== ref) {
70
- t2 = <StyledItemIndicator ref={ref} {...props}>{t1}</StyledItemIndicator>;
74
+ t2 = /* @__PURE__ */ jsx(StyledItemIndicator, {
75
+ ref,
76
+ ...props,
77
+ children: t1
78
+ });
71
79
  $[2] = props;
72
80
  $[3] = ref;
73
81
  $[4] = t2;
74
82
  } else t2 = $[4];
75
83
  let t3;
76
84
  if ($[5] !== item.selected || $[6] !== t2) {
77
- t3 = <Show when={item.selected} fallback={t0}>{t2}</Show>;
85
+ t3 = /* @__PURE__ */ jsx(Show, {
86
+ when: item.selected,
87
+ fallback: t0,
88
+ children: t2
89
+ });
78
90
  $[5] = item.selected;
79
91
  $[6] = t2;
80
92
  $[7] = t3;
@@ -125,10 +137,27 @@ const Root = (props) => {
125
137
  if ($[9] !== disabled || $[10] !== helperText || $[11] !== hideLabel || $[12] !== label || $[13] !== placeholder || $[14] !== props.children || $[15] !== required || $[16] !== selectProps) {
126
138
  t0 = (t1) => {
127
139
  const { field, fieldState } = t1;
128
- return <Field label={label} helperText={helperText} hideLabel={hideLabel} disabled={field.disabled || disabled} invalid={!!fieldState.error} errorText={fieldState.error?.message} required={required}><Select.Root {...selectProps} name={field.name} onBlur={field.onBlur} onInteractOutside={field.onBlur} onValueChange={(t2) => {
129
- const { value } = t2;
130
- return field.onChange(selectProps.multiple ? value : value[0]);
131
- }} value={[field.value].flat().filter(Boolean)}><Select.Control><Select.Trigger><Select.ValueText placeholder={placeholder} /><Select.IndicatorGroup><Select.Indicator /></Select.IndicatorGroup></Select.Trigger></Select.Control><Select.Positioner><Select.Content>{props.children}</Select.Content></Select.Positioner></Select.Root></Field>;
140
+ return /* @__PURE__ */ jsx(Field, {
141
+ label,
142
+ helperText,
143
+ hideLabel,
144
+ disabled: field.disabled || disabled,
145
+ invalid: !!fieldState.error,
146
+ errorText: fieldState.error?.message,
147
+ required,
148
+ children: /* @__PURE__ */ jsxs(Select.Root, {
149
+ ...selectProps,
150
+ name: field.name,
151
+ onBlur: field.onBlur,
152
+ onInteractOutside: field.onBlur,
153
+ onValueChange: (t2) => {
154
+ const { value } = t2;
155
+ return field.onChange(selectProps.multiple ? value : value[0]);
156
+ },
157
+ value: [field.value].flat().filter(Boolean),
158
+ children: [/* @__PURE__ */ jsx(Select.Control, { children: /* @__PURE__ */ jsxs(Select.Trigger, { children: [/* @__PURE__ */ jsx(Select.ValueText, { placeholder }), /* @__PURE__ */ jsx(Select.IndicatorGroup, { children: /* @__PURE__ */ jsx(Select.Indicator, {}) })] }) }), /* @__PURE__ */ jsx(Select.Positioner, { children: /* @__PURE__ */ jsx(Select.Content, { children: props.children }) })]
159
+ })
160
+ });
132
161
  };
133
162
  $[9] = disabled;
134
163
  $[10] = helperText;
@@ -142,7 +171,11 @@ const Root = (props) => {
142
171
  } else t0 = $[17];
143
172
  let t1;
144
173
  if ($[18] !== control || $[19] !== name || $[20] !== t0) {
145
- t1 = <Controller name={name} control={control} render={t0} />;
174
+ t1 = /* @__PURE__ */ jsx(Controller, {
175
+ name,
176
+ control,
177
+ render: t0
178
+ });
146
179
  $[18] = control;
147
180
  $[19] = name;
148
181
  $[20] = t0;
@@ -1,3 +1,3 @@
1
- import { t as Show } from "../../show-DAysVQAC.js";
1
+ import { t as Show } from "../../show-B7zG1Vci.js";
2
2
 
3
3
  export { Show };
@@ -3,6 +3,7 @@ import { forwardRef } from "react";
3
3
  import { ark } from "@ark-ui/react/factory";
4
4
  import { Stack, styled } from "@pyck/styled-system/jsx";
5
5
  import { skeleton } from "@pyck/styled-system/recipes";
6
+ import { jsx } from "react/jsx-runtime";
6
7
 
7
8
  //#region src/components/skeleton/skeleton.tsx
8
9
  const Skeleton = styled(ark.div, skeleton);
@@ -35,7 +36,11 @@ const SkeletonText = forwardRef(function SkeletonText(props, ref) {
35
36
  } else t1 = $[6];
36
37
  let t2;
37
38
  if ($[7] !== noOfLines || $[8] !== skeletonProps || $[9] !== t1) {
38
- t2 = t1.map((index) => <Skeleton key={index} height="4" _last={{ maxW: noOfLines === 1 ? "100%" : "80%" }} {...skeletonProps} />);
39
+ t2 = t1.map((index) => /* @__PURE__ */ jsx(Skeleton, {
40
+ height: "4",
41
+ _last: { maxW: noOfLines === 1 ? "100%" : "80%" },
42
+ ...skeletonProps
43
+ }, index));
39
44
  $[7] = noOfLines;
40
45
  $[8] = skeletonProps;
41
46
  $[9] = t1;
@@ -43,7 +48,13 @@ const SkeletonText = forwardRef(function SkeletonText(props, ref) {
43
48
  } else t2 = $[10];
44
49
  let t3;
45
50
  if ($[11] !== gap || $[12] !== ref || $[13] !== rootProps || $[14] !== t2) {
46
- t3 = <Stack ref={ref} gap={gap} width="full" {...rootProps}>{t2}</Stack>;
51
+ t3 = /* @__PURE__ */ jsx(Stack, {
52
+ ref,
53
+ gap,
54
+ width: "full",
55
+ ...rootProps,
56
+ children: t2
57
+ });
47
58
  $[11] = gap;
48
59
  $[12] = ref;
49
60
  $[13] = rootProps;
@@ -2,6 +2,7 @@ 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 "react/jsx-runtime";
5
6
  import * as _ark_ui_react0 from "@ark-ui/react";
6
7
  import { Slider as Slider$1 } from "@ark-ui/react/slider";
7
8
 
@@ -1,32 +1,15 @@
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 { ark } from "@ark-ui/react/factory";
5
4
  import { HStack, VisuallyHidden, createStyleContext } from "@pyck/styled-system/jsx";
6
5
  import { slider } from "@pyck/styled-system/recipes";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Show } from "@pyck/react/show";
8
8
  import { Wrap } from "@pyck/react/wrap";
9
9
  import { For } from "@pyck/react/for";
10
10
  import { Slider as Slider$1, SliderContext as Context, useSliderContext } from "@ark-ui/react/slider";
11
11
 
12
12
  //#region src/components/slider/slider.tsx
13
- var slider_exports = /* @__PURE__ */ __exportAll({
14
- Context: () => Context,
15
- Control: () => Control,
16
- DraggingIndicator: () => DraggingIndicator,
17
- HiddenInput: () => HiddenInput,
18
- Label: () => Label,
19
- Marker: () => Marker,
20
- MarkerGroup: () => MarkerGroup,
21
- MarkerIndicator: () => MarkerIndicator,
22
- Marks: () => Marks,
23
- Range: () => Range,
24
- Root: () => Root,
25
- Thumb: () => Thumb,
26
- Thumbs: () => Thumbs,
27
- Track: () => Track,
28
- ValueText: () => ValueText
29
- });
30
13
  const { withProvider, withContext } = createStyleContext(slider);
31
14
  const Root = withProvider(Slider$1.Root, "root");
32
15
  const Control = withContext(Slider$1.Control, "control");
@@ -56,13 +39,20 @@ const Marks = forwardRef(function Marks(props, ref) {
56
39
  if (!marks?.length) return null;
57
40
  let t0;
58
41
  if ($[3] !== marks) {
59
- t0 = <For each={marks}>{_temp$1}</For>;
42
+ t0 = /* @__PURE__ */ jsx(For, {
43
+ each: marks,
44
+ children: _temp$1
45
+ });
60
46
  $[3] = marks;
61
47
  $[4] = t0;
62
48
  } else t0 = $[4];
63
49
  let t1;
64
50
  if ($[5] !== ref || $[6] !== rest || $[7] !== t0) {
65
- t1 = <MarkerGroup ref={ref} {...rest}>{t0}</MarkerGroup>;
51
+ t1 = /* @__PURE__ */ jsx(MarkerGroup, {
52
+ ref,
53
+ ...rest,
54
+ children: t0
55
+ });
66
56
  $[5] = ref;
67
57
  $[6] = rest;
68
58
  $[7] = t0;
@@ -75,13 +65,20 @@ const Thumbs = (props) => {
75
65
  const slider = useSliderContext();
76
66
  let t0;
77
67
  if ($[0] !== props) {
78
- t0 = (_, index) => <Thumb key={index} index={index} {...props}><HiddenInput /></Thumb>;
68
+ t0 = (_, index) => /* @__PURE__ */ jsx(Thumb, {
69
+ index,
70
+ ...props,
71
+ children: /* @__PURE__ */ jsx(HiddenInput, {})
72
+ }, index);
79
73
  $[0] = props;
80
74
  $[1] = t0;
81
75
  } else t0 = $[1];
82
76
  let t1;
83
77
  if ($[2] !== slider.value || $[3] !== t0) {
84
- t1 = <For each={slider.value}>{t0}</For>;
78
+ t1 = /* @__PURE__ */ jsx(For, {
79
+ each: slider.value,
80
+ children: t0
81
+ });
85
82
  $[2] = slider.value;
86
83
  $[3] = t0;
87
84
  $[4] = t1;
@@ -91,7 +88,10 @@ const Thumbs = (props) => {
91
88
  function _temp$1(mark, index) {
92
89
  const value = typeof mark === "number" ? mark : mark.value;
93
90
  const label = typeof mark === "number" ? void 0 : mark.label;
94
- return <Marker key={index} value={value}><MarkerIndicator />{label != null && <span>{label}</span>}</Marker>;
91
+ return /* @__PURE__ */ jsxs(Marker, {
92
+ value,
93
+ children: [/* @__PURE__ */ jsx(MarkerIndicator, {}), label != null && /* @__PURE__ */ jsx("span", { children: label })]
94
+ }, index);
95
95
  }
96
96
 
97
97
  //#endregion
@@ -123,31 +123,41 @@ const Slider = forwardRef(function Slider(props, ref) {
123
123
  }
124
124
  let t0;
125
125
  if ($[7] !== label) {
126
- t0 = <slider_exports.Label>{label}</slider_exports.Label>;
126
+ t0 = /* @__PURE__ */ jsx(Label, { children: label });
127
127
  $[7] = label;
128
128
  $[8] = t0;
129
129
  } else t0 = $[8];
130
130
  let t1;
131
131
  if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
132
- t1 = <slider_exports.ValueText />;
132
+ t1 = /* @__PURE__ */ jsx(ValueText, {});
133
133
  $[9] = t1;
134
134
  } else t1 = $[9];
135
135
  let t2;
136
136
  if ($[10] !== showValue) {
137
- t2 = <Show when={showValue}>{t1}</Show>;
137
+ t2 = /* @__PURE__ */ jsx(Show, {
138
+ when: showValue,
139
+ children: t1
140
+ });
138
141
  $[10] = showValue;
139
142
  $[11] = t2;
140
143
  } else t2 = $[11];
141
144
  let t3;
142
145
  if ($[12] !== t0 || $[13] !== t2) {
143
- t3 = <HStack justify="space-between">{t0}{t2}</HStack>;
146
+ t3 = /* @__PURE__ */ jsxs(HStack, {
147
+ justify: "space-between",
148
+ children: [t0, t2]
149
+ });
144
150
  $[12] = t0;
145
151
  $[13] = t2;
146
152
  $[14] = t3;
147
153
  } else t3 = $[14];
148
154
  let t4;
149
155
  if ($[15] !== hideLabel || $[16] !== t3) {
150
- t4 = <Wrap when={hideLabel} with={_temp}>{t3}</Wrap>;
156
+ t4 = /* @__PURE__ */ jsx(Wrap, {
157
+ when: hideLabel,
158
+ with: _temp,
159
+ children: t3
160
+ });
151
161
  $[15] = hideLabel;
152
162
  $[16] = t3;
153
163
  $[17] = t4;
@@ -155,8 +165,8 @@ const Slider = forwardRef(function Slider(props, ref) {
155
165
  let t5;
156
166
  let t6;
157
167
  if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
158
- t5 = <slider_exports.Track><slider_exports.Range /></slider_exports.Track>;
159
- t6 = <slider_exports.Thumbs />;
168
+ t5 = /* @__PURE__ */ jsx(Track, { children: /* @__PURE__ */ jsx(Range, {}) });
169
+ t6 = /* @__PURE__ */ jsx(Thumbs, {});
160
170
  $[18] = t5;
161
171
  $[19] = t6;
162
172
  } else {
@@ -165,13 +175,25 @@ const Slider = forwardRef(function Slider(props, ref) {
165
175
  }
166
176
  let t7;
167
177
  if ($[20] !== marks) {
168
- t7 = <slider_exports.Control>{t5}{t6}<slider_exports.Marks marks={marks} /></slider_exports.Control>;
178
+ t7 = /* @__PURE__ */ jsxs(Control, { children: [
179
+ t5,
180
+ t6,
181
+ /* @__PURE__ */ jsx(Marks, { marks })
182
+ ] });
169
183
  $[20] = marks;
170
184
  $[21] = t7;
171
185
  } else t7 = $[21];
172
186
  let t8;
173
187
  if ($[22] !== children || $[23] !== ref || $[24] !== rest || $[25] !== t4 || $[26] !== t7) {
174
- t8 = <slider_exports.Root ref={ref} {...rest}>{t4}{t7}{children}</slider_exports.Root>;
188
+ t8 = /* @__PURE__ */ jsxs(Root, {
189
+ ref,
190
+ ...rest,
191
+ children: [
192
+ t4,
193
+ t7,
194
+ children
195
+ ]
196
+ });
175
197
  $[22] = children;
176
198
  $[23] = ref;
177
199
  $[24] = rest;
@@ -183,7 +205,7 @@ const Slider = forwardRef(function Slider(props, ref) {
183
205
  });
184
206
  const SliderContext = Context;
185
207
  function _temp(node) {
186
- return <VisuallyHidden>{node}</VisuallyHidden>;
208
+ return /* @__PURE__ */ jsx(VisuallyHidden, { children: node });
187
209
  }
188
210
 
189
211
  //#endregion