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,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { AlertSemanticKey } from '@sheinx/base';
3
+ declare const alertSemantic: SemanticSchema<AlertSemanticKey>;
4
+ export default alertSemantic;
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Alert Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import Alert from "./index";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var AlertSemanticDemo = function AlertSemanticDemo() {
12
+ return /*#__PURE__*/_jsx(Alert, {
13
+ type: "info",
14
+ icon: true,
15
+ title: "Heading",
16
+ closable: true,
17
+ children: "This is a line of important text for alerting purposes"
18
+ });
19
+ };
20
+ var alertSemantic = {
21
+ keys: [{
22
+ key: 'root',
23
+ cn: '最外层容器(与 className 等价)',
24
+ en: 'Outermost wrapper element (equivalent to className)',
25
+ version: '3.10.0',
26
+ example: "<Alert\n classNames={{ root: 'my-alert' }}\n styles={{ root: { borderRadius: 8 } }}\n/>"
27
+ }, {
28
+ key: 'icon',
29
+ cn: '图标区域',
30
+ en: 'Icon area',
31
+ version: '3.10.0',
32
+ example: "<Alert\n icon\n classNames={{ icon: 'my-icon' }}\n styles={{ icon: { width: 20 } }}\n/>"
33
+ }, {
34
+ key: 'title',
35
+ cn: '标题',
36
+ en: 'Title element',
37
+ version: '3.10.0',
38
+ example: "<Alert\n title=\"Heading\"\n classNames={{ title: 'my-title' }}\n styles={{ title: { fontSize: 16 } }}\n/>"
39
+ }, {
40
+ key: 'content',
41
+ cn: '内容文本区',
42
+ en: 'Content text area',
43
+ version: '3.10.0',
44
+ example: "<Alert\n classNames={{ content: 'my-content' }}\n styles={{ content: { color: '#333' } }}\n>\n Alert message\n</Alert>"
45
+ }, {
46
+ key: 'close',
47
+ cn: '关闭按钮',
48
+ en: 'Close button',
49
+ version: '3.10.0',
50
+ example: "<Alert\n closable\n classNames={{ close: 'my-close' }}\n styles={{ close: { opacity: 0.6 } }}\n/>"
51
+ }],
52
+ demo: AlertSemanticDemo
53
+ };
54
+ export default alertSemantic;
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { AvatarGroupSemanticKey } from '@sheinx/base';
3
+ declare const avatarSemantic: SemanticSchema<AvatarGroupSemanticKey>;
4
+ export default avatarSemantic;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Avatar Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Avatar } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var AvatarSemanticDemo = function AvatarSemanticDemo() {
13
+ return /*#__PURE__*/_jsxs("div", {
14
+ style: {
15
+ display: 'flex',
16
+ gap: 16,
17
+ alignItems: 'center'
18
+ },
19
+ children: [/*#__PURE__*/_jsx(Avatar, {
20
+ src: "https://raw.githubusercontent.com/sheinsight/shineout-static/main/shineout-next/images/avatar/01.png"
21
+ }), /*#__PURE__*/_jsx(Avatar, {
22
+ shape: "square",
23
+ children: "U"
24
+ }), /*#__PURE__*/_jsxs(Avatar.Group, {
25
+ children: [/*#__PURE__*/_jsx(Avatar, {
26
+ src: "https://raw.githubusercontent.com/sheinsight/shineout-static/main/shineout-next/images/avatar/01.png"
27
+ }), /*#__PURE__*/_jsx(Avatar, {
28
+ src: "https://raw.githubusercontent.com/sheinsight/shineout-static/main/shineout-next/images/avatar/02.png"
29
+ }), /*#__PURE__*/_jsx(Avatar, {
30
+ src: "https://raw.githubusercontent.com/sheinsight/shineout-static/main/shineout-next/images/avatar/03.png"
31
+ })]
32
+ })]
33
+ });
34
+ };
35
+ var avatarSemantic = {
36
+ keys: [{
37
+ key: 'group',
38
+ cn: 'Avatar.Group 容器元素',
39
+ en: 'Avatar.Group container element',
40
+ version: '3.10.0',
41
+ example: "<Avatar.Group classNames={{ group: 'my-group' }} styles={{ group: { gap: 8 } }}>...</Avatar.Group>"
42
+ }, {
43
+ key: 'root',
44
+ cn: 'Avatar 最外层容器(可从 Avatar.Group 向子 Avatar 传递)',
45
+ en: 'Avatar outermost wrapper (can be passed from Avatar.Group to child Avatars)',
46
+ version: '3.10.0',
47
+ example: "<Avatar classNames={{ root: 'my-avatar' }} styles={{ root: { border: '2px solid #1890ff' } }} />"
48
+ }],
49
+ demo: AvatarSemanticDemo
50
+ };
51
+ export default avatarSemantic;
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { BadgeSemanticKey } from '@sheinx/base';
3
+ declare const badgeSemantic: SemanticSchema<BadgeSemanticKey>;
4
+ export default badgeSemantic;
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Badge Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Badge } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var BadgeSemanticDemo = function BadgeSemanticDemo() {
13
+ return /*#__PURE__*/_jsxs("div", {
14
+ style: {
15
+ display: 'flex',
16
+ gap: 24
17
+ },
18
+ children: [/*#__PURE__*/_jsx(Badge, {
19
+ count: 5,
20
+ children: /*#__PURE__*/_jsx("div", {
21
+ style: {
22
+ width: 40,
23
+ height: 40,
24
+ background: '#eee',
25
+ borderRadius: 4
26
+ }
27
+ })
28
+ }), /*#__PURE__*/_jsx(Badge, {
29
+ dot: true,
30
+ children: /*#__PURE__*/_jsx("div", {
31
+ style: {
32
+ width: 40,
33
+ height: 40,
34
+ background: '#eee',
35
+ borderRadius: 4
36
+ }
37
+ })
38
+ })]
39
+ });
40
+ };
41
+ var badgeSemantic = {
42
+ keys: [{
43
+ key: 'root',
44
+ cn: 'Badge 最外层容器',
45
+ en: 'Badge outermost wrapper element',
46
+ version: '3.10.0',
47
+ example: "<Badge\n classNames={{ root: 'my-badge' }}\n styles={{ root: { display: 'inline-block' } }}\n/>"
48
+ }, {
49
+ key: 'badge',
50
+ cn: '右上角徽标元素(数字/圆点)',
51
+ en: 'Badge indicator element (count/dot)',
52
+ version: '3.10.0',
53
+ example: "<Badge\n classNames={{ badge: 'my-indicator' }}\n styles={{ badge: { fontSize: 10 } }}\n/>"
54
+ }],
55
+ demo: BadgeSemanticDemo
56
+ };
57
+ export default badgeSemantic;
@@ -1 +1,2 @@
1
1
  export type { BadgeProps as Props } from './badge.type';
2
+ export type { BadgeSemanticKey } from '@sheinx/base';
@@ -0,0 +1,3 @@
1
+ import type { BorderBeamProps } from './border-beam.type';
2
+ declare const _default: (props: BorderBeamProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default _default;
@@ -0,0 +1,18 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import React from 'react';
8
+ import { BorderBeam as UnStyledBorderBeam } from '@sheinx/base';
9
+ import { useBorderBeamStyle } from '@sheinx/shineout-style';
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var jssStyle = {
12
+ borderBeam: useBorderBeamStyle
13
+ };
14
+ export default (function (props) {
15
+ return /*#__PURE__*/_jsx(UnStyledBorderBeam, _objectSpread(_objectSpread({}, props), {}, {
16
+ jssStyle: jssStyle
17
+ }));
18
+ });
@@ -0,0 +1,6 @@
1
+ import type { BorderBeamProps as UnStyledBorderBeamProps } from '@sheinx/base';
2
+ /**
3
+ * @title BorderBeam
4
+ */
5
+ export type BorderBeamProps = Omit<UnStyledBorderBeamProps, 'jssStyle'>;
6
+ export type { BorderBeamColor, BorderBeamGradient, BorderBeamGradientItem } from '@sheinx/base';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import BorderBeam from './border-beam';
2
+ type RefBorderBeam = typeof BorderBeam;
3
+ export interface BorderBeamComponent extends RefBorderBeam {
4
+ displayName: string;
5
+ }
6
+ declare const BorderBeamComp: BorderBeamComponent;
7
+ export default BorderBeamComp;
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import BorderBeam from "./border-beam";
3
+ var BorderBeamComp = BorderBeam;
4
+ BorderBeamComp.displayName = 'ShineoutBorderBeam';
5
+ export default BorderBeamComp;
@@ -0,0 +1 @@
1
+ export type { BorderBeamColor as Color, BorderBeamGradient as Gradient, BorderBeamGradientItem as GradientItem, BorderBeamProps as Props, } from './border-beam.type';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { BreadcrumbSemanticKey } from '@sheinx/base';
3
+ declare const breadcrumbSemantic: SemanticSchema<BreadcrumbSemanticKey>;
4
+ export default breadcrumbSemantic;
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Breadcrumb Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Breadcrumb } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var breadcrumbData = [{
12
+ title: 'Home',
13
+ url: '#'
14
+ }, [{
15
+ title: 'Products',
16
+ url: '#'
17
+ }, {
18
+ title: 'Services',
19
+ url: '#'
20
+ }, {
21
+ title: 'Solutions',
22
+ url: '#'
23
+ }], {
24
+ title: 'Category',
25
+ url: '#'
26
+ }, {
27
+ title: 'Current Page'
28
+ }];
29
+ var BreadcrumbSemanticDemo = function BreadcrumbSemanticDemo() {
30
+ return /*#__PURE__*/_jsx(Breadcrumb, {
31
+ data: breadcrumbData
32
+ });
33
+ };
34
+ var breadcrumbSemantic = {
35
+ keys: [{
36
+ key: 'root',
37
+ cn: 'Breadcrumb 最外层容器',
38
+ en: 'Breadcrumb outermost wrapper element',
39
+ version: '3.10.0',
40
+ example: "<Breadcrumb\n classNames={{ root: 'my-breadcrumb' }}\n styles={{ root: { padding: '8px 0' } }}\n/>"
41
+ }, {
42
+ key: 'item',
43
+ cn: '每个面包屑项的容器',
44
+ en: 'Each breadcrumb item container',
45
+ version: '3.10.0',
46
+ example: "<Breadcrumb\n classNames={{ item: 'my-item' }}\n styles={{ item: { display: 'inline-flex' } }}\n/>"
47
+ }, {
48
+ key: 'separator',
49
+ cn: '分隔符节点',
50
+ en: 'Separator element between items',
51
+ version: '3.10.0',
52
+ example: "<Breadcrumb\n classNames={{ separator: 'my-separator' }}\n styles={{ separator: { margin: '0 8px' } }}\n/>"
53
+ }, {
54
+ key: 'content',
55
+ cn: '文本/链接内容节点',
56
+ en: 'Text or link content element',
57
+ version: '3.10.0',
58
+ example: "<Breadcrumb\n classNames={{ content: 'my-content' }}\n styles={{ content: { color: '#1890ff' } }}\n/>"
59
+ }, {
60
+ key: 'dropdown',
61
+ cn: '下拉面板(data 项为数组时展开的弹出层)',
62
+ en: 'Dropdown panel (popup when a data item is an array)',
63
+ version: '3.10.0',
64
+ example: "<Breadcrumb\n classNames={{ dropdown: 'my-dropdown' }}\n styles={{ dropdown: { borderRadius: 8 } }}\n/>"
65
+ }, {
66
+ key: 'dropdownItem',
67
+ cn: '下拉面板内每一项',
68
+ en: 'Each item inside the dropdown panel',
69
+ version: '3.10.0',
70
+ example: "<Breadcrumb\n classNames={{ dropdownItem: 'my-dropdown-item' }}\n styles={{ dropdownItem: { padding: '4px 12px' } }}\n/>"
71
+ }],
72
+ demo: BreadcrumbSemanticDemo
73
+ };
74
+ export default breadcrumbSemantic;
@@ -1 +1,2 @@
1
1
  export type { BreadcrumbProps as Props, BreadcrumbData as Data } from './breadcrumb.type';
2
+ export type { BreadcrumbSemanticKey } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { ButtonSemanticKey } from '@sheinx/base';
3
+ declare const buttonSemantic: SemanticSchema<ButtonSemanticKey>;
4
+ export default buttonSemantic;
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Button Semantic DOM 元数据。
3
+ *
4
+ * @see /docs/rfc/0001-semantic-dom.md
5
+ */
6
+ import React from 'react';
7
+ import Button from "./index";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ var ButtonSemanticDemo = function ButtonSemanticDemo() {
11
+ return /*#__PURE__*/_jsxs("div", {
12
+ style: {
13
+ width: '100%',
14
+ display: 'flex',
15
+ gap: 16,
16
+ alignItems: 'center',
17
+ flexWrap: 'wrap'
18
+ },
19
+ children: [/*#__PURE__*/_jsx(Button, {
20
+ type: "primary",
21
+ children: "Primary"
22
+ }), /*#__PURE__*/_jsx(Button, {
23
+ type: "default",
24
+ children: "Default"
25
+ }), /*#__PURE__*/_jsx(Button, {
26
+ type: "primary",
27
+ loading: true,
28
+ children: "Loading"
29
+ }), /*#__PURE__*/_jsx(Button, {
30
+ type: "danger",
31
+ disabled: true,
32
+ children: "Disabled"
33
+ })]
34
+ });
35
+ };
36
+ var buttonSemantic = {
37
+ keys: [{
38
+ key: 'root',
39
+ cn: '按钮元素(button 或 a 标签)',
40
+ en: 'Button element (button or anchor tag)',
41
+ version: '3.10.0',
42
+ example: "<Button\n classNames={{ root: 'my-button' }}\n styles={{ root: { borderRadius: 20 } }}\n>\n Click me\n</Button>"
43
+ }, {
44
+ key: 'loading',
45
+ cn: '加载指示器容器',
46
+ en: 'Loading indicator container',
47
+ version: '3.10.0',
48
+ example: "<Button\n loading\n classNames={{ loading: 'my-spinner' }}\n styles={{ loading: { marginRight: 8 } }}\n>\n Submitting\n</Button>"
49
+ }],
50
+ demo: ButtonSemanticDemo
51
+ };
52
+ export default buttonSemantic;
@@ -1,2 +1,3 @@
1
1
  export type { ButtonProps as Props, ButtonShape as shape, ButtonType as type } from './button.type';
2
2
  export type { ButtonGroupProps as GroupProps } from './group.type';
3
+ export type { ButtonSemanticKey, ButtonClassNamesInfo } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { CardSemanticKey } from '@sheinx/base';
3
+ declare const cardSemantic: SemanticSchema<CardSemanticKey>;
4
+ export default cardSemantic;
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Card Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Card } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var CardSemanticDemo = function CardSemanticDemo() {
13
+ return /*#__PURE__*/_jsxs(Card, {
14
+ style: {
15
+ width: 360
16
+ },
17
+ children: [/*#__PURE__*/_jsx(Card.Header, {
18
+ extra: "Extra",
19
+ children: "Card Title"
20
+ }), /*#__PURE__*/_jsx(Card.Body, {
21
+ children: "Card content goes here."
22
+ }), /*#__PURE__*/_jsx(Card.Footer, {
23
+ children: "Footer"
24
+ })]
25
+ });
26
+ };
27
+ var cardSemantic = {
28
+ keys: [{
29
+ key: 'root',
30
+ cn: 'Card 最外层容器',
31
+ en: 'Card outermost wrapper element',
32
+ version: '3.10.0',
33
+ example: "<Card\n classNames={{ root: 'my-card' }}\n styles={{ root: { borderRadius: 12 } }}\n/>"
34
+ }, {
35
+ key: 'header',
36
+ cn: '头部区域容器',
37
+ en: 'Header section container',
38
+ version: '3.10.0',
39
+ example: "<Card\n classNames={{ header: 'my-header' }}\n styles={{ header: { padding: '16px 24px' } }}\n/>"
40
+ }, {
41
+ key: 'headerContent',
42
+ cn: '头部标题内容区',
43
+ en: 'Header title content area',
44
+ version: '3.10.0',
45
+ example: "<Card\n classNames={{ headerContent: 'my-title' }}\n styles={{ headerContent: { fontWeight: 600 } }}\n/>"
46
+ }, {
47
+ key: 'headerExtra',
48
+ cn: '头部额外内容区',
49
+ en: 'Header extra content area',
50
+ version: '3.10.0',
51
+ example: "<Card\n classNames={{ headerExtra: 'my-extra' }}\n styles={{ headerExtra: { color: '#999' } }}\n/>"
52
+ }, {
53
+ key: 'body',
54
+ cn: '主内容区',
55
+ en: 'Main content area',
56
+ version: '3.10.0',
57
+ example: "<Card\n classNames={{ body: 'my-body' }}\n styles={{ body: { padding: '16px 24px' } }}\n/>"
58
+ }, {
59
+ key: 'footer',
60
+ cn: '底部区域',
61
+ en: 'Footer section',
62
+ version: '3.10.0',
63
+ example: "<Card\n classNames={{ footer: 'my-footer' }}\n styles={{ footer: { borderTop: '1px solid #f0f0f0' } }}\n/>"
64
+ }],
65
+ demo: CardSemanticDemo
66
+ };
67
+ export default cardSemantic;
@@ -2,3 +2,4 @@ export type { CardProps as Props } from './card.type';
2
2
  export type { CardHeaderProps as HeaderProps } from './header.type';
3
3
  export type { CardBodyProps as BodyProps } from './body.type';
4
4
  export type { CardFooterProps as FooterProps } from './footer.type';
5
+ export type { CardSemanticKey } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { CarouselSemanticKey } from '@sheinx/base';
3
+ declare const carouselSemantic: SemanticSchema<CarouselSemanticKey>;
4
+ export default carouselSemantic;
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Carousel Semantic DOM 元数据。
3
+ *
4
+ * 文档站构建时通过 chunk 模板自动引入,渲染 Semantic tab。
5
+ *
6
+ * @see /docs/rfc/0001-semantic-dom.md
7
+ */
8
+ import React from 'react';
9
+ import { Carousel } from "./..";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var CarouselSemanticDemo = function CarouselSemanticDemo() {
13
+ return /*#__PURE__*/_jsxs(Carousel, {
14
+ style: {
15
+ width: 400,
16
+ height: 200
17
+ },
18
+ showArrow: "always",
19
+ interval: 0,
20
+ children: [/*#__PURE__*/_jsx("div", {
21
+ style: {
22
+ background: '#364d79',
23
+ height: '100%',
24
+ display: 'flex',
25
+ alignItems: 'center',
26
+ justifyContent: 'center',
27
+ color: '#fff'
28
+ },
29
+ children: "Slide 1"
30
+ }), /*#__PURE__*/_jsx("div", {
31
+ style: {
32
+ background: '#263c5a',
33
+ height: '100%',
34
+ display: 'flex',
35
+ alignItems: 'center',
36
+ justifyContent: 'center',
37
+ color: '#fff'
38
+ },
39
+ children: "Slide 2"
40
+ }), /*#__PURE__*/_jsx("div", {
41
+ style: {
42
+ background: '#1a2d47',
43
+ height: '100%',
44
+ display: 'flex',
45
+ alignItems: 'center',
46
+ justifyContent: 'center',
47
+ color: '#fff'
48
+ },
49
+ children: "Slide 3"
50
+ })]
51
+ });
52
+ };
53
+ var carouselSemantic = {
54
+ keys: [{
55
+ key: 'root',
56
+ cn: 'Carousel 最外层容器',
57
+ en: 'Carousel outermost wrapper element',
58
+ version: '3.10.0',
59
+ example: "<Carousel\n classNames={{ root: 'my-carousel' }}\n styles={{ root: { borderRadius: 8 } }}\n/>"
60
+ }, {
61
+ key: 'slider',
62
+ cn: '滑动区域容器',
63
+ en: 'Slider container with overflow hidden',
64
+ version: '3.10.0',
65
+ example: "<Carousel\n classNames={{ slider: 'my-slider' }}\n styles={{ slider: { borderRadius: 8 } }}\n/>"
66
+ }, {
67
+ key: 'item',
68
+ cn: '每个轮播项',
69
+ en: 'Each carousel slide item',
70
+ version: '3.10.0',
71
+ example: "<Carousel\n classNames={{ item: 'my-item' }}\n styles={{ item: { padding: 16 } }}\n/>"
72
+ }, {
73
+ key: 'indicator',
74
+ cn: '指示器容器',
75
+ en: 'Indicator dots/numbers container',
76
+ version: '3.10.0',
77
+ example: "<Carousel\n classNames={{ indicator: 'my-indicator' }}\n styles={{ indicator: { bottom: 16 } }}\n/>"
78
+ }, {
79
+ key: 'indicatorItem',
80
+ cn: '每个指示器元素(支持函数式 classNames 接收 { active } 状态)',
81
+ en: 'Each indicator element (supports functional classNames with { active } state)',
82
+ version: '3.10.0',
83
+ example: "<Carousel\n classNames={{ indicatorItem: ({ active }) => active ? 'dot-active' : 'dot' }}\n styles={{ indicatorItem: { width: 8, height: 8 } }}\n/>"
84
+ }, {
85
+ key: 'arrow',
86
+ cn: '箭头按钮',
87
+ en: 'Arrow buttons (prev/next)',
88
+ version: '3.10.0',
89
+ example: "<Carousel\n classNames={{ arrow: 'my-arrow' }}\n styles={{ arrow: { opacity: 0.8 } }}\n/>"
90
+ }],
91
+ demo: CarouselSemanticDemo
92
+ };
93
+ export default carouselSemantic;
@@ -1 +1,2 @@
1
1
  export type { CarouselProps as Props } from './carousel.type';
2
+ export type { CarouselSemanticKey, CarouselClassNamesInfo } from '@sheinx/base';
@@ -0,0 +1,4 @@
1
+ import type { SemanticSchema } from '@sheinx/base';
2
+ import type { CascaderSemanticKey } from '@sheinx/base';
3
+ declare const cascaderSemantic: SemanticSchema<CascaderSemanticKey>;
4
+ export default cascaderSemantic;