antdv-next 1.0.0-beta.3 → 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 (269) 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 +21 -5
  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/carousel/index.d.mts +3 -3
  44. package/dist/cascader/Panel.d.mts +3 -3
  45. package/dist/cascader/index.d.mts +31 -10
  46. package/dist/checkbox/Checkbox.d.mts +16 -7
  47. package/dist/checkbox/Checkbox.mjs +1 -1
  48. package/dist/checkbox/Group.d.mts +4 -3
  49. package/dist/checkbox/Group.mjs +11 -2
  50. package/dist/collapse/Collapse.d.mts +19 -6
  51. package/dist/collapse/Collapse.mjs +1 -1
  52. package/dist/color-picker/ColorPicker.d.mts +3 -3
  53. package/dist/color-picker/interface.d.mts +15 -7
  54. package/dist/color-picker/style/input.mjs +2 -0
  55. package/dist/components.d.mts +2 -3
  56. package/dist/config-provider/context.d.mts +58 -12
  57. package/dist/config-provider/context.mjs +3 -3
  58. package/dist/config-provider/define.d.mts +7 -1
  59. package/dist/config-provider/index.d.mts +3 -4
  60. package/dist/config-provider/index.mjs +82 -8
  61. package/dist/date-picker/generatePicker/index.d.mts +15 -15
  62. package/dist/date-picker/generatePicker/interface.d.mts +37 -10
  63. package/dist/date-picker/hooks/useMergedPickerSemantic.mjs +2 -2
  64. package/dist/date-picker/index.d.mts +25 -25
  65. package/dist/descriptions/Cell.mjs +5 -5
  66. package/dist/descriptions/DescriptionsContext.d.mts +13 -0
  67. package/dist/descriptions/Item.d.mts +3 -3
  68. package/dist/descriptions/hooks/useRow.mjs +7 -7
  69. package/dist/descriptions/index.d.mts +22 -7
  70. package/dist/divider/index.d.mts +15 -5
  71. package/dist/drawer/DrawerPanel.d.mts +28 -3
  72. package/dist/drawer/DrawerPanel.mjs +3 -3
  73. package/dist/drawer/index.d.mts +4 -4
  74. package/dist/drawer/index.mjs +4 -0
  75. package/dist/drawer/style/index.mjs +9 -2
  76. package/dist/dropdown/dropdown.d.mts +20 -7
  77. package/dist/empty/index.d.mts +18 -7
  78. package/dist/flex/index.d.mts +3 -3
  79. package/dist/float-button/BackTop.d.mts +3 -3
  80. package/dist/float-button/FloatButton.d.mts +6 -7
  81. package/dist/float-button/FloatButtonGroup.d.mts +25 -6
  82. package/dist/form/Form.d.mts +16 -7
  83. package/dist/form/FormItem/index.d.mts +3 -3
  84. package/dist/form/FormItem/index.mjs +1 -1
  85. package/dist/form/FormItemInput.d.mts +0 -1
  86. package/dist/grid/index.d.mts +2 -2
  87. package/dist/grid/row.d.mts +2 -2
  88. package/dist/image/PreviewGroup.d.mts +3 -5
  89. package/dist/image/index.d.mts +34 -14
  90. package/dist/index.d.mts +3 -4
  91. package/dist/input/Input.d.mts +17 -4
  92. package/dist/input/Input.mjs +2 -2
  93. package/dist/input/OTP/index.d.mts +13 -4
  94. package/dist/input/Password.mjs +3 -3
  95. package/dist/input/Search.d.mts +21 -9
  96. package/dist/input/TextArea.d.mts +16 -7
  97. package/dist/input/TextArea.mjs +2 -2
  98. package/dist/input/index.d.mts +11 -11
  99. package/dist/input/style/index.mjs +5 -2
  100. package/dist/input/style/variants.mjs +2 -1
  101. package/dist/input-number/index.d.mts +20 -7
  102. package/dist/layout/index.d.mts +6 -6
  103. package/dist/layout/layout.d.mts +2 -3
  104. package/dist/locale/index.d.mts +0 -1
  105. package/dist/masonry/Masonry.d.mts +14 -7
  106. package/dist/masonry/MasonryItem.mjs +2 -2
  107. package/dist/mentions/index.d.mts +18 -7
  108. package/dist/mentions/index.mjs +2 -2
  109. package/dist/mentions/style/index.mjs +2 -2
  110. package/dist/menu/MenuContext.d.mts +0 -1
  111. package/dist/menu/MenuDivider.d.mts +2 -2
  112. package/dist/menu/MenuItem.d.mts +3 -3
  113. package/dist/menu/MenuItem.mjs +4 -3
  114. package/dist/menu/SubMenu.d.mts +3 -3
  115. package/dist/menu/SubMenu.mjs +5 -0
  116. package/dist/menu/index.d.mts +5 -5
  117. package/dist/menu/menu.d.mts +42 -10
  118. package/dist/menu/menu.mjs +2 -2
  119. package/dist/menu/style/index.d.mts +1 -1
  120. package/dist/menu/style/vertical.mjs +1 -1
  121. package/dist/message/PurePanel.d.mts +5 -7
  122. package/dist/message/index.mjs +2 -2
  123. package/dist/message/interface.d.mts +20 -4
  124. package/dist/message/useMessage.d.mts +0 -1
  125. package/dist/modal/Modal.d.mts +3 -3
  126. package/dist/modal/confirm.mjs +8 -4
  127. package/dist/modal/interface.d.mts +22 -3
  128. package/dist/modal/style/index.mjs +11 -8
  129. package/dist/notification/PurePanel.d.mts +8 -8
  130. package/dist/notification/index.mjs +2 -2
  131. package/dist/notification/interface.d.mts +18 -5
  132. package/dist/notification/style/index.mjs +8 -8
  133. package/dist/notification/useNotification.d.mts +2 -3
  134. package/dist/package.d.mts +4 -0
  135. package/dist/package.mjs +1 -1
  136. package/dist/pagination/Pagination.d.mts +3 -3
  137. package/dist/pagination/Pagination.mjs +11 -10
  138. package/dist/pagination/interface.d.mts +14 -5
  139. package/dist/pagination/style/bordered.mjs +2 -2
  140. package/dist/pagination/style/index.d.mts +10 -5
  141. package/dist/pagination/style/index.mjs +52 -103
  142. package/dist/popconfirm/PurePanel.d.mts +5 -7
  143. package/dist/popconfirm/index.d.mts +8 -6
  144. package/dist/popconfirm/index.mjs +7 -3
  145. package/dist/popover/index.d.mts +16 -9
  146. package/dist/popover/index.mjs +8 -5
  147. package/dist/progress/Line.mjs +3 -3
  148. package/dist/progress/progress.d.mts +20 -7
  149. package/dist/qrcode/index.d.mts +3 -3
  150. package/dist/qrcode/index.mjs +2 -1
  151. package/dist/qrcode/interface.d.mts +11 -3
  152. package/dist/radio/group.mjs +3 -3
  153. package/dist/radio/index.d.mts +5 -5
  154. package/dist/radio/interface.d.mts +13 -3
  155. package/dist/radio/radio.d.mts +3 -3
  156. package/dist/radio/radio.mjs +1 -1
  157. package/dist/rate/index.d.mts +3 -3
  158. package/dist/result/index.d.mts +22 -7
  159. package/dist/result/index.mjs +11 -6
  160. package/dist/result/noFound.d.mts +2 -2
  161. package/dist/result/serverError.d.mts +2 -2
  162. package/dist/result/unauthorized.d.mts +2 -2
  163. package/dist/segmented/index.d.mts +18 -7
  164. package/dist/select/index.d.mts +48 -20
  165. package/dist/skeleton/Avatar.d.mts +2 -2
  166. package/dist/skeleton/Button.d.mts +2 -2
  167. package/dist/skeleton/Image.d.mts +2 -2
  168. package/dist/skeleton/Input.d.mts +2 -2
  169. package/dist/skeleton/Node.d.mts +3 -3
  170. package/dist/skeleton/Skeleton.d.mts +22 -7
  171. package/dist/slider/index.d.mts +19 -6
  172. package/dist/slider/index.mjs +4 -4
  173. package/dist/space/index.d.mts +18 -9
  174. package/dist/spin/Indicator/Progress.mjs +3 -3
  175. package/dist/spin/index.d.mts +19 -6
  176. package/dist/splitter/SplitBar.mjs +12 -12
  177. package/dist/splitter/Splitter.d.mts +3 -3
  178. package/dist/splitter/Splitter.mjs +1 -1
  179. package/dist/splitter/hooks/useItems.mjs +2 -2
  180. package/dist/splitter/hooks/useResizable.mjs +5 -5
  181. package/dist/splitter/hooks/useResize.mjs +2 -2
  182. package/dist/splitter/index.d.mts +2 -2
  183. package/dist/splitter/interface.d.mts +21 -7
  184. package/dist/splitter/style/index.mjs +2 -28
  185. package/dist/statistic/Statistic.d.mts +21 -6
  186. package/dist/statistic/Statistic.mjs +1 -1
  187. package/dist/statistic/Timer.d.mts +5 -5
  188. package/dist/statistic/index.d.mts +5 -5
  189. package/dist/steps/context.mjs +5 -2
  190. package/dist/steps/index.d.mts +31 -9
  191. package/dist/steps/index.mjs +3 -3
  192. package/dist/style/motion/fade.mjs +25 -0
  193. package/dist/switch/index.d.mts +14 -7
  194. package/dist/switch/index.mjs +2 -2
  195. package/dist/table/Column.d.mts +3 -3
  196. package/dist/table/ColumnGroup.d.mts +3 -3
  197. package/dist/table/InternalTable.d.mts +35 -13
  198. package/dist/table/InternalTable.mjs +12 -6
  199. package/dist/table/Table.d.mts +3 -3
  200. package/dist/table/TableMeasureRowContext.mjs +20 -0
  201. package/dist/table/hooks/useFilter/FilterDropdown.mjs +17 -12
  202. package/dist/table/hooks/useSelection.mjs +1 -1
  203. package/dist/table/interface.d.mts +1 -2
  204. package/dist/table/style/virtual.mjs +1 -1
  205. package/dist/tabs/TabPane.d.mts +3 -3
  206. package/dist/tabs/index.d.mts +27 -11
  207. package/dist/tabs/index.mjs +5 -5
  208. package/dist/tag/CheckableTag.d.mts +3 -3
  209. package/dist/tag/CheckableTagGroup.d.mts +3 -3
  210. package/dist/tag/index.d.mts +16 -7
  211. package/dist/tag/index.mjs +1 -1
  212. package/dist/tag/style/index.mjs +1 -1
  213. package/dist/theme/index.d.mts +1 -2
  214. package/dist/theme/interface/maps/index.d.mts +0 -1
  215. package/dist/theme/useToken.mjs +3 -3
  216. package/dist/theme/util/genStyleUtils.mjs +3 -2
  217. package/dist/time-picker/index.d.mts +38 -14
  218. package/dist/time-picker/index.mjs +1 -1
  219. package/dist/timeline/Timeline.d.mts +49 -14
  220. package/dist/timeline/Timeline.mjs +82 -11
  221. package/dist/timeline/index.d.mts +1 -2
  222. package/dist/timeline/style/horizontal.mjs +73 -0
  223. package/dist/timeline/style/index.d.mts +10 -5
  224. package/dist/timeline/style/index.mjs +93 -137
  225. package/dist/timeline/useItems.mjs +52 -0
  226. package/dist/tooltip/PurePanel.d.mts +2 -2
  227. package/dist/tooltip/UniqueProvider/index.d.mts +2 -2
  228. package/dist/tooltip/index.d.mts +17 -8
  229. package/dist/tooltip/index.mjs +11 -3
  230. package/dist/tooltip/style/index.d.mts +7 -1
  231. package/dist/tooltip/style/index.mjs +3 -2
  232. package/dist/tour/index.d.mts +3 -3
  233. package/dist/tour/index.mjs +1 -1
  234. package/dist/tour/interface.d.mts +29 -3
  235. package/dist/transfer/Actions.d.mts +2 -2
  236. package/dist/transfer/ListItem.mjs +4 -4
  237. package/dist/transfer/Section.d.mts +2 -2
  238. package/dist/transfer/Transfer.d.mts +3 -3
  239. package/dist/transfer/Transfer.mjs +4 -4
  240. package/dist/transfer/index.d.mts +1 -1
  241. package/dist/transfer/interface.d.mts +32 -7
  242. package/dist/transfer/search.d.mts +3 -3
  243. package/dist/tree/DirectoryTree.d.mts +3 -3
  244. package/dist/tree/Tree.d.mts +18 -7
  245. package/dist/tree/index.d.mts +0 -1
  246. package/dist/tree-select/index.d.mts +41 -12
  247. package/dist/tree-select/style/index.d.mts +1 -1
  248. package/dist/typography/Editable.mjs +4 -4
  249. package/dist/typography/Link.d.mts +3 -3
  250. package/dist/typography/Paragraph.d.mts +3 -3
  251. package/dist/typography/Text.d.mts +3 -3
  252. package/dist/typography/Title.d.mts +3 -3
  253. package/dist/typography/Typography.d.mts +3 -3
  254. package/dist/typography/Typography.mjs +2 -12
  255. package/dist/typography/index.d.mts +9 -10
  256. package/dist/typography/interface.d.mts +0 -2
  257. package/dist/typography/style/mixins.mjs +3 -3
  258. package/dist/upload/Dragger.d.mts +3 -3
  259. package/dist/upload/Upload.d.mts +3 -4
  260. package/dist/upload/index.d.mts +3 -3
  261. package/dist/upload/interface.d.mts +13 -4
  262. package/dist/watermark/index.d.mts +2 -2
  263. package/dist/watermark/index.mjs +3 -3
  264. package/package.json +45 -41
  265. package/web-tags.json +1918 -1873
  266. package/web-types.json +6815 -7198
  267. package/dist/timeline/TimelineItem.d.mts +0 -20
  268. package/dist/timeline/TimelineItem.mjs +0 -115
  269. package/dist/timeline/TimelineItemList.mjs +0 -158
@@ -1,4 +1,4 @@
1
- import { genFocusStyle, resetComponent } from "../../style/index.mjs";
1
+ import { genFocusOutline, genFocusStyle, resetComponent } from "../../style/index.mjs";
2
2
  import { genStyleHooks } from "../../theme/util/genStyleUtils.mjs";
3
3
  import { mergeToken } from "../../theme/internal.mjs";
4
4
  import { initFadeMotion } from "../../style/motion/fade.mjs";
@@ -74,13 +74,16 @@ const genModalStyle = (token) => {
74
74
  } },
75
75
  { [componentCls]: {
76
76
  ...resetComponent(token),
77
- pointerEvents: "none",
78
- position: "relative",
79
- top: 100,
80
- width: "auto",
81
- maxWidth: `calc(100vw - ${unit(token.calc(token.margin).mul(2).equal())})`,
82
- margin: "0 auto",
83
- paddingBottom: token.paddingLG,
77
+ "pointerEvents": "none",
78
+ "position": "relative",
79
+ "top": 100,
80
+ "width": "auto",
81
+ "maxWidth": `calc(100vw - ${unit(token.calc(token.margin).mul(2).equal())})`,
82
+ "margin": "0 auto",
83
+ "&:focus-visible": {
84
+ borderRadius: token.borderRadiusLG,
85
+ ...genFocusOutline(token)
86
+ },
84
87
  [`${componentCls}-title`]: {
85
88
  margin: 0,
86
89
  color: token.titleColor,
@@ -1,12 +1,12 @@
1
1
  import { VueNode } from "../_util/type.mjs";
2
- import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
2
+ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
3
  import "../_util/hooks/index.mjs";
4
- import { IconType, NotificationSemantic } from "./interface.mjs";
5
- import * as vue392 from "vue";
4
+ import { IconType, NotificationSemanticClassNames, NotificationSemanticStyles } from "./interface.mjs";
5
+ import * as vue346 from "vue";
6
6
 
7
7
  //#region src/notification/PurePanel.d.ts
8
- type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemantic>;
9
- type PurePanelStylesType = SemanticStylesType<PurePanelProps, NotificationSemantic>;
8
+ type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemanticClassNames>;
9
+ type PurePanelStylesType = SemanticStylesType<PurePanelProps, NotificationSemanticStyles>;
10
10
  interface PureContentProps {
11
11
  prefixCls: string;
12
12
  icon?: VueNode;
@@ -15,8 +15,8 @@ interface PureContentProps {
15
15
  actions?: VueNode;
16
16
  type?: IconType;
17
17
  role?: 'alert' | 'status';
18
- classes: SemanticClassNames<NotificationSemantic>;
19
- styles: SemanticStyles<NotificationSemantic>;
18
+ classes: NotificationSemanticClassNames;
19
+ styles: NotificationSemanticStyles;
20
20
  }
21
21
  interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classes' | 'styles'> {
22
22
  content?: VueNode;
@@ -36,6 +36,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
36
36
  onClick?: (event: Event) => void;
37
37
  }
38
38
  /** @private Internal Component. Do not use in your production. */
39
- declare const PurePanel: vue392.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue392.PublicProps>;
39
+ declare const PurePanel: vue346.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue346.PublicProps>;
40
40
  //#endregion
41
41
  export { PurePanel };
@@ -83,8 +83,8 @@ const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
83
83
  });
84
84
  }
85
85
  }, { immediate: true });
86
+ const global = globalConfig();
86
87
  return () => {
87
- const global = globalConfig();
88
88
  const holderNode = createVNode(GlobalHolder, {
89
89
  "ref": holderRef,
90
90
  "sync": sync,
@@ -94,7 +94,7 @@ const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
94
94
  return createVNode(config_provider_default, {
95
95
  "prefixCls": global.getRootPrefixCls(),
96
96
  "iconPrefixCls": global.getIconPrefixCls(),
97
- "theme": global.getTheme()
97
+ "theme": global.theme.value
98
98
  }, _isSlot(dom) ? dom : { default: () => [dom] });
99
99
  };
100
100
  }, { props: { onReady: {
@@ -12,11 +12,24 @@ interface DivProps extends HTMLAttributes {
12
12
  declare const NotificationPlacements: readonly ["top", "topLeft", "topRight", "bottom", "bottomLeft", "bottomRight"];
13
13
  type NotificationPlacement = (typeof NotificationPlacements)[number];
14
14
  type IconType = 'success' | 'info' | 'error' | 'warning';
15
- type NotificationSemantic = 'root' | 'title' | 'description' | 'actions' | 'icon';
16
- type NotificationClassNamesType = SemanticClassNamesType<ArgsProps, NotificationSemantic>;
17
- type NotificationStylesType = SemanticStylesType<ArgsProps, NotificationSemantic>;
15
+ interface NotificationSemanticClassNames {
16
+ root?: string;
17
+ title?: string;
18
+ description?: string;
19
+ actions?: string;
20
+ icon?: string;
21
+ }
22
+ interface NotificationSemanticStyles {
23
+ root?: CSSProperties;
24
+ title?: CSSProperties;
25
+ description?: CSSProperties;
26
+ actions?: CSSProperties;
27
+ icon?: CSSProperties;
28
+ }
29
+ type NotificationClassNamesType = SemanticClassNamesType<ArgsProps, NotificationSemanticClassNames>;
30
+ type NotificationStylesType = SemanticStylesType<ArgsProps, NotificationSemanticStyles>;
18
31
  interface ArgsProps {
19
- title: VueNode;
32
+ title?: VueNode;
20
33
  description?: VueNode;
21
34
  actions?: VueNode;
22
35
  key?: Key;
@@ -82,4 +95,4 @@ interface GlobalConfigProps {
82
95
  props?: DivProps;
83
96
  }
84
97
  //#endregion
85
- export { ArgsProps, GlobalConfigProps, IconType, NotificationConfig, NotificationInstance, NotificationSemantic };
98
+ export { ArgsProps, GlobalConfigProps, IconType, NotificationConfig, NotificationInstance, NotificationSemanticClassNames, NotificationSemanticStyles };
@@ -26,10 +26,10 @@ function genNoticeStyle(token) {
26
26
  "wordWrap": "break-word",
27
27
  "borderRadius": borderRadiusLG,
28
28
  "overflow": "hidden",
29
- "&-success": { background: colorSuccessBg },
30
- "&-error": { background: colorErrorBg },
31
- "&-info": { background: colorInfoBg },
32
- "&-warning": { background: colorWarningBg }
29
+ "&-success": colorSuccessBg ? { background: colorSuccessBg } : {},
30
+ "&-error": colorErrorBg ? { background: colorErrorBg } : {},
31
+ "&-info": colorInfoBg ? { background: colorInfoBg } : {},
32
+ "&-warning": colorWarningBg ? { background: colorWarningBg } : {}
33
33
  },
34
34
  [`${noticeCls}-title`]: {
35
35
  marginBottom: token.marginXS,
@@ -170,10 +170,10 @@ function prepareComponentToken(token) {
170
170
  zIndexPopup: token.zIndexPopupBase + CONTAINER_MAX_OFFSET + 50,
171
171
  width: 384,
172
172
  progressBg: `linear-gradient(90deg, ${token.colorPrimaryBorderHover}, ${token.colorPrimary})`,
173
- colorSuccessBg: token.colorSuccessBg,
174
- colorErrorBg: token.colorErrorBg,
175
- colorInfoBg: token.colorInfoBg,
176
- colorWarningBg: token.colorWarningBg
173
+ colorSuccessBg: void 0,
174
+ colorErrorBg: void 0,
175
+ colorInfoBg: void 0,
176
+ colorWarningBg: void 0
177
177
  };
178
178
  }
179
179
  const prepareNotificationToken = (token) => {
@@ -1,9 +1,8 @@
1
1
  import { NotificationConfig, NotificationInstance } from "./interface.mjs";
2
2
  import { MaybeRef } from "@v-c/util/dist/type";
3
- import * as vue_jsx_runtime13 from "vue/jsx-runtime";
3
+ import * as vue_jsx_runtime4 from "vue/jsx-runtime";
4
4
 
5
5
  //#region src/notification/useNotification.d.ts
6
-
7
- declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () => vue_jsx_runtime13.JSX.Element];
6
+ declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () => vue_jsx_runtime4.JSX.Element];
8
7
  //#endregion
9
8
  export { useNotification };
@@ -84,6 +84,9 @@ declare const _exports: {
84
84
  "build:web-types": string;
85
85
  "build:llm": string;
86
86
  "build:llm-semantic": string;
87
+ "build:token-meta": string;
88
+ "build:token-statistic": string;
89
+ "build:token": string;
87
90
  "build:style": string;
88
91
  prepublish: string;
89
92
  bump: string;
@@ -142,6 +145,7 @@ declare const _exports: {
142
145
  browserslist: string[];
143
146
  devDependencies: {
144
147
  "@types/throttle-debounce": string;
148
+ csstype: string;
145
149
  };
146
150
  };
147
151
  declare let _version2: typeof _exports["version"];
package/dist/package.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "1.0.0-beta.3";
2
+ var version = "1.0.0-rc.1";
3
3
 
4
4
  //#endregion
5
5
  export { version };
@@ -1,10 +1,10 @@
1
1
  import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.mjs";
2
- import * as vue370 from "vue";
2
+ import * as vue366 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/pagination/Pagination.d.ts
6
- declare const Pagination: vue370.DefineSetupFnComponent<PaginationProps, PaginationEmits, SlotsType<PaginationSlots>, PaginationProps & {
6
+ declare const Pagination: vue366.DefineSetupFnComponent<PaginationProps, PaginationEmits, SlotsType<PaginationSlots>, PaginationProps & {
7
7
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
8
- }, vue370.PublicProps>;
8
+ }, vue366.PublicProps>;
9
9
  //#endregion
10
10
  export { Pagination };
@@ -5,7 +5,6 @@ import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeS
5
5
  import { devUseWarning, isDev } from "../_util/warning.mjs";
6
6
  import "../_util/hooks/index.mjs";
7
7
  import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.mjs";
8
- import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.mjs";
9
8
  import { useSize } from "../config-provider/hooks/useSize.mjs";
10
9
  import useLocale_default from "../locale/useLocale.mjs";
11
10
  import select_default from "../select/index.mjs";
@@ -35,8 +34,7 @@ const omitKeys = [
35
34
  const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) => {
36
35
  const { getPrefixCls, prefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, showSizeChanger: contextShowSizeChangerConfig } = useComponentBaseConfig("pagination", props, ["showSizeChanger"]);
37
36
  const { size, responsive, classes, styles, showSizeChanger } = toPropsRefs(props, "size", "responsive", "classes", "styles", "showSizeChanger");
38
- const rootCls = useCSSVarCls_default(prefixCls);
39
- const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
37
+ const [hashId, cssVarCls] = style_default(prefixCls, prefixCls);
40
38
  const [, token] = useToken();
41
39
  const mergedSize = useSize(size);
42
40
  const screens = useBreakpoint_default(responsive);
@@ -79,7 +77,7 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
79
77
  onSizeChange?.(nextSize);
80
78
  propSelectOnChange?.(nextSize, option);
81
79
  },
82
- "size": isSmall.value ? "small" : "middle",
80
+ "size": mergedSize.value,
83
81
  "class": clsx(sizeChangerClassName, propSelectClass)
84
82
  }), null);
85
83
  };
@@ -126,16 +124,19 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
126
124
  if (props.current !== page) emit("update:current", page);
127
125
  else if (props.pageSize !== pageSize) emit("update:pageSize", pageSize);
128
126
  };
129
- const handleShowSizeChange = (current, size$1) => {
130
- emit("showSizeChange", current, size$1);
127
+ const handleShowSizeChange = (current, size) => {
128
+ emit("showSizeChange", current, size);
131
129
  };
132
130
  return () => {
131
+ const { rootClass, align } = props;
133
132
  const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
134
- const mergedClassName = clsx(contextClassName.value, props.rootClass, mergedClassNames.value?.root, hashId.value, cssVarCls.value, rootCls.value, {
133
+ const extendedClassName = clsx({
134
+ [`${prefixCls.value}-${align}`]: !!align,
135
+ [`${prefixCls.value}-${mergedSize.value}`]: mergedSize.value,
135
136
  [`${prefixCls.value}-mini`]: isSmall.value,
136
137
  [`${prefixCls.value}-rtl`]: direction.value === "rtl",
137
138
  [`${prefixCls.value}-bordered`]: token.value.wireframe
138
- }, className);
139
+ }, contextClassName.value, className, rootClass, mergedClassNames.value.root, hashId.value, cssVarCls.value);
139
140
  const mergedStyle = {
140
141
  ...mergedStyles.value?.root,
141
142
  ...contextStyle.value,
@@ -145,7 +146,7 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
145
146
  return createVNode(Fragment, null, [token.value.wireframe && createVNode(bordered_default, { "prefixCls": prefixCls.value }, null), createVNode(VcPagination, mergeProps(restProps, restAttrs, {
146
147
  "prefixCls": prefixCls.value,
147
148
  "selectPrefixCls": selectPrefixCls.value,
148
- "class": mergedClassName,
149
+ "class": extendedClassName,
149
150
  "style": mergedStyle,
150
151
  "classNames": mergedClassNames.value,
151
152
  "styles": mergedStyles.value,
@@ -177,7 +178,7 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
177
178
  default: void 0
178
179
  },
179
180
  size: {
180
- type: String,
181
+ type: [String, null],
181
182
  required: false,
182
183
  default: void 0
183
184
  },
@@ -1,7 +1,9 @@
1
+ import { SizeType } from "../config-provider/SizeContext.mjs";
1
2
  import { VueNode } from "../_util/type.mjs";
2
3
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
4
  import "../_util/hooks/index.mjs";
4
5
  import { SelectProps } from "../select/index.mjs";
6
+ import { CSSProperties } from "vue";
5
7
  import { PaginationProps } from "@v-c/pagination";
6
8
 
7
9
  //#region src/pagination/interface.d.ts
@@ -18,14 +20,21 @@ interface PaginationLocale {
18
20
  next_3?: string;
19
21
  page_size?: string;
20
22
  }
21
- type PaginationSemanticName = 'root' | 'item';
22
- type PaginationClassNamesType = SemanticClassNamesType<PaginationProps$1, PaginationSemanticName>;
23
- type PaginationStylesType = SemanticStylesType<PaginationProps$1, PaginationSemanticName>;
23
+ interface PaginationSemanticClassNames {
24
+ root?: string;
25
+ item?: string;
26
+ }
27
+ interface PaginationSemanticStyles {
28
+ root?: CSSProperties;
29
+ item?: CSSProperties;
30
+ }
31
+ type PaginationClassNamesType = SemanticClassNamesType<PaginationProps$1, PaginationSemanticClassNames>;
32
+ type PaginationStylesType = SemanticStylesType<PaginationProps$1, PaginationSemanticStyles>;
24
33
  interface PaginationProps$1 extends Omit<PaginationProps, 'className' | 'style' | 'classNames' | 'styles' | 'locale' | 'showSizeChanger' | 'pageSizeOptions' | 'prevIcon' | 'nextIcon' | 'jumpPrevIcon' | 'jumpNextIcon' | 'onChange' | 'onShowSizeChange'> {
25
34
  showQuickJumper?: boolean | {
26
35
  goButton?: VueNode;
27
36
  };
28
- size?: 'default' | 'small';
37
+ size?: SizeType;
29
38
  responsive?: boolean;
30
39
  totalBoundaryShowSizeChanger?: number;
31
40
  rootClass?: string;
@@ -68,4 +77,4 @@ interface PaginationSlots {
68
77
  jumpNextIcon?: () => any;
69
78
  }
70
79
  //#endregion
71
- export { PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationProps$1 as PaginationProps, PaginationSemanticName, PaginationSlots, PaginationStylesType };
80
+ export { PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationProps$1 as PaginationProps, PaginationSemanticClassNames, PaginationSemanticStyles, PaginationSlots, PaginationStylesType };
@@ -7,7 +7,7 @@ import { unit } from "@antdv-next/cssinjs";
7
7
  const genBorderedStyle = (token) => {
8
8
  const { componentCls } = token;
9
9
  return {
10
- [`${componentCls}${componentCls}-bordered${componentCls}-disabled:not(${componentCls}-mini)`]: {
10
+ [`${componentCls}${componentCls}-bordered${componentCls}-disabled`]: {
11
11
  "&, &:hover": { [`${componentCls}-item-link`]: { borderColor: token.colorBorder } },
12
12
  "&:focus-visible": { [`${componentCls}-item-link`]: { borderColor: token.colorBorder } },
13
13
  [`${componentCls}-item, ${componentCls}-item-link`]: {
@@ -32,7 +32,7 @@ const genBorderedStyle = (token) => {
32
32
  }
33
33
  }
34
34
  },
35
- [`${componentCls}${componentCls}-bordered:not(${componentCls}-mini)`]: {
35
+ [`${componentCls}${componentCls}-bordered`]: {
36
36
  [`${componentCls}-prev, ${componentCls}-next`]: {
37
37
  "&:hover button": {
38
38
  borderColor: token.colorPrimaryHover,
@@ -14,6 +14,16 @@ interface ComponentToken {
14
14
  * @descEN Size of Pagination item
15
15
  */
16
16
  itemSize: number;
17
+ /**
18
+ * @desc 小号页码尺寸
19
+ * @descEN Size of small Pagination item
20
+ */
21
+ itemSizeSM: number;
22
+ /**
23
+ * @desc 大号页码尺寸
24
+ * @descEN Size of large Pagination item
25
+ */
26
+ itemSizeLG: number;
17
27
  /**
18
28
  * @desc 页码激活态背景色
19
29
  * @descEN Background color of active Pagination item
@@ -29,11 +39,6 @@ interface ComponentToken {
29
39
  * @descEN Text color of active Pagination item hover
30
40
  */
31
41
  itemActiveColorHover: string;
32
- /**
33
- * @desc 小号页码尺寸
34
- * @descEN Size of small Pagination item
35
- */
36
- itemSizeSM: number;
37
42
  /**
38
43
  * @desc 页码链接背景色
39
44
  * @descEN Background color of Pagination item link
@@ -3,7 +3,7 @@ import { genCssVar, genStyleHooks } from "../../theme/util/genStyleUtils.mjs";
3
3
  import { mergeToken } from "../../theme/internal.mjs";
4
4
  import { initComponentToken, initInputToken } from "../../input/style/token.mjs";
5
5
  import { genBaseOutlinedStyle, genDisabledStyle } from "../../input/style/variants.mjs";
6
- import { genBasicInputStyle, genInputSmallStyle } from "../../input/style/index.mjs";
6
+ import { genBasicInputStyle, genInputLargeStyle, genInputSmallStyle } from "../../input/style/index.mjs";
7
7
  import { unit } from "@antdv-next/cssinjs";
8
8
 
9
9
  //#region src/pagination/style/index.ts
@@ -62,87 +62,45 @@ const genPaginationDisabledStyle = (token) => {
62
62
  }
63
63
  };
64
64
  };
65
- const genPaginationMiniStyle = (token) => {
66
- const { componentCls, antCls } = token;
67
- const [, varRef] = genCssVar(antCls, "pagination");
68
- return {
69
- [`&${componentCls}-mini ${componentCls}-total-text, &${componentCls}-mini ${componentCls}-simple-pager`]: {
70
- height: varRef("item-size-actual"),
71
- lineHeight: varRef("item-size-actual")
72
- },
73
- [`&${componentCls}-mini ${componentCls}-item`]: {
74
- minWidth: varRef("item-size-actual"),
75
- height: varRef("item-size-actual"),
76
- margin: 0,
77
- lineHeight: unit(token.calc(varRef("item-size-actual")).sub(2).equal())
78
- },
79
- [`&${componentCls}-mini ${componentCls}-prev, &${componentCls}-mini ${componentCls}-next`]: {
80
- minWidth: varRef("item-size-actual"),
81
- height: varRef("item-size-actual"),
82
- margin: 0,
83
- lineHeight: varRef("item-size-actual")
84
- },
85
- [`&${componentCls}-mini:not(${componentCls}-disabled)`]: { [`${componentCls}-prev, ${componentCls}-next`]: {
86
- [`&:hover ${componentCls}-item-link`]: { backgroundColor: token.colorBgTextHover },
87
- [`&:active ${componentCls}-item-link`]: { backgroundColor: token.colorBgTextActive },
88
- [`&${componentCls}-disabled:hover ${componentCls}-item-link`]: { backgroundColor: "transparent" }
89
- } },
90
- [`
91
- &${componentCls}-mini ${componentCls}-prev ${componentCls}-item-link,
92
- &${componentCls}-mini ${componentCls}-next ${componentCls}-item-link
93
- `]: {
94
- "backgroundColor": "transparent",
95
- "borderColor": "transparent",
96
- "&::after": {
97
- height: varRef("item-size-actual"),
98
- lineHeight: varRef("item-size-actual")
99
- }
100
- },
101
- [`&${componentCls}-mini ${componentCls}-jump-prev, &${componentCls}-mini ${componentCls}-jump-next`]: {
102
- height: varRef("item-size-actual"),
103
- marginInlineEnd: 0,
104
- lineHeight: varRef("item-size-actual")
105
- },
106
- [`&${componentCls}-mini ${componentCls}-options`]: {
107
- "marginInlineStart": token.paginationMiniOptionsMarginInlineStart,
108
- "&-size-changer": { top: token.miniOptionsSizeChangerTop },
109
- "&-quick-jumper": {
110
- height: varRef("item-size-actual"),
111
- lineHeight: varRef("item-size-actual"),
112
- input: {
113
- ...genInputSmallStyle(token),
114
- width: token.paginationMiniQuickJumperInputWidth,
115
- height: token.controlHeightSM
116
- }
117
- }
118
- }
119
- };
65
+ const genPaginationSmallStyle = (token) => {
66
+ const { componentCls } = token;
67
+ return { [`&${componentCls}-small ${componentCls}-options`]: {
68
+ "marginInlineStart": token.paginationMiniOptionsMarginInlineStart,
69
+ "&-quick-jumper": { input: {
70
+ ...genInputSmallStyle(token),
71
+ width: token.paginationMiniQuickJumperInputWidth
72
+ } }
73
+ } };
74
+ };
75
+ const genPaginationLargeStyle = (token) => {
76
+ const { componentCls } = token;
77
+ return { [`&${componentCls}-large ${componentCls}-options`]: { "&-quick-jumper": { input: { ...genInputLargeStyle(token) } } } };
120
78
  };
121
79
  const genPaginationSimpleStyle = (token) => {
122
80
  const { componentCls, antCls } = token;
123
81
  const [, varRef] = genCssVar(antCls, "pagination");
124
82
  return { [`&${componentCls}-simple`]: {
125
83
  [`${componentCls}-prev, ${componentCls}-next`]: {
126
- height: varRef("item-size-actual"),
127
- lineHeight: varRef("item-size-actual"),
84
+ height: varRef(`item-size-actual`),
85
+ lineHeight: varRef(`item-size-actual`),
128
86
  verticalAlign: "top",
129
87
  [`${componentCls}-item-link`]: {
130
- "height": varRef("item-size-actual"),
88
+ "height": varRef(`item-size-actual`),
131
89
  "backgroundColor": "transparent",
132
90
  "border": 0,
133
91
  "&:hover": { backgroundColor: token.colorBgTextHover },
134
92
  "&:active": { backgroundColor: token.colorBgTextActive },
135
93
  "&::after": {
136
- height: varRef("item-size-actual"),
137
- lineHeight: varRef("item-size-actual")
94
+ height: varRef(`item-size-actual`),
95
+ lineHeight: varRef(`item-size-actual`)
138
96
  }
139
97
  }
140
98
  },
141
99
  [`${componentCls}-simple-pager`]: {
142
100
  display: "inline-flex",
143
101
  alignItems: "center",
144
- height: varRef("item-size-actual"),
145
- marginInlineEnd: varRef("item-spacing-actual"),
102
+ height: varRef(`item-size-actual`),
103
+ marginInlineEnd: varRef(`item-spacing-actual`),
146
104
  input: {
147
105
  "boxSizing": "border-box",
148
106
  "height": "100%",
@@ -169,23 +127,7 @@ const genPaginationSimpleStyle = (token) => {
169
127
  }
170
128
  },
171
129
  [`&${componentCls}-disabled`]: { [`${componentCls}-prev, ${componentCls}-next`]: { [`${componentCls}-item-link`]: { "&:hover, &:active": { backgroundColor: "transparent" } } } },
172
- [`&${componentCls}-mini`]: {
173
- [`${componentCls}-prev, ${componentCls}-next`]: {
174
- height: varRef("item-size-actual"),
175
- lineHeight: varRef("item-size-actual"),
176
- [`${componentCls}-item-link`]: {
177
- "height": varRef("item-size-actual"),
178
- "&::after": {
179
- height: varRef("item-size-actual"),
180
- lineHeight: varRef("item-size-actual")
181
- }
182
- }
183
- },
184
- [`${componentCls}-simple-pager`]: {
185
- height: varRef("item-size-actual"),
186
- input: { width: token.paginationMiniQuickJumperInputWidth }
187
- }
188
- }
130
+ [`&${componentCls}-small`]: { [`${componentCls}-simple-pager`]: { input: { width: token.paginationMiniQuickJumperInputWidth } } }
189
131
  } };
190
132
  };
191
133
  const genPaginationJumpStyle = (token) => {
@@ -234,7 +176,7 @@ const genPaginationJumpStyle = (token) => {
234
176
  ${componentCls}-prev,
235
177
  ${componentCls}-jump-prev,
236
178
  ${componentCls}-jump-next
237
- `]: { marginInlineEnd: varRef("item-spacing-actual") },
179
+ `]: { marginInlineEnd: varRef(`item-spacing-actual`) },
238
180
  [`
239
181
  ${componentCls}-prev,
240
182
  ${componentCls}-next,
@@ -242,11 +184,11 @@ const genPaginationJumpStyle = (token) => {
242
184
  ${componentCls}-jump-next
243
185
  `]: {
244
186
  display: "inline-block",
245
- minWidth: varRef("item-size-actual"),
246
- height: varRef("item-size-actual"),
187
+ minWidth: varRef(`item-size-actual`),
188
+ height: varRef(`item-size-actual`),
247
189
  color: token.colorText,
248
190
  fontFamily: token.fontFamily,
249
- lineHeight: varRef("item-size-actual"),
191
+ lineHeight: varRef(`item-size-actual`),
250
192
  textAlign: "center",
251
193
  verticalAlign: "middle",
252
194
  listStyle: "none",
@@ -289,10 +231,10 @@ const genPaginationJumpStyle = (token) => {
289
231
  "&-size-changer": { width: "auto" },
290
232
  "&-quick-jumper": {
291
233
  display: "inline-block",
292
- height: varRef("item-size-actual"),
293
- marginInlineStart: varRef("item-spacing-actual"),
294
- lineHeight: varRef("item-size-actual"),
295
- verticalAlign: "top",
234
+ height: varRef(`item-size-actual`),
235
+ marginInlineStart: token.marginXS,
236
+ lineHeight: varRef(`item-size-actual`),
237
+ verticalAlign: "baseline",
296
238
  input: {
297
239
  ...genBasicInputStyle(token),
298
240
  ...genBaseOutlinedStyle(token, {
@@ -303,11 +245,11 @@ const genPaginationJumpStyle = (token) => {
303
245
  }),
304
246
  "&[disabled]": { ...genDisabledStyle(token) },
305
247
  "width": token.quickJumperInputWidth,
306
- "height": varRef("item-size-actual"),
248
+ "height": varRef(`item-size-actual`),
307
249
  "boxSizing": "border-box",
308
250
  "margin": 0,
309
- "marginInlineStart": varRef("item-spacing-actual"),
310
- "marginInlineEnd": varRef("item-spacing-actual")
251
+ "marginInlineStart": varRef(`item-spacing-actual`),
252
+ "marginInlineEnd": varRef(`item-spacing-actual`)
311
253
  }
312
254
  }
313
255
  }
@@ -318,9 +260,9 @@ const genPaginationItemStyle = (token) => {
318
260
  const [, varRef] = genCssVar(antCls, "pagination");
319
261
  return { [`${componentCls}-item`]: {
320
262
  "display": "inline-block",
321
- "minWidth": varRef("item-size-actual"),
322
- "height": varRef("item-size-actual"),
323
- "marginInlineEnd": varRef("item-spacing-actual"),
263
+ "minWidth": varRef(`item-size-actual`),
264
+ "height": varRef(`item-size-actual`),
265
+ "marginInlineEnd": varRef(`item-spacing-actual`),
324
266
  "fontFamily": token.fontFamily,
325
267
  "lineHeight": unit(token.calc(varRef("item-size-actual")).sub(2).equal()),
326
268
  "textAlign": "center",
@@ -360,14 +302,19 @@ const genPaginationStyle = (token) => {
360
302
  const [varName, varRef] = genCssVar(antCls, "pagination");
361
303
  return {
362
304
  [componentCls]: {
363
- [varName("item-size-actual")]: unit(token.itemSize),
364
- [varName("item-spacing-actual")]: unit(token.marginXS),
365
- "&-mini": {
366
- [varName("item-size-actual")]: unit(token.itemSizeSM),
367
- [varName("item-spacing-actual")]: unit(token.marginXXS)
305
+ [varName(`item-size-actual`)]: unit(token.itemSize),
306
+ [varName(`item-spacing-actual`)]: unit(token.marginXS),
307
+ "&-small": {
308
+ [varName(`item-size-actual`)]: unit(token.itemSizeSM),
309
+ [varName(`item-spacing-actual`)]: unit(token.marginXXS)
310
+ },
311
+ "&-large": {
312
+ [varName(`item-size-actual`)]: unit(token.itemSizeLG),
313
+ [varName(`item-spacing-actual`)]: unit(token.marginSM)
368
314
  },
369
315
  ...resetComponent(token),
370
316
  "display": "flex",
317
+ "alignItems": "center",
371
318
  "&-start": { justifyContent: "start" },
372
319
  "&-center": { justifyContent: "center" },
373
320
  "&-end": { justifyContent: "end" },
@@ -386,15 +333,16 @@ const genPaginationStyle = (token) => {
386
333
  },
387
334
  [`${componentCls}-total-text`]: {
388
335
  display: "inline-block",
389
- height: varRef("item-size-actual"),
390
- marginInlineEnd: varRef("item-spacing-actual"),
391
- lineHeight: unit(token.calc(varRef("item-size-actual")).sub(2).equal()),
336
+ height: varRef(`item-size-actual`),
337
+ marginInlineEnd: varRef(`item-spacing-actual`),
338
+ lineHeight: unit(token.calc(varRef(`item-size-actual`)).sub(2).equal()),
392
339
  verticalAlign: "middle"
393
340
  },
394
341
  ...genPaginationItemStyle(token),
395
342
  ...genPaginationJumpStyle(token),
396
343
  ...genPaginationSimpleStyle(token),
397
- ...genPaginationMiniStyle(token),
344
+ ...genPaginationSmallStyle(token),
345
+ ...genPaginationLargeStyle(token),
398
346
  ...genPaginationDisabledStyle(token),
399
347
  [`@media only screen and (max-width: ${token.screenLG}px)`]: { [`${componentCls}-item`]: { "&-after-jump-prev, &-before-jump-next": { display: "none" } } },
400
348
  [`@media only screen and (max-width: ${token.screenSM}px)`]: { [`${componentCls}-options`]: { display: "none" } }
@@ -418,6 +366,7 @@ const prepareComponentToken = (token) => ({
418
366
  itemBg: token.colorBgContainer,
419
367
  itemSize: token.controlHeight,
420
368
  itemSizeSM: token.controlHeightSM,
369
+ itemSizeLG: token.controlHeightLG,
421
370
  itemActiveBg: token.colorBgContainer,
422
371
  itemActiveColor: token.colorPrimary,
423
372
  itemActiveColorHover: token.colorPrimaryHover,