@fangxinyan/lumina 0.6.2 → 0.6.3

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 (141) hide show
  1. package/README.md +2 -1
  2. package/dist/{Alert-JJ7GB3UU.css → Alert-QBKIDY5H.css} +7 -0
  3. package/dist/Alert.cjs +3 -3
  4. package/dist/Alert.d.cts +3 -2
  5. package/dist/Alert.d.ts +3 -2
  6. package/dist/Alert.js +2 -2
  7. package/dist/AutoComplete.cjs +5 -5
  8. package/dist/AutoComplete.js +4 -4
  9. package/dist/Badge.d.cts +1 -0
  10. package/dist/Badge.d.ts +1 -0
  11. package/dist/{Button-SDQD25AG.css → Button-4Z3Q6KII.css} +56 -36
  12. package/dist/Button.cjs +3 -3
  13. package/dist/Button.d.cts +6 -5
  14. package/dist/Button.d.ts +6 -5
  15. package/dist/Button.js +2 -2
  16. package/dist/Calendar.cjs +3 -3
  17. package/dist/Calendar.js +2 -2
  18. package/dist/{Cascader-C2DFSMKJ.css → Cascader-3BLLA7EN.css} +13 -0
  19. package/dist/Cascader.cjs +5 -5
  20. package/dist/Cascader.d.cts +4 -2
  21. package/dist/Cascader.d.ts +4 -2
  22. package/dist/Cascader.js +4 -4
  23. package/dist/Checkbox.cjs +3 -3
  24. package/dist/Checkbox.js +2 -2
  25. package/dist/Collapse.cjs +3 -3
  26. package/dist/Collapse.js +2 -2
  27. package/dist/CommandPalette.cjs +5 -5
  28. package/dist/CommandPalette.js +4 -4
  29. package/dist/Drawer.cjs +3 -3
  30. package/dist/Drawer.js +2 -2
  31. package/dist/Icon.cjs +55 -47
  32. package/dist/Icon.d.cts +9 -1
  33. package/dist/Icon.d.ts +9 -1
  34. package/dist/Icon.js +1 -1
  35. package/dist/{Image-4MN34O6P.css → Image-MRYQCRQ5.css} +78 -0
  36. package/dist/Image.cjs +12 -4
  37. package/dist/Image.d.cts +79 -6
  38. package/dist/Image.d.ts +79 -6
  39. package/dist/Image.js +2 -2
  40. package/dist/{Input-3G4ONWNU.css → Input-HUBJ55OH.css} +10 -0
  41. package/dist/Input.cjs +5 -5
  42. package/dist/Input.d.cts +4 -3
  43. package/dist/Input.d.ts +4 -3
  44. package/dist/Input.js +3 -3
  45. package/dist/InputNumber.cjs +5 -5
  46. package/dist/InputNumber.js +4 -4
  47. package/dist/Message.cjs +6 -6
  48. package/dist/Message.js +2 -2
  49. package/dist/Modal.cjs +4 -4
  50. package/dist/Modal.d.cts +1 -0
  51. package/dist/Modal.d.ts +1 -0
  52. package/dist/Modal.js +3 -3
  53. package/dist/Pagination.cjs +7 -7
  54. package/dist/Pagination.js +6 -6
  55. package/dist/{Select-JVBQAZBG.css → Select-Z5VYPEEY.css} +26 -1
  56. package/dist/Select.cjs +6 -6
  57. package/dist/Select.d.cts +4 -3
  58. package/dist/Select.d.ts +4 -3
  59. package/dist/Select.js +5 -5
  60. package/dist/Table.cjs +9 -9
  61. package/dist/Table.js +8 -8
  62. package/dist/TablePro.cjs +10 -10
  63. package/dist/TablePro.js +9 -9
  64. package/dist/{Tag-LB3OOJAO.css → Tag-HDYCDPFS.css} +14 -1
  65. package/dist/Tag.cjs +3 -3
  66. package/dist/Tag.d.cts +4 -3
  67. package/dist/Tag.d.ts +4 -3
  68. package/dist/Tag.js +2 -2
  69. package/dist/Textarea.cjs +4 -4
  70. package/dist/Textarea.js +2 -2
  71. package/dist/Theme.cjs +14 -10
  72. package/dist/Theme.d.cts +29 -6
  73. package/dist/Theme.d.ts +29 -6
  74. package/dist/Theme.js +1 -1
  75. package/dist/Typography.cjs +7 -7
  76. package/dist/Typography.d.cts +1 -0
  77. package/dist/Typography.d.ts +1 -0
  78. package/dist/Typography.js +2 -2
  79. package/dist/{chunk-MT7UWY6T.cjs → chunk-2HQCUBA7.cjs} +2 -2
  80. package/dist/{chunk-OF3SGLZY.js → chunk-47VG2P34.js} +9 -1
  81. package/dist/{chunk-ZIP7F4UF.cjs → chunk-5DKRY67M.cjs} +4 -4
  82. package/dist/{chunk-DQTSTJ6O.js → chunk-5H5YP2TB.js} +3 -3
  83. package/dist/{chunk-QGHYQCF3.cjs → chunk-5MN3PMF4.cjs} +8 -8
  84. package/dist/{chunk-FBVVRTX2.cjs → chunk-6HMTV6P4.cjs} +2 -2
  85. package/dist/{chunk-RF2EY5JS.cjs → chunk-6ZXQJRAT.cjs} +153 -34
  86. package/dist/{chunk-4WTU5P3O.cjs → chunk-7AG524YZ.cjs} +3 -3
  87. package/dist/{chunk-CEJ7VBR6.js → chunk-7IYKKLV3.js} +2 -2
  88. package/dist/{chunk-FJNWUELL.js → chunk-AAGF7K3L.js} +1 -1
  89. package/dist/{chunk-AWXCSX6J.js → chunk-BPOOVO5T.js} +3 -3
  90. package/dist/{chunk-EJBHR2P5.js → chunk-BVQ77VRY.js} +2 -2
  91. package/dist/{chunk-7NGMQIST.js → chunk-CETNCRZ4.js} +2 -2
  92. package/dist/{chunk-K2KYM7LW.cjs → chunk-DG5VQ6BO.cjs} +2 -2
  93. package/dist/chunk-DWAN57G4.js +243 -0
  94. package/dist/{chunk-CXWEOAVU.js → chunk-ET6DYQVZ.js} +1 -1
  95. package/dist/{chunk-WKKSAGYH.js → chunk-FBYUZOZP.js} +7 -7
  96. package/dist/{chunk-EIY7KEJ3.cjs → chunk-FGW5GJ22.cjs} +2 -2
  97. package/dist/{chunk-33NCTOEB.js → chunk-FWPBORRB.js} +1 -1
  98. package/dist/{chunk-EQEJTN3V.js → chunk-GIZU3H6H.js} +1 -1
  99. package/dist/{chunk-HPFQXYKG.cjs → chunk-H4LGWZMH.cjs} +9 -9
  100. package/dist/{chunk-6LZ54NPO.cjs → chunk-HKF2V5MM.cjs} +33 -23
  101. package/dist/{chunk-WGZ2KJTZ.js → chunk-HLFH5HWR.js} +1 -1
  102. package/dist/{chunk-UMDGS4BP.js → chunk-I5WTQ5Y3.js} +4 -4
  103. package/dist/{chunk-MUXP7ASL.js → chunk-J2HZTJO6.js} +1 -1
  104. package/dist/{chunk-NN25YMOL.js → chunk-J5ZGYQZK.js} +153 -35
  105. package/dist/{chunk-CHMCL7AV.js → chunk-JCEHZ336.js} +1 -1
  106. package/dist/{chunk-FFZ6OMZI.js → chunk-JVUVOR6S.js} +1 -1
  107. package/dist/{chunk-ON4DEDMI.js → chunk-K5IGFBDR.js} +1 -1
  108. package/dist/{chunk-35ZGBAA3.cjs → chunk-K7FV7W6U.cjs} +5 -5
  109. package/dist/{chunk-XD3JGL5O.js → chunk-ME5BZ2WA.js} +1 -1
  110. package/dist/{chunk-OQBDU5I2.cjs → chunk-MPVCYU2K.cjs} +2 -2
  111. package/dist/{chunk-CUXV6QNN.cjs → chunk-P6EZG2R7.cjs} +5 -5
  112. package/dist/{chunk-SKMP2A5O.cjs → chunk-P6P4DGLF.cjs} +2 -2
  113. package/dist/{chunk-TEG7NJHS.cjs → chunk-PULGVK2I.cjs} +2 -2
  114. package/dist/{chunk-TZJH5HBT.cjs → chunk-QP3VCSRY.cjs} +5 -5
  115. package/dist/{chunk-MQV2XN4B.cjs → chunk-R2TEDH2F.cjs} +5 -5
  116. package/dist/{chunk-JD7A6VM3.js → chunk-SQGPSMSK.js} +5 -5
  117. package/dist/{chunk-GNEZQMKH.js → chunk-TGL5BGMR.js} +4 -4
  118. package/dist/{chunk-5WAXZJG5.cjs → chunk-TP567B3L.cjs} +5 -5
  119. package/dist/{chunk-XTIN5545.js → chunk-UKS23N3L.js} +31 -21
  120. package/dist/{chunk-TJII7BQ2.cjs → chunk-V272XR3F.cjs} +10 -0
  121. package/dist/chunk-VFFIE2VO.cjs +271 -0
  122. package/dist/{chunk-OYMJVU66.cjs → chunk-X5GCOMC3.cjs} +15 -15
  123. package/dist/{chunk-3AS5B7MQ.cjs → chunk-XSN4TLN5.cjs} +10 -10
  124. package/dist/{chunk-6ACKL3WH.cjs → chunk-ZKE73UQF.cjs} +3 -3
  125. package/dist/index.cjs +130 -110
  126. package/dist/index.d.cts +5 -5
  127. package/dist/index.d.ts +5 -5
  128. package/dist/index.js +24 -24
  129. package/dist/styles.css +202 -38
  130. package/docs/llms/alert.md +4 -3
  131. package/docs/llms/button.md +4 -3
  132. package/docs/llms/cascader.md +3 -0
  133. package/docs/llms/image.md +72 -1
  134. package/docs/llms/input.md +3 -2
  135. package/docs/llms/select.md +2 -2
  136. package/docs/llms/tag.md +3 -2
  137. package/docs/llms/theme.md +41 -4
  138. package/docs/llms.md +4 -4
  139. package/package.json +16 -1
  140. package/dist/chunk-B2KEZQ6S.cjs +0 -116
  141. package/dist/chunk-PH3YECMF.js +0 -90
@@ -36,6 +36,16 @@
36
36
  color: var(--fg-subtle);
37
37
  flex-shrink: 0;
38
38
  display: inline-flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ line-height: 0;
42
+ }
43
+ .input-wrap .lead img,
44
+ .input-wrap .trail img {
45
+ display: block;
46
+ width: 16px;
47
+ height: 16px;
48
+ object-fit: contain;
39
49
  }
40
50
  .input-wrap .lead.interactive,
41
51
  .input-wrap .trail.interactive { cursor: pointer; pointer-events: auto; }
package/dist/Input.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunk6LZ54NPO_cjs = require('./chunk-6LZ54NPO.cjs');
4
- require('./chunk-OQBDU5I2.cjs');
5
- require('./chunk-TJII7BQ2.cjs');
3
+ var chunkHKF2V5MM_cjs = require('./chunk-HKF2V5MM.cjs');
4
+ require('./chunk-MPVCYU2K.cjs');
5
+ require('./chunk-V272XR3F.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Input", {
10
10
  enumerable: true,
11
- get: function () { return chunk6LZ54NPO_cjs.Input; }
11
+ get: function () { return chunkHKF2V5MM_cjs.Input; }
12
12
  });
13
13
  Object.defineProperty(exports, "InputPassword", {
14
14
  enumerable: true,
15
- get: function () { return chunk6LZ54NPO_cjs.InputPassword; }
15
+ get: function () { return chunkHKF2V5MM_cjs.InputPassword; }
16
16
  });
package/dist/Input.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
- import { IconName } from './Icon.cjs';
2
+ import { IconSlot } from './Icon.cjs';
3
3
  import { Textarea, TextareaProps } from './Textarea.cjs';
4
+ import 'react/jsx-runtime';
4
5
 
5
6
  interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "prefix" | "value" | "defaultValue"> {
6
7
  value?: string;
@@ -10,8 +11,8 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
10
11
  /** Convenience value callback for Lumina-style code. */
11
12
  onValueChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
12
13
  placeholder?: string;
13
- leadingIcon?: IconName;
14
- trailingIcon?: IconName;
14
+ leadingIcon?: IconSlot;
15
+ trailingIcon?: IconSlot;
15
16
  /** Click handler for the leading icon (stops propagation so the input isn't focused). */
16
17
  onLeadingIconClick?: (e: React.MouseEvent<SVGSVGElement>) => void;
17
18
  /** Click handler for the trailing icon — e.g. password visibility toggle. */
package/dist/Input.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
- import { IconName } from './Icon.js';
2
+ import { IconSlot } from './Icon.js';
3
3
  import { Textarea, TextareaProps } from './Textarea.js';
4
+ import 'react/jsx-runtime';
4
5
 
5
6
  interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "prefix" | "value" | "defaultValue"> {
6
7
  value?: string;
@@ -10,8 +11,8 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
10
11
  /** Convenience value callback for Lumina-style code. */
11
12
  onValueChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
12
13
  placeholder?: string;
13
- leadingIcon?: IconName;
14
- trailingIcon?: IconName;
14
+ leadingIcon?: IconSlot;
15
+ trailingIcon?: IconSlot;
15
16
  /** Click handler for the leading icon (stops propagation so the input isn't focused). */
16
17
  onLeadingIconClick?: (e: React.MouseEvent<SVGSVGElement>) => void;
17
18
  /** Click handler for the trailing icon — e.g. password visibility toggle. */
package/dist/Input.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Input, InputPassword } from './chunk-XTIN5545.js';
2
- import './chunk-WGZ2KJTZ.js';
3
- import './chunk-OF3SGLZY.js';
1
+ export { Input, InputPassword } from './chunk-UKS23N3L.js';
2
+ import './chunk-HLFH5HWR.js';
3
+ import './chunk-47VG2P34.js';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkTZJH5HBT_cjs = require('./chunk-TZJH5HBT.cjs');
4
- require('./chunk-6LZ54NPO.cjs');
5
- require('./chunk-OQBDU5I2.cjs');
6
- require('./chunk-TJII7BQ2.cjs');
3
+ var chunkQP3VCSRY_cjs = require('./chunk-QP3VCSRY.cjs');
4
+ require('./chunk-HKF2V5MM.cjs');
5
+ require('./chunk-MPVCYU2K.cjs');
6
+ require('./chunk-V272XR3F.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "InputNumber", {
11
11
  enumerable: true,
12
- get: function () { return chunkTZJH5HBT_cjs.InputNumber; }
12
+ get: function () { return chunkQP3VCSRY_cjs.InputNumber; }
13
13
  });
@@ -1,4 +1,4 @@
1
- export { InputNumber } from './chunk-EJBHR2P5.js';
2
- import './chunk-XTIN5545.js';
3
- import './chunk-WGZ2KJTZ.js';
4
- import './chunk-OF3SGLZY.js';
1
+ export { InputNumber } from './chunk-BVQ77VRY.js';
2
+ import './chunk-UKS23N3L.js';
3
+ import './chunk-HLFH5HWR.js';
4
+ import './chunk-47VG2P34.js';
package/dist/Message.cjs CHANGED
@@ -1,23 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunk6ACKL3WH_cjs = require('./chunk-6ACKL3WH.cjs');
4
- require('./chunk-TJII7BQ2.cjs');
3
+ var chunkZKE73UQF_cjs = require('./chunk-ZKE73UQF.cjs');
4
+ require('./chunk-V272XR3F.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "MessageContainer", {
9
9
  enumerable: true,
10
- get: function () { return chunk6ACKL3WH_cjs.MessageContainer; }
10
+ get: function () { return chunkZKE73UQF_cjs.MessageContainer; }
11
11
  });
12
12
  Object.defineProperty(exports, "ToastContainer", {
13
13
  enumerable: true,
14
- get: function () { return chunk6ACKL3WH_cjs.ToastContainer; }
14
+ get: function () { return chunkZKE73UQF_cjs.ToastContainer; }
15
15
  });
16
16
  Object.defineProperty(exports, "message", {
17
17
  enumerable: true,
18
- get: function () { return chunk6ACKL3WH_cjs.message; }
18
+ get: function () { return chunkZKE73UQF_cjs.message; }
19
19
  });
20
20
  Object.defineProperty(exports, "toast", {
21
21
  enumerable: true,
22
- get: function () { return chunk6ACKL3WH_cjs.toast; }
22
+ get: function () { return chunkZKE73UQF_cjs.toast; }
23
23
  });
package/dist/Message.js CHANGED
@@ -1,2 +1,2 @@
1
- export { MessageContainer, ToastContainer, message, toast } from './chunk-ON4DEDMI.js';
2
- import './chunk-OF3SGLZY.js';
1
+ export { MessageContainer, ToastContainer, message, toast } from './chunk-K5IGFBDR.js';
2
+ import './chunk-47VG2P34.js';
package/dist/Modal.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkHPFQXYKG_cjs = require('./chunk-HPFQXYKG.cjs');
4
- require('./chunk-5WAXZJG5.cjs');
5
- require('./chunk-TJII7BQ2.cjs');
3
+ var chunkH4LGWZMH_cjs = require('./chunk-H4LGWZMH.cjs');
4
+ require('./chunk-TP567B3L.cjs');
5
+ require('./chunk-V272XR3F.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Modal", {
10
10
  enumerable: true,
11
- get: function () { return chunkHPFQXYKG_cjs.Modal; }
11
+ get: function () { return chunkH4LGWZMH_cjs.Modal; }
12
12
  });
package/dist/Modal.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from './Button.cjs';
3
3
  import './Icon.cjs';
4
+ import 'react/jsx-runtime';
4
5
 
5
6
  interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose"> {
6
7
  /** Whether the modal is visible. */
package/dist/Modal.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from './Button.js';
3
3
  import './Icon.js';
4
+ import 'react/jsx-runtime';
4
5
 
5
6
  interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose"> {
6
7
  /** Whether the modal is visible. */
package/dist/Modal.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Modal } from './chunk-CEJ7VBR6.js';
2
- import './chunk-JD7A6VM3.js';
3
- import './chunk-OF3SGLZY.js';
1
+ export { Modal } from './chunk-7IYKKLV3.js';
2
+ import './chunk-SQGPSMSK.js';
3
+ import './chunk-47VG2P34.js';
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkCUXV6QNN_cjs = require('./chunk-CUXV6QNN.cjs');
4
- require('./chunk-OYMJVU66.cjs');
5
- require('./chunk-ZIP7F4UF.cjs');
3
+ var chunkP6EZG2R7_cjs = require('./chunk-P6EZG2R7.cjs');
4
+ require('./chunk-X5GCOMC3.cjs');
5
+ require('./chunk-5DKRY67M.cjs');
6
6
  require('./chunk-YB3IWIOJ.cjs');
7
- require('./chunk-6LZ54NPO.cjs');
8
- require('./chunk-OQBDU5I2.cjs');
9
- require('./chunk-TJII7BQ2.cjs');
7
+ require('./chunk-HKF2V5MM.cjs');
8
+ require('./chunk-MPVCYU2K.cjs');
9
+ require('./chunk-V272XR3F.cjs');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "Pagination", {
14
14
  enumerable: true,
15
- get: function () { return chunkCUXV6QNN_cjs.Pagination; }
15
+ get: function () { return chunkP6EZG2R7_cjs.Pagination; }
16
16
  });
@@ -1,7 +1,7 @@
1
- export { Pagination } from './chunk-7NGMQIST.js';
2
- import './chunk-WKKSAGYH.js';
3
- import './chunk-DQTSTJ6O.js';
1
+ export { Pagination } from './chunk-CETNCRZ4.js';
2
+ import './chunk-FBYUZOZP.js';
3
+ import './chunk-5H5YP2TB.js';
4
4
  import './chunk-DUFRASGO.js';
5
- import './chunk-XTIN5545.js';
6
- import './chunk-WGZ2KJTZ.js';
7
- import './chunk-OF3SGLZY.js';
5
+ import './chunk-UKS23N3L.js';
6
+ import './chunk-HLFH5HWR.js';
7
+ import './chunk-47VG2P34.js';
@@ -33,11 +33,36 @@
33
33
  flex: 1;
34
34
  min-width: 0;
35
35
  }
36
- .select-value > span {
36
+ .select-value-label {
37
37
  white-space: nowrap;
38
38
  overflow: hidden;
39
39
  text-overflow: ellipsis;
40
40
  }
41
+ .select-icon,
42
+ .menu-item-icon {
43
+ display: inline-flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ line-height: 0;
47
+ flex-shrink: 0;
48
+ }
49
+ .select-icon img,
50
+ .menu-item-icon img {
51
+ display: block;
52
+ width: 16px;
53
+ height: 16px;
54
+ object-fit: contain;
55
+ }
56
+ .select.sm .select-icon img,
57
+ .select.sm .menu-item-icon img {
58
+ width: 14px;
59
+ height: 14px;
60
+ }
61
+ .select.lg .select-icon img,
62
+ .select.lg .menu-item-icon img {
63
+ width: 18px;
64
+ height: 18px;
65
+ }
41
66
  .select.invalid .select-trigger {
42
67
  box-shadow: var(--neu-out-sm), 0 0 0 2px color-mix(in oklch, var(--danger) 30%, transparent);
43
68
  }
package/dist/Select.cjs CHANGED
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkOYMJVU66_cjs = require('./chunk-OYMJVU66.cjs');
4
- require('./chunk-ZIP7F4UF.cjs');
3
+ var chunkX5GCOMC3_cjs = require('./chunk-X5GCOMC3.cjs');
4
+ require('./chunk-5DKRY67M.cjs');
5
5
  require('./chunk-YB3IWIOJ.cjs');
6
- require('./chunk-6LZ54NPO.cjs');
7
- require('./chunk-OQBDU5I2.cjs');
8
- require('./chunk-TJII7BQ2.cjs');
6
+ require('./chunk-HKF2V5MM.cjs');
7
+ require('./chunk-MPVCYU2K.cjs');
8
+ require('./chunk-V272XR3F.cjs');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "Select", {
13
13
  enumerable: true,
14
- get: function () { return chunkOYMJVU66_cjs.Select; }
14
+ get: function () { return chunkX5GCOMC3_cjs.Select; }
15
15
  });
package/dist/Select.d.cts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconName } from './Icon.cjs';
2
+ import { IconSlot } from './Icon.cjs';
3
+ import 'react/jsx-runtime';
3
4
 
4
5
  interface SelectOption<T extends string | number = string> {
5
6
  value: T;
@@ -8,8 +9,8 @@ interface SelectOption<T extends string | number = string> {
8
9
  text?: string;
9
10
  /** Secondary line shown beneath the label. */
10
11
  description?: React.ReactNode;
11
- /** Leading icon. */
12
- icon?: IconName;
12
+ /** Leading icon. Accepts a built-in icon name or custom React node. */
13
+ icon?: IconSlot;
13
14
  disabled?: boolean;
14
15
  }
15
16
  interface SelectOptionGroup<T extends string | number = string> {
package/dist/Select.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconName } from './Icon.js';
2
+ import { IconSlot } from './Icon.js';
3
+ import 'react/jsx-runtime';
3
4
 
4
5
  interface SelectOption<T extends string | number = string> {
5
6
  value: T;
@@ -8,8 +9,8 @@ interface SelectOption<T extends string | number = string> {
8
9
  text?: string;
9
10
  /** Secondary line shown beneath the label. */
10
11
  description?: React.ReactNode;
11
- /** Leading icon. */
12
- icon?: IconName;
12
+ /** Leading icon. Accepts a built-in icon name or custom React node. */
13
+ icon?: IconSlot;
13
14
  disabled?: boolean;
14
15
  }
15
16
  interface SelectOptionGroup<T extends string | number = string> {
package/dist/Select.js CHANGED
@@ -1,6 +1,6 @@
1
- export { Select } from './chunk-WKKSAGYH.js';
2
- import './chunk-DQTSTJ6O.js';
1
+ export { Select } from './chunk-FBYUZOZP.js';
2
+ import './chunk-5H5YP2TB.js';
3
3
  import './chunk-DUFRASGO.js';
4
- import './chunk-XTIN5545.js';
5
- import './chunk-WGZ2KJTZ.js';
6
- import './chunk-OF3SGLZY.js';
4
+ import './chunk-UKS23N3L.js';
5
+ import './chunk-HLFH5HWR.js';
6
+ import './chunk-47VG2P34.js';
package/dist/Table.cjs CHANGED
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunk3AS5B7MQ_cjs = require('./chunk-3AS5B7MQ.cjs');
4
- require('./chunk-CUXV6QNN.cjs');
5
- require('./chunk-OYMJVU66.cjs');
6
- require('./chunk-ZIP7F4UF.cjs');
7
- require('./chunk-FBVVRTX2.cjs');
3
+ var chunkXSN4TLN5_cjs = require('./chunk-XSN4TLN5.cjs');
4
+ require('./chunk-P6EZG2R7.cjs');
5
+ require('./chunk-X5GCOMC3.cjs');
6
+ require('./chunk-5DKRY67M.cjs');
7
+ require('./chunk-6HMTV6P4.cjs');
8
8
  require('./chunk-YB3IWIOJ.cjs');
9
- require('./chunk-6LZ54NPO.cjs');
10
- require('./chunk-OQBDU5I2.cjs');
11
- require('./chunk-TJII7BQ2.cjs');
9
+ require('./chunk-HKF2V5MM.cjs');
10
+ require('./chunk-MPVCYU2K.cjs');
11
+ require('./chunk-V272XR3F.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "Table", {
16
16
  enumerable: true,
17
- get: function () { return chunk3AS5B7MQ_cjs.Table; }
17
+ get: function () { return chunkXSN4TLN5_cjs.Table; }
18
18
  });
package/dist/Table.js CHANGED
@@ -1,9 +1,9 @@
1
- export { Table } from './chunk-AWXCSX6J.js';
2
- import './chunk-7NGMQIST.js';
3
- import './chunk-WKKSAGYH.js';
4
- import './chunk-DQTSTJ6O.js';
5
- import './chunk-EQEJTN3V.js';
1
+ export { Table } from './chunk-BPOOVO5T.js';
2
+ import './chunk-CETNCRZ4.js';
3
+ import './chunk-FBYUZOZP.js';
4
+ import './chunk-5H5YP2TB.js';
5
+ import './chunk-GIZU3H6H.js';
6
6
  import './chunk-DUFRASGO.js';
7
- import './chunk-XTIN5545.js';
8
- import './chunk-WGZ2KJTZ.js';
9
- import './chunk-OF3SGLZY.js';
7
+ import './chunk-UKS23N3L.js';
8
+ import './chunk-HLFH5HWR.js';
9
+ import './chunk-47VG2P34.js';
package/dist/TablePro.cjs CHANGED
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkK2KYM7LW_cjs = require('./chunk-K2KYM7LW.cjs');
4
- require('./chunk-3AS5B7MQ.cjs');
5
- require('./chunk-CUXV6QNN.cjs');
6
- require('./chunk-OYMJVU66.cjs');
7
- require('./chunk-ZIP7F4UF.cjs');
8
- require('./chunk-FBVVRTX2.cjs');
3
+ var chunkDG5VQ6BO_cjs = require('./chunk-DG5VQ6BO.cjs');
4
+ require('./chunk-XSN4TLN5.cjs');
5
+ require('./chunk-P6EZG2R7.cjs');
6
+ require('./chunk-X5GCOMC3.cjs');
7
+ require('./chunk-5DKRY67M.cjs');
8
+ require('./chunk-6HMTV6P4.cjs');
9
9
  require('./chunk-YB3IWIOJ.cjs');
10
- require('./chunk-6LZ54NPO.cjs');
11
- require('./chunk-OQBDU5I2.cjs');
12
- require('./chunk-TJII7BQ2.cjs');
10
+ require('./chunk-HKF2V5MM.cjs');
11
+ require('./chunk-MPVCYU2K.cjs');
12
+ require('./chunk-V272XR3F.cjs');
13
13
 
14
14
 
15
15
 
16
16
  Object.defineProperty(exports, "TablePro", {
17
17
  enumerable: true,
18
- get: function () { return chunkK2KYM7LW_cjs.TablePro; }
18
+ get: function () { return chunkDG5VQ6BO_cjs.TablePro; }
19
19
  });
package/dist/TablePro.js CHANGED
@@ -1,10 +1,10 @@
1
- export { TablePro } from './chunk-MUXP7ASL.js';
2
- import './chunk-AWXCSX6J.js';
3
- import './chunk-7NGMQIST.js';
4
- import './chunk-WKKSAGYH.js';
5
- import './chunk-DQTSTJ6O.js';
6
- import './chunk-EQEJTN3V.js';
1
+ export { TablePro } from './chunk-J2HZTJO6.js';
2
+ import './chunk-BPOOVO5T.js';
3
+ import './chunk-CETNCRZ4.js';
4
+ import './chunk-FBYUZOZP.js';
5
+ import './chunk-5H5YP2TB.js';
6
+ import './chunk-GIZU3H6H.js';
7
7
  import './chunk-DUFRASGO.js';
8
- import './chunk-XTIN5545.js';
9
- import './chunk-WGZ2KJTZ.js';
10
- import './chunk-OF3SGLZY.js';
8
+ import './chunk-UKS23N3L.js';
9
+ import './chunk-HLFH5HWR.js';
10
+ import './chunk-47VG2P34.js';
@@ -24,6 +24,19 @@
24
24
  .tag.solid.danger { background: var(--danger); color: var(--bg); box-shadow: 0 2px 6px color-mix(in oklch, var(--danger) 35%, transparent); }
25
25
  .tag.borderless { background: transparent; box-shadow: none; }
26
26
  .tag .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
27
- .tag .tag-ico { color: currentColor; display: inline-flex; }
27
+ .tag .tag-ico {
28
+ color: currentColor;
29
+ display: inline-flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ line-height: 0;
33
+ flex-shrink: 0;
34
+ }
35
+ .tag .tag-ico img {
36
+ display: block;
37
+ width: 1em;
38
+ height: 1em;
39
+ object-fit: contain;
40
+ }
28
41
  .tag .x { cursor: pointer; color: var(--fg-subtle); margin-left: 2px; display: inline-flex; }
29
42
  .tag .x:hover { color: var(--fg); }
package/dist/Tag.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkZIP7F4UF_cjs = require('./chunk-ZIP7F4UF.cjs');
4
- require('./chunk-TJII7BQ2.cjs');
3
+ var chunk5DKRY67M_cjs = require('./chunk-5DKRY67M.cjs');
4
+ require('./chunk-V272XR3F.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Tag", {
9
9
  enumerable: true,
10
- get: function () { return chunkZIP7F4UF_cjs.Tag; }
10
+ get: function () { return chunk5DKRY67M_cjs.Tag; }
11
11
  });
package/dist/Tag.d.cts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconName } from './Icon.cjs';
2
+ import { IconSlot } from './Icon.cjs';
3
+ import 'react/jsx-runtime';
3
4
 
4
5
  type TagTone = "neutral" | "accent" | "info" | "success" | "warning" | "danger";
5
6
  interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
@@ -7,8 +8,8 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
7
8
  solid?: boolean;
8
9
  /** Render a leading colored dot. */
9
10
  dot?: boolean;
10
- /** Leading icon (uses the built-in `Icon` component). */
11
- icon?: IconName;
11
+ /** Leading icon. Accepts a built-in icon name or custom React node. */
12
+ icon?: IconSlot;
12
13
  /** Show a close button. */
13
14
  removable?: boolean;
14
15
  onRemove?: () => void;
package/dist/Tag.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconName } from './Icon.js';
2
+ import { IconSlot } from './Icon.js';
3
+ import 'react/jsx-runtime';
3
4
 
4
5
  type TagTone = "neutral" | "accent" | "info" | "success" | "warning" | "danger";
5
6
  interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
@@ -7,8 +8,8 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
7
8
  solid?: boolean;
8
9
  /** Render a leading colored dot. */
9
10
  dot?: boolean;
10
- /** Leading icon (uses the built-in `Icon` component). */
11
- icon?: IconName;
11
+ /** Leading icon. Accepts a built-in icon name or custom React node. */
12
+ icon?: IconSlot;
12
13
  /** Show a close button. */
13
14
  removable?: boolean;
14
15
  onRemove?: () => void;
package/dist/Tag.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Tag } from './chunk-DQTSTJ6O.js';
2
- import './chunk-OF3SGLZY.js';
1
+ export { Tag } from './chunk-5H5YP2TB.js';
2
+ import './chunk-47VG2P34.js';
package/dist/Textarea.cjs CHANGED
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkOQBDU5I2_cjs = require('./chunk-OQBDU5I2.cjs');
4
- require('./chunk-TJII7BQ2.cjs');
3
+ var chunkMPVCYU2K_cjs = require('./chunk-MPVCYU2K.cjs');
4
+ require('./chunk-V272XR3F.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "TextArea", {
9
9
  enumerable: true,
10
- get: function () { return chunkOQBDU5I2_cjs.TextArea; }
10
+ get: function () { return chunkMPVCYU2K_cjs.TextArea; }
11
11
  });
12
12
  Object.defineProperty(exports, "Textarea", {
13
13
  enumerable: true,
14
- get: function () { return chunkOQBDU5I2_cjs.Textarea; }
14
+ get: function () { return chunkMPVCYU2K_cjs.Textarea; }
15
15
  });
package/dist/Textarea.js CHANGED
@@ -1,2 +1,2 @@
1
- export { TextArea, Textarea } from './chunk-WGZ2KJTZ.js';
2
- import './chunk-OF3SGLZY.js';
1
+ export { TextArea, Textarea } from './chunk-HLFH5HWR.js';
2
+ import './chunk-47VG2P34.js';
package/dist/Theme.cjs CHANGED
@@ -1,42 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkRF2EY5JS_cjs = require('./chunk-RF2EY5JS.cjs');
3
+ var chunk6ZXQJRAT_cjs = require('./chunk-6ZXQJRAT.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ACCENT_PRESETS", {
8
8
  enumerable: true,
9
- get: function () { return chunkRF2EY5JS_cjs.ACCENT_PRESETS; }
9
+ get: function () { return chunk6ZXQJRAT_cjs.ACCENT_PRESETS; }
10
10
  });
11
11
  Object.defineProperty(exports, "ACCENT_PRESETS_DARK", {
12
12
  enumerable: true,
13
- get: function () { return chunkRF2EY5JS_cjs.ACCENT_PRESETS_DARK; }
13
+ get: function () { return chunk6ZXQJRAT_cjs.ACCENT_PRESETS_DARK; }
14
14
  });
15
15
  Object.defineProperty(exports, "FONT_STACKS", {
16
16
  enumerable: true,
17
- get: function () { return chunkRF2EY5JS_cjs.FONT_STACKS; }
17
+ get: function () { return chunk6ZXQJRAT_cjs.FONT_STACKS; }
18
18
  });
19
19
  Object.defineProperty(exports, "ThemeProvider", {
20
20
  enumerable: true,
21
- get: function () { return chunkRF2EY5JS_cjs.ThemeProvider; }
21
+ get: function () { return chunk6ZXQJRAT_cjs.ThemeProvider; }
22
22
  });
23
23
  Object.defineProperty(exports, "applyTheme", {
24
24
  enumerable: true,
25
- get: function () { return chunkRF2EY5JS_cjs.applyTheme; }
25
+ get: function () { return chunk6ZXQJRAT_cjs.applyTheme; }
26
26
  });
27
27
  Object.defineProperty(exports, "normalizeAccentInput", {
28
28
  enumerable: true,
29
- get: function () { return chunkRF2EY5JS_cjs.normalizeAccentInput; }
29
+ get: function () { return chunk6ZXQJRAT_cjs.normalizeAccentInput; }
30
+ });
31
+ Object.defineProperty(exports, "resolveThemeColorScheme", {
32
+ enumerable: true,
33
+ get: function () { return chunk6ZXQJRAT_cjs.resolveThemeColorScheme; }
30
34
  });
31
35
  Object.defineProperty(exports, "resolveThemeMode", {
32
36
  enumerable: true,
33
- get: function () { return chunkRF2EY5JS_cjs.resolveThemeMode; }
37
+ get: function () { return chunk6ZXQJRAT_cjs.resolveThemeMode; }
34
38
  });
35
39
  Object.defineProperty(exports, "useTheme", {
36
40
  enumerable: true,
37
- get: function () { return chunkRF2EY5JS_cjs.useTheme; }
41
+ get: function () { return chunk6ZXQJRAT_cjs.useTheme; }
38
42
  });
39
43
  Object.defineProperty(exports, "useThemeOptional", {
40
44
  enumerable: true,
41
- get: function () { return chunkRF2EY5JS_cjs.useThemeOptional; }
45
+ get: function () { return chunk6ZXQJRAT_cjs.useThemeOptional; }
42
46
  });