@saas-ui/react 3.0.0-alpha.5 → 3.0.0-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{chunk-VF3BV2BY.js → chunk-5T7S5OAM.js} +20 -7
  3. package/dist/{chunk-F3CVOMG5.js → chunk-CD2JUFI2.js} +81 -10
  4. package/dist/chunk-IFYV7NUJ.js +326 -0
  5. package/dist/chunk-SKXSBAOS.js +35 -0
  6. package/dist/{chunk-7C3IZBNJ.js → chunk-TT4C5VXB.js} +4 -6
  7. package/dist/components/{breadcrumbs → breadcrumb}/index.cjs +8 -10
  8. package/dist/components/{breadcrumbs → breadcrumb}/index.d.cts +3 -4
  9. package/dist/components/{breadcrumbs → breadcrumb}/index.d.ts +3 -4
  10. package/dist/components/breadcrumb/index.js +8 -0
  11. package/dist/components/menu/index.cjs +163 -179
  12. package/dist/components/menu/index.d.cts +9 -2
  13. package/dist/components/menu/index.d.ts +9 -2
  14. package/dist/components/menu/index.js +4 -2
  15. package/dist/components/password-input/index.js +1 -2
  16. package/dist/components/segmented-control/index.cjs +58 -0
  17. package/dist/components/segmented-control/index.d.cts +13 -1
  18. package/dist/components/segmented-control/index.d.ts +13 -1
  19. package/dist/components/segmented-control/index.js +7 -1
  20. package/dist/index.cjs +696 -322
  21. package/dist/index.d.cts +2 -1
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +294 -266
  24. package/dist/theme/tokens/colors.cjs +349 -0
  25. package/dist/theme/tokens/colors.d.cts +856 -0
  26. package/dist/theme/tokens/colors.d.ts +856 -0
  27. package/dist/theme/tokens/colors.js +8 -0
  28. package/package.json +10 -4
  29. package/dist/chunk-CTOVNZVS.js +0 -1
  30. package/dist/chunk-QMG6HP7Z.js +0 -87
  31. package/dist/components/breadcrumbs/index.js +0 -8
@@ -0,0 +1,349 @@
1
+ 'use client'
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/theme/tokens/colors.ts
22
+ var colors_exports = {};
23
+ __export(colors_exports, {
24
+ colors: () => colors
25
+ });
26
+ module.exports = __toCommonJS(colors_exports);
27
+ var import_react = require("@chakra-ui/react");
28
+ var colors = import_react.defineTokens.colors({
29
+ transparent: { value: "transparent" },
30
+ current: { value: "currentColor" },
31
+ black: { value: "oklch(0.07 0 0)" },
32
+ white: { value: "oklch(1 0 0)" },
33
+ whiteAlpha: {
34
+ 50: { value: "oklch(1 0 0 / 0.04)" },
35
+ 100: { value: "oklch(1 0 0 / 0.06)" },
36
+ 200: { value: "oklch(1 0 0 / 0.08)" },
37
+ 300: { value: "oklch(1 0 0 / 0.16)" },
38
+ 400: { value: "oklch(1 0 0 / 0.24)" },
39
+ 500: { value: "oklch(1 0 0 / 0.36)" },
40
+ 600: { value: "oklch(1 0 0 / 0.48)" },
41
+ 700: { value: "oklch(1 0 0 / 0.64)" },
42
+ 800: { value: "oklch(1 0 0 / 0.80)" },
43
+ 900: { value: "oklch(1 0 0 / 0.92)" },
44
+ 950: { value: "oklch(1 0 0 / 0.95)" }
45
+ },
46
+ blackAlpha: {
47
+ 50: { value: "oklch(0 0 0 / 0.04)" },
48
+ 100: { value: "oklch(0 0 0 / 0.06)" },
49
+ 200: { value: "oklch(0 0 0 / 0.08)" },
50
+ 300: { value: "oklch(0 0 0 / 0.16)" },
51
+ 400: { value: "oklch(0 0 0 / 0.24)" },
52
+ 500: { value: "oklch(0 0 0 / 0.36)" },
53
+ 600: { value: "oklch(0 0 0 / 0.48)" },
54
+ 700: { value: "oklch(0 0 0 / 0.64)" },
55
+ 800: { value: "oklch(0 0 0 / 0.80)" },
56
+ 900: { value: "oklch(0 0 0 / 0.92)" },
57
+ 950: { value: "oklch(0 0 0 / 0.95)" }
58
+ },
59
+ slate: {
60
+ 50: { value: "oklch(0.984 0.003 247.858)" },
61
+ 100: { value: "oklch(0.968 0.007 247.896)" },
62
+ 200: { value: "oklch(0.929 0.013 255.508)" },
63
+ 300: { value: "oklch(0.869 0.022 252.894)" },
64
+ 400: { value: "oklch(0.704 0.04 256.788)" },
65
+ 500: { value: "oklch(0.554 0.046 257.417)" },
66
+ 600: { value: "oklch(0.446 0.043 257.281)" },
67
+ 700: { value: "oklch(0.372 0.044 257.287)" },
68
+ 800: { value: "oklch(0.279 0.041 260.031)" },
69
+ 900: { value: "oklch(0.208 0.042 265.755)" },
70
+ 950: { value: "oklch(0.129 0.042 264.695)" }
71
+ },
72
+ gray: {
73
+ 50: { value: "oklch(0.985 0.002 247.839)" },
74
+ 100: { value: "oklch(0.967 0.003 264.542)" },
75
+ 200: { value: "oklch(0.928 0.006 264.531)" },
76
+ 300: { value: "oklch(0.872 0.01 258.338)" },
77
+ 400: { value: "oklch(0.707 0.022 261.325)" },
78
+ 500: { value: "oklch(0.551 0.027 264.364)" },
79
+ 600: { value: "oklch(0.446 0.03 256.802)" },
80
+ 700: { value: "oklch(0.373 0.034 259.733)" },
81
+ 800: { value: "oklch(0.278 0.033 256.848)" },
82
+ 900: { value: "oklch(0.21 0.034 264.665)" },
83
+ 950: { value: "oklch(0.13 0.028 261.692)" }
84
+ },
85
+ zinc: {
86
+ 50: { value: "oklch(0.985 0 0)" },
87
+ 100: { value: "oklch(0.967 0.001 286.375)" },
88
+ 200: { value: "oklch(0.92 0.004 286.32)" },
89
+ 300: { value: "oklch(0.871 0.006 286.286)" },
90
+ 400: { value: "oklch(0.705 0.015 286.067)" },
91
+ 500: { value: "oklch(0.552 0.016 285.938)" },
92
+ 600: { value: "oklch(0.442 0.017 285.786)" },
93
+ 700: { value: "oklch(0.37 0.013 285.805)" },
94
+ 800: { value: "oklch(0.274 0.006 286.033)" },
95
+ 900: { value: "oklch(0.21 0.006 285.885)" },
96
+ 950: { value: "oklch(0.141 0.005 285.823)" }
97
+ },
98
+ neutral: {
99
+ 50: { value: "oklch(0.985 0 0)" },
100
+ 100: { value: "oklch(0.97 0 0)" },
101
+ 200: { value: "oklch(0.922 0 0)" },
102
+ 300: { value: "oklch(0.87 0 0)" },
103
+ 400: { value: "oklch(0.708 0 0)" },
104
+ 500: { value: "oklch(0.556 0 0)" },
105
+ 600: { value: "oklch(0.439 0 0)" },
106
+ 700: { value: "oklch(0.371 0 0)" },
107
+ 800: { value: "oklch(0.269 0 0)" },
108
+ 900: { value: "oklch(0.205 0 0)" },
109
+ 950: { value: "oklch(0.145 0 0)" }
110
+ },
111
+ stone: {
112
+ 50: { value: "oklch(0.985 0.001 106.423)" },
113
+ 100: { value: "oklch(0.97 0.001 106.424)" },
114
+ 200: { value: "oklch(0.923 0.003 48.717)" },
115
+ 300: { value: "oklch(0.869 0.005 56.366)" },
116
+ 400: { value: "oklch(0.709 0.01 56.259)" },
117
+ 500: { value: "oklch(0.553 0.013 58.071)" },
118
+ 600: { value: "oklch(0.444 0.011 73.639)" },
119
+ 700: { value: "oklch(0.374 0.01 67.558)" },
120
+ 800: { value: "oklch(0.268 0.007 34.298)" },
121
+ 900: { value: "oklch(0.216 0.006 56.043)" },
122
+ 950: { value: "oklch(0.147 0.004 49.25)" }
123
+ },
124
+ red: {
125
+ 50: { value: "oklch(0.971 0.013 17.38)" },
126
+ 100: { value: "oklch(0.936 0.032 17.717)" },
127
+ 200: { value: "oklch(0.885 0.062 18.334)" },
128
+ 300: { value: "oklch(0.808 0.114 19.571)" },
129
+ 400: { value: "oklch(0.704 0.191 22.216)" },
130
+ 500: { value: "oklch(0.637 0.237 25.331)" },
131
+ 600: { value: "oklch(0.577 0.245 27.325)" },
132
+ 700: { value: "oklch(0.505 0.213 27.518)" },
133
+ 800: { value: "oklch(0.444 0.177 26.899)" },
134
+ 900: { value: "oklch(0.396 0.141 25.723)" },
135
+ 950: { value: "oklch(0.258 0.092 26.042)" }
136
+ },
137
+ orange: {
138
+ 50: { value: "oklch(0.98 0.016 73.684)" },
139
+ 100: { value: "oklch(0.954 0.038 75.164)" },
140
+ 200: { value: "oklch(0.901 0.076 70.697)" },
141
+ 300: { value: "oklch(0.837 0.128 66.29)" },
142
+ 400: { value: "oklch(0.75 0.183 55.934)" },
143
+ 500: { value: "oklch(0.705 0.213 47.604)" },
144
+ 600: { value: "oklch(0.646 0.222 41.116)" },
145
+ 700: { value: "oklch(0.553 0.195 38.402)" },
146
+ 800: { value: "oklch(0.47 0.157 37.304)" },
147
+ 900: { value: "oklch(0.408 0.123 38.172)" },
148
+ 950: { value: "oklch(0.266 0.079 36.259)" }
149
+ },
150
+ amber: {
151
+ 50: { value: "oklch(0.987 0.022 95.277)" },
152
+ 100: { value: "oklch(0.962 0.059 95.617)" },
153
+ 200: { value: "oklch(0.924 0.12 95.746)" },
154
+ 300: { value: "oklch(0.879 0.169 91.605)" },
155
+ 400: { value: "oklch(0.828 0.189 84.429)" },
156
+ 500: { value: "oklch(0.769 0.188 70.08)" },
157
+ 600: { value: "oklch(0.666 0.179 58.318)" },
158
+ 700: { value: "oklch(0.555 0.163 48.998)" },
159
+ 800: { value: "oklch(0.473 0.137 46.201)" },
160
+ 900: { value: "oklch(0.414 0.112 45.904)" },
161
+ 950: { value: "oklch(0.279 0.077 45.635)" }
162
+ },
163
+ yellow: {
164
+ 50: { value: "oklch(0.987 0.026 102.212)" },
165
+ 100: { value: "oklch(0.973 0.071 103.193)" },
166
+ 200: { value: "oklch(0.945 0.129 101.54)" },
167
+ 300: { value: "oklch(0.905 0.182 98.111)" },
168
+ 400: { value: "oklch(0.852 0.199 91.936)" },
169
+ 500: { value: "oklch(0.795 0.184 86.047)" },
170
+ 600: { value: "oklch(0.681 0.162 75.834)" },
171
+ 700: { value: "oklch(0.554 0.135 66.442)" },
172
+ 800: { value: "oklch(0.476 0.114 61.907)" },
173
+ 900: { value: "oklch(0.421 0.095 57.708)" },
174
+ 950: { value: "oklch(0.286 0.066 53.813)" }
175
+ },
176
+ lime: {
177
+ 50: { value: "oklch(0.986 0.031 120.757)" },
178
+ 100: { value: "oklch(0.967 0.067 122.328)" },
179
+ 200: { value: "oklch(0.938 0.127 124.321)" },
180
+ 300: { value: "oklch(0.897 0.196 126.665)" },
181
+ 400: { value: "oklch(0.841 0.238 128.85)" },
182
+ 500: { value: "oklch(0.768 0.233 130.85)" },
183
+ 600: { value: "oklch(0.648 0.2 131.684)" },
184
+ 700: { value: "oklch(0.532 0.157 131.589)" },
185
+ 800: { value: "oklch(0.453 0.124 130.933)" },
186
+ 900: { value: "oklch(0.405 0.101 131.063)" },
187
+ 950: { value: "oklch(0.274 0.072 132.109)" }
188
+ },
189
+ green: {
190
+ 50: { value: "oklch(0.982 0.018 155.826)" },
191
+ 100: { value: "oklch(0.962 0.044 156.743)" },
192
+ 200: { value: "oklch(0.925 0.084 155.995)" },
193
+ 300: { value: "oklch(0.871 0.15 154.449)" },
194
+ 400: { value: "oklch(0.792 0.209 151.711)" },
195
+ 500: { value: "oklch(0.723 0.219 149.579)" },
196
+ 600: { value: "oklch(0.627 0.194 149.214)" },
197
+ 700: { value: "oklch(0.527 0.154 150.069)" },
198
+ 800: { value: "oklch(0.448 0.119 151.328)" },
199
+ 900: { value: "oklch(0.393 0.095 152.535)" },
200
+ 950: { value: "oklch(0.266 0.065 152.934)" }
201
+ },
202
+ emerald: {
203
+ 50: { value: "oklch(0.979 0.021 166.113)" },
204
+ 100: { value: "oklch(0.95 0.052 163.051)" },
205
+ 200: { value: "oklch(0.905 0.093 164.15)" },
206
+ 300: { value: "oklch(0.845 0.143 164.978)" },
207
+ 400: { value: "oklch(0.765 0.177 163.223)" },
208
+ 500: { value: "oklch(0.696 0.17 162.48)" },
209
+ 600: { value: "oklch(0.596 0.145 163.225)" },
210
+ 700: { value: "oklch(0.508 0.118 165.612)" },
211
+ 800: { value: "oklch(0.432 0.095 166.913)" },
212
+ 900: { value: "oklch(0.378 0.077 168.94)" },
213
+ 950: { value: "oklch(0.262 0.051 172.552)" }
214
+ },
215
+ teal: {
216
+ 50: { value: "oklch(0.984 0.014 180.72)" },
217
+ 100: { value: "oklch(0.953 0.051 180.801)" },
218
+ 200: { value: "oklch(0.91 0.096 180.426)" },
219
+ 300: { value: "oklch(0.855 0.138 181.071)" },
220
+ 400: { value: "oklch(0.777 0.152 181.912)" },
221
+ 500: { value: "oklch(0.704 0.14 182.503)" },
222
+ 600: { value: "oklch(0.6 0.118 184.704)" },
223
+ 700: { value: "oklch(0.511 0.096 186.391)" },
224
+ 800: { value: "oklch(0.437 0.078 188.216)" },
225
+ 900: { value: "oklch(0.386 0.063 188.416)" },
226
+ 950: { value: "oklch(0.277 0.046 192.524)" }
227
+ },
228
+ cyan: {
229
+ 50: { value: "oklch(0.984 0.019 200.873)" },
230
+ 100: { value: "oklch(0.956 0.045 203.388)" },
231
+ 200: { value: "oklch(0.917 0.08 205.041)" },
232
+ 300: { value: "oklch(0.865 0.127 207.078)" },
233
+ 400: { value: "oklch(0.789 0.154 211.53)" },
234
+ 500: { value: "oklch(0.715 0.143 215.221)" },
235
+ 600: { value: "oklch(0.609 0.126 221.723)" },
236
+ 700: { value: "oklch(0.52 0.105 223.128)" },
237
+ 800: { value: "oklch(0.45 0.085 224.283)" },
238
+ 900: { value: "oklch(0.398 0.07 227.392)" },
239
+ 950: { value: "oklch(0.302 0.056 229.695)" }
240
+ },
241
+ sky: {
242
+ 50: { value: "oklch(0.977 0.013 236.62)" },
243
+ 100: { value: "oklch(0.951 0.026 236.824)" },
244
+ 200: { value: "oklch(0.901 0.058 230.902)" },
245
+ 300: { value: "oklch(0.828 0.111 230.318)" },
246
+ 400: { value: "oklch(0.746 0.16 232.661)" },
247
+ 500: { value: "oklch(0.685 0.169 237.323)" },
248
+ 600: { value: "oklch(0.588 0.158 241.966)" },
249
+ 700: { value: "oklch(0.5 0.134 242.749)" },
250
+ 800: { value: "oklch(0.443 0.11 240.79)" },
251
+ 900: { value: "oklch(0.391 0.09 240.876)" },
252
+ 950: { value: "oklch(0.293 0.066 243.157)" }
253
+ },
254
+ blue: {
255
+ 50: { value: "oklch(0.97 0.014 254.604)" },
256
+ 100: { value: "oklch(0.932 0.032 255.585)" },
257
+ 200: { value: "oklch(0.882 0.059 254.128)" },
258
+ 300: { value: "oklch(0.809 0.105 251.813)" },
259
+ 400: { value: "oklch(0.707 0.165 254.624)" },
260
+ 500: { value: "oklch(0.623 0.214 259.815)" },
261
+ 600: { value: "oklch(0.546 0.245 262.881)" },
262
+ 700: { value: "oklch(0.488 0.243 264.376)" },
263
+ 800: { value: "oklch(0.424 0.199 265.638)" },
264
+ 900: { value: "oklch(0.379 0.146 265.522)" },
265
+ 950: { value: "oklch(0.282 0.091 267.935)" }
266
+ },
267
+ indigo: {
268
+ 50: { value: "oklch(0.962 0.018 272.314)" },
269
+ 100: { value: "oklch(0.93 0.034 272.788)" },
270
+ 200: { value: "oklch(0.87 0.065 274.039)" },
271
+ 300: { value: "oklch(0.785 0.115 274.713)" },
272
+ 400: { value: "oklch(0.673 0.182 276.935)" },
273
+ 500: { value: "oklch(0.585 0.233 277.117)" },
274
+ 600: { value: "oklch(0.511 0.262 276.966)" },
275
+ 700: { value: "oklch(0.457 0.24 277.023)" },
276
+ 800: { value: "oklch(0.398 0.195 277.366)" },
277
+ 900: { value: "oklch(0.359 0.144 278.697)" },
278
+ 950: { value: "oklch(0.257 0.09 281.288)" }
279
+ },
280
+ violet: {
281
+ 50: { value: "oklch(0.969 0.016 293.756)" },
282
+ 100: { value: "oklch(0.943 0.029 294.588)" },
283
+ 200: { value: "oklch(0.894 0.057 293.283)" },
284
+ 300: { value: "oklch(0.811 0.111 293.571)" },
285
+ 400: { value: "oklch(0.702 0.183 293.541)" },
286
+ 500: { value: "oklch(0.606 0.25 292.717)" },
287
+ 600: { value: "oklch(0.541 0.281 293.009)" },
288
+ 700: { value: "oklch(0.491 0.27 292.581)" },
289
+ 800: { value: "oklch(0.432 0.232 292.759)" },
290
+ 900: { value: "oklch(0.38 0.189 293.745)" },
291
+ 950: { value: "oklch(0.283 0.141 291.089)" }
292
+ },
293
+ purple: {
294
+ 50: { value: "oklch(0.977 0.014 308.299)" },
295
+ 100: { value: "oklch(0.946 0.033 307.174)" },
296
+ 200: { value: "oklch(0.902 0.063 306.703)" },
297
+ 300: { value: "oklch(0.827 0.119 306.383)" },
298
+ 400: { value: "oklch(0.714 0.203 305.504)" },
299
+ 500: { value: "oklch(0.627 0.265 303.9)" },
300
+ 600: { value: "oklch(0.558 0.288 302.321)" },
301
+ 700: { value: "oklch(0.496 0.265 301.924)" },
302
+ 800: { value: "oklch(0.438 0.218 303.724)" },
303
+ 900: { value: "oklch(0.381 0.176 304.987)" },
304
+ 950: { value: "oklch(0.291 0.149 302.717)" }
305
+ },
306
+ fuchsia: {
307
+ 50: { value: "oklch(0.977 0.017 320.058)" },
308
+ 100: { value: "oklch(0.952 0.037 318.852)" },
309
+ 200: { value: "oklch(0.903 0.076 319.62)" },
310
+ 300: { value: "oklch(0.833 0.145 321.434)" },
311
+ 400: { value: "oklch(0.74 0.238 322.16)" },
312
+ 500: { value: "oklch(0.667 0.295 322.15)" },
313
+ 600: { value: "oklch(0.591 0.293 322.896)" },
314
+ 700: { value: "oklch(0.518 0.253 323.949)" },
315
+ 800: { value: "oklch(0.452 0.211 324.591)" },
316
+ 900: { value: "oklch(0.401 0.17 325.612)" },
317
+ 950: { value: "oklch(0.293 0.136 325.661)" }
318
+ },
319
+ pink: {
320
+ 50: { value: "oklch(0.971 0.014 343.198)" },
321
+ 100: { value: "oklch(0.948 0.028 342.258)" },
322
+ 200: { value: "oklch(0.899 0.061 343.231)" },
323
+ 300: { value: "oklch(0.823 0.12 346.018)" },
324
+ 400: { value: "oklch(0.718 0.202 349.761)" },
325
+ 500: { value: "oklch(0.656 0.241 354.308)" },
326
+ 600: { value: "oklch(0.592 0.249 0.584)" },
327
+ 700: { value: "oklch(0.525 0.223 3.958)" },
328
+ 800: { value: "oklch(0.459 0.187 3.815)" },
329
+ 900: { value: "oklch(0.408 0.153 2.432)" },
330
+ 950: { value: "oklch(0.284 0.109 3.907)" }
331
+ },
332
+ rose: {
333
+ 50: { value: "oklch(0.969 0.015 12.422)" },
334
+ 100: { value: "oklch(0.941 0.03 12.58)" },
335
+ 200: { value: "oklch(0.892 0.058 10.001)" },
336
+ 300: { value: "oklch(0.81 0.117 11.638)" },
337
+ 400: { value: "oklch(0.712 0.194 13.428)" },
338
+ 500: { value: "oklch(0.645 0.246 16.439)" },
339
+ 600: { value: "oklch(0.586 0.253 17.585)" },
340
+ 700: { value: "oklch(0.514 0.222 16.935)" },
341
+ 800: { value: "oklch(0.455 0.188 13.697)" },
342
+ 900: { value: "oklch(0.41 0.159 10.272)" },
343
+ 950: { value: "oklch(0.271 0.105 12.094)" }
344
+ }
345
+ });
346
+ // Annotate the CommonJS export names for ESM import in node:
347
+ 0 && (module.exports = {
348
+ colors
349
+ });