@rockshin/tao-ui 0.0.40 → 0.0.42

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 (338) hide show
  1. package/README.md +33 -7
  2. package/THIRD_PARTY_NOTICES.md +34 -0
  3. package/component-manifest.json +1321 -10
  4. package/dist/components/affix/affix.css +11 -0
  5. package/dist/components/affix/affix.d.ts +21 -0
  6. package/dist/components/affix/affix.js +140 -0
  7. package/dist/components/app/app-modals.d.ts +2 -0
  8. package/dist/components/app/app-modals.js +266 -0
  9. package/dist/components/app/app-notices.d.ts +6 -0
  10. package/dist/components/app/app-notices.js +334 -0
  11. package/dist/components/app/app-types.d.ts +154 -0
  12. package/dist/components/app/app-types.js +0 -0
  13. package/dist/components/app/app.css +221 -0
  14. package/dist/components/app/app.d.ts +7 -0
  15. package/dist/components/app/app.js +69 -0
  16. package/dist/components/auto-complete/auto-complete.css +35 -0
  17. package/dist/components/auto-complete/auto-complete.d.ts +47 -0
  18. package/dist/components/auto-complete/auto-complete.js +106 -0
  19. package/dist/components/avatar/avatar.css +95 -0
  20. package/dist/components/avatar/avatar.d.ts +50 -0
  21. package/dist/components/avatar/avatar.js +159 -0
  22. package/dist/components/badge/badge.css +165 -0
  23. package/dist/components/badge/badge.d.ts +48 -0
  24. package/dist/components/badge/badge.js +412 -0
  25. package/dist/components/border-beam/border-beam.css +35 -0
  26. package/dist/components/border-beam/border-beam.d.ts +27 -0
  27. package/dist/components/border-beam/border-beam.js +215 -0
  28. package/dist/components/button/button.css +7 -0
  29. package/dist/components/calendar/calendar.css +176 -0
  30. package/dist/components/calendar/calendar.d.ts +56 -0
  31. package/dist/components/calendar/calendar.js +175 -0
  32. package/dist/components/card/card-tabs.d.ts +43 -0
  33. package/dist/components/card/card-tabs.js +455 -0
  34. package/dist/components/card/card.css +401 -0
  35. package/dist/components/card/card.d.ts +74 -0
  36. package/dist/components/card/card.js +362 -0
  37. package/dist/components/carousel/carousel.css +231 -0
  38. package/dist/components/carousel/carousel.d.ts +35 -0
  39. package/dist/components/carousel/carousel.js +193 -0
  40. package/dist/components/cascader/cascader.css +123 -0
  41. package/dist/components/cascader/cascader.d.ts +58 -0
  42. package/dist/components/cascader/cascader.js +132 -0
  43. package/dist/components/checkbox/checkbox.css +7 -0
  44. package/dist/components/color-picker/color-picker-types.d.ts +78 -0
  45. package/dist/components/color-picker/color-picker-types.js +0 -0
  46. package/dist/components/color-picker/color-picker.css +299 -0
  47. package/dist/components/color-picker/color-picker.d.ts +5 -0
  48. package/dist/components/color-picker/color-picker.js +974 -0
  49. package/dist/components/color-picker/color.d.ts +35 -0
  50. package/dist/components/color-picker/color.js +65 -0
  51. package/dist/components/date-picker/calendar/calendar-grid.js +4 -11
  52. package/dist/components/date-picker/calendar/calendar-header.js +76 -69
  53. package/dist/components/date-picker/calendar/month-grid.js +20 -31
  54. package/dist/components/date-picker/calendar/time-panel.js +46 -41
  55. package/dist/components/date-picker/date-picker.css +4 -0
  56. package/dist/components/date-picker/date-picker.js +4 -4
  57. package/dist/components/date-picker/range-picker.js +14 -13
  58. package/dist/components/descriptions/descriptions.css +109 -0
  59. package/dist/components/descriptions/descriptions.d.ts +49 -0
  60. package/dist/components/descriptions/descriptions.js +189 -0
  61. package/dist/components/divider/divider.css +71 -0
  62. package/dist/components/divider/divider.d.ts +31 -0
  63. package/dist/components/divider/divider.js +83 -0
  64. package/dist/components/drawer/drawer.js +199 -184
  65. package/dist/components/empty/empty.css +35 -0
  66. package/dist/components/empty/empty.d.ts +25 -0
  67. package/dist/components/empty/empty.js +278 -0
  68. package/dist/components/float-button/float-button.css +146 -0
  69. package/dist/components/float-button/float-button.d.ts +67 -0
  70. package/dist/components/float-button/float-button.js +347 -0
  71. package/dist/components/form/form-item.d.ts +1 -1
  72. package/dist/components/form/form.js +3 -1
  73. package/dist/components/image/image-icons.d.ts +16 -0
  74. package/dist/components/image/image-icons.js +63 -0
  75. package/dist/components/image/image.css +253 -0
  76. package/dist/components/image/image.d.ts +75 -0
  77. package/dist/components/image/image.js +818 -0
  78. package/dist/components/input/input.css +8 -6
  79. package/dist/components/list/list-pagination.css +127 -0
  80. package/dist/components/list/list-pagination.d.ts +38 -0
  81. package/dist/components/list/list-pagination.js +321 -0
  82. package/dist/components/list/list.css +225 -0
  83. package/dist/components/list/list.d.ts +77 -0
  84. package/dist/components/list/list.js +660 -0
  85. package/dist/components/listy/listy.css +55 -0
  86. package/dist/components/listy/listy.d.ts +20 -0
  87. package/dist/components/listy/listy.js +158 -0
  88. package/dist/components/masonry/masonry.css +13 -0
  89. package/dist/components/masonry/masonry.d.ts +39 -0
  90. package/dist/components/masonry/masonry.js +287 -0
  91. package/dist/components/mentions/mentions.css +172 -0
  92. package/dist/components/mentions/mentions.d.ts +48 -0
  93. package/dist/components/mentions/mentions.js +115 -0
  94. package/dist/components/modal/modal.d.ts +30 -4
  95. package/dist/components/modal/modal.js +534 -241
  96. package/dist/components/pagination/pagination.css +10 -0
  97. package/dist/components/progress/progress.css +187 -0
  98. package/dist/components/progress/progress.d.ts +66 -0
  99. package/dist/components/progress/progress.js +567 -0
  100. package/dist/components/qr-code/qr-code.css +39 -0
  101. package/dist/components/qr-code/qr-code.d.ts +43 -0
  102. package/dist/components/qr-code/qr-code.js +286 -0
  103. package/dist/components/radio/radio.css +7 -0
  104. package/dist/components/rate/rate.css +97 -0
  105. package/dist/components/rate/rate.d.ts +17 -0
  106. package/dist/components/rate/rate.js +172 -0
  107. package/dist/components/result/result.css +69 -0
  108. package/dist/components/result/result.d.ts +33 -0
  109. package/dist/components/result/result.js +320 -0
  110. package/dist/components/segmented/segmented.css +134 -0
  111. package/dist/components/segmented/segmented.d.ts +40 -0
  112. package/dist/components/segmented/segmented.js +169 -0
  113. package/dist/components/select/mobile-select.d.ts +10 -4
  114. package/dist/components/select/mobile-select.js +166 -58
  115. package/dist/components/select/select-tags.js +178 -130
  116. package/dist/components/select/select-types.d.ts +51 -0
  117. package/dist/components/select/select.css +70 -10
  118. package/dist/components/select/select.js +30 -16
  119. package/dist/components/select/use-select-selection.js +44 -43
  120. package/dist/components/skeleton/skeleton.css +129 -0
  121. package/dist/components/skeleton/skeleton.d.ts +78 -0
  122. package/dist/components/skeleton/skeleton.js +457 -0
  123. package/dist/components/slider/slider.css +191 -0
  124. package/dist/components/slider/slider.d.ts +47 -0
  125. package/dist/components/slider/slider.js +310 -0
  126. package/dist/components/statistic/statistic.css +34 -0
  127. package/dist/components/statistic/statistic.d.ts +46 -0
  128. package/dist/components/statistic/statistic.js +491 -0
  129. package/dist/components/switch/switch-touch.css +20 -0
  130. package/dist/components/switch/switch.css +24 -13
  131. package/dist/components/switch/switch.js +8 -5
  132. package/dist/components/textarea/textarea.css +1 -1
  133. package/dist/components/time-picker/time-picker.css +205 -0
  134. package/dist/components/time-picker/time-picker.d.ts +63 -0
  135. package/dist/components/time-picker/time-picker.js +356 -0
  136. package/dist/components/timeline/timeline.css +259 -0
  137. package/dist/components/timeline/timeline.d.ts +50 -0
  138. package/dist/components/timeline/timeline.js +140 -0
  139. package/dist/components/tour/tour.css +151 -0
  140. package/dist/components/tour/tour.d.ts +45 -0
  141. package/dist/components/tour/tour.js +575 -0
  142. package/dist/components/transfer/transfer-list.d.ts +2 -0
  143. package/dist/components/transfer/transfer-list.js +513 -0
  144. package/dist/components/transfer/transfer-parts.d.ts +3 -0
  145. package/dist/components/transfer/transfer-parts.js +163 -0
  146. package/dist/components/transfer/transfer-types.d.ts +163 -0
  147. package/dist/components/transfer/transfer-types.js +0 -0
  148. package/dist/components/transfer/transfer.css +226 -0
  149. package/dist/components/transfer/transfer.d.ts +13 -0
  150. package/dist/components/transfer/transfer.js +204 -0
  151. package/dist/components/tree/tree.css +250 -0
  152. package/dist/components/tree/tree.d.ts +46 -0
  153. package/dist/components/tree/tree.js +389 -0
  154. package/dist/components/tree-select/select-engine.css +231 -0
  155. package/dist/components/tree-select/select-engine.d.ts +20 -0
  156. package/dist/components/tree-select/select-engine.js +46 -0
  157. package/dist/components/tree-select/tree-select.css +25 -0
  158. package/dist/components/tree-select/tree-select.d.ts +50 -0
  159. package/dist/components/tree-select/tree-select.js +131 -0
  160. package/dist/components/upload/upload-types.d.ts +135 -0
  161. package/dist/components/upload/upload-types.js +0 -0
  162. package/dist/components/upload/upload.css +177 -0
  163. package/dist/components/upload/upload.d.ts +12 -0
  164. package/dist/components/upload/upload.js +455 -0
  165. package/dist/components/watermark/watermark-context.d.ts +7 -0
  166. package/dist/components/watermark/watermark-context.js +20 -0
  167. package/dist/components/watermark/watermark.css +10 -0
  168. package/dist/components/watermark/watermark.d.ts +38 -0
  169. package/dist/components/watermark/watermark.js +436 -0
  170. package/dist/docs/component-docs.d.ts +35 -29
  171. package/dist/docs/component-docs.js +73 -1
  172. package/dist/docs/components/affix.doc.d.ts +14 -0
  173. package/dist/docs/components/affix.doc.js +22 -0
  174. package/dist/docs/components/app.doc.d.ts +18 -0
  175. package/dist/docs/components/app.doc.js +42 -0
  176. package/dist/docs/components/auto-complete.doc.d.ts +18 -0
  177. package/dist/docs/components/auto-complete.doc.js +49 -0
  178. package/dist/docs/components/avatar.doc.d.ts +17 -0
  179. package/dist/docs/components/avatar.doc.js +36 -0
  180. package/dist/docs/components/badge.doc.d.ts +17 -0
  181. package/dist/docs/components/badge.doc.js +34 -0
  182. package/dist/docs/components/border-beam.doc.d.ts +14 -0
  183. package/dist/docs/components/border-beam.doc.js +22 -0
  184. package/dist/docs/components/calendar.doc.d.ts +18 -0
  185. package/dist/docs/components/calendar.doc.js +45 -0
  186. package/dist/docs/components/card.doc.d.ts +17 -0
  187. package/dist/docs/components/card.doc.js +39 -0
  188. package/dist/docs/components/carousel.doc.d.ts +15 -0
  189. package/dist/docs/components/carousel.doc.js +26 -0
  190. package/dist/docs/components/cascader.doc.d.ts +18 -0
  191. package/dist/docs/components/cascader.doc.js +54 -0
  192. package/dist/docs/components/color-picker.doc.d.ts +18 -0
  193. package/dist/docs/components/color-picker.doc.js +46 -0
  194. package/dist/docs/components/descriptions.doc.d.ts +14 -0
  195. package/dist/docs/components/descriptions.doc.js +26 -0
  196. package/dist/docs/components/divider.doc.d.ts +17 -0
  197. package/dist/docs/components/divider.doc.js +34 -0
  198. package/dist/docs/components/empty.doc.d.ts +18 -0
  199. package/dist/docs/components/empty.doc.js +40 -0
  200. package/dist/docs/components/float-button.doc.d.ts +14 -0
  201. package/dist/docs/components/float-button.doc.js +23 -0
  202. package/dist/docs/components/form.doc.d.ts +1 -1
  203. package/dist/docs/components/image.doc.d.ts +15 -0
  204. package/dist/docs/components/image.doc.js +38 -0
  205. package/dist/docs/components/list.doc.d.ts +18 -0
  206. package/dist/docs/components/list.doc.js +43 -0
  207. package/dist/docs/components/listy.doc.d.ts +18 -0
  208. package/dist/docs/components/listy.doc.js +40 -0
  209. package/dist/docs/components/masonry.doc.d.ts +14 -0
  210. package/dist/docs/components/masonry.doc.js +22 -0
  211. package/dist/docs/components/mentions.doc.d.ts +18 -0
  212. package/dist/docs/components/mentions.doc.js +43 -0
  213. package/dist/docs/components/modal.doc.js +3 -0
  214. package/dist/docs/components/progress.doc.d.ts +18 -0
  215. package/dist/docs/components/progress.doc.js +41 -0
  216. package/dist/docs/components/qr-code.doc.d.ts +18 -0
  217. package/dist/docs/components/qr-code.doc.js +41 -0
  218. package/dist/docs/components/rate.doc.d.ts +18 -0
  219. package/dist/docs/components/rate.doc.js +38 -0
  220. package/dist/docs/components/result.doc.d.ts +18 -0
  221. package/dist/docs/components/result.doc.js +42 -0
  222. package/dist/docs/components/segmented.doc.d.ts +14 -0
  223. package/dist/docs/components/segmented.doc.js +24 -0
  224. package/dist/docs/components/skeleton.doc.d.ts +18 -0
  225. package/dist/docs/components/skeleton.doc.js +42 -0
  226. package/dist/docs/components/slider.doc.d.ts +18 -0
  227. package/dist/docs/components/slider.doc.js +41 -0
  228. package/dist/docs/components/statistic.doc.d.ts +14 -0
  229. package/dist/docs/components/statistic.doc.js +27 -0
  230. package/dist/docs/components/time-picker.doc.d.ts +18 -0
  231. package/dist/docs/components/time-picker.doc.js +45 -0
  232. package/dist/docs/components/timeline.doc.d.ts +14 -0
  233. package/dist/docs/components/timeline.doc.js +29 -0
  234. package/dist/docs/components/tooltip.doc.d.ts +2 -2
  235. package/dist/docs/components/tour.doc.d.ts +15 -0
  236. package/dist/docs/components/tour.doc.js +36 -0
  237. package/dist/docs/components/transfer.doc.d.ts +18 -0
  238. package/dist/docs/components/transfer.doc.js +48 -0
  239. package/dist/docs/components/tree-select.doc.d.ts +18 -0
  240. package/dist/docs/components/tree-select.doc.js +55 -0
  241. package/dist/docs/components/tree.doc.d.ts +18 -0
  242. package/dist/docs/components/tree.doc.js +46 -0
  243. package/dist/docs/components/upload.doc.d.ts +18 -0
  244. package/dist/docs/components/upload.doc.js +43 -0
  245. package/dist/docs/components/watermark.doc.d.ts +14 -0
  246. package/dist/docs/components/watermark.doc.js +22 -0
  247. package/dist/entries/affix.d.ts +3 -0
  248. package/dist/entries/affix.js +4 -0
  249. package/dist/entries/app.d.ts +3 -0
  250. package/dist/entries/app.js +4 -0
  251. package/dist/entries/auto-complete.d.ts +4 -0
  252. package/dist/entries/auto-complete.js +4 -0
  253. package/dist/entries/avatar.d.ts +3 -0
  254. package/dist/entries/avatar.js +4 -0
  255. package/dist/entries/badge.d.ts +3 -0
  256. package/dist/entries/badge.js +4 -0
  257. package/dist/entries/border-beam.d.ts +3 -0
  258. package/dist/entries/border-beam.js +4 -0
  259. package/dist/entries/calendar.d.ts +3 -0
  260. package/dist/entries/calendar.js +4 -0
  261. package/dist/entries/card.d.ts +3 -0
  262. package/dist/entries/card.js +4 -0
  263. package/dist/entries/carousel.d.ts +3 -0
  264. package/dist/entries/carousel.js +4 -0
  265. package/dist/entries/cascader.d.ts +4 -0
  266. package/dist/entries/cascader.js +4 -0
  267. package/dist/entries/color-picker.d.ts +5 -0
  268. package/dist/entries/color-picker.js +4 -0
  269. package/dist/entries/descriptions.d.ts +3 -0
  270. package/dist/entries/descriptions.js +4 -0
  271. package/dist/entries/divider.d.ts +3 -0
  272. package/dist/entries/divider.js +4 -0
  273. package/dist/entries/empty.d.ts +3 -0
  274. package/dist/entries/empty.js +4 -0
  275. package/dist/entries/float-button.d.ts +3 -0
  276. package/dist/entries/float-button.js +4 -0
  277. package/dist/entries/image.d.ts +3 -0
  278. package/dist/entries/image.js +4 -0
  279. package/dist/entries/list.d.ts +3 -0
  280. package/dist/entries/list.js +4 -0
  281. package/dist/entries/listy.d.ts +3 -0
  282. package/dist/entries/listy.js +4 -0
  283. package/dist/entries/masonry.d.ts +3 -0
  284. package/dist/entries/masonry.js +4 -0
  285. package/dist/entries/mentions.d.ts +4 -0
  286. package/dist/entries/mentions.js +4 -0
  287. package/dist/entries/progress.d.ts +3 -0
  288. package/dist/entries/progress.js +4 -0
  289. package/dist/entries/provider.d.ts +1 -1
  290. package/dist/entries/provider.js +1 -1
  291. package/dist/entries/qr-code.d.ts +4 -0
  292. package/dist/entries/qr-code.js +4 -0
  293. package/dist/entries/rate.d.ts +3 -0
  294. package/dist/entries/rate.js +4 -0
  295. package/dist/entries/result.d.ts +3 -0
  296. package/dist/entries/result.js +4 -0
  297. package/dist/entries/segmented.d.ts +3 -0
  298. package/dist/entries/segmented.js +4 -0
  299. package/dist/entries/skeleton.d.ts +3 -0
  300. package/dist/entries/skeleton.js +4 -0
  301. package/dist/entries/slider.d.ts +3 -0
  302. package/dist/entries/slider.js +4 -0
  303. package/dist/entries/statistic.d.ts +3 -0
  304. package/dist/entries/statistic.js +4 -0
  305. package/dist/entries/time-picker.d.ts +3 -0
  306. package/dist/entries/time-picker.js +4 -0
  307. package/dist/entries/timeline.d.ts +3 -0
  308. package/dist/entries/timeline.js +4 -0
  309. package/dist/entries/tour.d.ts +3 -0
  310. package/dist/entries/tour.js +4 -0
  311. package/dist/entries/transfer.d.ts +3 -0
  312. package/dist/entries/transfer.js +4 -0
  313. package/dist/entries/tree-select.d.ts +4 -0
  314. package/dist/entries/tree-select.js +4 -0
  315. package/dist/entries/tree.d.ts +3 -0
  316. package/dist/entries/tree.js +4 -0
  317. package/dist/entries/upload.d.ts +4 -0
  318. package/dist/entries/upload.js +4 -0
  319. package/dist/entries/util.d.ts +1 -0
  320. package/dist/entries/util.js +1 -0
  321. package/dist/entries/watermark.d.ts +3 -0
  322. package/dist/entries/watermark.js +4 -0
  323. package/dist/index.d.ts +48 -3
  324. package/dist/index.js +38 -2
  325. package/dist/provider/locale.d.ts +59 -0
  326. package/dist/provider/locale.js +136 -0
  327. package/dist/provider/tao-provider.d.ts +16 -1
  328. package/dist/provider/tao-provider.js +104 -87
  329. package/dist/theme/control.css +10 -0
  330. package/dist/theme/theme.css +1 -1
  331. package/dist/utils/breakpoint.d.ts +2 -2
  332. package/dist/utils/breakpoint.js +3 -1
  333. package/dist/utils/interop-default.d.ts +2 -0
  334. package/dist/utils/interop-default.js +4 -0
  335. package/dist/utils/types.d.ts +7 -0
  336. package/dist/utils/types.js +0 -0
  337. package/llms.txt +476 -8
  338. package/package.json +27 -6
@@ -0,0 +1,54 @@
1
+ const cascaderDoc = {
2
+ name: 'cascader',
3
+ displayName: 'Cascader',
4
+ category: 'Data Entry',
5
+ description: 'Choose paths through hierarchical options with search, lazy loading, multiple selection and an inline panel.',
6
+ exports: [
7
+ 'Cascader',
8
+ 'CascaderPanel'
9
+ ],
10
+ source: 'src/components/cascader/cascader.tsx',
11
+ story: 'stories/cascader.stories.tsx',
12
+ tests: [
13
+ 'tests/cascader/cascader.test.tsx'
14
+ ],
15
+ semanticParts: [
16
+ 'root',
17
+ 'prefix',
18
+ 'suffix',
19
+ 'input',
20
+ 'clear',
21
+ 'placeholder',
22
+ 'content',
23
+ 'item',
24
+ 'itemContent',
25
+ 'itemRemove',
26
+ 'popup.root',
27
+ 'popup.list',
28
+ 'popup.listItem'
29
+ ],
30
+ keywords: [
31
+ 'cascade',
32
+ 'select',
33
+ 'path',
34
+ 'hierarchy',
35
+ 'location'
36
+ ],
37
+ related: [
38
+ 'TreeSelect',
39
+ 'Select'
40
+ ],
41
+ usage: {
42
+ description: 'Use Cascader when users select a complete path such as region, department or category.',
43
+ bestPractices: [
44
+ 'Use stable values at each level.',
45
+ 'Enable changeOnSelect when parent paths are valid choices.',
46
+ 'Use Cascader.Panel when the hierarchy should stay visible.'
47
+ ],
48
+ avoid: [
49
+ 'Do not combine lazy loadData with search over unloaded options.',
50
+ 'Do not flatten paths before handling onChange.'
51
+ ]
52
+ }
53
+ };
54
+ export { cascaderDoc };
@@ -0,0 +1,18 @@
1
+ export declare const colorPickerDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Entry";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ related: string[];
13
+ usage: {
14
+ description: string;
15
+ bestPractices: string[];
16
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,46 @@
1
+ const colorPickerDoc = {
2
+ name: 'color-picker',
3
+ displayName: 'ColorPicker',
4
+ category: 'Data Entry',
5
+ description: 'Choose single or gradient colors with hex, RGB, HSB and alpha controls.',
6
+ exports: [
7
+ 'ColorPicker'
8
+ ],
9
+ source: 'src/components/color-picker/color-picker.tsx',
10
+ story: 'stories/color-picker.stories.tsx',
11
+ tests: [
12
+ 'tests/color-picker/color-picker.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'body',
17
+ 'content',
18
+ "description",
19
+ 'popup.root',
20
+ 'popup.container'
21
+ ],
22
+ keywords: [
23
+ 'color',
24
+ 'palette',
25
+ 'gradient',
26
+ 'hex',
27
+ 'rgb',
28
+ 'hsb'
29
+ ],
30
+ related: [
31
+ 'Popover',
32
+ 'Input'
33
+ ],
34
+ usage: {
35
+ description: 'Keep the returned Color object when precision matters and call toCssString for use in CSS.',
36
+ bestPractices: [
37
+ 'Use presets for a constrained brand palette.',
38
+ 'Use disabledAlpha when transparency is not supported.',
39
+ 'Use onChangeComplete when a finished edit should be committed.'
40
+ ],
41
+ avoid: [
42
+ 'Do not discard the Color object during a drag if precision matters.'
43
+ ]
44
+ }
45
+ };
46
+ export { colorPickerDoc };
@@ -0,0 +1,14 @@
1
+ export declare const descriptionsDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Display";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ usage: {
12
+ description: string;
13
+ };
14
+ };
@@ -0,0 +1,26 @@
1
+ const descriptionsDoc = {
2
+ name: "descriptions",
3
+ displayName: "Descriptions",
4
+ category: 'Data Display',
5
+ description: 'Displays labeled record fields with responsive columns and flexible spans.',
6
+ exports: [
7
+ "Descriptions"
8
+ ],
9
+ source: "src/components/descriptions/descriptions.tsx",
10
+ story: "stories/descriptions.stories.tsx",
11
+ tests: [
12
+ "tests/descriptions/descriptions.test.tsx"
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'header',
17
+ 'title',
18
+ 'extra',
19
+ 'label',
20
+ 'content'
21
+ ],
22
+ usage: {
23
+ description: "Use Descriptions for read-only details; use Form for editable fields."
24
+ }
25
+ };
26
+ export { descriptionsDoc };
@@ -0,0 +1,17 @@
1
+ export declare const dividerDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Layout";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ usage: {
13
+ description: string;
14
+ bestPractices: string[];
15
+ avoid: string[];
16
+ };
17
+ };
@@ -0,0 +1,34 @@
1
+ const dividerDoc = {
2
+ name: 'divider',
3
+ displayName: 'Divider',
4
+ category: 'Layout',
5
+ description: 'Separates sections or inline actions with an optional title.',
6
+ exports: [
7
+ 'Divider'
8
+ ],
9
+ source: 'src/components/divider/divider.tsx',
10
+ story: 'stories/divider.stories.tsx',
11
+ tests: [
12
+ 'tests/divider/divider.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'rail',
17
+ 'content'
18
+ ],
19
+ keywords: [
20
+ 'separator',
21
+ 'line',
22
+ 'section'
23
+ ],
24
+ usage: {
25
+ description: 'Use a divider when spacing alone cannot explain a section boundary.',
26
+ bestPractices: [
27
+ 'Use vertical dividers between short inline actions.'
28
+ ],
29
+ avoid: [
30
+ 'Do not put titles inside vertical dividers.'
31
+ ]
32
+ }
33
+ };
34
+ export { dividerDoc };
@@ -0,0 +1,18 @@
1
+ export declare const emptyDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Display";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ related: string[];
13
+ usage: {
14
+ description: string;
15
+ bestPractices: string[];
16
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,40 @@
1
+ const emptyDoc = {
2
+ name: 'empty',
3
+ displayName: 'Empty',
4
+ category: 'Data Display',
5
+ description: "Shows a localized empty state with an illustration, description and optional action.",
6
+ exports: [
7
+ 'Empty'
8
+ ],
9
+ source: 'src/components/empty/empty.tsx',
10
+ story: 'stories/empty.stories.tsx',
11
+ tests: [
12
+ 'tests/empty/empty.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'image',
17
+ "description",
18
+ 'footer'
19
+ ],
20
+ keywords: [
21
+ 'empty',
22
+ 'feedback',
23
+ 'status'
24
+ ],
25
+ related: [
26
+ 'Button',
27
+ 'Result'
28
+ ],
29
+ usage: {
30
+ description: "Shows a localized empty state with an illustration, description and optional action.",
31
+ bestPractices: [
32
+ 'Explain the current state and offer a useful next action.',
33
+ "Keep descriptions concise and localized."
34
+ ],
35
+ avoid: [
36
+ 'Do not replace an actionable error with an unexplained empty state.'
37
+ ]
38
+ }
39
+ };
40
+ export { emptyDoc };
@@ -0,0 +1,14 @@
1
+ export declare const floatButtonDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "General";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ usage: {
12
+ description: string;
13
+ };
14
+ };
@@ -0,0 +1,23 @@
1
+ const floatButtonDoc = {
2
+ name: 'float-button',
3
+ displayName: 'FloatButton',
4
+ category: 'General',
5
+ description: 'Provides floating actions, grouped controls and a scroll-to-top action.',
6
+ exports: [
7
+ 'FloatButton'
8
+ ],
9
+ source: 'src/components/float-button/float-button.tsx',
10
+ story: 'stories/float-button.stories.tsx',
11
+ tests: [
12
+ 'tests/float-button/float-button.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'icon',
17
+ 'content'
18
+ ],
19
+ usage: {
20
+ description: 'Provides floating actions, grouped controls and a scroll-to-top action.'
21
+ }
22
+ };
23
+ export { floatButtonDoc };
@@ -16,10 +16,10 @@ export declare const formDoc: {
16
16
  avoid: string[];
17
17
  };
18
18
  props: ({
19
+ defaultValue?: undefined;
19
20
  name: string;
20
21
  type: string;
21
22
  description: string;
22
- defaultValue?: undefined;
23
23
  } | {
24
24
  name: string;
25
25
  type: string;
@@ -0,0 +1,15 @@
1
+ export declare const imageDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Display";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ usage: {
12
+ description: string;
13
+ bestPractices: string[];
14
+ };
15
+ };
@@ -0,0 +1,38 @@
1
+ const imageDoc = {
2
+ name: 'image',
3
+ displayName: 'Image',
4
+ category: 'Data Display',
5
+ description: 'Images with keyboard-accessible preview, grouping, transforms, fallbacks and upload progress.',
6
+ exports: [
7
+ 'Image',
8
+ 'ImagePreviewGroup'
9
+ ],
10
+ source: 'src/components/image/image.tsx',
11
+ story: 'stories/image.stories.tsx',
12
+ tests: [
13
+ 'tests/image/image.test.tsx'
14
+ ],
15
+ semanticParts: [
16
+ 'root',
17
+ 'image',
18
+ 'cover',
19
+ 'popup.root',
20
+ 'popup.mask',
21
+ 'popup.body',
22
+ 'popup.footer',
23
+ 'popup.actions',
24
+ 'popup.close',
25
+ 'placeholder.progress.root',
26
+ 'placeholder.progress.content',
27
+ 'placeholder.progress.rail',
28
+ 'placeholder.progress.indicator'
29
+ ],
30
+ usage: {
31
+ description: 'Images with keyboard-accessible preview, grouping, transforms, fallbacks and upload progress.',
32
+ bestPractices: [
33
+ 'Provide meaningful labels and concise content.',
34
+ 'Keep controlled state synchronized through the change callbacks.'
35
+ ]
36
+ }
37
+ };
38
+ export { imageDoc };
@@ -0,0 +1,18 @@
1
+ export declare const listDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Display";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ related: string[];
13
+ usage: {
14
+ description: string;
15
+ bestPractices: string[];
16
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,43 @@
1
+ const listDoc = {
2
+ name: 'list',
3
+ displayName: 'List',
4
+ category: 'Data Display',
5
+ description: 'Displays records with metadata, actions, loading, pagination and responsive columns.',
6
+ exports: [
7
+ 'List'
8
+ ],
9
+ source: 'src/components/list/list.tsx',
10
+ story: 'stories/list.stories.tsx',
11
+ tests: [
12
+ 'tests/list/list.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'header',
17
+ 'items',
18
+ 'footer',
19
+ 'pagination',
20
+ 'empty'
21
+ ],
22
+ keywords: [
23
+ 'list',
24
+ 'records',
25
+ 'pagination'
26
+ ],
27
+ related: [
28
+ 'Card',
29
+ 'Listy',
30
+ 'Empty'
31
+ ],
32
+ usage: {
33
+ description: 'Compose repeated content with List.Item and List.Item.Meta.',
34
+ bestPractices: [
35
+ 'Supply stable row keys for changing records.',
36
+ 'Use a responsive grid for cards and pagination for bounded pages.'
37
+ ],
38
+ avoid: [
39
+ 'Use Listy with virtualization for very large scrollable lists.'
40
+ ]
41
+ }
42
+ };
43
+ export { listDoc };
@@ -0,0 +1,18 @@
1
+ export declare const listyDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Display";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ related: string[];
13
+ usage: {
14
+ description: string;
15
+ bestPractices: string[];
16
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,40 @@
1
+ const listyDoc = {
2
+ name: 'listy',
3
+ displayName: 'Listy',
4
+ category: 'Data Display',
5
+ description: 'Renders grouped or virtualized lists with precise item, group and position scrolling.',
6
+ exports: [
7
+ 'Listy'
8
+ ],
9
+ source: 'src/components/listy/listy.tsx',
10
+ story: 'stories/listy.stories.tsx',
11
+ tests: [
12
+ 'tests/listy/listy.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'item',
17
+ 'groupHeader'
18
+ ],
19
+ keywords: [
20
+ 'list',
21
+ 'virtual',
22
+ 'group',
23
+ 'scroll'
24
+ ],
25
+ related: [
26
+ 'List',
27
+ 'Table'
28
+ ],
29
+ usage: {
30
+ description: 'Render long lists and grouped records without mounting the entire data set.',
31
+ bestPractices: [
32
+ 'Provide stable rowKey values and a height when virtual is enabled.',
33
+ 'Use scrollTo with keys when records can change order.'
34
+ ],
35
+ avoid: [
36
+ 'Do not enable virtual scrolling without a bounded height.'
37
+ ]
38
+ }
39
+ };
40
+ export { listyDoc };
@@ -0,0 +1,14 @@
1
+ export declare const masonryDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Display";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ usage: {
12
+ description: string;
13
+ };
14
+ };
@@ -0,0 +1,22 @@
1
+ const masonryDoc = {
2
+ name: 'masonry',
3
+ displayName: 'Masonry',
4
+ category: 'Data Display',
5
+ description: 'Arranges variable-height content in responsive balanced columns.',
6
+ exports: [
7
+ 'Masonry'
8
+ ],
9
+ source: 'src/components/masonry/masonry.tsx',
10
+ story: 'stories/masonry.stories.tsx',
11
+ tests: [
12
+ 'tests/masonry/masonry.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'item'
17
+ ],
18
+ usage: {
19
+ description: 'Arranges variable-height content in responsive balanced columns.'
20
+ }
21
+ };
22
+ export { masonryDoc };
@@ -0,0 +1,18 @@
1
+ export declare const mentionsDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Data Entry";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ related: string[];
13
+ usage: {
14
+ description: string;
15
+ bestPractices: string[];
16
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,43 @@
1
+ const mentionsDoc = {
2
+ name: 'mentions',
3
+ displayName: 'Mentions',
4
+ category: 'Data Entry',
5
+ description: 'Insert mentions into multiline text using configurable prefixes, search suggestions and keyboard selection.',
6
+ exports: [
7
+ 'Mentions'
8
+ ],
9
+ source: 'src/components/mentions/mentions.tsx',
10
+ story: 'stories/mentions.stories.tsx',
11
+ tests: [
12
+ 'tests/mentions/mentions.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'textarea',
17
+ 'popup',
18
+ 'suffix'
19
+ ],
20
+ keywords: [
21
+ 'mention',
22
+ 'textarea',
23
+ 'people',
24
+ 'tag'
25
+ ],
26
+ related: [
27
+ 'Textarea',
28
+ 'AutoComplete'
29
+ ],
30
+ usage: {
31
+ description: 'Use Mentions for comments and messages that refer to people, topics or identifiers.',
32
+ bestPractices: [
33
+ 'Use onSearch to fetch suggestions and loading while they arrive.',
34
+ 'Use unique option values that are meaningful in the resulting text.',
35
+ 'Use Mentions.getMentions with the same prefix and split configuration.'
36
+ ],
37
+ avoid: [
38
+ 'Keep prefix and split consistent when parsing stored text.',
39
+ 'Do not use labels as insertion values when identifiers differ.'
40
+ ]
41
+ }
42
+ };
43
+ export { mentionsDoc };
@@ -13,6 +13,9 @@ const modalDoc = {
13
13
  ],
14
14
  semanticParts: [
15
15
  'root',
16
+ 'container',
17
+ 'wrapper',
18
+ 'mask',
16
19
  'overlay',
17
20
  'header',
18
21
  'title',
@@ -0,0 +1,18 @@
1
+ export declare const progressDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Feedback";
5
+ description: string;
6
+ exports: string[];
7
+ source: string;
8
+ story: string;
9
+ tests: string[];
10
+ semanticParts: string[];
11
+ keywords: string[];
12
+ related: string[];
13
+ usage: {
14
+ description: string;
15
+ bestPractices: string[];
16
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,41 @@
1
+ const progressDoc = {
2
+ name: 'progress',
3
+ displayName: 'Progress',
4
+ category: 'Feedback',
5
+ description: 'Shows measured completion with line, circle, dashboard or stepped progress indicators.',
6
+ exports: [
7
+ 'Progress'
8
+ ],
9
+ source: 'src/components/progress/progress.tsx',
10
+ story: 'stories/progress.stories.tsx',
11
+ tests: [
12
+ 'tests/progress/progress.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'body',
17
+ 'rail',
18
+ 'track',
19
+ 'indicator'
20
+ ],
21
+ keywords: [
22
+ 'progress',
23
+ 'feedback',
24
+ 'loading'
25
+ ],
26
+ related: [
27
+ 'Spinner',
28
+ 'Skeleton'
29
+ ],
30
+ usage: {
31
+ description: 'Shows measured completion with line, circle, dashboard or stepped progress indicators.',
32
+ bestPractices: [
33
+ 'Choose a shape that matches the content and available space.',
34
+ 'Provide meaningful labels and real loading state.'
35
+ ],
36
+ avoid: [
37
+ 'Do not show fabricated progress or leave loading states unresolved.'
38
+ ]
39
+ }
40
+ };
41
+ export { progressDoc };