antdv-next 1.0.0-beta.2 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/dist/_util/PurePanel.mjs +4 -4
  2. package/dist/_util/hooks/useClosable.d.mts +0 -1
  3. package/dist/_util/hooks/useClosable.mjs +1 -1
  4. package/dist/_util/hooks/useMergeSemantic.d.mts +2 -3
  5. package/dist/_util/hooks/useMergeSemantic.mjs +9 -9
  6. package/dist/_util/tools.mjs +1 -1
  7. package/dist/_util/warning.d.mts +0 -1
  8. package/dist/affix/index.d.mts +3 -3
  9. package/dist/alert/Alert.d.mts +24 -7
  10. package/dist/alert/Alert.mjs +91 -28
  11. package/dist/anchor/Anchor.d.mts +18 -7
  12. package/dist/antd.css +1 -1
  13. package/dist/antd.js +101 -112
  14. package/dist/app/App.d.mts +2 -2
  15. package/dist/app/App.mjs +2 -2
  16. package/dist/auto-complete/index.d.mts +23 -11
  17. package/dist/auto-complete/index.mjs +1 -1
  18. package/dist/avatar/Avatar.d.mts +3 -3
  19. package/dist/avatar/AvatarGroup.d.mts +2 -2
  20. package/dist/avatar/style/index.mjs +2 -2
  21. package/dist/badge/Ribbon.d.mts +18 -2
  22. package/dist/badge/Ribbon.mjs +44 -23
  23. package/dist/badge/SingleNumber.mjs +2 -1
  24. package/dist/badge/index.d.mts +14 -7
  25. package/dist/badge/style/ribbon.mjs +1 -1
  26. package/dist/breadcrumb/Breadcrumb.d.mts +17 -6
  27. package/dist/breadcrumb/Breadcrumb.mjs +18 -3
  28. package/dist/breadcrumb/BreadcrumbItem.d.mts +1 -0
  29. package/dist/breadcrumb/BreadcrumbItem.mjs +29 -4
  30. package/dist/breadcrumb/style/index.mjs +5 -5
  31. package/dist/button/Button.d.mts +18 -10
  32. package/dist/button/buttonHelper.d.mts +0 -1
  33. package/dist/button/index.d.mts +1 -1
  34. package/dist/button/style/compact.mjs +28 -19
  35. package/dist/button/style/token.d.mts +0 -5
  36. package/dist/button/style/variant.mjs +27 -3
  37. package/dist/calendar/generateCalendar.d.mts +20 -7
  38. package/dist/calendar/generateCalendar.mjs +1 -1
  39. package/dist/calendar/index.d.mts +3 -3
  40. package/dist/card/Card.d.mts +23 -6
  41. package/dist/card/CardGrid.d.mts +2 -2
  42. package/dist/card/CardMeta.d.mts +20 -7
  43. package/dist/cascader/index.d.mts +28 -7
  44. package/dist/checkbox/Checkbox.d.mts +16 -7
  45. package/dist/checkbox/Checkbox.mjs +1 -1
  46. package/dist/checkbox/Group.d.mts +4 -3
  47. package/dist/checkbox/Group.mjs +11 -2
  48. package/dist/collapse/Collapse.d.mts +19 -6
  49. package/dist/collapse/Collapse.mjs +1 -1
  50. package/dist/color-picker/ColorPicker.d.mts +3 -3
  51. package/dist/color-picker/interface.d.mts +15 -7
  52. package/dist/color-picker/style/input.mjs +2 -0
  53. package/dist/components.d.mts +2 -3
  54. package/dist/config-provider/context.d.mts +58 -12
  55. package/dist/config-provider/context.mjs +3 -3
  56. package/dist/config-provider/define.d.mts +7 -1
  57. package/dist/config-provider/index.d.mts +3 -4
  58. package/dist/config-provider/index.mjs +82 -8
  59. package/dist/date-picker/generatePicker/index.d.mts +15 -15
  60. package/dist/date-picker/generatePicker/interface.d.mts +37 -10
  61. package/dist/date-picker/hooks/useMergedPickerSemantic.mjs +2 -2
  62. package/dist/date-picker/index.d.mts +25 -25
  63. package/dist/descriptions/Cell.mjs +5 -5
  64. package/dist/descriptions/DescriptionsContext.d.mts +13 -0
  65. package/dist/descriptions/Item.d.mts +3 -3
  66. package/dist/descriptions/hooks/useRow.mjs +7 -7
  67. package/dist/descriptions/index.d.mts +22 -7
  68. package/dist/divider/index.d.mts +15 -5
  69. package/dist/drawer/DrawerPanel.d.mts +28 -3
  70. package/dist/drawer/DrawerPanel.mjs +3 -3
  71. package/dist/drawer/index.d.mts +4 -4
  72. package/dist/drawer/index.mjs +4 -0
  73. package/dist/drawer/style/index.mjs +9 -2
  74. package/dist/dropdown/dropdown.d.mts +20 -7
  75. package/dist/empty/index.d.mts +18 -7
  76. package/dist/flex/index.d.mts +3 -3
  77. package/dist/float-button/FloatButton.d.mts +3 -4
  78. package/dist/float-button/FloatButtonGroup.d.mts +22 -3
  79. package/dist/form/Form.d.mts +16 -7
  80. package/dist/form/FormItem/index.d.mts +3 -3
  81. package/dist/form/FormItem/index.mjs +1 -1
  82. package/dist/form/FormItemInput.d.mts +0 -1
  83. package/dist/image/PreviewGroup.d.mts +3 -5
  84. package/dist/image/index.d.mts +34 -14
  85. package/dist/index.d.mts +3 -4
  86. package/dist/input/Input.d.mts +17 -4
  87. package/dist/input/Input.mjs +2 -2
  88. package/dist/input/OTP/index.d.mts +13 -4
  89. package/dist/input/Password.mjs +3 -3
  90. package/dist/input/Search.d.mts +21 -9
  91. package/dist/input/TextArea.d.mts +16 -7
  92. package/dist/input/TextArea.mjs +2 -2
  93. package/dist/input/index.d.mts +11 -11
  94. package/dist/input/style/index.mjs +5 -2
  95. package/dist/input/style/variants.mjs +2 -1
  96. package/dist/input-number/index.d.mts +20 -7
  97. package/dist/layout/index.d.mts +6 -6
  98. package/dist/layout/layout.d.mts +0 -1
  99. package/dist/locale/index.d.mts +0 -1
  100. package/dist/masonry/Masonry.d.mts +14 -7
  101. package/dist/masonry/MasonryItem.mjs +2 -2
  102. package/dist/mentions/index.d.mts +18 -7
  103. package/dist/mentions/index.mjs +2 -2
  104. package/dist/mentions/style/index.mjs +2 -2
  105. package/dist/menu/MenuContext.d.mts +0 -1
  106. package/dist/menu/MenuDivider.d.mts +2 -2
  107. package/dist/menu/MenuItem.d.mts +3 -3
  108. package/dist/menu/MenuItem.mjs +4 -3
  109. package/dist/menu/SubMenu.d.mts +3 -3
  110. package/dist/menu/SubMenu.mjs +5 -0
  111. package/dist/menu/index.d.mts +5 -5
  112. package/dist/menu/menu.d.mts +42 -10
  113. package/dist/menu/menu.mjs +2 -2
  114. package/dist/menu/style/index.d.mts +1 -1
  115. package/dist/menu/style/vertical.mjs +1 -1
  116. package/dist/message/PurePanel.d.mts +5 -7
  117. package/dist/message/index.mjs +2 -2
  118. package/dist/message/interface.d.mts +20 -4
  119. package/dist/message/useMessage.d.mts +0 -1
  120. package/dist/modal/Modal.d.mts +3 -3
  121. package/dist/modal/confirm.mjs +8 -4
  122. package/dist/modal/interface.d.mts +22 -3
  123. package/dist/modal/style/index.mjs +11 -8
  124. package/dist/notification/PurePanel.d.mts +8 -8
  125. package/dist/notification/index.mjs +2 -2
  126. package/dist/notification/interface.d.mts +18 -5
  127. package/dist/notification/style/index.mjs +8 -8
  128. package/dist/notification/useNotification.d.mts +2 -3
  129. package/dist/package.d.mts +4 -0
  130. package/dist/package.mjs +1 -1
  131. package/dist/pagination/Pagination.d.mts +3 -3
  132. package/dist/pagination/Pagination.mjs +11 -10
  133. package/dist/pagination/interface.d.mts +14 -5
  134. package/dist/pagination/style/bordered.mjs +2 -2
  135. package/dist/pagination/style/index.d.mts +10 -5
  136. package/dist/pagination/style/index.mjs +52 -103
  137. package/dist/popconfirm/PurePanel.d.mts +5 -7
  138. package/dist/popconfirm/index.d.mts +8 -6
  139. package/dist/popconfirm/index.mjs +7 -3
  140. package/dist/popover/index.d.mts +16 -9
  141. package/dist/popover/index.mjs +8 -5
  142. package/dist/progress/Line.mjs +3 -3
  143. package/dist/progress/progress.d.mts +20 -7
  144. package/dist/qrcode/index.d.mts +3 -3
  145. package/dist/qrcode/index.mjs +2 -1
  146. package/dist/qrcode/interface.d.mts +11 -3
  147. package/dist/radio/group.mjs +3 -3
  148. package/dist/radio/index.d.mts +5 -5
  149. package/dist/radio/interface.d.mts +13 -3
  150. package/dist/radio/radio.d.mts +3 -3
  151. package/dist/radio/radio.mjs +1 -1
  152. package/dist/rate/index.d.mts +3 -3
  153. package/dist/result/index.d.mts +22 -7
  154. package/dist/result/index.mjs +11 -6
  155. package/dist/result/noFound.d.mts +2 -2
  156. package/dist/result/serverError.d.mts +2 -2
  157. package/dist/result/unauthorized.d.mts +2 -2
  158. package/dist/segmented/index.d.mts +18 -7
  159. package/dist/select/index.d.mts +48 -20
  160. package/dist/skeleton/Avatar.d.mts +2 -2
  161. package/dist/skeleton/Button.d.mts +2 -2
  162. package/dist/skeleton/Image.d.mts +2 -2
  163. package/dist/skeleton/Input.d.mts +2 -2
  164. package/dist/skeleton/Node.d.mts +3 -3
  165. package/dist/skeleton/Skeleton.d.mts +22 -7
  166. package/dist/slider/index.d.mts +19 -6
  167. package/dist/slider/index.mjs +4 -4
  168. package/dist/space/index.d.mts +18 -9
  169. package/dist/spin/Indicator/Progress.mjs +3 -3
  170. package/dist/spin/index.d.mts +19 -6
  171. package/dist/splitter/SplitBar.mjs +12 -12
  172. package/dist/splitter/Splitter.d.mts +3 -3
  173. package/dist/splitter/Splitter.mjs +1 -1
  174. package/dist/splitter/hooks/useItems.mjs +2 -2
  175. package/dist/splitter/hooks/useResizable.mjs +5 -5
  176. package/dist/splitter/hooks/useResize.mjs +2 -2
  177. package/dist/splitter/index.d.mts +2 -2
  178. package/dist/splitter/interface.d.mts +21 -7
  179. package/dist/splitter/style/index.mjs +2 -28
  180. package/dist/statistic/Statistic.d.mts +21 -6
  181. package/dist/statistic/Statistic.mjs +1 -1
  182. package/dist/statistic/Timer.d.mts +5 -5
  183. package/dist/statistic/index.d.mts +5 -5
  184. package/dist/steps/context.mjs +5 -2
  185. package/dist/steps/index.d.mts +31 -9
  186. package/dist/steps/index.mjs +3 -3
  187. package/dist/style/motion/fade.mjs +25 -0
  188. package/dist/switch/index.d.mts +14 -7
  189. package/dist/switch/index.mjs +2 -2
  190. package/dist/table/Column.d.mts +3 -3
  191. package/dist/table/ColumnGroup.d.mts +3 -3
  192. package/dist/table/InternalTable.d.mts +35 -13
  193. package/dist/table/InternalTable.mjs +12 -6
  194. package/dist/table/Table.d.mts +3 -3
  195. package/dist/table/TableMeasureRowContext.mjs +20 -0
  196. package/dist/table/hooks/useFilter/FilterDropdown.mjs +17 -12
  197. package/dist/table/hooks/useSelection.mjs +1 -1
  198. package/dist/table/interface.d.mts +1 -2
  199. package/dist/table/style/virtual.mjs +1 -1
  200. package/dist/tabs/TabPane.d.mts +3 -3
  201. package/dist/tabs/index.d.mts +27 -11
  202. package/dist/tabs/index.mjs +5 -5
  203. package/dist/tag/CheckableTag.d.mts +3 -3
  204. package/dist/tag/CheckableTagGroup.d.mts +3 -3
  205. package/dist/tag/index.d.mts +16 -7
  206. package/dist/tag/index.mjs +1 -1
  207. package/dist/tag/style/index.mjs +1 -1
  208. package/dist/theme/index.d.mts +1 -2
  209. package/dist/theme/interface/maps/index.d.mts +0 -1
  210. package/dist/theme/useToken.mjs +3 -3
  211. package/dist/theme/util/genStyleUtils.mjs +3 -2
  212. package/dist/time-picker/index.d.mts +38 -14
  213. package/dist/time-picker/index.mjs +1 -1
  214. package/dist/timeline/Timeline.d.mts +49 -14
  215. package/dist/timeline/Timeline.mjs +82 -11
  216. package/dist/timeline/index.d.mts +1 -2
  217. package/dist/timeline/style/horizontal.mjs +73 -0
  218. package/dist/timeline/style/index.d.mts +10 -5
  219. package/dist/timeline/style/index.mjs +93 -137
  220. package/dist/timeline/useItems.mjs +52 -0
  221. package/dist/tooltip/PurePanel.d.mts +2 -2
  222. package/dist/tooltip/UniqueProvider/index.d.mts +2 -2
  223. package/dist/tooltip/index.d.mts +17 -8
  224. package/dist/tooltip/index.mjs +11 -3
  225. package/dist/tooltip/style/index.d.mts +7 -1
  226. package/dist/tooltip/style/index.mjs +3 -2
  227. package/dist/tour/index.d.mts +3 -3
  228. package/dist/tour/index.mjs +1 -1
  229. package/dist/tour/interface.d.mts +29 -3
  230. package/dist/transfer/Actions.d.mts +2 -2
  231. package/dist/transfer/ListItem.mjs +4 -4
  232. package/dist/transfer/Section.d.mts +2 -2
  233. package/dist/transfer/Transfer.d.mts +3 -3
  234. package/dist/transfer/Transfer.mjs +4 -4
  235. package/dist/transfer/index.d.mts +1 -1
  236. package/dist/transfer/interface.d.mts +32 -7
  237. package/dist/transfer/search.d.mts +3 -3
  238. package/dist/tree/DirectoryTree.d.mts +3 -3
  239. package/dist/tree/Tree.d.mts +18 -7
  240. package/dist/tree/index.d.mts +0 -1
  241. package/dist/tree-select/index.d.mts +41 -12
  242. package/dist/tree-select/style/index.d.mts +1 -1
  243. package/dist/typography/Editable.mjs +4 -4
  244. package/dist/typography/Link.d.mts +3 -3
  245. package/dist/typography/Paragraph.d.mts +3 -3
  246. package/dist/typography/Text.d.mts +3 -3
  247. package/dist/typography/Title.d.mts +3 -3
  248. package/dist/typography/Typography.d.mts +3 -3
  249. package/dist/typography/Typography.mjs +2 -12
  250. package/dist/typography/index.d.mts +9 -10
  251. package/dist/typography/interface.d.mts +0 -2
  252. package/dist/typography/style/mixins.mjs +3 -3
  253. package/dist/upload/Dragger.d.mts +3 -3
  254. package/dist/upload/Upload.d.mts +3 -4
  255. package/dist/upload/index.d.mts +3 -3
  256. package/dist/upload/interface.d.mts +13 -4
  257. package/dist/watermark/index.d.mts +2 -2
  258. package/dist/watermark/index.mjs +3 -3
  259. package/package.json +45 -41
  260. package/web-tags.json +1108 -1067
  261. package/web-types.json +3861 -4257
  262. package/dist/timeline/TimelineItem.d.mts +0 -20
  263. package/dist/timeline/TimelineItem.mjs +0 -115
  264. package/dist/timeline/TimelineItemList.mjs +0 -158
  265. /package/dist/{reset.css/reset.css → reset.css} +0 -0
@@ -1,7 +1,6 @@
1
1
  import { CSSProperties, VNodeChild } from "vue";
2
2
 
3
3
  //#region src/button/buttonHelper.d.ts
4
-
5
4
  declare const _ButtonTypes: readonly ["default", "primary", "dashed", "link", "text"];
6
5
  type ButtonType = (typeof _ButtonTypes)[number];
7
6
  declare const _ButtonShapes: readonly ["default", "circle", "round", "square"];
@@ -1,3 +1,3 @@
1
1
  import { SizeType } from "../config-provider/SizeContext.mjs";
2
2
  import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType, _ButtonColorTypes, _ButtonVariantTypes } from "./buttonHelper.mjs";
3
- import { Button, ButtonProps, ButtonSemanticName, LegacyButtonType } from "./Button.mjs";
3
+ import { Button, ButtonProps, LegacyButtonType } from "./Button.mjs";
@@ -1,4 +1,4 @@
1
- import { genSubStyleComponent } from "../../theme/util/genStyleUtils.mjs";
1
+ import { genCssVar, genSubStyleComponent } from "../../theme/util/genStyleUtils.mjs";
2
2
  import "../../theme/internal.mjs";
3
3
  import { prepareComponentToken, prepareToken } from "./token.mjs";
4
4
  import { genCompactItemStyle } from "../../style/compact-item.mjs";
@@ -6,28 +6,37 @@ import { genCompactItemVerticalStyle } from "../../style/compact-item-vertical.m
6
6
 
7
7
  //#region src/button/style/compact.ts
8
8
  const genButtonCompactStyle = (token) => {
9
- const { componentCls, colorPrimaryHover, lineWidth, calc } = token;
9
+ const { antCls, componentCls, lineWidth, calc, colorBgContainer } = token;
10
+ const solidSelector = `${componentCls}-variant-solid:not([disabled])`;
10
11
  const insetOffset = calc(lineWidth).mul(-1).equal();
12
+ const [varName, varRef] = genCssVar(antCls, "btn");
11
13
  const getCompactBorderStyle = (vertical) => {
12
- const itemCls = `${componentCls}-compact${vertical ? "-vertical" : ""}-item`;
13
- const selector = `${itemCls}${componentCls}-primary:not([disabled])`;
14
- return {
15
- [itemCls]: { transition: `none` },
16
- [`${selector} + ${selector}::before`]: {
17
- position: "absolute",
18
- top: vertical ? insetOffset : 0,
19
- insetInlineStart: vertical ? 0 : insetOffset,
20
- backgroundColor: colorPrimaryHover,
21
- content: "\"\"",
22
- width: vertical ? "100%" : lineWidth,
23
- height: vertical ? lineWidth : "100%"
14
+ return { [`${componentCls}-compact${vertical ? "-vertical" : ""}-item`]: {
15
+ [varName("compact-connect-border-color")]: varRef("bg-color-hover"),
16
+ [`&${solidSelector}`]: {
17
+ "transition": `none`,
18
+ [`& + ${solidSelector}:before`]: [{
19
+ position: "absolute",
20
+ backgroundColor: varRef("compact-connect-border-color"),
21
+ content: "\"\""
22
+ }, vertical ? {
23
+ top: insetOffset,
24
+ insetInline: insetOffset,
25
+ height: lineWidth
26
+ } : {
27
+ insetBlock: insetOffset,
28
+ insetInlineStart: insetOffset,
29
+ width: lineWidth
30
+ }],
31
+ "&:hover:before": { display: "none" }
24
32
  }
25
- };
26
- };
27
- return {
28
- ...getCompactBorderStyle(),
29
- ...getCompactBorderStyle(true)
33
+ } };
30
34
  };
35
+ return [
36
+ getCompactBorderStyle(),
37
+ getCompactBorderStyle(true),
38
+ { [`${solidSelector}${componentCls}-color-default`]: { [varName("compact-connect-border-color")]: `color-mix(in srgb, ${varRef("bg-color-hover")} 75%, ${colorBgContainer})` } }
39
+ ];
31
40
  };
32
41
  var compact_default = genSubStyleComponent(["Button", "compact"], (token) => {
33
42
  const buttonToken = prepareToken(token);
@@ -174,11 +174,6 @@ interface ComponentToken {
174
174
  * @descEN Icon size of small button which only contains icon
175
175
  */
176
176
  onlyIconSizeSM: number | string;
177
- /**
178
- * @desc 按钮组边框颜色
179
- * @descEN Border color of button group
180
- */
181
- groupBorderColor: string;
182
177
  /**
183
178
  * @desc 链接按钮悬浮态背景色
184
179
  * @descEN Background color of link button when hover
@@ -117,7 +117,12 @@ const genVariantStyle = (token) => {
117
117
  [varName("color-light")]: token.colorPrimaryBg,
118
118
  [varName("color-light-hover")]: token.colorPrimaryBgHover,
119
119
  [varName("color-light-active")]: token.colorPrimaryBorder,
120
- [varName("shadow")]: token.primaryShadow
120
+ [varName("shadow")]: token.primaryShadow,
121
+ [`&${componentCls}-variant-solid`]: {
122
+ [varName("text-color")]: token.primaryColor,
123
+ [varName("text-color-hover")]: varRef("text-color"),
124
+ [varName("text-color-active")]: varRef("text-color")
125
+ }
121
126
  },
122
127
  [`&${componentCls}-color-dangerous`]: {
123
128
  [varName("color-base")]: token.colorError,
@@ -126,7 +131,12 @@ const genVariantStyle = (token) => {
126
131
  [varName("color-light")]: token.colorErrorBg,
127
132
  [varName("color-light-hover")]: token.colorErrorBgFilledHover,
128
133
  [varName("color-light-active")]: token.colorErrorBgActive,
129
- [varName("shadow")]: token.dangerShadow
134
+ [varName("shadow")]: token.dangerShadow,
135
+ [`&${componentCls}-variant-solid`]: {
136
+ [varName("text-color")]: token.dangerColor,
137
+ [varName("text-color-hover")]: varRef("text-color"),
138
+ [varName("text-color-active")]: varRef("text-color")
139
+ }
130
140
  },
131
141
  [`&${componentCls}-color-default`]: {
132
142
  [varName("solid-bg-color")]: token.colorBgSolid,
@@ -142,11 +152,25 @@ const genVariantStyle = (token) => {
142
152
  [varName("text-color-hover")]: token.defaultHoverBorderColor,
143
153
  [varName("text-color-active")]: token.defaultActiveBorderColor,
144
154
  [varName("shadow")]: token.defaultShadow,
145
- [`&${componentCls}-variant-solid`]: { [varName("text-color")]: token.solidTextColor },
155
+ [`&${componentCls}-variant-solid`]: {
156
+ [varName("text-color")]: token.solidTextColor,
157
+ [varName("text-color-hover")]: varRef("text-color"),
158
+ [varName("text-color-active")]: varRef("text-color")
159
+ },
146
160
  [`&${componentCls}-variant-filled, &${componentCls}-variant-text`]: {
147
161
  [varName("text-color-hover")]: varRef("text-color"),
148
162
  [varName("text-color-active")]: varRef("text-color")
149
163
  },
164
+ [`&${componentCls}-variant-outlined, &${componentCls}-variant-dashed`]: {
165
+ [varName("bg-color-hover")]: token.defaultHoverBg,
166
+ [varName("bg-color-active")]: token.defaultActiveBg
167
+ },
168
+ [`&${componentCls}-variant-text`]: {
169
+ [varName("text-color")]: token.textTextColor,
170
+ [varName("text-color-hover")]: token.textTextHoverColor,
171
+ [varName("text-color-active")]: token.textTextActiveColor,
172
+ [varName("bg-color-hover")]: token.textHoverBg
173
+ },
150
174
  [`&${componentCls}-background-ghost`]: { [`&${componentCls}-variant-outlined, &${componentCls}-variant-dashed`]: {
151
175
  [varName("text-color")]: token.defaultGhostColor,
152
176
  [varName("border-color")]: token.defaultGhostBorderColor
@@ -3,8 +3,8 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { locale } from "../date-picker/locale/en_US.mjs";
5
5
  import "./locale/en_US.mjs";
6
- import * as vue246 from "vue";
7
- import { SlotsType } from "vue";
6
+ import * as vue344 from "vue";
7
+ import { CSSProperties, SlotsType } from "vue";
8
8
  import { GenerateConfig } from "@v-c/picker/generate/index";
9
9
 
10
10
  //#region src/calendar/generateCalendar.d.ts
@@ -18,9 +18,22 @@ type HeaderRender<DateType> = (config: {
18
18
  interface SelectInfo {
19
19
  source: 'year' | 'month' | 'date' | 'customize';
20
20
  }
21
- type SemanticName = 'root' | 'header' | 'body' | 'content' | 'item';
22
- type CalendarClassNamesType<DateType> = SemanticClassNamesType<CalendarProps<DateType>, SemanticName>;
23
- type CalendarStylesType<DateType> = SemanticStylesType<CalendarProps<DateType>, SemanticName>;
21
+ interface CalendarSemanticClassNames {
22
+ root?: string;
23
+ header?: string;
24
+ body?: string;
25
+ content?: string;
26
+ item?: string;
27
+ }
28
+ interface CalendarSemanticStyles {
29
+ root?: CSSProperties;
30
+ header?: CSSProperties;
31
+ body?: CSSProperties;
32
+ content?: CSSProperties;
33
+ item?: CSSProperties;
34
+ }
35
+ type CalendarClassNamesType<DateType> = SemanticClassNamesType<CalendarProps<DateType>, CalendarSemanticClassNames>;
36
+ type CalendarStylesType<DateType> = SemanticStylesType<CalendarProps<DateType>, CalendarSemanticStyles>;
24
37
  interface CalendarProps<DateType> {
25
38
  prefixCls?: string;
26
39
  rootClass?: string;
@@ -82,8 +95,8 @@ interface CalendarEmits<DateType = AnyObject> {
82
95
  'select': (date: DateType, selectInfo: SelectInfo) => void;
83
96
  [key: string]: (...args: any[]) => void;
84
97
  }
85
- declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): vue246.DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots>, CalendarProps<DateType> & {
98
+ declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): vue344.DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots>, CalendarProps<DateType> & {
86
99
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
87
- }, vue246.PublicProps>;
100
+ }, vue344.PublicProps>;
88
101
  //#endregion
89
102
  export { CalendarEmits, CalendarMode, CalendarProps, CalendarSlots, generateCalendar };
@@ -292,7 +292,7 @@ function generateCalendar(generateConfig) {
292
292
  fullscreen: {
293
293
  type: Boolean,
294
294
  required: false,
295
- default: void 0
295
+ default: true
296
296
  },
297
297
  showWeek: {
298
298
  type: Boolean,
@@ -1,11 +1,11 @@
1
1
  import { CalendarEmits, CalendarMode, CalendarProps, CalendarSlots, generateCalendar } from "./generateCalendar.mjs";
2
- import * as vue71 from "vue";
2
+ import * as vue69 from "vue";
3
3
  import { Dayjs } from "dayjs";
4
4
 
5
5
  //#region src/calendar/index.d.ts
6
- declare const Calendar: vue71.DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, vue71.SlotsType<CalendarSlots>, CalendarProps<Dayjs> & {
6
+ declare const Calendar: vue69.DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, vue69.SlotsType<CalendarSlots>, CalendarProps<Dayjs> & {
7
7
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
8
- }, vue71.PublicProps>;
8
+ }, vue69.PublicProps>;
9
9
  type CalendarType = typeof Calendar & {
10
10
  generateCalendar: typeof generateCalendar;
11
11
  };
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { Tab, TabsSlots } from "../tabs/index.mjs";
5
5
  import { ComponentBaseProps } from "../config-provider/context.mjs";
6
- import * as vue242 from "vue";
6
+ import * as vue229 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
 
9
9
  //#region src/card/Card.d.ts
@@ -15,9 +15,26 @@ interface CardTabListType extends Omit<Tab, 'label'> {
15
15
  tab?: VueNode;
16
16
  label?: VueNode;
17
17
  }
18
- type SemanticName = 'root' | 'header' | 'body' | 'extra' | 'title' | 'actions' | 'cover';
19
- type CardClassNamesType = SemanticClassNamesType<CardProps, SemanticName>;
20
- type CardStylesType = SemanticStylesType<CardProps, SemanticName>;
18
+ interface CardSemanticClassNames {
19
+ root?: string;
20
+ header?: string;
21
+ body?: string;
22
+ extra?: string;
23
+ title?: string;
24
+ actions?: string;
25
+ cover?: string;
26
+ }
27
+ interface CardSemanticStyles {
28
+ root?: CSSProperties;
29
+ header?: CSSProperties;
30
+ body?: CSSProperties;
31
+ extra?: CSSProperties;
32
+ title?: CSSProperties;
33
+ actions?: CSSProperties;
34
+ cover?: CSSProperties;
35
+ }
36
+ type CardClassNamesType = SemanticClassNamesType<CardProps, CardSemanticClassNames>;
37
+ type CardStylesType = SemanticStylesType<CardProps, CardSemanticStyles>;
21
38
  interface CardProps extends ComponentBaseProps {
22
39
  title?: VueNode;
23
40
  extra?: VueNode;
@@ -60,8 +77,8 @@ interface CardSlots {
60
77
  tabLabelRender?: TabsSlots['labelRender'];
61
78
  tabBarExtraContent?: () => any;
62
79
  }
63
- declare const Card: vue242.DefineSetupFnComponent<CardProps, CardEmits, SlotsType<CardSlots>, CardProps & {
80
+ declare const Card: vue229.DefineSetupFnComponent<CardProps, CardEmits, SlotsType<CardSlots>, CardProps & {
64
81
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
65
- }, vue242.PublicProps>;
82
+ }, vue229.PublicProps>;
66
83
  //#endregion
67
84
  export { Card, CardEmits, CardProps, CardSize, CardSlots, CardTabListType };
@@ -1,10 +1,10 @@
1
- import * as vue244 from "vue";
1
+ import * as vue231 from "vue";
2
2
 
3
3
  //#region src/card/CardGrid.d.ts
4
4
  interface CardGridProps {
5
5
  prefixCls?: string;
6
6
  hoverable?: boolean;
7
7
  }
8
- declare const CardGrid: vue244.DefineSetupFnComponent<CardGridProps, {}, {}, CardGridProps & {}, vue244.PublicProps>;
8
+ declare const CardGrid: vue231.DefineSetupFnComponent<CardGridProps, {}, {}, CardGridProps & {}, vue231.PublicProps>;
9
9
  //#endregion
10
10
  export { CardGrid, CardGridProps };
@@ -1,13 +1,26 @@
1
1
  import { EmptyEmit, VueNode } from "../_util/type.mjs";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
3
  import "../_util/hooks/index.mjs";
4
- import * as vue240 from "vue";
5
- import { SlotsType } from "vue";
4
+ import * as vue225 from "vue";
5
+ import { CSSProperties, SlotsType } from "vue";
6
6
 
7
7
  //#region src/card/CardMeta.d.ts
8
- type SemanticName = 'root' | 'section' | 'avatar' | 'title' | 'description';
9
- type CardMetaClassNamesType = SemanticClassNamesType<CardMetaProps, SemanticName>;
10
- type CardMetaStylesType = SemanticStylesType<CardMetaProps, SemanticName>;
8
+ interface CardMetaSemanticClassNames {
9
+ root?: string;
10
+ section?: string;
11
+ avatar?: string;
12
+ title?: string;
13
+ description?: string;
14
+ }
15
+ interface CardMetaSemanticStyles {
16
+ root?: CSSProperties;
17
+ section?: CSSProperties;
18
+ avatar?: CSSProperties;
19
+ title?: CSSProperties;
20
+ description?: CSSProperties;
21
+ }
22
+ type CardMetaClassNamesType = SemanticClassNamesType<CardMetaProps, CardMetaSemanticClassNames>;
23
+ type CardMetaStylesType = SemanticStylesType<CardMetaProps, CardMetaSemanticStyles>;
11
24
  interface CardMetaProps {
12
25
  prefixCls?: string;
13
26
  avatar?: VueNode;
@@ -22,8 +35,8 @@ interface CardMetaSlots {
22
35
  description?: () => any;
23
36
  default?: () => any;
24
37
  }
25
- declare const CardMeta: vue240.DefineSetupFnComponent<CardMetaProps, EmptyEmit, SlotsType<CardMetaSlots>, CardMetaProps & {
38
+ declare const CardMeta: vue225.DefineSetupFnComponent<CardMetaProps, EmptyEmit, SlotsType<CardMetaSlots>, CardMetaProps & {
26
39
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
27
- }, vue240.PublicProps>;
40
+ }, vue225.PublicProps>;
28
41
  //#endregion
29
42
  export { CardMeta, CardMetaProps };
@@ -1,9 +1,10 @@
1
1
  import { SizeType } from "../config-provider/SizeContext.mjs";
2
2
  import { VueNode } from "../_util/type.mjs";
3
- import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
+ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
4
4
  import "../_util/hooks/index.mjs";
5
5
  import { InputStatus } from "../_util/statusUtils.mjs";
6
6
  import { SelectCommonPlacement } from "../_util/motion.mjs";
7
+ import { SelectPopupSemanticClassNames, SelectPopupSemanticStyles } from "../select/index.mjs";
7
8
  import { CascaderPanel } from "./Panel.mjs";
8
9
  import { Variant } from "../config-provider/context.mjs";
9
10
  import * as vue76 from "vue";
@@ -11,13 +12,33 @@ import { App, CSSProperties, SlotsType } from "vue";
11
12
  import { CascaderProps, DefaultOptionType, SHOW_CHILD, SHOW_PARENT } from "@v-c/cascader";
12
13
 
13
14
  //#region src/cascader/index.d.ts
14
- type SemanticName = 'root' | 'prefix' | 'suffix' | 'input' | 'placeholder' | 'content' | 'item' | 'itemContent' | 'itemRemove';
15
- type PopupSemantic = 'root' | 'listItem' | 'list';
16
- type CascaderClassNamesType = SemanticClassNamesType<CascaderProps$1, SemanticName, {
17
- popup?: SemanticClassNames<PopupSemantic>;
15
+ interface CascaderSemanticClassNames {
16
+ root?: string;
17
+ prefix?: string;
18
+ suffix?: string;
19
+ input?: string;
20
+ placeholder?: string;
21
+ content?: string;
22
+ item?: string;
23
+ itemContent?: string;
24
+ itemRemove?: string;
25
+ }
26
+ interface CascaderSemanticStyles {
27
+ root?: CSSProperties;
28
+ prefix?: CSSProperties;
29
+ suffix?: CSSProperties;
30
+ input?: CSSProperties;
31
+ placeholder?: CSSProperties;
32
+ content?: CSSProperties;
33
+ item?: CSSProperties;
34
+ itemContent?: CSSProperties;
35
+ itemRemove?: CSSProperties;
36
+ }
37
+ type CascaderClassNamesType = SemanticClassNamesType<CascaderProps$1, CascaderSemanticClassNames, {
38
+ popup?: SelectPopupSemanticClassNames;
18
39
  }>;
19
- type CascaderStylesType = SemanticStylesType<CascaderProps$1, SemanticName, {
20
- popup?: SemanticStyles<PopupSemantic>;
40
+ type CascaderStylesType = SemanticStylesType<CascaderProps$1, CascaderSemanticStyles, {
41
+ popup?: SelectPopupSemanticStyles;
21
42
  }>;
22
43
  interface CascaderProps$1<OptionType extends DefaultOptionType = DefaultOptionType, ValueField extends keyof OptionType = keyof OptionType, Multiple extends boolean = boolean> extends Omit<CascaderProps<OptionType, ValueField, Multiple>, 'checkable' | 'className' | 'style' | 'classNames' | 'styles' | 'onChange' | 'onSearch' | 'onPopupVisibleChange' | 'multiple' | 'value'> {
23
44
  value?: any;
@@ -1,8 +1,8 @@
1
1
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
2
2
  import "../_util/hooks/index.mjs";
3
3
  import { ComponentBaseProps } from "../config-provider/context.mjs";
4
- import * as vue252 from "vue";
5
- import { SlotsType } from "vue";
4
+ import * as vue285 from "vue";
5
+ import { CSSProperties, SlotsType } from "vue";
6
6
  import { CheckboxChangeEvent } from "@v-c/checkbox";
7
7
 
8
8
  //#region src/checkbox/Checkbox.d.ts
@@ -36,16 +36,25 @@ interface CheckboxEmits {
36
36
  interface CheckboxSlots {
37
37
  default?: () => any;
38
38
  }
39
- type SemanticName = 'root' | 'icon' | 'label';
40
- type CheckboxClassNamesType = SemanticClassNamesType<CheckboxProps, SemanticName>;
41
- type CheckboxStylesType = SemanticStylesType<CheckboxProps, SemanticName>;
39
+ interface CheckboxSemanticClassNames {
40
+ root?: string;
41
+ icon?: string;
42
+ label?: string;
43
+ }
44
+ interface CheckboxSemanticStyles {
45
+ root?: CSSProperties;
46
+ icon?: CSSProperties;
47
+ label?: CSSProperties;
48
+ }
49
+ type CheckboxClassNamesType = SemanticClassNamesType<CheckboxProps, CheckboxSemanticClassNames>;
50
+ type CheckboxStylesType = SemanticStylesType<CheckboxProps, CheckboxSemanticStyles>;
42
51
  interface CheckboxProps extends AbstractCheckboxProps {
43
52
  indeterminate?: boolean;
44
53
  classes?: CheckboxClassNamesType;
45
54
  styles?: CheckboxStylesType;
46
55
  }
47
- declare const InternalCheckbox: vue252.DefineSetupFnComponent<CheckboxProps, CheckboxEmits, SlotsType<CheckboxSlots>, CheckboxProps & {
56
+ declare const InternalCheckbox: vue285.DefineSetupFnComponent<CheckboxProps, CheckboxEmits, SlotsType<CheckboxSlots>, CheckboxProps & {
48
57
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
49
- }, vue252.PublicProps>;
58
+ }, vue285.PublicProps>;
50
59
  //#endregion
51
60
  export { AbstractCheckboxProps, CheckboxEmits, CheckboxProps, CheckboxSlots, InternalCheckbox };
@@ -3,11 +3,11 @@ import { getAttrStyleAndClass as getAttrStyleAndClass$1, useMergeSemantic, useTo
3
3
  import { devUseWarning, isDev } from "../_util/warning.mjs";
4
4
  import "../_util/hooks/index.mjs";
5
5
  import { toPropsRefs } from "../_util/tools.mjs";
6
- import { checkRenderNode } from "../_util/vueNode.mjs";
7
6
  import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.mjs";
8
7
  import { useDisabledContext } from "../config-provider/DisabledContext.mjs";
9
8
  import { TARGET_CLS } from "../_util/wave/interface.mjs";
10
9
  import wave_default from "../_util/wave/index.mjs";
10
+ import { checkRenderNode } from "../_util/vueNode.mjs";
11
11
  import isNonNullable_default from "../_util/isNonNullable.mjs";
12
12
  import { useFormItemContext, useFormItemInputContext } from "../form/context.mjs";
13
13
  import useBubbleLock from "./useBubbleLock.mjs";
@@ -1,6 +1,6 @@
1
1
  import { VueNode } from "../_util/type.mjs";
2
2
  import { ComponentBaseProps } from "../config-provider/context.mjs";
3
- import * as vue250 from "vue";
3
+ import * as vue287 from "vue";
4
4
  import { CSSProperties, SlotsType } from "vue";
5
5
  import { CheckboxChangeEvent } from "@v-c/checkbox";
6
6
 
@@ -28,6 +28,7 @@ interface CheckboxGroupProps extends AbstractCheckboxGroupProps {
28
28
  item: CheckboxOptionType;
29
29
  index: number;
30
30
  }) => any;
31
+ role?: string;
31
32
  }
32
33
  interface CheckboxGroupEmits {
33
34
  'update:value': (value: any[]) => void;
@@ -41,8 +42,8 @@ interface CheckboxGroupSlots {
41
42
  index: number;
42
43
  }) => any;
43
44
  }
44
- declare const CheckboxGroup: vue250.DefineSetupFnComponent<CheckboxGroupProps, CheckboxGroupEmits, SlotsType<CheckboxGroupSlots>, CheckboxGroupProps & {
45
+ declare const CheckboxGroup: vue287.DefineSetupFnComponent<CheckboxGroupProps, CheckboxGroupEmits, SlotsType<CheckboxGroupSlots>, CheckboxGroupProps & {
45
46
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
46
- }, vue250.PublicProps>;
47
+ }, vue287.PublicProps>;
47
48
  //#endregion
48
49
  export { AbstractCheckboxGroupProps, CheckboxGroup, CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType };
@@ -61,7 +61,7 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
61
61
  };
62
62
  }));
63
63
  return () => {
64
- const { options = [], rootClass } = props;
64
+ const { options = [], rootClass, role } = props;
65
65
  const restProps = omit(props, [
66
66
  "options",
67
67
  "rootClass",
@@ -93,6 +93,7 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
93
93
  const classString = clsx(groupPrefixCls.value, { [`${groupPrefixCls.value}-rtl`]: direction.value === "rtl" }, className, rootClass, cssVarCls.value, rootCls.value, hashId.value);
94
94
  return createVNode("div", mergeProps({
95
95
  "class": classString,
96
+ "role": role,
96
97
  "style": style
97
98
  }, restAttrs), [childrenNode]);
98
99
  };
@@ -119,6 +120,11 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
119
120
  required: false,
120
121
  default: void 0
121
122
  },
123
+ role: {
124
+ type: String,
125
+ required: false,
126
+ default: void 0
127
+ },
122
128
  options: {
123
129
  type: Array,
124
130
  required: false,
@@ -139,7 +145,10 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
139
145
  required: false,
140
146
  default: void 0
141
147
  }
142
- }, { options: [] }),
148
+ }, {
149
+ options: [],
150
+ role: "group"
151
+ }),
143
152
  name: "ACheckboxGroup",
144
153
  inheritAttrs: false
145
154
  });
@@ -3,15 +3,28 @@ import { VueNode } from "../_util/type.mjs";
3
3
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
4
4
  import "../_util/hooks/index.mjs";
5
5
  import { CollapsibleType } from "./CollapsePanel.mjs";
6
- import * as vue450 from "vue";
6
+ import * as vue707 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
  import { ItemType } from "@v-c/collapse";
9
9
 
10
10
  //#region src/collapse/Collapse.d.ts
11
11
  type ExpandIconPlacement = 'start' | 'end';
12
- type CollapseSemanticName = 'root' | 'header' | 'title' | 'body' | 'icon';
13
- type CollapseClassNamesType = SemanticClassNamesType<CollapseProps, CollapseSemanticName>;
14
- type CollapseStylesType = SemanticStylesType<CollapseProps, CollapseSemanticName>;
12
+ interface CollapseSemanticClassNames {
13
+ root?: string;
14
+ header?: string;
15
+ title?: string;
16
+ body?: string;
17
+ icon?: string;
18
+ }
19
+ interface CollapseSemanticStyles {
20
+ root?: CSSProperties;
21
+ header?: CSSProperties;
22
+ title?: CSSProperties;
23
+ body?: CSSProperties;
24
+ icon?: CSSProperties;
25
+ }
26
+ type CollapseClassNamesType = SemanticClassNamesType<CollapseProps, CollapseSemanticClassNames>;
27
+ type CollapseStylesType = SemanticStylesType<CollapseProps, CollapseSemanticStyles>;
15
28
  type CollapseItemType = Omit<ItemType, 'children'> & {
16
29
  content?: ItemType['children'];
17
30
  };
@@ -69,8 +82,8 @@ interface CollapseSlots {
69
82
  index: number;
70
83
  }) => any;
71
84
  }
72
- declare const Collapse: vue450.DefineSetupFnComponent<CollapseProps, CollapseEmits, SlotsType<CollapseSlots>, CollapseProps & {
85
+ declare const Collapse: vue707.DefineSetupFnComponent<CollapseProps, CollapseEmits, SlotsType<CollapseSlots>, CollapseProps & {
73
86
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
74
- }, vue450.PublicProps>;
87
+ }, vue707.PublicProps>;
75
88
  //#endregion
76
89
  export { Collapse, CollapseProps };
@@ -2,9 +2,9 @@ import { useComponentBaseConfig } from "../config-provider/context.mjs";
2
2
  import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.mjs";
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { toPropsRefs } from "../_util/tools.mjs";
5
- import { checkRenderNode, cloneElement } from "../_util/vueNode.mjs";
6
5
  import { useSize } from "../config-provider/hooks/useSize.mjs";
7
6
  import motion_default from "../_util/motion.mjs";
7
+ import { checkRenderNode, cloneElement } from "../_util/vueNode.mjs";
8
8
  import style_default from "./style/index.mjs";
9
9
  import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
10
10
  import { classNames } from "@v-c/util";
@@ -3,12 +3,12 @@ import { PopoverProps } from "../popover/index.mjs";
3
3
  import { AggregationColor } from "./color.mjs";
4
4
  import { ColorFormatType, ColorPickerClassNamesType, ColorPickerEmits, ColorPickerProps as ColorPickerProps$1, ColorPickerSlots, ColorPickerStylesType, ColorValueType, ModeType, PresetsItem, TriggerPlacement, TriggerType } from "./interface.mjs";
5
5
  import "../components.mjs";
6
- import * as vue396 from "vue";
6
+ import * as vue243 from "vue";
7
7
  import { SlotsType } from "vue";
8
8
  import * as _v_c_color_picker0 from "@v-c/color-picker";
9
9
 
10
10
  //#region src/color-picker/ColorPicker.d.ts
11
- declare const ColorPicker: vue396.DefineSetupFnComponent<ColorPickerProps$1, ColorPickerEmits, SlotsType<ColorPickerSlots>, Omit<_v_c_color_picker0.ColorPickerProps, "value" | "onChange" | "defaultValue" | "components" | "panelRender" | "onChangeComplete" | "disabledAlpha"> & {
11
+ declare const ColorPicker: vue243.DefineSetupFnComponent<ColorPickerProps$1, ColorPickerEmits, SlotsType<ColorPickerSlots>, Omit<_v_c_color_picker0.ColorPickerProps, "value" | "onChange" | "defaultValue" | "components" | "panelRender" | "onChangeComplete" | "disabledAlpha"> & {
12
12
  [key: `data-${string}`]: string;
13
13
  mode?: ModeType | ModeType[];
14
14
  value?: ColorValueType;
@@ -44,6 +44,6 @@ declare const ColorPicker: vue396.DefineSetupFnComponent<ColorPickerProps$1, Col
44
44
  disabledFormat?: boolean;
45
45
  } & Pick<PopoverProps, "getPopupContainer" | "autoAdjustOverflow" | "destroyOnHidden"> & {
46
46
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
47
- }, vue396.PublicProps>;
47
+ }, vue243.PublicProps>;
48
48
  //#endregion
49
49
  export { ColorPicker };
@@ -1,6 +1,6 @@
1
1
  import { SizeType } from "../config-provider/SizeContext.mjs";
2
2
  import { VueNode } from "../_util/type.mjs";
3
- import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
+ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
4
4
  import "../_util/hooks/index.mjs";
5
5
  import { TooltipPlacement } from "../tooltip/index.mjs";
6
6
  import { PopoverProps } from "../popover/index.mjs";
@@ -42,13 +42,21 @@ type LineGradientType = {
42
42
  }[];
43
43
  type ColorValueType = SingleValueType | null | LineGradientType;
44
44
  type ModeType = 'single' | 'gradient';
45
- type SemanticName = 'root';
46
- type PopupSemantic = 'root';
47
- type ColorPickerClassNamesType = SemanticClassNamesType<ColorPickerProps$1, SemanticName, {
48
- popup?: SemanticClassNames<PopupSemantic>;
45
+ interface ColorPickerSemanticClassNames {
46
+ root?: string;
47
+ }
48
+ interface ColorPickerSemanticStyles {
49
+ root?: CSSProperties;
50
+ }
51
+ type ColorPickerClassNamesType = SemanticClassNamesType<ColorPickerProps$1, ColorPickerSemanticClassNames, {
52
+ popup?: {
53
+ root?: string;
54
+ };
49
55
  }>;
50
- type ColorPickerStylesType = SemanticStylesType<ColorPickerProps$1, SemanticName, {
51
- popup?: SemanticStyles<PopupSemantic>;
56
+ type ColorPickerStylesType = SemanticStylesType<ColorPickerProps$1, ColorPickerSemanticStyles, {
57
+ popup?: {
58
+ root?: CSSProperties;
59
+ };
52
60
  popupOverlayInner?: CSSProperties;
53
61
  }>;
54
62
  type ColorPickerProps$1 = Omit<ColorPickerProps, 'onChange' | 'onChangeComplete' | 'value' | 'defaultValue' | 'panelRender' | 'disabledAlpha' | 'components'> & {
@@ -8,6 +8,7 @@ const genInputStyle = (token) => {
8
8
  [`${componentCls}-steppers${antCls}-input-number`]: {
9
9
  fontSize: fontSizeSM,
10
10
  lineHeight: lineHeightSM,
11
+ padding: 0,
11
12
  [`${antCls}-input-number-input`]: {
12
13
  paddingInlineStart: paddingXXS,
13
14
  paddingInlineEnd: 0
@@ -45,6 +46,7 @@ const genInputStyle = (token) => {
45
46
  flex: 1,
46
47
  width: 0,
47
48
  [`${componentCls}-hsb-input,${componentCls}-rgb-input`]: {
49
+ height: controlHeightSM,
48
50
  display: "flex",
49
51
  gap: marginXXS,
50
52
  alignItems: "center"