@serendie/ui 2.1.3 → 2.2.0-dev.202509240917

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 (123) hide show
  1. package/dist/client.js +79 -74
  2. package/dist/components/Accordion/Accordion.d.ts +1 -1
  3. package/dist/components/Avatar/Avatar.d.ts +1 -1
  4. package/dist/components/Banner/Banner.d.ts +1 -1
  5. package/dist/components/BottomNavigation/BottomNavigationItem.d.ts +1 -1
  6. package/dist/components/Button/Button.d.ts +2 -2
  7. package/dist/components/Button/Button.js +22 -21
  8. package/dist/components/DatePicker/DatePicker.d.ts +13 -0
  9. package/dist/components/DatePicker/DatePicker.js +203 -0
  10. package/dist/components/DatePicker/index.d.ts +2 -0
  11. package/dist/components/DatePicker/index.js +6 -0
  12. package/dist/components/DatePicker/parseDate.d.ts +1 -0
  13. package/dist/components/DatePicker/styles.d.ts +1 -0
  14. package/dist/components/DatePicker/styles.js +224 -0
  15. package/dist/components/IconButton/IconButton.d.ts +3 -3
  16. package/dist/components/List/ListItem.d.ts +1 -1
  17. package/dist/components/ModalDialog/ModalDialog.d.ts +1 -1
  18. package/dist/components/NotificationBadge/NotificationBadge.d.ts +1 -1
  19. package/dist/components/Pagination/Pagination.d.ts +1 -1
  20. package/dist/components/Pagination/Pagination.js +14 -15
  21. package/dist/components/ProgressIndicator/AnimatedArc.d.ts +6 -0
  22. package/dist/components/ProgressIndicator/AnimatedArc.js +46 -0
  23. package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +11 -29
  24. package/dist/components/ProgressIndicator/ProgressIndicator.js +201 -43
  25. package/dist/components/ProgressIndicator/ProgressIndicatorIndeterminate.d.ts +10 -0
  26. package/dist/components/ProgressIndicator/ProgressIndicatorIndeterminate.js +215 -0
  27. package/dist/components/ProgressIndicator/index.d.ts +4 -1
  28. package/dist/components/ProgressIndicator/index.js +3 -2
  29. package/dist/components/ProgressIndicator/util.d.ts +1 -0
  30. package/dist/components/ProgressIndicator/util.js +13 -0
  31. package/dist/components/Search/Search.d.ts +1 -1
  32. package/dist/components/Select/Select.d.ts +1 -1
  33. package/dist/components/Switch/Switch.d.ts +1 -1
  34. package/dist/components/Tabs/Tabs.d.ts +1 -1
  35. package/dist/components/TextField/TextField.js +59 -156
  36. package/dist/components/Toast/Toast.d.ts +1 -1
  37. package/dist/components/TopAppBar/TopAppBar.d.ts +1 -1
  38. package/dist/index.d.ts +1 -0
  39. package/dist/index.js +80 -75
  40. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-content.js +15 -0
  41. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-context.js +5 -0
  42. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-control.js +13 -0
  43. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-input.js +14 -0
  44. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-label.js +13 -0
  45. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js +13 -0
  46. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js +14 -0
  47. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-positioner.js +14 -0
  48. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js +14 -0
  49. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root.js +55 -0
  50. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-body.js +14 -0
  51. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell-trigger.js +19 -0
  52. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell.js +26 -0
  53. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-head.js +14 -0
  54. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-header.js +14 -0
  55. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-row.js +14 -0
  56. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table.js +16 -0
  57. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-trigger.js +13 -0
  58. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-control.js +14 -0
  59. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view.js +23 -0
  60. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-year-select.js +13 -0
  61. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js +5 -0
  62. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-context.js +10 -0
  63. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-cell-props-context.js +10 -0
  64. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-props-context.js +10 -0
  65. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-view-props-context.js +12 -0
  66. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker.js +18 -0
  67. package/dist/node_modules/@ark-ui/react/dist/components/factory.js +11 -12
  68. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root.js +5 -4
  69. package/dist/node_modules/@ark-ui/react/dist/utils/use-event.js +0 -1
  70. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +36 -36
  71. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
  72. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
  73. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +68 -67
  74. package/dist/node_modules/@internationalized/date/dist/CalendarDate.js +178 -0
  75. package/dist/node_modules/@internationalized/date/dist/DateFormatter.js +99 -0
  76. package/dist/node_modules/@internationalized/date/dist/GregorianCalendar.js +98 -0
  77. package/dist/node_modules/@internationalized/date/dist/conversion.js +135 -0
  78. package/dist/node_modules/@internationalized/date/dist/manipulation.js +205 -0
  79. package/dist/node_modules/@internationalized/date/dist/queries.js +202 -0
  80. package/dist/node_modules/@internationalized/date/dist/string.js +41 -0
  81. package/dist/node_modules/@internationalized/date/dist/utils.js +6 -0
  82. package/dist/node_modules/@internationalized/date/dist/weekStartData.js +100 -0
  83. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +7 -0
  84. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
  85. package/dist/node_modules/@zag-js/anatomy/dist/index.js +15 -14
  86. package/dist/node_modules/@zag-js/aria-hidden/dist/index.js +23 -23
  87. package/dist/node_modules/@zag-js/collection/dist/index.js +102 -71
  88. package/dist/node_modules/@zag-js/combobox/dist/index.js +482 -426
  89. package/dist/node_modules/@zag-js/date-picker/dist/index.js +1826 -0
  90. package/dist/node_modules/@zag-js/date-utils/dist/index.js +366 -0
  91. package/dist/node_modules/@zag-js/dialog/dist/index.js +66 -64
  92. package/dist/node_modules/@zag-js/dismissable/dist/index.js +94 -69
  93. package/dist/node_modules/@zag-js/dom-query/dist/index.js +359 -300
  94. package/dist/node_modules/@zag-js/live-region/dist/index.js +39 -0
  95. package/dist/node_modules/@zag-js/menu/dist/index.js +357 -340
  96. package/dist/node_modules/@zag-js/popper/dist/index.js +123 -120
  97. package/dist/node_modules/@zag-js/presence/dist/index.js +17 -17
  98. package/dist/node_modules/@zag-js/radio-group/dist/index.js +118 -117
  99. package/dist/node_modules/@zag-js/react/dist/index.js +124 -121
  100. package/dist/node_modules/@zag-js/select/dist/index.js +211 -197
  101. package/dist/node_modules/@zag-js/toast/dist/index.js +73 -71
  102. package/dist/node_modules/@zag-js/tooltip/dist/index.js +31 -30
  103. package/dist/node_modules/@zag-js/utils/dist/index.js +150 -104
  104. package/dist/preset.d.ts +11 -1
  105. package/dist/recipes/index.d.ts +3 -2
  106. package/dist/recipes/index.js +5 -2
  107. package/dist/recipes/textFieldRecipe.d.ts +6 -0
  108. package/dist/recipes/textFieldRecipe.js +107 -0
  109. package/dist/styled-system/css/cva.js +43 -38
  110. package/dist/styled-system/recipes/create-recipe.js +37 -0
  111. package/dist/styled-system/recipes/text-field-recipe.js +61 -0
  112. package/dist/styles.css +1 -1
  113. package/dist/tokens/keyframes/index.d.ts +8 -0
  114. package/dist/tokens/keyframes/index.js +6 -2
  115. package/package.json +3 -3
  116. package/styled-system/recipes/create-recipe.js +82 -0
  117. package/styled-system/recipes/index.d.ts +2 -0
  118. package/styled-system/recipes/index.js +1 -0
  119. package/styled-system/recipes/text-field-recipe.d.ts +28 -0
  120. package/styled-system/recipes/text-field-recipe.js +72 -0
  121. package/styled-system/types/prop-type.d.ts +1 -1
  122. package/dist/node_modules/@zag-js/store/dist/index.js +0 -131
  123. package/dist/node_modules/proxy-compare/dist/index.js +0 -7
@@ -1,65 +1,223 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { cva as n } from "../../styled-system/css/cva.js";
3
- import { cx as l } from "../../styled-system/css/cx.js";
4
- const r = n({
1
+ import { jsx as a, jsxs as f } from "react/jsx-runtime";
2
+ import { useMemo as v } from "react";
3
+ import { describeArc as b } from "./util.js";
4
+ import { cx as h } from "../../styled-system/css/cx.js";
5
+ import { cva as c } from "../../styled-system/css/cva.js";
6
+ const u = c({
5
7
  base: {
6
- animation: "1s linear infinite spin",
7
- stroke: "sd.reference.color.scale.gray.400"
8
+ position: "relative",
9
+ display: "flex",
10
+ alignItems: "center",
11
+ justifyContent: "center"
8
12
  },
9
13
  variants: {
14
+ type: {
15
+ linear: {
16
+ width: "100%"
17
+ },
18
+ circular: {}
19
+ },
10
20
  size: {
11
- small: {
21
+ small: {},
22
+ medium: {},
23
+ large: {}
24
+ }
25
+ },
26
+ compoundVariants: [
27
+ {
28
+ type: "linear",
29
+ size: "small",
30
+ css: {
31
+ height: "4px"
32
+ }
33
+ },
34
+ {
35
+ type: "linear",
36
+ size: "medium",
37
+ css: {
38
+ height: "4px"
39
+ }
40
+ },
41
+ {
42
+ type: "linear",
43
+ size: "large",
44
+ css: {
45
+ height: "8px"
46
+ }
47
+ },
48
+ {
49
+ type: "circular",
50
+ size: "small",
51
+ css: {
52
+ width: "12px",
53
+ height: "12px"
54
+ }
55
+ },
56
+ {
57
+ type: "circular",
58
+ size: "medium",
59
+ css: {
12
60
  width: "16px",
13
61
  height: "16px"
62
+ }
63
+ },
64
+ {
65
+ type: "circular",
66
+ size: "large",
67
+ css: {
68
+ width: "40px",
69
+ height: "40px"
70
+ }
71
+ }
72
+ ],
73
+ defaultVariants: {
74
+ type: "linear",
75
+ size: "medium"
76
+ }
77
+ }), p = c({
78
+ base: {
79
+ position: "absolute",
80
+ backgroundColor: "sd.reference.color.scale.gray.100",
81
+ overflow: "hidden"
82
+ },
83
+ variants: {
84
+ type: {
85
+ linear: {
86
+ width: "calc(100% - 4px)",
87
+ height: "100%",
88
+ borderRadius: "sd.system.dimension.radius.full"
14
89
  },
15
- medium: {
16
- width: "24px",
17
- height: "24px"
18
- },
19
- large: {
20
- width: "96px",
21
- height: "96px"
90
+ circular: {
91
+ width: "100%",
92
+ height: "100%",
93
+ borderRadius: "50%",
94
+ fill: "none"
22
95
  }
23
96
  },
24
- color: {
25
- gray: {
26
- stroke: "sd.reference.color.scale.gray.400"
97
+ size: {
98
+ small: {},
99
+ medium: {},
100
+ large: {}
101
+ }
102
+ },
103
+ compoundVariants: []
104
+ }), g = c({
105
+ base: {
106
+ position: "absolute",
107
+ backgroundColor: "sd.system.color.impression.primary"
108
+ },
109
+ variants: {
110
+ type: {
111
+ linear: {
112
+ left: "0px",
113
+ height: "100%",
114
+ borderRadius: "0"
27
115
  },
28
- white: {
29
- stroke: "sd.reference.color.scale.white.1000"
116
+ circular: {
117
+ width: "100%",
118
+ height: "100%",
119
+ fill: "none",
120
+ stroke: "sd.system.color.impression.primary",
121
+ strokeLinecap: "butt",
122
+ transformOrigin: "center"
30
123
  }
124
+ },
125
+ size: {
126
+ small: {},
127
+ medium: {},
128
+ large: {}
31
129
  }
32
130
  },
33
- defaultVariants: {
34
- size: "medium",
35
- color: "gray"
36
- }
37
- }), d = ({
38
- className: t,
39
- ...s
131
+ compoundVariants: []
132
+ }), w = (t) => ({
133
+ small: { radius: 8, strokeWidth: 2 },
134
+ medium: { radius: 12, strokeWidth: 4 },
135
+ large: { radius: 24, strokeWidth: 4 }
136
+ })[t], k = ({
137
+ value: t = 0,
138
+ max: o = 1,
139
+ type: i = "linear",
140
+ size: s = "medium",
141
+ className: n,
142
+ style: d,
143
+ ...m
40
144
  }) => {
41
- const [o, i] = r.splitVariantProps(s), a = r(o);
42
- return /* @__PURE__ */ e(
43
- "svg",
145
+ const l = Math.min(Math.max(t / o * 100, 0), 100);
146
+ if (i === "circular") {
147
+ const { radius: r, strokeWidth: e } = w(s), x = v(() => {
148
+ const y = l / 100 * 360 - 1e-5;
149
+ return b(
150
+ r + e,
151
+ r + e,
152
+ r,
153
+ 0,
154
+ y
155
+ );
156
+ }, [l, r, e]);
157
+ return /* @__PURE__ */ a(
158
+ "div",
159
+ {
160
+ className: h(u({ type: i, size: s }), n),
161
+ role: "progressbar",
162
+ "aria-valuenow": t,
163
+ "aria-valuemin": 0,
164
+ "aria-valuemax": o,
165
+ style: d,
166
+ ...m,
167
+ children: /* @__PURE__ */ f(
168
+ "svg",
169
+ {
170
+ viewBox: `0 0 ${r * 2 + e * 2} ${r * 2 + e * 2}`,
171
+ style: { width: "100%", height: "100%" },
172
+ children: [
173
+ /* @__PURE__ */ a(
174
+ "circle",
175
+ {
176
+ cx: r + e,
177
+ cy: r + e,
178
+ r,
179
+ className: p({ type: i, size: s }),
180
+ stroke: "var(--colors-sd-reference-color-scale-gray-100)",
181
+ strokeWidth: e
182
+ }
183
+ ),
184
+ l > 0 && /* @__PURE__ */ a(
185
+ "path",
186
+ {
187
+ d: x,
188
+ className: g({ type: i, size: s }),
189
+ strokeWidth: e * 2
190
+ }
191
+ )
192
+ ]
193
+ }
194
+ )
195
+ }
196
+ );
197
+ }
198
+ return /* @__PURE__ */ a(
199
+ "div",
44
200
  {
45
- width: "48",
46
- height: "48",
47
- viewBox: "0 0 48 48",
48
- fill: "none",
49
- xmlns: "http://www.w3.org/2000/svg",
50
- className: l(a, t),
51
- ...i,
52
- children: /* @__PURE__ */ e(
53
- "path",
201
+ className: h(u({ type: i, size: s }), n),
202
+ role: "progressbar",
203
+ "aria-valuenow": t,
204
+ "aria-valuemin": 0,
205
+ "aria-valuemax": o,
206
+ style: d,
207
+ ...m,
208
+ children: /* @__PURE__ */ a("div", { className: p({ type: i, size: s }), children: /* @__PURE__ */ a(
209
+ "div",
54
210
  {
55
- d: "M24 44C27.9556 44 31.8224 42.827 35.1114 40.6294C38.4004 38.4318 40.9638 35.3082 42.4776 31.6537C43.9913 27.9992 44.3874 23.9778 43.6157 20.0982C42.844 16.2186 40.9392 12.6549 38.1421 9.85786C35.3451 7.06082 31.7814 5.156 27.9018 4.38429C24.0222 3.61259 20.0008 4.00866 16.3463 5.52241C12.6918 7.03616 9.56821 9.59962 7.37059 12.8886C5.17297 16.1776 3.99998 20.0444 3.99998 24",
56
- strokeWidth: "4"
211
+ className: g({ type: i, size: s }),
212
+ style: {
213
+ width: `${l}%`
214
+ }
57
215
  }
58
- )
216
+ ) })
59
217
  }
60
218
  );
61
219
  };
220
+ k.displayName = "ProgressIndicator";
62
221
  export {
63
- d as ProgressIndicator,
64
- r as ProgressIndicatorStyle
222
+ k as ProgressIndicator
65
223
  };
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ export interface ProgressIndicatorIndeterminateProps extends React.ComponentProps<"div"> {
3
+ type?: "linear" | "circular";
4
+ size?: "small" | "medium" | "large";
5
+ color?: "primary" | "subtle";
6
+ }
7
+ export declare const ProgressIndicatorIndeterminate: {
8
+ ({ type, size, color, className, style, ...props }: ProgressIndicatorIndeterminateProps): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1,215 @@
1
+ import { jsx as i, jsxs as p } from "react/jsx-runtime";
2
+ import { AnimatedArc as h } from "./AnimatedArc.js";
3
+ import { cx as c } from "../../styled-system/css/cx.js";
4
+ import { cva as o } from "../../styled-system/css/cva.js";
5
+ const m = o({
6
+ base: {
7
+ position: "relative",
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "center",
11
+ overflow: "hidden"
12
+ },
13
+ variants: {
14
+ type: {
15
+ linear: {
16
+ width: "100%",
17
+ borderRadius: "sd.system.dimension.radius.full"
18
+ },
19
+ circular: {}
20
+ },
21
+ size: {
22
+ small: {},
23
+ medium: {},
24
+ large: {}
25
+ },
26
+ color: {
27
+ primary: {},
28
+ subtle: {}
29
+ }
30
+ },
31
+ compoundVariants: [
32
+ {
33
+ type: "linear",
34
+ size: "small",
35
+ css: {
36
+ height: "2px"
37
+ }
38
+ },
39
+ {
40
+ type: "linear",
41
+ size: "medium",
42
+ css: {
43
+ height: "4px"
44
+ }
45
+ },
46
+ {
47
+ type: "linear",
48
+ size: "large",
49
+ css: {
50
+ height: "8px"
51
+ }
52
+ },
53
+ {
54
+ type: "circular",
55
+ size: "small",
56
+ css: {
57
+ width: "12px",
58
+ height: "12px"
59
+ }
60
+ },
61
+ {
62
+ type: "circular",
63
+ size: "medium",
64
+ css: {
65
+ width: "16px",
66
+ height: "16px"
67
+ }
68
+ },
69
+ {
70
+ type: "circular",
71
+ size: "large",
72
+ css: {
73
+ width: "40px",
74
+ height: "40px"
75
+ }
76
+ }
77
+ ],
78
+ defaultVariants: {
79
+ type: "linear",
80
+ size: "medium",
81
+ color: "primary"
82
+ }
83
+ }), g = o({
84
+ base: {
85
+ position: "absolute",
86
+ backgroundColor: "sd.reference.color.scale.gray.100"
87
+ },
88
+ variants: {
89
+ type: {
90
+ linear: {
91
+ width: "calc(100% - 4px)",
92
+ height: "100%",
93
+ borderRadius: "sd.system.dimension.radius.full"
94
+ },
95
+ circular: {
96
+ width: "100%",
97
+ height: "100%",
98
+ borderRadius: "50%",
99
+ fill: "none"
100
+ }
101
+ },
102
+ size: {
103
+ small: {},
104
+ medium: {},
105
+ large: {}
106
+ }
107
+ },
108
+ compoundVariants: []
109
+ }), u = o({
110
+ base: {
111
+ position: "absolute"
112
+ },
113
+ variants: {
114
+ type: {
115
+ linear: {
116
+ width: "50%",
117
+ height: "100%",
118
+ animation: "progressIndicatorSlide 1.7s cubic-bezier(0.65, 0.05, 0.36, 1) infinite"
119
+ },
120
+ circular: {
121
+ fill: "none",
122
+ strokeLinecap: "butt",
123
+ transformOrigin: "center"
124
+ }
125
+ },
126
+ size: {
127
+ small: {},
128
+ medium: {},
129
+ large: {}
130
+ },
131
+ color: {
132
+ primary: {
133
+ backgroundColor: "sd.system.color.impression.primary",
134
+ stroke: "sd.system.color.impression.primary"
135
+ },
136
+ subtle: {
137
+ backgroundColor: "sd.reference.color.scale.gray.300",
138
+ stroke: "sd.reference.color.scale.gray.300"
139
+ }
140
+ }
141
+ },
142
+ compoundVariants: []
143
+ }), y = (e) => ({
144
+ small: {
145
+ radius: 6,
146
+ strokeWidth: 2
147
+ },
148
+ medium: {
149
+ radius: 8,
150
+ strokeWidth: 6
151
+ },
152
+ large: {
153
+ radius: 20,
154
+ strokeWidth: 8
155
+ }
156
+ })[e], f = ({
157
+ type: e = "linear",
158
+ size: r = "medium",
159
+ color: s = "primary",
160
+ className: l,
161
+ style: n,
162
+ ...d
163
+ }) => {
164
+ if (e === "circular") {
165
+ const { radius: a, strokeWidth: t } = y(r);
166
+ return /* @__PURE__ */ i(
167
+ "div",
168
+ {
169
+ className: c(
170
+ m({ type: e, size: r, color: s }),
171
+ l
172
+ ),
173
+ role: "progressbar",
174
+ "aria-valuetext": "Loading",
175
+ style: n,
176
+ ...d,
177
+ children: /* @__PURE__ */ i(
178
+ "svg",
179
+ {
180
+ viewBox: `0 0 ${a * 2 + t * 2} ${a * 2 + t * 2}`,
181
+ children: /* @__PURE__ */ i(
182
+ h,
183
+ {
184
+ className: u({ type: e, size: r, color: s }),
185
+ radius: a,
186
+ width: t
187
+ }
188
+ )
189
+ }
190
+ )
191
+ }
192
+ );
193
+ }
194
+ return /* @__PURE__ */ p(
195
+ "div",
196
+ {
197
+ className: c(
198
+ m({ type: e, size: r, color: s }),
199
+ l
200
+ ),
201
+ role: "progressbar",
202
+ "aria-valuetext": "Loading",
203
+ style: n,
204
+ ...d,
205
+ children: [
206
+ /* @__PURE__ */ i("div", { className: g({ type: e, size: r }) }),
207
+ /* @__PURE__ */ i("div", { className: u({ type: e, size: r, color: s }) })
208
+ ]
209
+ }
210
+ );
211
+ };
212
+ f.displayName = "ProgressIndicatorIndeterminate";
213
+ export {
214
+ f as ProgressIndicatorIndeterminate
215
+ };
@@ -1 +1,4 @@
1
- export * from './ProgressIndicator.tsx';
1
+ export { ProgressIndicator } from './ProgressIndicator';
2
+ export type { ProgressIndicatorProps } from './ProgressIndicator';
3
+ export { ProgressIndicatorIndeterminate } from './ProgressIndicatorIndeterminate';
4
+ export type { ProgressIndicatorIndeterminateProps } from './ProgressIndicatorIndeterminate';
@@ -1,5 +1,6 @@
1
- import { ProgressIndicator as e, ProgressIndicatorStyle as s } from "./ProgressIndicator.js";
1
+ import { ProgressIndicator as e } from "./ProgressIndicator.js";
2
+ import { ProgressIndicatorIndeterminate as n } from "./ProgressIndicatorIndeterminate.js";
2
3
  export {
3
4
  e as ProgressIndicator,
4
- s as ProgressIndicatorStyle
5
+ n as ProgressIndicatorIndeterminate
5
6
  };
@@ -0,0 +1 @@
1
+ export declare const describeArc: (cx: number, cy: number, radius: number, startAngle: number, endAngle: number) => string;
@@ -0,0 +1,13 @@
1
+ const A = (n, e, t, o, s) => {
2
+ const a = (l, p, $, g) => {
3
+ const M = (g - 90) * Math.PI / 180;
4
+ return {
5
+ x: l + $ * Math.cos(M),
6
+ y: p + $ * Math.sin(M)
7
+ };
8
+ }, c = a(n, e, t, s), r = a(n, e, t, o), h = Math.abs((s - o) % 360) <= 180 ? "0" : "1";
9
+ return `M ${c.x} ${c.y} A ${t} ${t} 0 ${h} 0 ${r.x} ${r.y}`;
10
+ };
11
+ export {
12
+ A as describeArc
13
+ };
@@ -1,6 +1,6 @@
1
1
  import { ComboboxRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const SearchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "input" | "combobox" | "control" | "comboboxItem" | "iconBox" | "closeIcon", {
3
+ export declare const SearchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"input" | "icon" | "combobox" | "control" | "comboboxItem" | "iconBox" | "closeIcon", {
4
4
  size: {
5
5
  medium: {
6
6
  iconBox: {
@@ -1,6 +1,6 @@
1
1
  import { SelectRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const SelectStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "item" | "root" | "valueText" | "iconBox" | "trigger", {
3
+ export declare const SelectStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "root" | "item" | "valueText" | "iconBox" | "trigger", {
4
4
  size: {
5
5
  medium: {
6
6
  root: {
@@ -1,6 +1,6 @@
1
1
  import { Switch as ArkSwitch, SwitchRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const SwitchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"label" | "root" | "helperText" | "textGroup" | "control" | "thumb", import('../../../styled-system/types').SlotRecipeVariantRecord<"label" | "root" | "helperText" | "textGroup" | "control" | "thumb">>;
3
+ export declare const SwitchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "label" | "helperText" | "textGroup" | "control" | "thumb", import('../../../styled-system/types').SlotRecipeVariantRecord<"root" | "label" | "helperText" | "textGroup" | "control" | "thumb">>;
4
4
  type SwitchItemProps = {
5
5
  label: string;
6
6
  helperText?: string;
@@ -1,3 +1,3 @@
1
1
  import { Tabs as ArkTabs } from '@ark-ui/react';
2
- export declare const TabsStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"list" | "root", import('../../../styled-system/types').SlotRecipeVariantRecord<"list" | "root">>;
2
+ export declare const TabsStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "list", import('../../../styled-system/types').SlotRecipeVariantRecord<"root" | "list">>;
3
3
  export declare const Tabs: ({ children, className, ...props }: ArkTabs.RootProps) => import("react/jsx-runtime").JSX.Element;