antdv-next 1.6.0 → 1.7.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 (287) hide show
  1. package/dist/_util/ContextIsolator.js +12 -3
  2. package/dist/_util/hooks/useAllowClear.d.ts +22 -6
  3. package/dist/_util/hooks/useAllowClear.js +24 -6
  4. package/dist/_util/hooks/useClosable.js +1 -1
  5. package/dist/_util/tools.d.ts +3 -1
  6. package/dist/_util/tools.js +6 -1
  7. package/dist/_util/vueNode.d.ts +17 -3
  8. package/dist/_util/vueNode.js +17 -1
  9. package/dist/affix/index.js +12 -9
  10. package/dist/alert/Alert.js +4 -1
  11. package/dist/alert/style/index.d.ts +3 -3
  12. package/dist/alert/style/index.js +3 -3
  13. package/dist/anchor/Anchor.js +11 -6
  14. package/dist/anchor/style/index.js +2 -3
  15. package/dist/antd-with-locales.esm.js +16276 -17343
  16. package/dist/antd-with-locales.js +81 -88
  17. package/dist/antd.css +1 -1
  18. package/dist/antd.esm.js +14015 -15728
  19. package/dist/antd.js +82 -89
  20. package/dist/auto-complete/index.js +1 -0
  21. package/dist/avatar/Avatar.js +3 -5
  22. package/dist/avatar/AvatarGroup.js +3 -5
  23. package/dist/border-beam/BorderBeam.d.ts +8 -1
  24. package/dist/border-beam/BorderBeam.js +28 -14
  25. package/dist/border-beam/index.d.ts +2 -2
  26. package/dist/breadcrumb/BreadcrumbItem.js +1 -1
  27. package/dist/breadcrumb/index.d.ts +8 -1
  28. package/dist/calendar/generateCalendar.d.ts +10 -10
  29. package/dist/calendar/index.d.ts +1 -1
  30. package/dist/card/index.d.ts +8 -1
  31. package/dist/card/style/index.js +5 -9
  32. package/dist/cascader/Panel.js +3 -3
  33. package/dist/cascader/hooks/useIcons.js +3 -2
  34. package/dist/cascader/index.d.ts +2 -0
  35. package/dist/cascader/index.js +12 -5
  36. package/dist/checkbox/Checkbox.js +6 -4
  37. package/dist/checkbox/Group.d.ts +19 -1
  38. package/dist/checkbox/Group.js +38 -9
  39. package/dist/checkbox/GroupContext.d.ts +3 -0
  40. package/dist/checkbox/index.d.ts +2 -2
  41. package/dist/color-picker/ColorPicker.js +1 -1
  42. package/dist/color-picker/style/input.js +7 -12
  43. package/dist/components.d.ts +24 -24
  44. package/dist/components.js +1 -2
  45. package/dist/config-provider/context.d.ts +3 -2
  46. package/dist/date-picker/generatePicker/generateRangePicker.js +24 -6
  47. package/dist/date-picker/generatePicker/generateSinglePicker.js +24 -6
  48. package/dist/date-picker/generatePicker/interface.d.ts +21 -5
  49. package/dist/date-picker/generatePicker/useComponents.d.ts +1 -14
  50. package/dist/date-picker/style/panel.js +1 -1
  51. package/dist/date-picker/style/util.js +1 -1
  52. package/dist/date-picker/util.d.ts +8 -2
  53. package/dist/descriptions/hooks/useItems.d.ts +6 -6
  54. package/dist/descriptions/style/index.js +11 -13
  55. package/dist/divider/style/index.js +1 -1
  56. package/dist/drawer/DrawerPanel.js +1 -1
  57. package/dist/dropdown/dropdown.d.ts +2 -0
  58. package/dist/dropdown/dropdown.js +9 -2
  59. package/dist/dropdown/style/index.js +1 -7
  60. package/dist/empty/index.js +2 -1
  61. package/dist/float-button/BackTop.js +2 -1
  62. package/dist/form/ErrorList.js +1 -1
  63. package/dist/form/Form.js +9 -8
  64. package/dist/form/FormItem/ItemHolder.js +1 -1
  65. package/dist/form/FormItem/index.js +11 -9
  66. package/dist/form/FormItemInput.js +1 -1
  67. package/dist/form/FormItemLabel.js +2 -2
  68. package/dist/form/context.d.ts +2 -2
  69. package/dist/form/hooks/useVariant.d.ts +1 -1
  70. package/dist/form/hooks/useVariant.js +1 -1
  71. package/dist/grid/hooks/useBreakpoint.js +12 -6
  72. package/dist/image/PreviewGroup.d.ts +9 -2
  73. package/dist/image/hooks/useMergedPreviewConfig.d.ts +1 -0
  74. package/dist/image/hooks/useMergedPreviewConfig.js +2 -1
  75. package/dist/image/hooks/usePreviewConfig.d.ts +7 -7
  76. package/dist/image/index.d.ts +3 -3
  77. package/dist/index.d.ts +26 -24
  78. package/dist/index.js +1 -2
  79. package/dist/input/Group.js +1 -1
  80. package/dist/input/Input.d.ts +2 -1
  81. package/dist/input/Input.js +8 -5
  82. package/dist/input/OTP/OTPInput.d.ts +2 -1
  83. package/dist/input/OTP/OTPInput.js +12 -3
  84. package/dist/input/OTP/index.d.ts +3 -1
  85. package/dist/input/OTP/index.js +15 -6
  86. package/dist/input/Password.js +7 -5
  87. package/dist/input/Search.js +4 -2
  88. package/dist/input/TextArea.d.ts +3 -1
  89. package/dist/input/TextArea.js +13 -8
  90. package/dist/input/style/index.js +3 -16
  91. package/dist/input-number/index.d.ts +3 -6
  92. package/dist/input-number/index.js +8 -3
  93. package/dist/input-number/style/index.js +1 -5
  94. package/dist/listy/index.d.ts +1 -1
  95. package/dist/listy/index.js +9 -7
  96. package/dist/listy/interface.d.ts +29 -5
  97. package/dist/listy/style/index.js +5 -2
  98. package/dist/locale/ar_EG.js +9 -0
  99. package/dist/locale/az_AZ.js +9 -0
  100. package/dist/locale/bg_BG.js +9 -0
  101. package/dist/locale/bn_BD.js +9 -0
  102. package/dist/locale/by_BY.js +9 -0
  103. package/dist/locale/ca_ES.js +9 -0
  104. package/dist/locale/cs_CZ.js +9 -0
  105. package/dist/locale/da_DK.js +9 -0
  106. package/dist/locale/de_DE.js +9 -0
  107. package/dist/locale/el_GR.js +9 -0
  108. package/dist/locale/en_GB.js +11 -1
  109. package/dist/locale/en_US.js +11 -1
  110. package/dist/locale/es_ES.js +9 -0
  111. package/dist/locale/et_EE.js +9 -0
  112. package/dist/locale/eu_ES.js +9 -0
  113. package/dist/locale/fa_IR.js +9 -0
  114. package/dist/locale/fi_FI.js +10 -1
  115. package/dist/locale/fr_BE.js +9 -0
  116. package/dist/locale/fr_CA.js +9 -0
  117. package/dist/locale/fr_FR.js +9 -0
  118. package/dist/locale/ga_IE.js +9 -0
  119. package/dist/locale/gl_ES.js +9 -0
  120. package/dist/locale/he_IL.js +9 -0
  121. package/dist/locale/hi_IN.js +9 -0
  122. package/dist/locale/hr_HR.js +9 -0
  123. package/dist/locale/hu_HU.js +9 -0
  124. package/dist/locale/hy_AM.js +9 -0
  125. package/dist/locale/id_ID.js +9 -0
  126. package/dist/locale/index.d.ts +3 -0
  127. package/dist/locale/is_IS.js +9 -0
  128. package/dist/locale/it_IT.js +9 -0
  129. package/dist/locale/ja_JP.js +9 -0
  130. package/dist/locale/ka_GE.js +9 -0
  131. package/dist/locale/kk_KZ.js +9 -0
  132. package/dist/locale/km_KH.js +9 -0
  133. package/dist/locale/kmr_IQ.js +9 -0
  134. package/dist/locale/kn_IN.js +9 -0
  135. package/dist/locale/ko_KR.js +9 -0
  136. package/dist/locale/ku_IQ.js +9 -0
  137. package/dist/locale/lt_LT.js +9 -0
  138. package/dist/locale/lv_LV.js +9 -0
  139. package/dist/locale/mk_MK.js +9 -0
  140. package/dist/locale/ml_IN.js +9 -0
  141. package/dist/locale/mn_MN.js +9 -0
  142. package/dist/locale/mr_IN.js +9 -0
  143. package/dist/locale/ms_MY.js +9 -0
  144. package/dist/locale/my_MM.js +9 -0
  145. package/dist/locale/nb_NO.js +9 -0
  146. package/dist/locale/ne_NP.js +9 -0
  147. package/dist/locale/nl_BE.js +9 -0
  148. package/dist/locale/nl_NL.js +9 -0
  149. package/dist/locale/pl_PL.js +9 -0
  150. package/dist/locale/pt_BR.js +9 -0
  151. package/dist/locale/pt_PT.js +9 -0
  152. package/dist/locale/ro_RO.js +19 -10
  153. package/dist/locale/ru_RU.js +9 -0
  154. package/dist/locale/si_LK.js +9 -0
  155. package/dist/locale/sk_SK.js +9 -0
  156. package/dist/locale/sl_SI.js +9 -0
  157. package/dist/locale/sq_AL.js +9 -0
  158. package/dist/locale/sr_RS.js +9 -0
  159. package/dist/locale/sv_SE.js +9 -0
  160. package/dist/locale/ta_IN.js +10 -1
  161. package/dist/locale/th_TH.js +9 -0
  162. package/dist/locale/tk_TK.js +9 -0
  163. package/dist/locale/tr_TR.js +9 -0
  164. package/dist/locale/uk_UA.js +9 -0
  165. package/dist/locale/ur_PK.js +9 -0
  166. package/dist/locale/useLocale.d.ts +6 -1
  167. package/dist/locale/useLocale.js +12 -1
  168. package/dist/locale/uz_UZ.js +9 -0
  169. package/dist/locale/vi_VN.js +9 -0
  170. package/dist/locale/zh_CN.js +13 -3
  171. package/dist/locale/zh_HK.js +11 -1
  172. package/dist/locale/zh_TW.js +11 -1
  173. package/dist/masonry/Masonry.js +1 -1
  174. package/dist/mentions/index.d.ts +2 -3
  175. package/dist/mentions/index.js +9 -4
  176. package/dist/mentions/style/index.js +1 -1
  177. package/dist/menu/MenuContext.d.ts +2 -0
  178. package/dist/menu/MenuItem.js +23 -6
  179. package/dist/menu/index.js +5 -0
  180. package/dist/menu/menu.d.ts +3 -0
  181. package/dist/menu/menu.js +7 -0
  182. package/dist/message/style/index.js +2 -1
  183. package/dist/modal/ConfirmDialog.js +14 -7
  184. package/dist/modal/PurePanel.js +2 -2
  185. package/dist/modal/style/confirm.js +1 -1
  186. package/dist/notification/PurePanel.js +7 -12
  187. package/dist/notification/interface.d.ts +8 -0
  188. package/dist/notification/style/index.d.ts +3 -0
  189. package/dist/notification/style/index.js +4 -5
  190. package/dist/notification/style/placement.js +10 -7
  191. package/dist/notification/useNotification.js +5 -15
  192. package/dist/package.js +1 -1
  193. package/dist/pagination/Pagination.js +2 -2
  194. package/dist/pagination/style/index.js +12 -4
  195. package/dist/pagination/useShowSizeChanger.d.ts +3 -0
  196. package/dist/pagination/useShowSizeChanger.js +1 -1
  197. package/dist/popconfirm/index.js +6 -5
  198. package/dist/popconfirm/style/index.js +1 -1
  199. package/dist/popover/index.js +1 -1
  200. package/dist/popover/style/index.js +2 -2
  201. package/dist/progress/Circle.js +0 -8
  202. package/dist/progress/Line.js +3 -10
  203. package/dist/progress/Steps.js +0 -8
  204. package/dist/progress/progress.js +3 -15
  205. package/dist/qrcode/QrcodeStatus.js +2 -1
  206. package/dist/qrcode/index.js +4 -4
  207. package/dist/radio/group.js +40 -7
  208. package/dist/radio/index.d.ts +2 -2
  209. package/dist/radio/interface.d.ts +19 -1
  210. package/dist/radio/radio.js +5 -3
  211. package/dist/result/index.js +3 -3
  212. package/dist/result/noFound.js +120 -140
  213. package/dist/result/serverError.js +132 -147
  214. package/dist/result/unauthorized.js +115 -129
  215. package/dist/segmented/index.js +1 -1
  216. package/dist/select/index.js +10 -3
  217. package/dist/select/style/dropdown.js +1 -1
  218. package/dist/select/style/index.js +2 -2
  219. package/dist/select/style/select-input-multiple.js +1 -1
  220. package/dist/select/useIcons.d.ts +6 -2
  221. package/dist/select/usePopupRender.js +4 -1
  222. package/dist/slider/index.d.ts +6 -4
  223. package/dist/slider/index.js +7 -5
  224. package/dist/space/Compact.d.ts +1 -1
  225. package/dist/space/Item.d.ts +1 -0
  226. package/dist/space/Item.js +6 -2
  227. package/dist/space/index.js +1 -0
  228. package/dist/spin/Indicator/index.js +5 -1
  229. package/dist/splitter/SplitBar.js +9 -3
  230. package/dist/splitter/Splitter.js +8 -2
  231. package/dist/splitter/interface.d.ts +6 -1
  232. package/dist/statistic/Statistic.d.ts +3 -0
  233. package/dist/statistic/Statistic.js +2 -1
  234. package/dist/steps/index.js +9 -7
  235. package/dist/steps/style/index.js +1 -1
  236. package/dist/steps/style/inline.js +1 -1
  237. package/dist/style/motion/collapse.js +4 -10
  238. package/dist/switch/index.js +8 -2
  239. package/dist/table/ExpandIcon.d.ts +9 -4
  240. package/dist/table/ExpandIcon.js +42 -20
  241. package/dist/table/InternalTable.js +41 -20
  242. package/dist/table/hooks/useLazyKVMap.js +1 -1
  243. package/dist/table/hooks/useSelection.js +54 -9
  244. package/dist/table/index.d.ts +2 -2
  245. package/dist/table/interface.d.ts +8 -0
  246. package/dist/table/style/index.js +1 -1
  247. package/dist/table/style/sorter.js +2 -2
  248. package/dist/table/util.d.ts +1 -1
  249. package/dist/tabs/index.js +9 -2
  250. package/dist/tabs/style/index.js +3 -7
  251. package/dist/tag/hooks/useColor.d.ts +1 -1
  252. package/dist/time-picker/index.d.ts +10 -9
  253. package/dist/time-picker/index.js +54 -83
  254. package/dist/timeline/Timeline.js +1 -1
  255. package/dist/tooltip/style/index.js +1 -2
  256. package/dist/tour/panelRender.js +3 -2
  257. package/dist/transfer/Section.js +2 -1
  258. package/dist/transfer/Transfer.js +1 -1
  259. package/dist/tree/DirectoryTree.d.ts +19 -7
  260. package/dist/tree/Tree.d.ts +73 -58
  261. package/dist/tree/index.d.ts +8 -5
  262. package/dist/tree/index.js +4 -3
  263. package/dist/tree/style/index.js +1 -1
  264. package/dist/tree-select/index.js +14 -8
  265. package/dist/typography/Base/index.js +23 -2
  266. package/dist/typography/Link.js +5 -0
  267. package/dist/typography/Paragraph.js +5 -0
  268. package/dist/typography/Text.js +5 -0
  269. package/dist/typography/Title.js +5 -0
  270. package/dist/typography/hooks/useMergedConfig.js +1 -1
  271. package/dist/typography/interface.d.ts +8 -1
  272. package/dist/typography/style/index.js +2 -1
  273. package/dist/typography/style/mixins.d.ts +2 -1
  274. package/dist/typography/style/mixins.js +26 -3
  275. package/dist/upload/Upload.d.ts +1 -0
  276. package/dist/upload/Upload.js +10 -3
  277. package/dist/upload/UploadList/ListItem.js +8 -3
  278. package/dist/upload/interface.d.ts +1 -0
  279. package/dist/upload/utils.js +8 -3
  280. package/dist/version/token-meta.json +1 -1
  281. package/dist/version/token.json +1 -1
  282. package/dist/watermark/index.js +1 -1
  283. package/package.json +24 -24
  284. package/web-tags.json +79 -15
  285. package/web-types.json +196 -24
  286. package/dist/_util/getAllowClear.d.ts +0 -6
  287. package/dist/_util/getAllowClear.js +0 -11
@@ -193,12 +193,14 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
193
193
  const slotIcon = getSlotPropsFnRun(slots, props, "icon");
194
194
  const mergedNcs = mergedClassNames.value;
195
195
  const mergedNss = mergedStyles.value;
196
+ const { root: rootClassName, ...contentClassNames } = mergedNcs;
197
+ const { root: rootStyle, ...contentStyles } = mergedNss;
196
198
  const mergedIcon = slotIcon ?? props.icon;
197
199
  const iconNode = resolveIconNode(mergedIcon, props.type);
198
200
  const iconWrapperClass = clsx(getIconWrapperClassName(noticePrefixCls, props.type, mergedIcon), mergedNcs?.icon);
199
201
  return createVNode("div", {
200
- "class": clsx(`${noticePrefixCls}-pure-panel`, hashId.value, notificationClassName, cssVarCls.value, rootCls.value, mergedClassNames.value?.root),
201
- "style": mergedStyles.value.root
202
+ "class": clsx(`${noticePrefixCls}-pure-panel`, hashId.value, notificationClassName, cssVarCls.value, rootCls.value, rootClassName),
203
+ "style": rootStyle
202
204
  }, [createVNode(PurePanelStyle, { "prefixCls": prefixCls.value }, null), createVNode(Notification, mergeProps({ "style": {
203
205
  ...contextStyle.value,
204
206
  ...normalizeStyle$1(style) || {}
@@ -213,17 +215,10 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
213
215
  "description": descriptionNode,
214
216
  "actions": actions,
215
217
  "classNames": {
216
- icon: iconWrapperClass,
217
- title: mergedNcs?.title,
218
- description: mergedNcs?.description,
219
- actions: mergedNcs?.actions
218
+ ...contentClassNames,
219
+ icon: iconWrapperClass
220
220
  },
221
- "styles": {
222
- icon: mergedNss?.icon,
223
- title: mergedNss?.title,
224
- description: mergedNss?.description,
225
- actions: mergedNss?.actions
226
- }
221
+ "styles": contentStyles
227
222
  }), null)]);
228
223
  };
229
224
  }, {
@@ -15,20 +15,28 @@ type NotificationSemanticName = keyof NotificationSemanticClassNames & keyof Not
15
15
  interface NotificationSemanticClassNames {
16
16
  list?: string;
17
17
  listContent?: string;
18
+ wrapper?: string;
18
19
  root?: string;
19
20
  title?: string;
20
21
  description?: string;
21
22
  actions?: string;
22
23
  icon?: string;
24
+ section?: string;
25
+ close?: string;
26
+ progress?: string;
23
27
  }
24
28
  interface NotificationSemanticStyles {
25
29
  list?: CSSProperties;
26
30
  listContent?: CSSProperties;
31
+ wrapper?: CSSProperties;
27
32
  root?: CSSProperties;
28
33
  title?: CSSProperties;
29
34
  description?: CSSProperties;
30
35
  actions?: CSSProperties;
31
36
  icon?: CSSProperties;
37
+ section?: CSSProperties;
38
+ close?: CSSProperties;
39
+ progress?: CSSProperties;
32
40
  }
33
41
  type NotificationClassNamesType = SemanticClassNamesType<ArgsProps, NotificationSemanticClassNames>;
34
42
  type NotificationStylesType = SemanticStylesType<ArgsProps, NotificationSemanticStyles>;
@@ -4,12 +4,15 @@ import { ComponentTokenMap } from "../../theme/interface/components.js";
4
4
  import { FullToken, GenStyleFn } from "../../theme/interface/cssinjs-utils.js";
5
5
  import { GenerateStyle } from "../../theme/interface/index.js";
6
6
  import "../../theme/internal.js";
7
+ import { CSSProperties } from "vue";
7
8
  //#region src/notification/style/index.d.ts
8
9
  type WidthKey<Token extends NotificationToken> = { [Key in keyof Token]: Token[Key] extends number | string ? Key : never; }[keyof Token];
9
10
  interface SharedStyleConfig<Token extends NotificationToken> {
10
11
  listWidthKey?: WidthKey<Token>;
11
12
  stackVisibleCount?: number;
12
13
  itemStyle?: GenerateStyle<Token>;
14
+ /** Whether the list content should capture pointer events (stack interaction needs it). */
15
+ listContentPointerEvents?: CSSProperties['pointerEvents'];
13
16
  }
14
17
  /** Component only token. Which will handle additional calculation of alias token */
15
18
  interface ComponentToken {
@@ -41,7 +41,7 @@ function getStackNoticeClipPath(offset) {
41
41
  return `inset(${offset} ${offset} ${offset} ${offset})`;
42
42
  }
43
43
  /** Generate shared list content and motion base styles. */
44
- const genNotificationListContentStyle = (token) => {
44
+ function genNotificationListContentStyle(token, pointerEvents) {
45
45
  const { componentCls, motionDurationMid, motionDurationSlow, motionEaseInOut } = token;
46
46
  const listContentCls = `${`${componentCls}-list`}-content`;
47
47
  return {
@@ -54,6 +54,7 @@ const genNotificationListContentStyle = (token) => {
54
54
  width: "100%",
55
55
  willChange: "height, transform",
56
56
  transition: "none",
57
+ pointerEvents,
57
58
  [`&${listContentCls}-decrease`]: { transition: `height calc(${motionDurationSlow} * 2) ${motionEaseInOut} ${motionDurationMid}` }
58
59
  },
59
60
  [`${componentCls}-fade`]: {
@@ -61,7 +62,7 @@ const genNotificationListContentStyle = (token) => {
61
62
  willChange: "transform, opacity"
62
63
  }
63
64
  };
64
- };
65
+ }
65
66
  /** Generate the root holder, list, stack, and RTL styles for notifications. */
66
67
  function genNotificationListStyle(token, config) {
67
68
  const { componentCls, notificationMarginEdge } = token;
@@ -81,7 +82,6 @@ function genNotificationListStyle(token, config) {
81
82
  height: "100vh",
82
83
  overflow: "hidden",
83
84
  overscrollBehavior: "contain",
84
- [`${componentCls}-hook-holder`]: { position: "relative" },
85
85
  [`&${listCls}`]: {
86
86
  maxHeight: "100vh",
87
87
  padding: `var(${notificationMarginEdgeVar})`,
@@ -89,7 +89,6 @@ function genNotificationListStyle(token, config) {
89
89
  overflowY: "auto",
90
90
  overscrollBehavior: "contain",
91
91
  scrollbarWidth: "none",
92
- msOverflowStyle: "none",
93
92
  pointerEvents: "none",
94
93
  "&::-webkit-scrollbar": {
95
94
  display: "none",
@@ -97,7 +96,7 @@ function genNotificationListStyle(token, config) {
97
96
  height: 0
98
97
  }
99
98
  },
100
- ...genNotificationListContentStyle(token),
99
+ ...genNotificationListContentStyle(token, config.listContentPointerEvents ?? "auto"),
101
100
  [`&${componentCls}-stack`]: {
102
101
  [noticeCls]: { clipPath: stackNoticeClipPath },
103
102
  [`&:not(${componentCls}-stack-expanded)`]: {
@@ -105,13 +105,16 @@ function genPlacementStyle(token, config) {
105
105
  opacity: 1,
106
106
  transform: baseTransform
107
107
  },
108
- [`${noticeMotionCls}-leave-start`]: {
109
- opacity: 1,
110
- transform: baseTransform
111
- },
112
- [`${noticeMotionCls}-leave-active`]: {
113
- opacity: 0,
114
- transform: enterTransform
108
+ [`${noticeMotionCls}-leave`]: {
109
+ pointerEvents: "none",
110
+ "&-start": {
111
+ opacity: 1,
112
+ transform: baseTransform
113
+ },
114
+ "&-active": {
115
+ opacity: 0,
116
+ transform: enterTransform
117
+ }
115
118
  },
116
119
  [`&${componentCls}-stack:not(${componentCls}-stack-expanded)`]: {
117
120
  [noticeCls]: { clipPath: getPlacementStackClipPath(token, vertical) },
@@ -211,22 +211,12 @@ function useInternalNotification(notificationConfig) {
211
211
  actions: mergedActions,
212
212
  role,
213
213
  classNames: {
214
- icon: iconWrapperClass,
215
- title: semanticClassNames?.title,
216
- description: semanticClassNames?.description,
217
- actions: semanticClassNames?.actions
218
- },
219
- styles: {
220
- icon: semanticStyles?.icon,
221
- title: semanticStyles?.title,
222
- description: semanticStyles?.description,
223
- actions: semanticStyles?.actions
224
- },
225
- class: clsx({ [`${noticePrefixCls}-${type}`]: type }, { [`${noticePrefixCls}-with-icon`]: !!iconNode }, className, contextClassName, semanticClassNames?.root),
226
- style: {
227
- ...semanticStyles?.root,
228
- ...style
214
+ ...semanticClassNames,
215
+ icon: iconWrapperClass
229
216
  },
217
+ styles: semanticStyles,
218
+ class: clsx({ [`${noticePrefixCls}-${type}`]: type }, { [`${noticePrefixCls}-with-icon`]: !!iconNode }, className, contextClassName),
219
+ style,
230
220
  closable: mergedClosable
231
221
  });
232
222
  };
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "1.6.0";
2
+ var version = "1.7.1";
3
3
  //#endregion
4
4
  export { version };
@@ -15,8 +15,8 @@ import { Fragment, computed, createVNode, defineComponent, h, mergeProps } from
15
15
  import { clsx } from "@v-c/util";
16
16
  import { DoubleLeftOutlined, DoubleRightOutlined, EllipsisOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
17
17
  import { omit } from "es-toolkit";
18
+ import Pagination$1 from "@v-c/pagination/locale/en_US";
18
19
  import VcPagination from "@v-c/pagination";
19
- import enUS from "@v-c/pagination/locale/zh_CN";
20
20
  //#region src/pagination/Pagination.tsx
21
21
  const omitKeys = [
22
22
  "size",
@@ -46,7 +46,7 @@ const Pagination = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
46
46
  });
47
47
  const contextStyleRoot = useSemanticRootStyle(contextStyle);
48
48
  const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps));
49
- const [contextLocale] = useLocale("Pagination", enUS);
49
+ const [contextLocale] = useLocale("Pagination", Pagination$1);
50
50
  const mergedLocale = computed(() => ({
51
51
  ...contextLocale?.value,
52
52
  ...props.locale ?? {}
@@ -366,6 +366,7 @@ const genPaginationStyle = (token) => {
366
366
  ...resetComponent(token),
367
367
  display: "flex",
368
368
  alignItems: "center",
369
+ userSelect: "none",
369
370
  "&-start": { justifyContent: "start" },
370
371
  "&-center": { justifyContent: "center" },
371
372
  "&-end": { justifyContent: "end" },
@@ -387,7 +388,8 @@ const genPaginationStyle = (token) => {
387
388
  height: varRef(`item-size-actual`),
388
389
  marginInlineEnd: varRef(`item-spacing-actual`),
389
390
  lineHeight: unit(token.calc(varRef(`item-size-actual`)).sub(2).equal()),
390
- verticalAlign: "middle"
391
+ verticalAlign: "middle",
392
+ userSelect: "text"
391
393
  },
392
394
  ...genPaginationItemStyle(token),
393
395
  ...genPaginationJumpStyle(token),
@@ -405,13 +407,19 @@ const genPaginationStyle = (token) => {
405
407
  const genPaginationFocusStyle = (token) => {
406
408
  const { componentCls } = token;
407
409
  return { [`${componentCls}:not(${componentCls}-disabled)`]: {
408
- [`${componentCls}-item`]: { ...genFocusStyle(token) },
409
- [`${componentCls}-jump-prev, ${componentCls}-jump-next`]: { "&:focus-visible": {
410
+ [`${componentCls}-item`]: {
411
+ ...genFocusStyle(token),
412
+ "> a, > button": {
413
+ borderRadius: "inherit",
414
+ ...genFocusStyle(token)
415
+ }
416
+ },
417
+ [`${componentCls}-jump-prev, ${componentCls}-jump-next`]: { "&:focus-visible, &:has(> :focus-visible)": {
410
418
  [`${componentCls}-item-link-icon`]: { opacity: 1 },
411
419
  [`${componentCls}-item-ellipsis`]: { opacity: 0 },
412
420
  ...genFocusOutline(token)
413
421
  } },
414
- [`${componentCls}-prev, ${componentCls}-next`]: { [`&:focus-visible ${componentCls}-item-link`]: genFocusOutline(token) }
422
+ [`${componentCls}-prev, ${componentCls}-next`]: { [`&:focus-visible ${componentCls}-item-link, ${componentCls}-item-link:focus-visible`]: genFocusOutline(token) }
415
423
  } };
416
424
  };
417
425
  const prepareComponentToken = (token) => ({
@@ -2,6 +2,9 @@ import { SelectProps } from "../select/index.js";
2
2
  import { PaginationProps } from "./interface.js";
3
3
  //#region src/pagination/useShowSizeChanger.d.ts
4
4
  declare function resolveShowSizeChanger(showSizeChanger?: PaginationProps['showSizeChanger']): {
5
+ show: boolean;
6
+ selectProps: undefined;
7
+ } | {
5
8
  show: boolean;
6
9
  selectProps: SelectProps;
7
10
  } | {
@@ -2,7 +2,7 @@
2
2
  function resolveShowSizeChanger(showSizeChanger) {
3
3
  if (typeof showSizeChanger === "boolean") return {
4
4
  show: showSizeChanger,
5
- selectProps: {}
5
+ selectProps: void 0
6
6
  };
7
7
  if (showSizeChanger && typeof showSizeChanger === "object") return {
8
8
  show: true,
@@ -2,6 +2,7 @@ import { useComponentBaseConfig } from "../config-provider/context.js";
2
2
  import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1, useLiveListener } from "../_util/tools.js";
4
4
  import useMergedArrow from "../tooltip/hooks/useMergedArrow.js";
5
+ import { cloneIfVNode } from "../_util/vueNode.js";
5
6
  import Popover from "../popover/index.js";
6
7
  import style_default from "./style/index.js";
7
8
  import PurePanel, { Overlay } from "./PurePanel.js";
@@ -82,11 +83,11 @@ const Popconfirm = /* @__PURE__ */ defineComponent((props, { slots, attrs, expos
82
83
  const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps));
83
84
  const rootClassNames = computed(() => clsx(prefixCls.value, hashId.value, cssVarCls.value, contextClassName.value, mergedClassNames.value.root));
84
85
  return () => {
85
- const titleNode = getSlotPropsFnRun(slots, props, "title") ?? props.title;
86
- const descriptionNode = getSlotPropsFnRun(slots, props, "description") ?? props.description;
87
- const iconNode = getSlotPropsFnRun(slots, props, "icon") ?? props.icon ?? defaultIcon;
88
- const okTextNode = getSlotPropsFnRun(slots, props, "okText") ?? props.okText;
89
- const cancelTextNode = getSlotPropsFnRun(slots, props, "cancelText") ?? props.cancelText;
86
+ const titleNode = getSlotPropsFnRun(slots, props, "title");
87
+ const descriptionNode = getSlotPropsFnRun(slots, props, "description");
88
+ const iconNode = cloneIfVNode(getSlotPropsFnRun(slots, props, "icon") ?? defaultIcon);
89
+ const okTextNode = getSlotPropsFnRun(slots, props, "okText");
90
+ const cancelTextNode = getSlotPropsFnRun(slots, props, "cancelText");
90
91
  const restProps = omit(props, OMITTED_PROP_KEYS);
91
92
  const content = createVNode(Overlay, {
92
93
  "prefixCls": prefixCls.value,
@@ -19,7 +19,7 @@ const genBaseStyle = (token) => {
19
19
  [`${componentCls}-title`]: {
20
20
  fontWeight: fontWeightStrong,
21
21
  color: colorTextHeading,
22
- "&:only-child": { fontWeight: "normal" }
22
+ "&:only-child": { fontWeight: 400 }
23
23
  },
24
24
  [`${componentCls}-description`]: {
25
25
  marginTop: marginXXS,
@@ -62,7 +62,7 @@ const Popover = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose,
62
62
  return () => {
63
63
  const firstChild = filterEmpty(slots?.default?.() ?? [])[0];
64
64
  const child = firstChild && !(isVNode(firstChild) && typeof firstChild.type !== "symbol") ? createVNode("span", null, [firstChild]) : firstChild;
65
- const { placement, mouseLeaveDelay: _mouseLeaveDelay, mouseEnterDelay: _mouseEnterDelay, motion, ...restProps } = props;
65
+ const { placement, mouseLeaveDelay: _mouseLeaveDelay, mouseEnterDelay: _mouseEnterDelay, motion, title: _title, content: _content, ...restProps } = props;
66
66
  const titleNode = getSlotPropsFnRun(slots, props, "title");
67
67
  const contentNode = getSlotPropsFnRun(slots, props, "content");
68
68
  const rootClassNames = clsx(hashId.value, cssVarCls.value, contextClassName.value, mergedClassNames.value.root);
@@ -20,7 +20,7 @@ const genBaseStyle = (token) => {
20
20
  value: 0
21
21
  },
22
22
  zIndex: zIndexPopup,
23
- fontWeight: "normal",
23
+ fontWeight: 400,
24
24
  whiteSpace: "normal",
25
25
  textAlign: "start",
26
26
  cursor: "auto",
@@ -69,7 +69,7 @@ const genColorStyle = (token) => {
69
69
  const lightColor = token[`${colorKey}6`];
70
70
  return { [`&${componentCls}-${colorKey}`]: {
71
71
  [varName("arrow-background-color")]: lightColor,
72
- [`${componentCls}-inner`]: { backgroundColor: lightColor },
72
+ [`${componentCls}-container`]: { backgroundColor: lightColor },
73
73
  [`${componentCls}-arrow`]: { background: "transparent" }
74
74
  } };
75
75
  }) };
@@ -181,14 +181,6 @@ const Circle = /* @__PURE__ */ defineComponent((props, { slots }) => {
181
181
  rootClass: {
182
182
  type: String,
183
183
  required: false
184
- },
185
- "aria-label": {
186
- type: [String, null],
187
- required: false
188
- },
189
- "aria-labelledby": {
190
- type: [String, null],
191
- required: false
192
184
  }
193
185
  }, {
194
186
  strokeLinecap: "round",
@@ -1,4 +1,5 @@
1
1
  import { devUseWarning, isDev } from "../_util/warning.js";
2
+ import { isString } from "../_util/is.js";
2
3
  import { getSize, getSuccessPercent, validProgress } from "./utils.js";
3
4
  import { LineStrokeColorVar } from "./style/index.js";
4
5
  import { computed, createVNode, defineComponent } from "vue";
@@ -57,7 +58,7 @@ function handleGradient(strokeColor, directionConfig) {
57
58
  }
58
59
  const Line = /* @__PURE__ */ defineComponent((props, { slots }) => {
59
60
  if (isDev) devUseWarning("Progress").deprecated(!(props.strokeWidth !== void 0), "strokeWidth", "size");
60
- const mergedSize = computed(() => props.size ?? [-1, props.strokeWidth || (props.size === "small" ? 6 : 8)]);
61
+ const mergedSize = computed(() => props.size ?? [-1, props.strokeWidth || 8]);
61
62
  return () => {
62
63
  const { prefixCls, classes, styles, direction: directionConfig, percent, strokeWidth, strokeColor, strokeLinecap = "round", railColor, trailColor, percentPosition, success } = props;
63
64
  const { align: infoAlign, type: infoPosition } = percentPosition;
@@ -90,7 +91,7 @@ const Line = /* @__PURE__ */ defineComponent((props, { slots }) => {
90
91
  return createVNode("div", {
91
92
  "class": clsx(`${prefixCls}-body`, classes.body, { [`${prefixCls}-body-layout-bottom`]: infoAlign === "center" && infoPosition === "outer" }),
92
93
  "style": {
93
- width: width > 0 ? width : "100%",
94
+ width: isString(width) || width > 0 ? width : "100%",
94
95
  ...styles.body
95
96
  }
96
97
  }, [createVNode("div", {
@@ -216,14 +217,6 @@ const Line = /* @__PURE__ */ defineComponent((props, { slots }) => {
216
217
  rootClass: {
217
218
  type: String,
218
219
  required: false
219
- },
220
- "aria-label": {
221
- type: [String, null],
222
- required: false
223
- },
224
- "aria-labelledby": {
225
- type: [String, null],
226
- required: false
227
220
  }
228
221
  },
229
222
  name: "ProgressLine",
@@ -129,14 +129,6 @@ const Steps = /* @__PURE__ */ defineComponent((props, { slots }) => {
129
129
  prefixCls: {
130
130
  type: String,
131
131
  required: false
132
- },
133
- "aria-label": {
134
- type: [String, null],
135
- required: false
136
- },
137
- "aria-labelledby": {
138
- type: [String, null],
139
- required: false
140
132
  }
141
133
  },
142
134
  name: "ProgressSteps",
@@ -147,18 +147,14 @@ const Progress = /* @__PURE__ */ defineComponent((props, { attrs }) => {
147
147
  [`${prefixCls.value}-small`]: mergedSize.value === "small",
148
148
  [`${prefixCls.value}-rtl`]: direction.value === "rtl"
149
149
  }, contextClassName.value, className, rootClass.value, mergedClassNames.value.root, hashId.value, cssVarCls.value);
150
- const rootStyle = [mergedStyles.value.root, attrStyle];
151
- const ariaProps = {};
152
- if (props["aria-label"] !== void 0) ariaProps["aria-label"] = props["aria-label"];
153
- if (props["aria-labelledby"] !== void 0) ariaProps["aria-labelledby"] = props["aria-labelledby"];
154
150
  return createVNode("div", mergeProps(restAttrs, {
155
- "style": rootStyle,
151
+ "style": [mergedStyles.value.root, attrStyle],
156
152
  "class": classString,
157
153
  "role": "progressbar",
158
- "aria-valuenow": percentNumber.value,
154
+ "aria-valuenow": validProgress(mergedPercent.value),
159
155
  "aria-valuemin": 0,
160
156
  "aria-valuemax": 100
161
- }, ariaProps), [progress]);
157
+ }), [progress]);
162
158
  };
163
159
  }, {
164
160
  props: /*@__PURE__*/ mergeDefaults({
@@ -263,14 +259,6 @@ const Progress = /* @__PURE__ */ defineComponent((props, { attrs }) => {
263
259
  prefixCls: {
264
260
  type: String,
265
261
  required: false
266
- },
267
- "aria-label": {
268
- type: [String, null],
269
- required: false
270
- },
271
- "aria-labelledby": {
272
- type: [String, null],
273
- required: false
274
262
  }
275
263
  }, defaultProps),
276
264
  name: "AProgress",
@@ -1,3 +1,4 @@
1
+ import { cloneIfVNode } from "../_util/vueNode.js";
1
2
  import button_default from "../button/index.js";
2
3
  import Spin from "../spin/index.js";
3
4
  import { Fragment, createVNode, defineComponent } from "vue";
@@ -15,7 +16,7 @@ const QRcodeStatus = /* @__PURE__ */ defineComponent((props) => {
15
16
  const defaultScannedNode = createVNode("p", { "class": `${prefixCls}-scanned` }, [locale?.scanned]);
16
17
  const defaultNodes = {
17
18
  expired: defaultExpiredNode,
18
- loading: defaultSpin,
19
+ loading: cloneIfVNode(defaultSpin),
19
20
  scanned: defaultScannedNode
20
21
  };
21
22
  const defaultStatusRender = (info) => defaultNodes[info.status];
@@ -7,7 +7,7 @@ import { toPropsRefs } from "../_util/tools.js";
7
7
  import useLocale from "../locale/useLocale.js";
8
8
  import QRcodeStatus from "./QrcodeStatus.js";
9
9
  import style_default from "./style/index.js";
10
- import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef } from "vue";
10
+ import { computed, createVNode, defineComponent, getCurrentInstance, mergeDefaults, mergeProps, shallowRef } from "vue";
11
11
  import { classNames } from "@v-c/util";
12
12
  import { omit } from "es-toolkit";
13
13
  import pickAttrs from "@v-c/util/dist/pickAttrs";
@@ -16,6 +16,7 @@ import { QRCodeCanvas, QRCodeSVG } from "@v-c/qrcode";
16
16
  const QRCode = /* @__PURE__ */ defineComponent((props, { emit, attrs, slots, expose }) => {
17
17
  const { prefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles } = useComponentBaseConfig("qrcode", props);
18
18
  const { styles, classes } = toPropsRefs(props, "styles", "classes");
19
+ const instance = getCurrentInstance();
19
20
  const [hashId, cssVarCls] = style_default(prefixCls);
20
21
  const [locale] = useLocale("QRCode");
21
22
  const [, token] = useToken();
@@ -42,6 +43,7 @@ const QRCode = /* @__PURE__ */ defineComponent((props, { emit, attrs, slots, exp
42
43
  return () => {
43
44
  const { type, value, size, errorLevel, bgColor, icon, boostLevel, bordered, rootClass, status, marginSize } = props;
44
45
  const statusRender = slots?.statusRender ?? props?.statusRender;
46
+ const hasRefreshListener = !!instance?.vnode?.props?.onRefresh;
45
47
  const a11yProps = pickAttrs(attrs, true);
46
48
  const restProps = omit(attrs, Object.keys(a11yProps));
47
49
  const style = attrs.style;
@@ -89,9 +91,7 @@ const QRCode = /* @__PURE__ */ defineComponent((props, { emit, attrs, slots, exp
89
91
  "prefixCls": prefixCls.value,
90
92
  "locale": locale.value,
91
93
  "status": status,
92
- "onRefresh": () => {
93
- emit("refresh");
94
- },
94
+ "onRefresh": hasRefreshListener ? () => emit("refresh") : void 0,
95
95
  "statusRender": statusRender
96
96
  }, null)]), type === "canvas" ? createVNode(QRCodeCanvas, qrCodeProps, null) : createVNode(QRCodeSVG, qrCodeProps, null)]);
97
97
  };
@@ -1,16 +1,17 @@
1
+ import { useFormItemContext, useFormItemInputContext } from "../form/context.js";
1
2
  import { useOrientation } from "../_util/hooks/useOrientation.js";
2
3
  import { useComponentBaseConfig } from "../config-provider/context.js";
3
4
  import { useSize } from "../config-provider/hooks/useSize.js";
4
- import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
5
+ import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
5
6
  import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
6
7
  import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
8
+ import { useDisabledContext } from "../config-provider/DisabledContext.js";
7
9
  import { checkRenderNode } from "../_util/vueNode.js";
8
- import { useFormItemContext, useFormItemInputContext } from "../form/context.js";
9
10
  import { toNamePathStr } from "../form/hooks/useForm.js";
10
11
  import { useRadioGroupContextProvider } from "./context.js";
11
12
  import style_default from "./style/index.js";
12
13
  import InternalRadio from "./radio.js";
13
- import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, ref, useId, watch } from "vue";
14
+ import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, ref, toRef, useId, watch } from "vue";
14
15
  import { clsx } from "@v-c/util";
15
16
  import { filterEmpty } from "@v-c/util/dist/props-util";
16
17
  import pickAttrs from "@v-c/util/dist/pickAttrs";
@@ -40,7 +41,21 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
40
41
  const rootCls = useCSSVarCls(prefixCls);
41
42
  const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
42
43
  const mergedSize = useSize(customizeSize);
43
- const [, mergedVertical] = useOrientation(orientation, vertical);
44
+ const [mergedOrientation, mergedVertical] = useOrientation(orientation, vertical);
45
+ const contextDisabled = useDisabledContext();
46
+ const mergedProps = computed(() => ({
47
+ ...props,
48
+ value: value.value,
49
+ disabled: props.disabled ?? contextDisabled.value,
50
+ size: mergedSize.value,
51
+ buttonStyle: props.buttonStyle,
52
+ block: props.block,
53
+ name: name.value,
54
+ optionType: props.optionType ?? "default",
55
+ orientation: mergedOrientation.value,
56
+ vertical: mergedVertical.value
57
+ }));
58
+ const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(toRef(() => props.classes)), useToArr(toRef(() => props.styles)), useToProps(mergedProps));
44
59
  useRadioGroupContextProvider(computed(() => {
45
60
  return {
46
61
  onChange: onRadioChange,
@@ -48,7 +63,17 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
48
63
  disabled: props?.disabled,
49
64
  name: name.value,
50
65
  optionType: props?.optionType,
51
- block: props?.block
66
+ block: props?.block,
67
+ classes: {
68
+ root: mergedClassNames.value.item,
69
+ icon: mergedClassNames.value.itemIcon,
70
+ label: mergedClassNames.value.itemLabel
71
+ },
72
+ styles: {
73
+ root: mergedStyles.value.item,
74
+ icon: mergedStyles.value.itemIcon,
75
+ label: mergedStyles.value.itemLabel
76
+ }
52
77
  };
53
78
  }));
54
79
  return () => {
@@ -60,7 +85,7 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
60
85
  [`${groupPrefixCls.value}-small`]: mergedSize.value === "small",
61
86
  [`${groupPrefixCls.value}-rtl`]: direction.value === "rtl",
62
87
  [`${groupPrefixCls.value}-block`]: block
63
- }, className, rootClass, hashId.value, cssVarCls.value, rootCls.value);
88
+ }, className, rootClass, mergedClassNames.value.root, hashId.value, cssVarCls.value, rootCls.value);
64
89
  let childrenToRender = children;
65
90
  const labelRender = slots?.labelRender ?? props?.labelRender;
66
91
  if (options && options.length) childrenToRender = options.map((option, index) => {
@@ -102,7 +127,7 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
102
127
  data: true
103
128
  }), {
104
129
  "class": clsx(classString, { [`${prefixCls.value}-group-vertical`]: mergedVertical.value }),
105
- "style": style,
130
+ "style": [mergedStyles.value.root, style],
106
131
  "onMouseenter": (e) => {
107
132
  emit("mouseenter", e);
108
133
  },
@@ -166,6 +191,14 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
166
191
  type: Function,
167
192
  required: false
168
193
  },
194
+ classes: {
195
+ type: [Object, Function],
196
+ required: false
197
+ },
198
+ styles: {
199
+ type: [Object, Function],
200
+ required: false
201
+ },
169
202
  "onUpdate:value": {
170
203
  type: Function,
171
204
  required: false
@@ -1,7 +1,7 @@
1
1
  import { CheckboxEmits, CheckboxSlots } from "../checkbox/Checkbox.js";
2
2
  import { CheckboxOptionType } from "../checkbox/Group.js";
3
3
  import "../checkbox/index.js";
4
- import { RadioChangeEvent, RadioEmits, RadioGroupEmits, RadioGroupOptionType, RadioGroupSlots, RadioSlots } from "./interface.js";
4
+ import { RadioChangeEvent, RadioEmits, RadioGroupClassNamesType, RadioGroupEmits, RadioGroupOptionType, RadioGroupSemanticClassNames, RadioGroupSemanticStyles, RadioGroupSlots, RadioGroupStylesType, RadioSlots } from "./interface.js";
5
5
  import { InternalRadioButtonProps } from "./radioButton.js";
6
6
  import "../index.js";
7
7
  import { InternalRadioGroupProps } from "./group.js";
@@ -13,4 +13,4 @@ type RadioOptionType = CheckboxOptionType;
13
13
  declare const RadioGroup: import("vue").DefineSetupFnComponent<InternalRadioGroupProps, RadioGroupEmits, import("vue").SlotsType<RadioGroupSlots>, InternalRadioGroupProps, import("vue").PublicProps>;
14
14
  declare const RadioButton: import("vue").DefineSetupFnComponent<InternalRadioButtonProps, CheckboxEmits, import("vue").SlotsType<CheckboxSlots>, InternalRadioButtonProps, import("vue").PublicProps>;
15
15
  //#endregion
16
- export { RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, RadioGroupProps, type RadioGroupSlots, RadioOptionType, RadioProps, type RadioSlots, InternalRadio as default };
16
+ export { RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupClassNamesType, type RadioGroupEmits, type RadioGroupOptionType, RadioGroupProps, type RadioGroupSemanticClassNames, type RadioGroupSemanticStyles, type RadioGroupSlots, type RadioGroupStylesType, RadioOptionType, RadioProps, type RadioSlots, InternalRadio as default };