@fangxinyan/lumina 0.5.0 → 0.5.1

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 (184) hide show
  1. package/dist/Accordion.cjs +3 -3
  2. package/dist/Accordion.js +2 -2
  3. package/dist/Alert.cjs +3 -3
  4. package/dist/Alert.js +2 -2
  5. package/dist/AutoComplete.cjs +5 -5
  6. package/dist/AutoComplete.js +4 -4
  7. package/dist/Button.cjs +4 -4
  8. package/dist/Button.js +2 -2
  9. package/dist/Calendar.cjs +3 -3
  10. package/dist/Calendar.js +2 -2
  11. package/dist/Cascader.cjs +4 -4
  12. package/dist/Cascader.js +3 -3
  13. package/dist/Checkbox.cjs +4 -4
  14. package/dist/Checkbox.js +2 -2
  15. package/dist/ColorPicker.cjs +3 -3
  16. package/dist/ColorPicker.js +2 -2
  17. package/dist/CommandPalette.cjs +4 -4
  18. package/dist/CommandPalette.js +3 -3
  19. package/dist/Drawer.cjs +3 -3
  20. package/dist/Drawer.js +2 -2
  21. package/dist/Icon.cjs +3 -3
  22. package/dist/Icon.d.cts +1 -1
  23. package/dist/Icon.d.ts +1 -1
  24. package/dist/Icon.js +1 -1
  25. package/dist/Image.cjs +4 -4
  26. package/dist/Image.js +2 -2
  27. package/dist/Input.cjs +4 -4
  28. package/dist/Input.js +2 -2
  29. package/dist/InputNumber.cjs +4 -4
  30. package/dist/InputNumber.js +3 -3
  31. package/dist/Modal.cjs +4 -4
  32. package/dist/Modal.js +3 -3
  33. package/dist/Pagination.cjs +6 -6
  34. package/dist/Pagination.js +5 -5
  35. package/dist/Popover-DVGQGWX6.css +103 -0
  36. package/dist/Popover.cjs +3 -3
  37. package/dist/Popover.d.cts +23 -1
  38. package/dist/Popover.d.ts +23 -1
  39. package/dist/Popover.js +2 -2
  40. package/dist/Select.cjs +5 -5
  41. package/dist/Select.js +4 -4
  42. package/dist/Table.cjs +9 -9
  43. package/dist/Table.js +7 -7
  44. package/dist/Tag.cjs +4 -4
  45. package/dist/Tag.js +2 -2
  46. package/dist/Timeline-RHZAZKZ7.css +136 -0
  47. package/dist/Timeline.cjs +13 -0
  48. package/dist/Timeline.cjs.map +1 -0
  49. package/dist/Timeline.d.cts +38 -0
  50. package/dist/Timeline.d.ts +38 -0
  51. package/dist/Timeline.js +4 -0
  52. package/dist/Timeline.js.map +1 -0
  53. package/dist/{Toast-6PVSAXQ5.css → Toast-YSACW3EM.css} +2 -2
  54. package/dist/Toast.cjs +4 -4
  55. package/dist/Toast.js +2 -2
  56. package/dist/{Tooltip-ST24GY4S.css → Tooltip-DMKUPC24.css} +1 -0
  57. package/dist/Tooltip.cjs +3 -3
  58. package/dist/Tooltip.js +2 -2
  59. package/dist/Typography.cjs +7 -7
  60. package/dist/Typography.js +2 -2
  61. package/dist/{chunk-BCPAY65C.cjs → chunk-2D5VCIJZ.cjs} +7 -7
  62. package/dist/{chunk-BCPAY65C.cjs.map → chunk-2D5VCIJZ.cjs.map} +1 -1
  63. package/dist/{chunk-LLNEDEST.cjs → chunk-2OBQOEFD.cjs} +4 -4
  64. package/dist/{chunk-LLNEDEST.cjs.map → chunk-2OBQOEFD.cjs.map} +1 -1
  65. package/dist/{chunk-N73JGXYZ.cjs → chunk-3ES5QPAF.cjs} +4 -4
  66. package/dist/{chunk-N73JGXYZ.cjs.map → chunk-3ES5QPAF.cjs.map} +1 -1
  67. package/dist/{chunk-YCHUHMNP.cjs → chunk-3KQKEE5O.cjs} +5 -4
  68. package/dist/chunk-3KQKEE5O.cjs.map +1 -0
  69. package/dist/{chunk-RZ2E3XEU.cjs → chunk-3XIDJEYR.cjs} +21 -6
  70. package/dist/chunk-3XIDJEYR.cjs.map +1 -0
  71. package/dist/{chunk-IOWREUEP.js → chunk-3YYOYDKI.js} +4 -4
  72. package/dist/{chunk-IOWREUEP.js.map → chunk-3YYOYDKI.js.map} +1 -1
  73. package/dist/{chunk-PKXXR76Q.js → chunk-4ADDAZK3.js} +3 -3
  74. package/dist/{chunk-PKXXR76Q.js.map → chunk-4ADDAZK3.js.map} +1 -1
  75. package/dist/{chunk-TZLM5GF4.js → chunk-5SJJI3HL.js} +4 -4
  76. package/dist/{chunk-TZLM5GF4.js.map → chunk-5SJJI3HL.js.map} +1 -1
  77. package/dist/{chunk-2ENTRT7R.cjs → chunk-AJEF2ZB7.cjs} +16 -6
  78. package/dist/chunk-AJEF2ZB7.cjs.map +1 -0
  79. package/dist/{chunk-V2DIQ3RH.js → chunk-ANAQER3T.js} +21 -6
  80. package/dist/chunk-ANAQER3T.js.map +1 -0
  81. package/dist/{chunk-FXQGPHK2.js → chunk-AZRJZM7W.js} +3 -3
  82. package/dist/{chunk-FXQGPHK2.js.map → chunk-AZRJZM7W.js.map} +1 -1
  83. package/dist/{chunk-3BZ47QNV.cjs → chunk-BIXW4ZYW.cjs} +7 -7
  84. package/dist/{chunk-3BZ47QNV.cjs.map → chunk-BIXW4ZYW.cjs.map} +1 -1
  85. package/dist/{chunk-IJA26LRY.cjs → chunk-BPDWBY6Y.cjs} +4 -4
  86. package/dist/{chunk-IJA26LRY.cjs.map → chunk-BPDWBY6Y.cjs.map} +1 -1
  87. package/dist/{chunk-77TZHI76.cjs → chunk-D26YHP2Y.cjs} +7 -7
  88. package/dist/{chunk-77TZHI76.cjs.map → chunk-D26YHP2Y.cjs.map} +1 -1
  89. package/dist/{chunk-T4PI2ZX7.cjs → chunk-D3GZSL2B.cjs} +16 -17
  90. package/dist/chunk-D3GZSL2B.cjs.map +1 -0
  91. package/dist/{chunk-VQBZKRIB.cjs → chunk-DF5K2BZ2.cjs} +6 -6
  92. package/dist/{chunk-VQBZKRIB.cjs.map → chunk-DF5K2BZ2.cjs.map} +1 -1
  93. package/dist/{chunk-7M7NAMR5.js → chunk-DLGFIRVW.js} +14 -4
  94. package/dist/chunk-DLGFIRVW.js.map +1 -0
  95. package/dist/{chunk-6Z24VO3K.js → chunk-E7UQSFKF.js} +3 -3
  96. package/dist/{chunk-6Z24VO3K.js.map → chunk-E7UQSFKF.js.map} +1 -1
  97. package/dist/{chunk-KW7Z4IQC.js → chunk-FLPHVK45.js} +3 -3
  98. package/dist/{chunk-KW7Z4IQC.js.map → chunk-FLPHVK45.js.map} +1 -1
  99. package/dist/{chunk-WUOFJPZ4.js → chunk-GB5NAXBP.js} +3 -3
  100. package/dist/{chunk-WUOFJPZ4.js.map → chunk-GB5NAXBP.js.map} +1 -1
  101. package/dist/{chunk-SMHXSEBD.cjs → chunk-GT45MQAK.cjs} +7 -7
  102. package/dist/{chunk-SMHXSEBD.cjs.map → chunk-GT45MQAK.cjs.map} +1 -1
  103. package/dist/{chunk-TZXEZFCI.cjs → chunk-H2QTLV5T.cjs} +5 -5
  104. package/dist/{chunk-TZXEZFCI.cjs.map → chunk-H2QTLV5T.cjs.map} +1 -1
  105. package/dist/{chunk-FFZLSY2N.js → chunk-HHPYY4LH.js} +4 -4
  106. package/dist/{chunk-FFZLSY2N.js.map → chunk-HHPYY4LH.js.map} +1 -1
  107. package/dist/{chunk-XYVJ3FBQ.cjs → chunk-I7UJA6RM.cjs} +5 -5
  108. package/dist/{chunk-XYVJ3FBQ.cjs.map → chunk-I7UJA6RM.cjs.map} +1 -1
  109. package/dist/{chunk-YFBHVTKN.cjs → chunk-IJIQ4H6C.cjs} +7 -7
  110. package/dist/{chunk-YFBHVTKN.cjs.map → chunk-IJIQ4H6C.cjs.map} +1 -1
  111. package/dist/{chunk-LXNR6TQK.js → chunk-ILVNMES2.js} +3 -3
  112. package/dist/{chunk-LXNR6TQK.js.map → chunk-ILVNMES2.js.map} +1 -1
  113. package/dist/{chunk-JXHMJUVI.js → chunk-JELHUUM5.js} +3 -3
  114. package/dist/{chunk-JXHMJUVI.js.map → chunk-JELHUUM5.js.map} +1 -1
  115. package/dist/{chunk-CTYW42GG.js → chunk-JQZFOIX6.js} +6 -6
  116. package/dist/{chunk-CTYW42GG.js.map → chunk-JQZFOIX6.js.map} +1 -1
  117. package/dist/{chunk-I7WLFADD.js → chunk-LWN2PXW7.js} +3 -3
  118. package/dist/{chunk-I7WLFADD.js.map → chunk-LWN2PXW7.js.map} +1 -1
  119. package/dist/{chunk-I2HHC6QW.js → chunk-N5W6XJI2.js} +3 -3
  120. package/dist/{chunk-I2HHC6QW.js.map → chunk-N5W6XJI2.js.map} +1 -1
  121. package/dist/chunk-P2AV5BD7.cjs +137 -0
  122. package/dist/chunk-P2AV5BD7.cjs.map +1 -0
  123. package/dist/{chunk-ZFJHUOFU.js → chunk-P4XPESR2.js} +4 -4
  124. package/dist/{chunk-ZFJHUOFU.js.map → chunk-P4XPESR2.js.map} +1 -1
  125. package/dist/{chunk-AESLEYST.js → chunk-RJNGXR5Y.js} +4 -4
  126. package/dist/{chunk-AESLEYST.js.map → chunk-RJNGXR5Y.js.map} +1 -1
  127. package/dist/chunk-S3NIRNWM.js +86 -0
  128. package/dist/chunk-S3NIRNWM.js.map +1 -0
  129. package/dist/{chunk-HJIKU6MF.cjs → chunk-S7RFIMA3.cjs} +4 -4
  130. package/dist/{chunk-HJIKU6MF.cjs.map → chunk-S7RFIMA3.cjs.map} +1 -1
  131. package/dist/chunk-TAYFI4RG.cjs +108 -0
  132. package/dist/chunk-TAYFI4RG.cjs.map +1 -0
  133. package/dist/{chunk-OZVPJWXO.cjs → chunk-TCPTBLDV.cjs} +5 -5
  134. package/dist/{chunk-OZVPJWXO.cjs.map → chunk-TCPTBLDV.cjs.map} +1 -1
  135. package/dist/{chunk-E62JFAHW.js → chunk-TGUDT3GK.js} +4 -4
  136. package/dist/{chunk-E62JFAHW.js.map → chunk-TGUDT3GK.js.map} +1 -1
  137. package/dist/{chunk-XCYE4OQV.js → chunk-TMRSI543.js} +3 -3
  138. package/dist/{chunk-XCYE4OQV.js.map → chunk-TMRSI543.js.map} +1 -1
  139. package/dist/{chunk-RWHWEQQX.cjs → chunk-U7TAQLPN.cjs} +6 -6
  140. package/dist/{chunk-RWHWEQQX.cjs.map → chunk-U7TAQLPN.cjs.map} +1 -1
  141. package/dist/chunk-UEHONGPZ.js +115 -0
  142. package/dist/chunk-UEHONGPZ.js.map +1 -0
  143. package/dist/{chunk-NN7WMXY4.cjs → chunk-UUY7EDVJ.cjs} +4 -4
  144. package/dist/{chunk-NN7WMXY4.cjs.map → chunk-UUY7EDVJ.cjs.map} +1 -1
  145. package/dist/{chunk-OM76QWUN.js → chunk-UXABXEWT.js} +3 -3
  146. package/dist/{chunk-OM76QWUN.js.map → chunk-UXABXEWT.js.map} +1 -1
  147. package/dist/{chunk-MDQNUKCP.cjs → chunk-V6466VMN.cjs} +14 -14
  148. package/dist/{chunk-MDQNUKCP.cjs.map → chunk-V6466VMN.cjs.map} +1 -1
  149. package/dist/{chunk-O7C6S644.js → chunk-WBL7LOIH.js} +3 -3
  150. package/dist/{chunk-O7C6S644.js.map → chunk-WBL7LOIH.js.map} +1 -1
  151. package/dist/{chunk-RQV7SMIZ.cjs → chunk-WKNVNN2K.cjs} +5 -5
  152. package/dist/{chunk-RQV7SMIZ.cjs.map → chunk-WKNVNN2K.cjs.map} +1 -1
  153. package/dist/{chunk-HXSAH4Y6.cjs → chunk-WR3FML2W.cjs} +7 -7
  154. package/dist/{chunk-HXSAH4Y6.cjs.map → chunk-WR3FML2W.cjs.map} +1 -1
  155. package/dist/{chunk-QOGROEVD.js → chunk-X3JG3IR6.js} +6 -5
  156. package/dist/chunk-X3JG3IR6.js.map +1 -0
  157. package/dist/{chunk-6XZ362VL.js → chunk-XT7RXXOE.js} +6 -7
  158. package/dist/chunk-XT7RXXOE.js.map +1 -0
  159. package/dist/{chunk-WVBFQB26.cjs → chunk-ZSR5JSYZ.cjs} +8 -8
  160. package/dist/{chunk-WVBFQB26.cjs.map → chunk-ZSR5JSYZ.cjs.map} +1 -1
  161. package/dist/index.cjs +65 -60
  162. package/dist/index.cjs.map +1 -1
  163. package/dist/index.d.cts +2 -1
  164. package/dist/index.d.ts +2 -1
  165. package/dist/index.js +26 -25
  166. package/dist/index.js.map +1 -1
  167. package/dist/styles.css +86 -4
  168. package/docs/llms/popover.md +138 -6
  169. package/docs/llms/timeline.md +140 -0
  170. package/docs/llms.md +3 -2
  171. package/package.json +5 -1
  172. package/dist/Popover-NYEKT5CQ.css +0 -10
  173. package/dist/chunk-2ENTRT7R.cjs.map +0 -1
  174. package/dist/chunk-3UU2PUK4.js +0 -66
  175. package/dist/chunk-3UU2PUK4.js.map +0 -1
  176. package/dist/chunk-6XZ362VL.js.map +0 -1
  177. package/dist/chunk-7M7NAMR5.js.map +0 -1
  178. package/dist/chunk-O2HMH5BI.cjs +0 -88
  179. package/dist/chunk-O2HMH5BI.cjs.map +0 -1
  180. package/dist/chunk-QOGROEVD.js.map +0 -1
  181. package/dist/chunk-RZ2E3XEU.cjs.map +0 -1
  182. package/dist/chunk-T4PI2ZX7.cjs.map +0 -1
  183. package/dist/chunk-V2DIQ3RH.js.map +0 -1
  184. package/dist/chunk-YCHUHMNP.cjs.map +0 -1
@@ -1,16 +1,38 @@
1
1
  import * as React from 'react';
2
2
 
3
3
  interface PopoverProps {
4
+ /** Popover body content. */
4
5
  content: React.ReactNode;
6
+ /** Optional title rendered above content. */
7
+ title?: React.ReactNode;
8
+ /** Preferred placement relative to the trigger. */
5
9
  placement?: "top" | "bottom" | "left" | "right";
10
+ /** How the popover is triggered. */
6
11
  trigger?: "click" | "hover";
12
+ /** Show a small arrow pointing at the trigger. */
13
+ arrow?: boolean;
14
+ /** Show a close button in the header (click trigger only). */
15
+ closable?: boolean;
16
+ /** Panel width in px, or `"auto"` to fit content. */
17
+ width?: number | "auto";
18
+ /** Uncontrolled initial open state. */
7
19
  defaultOpen?: boolean;
20
+ /** Controlled open state. */
8
21
  open?: boolean;
22
+ /** Callback when visibility changes. */
9
23
  onOpenChange?: (open: boolean) => void;
24
+ /** Trigger element. */
10
25
  children: React.ReactElement;
11
26
  className?: string;
12
27
  }
13
- /** `Popover` — rich content bubble. */
28
+ /**
29
+ * `Popover` — rich content bubble with optional title, arrow, and close button.
30
+ *
31
+ * @example
32
+ * <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
33
+ * <Button>Delete</Button>
34
+ * </Popover>
35
+ */
14
36
  declare const Popover: React.FC<PopoverProps>;
15
37
 
16
38
  export { Popover, type PopoverProps };
package/dist/Popover.d.ts CHANGED
@@ -1,16 +1,38 @@
1
1
  import * as React from 'react';
2
2
 
3
3
  interface PopoverProps {
4
+ /** Popover body content. */
4
5
  content: React.ReactNode;
6
+ /** Optional title rendered above content. */
7
+ title?: React.ReactNode;
8
+ /** Preferred placement relative to the trigger. */
5
9
  placement?: "top" | "bottom" | "left" | "right";
10
+ /** How the popover is triggered. */
6
11
  trigger?: "click" | "hover";
12
+ /** Show a small arrow pointing at the trigger. */
13
+ arrow?: boolean;
14
+ /** Show a close button in the header (click trigger only). */
15
+ closable?: boolean;
16
+ /** Panel width in px, or `"auto"` to fit content. */
17
+ width?: number | "auto";
18
+ /** Uncontrolled initial open state. */
7
19
  defaultOpen?: boolean;
20
+ /** Controlled open state. */
8
21
  open?: boolean;
22
+ /** Callback when visibility changes. */
9
23
  onOpenChange?: (open: boolean) => void;
24
+ /** Trigger element. */
10
25
  children: React.ReactElement;
11
26
  className?: string;
12
27
  }
13
- /** `Popover` — rich content bubble. */
28
+ /**
29
+ * `Popover` — rich content bubble with optional title, arrow, and close button.
30
+ *
31
+ * @example
32
+ * <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
33
+ * <Button>Delete</Button>
34
+ * </Popover>
35
+ */
14
36
  declare const Popover: React.FC<PopoverProps>;
15
37
 
16
38
  export { Popover, type PopoverProps };
package/dist/Popover.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Popover } from './chunk-3UU2PUK4.js';
2
- import './chunk-V2DIQ3RH.js';
1
+ export { Popover } from './chunk-UEHONGPZ.js';
2
+ import './chunk-ANAQER3T.js';
3
3
  //# sourceMappingURL=Popover.js.map
4
4
  //# sourceMappingURL=Popover.js.map
package/dist/Select.cjs CHANGED
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkT4PI2ZX7_cjs = require('./chunk-T4PI2ZX7.cjs');
4
- require('./chunk-RQV7SMIZ.cjs');
5
- require('./chunk-RZ2E3XEU.cjs');
6
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkD3GZSL2B_cjs = require('./chunk-D3GZSL2B.cjs');
4
+ require('./chunk-WKNVNN2K.cjs');
5
+ require('./chunk-3XIDJEYR.cjs');
6
+ require('./chunk-3KQKEE5O.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "Select", {
11
11
  enumerable: true,
12
- get: function () { return chunkT4PI2ZX7_cjs.Select; }
12
+ get: function () { return chunkD3GZSL2B_cjs.Select; }
13
13
  });
14
14
  //# sourceMappingURL=Select.cjs.map
15
15
  //# sourceMappingURL=Select.cjs.map
package/dist/Select.js CHANGED
@@ -1,6 +1,6 @@
1
- export { Select } from './chunk-6XZ362VL.js';
2
- import './chunk-LXNR6TQK.js';
3
- import './chunk-V2DIQ3RH.js';
4
- import './chunk-QOGROEVD.js';
1
+ export { Select } from './chunk-XT7RXXOE.js';
2
+ import './chunk-ILVNMES2.js';
3
+ import './chunk-ANAQER3T.js';
4
+ import './chunk-X3JG3IR6.js';
5
5
  //# sourceMappingURL=Select.js.map
6
6
  //# sourceMappingURL=Select.js.map
package/dist/Table.cjs CHANGED
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkMDQNUKCP_cjs = require('./chunk-MDQNUKCP.cjs');
4
- require('./chunk-77TZHI76.cjs');
5
- require('./chunk-T4PI2ZX7.cjs');
6
- require('./chunk-RQV7SMIZ.cjs');
7
- require('./chunk-NN7WMXY4.cjs');
8
- require('./chunk-RZ2E3XEU.cjs');
9
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkV6466VMN_cjs = require('./chunk-V6466VMN.cjs');
4
+ require('./chunk-D26YHP2Y.cjs');
5
+ require('./chunk-D3GZSL2B.cjs');
6
+ require('./chunk-WKNVNN2K.cjs');
7
+ require('./chunk-UUY7EDVJ.cjs');
8
+ require('./chunk-3XIDJEYR.cjs');
9
+ require('./chunk-3KQKEE5O.cjs');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "Table", {
14
14
  enumerable: true,
15
- get: function () { return chunkMDQNUKCP_cjs.Table; }
15
+ get: function () { return chunkV6466VMN_cjs.Table; }
16
16
  });
17
17
  Object.defineProperty(exports, "TablePro", {
18
18
  enumerable: true,
19
- get: function () { return chunkMDQNUKCP_cjs.TablePro; }
19
+ get: function () { return chunkV6466VMN_cjs.TablePro; }
20
20
  });
21
21
  //# sourceMappingURL=Table.cjs.map
22
22
  //# sourceMappingURL=Table.cjs.map
package/dist/Table.js CHANGED
@@ -1,9 +1,9 @@
1
- export { Table, TablePro } from './chunk-CTYW42GG.js';
2
- import './chunk-AESLEYST.js';
3
- import './chunk-6XZ362VL.js';
4
- import './chunk-LXNR6TQK.js';
5
- import './chunk-PKXXR76Q.js';
6
- import './chunk-V2DIQ3RH.js';
7
- import './chunk-QOGROEVD.js';
1
+ export { Table, TablePro } from './chunk-JQZFOIX6.js';
2
+ import './chunk-RJNGXR5Y.js';
3
+ import './chunk-XT7RXXOE.js';
4
+ import './chunk-ILVNMES2.js';
5
+ import './chunk-4ADDAZK3.js';
6
+ import './chunk-ANAQER3T.js';
7
+ import './chunk-X3JG3IR6.js';
8
8
  //# sourceMappingURL=Table.js.map
9
9
  //# sourceMappingURL=Table.js.map
package/dist/Tag.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkRQV7SMIZ_cjs = require('./chunk-RQV7SMIZ.cjs');
4
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkWKNVNN2K_cjs = require('./chunk-WKNVNN2K.cjs');
4
+ require('./chunk-3KQKEE5O.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Badge", {
9
9
  enumerable: true,
10
- get: function () { return chunkRQV7SMIZ_cjs.Badge; }
10
+ get: function () { return chunkWKNVNN2K_cjs.Badge; }
11
11
  });
12
12
  Object.defineProperty(exports, "Tag", {
13
13
  enumerable: true,
14
- get: function () { return chunkRQV7SMIZ_cjs.Tag; }
14
+ get: function () { return chunkWKNVNN2K_cjs.Tag; }
15
15
  });
16
16
  //# sourceMappingURL=Tag.cjs.map
17
17
  //# sourceMappingURL=Tag.cjs.map
package/dist/Tag.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Badge, Tag } from './chunk-LXNR6TQK.js';
2
- import './chunk-QOGROEVD.js';
1
+ export { Badge, Tag } from './chunk-ILVNMES2.js';
2
+ import './chunk-X3JG3IR6.js';
3
3
  //# sourceMappingURL=Tag.js.map
4
4
  //# sourceMappingURL=Tag.js.map
@@ -0,0 +1,136 @@
1
+ .timeline {
2
+ display: flex;
3
+ flex-direction: column;
4
+ font-size: 14px;
5
+ color: var(--fg);
6
+ }
7
+
8
+ /* ---- Item layout ---- */
9
+ .timeline-item {
10
+ display: grid;
11
+ grid-template-columns: 1fr auto 1fr;
12
+ gap: 0 var(--gap-3);
13
+ min-height: 60px;
14
+ position: relative;
15
+ }
16
+
17
+ /* Left mode: label hidden, content on right */
18
+ .timeline-left .timeline-item-label {
19
+ display: none;
20
+ }
21
+ .timeline-left .timeline-item {
22
+ grid-template-columns: auto 1fr;
23
+ }
24
+
25
+ /* Right mode: content on left, label hidden */
26
+ .timeline-right .timeline-item-label {
27
+ display: none;
28
+ }
29
+ .timeline-right .timeline-item {
30
+ grid-template-columns: 1fr auto;
31
+ direction: rtl;
32
+ }
33
+ .timeline-right .timeline-item-content,
34
+ .timeline-right .timeline-item-head {
35
+ direction: ltr;
36
+ }
37
+
38
+ /* Alternate mode */
39
+ .timeline-alternate .timeline-item-left .timeline-item-label {
40
+ text-align: right;
41
+ color: var(--fg-muted);
42
+ }
43
+ .timeline-alternate .timeline-item-left .timeline-item-content {
44
+ text-align: left;
45
+ }
46
+ .timeline-alternate .timeline-item-right .timeline-item-label {
47
+ text-align: left;
48
+ }
49
+ .timeline-alternate .timeline-item-right .timeline-item-content {
50
+ text-align: right;
51
+ color: var(--fg-muted);
52
+ }
53
+ .timeline-alternate .timeline-item-right {
54
+ direction: rtl;
55
+ }
56
+ .timeline-alternate .timeline-item-right .timeline-item-head,
57
+ .timeline-alternate .timeline-item-right .timeline-item-content,
58
+ .timeline-alternate .timeline-item-right .timeline-item-label {
59
+ direction: ltr;
60
+ }
61
+
62
+ /* ---- Head (dot + tail) ---- */
63
+ .timeline-item-head {
64
+ display: flex;
65
+ flex-direction: column;
66
+ align-items: center;
67
+ position: relative;
68
+ }
69
+
70
+ .timeline-item-dot {
71
+ width: 12px;
72
+ height: 12px;
73
+ border-radius: var(--r-pill);
74
+ box-shadow: var(--neu-out-sm);
75
+ flex-shrink: 0;
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ position: relative;
80
+ z-index: 1;
81
+ margin-top: 4px;
82
+ }
83
+
84
+ .timeline-item-dot.accent { background: var(--accent); }
85
+ .timeline-item-dot.success { background: var(--success); }
86
+ .timeline-item-dot.warning { background: var(--warning); }
87
+ .timeline-item-dot.danger { background: var(--danger); }
88
+ .timeline-item-dot.info { background: var(--info); }
89
+ .timeline-item-dot.muted { background: var(--fg-subtle); }
90
+
91
+ /* Pending dot: clear default fill, Spinner handles its own visuals */
92
+ .timeline-item-dot.pending {
93
+ background: transparent;
94
+ box-shadow: none;
95
+ border: none;
96
+ }
97
+
98
+ .timeline-item-tail {
99
+ width: 2px;
100
+ flex: 1;
101
+ background: var(--divider);
102
+ margin-top: var(--gap-1);
103
+ margin-bottom: 0;
104
+ border-radius: 1px;
105
+ }
106
+
107
+ /* ---- Content ---- */
108
+ .timeline-item-content {
109
+ padding-bottom: var(--gap-5);
110
+ line-height: 1.6;
111
+ }
112
+ .timeline-item-last .timeline-item-content {
113
+ padding-bottom: 0;
114
+ }
115
+
116
+ .timeline-item-label {
117
+ padding-bottom: var(--gap-5);
118
+ line-height: 1.6;
119
+ color: var(--fg-muted);
120
+ font-size: 13px;
121
+ }
122
+
123
+ /* ---- Pending animation ---- */
124
+ .timeline-item-pending .timeline-item-content {
125
+ color: var(--fg-muted);
126
+ }
127
+
128
+ /* When dot has custom content (Spinner / Icon), expand to fit */
129
+ .timeline-item-dot:has(> *) {
130
+ width: auto;
131
+ height: auto;
132
+ background: transparent !important;
133
+ box-shadow: none;
134
+ border-radius: 0;
135
+ border: none;
136
+ }
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkTAYFI4RG_cjs = require('./chunk-TAYFI4RG.cjs');
4
+ require('./chunk-XUT2Z2L6.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Timeline", {
9
+ enumerable: true,
10
+ get: function () { return chunkTAYFI4RG_cjs.Timeline; }
11
+ });
12
+ //# sourceMappingURL=Timeline.cjs.map
13
+ //# sourceMappingURL=Timeline.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Timeline.cjs"}
@@ -0,0 +1,38 @@
1
+ import * as React from 'react';
2
+
3
+ interface TimelineItemConfig {
4
+ /** Unique key for the item */
5
+ key?: string;
6
+ /** Content displayed on the right (or main side) */
7
+ children?: React.ReactNode;
8
+ /** Label displayed on the opposite side (alternate/label mode) */
9
+ label?: React.ReactNode;
10
+ /** Dot color */
11
+ color?: "accent" | "success" | "warning" | "danger" | "info" | "muted";
12
+ /** Custom dot content (replaces default dot) */
13
+ dot?: React.ReactNode;
14
+ }
15
+ interface TimelineProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
16
+ /** Timeline items */
17
+ items: TimelineItemConfig[];
18
+ /**
19
+ * Show a pending (loading) item at the end.
20
+ * `true` renders a default spinner; a ReactNode renders custom content.
21
+ */
22
+ pending?: boolean | React.ReactNode;
23
+ /** Text shown as the pending item's content */
24
+ pendingContent?: React.ReactNode;
25
+ /** Layout mode */
26
+ mode?: "left" | "right" | "alternate";
27
+ /** Reverse the order of items */
28
+ reverse?: boolean;
29
+ }
30
+ /**
31
+ * `Timeline` — vertical timeline with pending/loading state.
32
+ *
33
+ * @example
34
+ * <Timeline items={[{ children: "Created" }, { children: "In Progress" }]} pending />
35
+ */
36
+ declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>>;
37
+
38
+ export { Timeline, type TimelineItemConfig, type TimelineProps };
@@ -0,0 +1,38 @@
1
+ import * as React from 'react';
2
+
3
+ interface TimelineItemConfig {
4
+ /** Unique key for the item */
5
+ key?: string;
6
+ /** Content displayed on the right (or main side) */
7
+ children?: React.ReactNode;
8
+ /** Label displayed on the opposite side (alternate/label mode) */
9
+ label?: React.ReactNode;
10
+ /** Dot color */
11
+ color?: "accent" | "success" | "warning" | "danger" | "info" | "muted";
12
+ /** Custom dot content (replaces default dot) */
13
+ dot?: React.ReactNode;
14
+ }
15
+ interface TimelineProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
16
+ /** Timeline items */
17
+ items: TimelineItemConfig[];
18
+ /**
19
+ * Show a pending (loading) item at the end.
20
+ * `true` renders a default spinner; a ReactNode renders custom content.
21
+ */
22
+ pending?: boolean | React.ReactNode;
23
+ /** Text shown as the pending item's content */
24
+ pendingContent?: React.ReactNode;
25
+ /** Layout mode */
26
+ mode?: "left" | "right" | "alternate";
27
+ /** Reverse the order of items */
28
+ reverse?: boolean;
29
+ }
30
+ /**
31
+ * `Timeline` — vertical timeline with pending/loading state.
32
+ *
33
+ * @example
34
+ * <Timeline items={[{ children: "Created" }, { children: "In Progress" }]} pending />
35
+ */
36
+ declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>>;
37
+
38
+ export { Timeline, type TimelineItemConfig, type TimelineProps };
@@ -0,0 +1,4 @@
1
+ export { Timeline } from './chunk-S3NIRNWM.js';
2
+ import './chunk-GR5STMOA.js';
3
+ //# sourceMappingURL=Timeline.js.map
4
+ //# sourceMappingURL=Timeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Timeline.js"}
@@ -18,7 +18,7 @@
18
18
  box-shadow: var(--neu-float);
19
19
  padding: 12px 16px;
20
20
  min-width: 240px;
21
- display: flex; align-items: flex-start; gap: 10px;
21
+ display: flex; align-items: center; gap: 10px;
22
22
  font-size: 13px;
23
23
  pointer-events: auto;
24
24
  animation: toastIn var(--dur-slow) var(--ease);
@@ -27,7 +27,7 @@
27
27
  .toast.success { border-color: var(--success); }
28
28
  .toast.warning { border-color: var(--warning); }
29
29
  .toast.danger { border-color: var(--danger); }
30
- .toast .toast-icon { color: var(--accent); margin-top: 2px; }
30
+ .toast .toast-icon { color: var(--accent); flex-shrink: 0; }
31
31
  .toast.success .toast-icon { color: var(--success); }
32
32
  .toast.warning .toast-icon { color: var(--warning); }
33
33
  .toast.danger .toast-icon { color: var(--danger); }
package/dist/Toast.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunk2ENTRT7R_cjs = require('./chunk-2ENTRT7R.cjs');
4
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkAJEF2ZB7_cjs = require('./chunk-AJEF2ZB7.cjs');
4
+ require('./chunk-3KQKEE5O.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ToastContainer", {
9
9
  enumerable: true,
10
- get: function () { return chunk2ENTRT7R_cjs.ToastContainer; }
10
+ get: function () { return chunkAJEF2ZB7_cjs.ToastContainer; }
11
11
  });
12
12
  Object.defineProperty(exports, "toast", {
13
13
  enumerable: true,
14
- get: function () { return chunk2ENTRT7R_cjs.toast; }
14
+ get: function () { return chunkAJEF2ZB7_cjs.toast; }
15
15
  });
16
16
  //# sourceMappingURL=Toast.cjs.map
17
17
  //# sourceMappingURL=Toast.cjs.map
package/dist/Toast.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ToastContainer, toast } from './chunk-7M7NAMR5.js';
2
- import './chunk-QOGROEVD.js';
1
+ export { ToastContainer, toast } from './chunk-DLGFIRVW.js';
2
+ import './chunk-X3JG3IR6.js';
3
3
  //# sourceMappingURL=Toast.js.map
4
4
  //# sourceMappingURL=Toast.js.map
@@ -2,6 +2,7 @@
2
2
  .tip-anchor {
3
3
  position: relative;
4
4
  display: inline-flex;
5
+ align-self: flex-start;
5
6
  }
6
7
  .tip {
7
8
  background: var(--bg-sunken);
package/dist/Tooltip.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkOZVPJWXO_cjs = require('./chunk-OZVPJWXO.cjs');
4
- require('./chunk-RZ2E3XEU.cjs');
3
+ var chunkTCPTBLDV_cjs = require('./chunk-TCPTBLDV.cjs');
4
+ require('./chunk-3XIDJEYR.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Tooltip", {
9
9
  enumerable: true,
10
- get: function () { return chunkOZVPJWXO_cjs.Tooltip; }
10
+ get: function () { return chunkTCPTBLDV_cjs.Tooltip; }
11
11
  });
12
12
  //# sourceMappingURL=Tooltip.cjs.map
13
13
  //# sourceMappingURL=Tooltip.cjs.map
package/dist/Tooltip.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Tooltip } from './chunk-FFZLSY2N.js';
2
- import './chunk-V2DIQ3RH.js';
1
+ export { Tooltip } from './chunk-HHPYY4LH.js';
2
+ import './chunk-ANAQER3T.js';
3
3
  //# sourceMappingURL=Tooltip.js.map
4
4
  //# sourceMappingURL=Tooltip.js.map
@@ -1,29 +1,29 @@
1
1
  'use strict';
2
2
 
3
- var chunk3BZ47QNV_cjs = require('./chunk-3BZ47QNV.cjs');
4
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkBIXW4ZYW_cjs = require('./chunk-BIXW4ZYW.cjs');
4
+ require('./chunk-3KQKEE5O.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Link", {
9
9
  enumerable: true,
10
- get: function () { return chunk3BZ47QNV_cjs.Link; }
10
+ get: function () { return chunkBIXW4ZYW_cjs.Link; }
11
11
  });
12
12
  Object.defineProperty(exports, "Paragraph", {
13
13
  enumerable: true,
14
- get: function () { return chunk3BZ47QNV_cjs.Paragraph; }
14
+ get: function () { return chunkBIXW4ZYW_cjs.Paragraph; }
15
15
  });
16
16
  Object.defineProperty(exports, "Text", {
17
17
  enumerable: true,
18
- get: function () { return chunk3BZ47QNV_cjs.Text; }
18
+ get: function () { return chunkBIXW4ZYW_cjs.Text; }
19
19
  });
20
20
  Object.defineProperty(exports, "Title", {
21
21
  enumerable: true,
22
- get: function () { return chunk3BZ47QNV_cjs.Title; }
22
+ get: function () { return chunkBIXW4ZYW_cjs.Title; }
23
23
  });
24
24
  Object.defineProperty(exports, "Typography", {
25
25
  enumerable: true,
26
- get: function () { return chunk3BZ47QNV_cjs.Typography; }
26
+ get: function () { return chunkBIXW4ZYW_cjs.Typography; }
27
27
  });
28
28
  //# sourceMappingURL=Typography.cjs.map
29
29
  //# sourceMappingURL=Typography.cjs.map
@@ -1,4 +1,4 @@
1
- export { Link, Paragraph, Text, Title, Typography } from './chunk-I7WLFADD.js';
2
- import './chunk-QOGROEVD.js';
1
+ export { Link, Paragraph, Text, Title, Typography } from './chunk-LWN2PXW7.js';
2
+ import './chunk-X3JG3IR6.js';
3
3
  //# sourceMappingURL=Typography.js.map
4
4
  //# sourceMappingURL=Typography.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkYFBHVTKN_cjs = require('./chunk-YFBHVTKN.cjs');
4
- var chunkYCHUHMNP_cjs = require('./chunk-YCHUHMNP.cjs');
3
+ var chunkIJIQ4H6C_cjs = require('./chunk-IJIQ4H6C.cjs');
4
+ var chunk3KQKEE5O_cjs = require('./chunk-3KQKEE5O.cjs');
5
5
  require('./tokens-BIIUTPKN.css');
6
6
  require('./shared-NJHRNLRH.css');
7
7
  require('./InputNumber-VXQIWLQC.css');
@@ -117,7 +117,7 @@ var InputNumber = React__namespace.forwardRef(
117
117
  disabled: upDisabled,
118
118
  onMouseDown: (e) => e.preventDefault(),
119
119
  onClick: () => increment(step),
120
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkYCHUHMNP_cjs.Icon, { name: "chevUp", size: 10, stroke: 2.5 })
120
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk3KQKEE5O_cjs.Icon, { name: "chevUp", size: 10, stroke: 2.5 })
121
121
  }
122
122
  ),
123
123
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -129,7 +129,7 @@ var InputNumber = React__namespace.forwardRef(
129
129
  disabled: downDisabled,
130
130
  onMouseDown: (e) => e.preventDefault(),
131
131
  onClick: () => increment(-step),
132
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkYCHUHMNP_cjs.Icon, { name: "chevDown", size: 10, stroke: 2.5 })
132
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk3KQKEE5O_cjs.Icon, { name: "chevDown", size: 10, stroke: 2.5 })
133
133
  }
134
134
  )
135
135
  ] }) : null;
@@ -138,7 +138,7 @@ var InputNumber = React__namespace.forwardRef(
138
138
  stepperSuffix
139
139
  ] }) : stepperSuffix ?? suffix;
140
140
  return /* @__PURE__ */ jsxRuntime.jsx(
141
- chunkYFBHVTKN_cjs.Input,
141
+ chunkIJIQ4H6C_cjs.Input,
142
142
  {
143
143
  ref,
144
144
  id,
@@ -165,5 +165,5 @@ var InputNumber = React__namespace.forwardRef(
165
165
  InputNumber.displayName = "InputNumber";
166
166
 
167
167
  exports.InputNumber = InputNumber;
168
- //# sourceMappingURL=chunk-BCPAY65C.cjs.map
169
- //# sourceMappingURL=chunk-BCPAY65C.cjs.map
168
+ //# sourceMappingURL=chunk-2D5VCIJZ.cjs.map
169
+ //# sourceMappingURL=chunk-2D5VCIJZ.cjs.map