shineout 3.10.0-beta.2 → 3.10.0-beta.21

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 (283) hide show
  1. package/cjs/alert/alert.semantic.d.ts +4 -0
  2. package/cjs/alert/alert.semantic.js +62 -0
  3. package/cjs/avatar/avatar.semantic.d.ts +4 -0
  4. package/cjs/avatar/avatar.semantic.js +58 -0
  5. package/cjs/badge/badge.semantic.d.ts +4 -0
  6. package/cjs/badge/badge.semantic.js +64 -0
  7. package/cjs/badge/interface.d.ts +1 -0
  8. package/cjs/border-beam/border-beam.d.ts +3 -0
  9. package/cjs/border-beam/border-beam.js +25 -0
  10. package/cjs/border-beam/border-beam.type.d.ts +6 -0
  11. package/cjs/border-beam/border-beam.type.js +5 -0
  12. package/cjs/border-beam/index.d.ts +7 -0
  13. package/cjs/border-beam/index.js +12 -0
  14. package/cjs/border-beam/interface.d.ts +1 -0
  15. package/cjs/border-beam/interface.js +5 -0
  16. package/cjs/breadcrumb/breadcrumb.semantic.d.ts +4 -0
  17. package/cjs/breadcrumb/breadcrumb.semantic.js +82 -0
  18. package/cjs/breadcrumb/interface.d.ts +1 -0
  19. package/cjs/button/button.semantic.d.ts +4 -0
  20. package/cjs/button/button.semantic.js +59 -0
  21. package/cjs/button/interface.d.ts +1 -0
  22. package/cjs/card/card.semantic.d.ts +4 -0
  23. package/cjs/card/card.semantic.js +74 -0
  24. package/cjs/card/interface.d.ts +1 -0
  25. package/cjs/carousel/carousel.semantic.d.ts +4 -0
  26. package/cjs/carousel/carousel.semantic.js +100 -0
  27. package/cjs/carousel/interface.d.ts +1 -0
  28. package/cjs/cascader/cascader.semantic.d.ts +4 -0
  29. package/cjs/cascader/cascader.semantic.js +90 -0
  30. package/cjs/checkbox/checkbox.semantic.d.ts +4 -0
  31. package/cjs/checkbox/checkbox.semantic.js +54 -0
  32. package/cjs/collapse/collapse.semantic.d.ts +4 -0
  33. package/cjs/collapse/collapse.semantic.js +77 -0
  34. package/cjs/collapse/interface.d.ts +1 -0
  35. package/cjs/date-picker/date-picker.semantic.d.ts +4 -0
  36. package/cjs/date-picker/date-picker.semantic.js +75 -0
  37. package/cjs/descriptions/descriptions.semantic.d.ts +4 -0
  38. package/cjs/descriptions/descriptions.semantic.js +90 -0
  39. package/cjs/descriptions/interface.d.ts +1 -0
  40. package/cjs/divider/divider.semantic.d.ts +4 -0
  41. package/cjs/divider/divider.semantic.js +49 -0
  42. package/cjs/divider/interface.d.ts +1 -0
  43. package/cjs/drawer/drawer.js +11 -1
  44. package/cjs/drawer/drawer.semantic.d.ts +4 -0
  45. package/cjs/drawer/drawer.semantic.js +91 -0
  46. package/cjs/dropdown/dropdown.semantic.d.ts +4 -0
  47. package/cjs/dropdown/dropdown.semantic.js +82 -0
  48. package/cjs/dropdown/interface.d.ts +1 -0
  49. package/cjs/empty/empty.semantic.d.ts +4 -0
  50. package/cjs/empty/empty.semantic.js +44 -0
  51. package/cjs/empty/interface.d.ts +1 -0
  52. package/cjs/form/form.semantic.d.ts +4 -0
  53. package/cjs/form/form.semantic.js +91 -0
  54. package/cjs/gap/gap.semantic.d.ts +4 -0
  55. package/cjs/gap/gap.semantic.js +73 -0
  56. package/cjs/gap/interface.d.ts +1 -0
  57. package/cjs/grid/grid.semantic.d.ts +4 -0
  58. package/cjs/grid/grid.semantic.js +71 -0
  59. package/cjs/grid/interface.d.ts +1 -0
  60. package/cjs/image/image.semantic.d.ts +4 -0
  61. package/cjs/image/image.semantic.js +74 -0
  62. package/cjs/image/interface.d.ts +1 -0
  63. package/cjs/index.d.ts +1 -0
  64. package/cjs/index.js +9 -1
  65. package/cjs/input/input.semantic.d.ts +4 -0
  66. package/cjs/input/input.semantic.js +50 -0
  67. package/cjs/link/interface.d.ts +1 -0
  68. package/cjs/link/link.semantic.d.ts +4 -0
  69. package/cjs/link/link.semantic.js +58 -0
  70. package/cjs/list/interface.d.ts +1 -0
  71. package/cjs/list/list.semantic.d.ts +4 -0
  72. package/cjs/list/list.semantic.js +64 -0
  73. package/cjs/menu/interface.d.ts +1 -0
  74. package/cjs/menu/menu.semantic.d.ts +4 -0
  75. package/cjs/menu/menu.semantic.js +111 -0
  76. package/cjs/message/interface.d.ts +1 -0
  77. package/cjs/message/message.semantic.d.ts +4 -0
  78. package/cjs/message/message.semantic.js +70 -0
  79. package/cjs/modal/modal.semantic.d.ts +4 -0
  80. package/cjs/modal/modal.semantic.js +86 -0
  81. package/cjs/pagination/interface.d.ts +1 -0
  82. package/cjs/pagination/pagination.semantic.d.ts +4 -0
  83. package/cjs/pagination/pagination.semantic.js +70 -0
  84. package/cjs/popover/interface.d.ts +1 -1
  85. package/cjs/popover/popover.semantic.d.ts +4 -0
  86. package/cjs/popover/popover.semantic.js +52 -0
  87. package/cjs/progress/interface.d.ts +1 -0
  88. package/cjs/progress/progress.semantic.d.ts +4 -0
  89. package/cjs/progress/progress.semantic.js +94 -0
  90. package/cjs/radio/radio.semantic.d.ts +4 -0
  91. package/cjs/radio/radio.semantic.js +54 -0
  92. package/cjs/rate/rate.semantic.d.ts +4 -0
  93. package/cjs/rate/rate.semantic.js +56 -0
  94. package/cjs/select/select.semantic.d.ts +4 -0
  95. package/cjs/select/select.semantic.js +93 -0
  96. package/cjs/skeleton/interface.d.ts +1 -0
  97. package/cjs/skeleton/skeleton.semantic.d.ts +4 -0
  98. package/cjs/skeleton/skeleton.semantic.js +58 -0
  99. package/cjs/slider/slider.semantic.d.ts +4 -0
  100. package/cjs/slider/slider.semantic.js +59 -0
  101. package/cjs/spin/spin.semantic.d.ts +4 -0
  102. package/cjs/spin/spin.semantic.js +113 -0
  103. package/cjs/steps/interface.d.ts +1 -0
  104. package/cjs/steps/steps.semantic.d.ts +4 -0
  105. package/cjs/steps/steps.semantic.js +81 -0
  106. package/cjs/switch/switch.semantic.d.ts +4 -0
  107. package/cjs/switch/switch.semantic.js +55 -0
  108. package/cjs/table/interface.d.ts +1 -1
  109. package/cjs/table/table.semantic.d.ts +4 -0
  110. package/cjs/table/table.semantic.js +136 -0
  111. package/cjs/table/table.type.d.ts +2 -1
  112. package/cjs/tabs/interface.d.ts +1 -0
  113. package/cjs/tabs/tabs.semantic.d.ts +4 -0
  114. package/cjs/tabs/tabs.semantic.js +121 -0
  115. package/cjs/tag/interface.d.ts +1 -1
  116. package/cjs/tag/tag.semantic.d.ts +4 -0
  117. package/cjs/tag/tag.semantic.js +63 -0
  118. package/cjs/tag/tag.type.d.ts +2 -1
  119. package/cjs/textarea/textarea.semantic.d.ts +4 -0
  120. package/cjs/textarea/textarea.semantic.js +46 -0
  121. package/cjs/tooltip/tooltip.semantic.d.ts +4 -0
  122. package/cjs/tooltip/tooltip.semantic.js +57 -0
  123. package/cjs/transfer/transfer.semantic.d.ts +4 -0
  124. package/cjs/transfer/transfer.semantic.js +71 -0
  125. package/cjs/tree/interface.d.ts +1 -1
  126. package/cjs/tree/tree.semantic.d.ts +4 -0
  127. package/cjs/tree/tree.semantic.js +83 -0
  128. package/cjs/tree/tree.type.d.ts +2 -1
  129. package/cjs/tree-select/tree-select.semantic.d.ts +4 -0
  130. package/cjs/tree-select/tree-select.semantic.js +89 -0
  131. package/cjs/type.d.ts +1 -0
  132. package/cjs/type.js +3 -1
  133. package/cjs/upload/button.js +12 -1
  134. package/cjs/upload/image.js +4 -0
  135. package/cjs/upload/interface.d.ts +1 -1
  136. package/cjs/upload/upload.js +4 -0
  137. package/cjs/upload/upload.semantic.d.ts +4 -0
  138. package/cjs/upload/upload.semantic.js +50 -0
  139. package/cjs/upload/upload.type.d.ts +2 -1
  140. package/dist/shineout.js +15000 -13277
  141. package/dist/shineout.js.map +1 -1
  142. package/dist/shineout.min.js +1 -1
  143. package/dist/shineout.min.js.map +1 -1
  144. package/esm/alert/alert.semantic.d.ts +4 -0
  145. package/esm/alert/alert.semantic.js +54 -0
  146. package/esm/avatar/avatar.semantic.d.ts +4 -0
  147. package/esm/avatar/avatar.semantic.js +51 -0
  148. package/esm/badge/badge.semantic.d.ts +4 -0
  149. package/esm/badge/badge.semantic.js +57 -0
  150. package/esm/badge/interface.d.ts +1 -0
  151. package/esm/border-beam/border-beam.d.ts +3 -0
  152. package/esm/border-beam/border-beam.js +18 -0
  153. package/esm/border-beam/border-beam.type.d.ts +6 -0
  154. package/esm/border-beam/border-beam.type.js +1 -0
  155. package/esm/border-beam/index.d.ts +7 -0
  156. package/esm/border-beam/index.js +5 -0
  157. package/esm/border-beam/interface.d.ts +1 -0
  158. package/esm/border-beam/interface.js +1 -0
  159. package/esm/breadcrumb/breadcrumb.semantic.d.ts +4 -0
  160. package/esm/breadcrumb/breadcrumb.semantic.js +74 -0
  161. package/esm/breadcrumb/interface.d.ts +1 -0
  162. package/esm/button/button.semantic.d.ts +4 -0
  163. package/esm/button/button.semantic.js +52 -0
  164. package/esm/button/interface.d.ts +1 -0
  165. package/esm/card/card.semantic.d.ts +4 -0
  166. package/esm/card/card.semantic.js +67 -0
  167. package/esm/card/interface.d.ts +1 -0
  168. package/esm/carousel/carousel.semantic.d.ts +4 -0
  169. package/esm/carousel/carousel.semantic.js +93 -0
  170. package/esm/carousel/interface.d.ts +1 -0
  171. package/esm/cascader/cascader.semantic.d.ts +4 -0
  172. package/esm/cascader/cascader.semantic.js +82 -0
  173. package/esm/checkbox/checkbox.semantic.d.ts +4 -0
  174. package/esm/checkbox/checkbox.semantic.js +46 -0
  175. package/esm/collapse/collapse.semantic.d.ts +4 -0
  176. package/esm/collapse/collapse.semantic.js +70 -0
  177. package/esm/collapse/interface.d.ts +1 -0
  178. package/esm/date-picker/date-picker.semantic.d.ts +4 -0
  179. package/esm/date-picker/date-picker.semantic.js +67 -0
  180. package/esm/descriptions/descriptions.semantic.d.ts +4 -0
  181. package/esm/descriptions/descriptions.semantic.js +82 -0
  182. package/esm/descriptions/interface.d.ts +1 -0
  183. package/esm/divider/divider.semantic.d.ts +4 -0
  184. package/esm/divider/divider.semantic.js +42 -0
  185. package/esm/divider/interface.d.ts +1 -0
  186. package/esm/drawer/drawer.js +11 -1
  187. package/esm/drawer/drawer.semantic.d.ts +4 -0
  188. package/esm/drawer/drawer.semantic.js +83 -0
  189. package/esm/dropdown/dropdown.semantic.d.ts +4 -0
  190. package/esm/dropdown/dropdown.semantic.js +74 -0
  191. package/esm/dropdown/interface.d.ts +1 -0
  192. package/esm/empty/empty.semantic.d.ts +4 -0
  193. package/esm/empty/empty.semantic.js +36 -0
  194. package/esm/empty/interface.d.ts +1 -0
  195. package/esm/form/form.semantic.d.ts +4 -0
  196. package/esm/form/form.semantic.js +84 -0
  197. package/esm/gap/gap.semantic.d.ts +4 -0
  198. package/esm/gap/gap.semantic.js +66 -0
  199. package/esm/gap/interface.d.ts +1 -0
  200. package/esm/grid/grid.semantic.d.ts +4 -0
  201. package/esm/grid/grid.semantic.js +64 -0
  202. package/esm/grid/interface.d.ts +1 -0
  203. package/esm/image/image.semantic.d.ts +4 -0
  204. package/esm/image/image.semantic.js +67 -0
  205. package/esm/image/interface.d.ts +1 -0
  206. package/esm/index.d.ts +1 -0
  207. package/esm/index.js +2 -1
  208. package/esm/input/input.semantic.d.ts +4 -0
  209. package/esm/input/input.semantic.js +42 -0
  210. package/esm/link/interface.d.ts +1 -0
  211. package/esm/link/link.semantic.d.ts +4 -0
  212. package/esm/link/link.semantic.js +51 -0
  213. package/esm/list/interface.d.ts +1 -0
  214. package/esm/list/list.semantic.d.ts +4 -0
  215. package/esm/list/list.semantic.js +56 -0
  216. package/esm/menu/interface.d.ts +1 -0
  217. package/esm/menu/menu.semantic.d.ts +4 -0
  218. package/esm/menu/menu.semantic.js +103 -0
  219. package/esm/message/interface.d.ts +1 -0
  220. package/esm/message/message.semantic.d.ts +4 -0
  221. package/esm/message/message.semantic.js +59 -0
  222. package/esm/modal/modal.semantic.d.ts +4 -0
  223. package/esm/modal/modal.semantic.js +78 -0
  224. package/esm/pagination/interface.d.ts +1 -0
  225. package/esm/pagination/pagination.semantic.d.ts +4 -0
  226. package/esm/pagination/pagination.semantic.js +62 -0
  227. package/esm/popover/interface.d.ts +1 -1
  228. package/esm/popover/popover.semantic.d.ts +4 -0
  229. package/esm/popover/popover.semantic.js +45 -0
  230. package/esm/progress/interface.d.ts +1 -0
  231. package/esm/progress/progress.semantic.d.ts +4 -0
  232. package/esm/progress/progress.semantic.js +87 -0
  233. package/esm/radio/radio.semantic.d.ts +4 -0
  234. package/esm/radio/radio.semantic.js +46 -0
  235. package/esm/rate/rate.semantic.d.ts +4 -0
  236. package/esm/rate/rate.semantic.js +48 -0
  237. package/esm/select/select.semantic.d.ts +4 -0
  238. package/esm/select/select.semantic.js +85 -0
  239. package/esm/skeleton/interface.d.ts +1 -0
  240. package/esm/skeleton/skeleton.semantic.d.ts +4 -0
  241. package/esm/skeleton/skeleton.semantic.js +50 -0
  242. package/esm/slider/slider.semantic.d.ts +4 -0
  243. package/esm/slider/slider.semantic.js +51 -0
  244. package/esm/spin/spin.semantic.d.ts +4 -0
  245. package/esm/spin/spin.semantic.js +106 -0
  246. package/esm/steps/interface.d.ts +1 -0
  247. package/esm/steps/steps.semantic.d.ts +4 -0
  248. package/esm/steps/steps.semantic.js +74 -0
  249. package/esm/switch/switch.semantic.d.ts +4 -0
  250. package/esm/switch/switch.semantic.js +48 -0
  251. package/esm/table/interface.d.ts +1 -1
  252. package/esm/table/table.semantic.d.ts +4 -0
  253. package/esm/table/table.semantic.js +128 -0
  254. package/esm/table/table.type.d.ts +2 -1
  255. package/esm/tabs/interface.d.ts +1 -0
  256. package/esm/tabs/tabs.semantic.d.ts +4 -0
  257. package/esm/tabs/tabs.semantic.js +114 -0
  258. package/esm/tag/interface.d.ts +1 -1
  259. package/esm/tag/tag.semantic.d.ts +4 -0
  260. package/esm/tag/tag.semantic.js +56 -0
  261. package/esm/tag/tag.type.d.ts +2 -1
  262. package/esm/textarea/textarea.semantic.d.ts +4 -0
  263. package/esm/textarea/textarea.semantic.js +38 -0
  264. package/esm/tooltip/tooltip.semantic.d.ts +4 -0
  265. package/esm/tooltip/tooltip.semantic.js +49 -0
  266. package/esm/transfer/transfer.semantic.d.ts +4 -0
  267. package/esm/transfer/transfer.semantic.js +63 -0
  268. package/esm/tree/interface.d.ts +1 -1
  269. package/esm/tree/tree.semantic.d.ts +4 -0
  270. package/esm/tree/tree.semantic.js +75 -0
  271. package/esm/tree/tree.type.d.ts +2 -1
  272. package/esm/tree-select/tree-select.semantic.d.ts +4 -0
  273. package/esm/tree-select/tree-select.semantic.js +81 -0
  274. package/esm/type.d.ts +1 -0
  275. package/esm/type.js +2 -0
  276. package/esm/upload/button.js +12 -1
  277. package/esm/upload/image.js +4 -0
  278. package/esm/upload/interface.d.ts +1 -1
  279. package/esm/upload/upload.js +4 -0
  280. package/esm/upload/upload.semantic.d.ts +4 -0
  281. package/esm/upload/upload.semantic.js +42 -0
  282. package/esm/upload/upload.type.d.ts +2 -1
  283. package/package.json +5 -5
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Empty Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Empty } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var EmptySemanticDemo = function EmptySemanticDemo() {
12
+ return /*#__PURE__*/_jsx(Empty, {});
13
+ };
14
+ var emptySemantic = {
15
+ keys: [{
16
+ key: 'root',
17
+ cn: 'Empty 最外层容器',
18
+ en: 'Empty outermost wrapper element',
19
+ version: '3.10.0',
20
+ example: "<Empty\n classNames={{ root: 'my-empty' }}\n styles={{ root: { padding: 40 } }}\n/>"
21
+ }, {
22
+ key: 'icon',
23
+ cn: '图标/图片容器',
24
+ en: 'Icon or image container',
25
+ version: '3.10.0',
26
+ example: "<Empty\n classNames={{ icon: 'my-icon' }}\n styles={{ icon: { marginBottom: 16 } }}\n/>"
27
+ }, {
28
+ key: 'description',
29
+ cn: '描述文字',
30
+ en: 'Description text',
31
+ version: '3.10.0',
32
+ example: "<Empty\n classNames={{ description: 'my-desc' }}\n styles={{ description: { color: '#999' } }}\n/>"
33
+ }],
34
+ demo: EmptySemanticDemo
35
+ };
36
+ export default emptySemantic;
@@ -1 +1,2 @@
1
1
  export type { EmptyProps as Props } from './empty.type';
2
+ export type { EmptySemanticKey } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { FormSemanticKey } from '@sheinx/base';
3
+ declare const formSemantic: SemanticSchema<FormSemanticKey>;
4
+ export default formSemantic;
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Form Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Form, Input } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var FormSemanticDemo = function FormSemanticDemo() {
13
+ return /*#__PURE__*/_jsxs(Form, {
14
+ style: {
15
+ maxWidth: 400
16
+ },
17
+ children: [/*#__PURE__*/_jsx(Form.Item, {
18
+ label: "Name",
19
+ tip: "Please enter your real name",
20
+ required: true,
21
+ children: /*#__PURE__*/_jsx(Input, {
22
+ name: "name",
23
+ placeholder: "Enter your name",
24
+ rules: [{
25
+ required: true,
26
+ message: 'Name is required'
27
+ }]
28
+ })
29
+ }), /*#__PURE__*/_jsx(Form.Item, {
30
+ label: "Email",
31
+ tip: "Please enter your email",
32
+ required: true,
33
+ children: /*#__PURE__*/_jsx(Input, {
34
+ name: "email",
35
+ placeholder: "Enter your email",
36
+ rules: [{
37
+ required: true,
38
+ message: 'Email is required'
39
+ }]
40
+ })
41
+ })]
42
+ });
43
+ };
44
+ var formSemantic = {
45
+ keys: [{
46
+ key: 'root',
47
+ cn: 'Form 最外层容器(<form> 元素)',
48
+ en: 'Form outermost wrapper element (<form>)',
49
+ version: '3.10.0',
50
+ example: "<Form classNames={{ root: 'my-form' }} styles={{ root: { padding: 24 } }} />"
51
+ }, {
52
+ key: 'item',
53
+ cn: 'Form.Item 最外层容器',
54
+ en: 'Form.Item outermost wrapper element',
55
+ version: '3.10.0',
56
+ example: "<Form classNames={{ item: 'my-form-item' }} styles={{ item: { marginBottom: 24 } }} />"
57
+ }, {
58
+ key: 'label',
59
+ cn: '标签区域',
60
+ en: 'Label area',
61
+ version: '3.10.0',
62
+ example: "<Form classNames={{ label: 'my-label' }} styles={{ label: { fontWeight: 600 } }} />"
63
+ }, {
64
+ key: 'control',
65
+ cn: '控件区域(包含表单元素、错误和提示)',
66
+ en: 'Control area (contains form element, error, and tip)',
67
+ version: '3.10.0',
68
+ example: "<Form classNames={{ control: 'my-control' }} styles={{ control: { flex: 1 } }} />"
69
+ }, {
70
+ key: 'error',
71
+ cn: '错误提示区域',
72
+ en: 'Error message area',
73
+ version: '3.10.0',
74
+ example: "<Form classNames={{ error: 'my-error' }} styles={{ error: { color: 'red' } }} />"
75
+ }, {
76
+ key: 'tip',
77
+ cn: '提示信息区域',
78
+ en: 'Tip message area',
79
+ version: '3.10.0',
80
+ example: "<Form classNames={{ tip: 'my-tip' }} styles={{ tip: { fontSize: 12 } }} />"
81
+ }],
82
+ demo: FormSemanticDemo
83
+ };
84
+ export default formSemantic;
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { GapSemanticKey } from '@sheinx/base';
3
+ declare const gapSemantic: SemanticSchema<GapSemanticKey>;
4
+ export default gapSemantic;
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Gap Semantic DOM 元数据。
3
+ *
4
+ * @see /docs/rfc/0001-semantic-dom.md
5
+ */
6
+ import React from 'react';
7
+ import Gap from "./index";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ var GapSemanticDemo = function GapSemanticDemo() {
11
+ return /*#__PURE__*/_jsx("div", {
12
+ style: {
13
+ width: '100%'
14
+ },
15
+ children: /*#__PURE__*/_jsxs(Gap, {
16
+ column: 12,
17
+ row: 12,
18
+ children: [/*#__PURE__*/_jsx("div", {
19
+ style: {
20
+ padding: '8px 16px',
21
+ background: '#e6f4ff',
22
+ borderRadius: 4
23
+ },
24
+ children: "Item 1"
25
+ }), /*#__PURE__*/_jsx("div", {
26
+ style: {
27
+ padding: '8px 16px',
28
+ background: '#e6f4ff',
29
+ borderRadius: 4
30
+ },
31
+ children: "Item 2"
32
+ }), /*#__PURE__*/_jsx("div", {
33
+ style: {
34
+ padding: '8px 16px',
35
+ background: '#e6f4ff',
36
+ borderRadius: 4
37
+ },
38
+ children: "Item 3"
39
+ }), /*#__PURE__*/_jsx("div", {
40
+ style: {
41
+ padding: '8px 16px',
42
+ background: '#e6f4ff',
43
+ borderRadius: 4
44
+ },
45
+ children: "Item 4"
46
+ })]
47
+ })
48
+ });
49
+ };
50
+ var gapSemantic = {
51
+ keys: [{
52
+ key: 'root',
53
+ cn: '外层 flex 容器',
54
+ en: 'Outer flex container',
55
+ version: '3.10.0',
56
+ example: "<Gap\n classNames={{ root: 'my-gap' }}\n styles={{ root: { padding: 16 } }}\n>\n ...\n</Gap>"
57
+ }, {
58
+ key: 'item',
59
+ cn: '子元素包裹层',
60
+ en: 'Child element wrapper',
61
+ version: '3.10.0',
62
+ example: "<Gap\n classNames={{ item: 'my-gap-item' }}\n styles={{ item: { flex: '0 0 auto' } }}\n>\n ...\n</Gap>"
63
+ }],
64
+ demo: GapSemanticDemo
65
+ };
66
+ export default gapSemantic;
@@ -1 +1,2 @@
1
1
  export type { GapProps as Props } from './gap.type';
2
+ export type { GapSemanticKey } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { GridSemanticKey } from '@sheinx/base';
3
+ declare const gridSemantic: SemanticSchema<GridSemanticKey>;
4
+ export default gridSemantic;
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Grid Semantic DOM 元数据。
3
+ *
4
+ * @see /docs/rfc/0001-semantic-dom.md
5
+ */
6
+ import React from 'react';
7
+ import Grid from "./index";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ var GridSemanticDemo = function GridSemanticDemo() {
11
+ return /*#__PURE__*/_jsx("div", {
12
+ style: {
13
+ width: '100%'
14
+ },
15
+ children: /*#__PURE__*/_jsxs(Grid, {
16
+ gutter: 16,
17
+ children: [/*#__PURE__*/_jsx(Grid, {
18
+ width: 1 / 3,
19
+ children: /*#__PURE__*/_jsx("div", {
20
+ style: {
21
+ padding: 12,
22
+ background: '#e6f4ff',
23
+ textAlign: 'center',
24
+ borderRadius: 4
25
+ },
26
+ children: "1/3"
27
+ })
28
+ }), /*#__PURE__*/_jsx(Grid, {
29
+ width: 1 / 3,
30
+ children: /*#__PURE__*/_jsx("div", {
31
+ style: {
32
+ padding: 12,
33
+ background: '#e6f4ff',
34
+ textAlign: 'center',
35
+ borderRadius: 4
36
+ },
37
+ children: "1/3"
38
+ })
39
+ }), /*#__PURE__*/_jsx(Grid, {
40
+ width: 1 / 3,
41
+ children: /*#__PURE__*/_jsx("div", {
42
+ style: {
43
+ padding: 12,
44
+ background: '#e6f4ff',
45
+ textAlign: 'center',
46
+ borderRadius: 4
47
+ },
48
+ children: "1/3"
49
+ })
50
+ })]
51
+ })
52
+ });
53
+ };
54
+ var gridSemantic = {
55
+ keys: [{
56
+ key: 'root',
57
+ cn: '栅格容器',
58
+ en: 'Grid container element',
59
+ version: '3.10.0',
60
+ example: "<Grid\n classNames={{ root: 'my-grid' }}\n styles={{ root: { background: '#fafafa' } }}\n>\n <Grid width={1/2}>Left</Grid>\n <Grid width={1/2}>Right</Grid>\n</Grid>"
61
+ }],
62
+ demo: GridSemanticDemo
63
+ };
64
+ export default gridSemantic;
@@ -1 +1,2 @@
1
1
  export type { GridProps as Props } from './grid.type';
2
+ export type { GridSemanticKey } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { ImageSemanticKey } from '@sheinx/base';
3
+ declare const imageSemantic: SemanticSchema<ImageSemanticKey>;
4
+ export default imageSemantic;
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Image Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Image } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var ImageSemanticDemo = function ImageSemanticDemo() {
13
+ return /*#__PURE__*/_jsxs("div", {
14
+ style: {
15
+ display: 'flex',
16
+ gap: 16
17
+ },
18
+ children: [/*#__PURE__*/_jsx(Image, {
19
+ width: 200,
20
+ height: 150,
21
+ fit: "fit",
22
+ src: "https://raw.githubusercontent.com/sheinsight/shineout-static/main/shineout-next/images/image/s-01.png",
23
+ shape: "rounded",
24
+ placeholder: /*#__PURE__*/_jsx("div", {
25
+ style: {
26
+ textAlign: 'center',
27
+ lineHeight: '150px'
28
+ },
29
+ children: "Loading..."
30
+ })
31
+ }), /*#__PURE__*/_jsx(Image, {
32
+ width: 200,
33
+ height: 150,
34
+ src: "invalid-url-for-error-state",
35
+ shape: "rounded"
36
+ })]
37
+ });
38
+ };
39
+ var imageSemantic = {
40
+ keys: [{
41
+ key: 'root',
42
+ cn: 'Image 最外层容器',
43
+ en: 'Image outermost wrapper element',
44
+ version: '3.10.0',
45
+ example: "<Image\n classNames={{ root: 'my-image' }}\n styles={{ root: { borderRadius: 8 } }}\n/>"
46
+ }, {
47
+ key: 'img',
48
+ cn: '图片内容(img 元素或 backgroundImage 容器)',
49
+ en: 'Image content (img element or backgroundImage container)',
50
+ version: '3.10.0',
51
+ example: "<Image\n classNames={{ img: 'my-img' }}\n styles={{ img: { objectFit: 'cover' } }}\n/>"
52
+ }, {
53
+ key: 'placeholder',
54
+ cn: '加载中占位区域',
55
+ en: 'Loading placeholder area',
56
+ version: '3.10.0',
57
+ example: "<Image\n classNames={{ placeholder: 'my-placeholder' }}\n styles={{ placeholder: { background: '#f5f5f5' } }}\n/>"
58
+ }, {
59
+ key: 'error',
60
+ cn: '加载失败区域',
61
+ en: 'Error state area',
62
+ version: '3.10.0',
63
+ example: "<Image\n classNames={{ error: 'my-error' }}\n styles={{ error: { background: '#fff2f0' } }}\n/>"
64
+ }],
65
+ demo: ImageSemanticDemo
66
+ };
67
+ export default imageSemantic;
@@ -1,2 +1,3 @@
1
1
  export type { ImageProps as Props } from './image.type';
2
2
  export type { ImageGroupProps as GroupProps } from './group.type';
3
+ export type { ImageSemanticKey } from '@sheinx/base';
package/esm/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { default as Alert } from './alert';
2
2
  export { default as Avatar } from './avatar';
3
3
  export { default as Badge } from './badge';
4
+ export { default as BorderBeam } from './border-beam';
4
5
  export { default as Breadcrumb } from './breadcrumb';
5
6
  export { default as Button } from './button';
6
7
  export { default as Card } from './card';
package/esm/index.js CHANGED
@@ -5,6 +5,7 @@
5
5
  export { default as Alert } from "./alert";
6
6
  export { default as Avatar } from "./avatar";
7
7
  export { default as Badge } from "./badge";
8
+ export { default as BorderBeam } from "./border-beam";
8
9
  export { default as Breadcrumb } from "./breadcrumb";
9
10
  export { default as Button } from "./button";
10
11
  export { default as Card } from "./card";
@@ -64,5 +65,5 @@ export * from "./deprecated";
64
65
  import * as _TYPE from "./type";
65
66
  export { _TYPE as TYPE };
66
67
  export default {
67
- version: '3.10.0-beta.2'
68
+ version: '3.10.0-beta.21'
68
69
  };
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { InputSemanticKey } from '@sheinx/base';
3
+ declare const inputSemantic: SemanticSchema<InputSemanticKey>;
4
+ export default inputSemantic;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Input Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Input } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var InputSemanticDemo = function InputSemanticDemo() {
12
+ return /*#__PURE__*/_jsx("div", {
13
+ style: {
14
+ display: 'flex',
15
+ gap: 16
16
+ },
17
+ children: /*#__PURE__*/_jsx(Input, {
18
+ placeholder: "Enter text",
19
+ defaultValue: "Hello",
20
+ style: {
21
+ width: 240
22
+ }
23
+ })
24
+ });
25
+ };
26
+ var inputSemantic = {
27
+ keys: [{
28
+ key: 'root',
29
+ cn: 'Input 最外层容器',
30
+ en: 'Input outermost wrapper element',
31
+ version: '3.10.0',
32
+ example: "<Input classNames={{ root: 'my-input' }} styles={{ root: { borderRadius: 8 } }} />"
33
+ }, {
34
+ key: 'input',
35
+ cn: '内部 <input> 元素',
36
+ en: 'Inner <input> element',
37
+ version: '3.10.0',
38
+ example: "<Input classNames={{ input: 'my-input-el' }} styles={{ input: { fontSize: 16 } }} />"
39
+ }],
40
+ demo: InputSemanticDemo
41
+ };
42
+ export default inputSemantic;
@@ -1 +1,2 @@
1
1
  export type { LinkProps as Props } from './link.type';
2
+ export type { LinkSemanticKey, LinkClassNamesInfo } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { LinkSemanticKey } from '@sheinx/base';
3
+ declare const linkSemantic: SemanticSchema<LinkSemanticKey>;
4
+ export default linkSemantic;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Link Semantic DOM 元数据。
3
+ *
4
+ * @see /docs/rfc/0001-semantic-dom.md
5
+ */
6
+ import React from 'react';
7
+ import Link from "./index";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ var LinkSemanticDemo = function LinkSemanticDemo() {
11
+ return /*#__PURE__*/_jsxs("div", {
12
+ style: {
13
+ width: '100%',
14
+ display: 'flex',
15
+ gap: 24,
16
+ alignItems: 'center',
17
+ flexWrap: 'wrap'
18
+ },
19
+ children: [/*#__PURE__*/_jsx(Link, {
20
+ href: "#",
21
+ icon: true,
22
+ children: "Link with icon"
23
+ }), /*#__PURE__*/_jsx(Link, {
24
+ href: "#",
25
+ type: "secondary",
26
+ children: "Secondary"
27
+ }), /*#__PURE__*/_jsx(Link, {
28
+ href: "#",
29
+ type: "danger",
30
+ disabled: true,
31
+ children: "Disabled"
32
+ })]
33
+ });
34
+ };
35
+ var linkSemantic = {
36
+ keys: [{
37
+ key: 'root',
38
+ cn: '链接元素(a 标签)',
39
+ en: 'Link element (anchor tag)',
40
+ version: '3.10.0',
41
+ example: "<Link\n classNames={{ root: 'my-link' }}\n styles={{ root: { textDecoration: 'none' } }}\n>\n Click me\n</Link>"
42
+ }, {
43
+ key: 'icon',
44
+ cn: '图标容器',
45
+ en: 'Icon container',
46
+ version: '3.10.0',
47
+ example: "<Link\n icon\n classNames={{ icon: 'my-link-icon' }}\n styles={{ icon: { marginRight: 8 } }}\n>\n With icon\n</Link>"
48
+ }],
49
+ demo: LinkSemanticDemo
50
+ };
51
+ export default linkSemantic;
@@ -1,2 +1,3 @@
1
1
  export type { ListProps as Props } from './list.type';
2
2
  export type { ListBaseItemProps as BaseItemProps } from './base-item.type';
3
+ export type { ListSemanticKey } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { ListSemanticKey } from '@sheinx/base';
3
+ declare const listSemantic: SemanticSchema<ListSemanticKey>;
4
+ export default listSemantic;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * List Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { List } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var data = ['Item 1', 'Item 2', 'Item 3', 'Item 4'];
12
+ var ListSemanticDemo = function ListSemanticDemo() {
13
+ return /*#__PURE__*/_jsx(List, {
14
+ keygen: function keygen(d) {
15
+ return d;
16
+ },
17
+ data: data,
18
+ bordered: true,
19
+ renderItem: function renderItem(d) {
20
+ return d;
21
+ },
22
+ footer: /*#__PURE__*/_jsx("div", {
23
+ style: {
24
+ padding: '12px 16px',
25
+ backgroundColor: '#fff'
26
+ },
27
+ children: "Footer"
28
+ }),
29
+ style: {
30
+ width: 300
31
+ }
32
+ });
33
+ };
34
+ var listSemantic = {
35
+ keys: [{
36
+ key: 'root',
37
+ cn: 'List 最外层容器',
38
+ en: 'List outermost wrapper element',
39
+ version: '3.10.0',
40
+ example: "<List\n classNames={{ root: 'my-list' }}\n styles={{ root: { borderRadius: 8 } }}\n/>"
41
+ }, {
42
+ key: 'item',
43
+ cn: '每个列表项',
44
+ en: 'Each list item',
45
+ version: '3.10.0',
46
+ example: "<List\n classNames={{ item: 'my-item' }}\n styles={{ item: { padding: '8px 16px' } }}\n/>"
47
+ }, {
48
+ key: 'footer',
49
+ cn: '底部内容区域',
50
+ en: 'Footer content area',
51
+ version: '3.10.0',
52
+ example: "<List\n classNames={{ footer: 'my-footer' }}\n styles={{ footer: { borderTop: '1px solid #f0f0f0' } }}\n/>"
53
+ }],
54
+ demo: ListSemanticDemo
55
+ };
56
+ export default listSemantic;
@@ -1,2 +1,3 @@
1
1
  export type { MenuProps as Props } from './menu.type';
2
+ export type { MenuSemanticKey, MenuClassNamesInfo } from '@sheinx/base';
2
3
  export type { MenuSearchProps as SearchProps } from './search.type';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { MenuSemanticKey } from '@sheinx/base';
3
+ declare const menuSemantic: SemanticSchema<MenuSemanticKey>;
4
+ export default menuSemantic;