@fangxinyan/lumina 0.3.0 → 0.4.0

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 (156) 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-P5KZMZO5.css +54 -0
  6. package/dist/AutoComplete.cjs +15 -0
  7. package/dist/AutoComplete.cjs.map +1 -0
  8. package/dist/AutoComplete.d.cts +51 -0
  9. package/dist/AutoComplete.d.ts +51 -0
  10. package/dist/AutoComplete.js +6 -0
  11. package/dist/AutoComplete.js.map +1 -0
  12. package/dist/Button.cjs +4 -4
  13. package/dist/Button.js +2 -2
  14. package/dist/Calendar.cjs +3 -3
  15. package/dist/Calendar.js +2 -2
  16. package/dist/Cascader.cjs +3 -3
  17. package/dist/Cascader.js +2 -2
  18. package/dist/Checkbox.cjs +4 -4
  19. package/dist/Checkbox.js +2 -2
  20. package/dist/CommandPalette.cjs +4 -4
  21. package/dist/CommandPalette.js +3 -3
  22. package/dist/Drawer.cjs +3 -3
  23. package/dist/Drawer.js +2 -2
  24. package/dist/Form-5GRVZNDO.css +67 -0
  25. package/dist/Form.cjs +20 -0
  26. package/dist/Form.cjs.map +1 -0
  27. package/dist/Form.d.cts +85 -0
  28. package/dist/Form.d.ts +85 -0
  29. package/dist/Form.js +3 -0
  30. package/dist/Form.js.map +1 -0
  31. package/dist/Icon.cjs +3 -3
  32. package/dist/Icon.d.cts +1 -1
  33. package/dist/Icon.d.ts +1 -1
  34. package/dist/Icon.js +1 -1
  35. package/dist/Image.cjs +4 -4
  36. package/dist/Image.js +2 -2
  37. package/dist/Input.cjs +4 -4
  38. package/dist/Input.js +2 -2
  39. package/dist/InputNumber-VXQIWLQC.css +40 -0
  40. package/dist/InputNumber.cjs +14 -0
  41. package/dist/InputNumber.cjs.map +1 -0
  42. package/dist/InputNumber.d.cts +46 -0
  43. package/dist/InputNumber.d.ts +46 -0
  44. package/dist/InputNumber.js +5 -0
  45. package/dist/InputNumber.js.map +1 -0
  46. package/dist/Modal.cjs +4 -4
  47. package/dist/Modal.js +3 -3
  48. package/dist/Pagination.cjs +5 -5
  49. package/dist/Pagination.js +4 -4
  50. package/dist/Select.cjs +4 -4
  51. package/dist/Select.js +3 -3
  52. package/dist/Table.cjs +8 -8
  53. package/dist/Table.js +6 -6
  54. package/dist/Tag.cjs +4 -4
  55. package/dist/Tag.js +2 -2
  56. package/dist/Toast.cjs +4 -4
  57. package/dist/Toast.js +2 -2
  58. package/dist/Typography.cjs +7 -7
  59. package/dist/Typography.js +2 -2
  60. package/dist/{chunk-RIDCBNCM.cjs → chunk-2ENTRT7R.cjs} +5 -5
  61. package/dist/{chunk-RIDCBNCM.cjs.map → chunk-2ENTRT7R.cjs.map} +1 -1
  62. package/dist/{chunk-24FAK7QU.cjs → chunk-3BZ47QNV.cjs} +7 -7
  63. package/dist/{chunk-24FAK7QU.cjs.map → chunk-3BZ47QNV.cjs.map} +1 -1
  64. package/dist/{chunk-URLSZPS5.js → chunk-6XZ362VL.js} +4 -4
  65. package/dist/{chunk-URLSZPS5.js.map → chunk-6XZ362VL.js.map} +1 -1
  66. package/dist/{chunk-XDFZRV3V.js → chunk-6Z24VO3K.js} +3 -3
  67. package/dist/{chunk-XDFZRV3V.js.map → chunk-6Z24VO3K.js.map} +1 -1
  68. package/dist/{chunk-AWLBLRQX.cjs → chunk-77TZHI76.cjs} +7 -7
  69. package/dist/{chunk-AWLBLRQX.cjs.map → chunk-77TZHI76.cjs.map} +1 -1
  70. package/dist/{chunk-TMZVX6NO.js → chunk-7M7NAMR5.js} +3 -3
  71. package/dist/{chunk-TMZVX6NO.js.map → chunk-7M7NAMR5.js.map} +1 -1
  72. package/dist/{chunk-WQFC5EMC.js → chunk-AESLEYST.js} +4 -4
  73. package/dist/{chunk-WQFC5EMC.js.map → chunk-AESLEYST.js.map} +1 -1
  74. package/dist/chunk-BCPAY65C.cjs +169 -0
  75. package/dist/chunk-BCPAY65C.cjs.map +1 -0
  76. package/dist/{chunk-XZ22B3NW.js → chunk-CTYW42GG.js} +5 -5
  77. package/dist/{chunk-XZ22B3NW.js.map → chunk-CTYW42GG.js.map} +1 -1
  78. package/dist/chunk-E62JFAHW.js +147 -0
  79. package/dist/chunk-E62JFAHW.js.map +1 -0
  80. package/dist/{chunk-U5BZ7E3F.js → chunk-FXQGPHK2.js} +3 -3
  81. package/dist/{chunk-U5BZ7E3F.js.map → chunk-FXQGPHK2.js.map} +1 -1
  82. package/dist/{chunk-3HNRKO3M.cjs → chunk-HJIKU6MF.cjs} +4 -4
  83. package/dist/{chunk-3HNRKO3M.cjs.map → chunk-HJIKU6MF.cjs.map} +1 -1
  84. package/dist/{chunk-EHO2JH2L.cjs → chunk-HXSAH4Y6.cjs} +7 -7
  85. package/dist/{chunk-EHO2JH2L.cjs.map → chunk-HXSAH4Y6.cjs.map} +1 -1
  86. package/dist/{chunk-3LI6QH2Q.js → chunk-I7WLFADD.js} +3 -3
  87. package/dist/{chunk-3LI6QH2Q.js.map → chunk-I7WLFADD.js.map} +1 -1
  88. package/dist/chunk-IHACXMOI.js +307 -0
  89. package/dist/chunk-IHACXMOI.js.map +1 -0
  90. package/dist/{chunk-AGN3JSUH.cjs → chunk-IJA26LRY.cjs} +4 -4
  91. package/dist/{chunk-AGN3JSUH.cjs.map → chunk-IJA26LRY.cjs.map} +1 -1
  92. package/dist/chunk-IOWREUEP.js +170 -0
  93. package/dist/chunk-IOWREUEP.js.map +1 -0
  94. package/dist/{chunk-5UOBYRYJ.js → chunk-JXHMJUVI.js} +3 -3
  95. package/dist/{chunk-5UOBYRYJ.js.map → chunk-JXHMJUVI.js.map} +1 -1
  96. package/dist/{chunk-TY5EAKEI.js → chunk-KW7Z4IQC.js} +3 -3
  97. package/dist/{chunk-TY5EAKEI.js.map → chunk-KW7Z4IQC.js.map} +1 -1
  98. package/dist/{chunk-276NALYW.js → chunk-LXNR6TQK.js} +3 -3
  99. package/dist/{chunk-276NALYW.js.map → chunk-LXNR6TQK.js.map} +1 -1
  100. package/dist/{chunk-WREHBIJ5.cjs → chunk-MDQNUKCP.cjs} +12 -12
  101. package/dist/{chunk-WREHBIJ5.cjs.map → chunk-MDQNUKCP.cjs.map} +1 -1
  102. package/dist/{chunk-GOIQR4OH.cjs → chunk-N73JGXYZ.cjs} +4 -4
  103. package/dist/{chunk-GOIQR4OH.cjs.map → chunk-N73JGXYZ.cjs.map} +1 -1
  104. package/dist/{chunk-MFWOBALK.cjs → chunk-NN7WMXY4.cjs} +4 -4
  105. package/dist/{chunk-MFWOBALK.cjs.map → chunk-NN7WMXY4.cjs.map} +1 -1
  106. package/dist/{chunk-U4K7HOMW.js → chunk-O7C6S644.js} +3 -3
  107. package/dist/{chunk-U4K7HOMW.js.map → chunk-O7C6S644.js.map} +1 -1
  108. package/dist/{chunk-YXKJOPYT.js → chunk-OM76QWUN.js} +3 -3
  109. package/dist/{chunk-YXKJOPYT.js.map → chunk-OM76QWUN.js.map} +1 -1
  110. package/dist/{chunk-Q2EXOT4B.js → chunk-PKXXR76Q.js} +3 -3
  111. package/dist/{chunk-Q2EXOT4B.js.map → chunk-PKXXR76Q.js.map} +1 -1
  112. package/dist/{chunk-GEYMWUW6.js → chunk-QOGROEVD.js} +23 -5
  113. package/dist/chunk-QOGROEVD.js.map +1 -0
  114. package/dist/chunk-QVFEKGKI.cjs +331 -0
  115. package/dist/chunk-QVFEKGKI.cjs.map +1 -0
  116. package/dist/{chunk-HNVRMOL3.cjs → chunk-RQV7SMIZ.cjs} +5 -5
  117. package/dist/{chunk-HNVRMOL3.cjs.map → chunk-RQV7SMIZ.cjs.map} +1 -1
  118. package/dist/{chunk-RSZNFKCQ.cjs → chunk-RWHWEQQX.cjs} +6 -6
  119. package/dist/{chunk-RSZNFKCQ.cjs.map → chunk-RWHWEQQX.cjs.map} +1 -1
  120. package/dist/{chunk-AR4M7QGF.cjs → chunk-SMHXSEBD.cjs} +7 -7
  121. package/dist/{chunk-AR4M7QGF.cjs.map → chunk-SMHXSEBD.cjs.map} +1 -1
  122. package/dist/{chunk-RVSWH4RH.cjs → chunk-T4PI2ZX7.cjs} +14 -14
  123. package/dist/{chunk-RVSWH4RH.cjs.map → chunk-T4PI2ZX7.cjs.map} +1 -1
  124. package/dist/{chunk-MTCLJHXU.js → chunk-TZLM5GF4.js} +4 -4
  125. package/dist/{chunk-MTCLJHXU.js.map → chunk-TZLM5GF4.js.map} +1 -1
  126. package/dist/{chunk-CALRTZZ7.cjs → chunk-TZXEZFCI.cjs} +5 -5
  127. package/dist/{chunk-CALRTZZ7.cjs.map → chunk-TZXEZFCI.cjs.map} +1 -1
  128. package/dist/chunk-VQBZKRIB.cjs +192 -0
  129. package/dist/chunk-VQBZKRIB.cjs.map +1 -0
  130. package/dist/{chunk-WBMF7WM3.js → chunk-WUOFJPZ4.js} +3 -3
  131. package/dist/{chunk-WBMF7WM3.js.map → chunk-WUOFJPZ4.js.map} +1 -1
  132. package/dist/{chunk-SVVB6POY.cjs → chunk-WVBFQB26.cjs} +6 -6
  133. package/dist/{chunk-SVVB6POY.cjs.map → chunk-WVBFQB26.cjs.map} +1 -1
  134. package/dist/{chunk-DBJIK4JE.js → chunk-XCYE4OQV.js} +3 -3
  135. package/dist/{chunk-DBJIK4JE.js.map → chunk-XCYE4OQV.js.map} +1 -1
  136. package/dist/{chunk-7JYI5THC.cjs → chunk-XYVJ3FBQ.cjs} +5 -5
  137. package/dist/{chunk-7JYI5THC.cjs.map → chunk-XYVJ3FBQ.cjs.map} +1 -1
  138. package/dist/{chunk-YVO7XO4W.cjs → chunk-YCHUHMNP.cjs} +22 -4
  139. package/dist/chunk-YCHUHMNP.cjs.map +1 -0
  140. package/dist/{chunk-MKR4X57L.cjs → chunk-YFBHVTKN.cjs} +7 -7
  141. package/dist/{chunk-MKR4X57L.cjs.map → chunk-YFBHVTKN.cjs.map} +1 -1
  142. package/dist/{chunk-NGQDVJH3.js → chunk-ZFJHUOFU.js} +3 -3
  143. package/dist/{chunk-NGQDVJH3.js.map → chunk-ZFJHUOFU.js.map} +1 -1
  144. package/dist/index.cjs +129 -106
  145. package/dist/index.cjs.map +1 -1
  146. package/dist/index.d.cts +4 -1
  147. package/dist/index.d.ts +4 -1
  148. package/dist/index.js +28 -25
  149. package/dist/index.js.map +1 -1
  150. package/docs/llms/autocomplete.md +56 -0
  151. package/docs/llms/form.md +121 -0
  152. package/docs/llms/inputnumber.md +57 -0
  153. package/docs/llms.md +4 -1
  154. package/package.json +1 -1
  155. package/dist/chunk-GEYMWUW6.js.map +0 -1
  156. package/dist/chunk-YVO7XO4W.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,45 +1,64 @@
1
1
  'use strict';
2
2
 
3
+ var chunkMDQNUKCP_cjs = require('./chunk-MDQNUKCP.cjs');
4
+ var chunk5EAVXFFD_cjs = require('./chunk-5EAVXFFD.cjs');
3
5
  var chunkQ7CDWNM6_cjs = require('./chunk-Q7CDWNM6.cjs');
4
- var chunkRIDCBNCM_cjs = require('./chunk-RIDCBNCM.cjs');
6
+ var chunk2ENTRT7R_cjs = require('./chunk-2ENTRT7R.cjs');
5
7
  var chunkOZVPJWXO_cjs = require('./chunk-OZVPJWXO.cjs');
6
- var chunk24FAK7QU_cjs = require('./chunk-24FAK7QU.cjs');
8
+ var chunk3BZ47QNV_cjs = require('./chunk-3BZ47QNV.cjs');
9
+ var chunk77TZHI76_cjs = require('./chunk-77TZHI76.cjs');
10
+ var chunkO2HMH5BI_cjs = require('./chunk-O2HMH5BI.cjs');
11
+ var chunk5BFETKVP_cjs = require('./chunk-5BFETKVP.cjs');
12
+ var chunkT4PI2ZX7_cjs = require('./chunk-T4PI2ZX7.cjs');
13
+ var chunkRQV7SMIZ_cjs = require('./chunk-RQV7SMIZ.cjs');
7
14
  var chunkB5JH7NRZ_cjs = require('./chunk-B5JH7NRZ.cjs');
8
15
  var chunk7T2SLRNL_cjs = require('./chunk-7T2SLRNL.cjs');
9
16
  var chunk7YQWG7HR_cjs = require('./chunk-7YQWG7HR.cjs');
10
17
  var chunkYZ2I7CDF_cjs = require('./chunk-YZ2I7CDF.cjs');
11
- var chunkWREHBIJ5_cjs = require('./chunk-WREHBIJ5.cjs');
12
- var chunk5EAVXFFD_cjs = require('./chunk-5EAVXFFD.cjs');
13
- var chunkEHO2JH2L_cjs = require('./chunk-EHO2JH2L.cjs');
18
+ var chunkXUT2Z2L6_cjs = require('./chunk-XUT2Z2L6.cjs');
19
+ var chunkQVFEKGKI_cjs = require('./chunk-QVFEKGKI.cjs');
20
+ var chunkHXSAH4Y6_cjs = require('./chunk-HXSAH4Y6.cjs');
21
+ var chunkBCPAY65C_cjs = require('./chunk-BCPAY65C.cjs');
14
22
  var chunkNQQWCIE6_cjs = require('./chunk-NQQWCIE6.cjs');
15
- var chunkAR4M7QGF_cjs = require('./chunk-AR4M7QGF.cjs');
16
- var chunkAWLBLRQX_cjs = require('./chunk-AWLBLRQX.cjs');
17
- var chunkRVSWH4RH_cjs = require('./chunk-RVSWH4RH.cjs');
18
- var chunkHNVRMOL3_cjs = require('./chunk-HNVRMOL3.cjs');
19
- var chunkO2HMH5BI_cjs = require('./chunk-O2HMH5BI.cjs');
20
- var chunk5BFETKVP_cjs = require('./chunk-5BFETKVP.cjs');
21
- var chunkSVVB6POY_cjs = require('./chunk-SVVB6POY.cjs');
22
- var chunkMFWOBALK_cjs = require('./chunk-MFWOBALK.cjs');
23
+ var chunkSMHXSEBD_cjs = require('./chunk-SMHXSEBD.cjs');
24
+ var chunkMUFMJPRT_cjs = require('./chunk-MUFMJPRT.cjs');
25
+ var chunkWVBFQB26_cjs = require('./chunk-WVBFQB26.cjs');
26
+ var chunkNN7WMXY4_cjs = require('./chunk-NN7WMXY4.cjs');
23
27
  var chunkLLNEDEST_cjs = require('./chunk-LLNEDEST.cjs');
24
- require('./chunk-RZ2E3XEU.cjs');
25
- var chunkAGN3JSUH_cjs = require('./chunk-AGN3JSUH.cjs');
26
- var chunkMKR4X57L_cjs = require('./chunk-MKR4X57L.cjs');
28
+ var chunkIJA26LRY_cjs = require('./chunk-IJA26LRY.cjs');
27
29
  var chunkWZ73TWB2_cjs = require('./chunk-WZ73TWB2.cjs');
28
30
  var chunkIZDJCEMF_cjs = require('./chunk-IZDJCEMF.cjs');
29
- var chunkGOIQR4OH_cjs = require('./chunk-GOIQR4OH.cjs');
30
- var chunkXUT2Z2L6_cjs = require('./chunk-XUT2Z2L6.cjs');
31
- var chunk3HNRKO3M_cjs = require('./chunk-3HNRKO3M.cjs');
32
- var chunkCALRTZZ7_cjs = require('./chunk-CALRTZZ7.cjs');
31
+ var chunkN73JGXYZ_cjs = require('./chunk-N73JGXYZ.cjs');
32
+ var chunkHJIKU6MF_cjs = require('./chunk-HJIKU6MF.cjs');
33
+ var chunkTZXEZFCI_cjs = require('./chunk-TZXEZFCI.cjs');
33
34
  var chunk33TIL25B_cjs = require('./chunk-33TIL25B.cjs');
35
+ var chunkVQBZKRIB_cjs = require('./chunk-VQBZKRIB.cjs');
36
+ require('./chunk-RZ2E3XEU.cjs');
37
+ var chunkYFBHVTKN_cjs = require('./chunk-YFBHVTKN.cjs');
34
38
  var chunkTQLCIXCK_cjs = require('./chunk-TQLCIXCK.cjs');
35
- var chunkRSZNFKCQ_cjs = require('./chunk-RSZNFKCQ.cjs');
36
- var chunk7JYI5THC_cjs = require('./chunk-7JYI5THC.cjs');
37
- var chunkYVO7XO4W_cjs = require('./chunk-YVO7XO4W.cjs');
38
- var chunkMUFMJPRT_cjs = require('./chunk-MUFMJPRT.cjs');
39
+ var chunkRWHWEQQX_cjs = require('./chunk-RWHWEQQX.cjs');
40
+ var chunkXYVJ3FBQ_cjs = require('./chunk-XYVJ3FBQ.cjs');
41
+ var chunkYCHUHMNP_cjs = require('./chunk-YCHUHMNP.cjs');
39
42
 
40
43
  // src/index.ts
41
- var VERSION = "0.3.0";
44
+ var VERSION = "0.4.0";
42
45
 
46
+ Object.defineProperty(exports, "Table", {
47
+ enumerable: true,
48
+ get: function () { return chunkMDQNUKCP_cjs.Table; }
49
+ });
50
+ Object.defineProperty(exports, "TablePro", {
51
+ enumerable: true,
52
+ get: function () { return chunkMDQNUKCP_cjs.TablePro; }
53
+ });
54
+ Object.defineProperty(exports, "Segmented", {
55
+ enumerable: true,
56
+ get: function () { return chunk5EAVXFFD_cjs.Segmented; }
57
+ });
58
+ Object.defineProperty(exports, "Tabs", {
59
+ enumerable: true,
60
+ get: function () { return chunk5EAVXFFD_cjs.Tabs; }
61
+ });
43
62
  Object.defineProperty(exports, "ACCENT_PRESETS", {
44
63
  enumerable: true,
45
64
  get: function () { return chunkQ7CDWNM6_cjs.ACCENT_PRESETS; }
@@ -78,11 +97,11 @@ Object.defineProperty(exports, "useThemeOptional", {
78
97
  });
79
98
  Object.defineProperty(exports, "ToastContainer", {
80
99
  enumerable: true,
81
- get: function () { return chunkRIDCBNCM_cjs.ToastContainer; }
100
+ get: function () { return chunk2ENTRT7R_cjs.ToastContainer; }
82
101
  });
83
102
  Object.defineProperty(exports, "toast", {
84
103
  enumerable: true,
85
- get: function () { return chunkRIDCBNCM_cjs.toast; }
104
+ get: function () { return chunk2ENTRT7R_cjs.toast; }
86
105
  });
87
106
  Object.defineProperty(exports, "Tooltip", {
88
107
  enumerable: true,
@@ -90,23 +109,51 @@ Object.defineProperty(exports, "Tooltip", {
90
109
  });
91
110
  Object.defineProperty(exports, "Link", {
92
111
  enumerable: true,
93
- get: function () { return chunk24FAK7QU_cjs.Link; }
112
+ get: function () { return chunk3BZ47QNV_cjs.Link; }
94
113
  });
95
114
  Object.defineProperty(exports, "Paragraph", {
96
115
  enumerable: true,
97
- get: function () { return chunk24FAK7QU_cjs.Paragraph; }
116
+ get: function () { return chunk3BZ47QNV_cjs.Paragraph; }
98
117
  });
99
118
  Object.defineProperty(exports, "Text", {
100
119
  enumerable: true,
101
- get: function () { return chunk24FAK7QU_cjs.Text; }
120
+ get: function () { return chunk3BZ47QNV_cjs.Text; }
102
121
  });
103
122
  Object.defineProperty(exports, "Title", {
104
123
  enumerable: true,
105
- get: function () { return chunk24FAK7QU_cjs.Title; }
124
+ get: function () { return chunk3BZ47QNV_cjs.Title; }
106
125
  });
107
126
  Object.defineProperty(exports, "Typography", {
108
127
  enumerable: true,
109
- get: function () { return chunk24FAK7QU_cjs.Typography; }
128
+ get: function () { return chunk3BZ47QNV_cjs.Typography; }
129
+ });
130
+ Object.defineProperty(exports, "Pagination", {
131
+ enumerable: true,
132
+ get: function () { return chunk77TZHI76_cjs.Pagination; }
133
+ });
134
+ Object.defineProperty(exports, "Popover", {
135
+ enumerable: true,
136
+ get: function () { return chunkO2HMH5BI_cjs.Popover; }
137
+ });
138
+ Object.defineProperty(exports, "Progress", {
139
+ enumerable: true,
140
+ get: function () { return chunk5BFETKVP_cjs.Progress; }
141
+ });
142
+ Object.defineProperty(exports, "Ring", {
143
+ enumerable: true,
144
+ get: function () { return chunk5BFETKVP_cjs.Ring; }
145
+ });
146
+ Object.defineProperty(exports, "Select", {
147
+ enumerable: true,
148
+ get: function () { return chunkT4PI2ZX7_cjs.Select; }
149
+ });
150
+ Object.defineProperty(exports, "Badge", {
151
+ enumerable: true,
152
+ get: function () { return chunkRQV7SMIZ_cjs.Badge; }
153
+ });
154
+ Object.defineProperty(exports, "Tag", {
155
+ enumerable: true,
156
+ get: function () { return chunkRQV7SMIZ_cjs.Tag; }
110
157
  });
111
158
  Object.defineProperty(exports, "Slider", {
112
159
  enumerable: true,
@@ -128,77 +175,69 @@ Object.defineProperty(exports, "Switch", {
128
175
  enumerable: true,
129
176
  get: function () { return chunkYZ2I7CDF_cjs.Switch; }
130
177
  });
131
- Object.defineProperty(exports, "Table", {
132
- enumerable: true,
133
- get: function () { return chunkWREHBIJ5_cjs.Table; }
134
- });
135
- Object.defineProperty(exports, "TablePro", {
136
- enumerable: true,
137
- get: function () { return chunkWREHBIJ5_cjs.TablePro; }
138
- });
139
- Object.defineProperty(exports, "Segmented", {
178
+ Object.defineProperty(exports, "Empty", {
140
179
  enumerable: true,
141
- get: function () { return chunk5EAVXFFD_cjs.Segmented; }
180
+ get: function () { return chunkXUT2Z2L6_cjs.Empty; }
142
181
  });
143
- Object.defineProperty(exports, "Tabs", {
182
+ Object.defineProperty(exports, "Skeleton", {
144
183
  enumerable: true,
145
- get: function () { return chunk5EAVXFFD_cjs.Tabs; }
184
+ get: function () { return chunkXUT2Z2L6_cjs.Skeleton; }
146
185
  });
147
- Object.defineProperty(exports, "Image", {
186
+ Object.defineProperty(exports, "Spinner", {
148
187
  enumerable: true,
149
- get: function () { return chunkEHO2JH2L_cjs.Image; }
188
+ get: function () { return chunkXUT2Z2L6_cjs.Spinner; }
150
189
  });
151
- Object.defineProperty(exports, "ImageGrid", {
190
+ Object.defineProperty(exports, "Form", {
152
191
  enumerable: true,
153
- get: function () { return chunkEHO2JH2L_cjs.ImageGrid; }
192
+ get: function () { return chunkQVFEKGKI_cjs.Form; }
154
193
  });
155
- Object.defineProperty(exports, "List", {
194
+ Object.defineProperty(exports, "FormItem", {
156
195
  enumerable: true,
157
- get: function () { return chunkNQQWCIE6_cjs.List; }
196
+ get: function () { return chunkQVFEKGKI_cjs.FormItem; }
158
197
  });
159
- Object.defineProperty(exports, "Modal", {
198
+ Object.defineProperty(exports, "useForm", {
160
199
  enumerable: true,
161
- get: function () { return chunkAR4M7QGF_cjs.Modal; }
200
+ get: function () { return chunkQVFEKGKI_cjs.useForm; }
162
201
  });
163
- Object.defineProperty(exports, "Pagination", {
202
+ Object.defineProperty(exports, "Image", {
164
203
  enumerable: true,
165
- get: function () { return chunkAWLBLRQX_cjs.Pagination; }
204
+ get: function () { return chunkHXSAH4Y6_cjs.Image; }
166
205
  });
167
- Object.defineProperty(exports, "Select", {
206
+ Object.defineProperty(exports, "ImageGrid", {
168
207
  enumerable: true,
169
- get: function () { return chunkRVSWH4RH_cjs.Select; }
208
+ get: function () { return chunkHXSAH4Y6_cjs.ImageGrid; }
170
209
  });
171
- Object.defineProperty(exports, "Badge", {
210
+ Object.defineProperty(exports, "InputNumber", {
172
211
  enumerable: true,
173
- get: function () { return chunkHNVRMOL3_cjs.Badge; }
212
+ get: function () { return chunkBCPAY65C_cjs.InputNumber; }
174
213
  });
175
- Object.defineProperty(exports, "Tag", {
214
+ Object.defineProperty(exports, "List", {
176
215
  enumerable: true,
177
- get: function () { return chunkHNVRMOL3_cjs.Tag; }
216
+ get: function () { return chunkNQQWCIE6_cjs.List; }
178
217
  });
179
- Object.defineProperty(exports, "Popover", {
218
+ Object.defineProperty(exports, "Modal", {
180
219
  enumerable: true,
181
- get: function () { return chunkO2HMH5BI_cjs.Popover; }
220
+ get: function () { return chunkSMHXSEBD_cjs.Modal; }
182
221
  });
183
- Object.defineProperty(exports, "Progress", {
222
+ Object.defineProperty(exports, "Card", {
184
223
  enumerable: true,
185
- get: function () { return chunk5BFETKVP_cjs.Progress; }
224
+ get: function () { return chunkMUFMJPRT_cjs.Card; }
186
225
  });
187
- Object.defineProperty(exports, "Ring", {
226
+ Object.defineProperty(exports, "Panel", {
188
227
  enumerable: true,
189
- get: function () { return chunk5BFETKVP_cjs.Ring; }
228
+ get: function () { return chunkMUFMJPRT_cjs.Panel; }
190
229
  });
191
230
  Object.defineProperty(exports, "Cascader", {
192
231
  enumerable: true,
193
- get: function () { return chunkSVVB6POY_cjs.Cascader; }
232
+ get: function () { return chunkWVBFQB26_cjs.Cascader; }
194
233
  });
195
234
  Object.defineProperty(exports, "Checkbox", {
196
235
  enumerable: true,
197
- get: function () { return chunkMFWOBALK_cjs.Checkbox; }
236
+ get: function () { return chunkNN7WMXY4_cjs.Checkbox; }
198
237
  });
199
238
  Object.defineProperty(exports, "RadioGroup", {
200
239
  enumerable: true,
201
- get: function () { return chunkMFWOBALK_cjs.RadioGroup; }
240
+ get: function () { return chunkNN7WMXY4_cjs.RadioGroup; }
202
241
  });
203
242
  Object.defineProperty(exports, "ColorPicker", {
204
243
  enumerable: true,
@@ -206,15 +245,7 @@ Object.defineProperty(exports, "ColorPicker", {
206
245
  });
207
246
  Object.defineProperty(exports, "CommandPalette", {
208
247
  enumerable: true,
209
- get: function () { return chunkAGN3JSUH_cjs.CommandPalette; }
210
- });
211
- Object.defineProperty(exports, "Input", {
212
- enumerable: true,
213
- get: function () { return chunkMKR4X57L_cjs.Input; }
214
- });
215
- Object.defineProperty(exports, "Textarea", {
216
- enumerable: true,
217
- get: function () { return chunkMKR4X57L_cjs.Textarea; }
248
+ get: function () { return chunkIJA26LRY_cjs.CommandPalette; }
218
249
  });
219
250
  Object.defineProperty(exports, "ContextMenu", {
220
251
  enumerable: true,
@@ -226,27 +257,15 @@ Object.defineProperty(exports, "Divider", {
226
257
  });
227
258
  Object.defineProperty(exports, "Drawer", {
228
259
  enumerable: true,
229
- get: function () { return chunkGOIQR4OH_cjs.Drawer; }
230
- });
231
- Object.defineProperty(exports, "Empty", {
232
- enumerable: true,
233
- get: function () { return chunkXUT2Z2L6_cjs.Empty; }
234
- });
235
- Object.defineProperty(exports, "Skeleton", {
236
- enumerable: true,
237
- get: function () { return chunkXUT2Z2L6_cjs.Skeleton; }
238
- });
239
- Object.defineProperty(exports, "Spinner", {
240
- enumerable: true,
241
- get: function () { return chunkXUT2Z2L6_cjs.Spinner; }
260
+ get: function () { return chunkN73JGXYZ_cjs.Drawer; }
242
261
  });
243
262
  Object.defineProperty(exports, "Accordion", {
244
263
  enumerable: true,
245
- get: function () { return chunk3HNRKO3M_cjs.Accordion; }
264
+ get: function () { return chunkHJIKU6MF_cjs.Accordion; }
246
265
  });
247
266
  Object.defineProperty(exports, "Alert", {
248
267
  enumerable: true,
249
- get: function () { return chunkCALRTZZ7_cjs.Alert; }
268
+ get: function () { return chunkTZXEZFCI_cjs.Alert; }
250
269
  });
251
270
  Object.defineProperty(exports, "AppShell", {
252
271
  enumerable: true,
@@ -264,37 +283,41 @@ Object.defineProperty(exports, "WindowControls", {
264
283
  enumerable: true,
265
284
  get: function () { return chunk33TIL25B_cjs.WindowControls; }
266
285
  });
286
+ Object.defineProperty(exports, "AutoComplete", {
287
+ enumerable: true,
288
+ get: function () { return chunkVQBZKRIB_cjs.AutoComplete; }
289
+ });
290
+ Object.defineProperty(exports, "Input", {
291
+ enumerable: true,
292
+ get: function () { return chunkYFBHVTKN_cjs.Input; }
293
+ });
294
+ Object.defineProperty(exports, "Textarea", {
295
+ enumerable: true,
296
+ get: function () { return chunkYFBHVTKN_cjs.Textarea; }
297
+ });
267
298
  Object.defineProperty(exports, "Avatar", {
268
299
  enumerable: true,
269
300
  get: function () { return chunkTQLCIXCK_cjs.Avatar; }
270
301
  });
271
302
  Object.defineProperty(exports, "Button", {
272
303
  enumerable: true,
273
- get: function () { return chunkRSZNFKCQ_cjs.Button; }
304
+ get: function () { return chunkRWHWEQQX_cjs.Button; }
274
305
  });
275
306
  Object.defineProperty(exports, "IconButton", {
276
307
  enumerable: true,
277
- get: function () { return chunkRSZNFKCQ_cjs.IconButton; }
308
+ get: function () { return chunkRWHWEQQX_cjs.IconButton; }
278
309
  });
279
310
  Object.defineProperty(exports, "Calendar", {
280
311
  enumerable: true,
281
- get: function () { return chunk7JYI5THC_cjs.Calendar; }
312
+ get: function () { return chunkXYVJ3FBQ_cjs.Calendar; }
282
313
  });
283
314
  Object.defineProperty(exports, "ICON_NAMES", {
284
315
  enumerable: true,
285
- get: function () { return chunkYVO7XO4W_cjs.ICON_NAMES; }
316
+ get: function () { return chunkYCHUHMNP_cjs.ICON_NAMES; }
286
317
  });
287
318
  Object.defineProperty(exports, "Icon", {
288
319
  enumerable: true,
289
- get: function () { return chunkYVO7XO4W_cjs.Icon; }
290
- });
291
- Object.defineProperty(exports, "Card", {
292
- enumerable: true,
293
- get: function () { return chunkMUFMJPRT_cjs.Card; }
294
- });
295
- Object.defineProperty(exports, "Panel", {
296
- enumerable: true,
297
- get: function () { return chunkMUFMJPRT_cjs.Panel; }
320
+ get: function () { return chunkYCHUHMNP_cjs.Icon; }
298
321
  });
299
322
  exports.VERSION = VERSION;
300
323
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCO,IAAM,OAAA,GAAU","file":"index.cjs","sourcesContent":["/* lumina — public exports */\n\nexport * from \"./components/Icon\";\nexport * from \"./components/Button\";\nexport * from \"./components/Input\";\nexport * from \"./components/Switch\";\nexport * from \"./components/Checkbox\";\nexport * from \"./components/Slider\";\nexport * from \"./components/Select\";\nexport * from \"./components/Tabs\";\nexport * from \"./components/Accordion\";\nexport * from \"./components/Card\";\nexport * from \"./components/Tag\";\nexport * from \"./components/Avatar\";\nexport * from \"./components/Divider\";\nexport * from \"./components/Progress\";\nexport * from \"./components/Modal\";\nexport * from \"./components/Toast\";\nexport * from \"./components/Tooltip\";\nexport * from \"./components/Popover\";\nexport * from \"./components/Alert\";\nexport * from \"./components/Table\";\nexport * from \"./components/Pagination\";\nexport * from \"./components/Calendar\";\nexport * from \"./components/List\";\nexport * from \"./components/AppShell\";\nexport * from \"./components/StatusBar\";\nexport * from \"./components/Splitter\";\nexport * from \"./components/ContextMenu\";\nexport * from \"./components/CommandPalette\";\nexport * from \"./components/Empty\";\nexport * from \"./components/Image\";\nexport * from \"./components/Cascader\";\nexport * from \"./components/Typography\";\nexport * from \"./components/ColorPicker\";\nexport * from \"./components/Drawer\";\nexport * from \"./components/Theme\";\n\n/** Package version — bumped by release scripts. */\nexport const VERSION = \"0.3.0\";\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CO,IAAM,OAAA,GAAU","file":"index.cjs","sourcesContent":["/* lumina — public exports */\n\nexport * from \"./components/Icon\";\nexport * from \"./components/Button\";\nexport * from \"./components/Input\";\nexport * from \"./components/Switch\";\nexport * from \"./components/Checkbox\";\nexport * from \"./components/Slider\";\nexport * from \"./components/Select\";\nexport * from \"./components/Tabs\";\nexport * from \"./components/Accordion\";\nexport * from \"./components/Card\";\nexport * from \"./components/Tag\";\nexport * from \"./components/Avatar\";\nexport * from \"./components/Divider\";\nexport * from \"./components/Progress\";\nexport * from \"./components/Modal\";\nexport * from \"./components/Toast\";\nexport * from \"./components/Tooltip\";\nexport * from \"./components/Popover\";\nexport * from \"./components/Alert\";\nexport * from \"./components/Table\";\nexport * from \"./components/Pagination\";\nexport * from \"./components/Calendar\";\nexport * from \"./components/List\";\nexport * from \"./components/AppShell\";\nexport * from \"./components/StatusBar\";\nexport * from \"./components/Splitter\";\nexport * from \"./components/ContextMenu\";\nexport * from \"./components/CommandPalette\";\nexport * from \"./components/InputNumber\";\nexport * from \"./components/AutoComplete\";\nexport * from \"./components/Form\";\nexport * from \"./components/Empty\";\nexport * from \"./components/Image\";\nexport * from \"./components/Cascader\";\nexport * from \"./components/Typography\";\nexport * from \"./components/ColorPicker\";\nexport * from \"./components/Drawer\";\nexport * from \"./components/Theme\";\n\n/** Package version — bumped by release scripts. */\nexport const VERSION = \"0.4.0\";\n"]}
package/dist/index.d.cts CHANGED
@@ -26,6 +26,9 @@ export { StatusBar, StatusBarItem, StatusBarItemProps, StatusBarProps } from './
26
26
  export { Splitter, SplitterDirection, SplitterProps } from './Splitter.cjs';
27
27
  export { ContextMenu, ContextMenuItem, ContextMenuProps } from './ContextMenu.cjs';
28
28
  export { CommandItem, CommandPalette, CommandPaletteProps } from './CommandPalette.cjs';
29
+ export { InputNumber, InputNumberProps } from './InputNumber.cjs';
30
+ export { AutoComplete, AutoCompleteOption, AutoCompleteProps } from './AutoComplete.cjs';
31
+ export { ErrorField, Form, FormInstance, FormItem, FormItemProps, FormLayout, FormProps, Rule, useForm } from './Form.cjs';
29
32
  export { Empty, EmptyProps, Skeleton, SkeletonAvatarConfig, SkeletonParagraphConfig, SkeletonProps, SkeletonTitleConfig, Spinner, SpinnerProps } from './Empty.cjs';
30
33
  export { Image, ImageGrid, ImageGridProps, ImageProps } from './Image.cjs';
31
34
  export { Cascader, CascaderOption, CascaderProps } from './Cascader.cjs';
@@ -37,6 +40,6 @@ import 'react';
37
40
  import 'react/jsx-runtime';
38
41
 
39
42
  /** Package version — bumped by release scripts. */
40
- declare const VERSION = "0.3.0";
43
+ declare const VERSION = "0.4.0";
41
44
 
42
45
  export { VERSION };
package/dist/index.d.ts CHANGED
@@ -26,6 +26,9 @@ export { StatusBar, StatusBarItem, StatusBarItemProps, StatusBarProps } from './
26
26
  export { Splitter, SplitterDirection, SplitterProps } from './Splitter.js';
27
27
  export { ContextMenu, ContextMenuItem, ContextMenuProps } from './ContextMenu.js';
28
28
  export { CommandItem, CommandPalette, CommandPaletteProps } from './CommandPalette.js';
29
+ export { InputNumber, InputNumberProps } from './InputNumber.js';
30
+ export { AutoComplete, AutoCompleteOption, AutoCompleteProps } from './AutoComplete.js';
31
+ export { ErrorField, Form, FormInstance, FormItem, FormItemProps, FormLayout, FormProps, Rule, useForm } from './Form.js';
29
32
  export { Empty, EmptyProps, Skeleton, SkeletonAvatarConfig, SkeletonParagraphConfig, SkeletonProps, SkeletonTitleConfig, Spinner, SpinnerProps } from './Empty.js';
30
33
  export { Image, ImageGrid, ImageGridProps, ImageProps } from './Image.js';
31
34
  export { Cascader, CascaderOption, CascaderProps } from './Cascader.js';
@@ -37,6 +40,6 @@ import 'react';
37
40
  import 'react/jsx-runtime';
38
41
 
39
42
  /** Package version — bumped by release scripts. */
40
- declare const VERSION = "0.3.0";
43
+ declare const VERSION = "0.4.0";
41
44
 
42
45
  export { VERSION };
package/dist/index.js CHANGED
@@ -1,42 +1,45 @@
1
+ export { Table, TablePro } from './chunk-CTYW42GG.js';
2
+ export { Segmented, Tabs } from './chunk-JSDQVVQB.js';
1
3
  export { ACCENT_PRESETS, ACCENT_PRESETS_DARK, FONT_STACKS, ThemeProvider, applyTheme, normalizeAccentInput, resolveThemeMode, useTheme, useThemeOptional } from './chunk-W6I67HQQ.js';
2
- export { ToastContainer, toast } from './chunk-TMZVX6NO.js';
4
+ export { ToastContainer, toast } from './chunk-7M7NAMR5.js';
3
5
  export { Tooltip } from './chunk-FFZLSY2N.js';
4
- export { Link, Paragraph, Text, Title, Typography } from './chunk-3LI6QH2Q.js';
6
+ export { Link, Paragraph, Text, Title, Typography } from './chunk-I7WLFADD.js';
7
+ export { Pagination } from './chunk-AESLEYST.js';
8
+ export { Popover } from './chunk-3UU2PUK4.js';
9
+ export { Progress, Ring } from './chunk-5PREWYTB.js';
10
+ export { Select } from './chunk-6XZ362VL.js';
11
+ export { Badge, Tag } from './chunk-LXNR6TQK.js';
5
12
  export { Slider } from './chunk-QJGKI2BD.js';
6
13
  export { Splitter } from './chunk-47Z4NIU4.js';
7
14
  export { StatusBar, StatusBarItem } from './chunk-OWNVDXRQ.js';
8
15
  export { Switch } from './chunk-6GNFRP2H.js';
9
- export { Table, TablePro } from './chunk-XZ22B3NW.js';
10
- export { Segmented, Tabs } from './chunk-JSDQVVQB.js';
11
- export { Image, ImageGrid } from './chunk-YXKJOPYT.js';
16
+ export { Empty, Skeleton, Spinner } from './chunk-GR5STMOA.js';
17
+ export { Form, FormItem, useForm } from './chunk-IHACXMOI.js';
18
+ export { Image, ImageGrid } from './chunk-OM76QWUN.js';
19
+ export { InputNumber } from './chunk-E62JFAHW.js';
12
20
  export { List } from './chunk-WDBJVKSR.js';
13
- export { Modal } from './chunk-MTCLJHXU.js';
14
- export { Pagination } from './chunk-WQFC5EMC.js';
15
- export { Select } from './chunk-URLSZPS5.js';
16
- export { Badge, Tag } from './chunk-276NALYW.js';
17
- export { Popover } from './chunk-3UU2PUK4.js';
18
- export { Progress, Ring } from './chunk-5PREWYTB.js';
19
- export { Cascader } from './chunk-NGQDVJH3.js';
20
- export { Checkbox, RadioGroup } from './chunk-Q2EXOT4B.js';
21
+ export { Modal } from './chunk-TZLM5GF4.js';
22
+ export { Card, Panel } from './chunk-4SCDDSXY.js';
23
+ export { Cascader } from './chunk-ZFJHUOFU.js';
24
+ export { Checkbox, RadioGroup } from './chunk-PKXXR76Q.js';
21
25
  export { ColorPicker } from './chunk-I2HHC6QW.js';
22
- import './chunk-V2DIQ3RH.js';
23
- export { CommandPalette } from './chunk-XDFZRV3V.js';
24
- export { Input, Textarea } from './chunk-WBMF7WM3.js';
26
+ export { CommandPalette } from './chunk-6Z24VO3K.js';
25
27
  export { ContextMenu } from './chunk-RFU5HN4E.js';
26
28
  export { Divider } from './chunk-5N7347MI.js';
27
- export { Drawer } from './chunk-U5BZ7E3F.js';
28
- export { Empty, Skeleton, Spinner } from './chunk-GR5STMOA.js';
29
- export { Accordion } from './chunk-U4K7HOMW.js';
30
- export { Alert } from './chunk-TY5EAKEI.js';
29
+ export { Drawer } from './chunk-FXQGPHK2.js';
30
+ export { Accordion } from './chunk-O7C6S644.js';
31
+ export { Alert } from './chunk-KW7Z4IQC.js';
31
32
  export { AppShell, Sidebar, TitleBar, WindowControls } from './chunk-UQB5OHMO.js';
33
+ export { AutoComplete } from './chunk-IOWREUEP.js';
34
+ import './chunk-V2DIQ3RH.js';
35
+ export { Input, Textarea } from './chunk-WUOFJPZ4.js';
32
36
  export { Avatar } from './chunk-NS3C2ZSE.js';
33
- export { Button, IconButton } from './chunk-5UOBYRYJ.js';
34
- export { Calendar } from './chunk-DBJIK4JE.js';
35
- export { ICON_NAMES, Icon } from './chunk-GEYMWUW6.js';
36
- export { Card, Panel } from './chunk-4SCDDSXY.js';
37
+ export { Button, IconButton } from './chunk-JXHMJUVI.js';
38
+ export { Calendar } from './chunk-XCYE4OQV.js';
39
+ export { ICON_NAMES, Icon } from './chunk-QOGROEVD.js';
37
40
 
38
41
  // src/index.ts
39
- var VERSION = "0.3.0";
42
+ var VERSION = "0.4.0";
40
43
 
41
44
  export { VERSION };
42
45
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCO,IAAM,OAAA,GAAU","file":"index.js","sourcesContent":["/* lumina — public exports */\n\nexport * from \"./components/Icon\";\nexport * from \"./components/Button\";\nexport * from \"./components/Input\";\nexport * from \"./components/Switch\";\nexport * from \"./components/Checkbox\";\nexport * from \"./components/Slider\";\nexport * from \"./components/Select\";\nexport * from \"./components/Tabs\";\nexport * from \"./components/Accordion\";\nexport * from \"./components/Card\";\nexport * from \"./components/Tag\";\nexport * from \"./components/Avatar\";\nexport * from \"./components/Divider\";\nexport * from \"./components/Progress\";\nexport * from \"./components/Modal\";\nexport * from \"./components/Toast\";\nexport * from \"./components/Tooltip\";\nexport * from \"./components/Popover\";\nexport * from \"./components/Alert\";\nexport * from \"./components/Table\";\nexport * from \"./components/Pagination\";\nexport * from \"./components/Calendar\";\nexport * from \"./components/List\";\nexport * from \"./components/AppShell\";\nexport * from \"./components/StatusBar\";\nexport * from \"./components/Splitter\";\nexport * from \"./components/ContextMenu\";\nexport * from \"./components/CommandPalette\";\nexport * from \"./components/Empty\";\nexport * from \"./components/Image\";\nexport * from \"./components/Cascader\";\nexport * from \"./components/Typography\";\nexport * from \"./components/ColorPicker\";\nexport * from \"./components/Drawer\";\nexport * from \"./components/Theme\";\n\n/** Package version — bumped by release scripts. */\nexport const VERSION = \"0.3.0\";\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CO,IAAM,OAAA,GAAU","file":"index.js","sourcesContent":["/* lumina — public exports */\n\nexport * from \"./components/Icon\";\nexport * from \"./components/Button\";\nexport * from \"./components/Input\";\nexport * from \"./components/Switch\";\nexport * from \"./components/Checkbox\";\nexport * from \"./components/Slider\";\nexport * from \"./components/Select\";\nexport * from \"./components/Tabs\";\nexport * from \"./components/Accordion\";\nexport * from \"./components/Card\";\nexport * from \"./components/Tag\";\nexport * from \"./components/Avatar\";\nexport * from \"./components/Divider\";\nexport * from \"./components/Progress\";\nexport * from \"./components/Modal\";\nexport * from \"./components/Toast\";\nexport * from \"./components/Tooltip\";\nexport * from \"./components/Popover\";\nexport * from \"./components/Alert\";\nexport * from \"./components/Table\";\nexport * from \"./components/Pagination\";\nexport * from \"./components/Calendar\";\nexport * from \"./components/List\";\nexport * from \"./components/AppShell\";\nexport * from \"./components/StatusBar\";\nexport * from \"./components/Splitter\";\nexport * from \"./components/ContextMenu\";\nexport * from \"./components/CommandPalette\";\nexport * from \"./components/InputNumber\";\nexport * from \"./components/AutoComplete\";\nexport * from \"./components/Form\";\nexport * from \"./components/Empty\";\nexport * from \"./components/Image\";\nexport * from \"./components/Cascader\";\nexport * from \"./components/Typography\";\nexport * from \"./components/ColorPicker\";\nexport * from \"./components/Drawer\";\nexport * from \"./components/Theme\";\n\n/** Package version — bumped by release scripts. */\nexport const VERSION = \"0.4.0\";\n"]}
@@ -0,0 +1,56 @@
1
+ # AutoComplete 自动补全
2
+
3
+ > 输入时展示建议下拉,不限定必须从候选中选。
4
+
5
+ ## 示例
6
+
7
+ ### 基础
8
+
9
+ ```tsx
10
+ <AutoComplete
11
+ options={[
12
+ { value: "light" },
13
+ { value: "dark" },
14
+ { value: "system" },
15
+ ]}
16
+ placeholder="主题"
17
+ />
18
+ ```
19
+
20
+ ### 自定义 label
21
+
22
+ ```tsx
23
+ options={[{ value: "zh", label: "中文 · Chinese" }]}
24
+ ```
25
+
26
+ ### 动态加载
27
+
28
+ onSearch 在用户输入时触发,常配合后端检索使用。
29
+
30
+ ```tsx
31
+ const [opts, setOpts] = useState([]);
32
+ <AutoComplete
33
+ options={opts}
34
+ onSearch={(text) => setOpts(generate(text))}
35
+ />
36
+ ```
37
+
38
+ ## API
39
+
40
+ **AutoComplete**
41
+
42
+ | Prop | 类型 | 默认 | 说明 |
43
+ | --- | --- | --- | --- |
44
+ | value / defaultValue | `string` | — | 受控 / 初始值 |
45
+ | onChange | `(value, option?) => void` | — | 文本变更 |
46
+ | onSelect | `(value, option) => void` | — | 选中项回调 |
47
+ | onSearch | `(text) => void` | — | 输入变化回调 |
48
+ | options \* | `{ value, label?, disabled? }[]` | — | 候选项 |
49
+ | filterOption | `boolean | (input, option) => boolean` | `true` | 过滤函数,false 关闭过滤 |
50
+ | notFoundContent | `ReactNode` | — | 无匹配占位 |
51
+ | allowClear / disabled / size / autoFocus / placeholder | `-` | — | 常规属性 |
52
+ | matchTriggerWidth | `boolean` | `true` | 下拉宽度跟随输入框 |
53
+
54
+
55
+ ---
56
+ [← 回到索引](../llms.md)