@rockshin/tao-ui 0.0.1 → 0.0.2

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 (59) hide show
  1. package/dist/components/breadcrumb/breadcrumb.css +1088 -0
  2. package/dist/components/breadcrumb/breadcrumb.d.ts +43 -0
  3. package/dist/components/breadcrumb/breadcrumb.js +268 -0
  4. package/dist/components/button/button.css +43 -21
  5. package/dist/components/checkbox/checkbox.css +30 -12
  6. package/dist/components/collapsible/collapsible.css +1023 -0
  7. package/dist/components/collapsible/collapsible.d.ts +39 -0
  8. package/dist/components/collapsible/collapsible.js +168 -0
  9. package/dist/components/context-menu/context-menu.css +1146 -0
  10. package/dist/components/context-menu/context-menu.d.ts +19 -0
  11. package/dist/components/context-menu/context-menu.js +104 -0
  12. package/dist/components/date-picker/date-picker.css +44 -16
  13. package/dist/components/drawer/drawer.css +123 -13
  14. package/dist/components/drawer/drawer.d.ts +36 -3
  15. package/dist/components/drawer/drawer.js +314 -121
  16. package/dist/components/dropdown/dropdown.css +996 -0
  17. package/dist/components/dropdown/dropdown.d.ts +45 -0
  18. package/dist/components/dropdown/dropdown.js +381 -0
  19. package/dist/components/form-field/form.css +30 -12
  20. package/dist/components/input/input.css +44 -14
  21. package/dist/components/menu/menu-render.d.ts +89 -0
  22. package/dist/components/menu/menu-render.js +376 -0
  23. package/dist/components/menu/menu.css +1142 -0
  24. package/dist/components/modal/confirm-dialog.d.ts +37 -0
  25. package/dist/components/modal/confirm-dialog.js +193 -0
  26. package/dist/components/modal/confirm.d.ts +13 -0
  27. package/dist/components/modal/confirm.js +56 -0
  28. package/dist/components/modal/index.d.ts +21 -0
  29. package/dist/components/modal/index.js +18 -0
  30. package/dist/components/modal/modal.css +1166 -0
  31. package/dist/components/modal/modal.d.ts +50 -0
  32. package/dist/components/modal/modal.js +353 -0
  33. package/dist/components/modal/use-modal.d.ts +21 -0
  34. package/dist/components/modal/use-modal.js +83 -0
  35. package/dist/components/pagination/pagination.css +30 -12
  36. package/dist/components/radio/radio.css +30 -12
  37. package/dist/components/scroll-area/scroll-area.css +30 -12
  38. package/dist/components/select/mobile-select.css +65 -13
  39. package/dist/components/select/mobile-select.js +17 -3
  40. package/dist/components/select/select.css +102 -15
  41. package/dist/components/select/select.d.ts +4 -0
  42. package/dist/components/select/select.js +204 -168
  43. package/dist/components/splitter/splitter.css +30 -12
  44. package/dist/components/switch/switch.css +30 -12
  45. package/dist/components/table/table.css +54 -18
  46. package/dist/components/table/table.d.ts +17 -2
  47. package/dist/components/table/table.js +214 -206
  48. package/dist/components/tabs/tabs.css +33 -17
  49. package/dist/components/tag/tag.css +30 -12
  50. package/dist/components/textarea/textarea.css +1204 -0
  51. package/dist/components/textarea/textarea.d.ts +19 -0
  52. package/dist/components/textarea/textarea.js +181 -0
  53. package/dist/index.d.ts +24 -18
  54. package/dist/index.js +21 -15
  55. package/dist/layouts/stack/layout.css +30 -12
  56. package/dist/theme/control.css +44 -13
  57. package/dist/theme/theme.css +30 -12
  58. package/llms.txt +7 -6
  59. package/package.json +6 -1
@@ -11,7 +11,7 @@ const defaultFilter = (input, option)=>{
11
11
  return label.toLowerCase().includes(input.toLowerCase());
12
12
  };
13
13
  function Select(props) {
14
- const $ = c(95);
14
+ const $ = c(101);
15
15
  const { options, value, onChange, placeholder, size, variant, disabled, showSearch, filterOption, allowClear, loading, notFoundContent: t0, prefix, mobile } = props;
16
16
  const notFoundContent = void 0 === t0 ? "No results" : t0;
17
17
  const ctx = useTaoConfig();
@@ -109,33 +109,42 @@ function Select(props) {
109
109
  $[19] = t9;
110
110
  } else t9 = $[19];
111
111
  let t10;
112
- if ($[20] !== placeholder || $[21] !== selectedOption) {
113
- t10 = selectedOption ? selectedOption.label : /*#__PURE__*/ jsx("span", {
114
- "data-tao-select-placeholder": "",
115
- children: placeholder
112
+ if ($[20] !== selectedOption) {
113
+ t10 = selectedOption?.icon != null && /*#__PURE__*/ jsx("span", {
114
+ "data-tao-select-value-icon": "",
115
+ children: selectedOption.icon
116
116
  });
117
- $[20] = placeholder;
118
- $[21] = selectedOption;
119
- $[22] = t10;
120
- } else t10 = $[22];
117
+ $[20] = selectedOption;
118
+ $[21] = t10;
119
+ } else t10 = $[21];
121
120
  let t11;
122
- if ($[23] !== t10) {
123
- t11 = /*#__PURE__*/ jsx("span", {
124
- "data-tao-select-value": "",
125
- children: t10
121
+ if ($[22] !== placeholder || $[23] !== selectedOption) {
122
+ t11 = selectedOption ? selectedOption.label : /*#__PURE__*/ jsx("span", {
123
+ "data-tao-select-placeholder": "",
124
+ children: placeholder
126
125
  });
127
- $[23] = t10;
126
+ $[22] = placeholder;
127
+ $[23] = selectedOption;
128
128
  $[24] = t11;
129
129
  } else t11 = $[24];
130
130
  let t12;
131
- if ($[25] !== loading) {
132
- t12 = loading && /*#__PURE__*/ jsx(LoadingIcon, {});
133
- $[25] = loading;
131
+ if ($[25] !== t11) {
132
+ t12 = /*#__PURE__*/ jsx("span", {
133
+ "data-tao-select-value": "",
134
+ children: t11
135
+ });
136
+ $[25] = t11;
134
137
  $[26] = t12;
135
138
  } else t12 = $[26];
136
139
  let t13;
137
- if ($[27] !== handleClear || $[28] !== hovering || $[29] !== showClearBtn) {
138
- t13 = showClearBtn && hovering ? /*#__PURE__*/ jsx("span", {
140
+ if ($[27] !== loading) {
141
+ t13 = loading && /*#__PURE__*/ jsx(LoadingIcon, {});
142
+ $[27] = loading;
143
+ $[28] = t13;
144
+ } else t13 = $[28];
145
+ let t14;
146
+ if ($[29] !== handleClear || $[30] !== hovering || $[31] !== showClearBtn) {
147
+ t14 = showClearBtn && hovering ? /*#__PURE__*/ jsx("span", {
139
148
  "data-tao-select-clear": "",
140
149
  onClick: handleClear,
141
150
  role: "button",
@@ -145,27 +154,27 @@ function Select(props) {
145
154
  "data-tao-select-icon": "",
146
155
  children: /*#__PURE__*/ jsx(ChevronDownIcon, {})
147
156
  });
148
- $[27] = handleClear;
149
- $[28] = hovering;
150
- $[29] = showClearBtn;
151
- $[30] = t13;
152
- } else t13 = $[30];
153
- let t14;
154
- if ($[31] !== t12 || $[32] !== t13) {
155
- t14 = /*#__PURE__*/ jsxs("span", {
157
+ $[29] = handleClear;
158
+ $[30] = hovering;
159
+ $[31] = showClearBtn;
160
+ $[32] = t14;
161
+ } else t14 = $[32];
162
+ let t15;
163
+ if ($[33] !== t13 || $[34] !== t14) {
164
+ t15 = /*#__PURE__*/ jsxs("span", {
156
165
  "data-tao-select-icons": "",
157
166
  children: [
158
- t12,
159
- t13
167
+ t13,
168
+ t14
160
169
  ]
161
170
  });
162
- $[31] = t12;
163
- $[32] = t13;
164
- $[33] = t14;
165
- } else t14 = $[33];
166
- let t15;
167
- if ($[34] !== resolvedDisabled || $[35] !== resolvedSize || $[36] !== resolvedVariant || $[37] !== t11 || $[38] !== t14 || $[39] !== t5 || $[40] !== t9) {
168
- t15 = /*#__PURE__*/ jsxs("button", {
171
+ $[33] = t13;
172
+ $[34] = t14;
173
+ $[35] = t15;
174
+ } else t15 = $[35];
175
+ let t16;
176
+ if ($[36] !== resolvedDisabled || $[37] !== resolvedSize || $[38] !== resolvedVariant || $[39] !== t10 || $[40] !== t12 || $[41] !== t15 || $[42] !== t5 || $[43] !== t9) {
177
+ t16 = /*#__PURE__*/ jsxs("button", {
169
178
  type: "button",
170
179
  "data-tao-control": "",
171
180
  "data-tao-select": "",
@@ -178,29 +187,31 @@ function Select(props) {
178
187
  onMouseLeave: t8,
179
188
  children: [
180
189
  t9,
181
- t11,
182
- t14
190
+ t10,
191
+ t12,
192
+ t15
183
193
  ]
184
194
  });
185
- $[34] = resolvedDisabled;
186
- $[35] = resolvedSize;
187
- $[36] = resolvedVariant;
188
- $[37] = t11;
189
- $[38] = t14;
190
- $[39] = t5;
191
- $[40] = t9;
195
+ $[36] = resolvedDisabled;
196
+ $[37] = resolvedSize;
197
+ $[38] = resolvedVariant;
198
+ $[39] = t10;
199
+ $[40] = t12;
192
200
  $[41] = t15;
193
- } else t15 = $[41];
194
- let t16;
195
- if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
196
- t16 = ()=>handleOpenChange(false);
197
- $[42] = t16;
198
- } else t16 = $[42];
201
+ $[42] = t5;
202
+ $[43] = t9;
203
+ $[44] = t16;
204
+ } else t16 = $[44];
199
205
  let t17;
200
- if ($[43] !== filterOption || $[44] !== notFoundContent || $[45] !== onChange || $[46] !== open || $[47] !== options || $[48] !== placeholder || $[49] !== showSearch || $[50] !== value) {
201
- t17 = /*#__PURE__*/ jsx(MobileSelectDrawer, {
206
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
207
+ t17 = ()=>handleOpenChange(false);
208
+ $[45] = t17;
209
+ } else t17 = $[45];
210
+ let t18;
211
+ if ($[46] !== filterOption || $[47] !== notFoundContent || $[48] !== onChange || $[49] !== open || $[50] !== options || $[51] !== placeholder || $[52] !== showSearch || $[53] !== value) {
212
+ t18 = /*#__PURE__*/ jsx(MobileSelectDrawer, {
202
213
  open: open,
203
- onClose: t16,
214
+ onClose: t17,
204
215
  options: options,
205
216
  value: value,
206
217
  onChange: onChange,
@@ -209,68 +220,77 @@ function Select(props) {
209
220
  filterOption: filterOption,
210
221
  notFoundContent: notFoundContent
211
222
  });
212
- $[43] = filterOption;
213
- $[44] = notFoundContent;
214
- $[45] = onChange;
215
- $[46] = open;
216
- $[47] = options;
217
- $[48] = placeholder;
218
- $[49] = showSearch;
219
- $[50] = value;
220
- $[51] = t17;
221
- } else t17 = $[51];
222
- let t18;
223
- if ($[52] !== t15 || $[53] !== t17) {
224
- t18 = /*#__PURE__*/ jsxs(Fragment, {
223
+ $[46] = filterOption;
224
+ $[47] = notFoundContent;
225
+ $[48] = onChange;
226
+ $[49] = open;
227
+ $[50] = options;
228
+ $[51] = placeholder;
229
+ $[52] = showSearch;
230
+ $[53] = value;
231
+ $[54] = t18;
232
+ } else t18 = $[54];
233
+ let t19;
234
+ if ($[55] !== t16 || $[56] !== t18) {
235
+ t19 = /*#__PURE__*/ jsxs(Fragment, {
225
236
  children: [
226
- t15,
227
- t17
237
+ t16,
238
+ t18
228
239
  ]
229
240
  });
230
- $[52] = t15;
231
- $[53] = t17;
232
- $[54] = t18;
233
- } else t18 = $[54];
234
- return t18;
241
+ $[55] = t16;
242
+ $[56] = t18;
243
+ $[57] = t19;
244
+ } else t19 = $[57];
245
+ return t19;
235
246
  }
236
247
  const t5 = resolvedDisabled || void 0;
237
248
  let t6;
238
249
  let t7;
239
- if ($[55] === Symbol.for("react.memo_cache_sentinel")) {
250
+ if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
240
251
  t6 = ()=>setHovering(true);
241
252
  t7 = ()=>setHovering(false);
242
- $[55] = t6;
243
- $[56] = t7;
253
+ $[58] = t6;
254
+ $[59] = t7;
244
255
  } else {
245
- t6 = $[55];
246
- t7 = $[56];
256
+ t6 = $[58];
257
+ t7 = $[59];
247
258
  }
248
259
  let t8;
249
- if ($[57] !== prefix) {
260
+ if ($[60] !== prefix) {
250
261
  t8 = null != prefix && /*#__PURE__*/ jsx("span", {
251
262
  "data-tao-select-prefix": "",
252
263
  children: prefix
253
264
  });
254
- $[57] = prefix;
255
- $[58] = t8;
256
- } else t8 = $[58];
265
+ $[60] = prefix;
266
+ $[61] = t8;
267
+ } else t8 = $[61];
257
268
  let t9;
258
- if ($[59] !== placeholder) {
259
- t9 = /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.Value, {
260
- placeholder: placeholder
269
+ if ($[62] !== selectedOption) {
270
+ t9 = selectedOption?.icon != null && /*#__PURE__*/ jsx("span", {
271
+ "data-tao-select-value-icon": "",
272
+ children: selectedOption.icon
261
273
  });
262
- $[59] = placeholder;
263
- $[60] = t9;
264
- } else t9 = $[60];
274
+ $[62] = selectedOption;
275
+ $[63] = t9;
276
+ } else t9 = $[63];
265
277
  let t10;
266
- if ($[61] !== loading) {
267
- t10 = loading && /*#__PURE__*/ jsx(LoadingIcon, {});
268
- $[61] = loading;
269
- $[62] = t10;
270
- } else t10 = $[62];
278
+ if ($[64] !== placeholder) {
279
+ t10 = /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.Value, {
280
+ placeholder: placeholder
281
+ });
282
+ $[64] = placeholder;
283
+ $[65] = t10;
284
+ } else t10 = $[65];
271
285
  let t11;
272
- if ($[63] !== handleClear || $[64] !== hovering || $[65] !== showClearBtn) {
273
- t11 = showClearBtn && hovering ? /*#__PURE__*/ jsx("span", {
286
+ if ($[66] !== loading) {
287
+ t11 = loading && /*#__PURE__*/ jsx(LoadingIcon, {});
288
+ $[66] = loading;
289
+ $[67] = t11;
290
+ } else t11 = $[67];
291
+ let t12;
292
+ if ($[68] !== handleClear || $[69] !== hovering || $[70] !== showClearBtn) {
293
+ t12 = showClearBtn && hovering ? /*#__PURE__*/ jsx("span", {
274
294
  "data-tao-select-clear": "",
275
295
  onClick: handleClear,
276
296
  role: "button",
@@ -280,27 +300,27 @@ function Select(props) {
280
300
  "data-tao-select-icon": "",
281
301
  children: /*#__PURE__*/ jsx(ChevronDownIcon, {})
282
302
  });
283
- $[63] = handleClear;
284
- $[64] = hovering;
285
- $[65] = showClearBtn;
286
- $[66] = t11;
287
- } else t11 = $[66];
288
- let t12;
289
- if ($[67] !== t10 || $[68] !== t11) {
290
- t12 = /*#__PURE__*/ jsxs("span", {
303
+ $[68] = handleClear;
304
+ $[69] = hovering;
305
+ $[70] = showClearBtn;
306
+ $[71] = t12;
307
+ } else t12 = $[71];
308
+ let t13;
309
+ if ($[72] !== t11 || $[73] !== t12) {
310
+ t13 = /*#__PURE__*/ jsxs("span", {
291
311
  "data-tao-select-icons": "",
292
312
  children: [
293
- t10,
294
- t11
313
+ t11,
314
+ t12
295
315
  ]
296
316
  });
297
- $[67] = t10;
298
- $[68] = t11;
299
- $[69] = t12;
300
- } else t12 = $[69];
301
- let t13;
302
- if ($[70] !== resolvedSize || $[71] !== resolvedVariant || $[72] !== t12 || $[73] !== t5 || $[74] !== t8 || $[75] !== t9) {
303
- t13 = /*#__PURE__*/ jsxs(__rspack_external__radix_ui_react_select_36a82244.Trigger, {
317
+ $[72] = t11;
318
+ $[73] = t12;
319
+ $[74] = t13;
320
+ } else t13 = $[74];
321
+ let t14;
322
+ if ($[75] !== resolvedSize || $[76] !== resolvedVariant || $[77] !== t10 || $[78] !== t13 || $[79] !== t5 || $[80] !== t8 || $[81] !== t9) {
323
+ t14 = /*#__PURE__*/ jsxs(__rspack_external__radix_ui_react_select_36a82244.Trigger, {
304
324
  "data-tao-control": "",
305
325
  "data-tao-select": "",
306
326
  "data-tao-size": resolvedSize,
@@ -311,20 +331,22 @@ function Select(props) {
311
331
  children: [
312
332
  t8,
313
333
  t9,
314
- t12
334
+ t10,
335
+ t13
315
336
  ]
316
337
  });
317
- $[70] = resolvedSize;
318
- $[71] = resolvedVariant;
319
- $[72] = t12;
320
- $[73] = t5;
321
- $[74] = t8;
322
- $[75] = t9;
323
- $[76] = t13;
324
- } else t13 = $[76];
325
- let t14;
326
- if ($[77] !== search || $[78] !== showSearch) {
327
- t14 = showSearch && /*#__PURE__*/ jsxs("div", {
338
+ $[75] = resolvedSize;
339
+ $[76] = resolvedVariant;
340
+ $[77] = t10;
341
+ $[78] = t13;
342
+ $[79] = t5;
343
+ $[80] = t8;
344
+ $[81] = t9;
345
+ $[82] = t14;
346
+ } else t14 = $[82];
347
+ let t15;
348
+ if ($[83] !== search || $[84] !== showSearch) {
349
+ t15 = showSearch && /*#__PURE__*/ jsxs("div", {
328
350
  "data-tao-select-search": "",
329
351
  children: [
330
352
  /*#__PURE__*/ jsx(SearchIcon, {}),
@@ -337,77 +359,91 @@ function Select(props) {
337
359
  })
338
360
  ]
339
361
  });
340
- $[77] = search;
341
- $[78] = showSearch;
342
- $[79] = t14;
343
- } else t14 = $[79];
344
- let t15;
345
- if ($[80] !== filteredOptions || $[81] !== notFoundContent) {
346
- t15 = filteredOptions.length > 0 ? filteredOptions.map(_temp) : /*#__PURE__*/ jsx("div", {
362
+ $[83] = search;
363
+ $[84] = showSearch;
364
+ $[85] = t15;
365
+ } else t15 = $[85];
366
+ let t16;
367
+ if ($[86] !== filteredOptions || $[87] !== notFoundContent) {
368
+ t16 = filteredOptions.length > 0 ? filteredOptions.map(_temp) : /*#__PURE__*/ jsx("div", {
347
369
  "data-tao-select-empty": "",
348
370
  children: notFoundContent
349
371
  });
350
- $[80] = filteredOptions;
351
- $[81] = notFoundContent;
352
- $[82] = t15;
353
- } else t15 = $[82];
354
- let t16;
355
- if ($[83] !== t15) {
356
- t16 = /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.Viewport, {
372
+ $[86] = filteredOptions;
373
+ $[87] = notFoundContent;
374
+ $[88] = t16;
375
+ } else t16 = $[88];
376
+ let t17;
377
+ if ($[89] !== t16) {
378
+ t17 = /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.Viewport, {
357
379
  "data-tao-select-viewport": "",
358
- children: t15
380
+ children: t16
359
381
  });
360
- $[83] = t15;
361
- $[84] = t16;
362
- } else t16 = $[84];
363
- let t17;
364
- if ($[85] !== t14 || $[86] !== t16) {
365
- t17 = /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.Portal, {
382
+ $[89] = t16;
383
+ $[90] = t17;
384
+ } else t17 = $[90];
385
+ let t18;
386
+ if ($[91] !== t15 || $[92] !== t17) {
387
+ t18 = /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.Portal, {
366
388
  children: /*#__PURE__*/ jsxs(__rspack_external__radix_ui_react_select_36a82244.Content, {
367
389
  "data-tao-select-content": "",
368
390
  position: "popper",
369
391
  sideOffset: 4,
370
392
  children: [
371
- t14,
372
- t16
393
+ t15,
394
+ t17
373
395
  ]
374
396
  })
375
397
  });
376
- $[85] = t14;
377
- $[86] = t16;
378
- $[87] = t17;
379
- } else t17 = $[87];
380
- let t18;
381
- if ($[88] !== onChange || $[89] !== open || $[90] !== resolvedDisabled || $[91] !== t13 || $[92] !== t17 || $[93] !== value) {
382
- t18 = /*#__PURE__*/ jsxs(__rspack_external__radix_ui_react_select_36a82244.Root, {
398
+ $[91] = t15;
399
+ $[92] = t17;
400
+ $[93] = t18;
401
+ } else t18 = $[93];
402
+ let t19;
403
+ if ($[94] !== onChange || $[95] !== open || $[96] !== resolvedDisabled || $[97] !== t14 || $[98] !== t18 || $[99] !== value) {
404
+ t19 = /*#__PURE__*/ jsxs(__rspack_external__radix_ui_react_select_36a82244.Root, {
383
405
  value: value,
384
406
  onValueChange: onChange,
385
407
  disabled: resolvedDisabled,
386
408
  open: open,
387
409
  onOpenChange: handleOpenChange,
388
410
  children: [
389
- t13,
390
- t17
411
+ t14,
412
+ t18
391
413
  ]
392
414
  });
393
- $[88] = onChange;
394
- $[89] = open;
395
- $[90] = resolvedDisabled;
396
- $[91] = t13;
397
- $[92] = t17;
398
- $[93] = value;
399
- $[94] = t18;
400
- } else t18 = $[94];
401
- return t18;
415
+ $[94] = onChange;
416
+ $[95] = open;
417
+ $[96] = resolvedDisabled;
418
+ $[97] = t14;
419
+ $[98] = t18;
420
+ $[99] = value;
421
+ $[100] = t19;
422
+ } else t19 = $[100];
423
+ return t19;
402
424
  }
403
425
  function _temp(opt) {
404
426
  return /*#__PURE__*/ jsxs(__rspack_external__radix_ui_react_select_36a82244.Item, {
405
427
  value: opt.value,
406
428
  disabled: opt.disabled,
407
429
  "data-tao-select-item": "",
430
+ "data-tao-has-desc": null != opt.description || void 0,
408
431
  children: [
409
- /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.ItemText, {
410
- children: opt.label
432
+ null != opt.icon && /*#__PURE__*/ jsx("span", {
433
+ "data-tao-select-item-icon": "",
434
+ children: opt.icon
435
+ }),
436
+ /*#__PURE__*/ jsxs("span", {
437
+ "data-tao-select-item-main": "",
438
+ children: [
439
+ /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.ItemText, {
440
+ children: opt.label
441
+ }),
442
+ null != opt.description && /*#__PURE__*/ jsx("span", {
443
+ "data-tao-select-item-desc": "",
444
+ children: opt.description
445
+ })
446
+ ]
411
447
  }),
412
448
  /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_select_36a82244.ItemIndicator, {
413
449
  "data-tao-select-check": "",
@@ -307,6 +307,8 @@
307
307
  --tao-radius: 6px;
308
308
  --tao-font-size: 14px;
309
309
  --tao-control-height: 36px;
310
+ --tao-control-width: 200px;
311
+ --tao-control-range-width: 360px;
310
312
  --tao-size-unit: 4px;
311
313
  --tao-line-width: 1px;
312
314
  --tao-font-family: "Geist Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
@@ -529,8 +531,8 @@
529
531
  }
530
532
 
531
533
  :root, [data-tao-provider] {
532
- --tao-color-bg-container: var(--tao-color-bg-base);
533
- --tao-color-bg-elevated: var(--tao-color-bg-base);
534
+ --tao-color-bg-container: oklch(100% 0 0);
535
+ --tao-color-bg-elevated: oklch(100% 0 0);
534
536
  --tao-color-border: var(--tao-color-text-base);
535
537
  }
536
538
 
@@ -541,16 +543,7 @@
541
543
  }
542
544
 
543
545
  :root, [data-tao-provider] {
544
- --tao-color-border-secondary: var(--tao-color-text-base);
545
- }
546
-
547
- @supports (color: color-mix(in lab, red, red)) {
548
- :root, [data-tao-provider] {
549
- --tao-color-border-secondary: color-mix(in oklch, var(--tao-color-text-base) 10%, var(--tao-color-bg-base));
550
- }
551
- }
552
-
553
- :root, [data-tao-provider] {
546
+ --tao-color-border-secondary: #0000170b;
554
547
  --tao-radius-xs: 2px;
555
548
  --tao-radius-sm: calc(var(--tao-radius) - 2px);
556
549
  --tao-radius-md: var(--tao-radius);
@@ -633,6 +626,10 @@
633
626
  visibility: collapse;
634
627
  }
635
628
 
629
+ .visible {
630
+ visibility: visible;
631
+ }
632
+
636
633
  .absolute {
637
634
  position: absolute;
638
635
  }
@@ -715,6 +712,10 @@
715
712
  display: inline;
716
713
  }
717
714
 
715
+ .inline-flex {
716
+ display: inline-flex;
717
+ }
718
+
718
719
  .table {
719
720
  display: table;
720
721
  }
@@ -727,6 +728,10 @@
727
728
  transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
728
729
  }
729
730
 
731
+ .resize {
732
+ resize: both;
733
+ }
734
+
730
735
  .flex-wrap {
731
736
  flex-wrap: wrap;
732
737
  }
@@ -742,6 +747,14 @@
742
747
  border-width: 1px;
743
748
  }
744
749
 
750
+ .italic {
751
+ font-style: italic;
752
+ }
753
+
754
+ .underline {
755
+ text-decoration-line: underline;
756
+ }
757
+
745
758
  .shadow {
746
759
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
747
760
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -771,6 +784,11 @@
771
784
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
772
785
  transition-duration: var(--tw-duration, var(--default-transition-duration));
773
786
  }
787
+
788
+ .select-all {
789
+ -webkit-user-select: all;
790
+ user-select: all;
791
+ }
774
792
  }
775
793
 
776
794
  [data-tao-splitter] {