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
@@ -42,7 +42,7 @@ const genDropdownStyle = (token) => {
42
42
  "fontWeight": "normal",
43
43
  lineHeight,
44
44
  "cursor": "pointer",
45
- "transition": `background ${motionDurationSlow} ease`,
45
+ "transition": `background-color ${motionDurationSlow} ease`,
46
46
  "&:hover": { backgroundColor: controlItemBgHover },
47
47
  "&-disabled": {
48
48
  "color": colorTextDisabled,
@@ -64,7 +64,7 @@ const genDropdownStyle = (token) => {
64
64
  } } };
65
65
  };
66
66
  const genMentionsStyle = (token) => {
67
- const { componentCls, calc, colorText, antCls, colorTextDisabled } = token;
67
+ const { componentCls, colorText, antCls, colorTextDisabled, calc } = token;
68
68
  const [varName, varRef] = genCssVar(antCls, "cmp-mentions");
69
69
  return { [componentCls]: [
70
70
  resetComponent(token),
@@ -1,4 +1,3 @@
1
- import "../_util/hooks/index.mjs";
2
1
  import "./menu.mjs";
3
2
  import "../config-provider/context.mjs";
4
3
  import { Ref } from "vue";
@@ -1,10 +1,10 @@
1
- import * as vue408 from "vue";
1
+ import * as vue391 from "vue";
2
2
 
3
3
  //#region src/menu/MenuDivider.d.ts
4
4
  interface MenuDividerProps {
5
5
  prefixCls?: string;
6
6
  dashed?: boolean;
7
7
  }
8
- declare const MenuDivider: vue408.DefineSetupFnComponent<MenuDividerProps, {}, {}, MenuDividerProps & {}, vue408.PublicProps>;
8
+ declare const MenuDivider: vue391.DefineSetupFnComponent<MenuDividerProps, {}, {}, MenuDividerProps & {}, vue391.PublicProps>;
9
9
  //#endregion
10
10
  export { MenuDivider };
@@ -1,5 +1,5 @@
1
1
  import { EmptyEmit, VueNode } from "../_util/type.mjs";
2
- import * as vue402 from "vue";
2
+ import * as vue393 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
  import { MenuItemType } from "@v-c/menu";
5
5
 
@@ -24,8 +24,8 @@ interface MenuItemSlots {
24
24
  title: () => any;
25
25
  extra: () => any;
26
26
  }
27
- declare const MenuItem: vue402.DefineSetupFnComponent<MenuItemProps$1, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps$1 & {
27
+ declare const MenuItem: vue393.DefineSetupFnComponent<MenuItemProps$1, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps$1 & {
28
28
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
29
- }, vue402.PublicProps>;
29
+ }, vue393.PublicProps>;
30
30
  //#endregion
31
31
  export { MenuItem, MenuItemProps$1 as MenuItemProps, MenuItemSlots };
@@ -6,7 +6,7 @@ import { useSiderCtx } from "../layout/Sider.mjs";
6
6
  import { useMenuContext } from "./MenuContext.mjs";
7
7
  import { createVNode, defineComponent, isVNode, mergeProps } from "vue";
8
8
  import { clsx } from "@v-c/util";
9
- import { filterEmpty } from "@v-c/util/dist/props-util";
9
+ import { filterEmpty, getAttrStyleAndClass } from "@v-c/util/dist/props-util";
10
10
  import { omit } from "es-toolkit";
11
11
  import { Item } from "@v-c/menu";
12
12
 
@@ -21,6 +21,7 @@ const MenuItem = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
21
21
  const extra = getSlotPropsFnRun(slots, props, "extra");
22
22
  const icon = getSlotPropsFnRun(slots, props, "icon");
23
23
  const title = getSlotPropsFnRun(slots, props, "title");
24
+ const { className, style } = getAttrStyleAndClass(attrs);
24
25
  const { danger } = props;
25
26
  const { prefixCls, firstLevel, direction, disableMenuItemTitleTooltip, inlineCollapsed: isInlineCollapsed, styles, classes } = menuContext.value;
26
27
  const children = filterEmpty(slots?.default?.());
@@ -53,8 +54,8 @@ const MenuItem = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
53
54
  "class": clsx(firstLevel ? classes?.item : classes?.subMenu?.item, {
54
55
  [`${prefixCls}-item-danger`]: !!danger,
55
56
  [`${prefixCls}-item-only-child`]: (icon ? childrenLength + 1 : childrenLength) === 1
56
- }, attrs.class),
57
- "style": [attrs.style, firstLevel ? styles?.item : styles?.subMenu?.item],
57
+ }, className),
58
+ "style": [firstLevel ? styles?.item : styles?.subMenu?.item, style],
58
59
  "title": typeof title === "string" ? title : void 0
59
60
  }), { default: () => [icon ? createVNode(icon, {
60
61
  class: clsx(`${prefixCls}-item-icon`, firstLevel ? classes?.itemIcon : classes?.subMenu?.itemIcon),
@@ -1,6 +1,6 @@
1
1
  import { EmptyEmit, VueNode } from "../_util/type.mjs";
2
2
  import { SubMenuType } from "./interface.mjs";
3
- import * as vue410 from "vue";
3
+ import * as vue397 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/menu/SubMenu.d.ts
@@ -12,8 +12,8 @@ interface SubMenuSlots {
12
12
  icon: () => any;
13
13
  default: () => any;
14
14
  }
15
- declare const SubMenu: vue410.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps & {
15
+ declare const SubMenu: vue397.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps & {
16
16
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
17
- }, vue410.PublicProps>;
17
+ }, vue397.PublicProps>;
18
18
  //#endregion
19
19
  export { SubMenu, SubMenuProps };
@@ -140,6 +140,11 @@ const SubMenu$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
140
140
  required: false,
141
141
  default: void 0
142
142
  },
143
+ popupRender: {
144
+ type: Function,
145
+ required: false,
146
+ default: void 0
147
+ },
143
148
  onClick: {
144
149
  type: Function,
145
150
  required: false,
@@ -4,7 +4,7 @@ import { ItemType } from "./interface.mjs";
4
4
  import { MenuEmits, MenuProps as MenuProps$1, MenuSlots } from "./menu.mjs";
5
5
  import { SubMenu as SubMenu$1, SubMenuProps } from "./SubMenu.mjs";
6
6
  import { MenuDivider } from "./MenuDivider.mjs";
7
- import * as vue118 from "vue";
7
+ import * as vue125 from "vue";
8
8
  import { SlotsType } from "vue";
9
9
  import { MenuItemGroupProps, MenuRef } from "@v-c/menu";
10
10
 
@@ -14,12 +14,12 @@ interface MenuRef$1 {
14
14
  menu: MenuRef | null;
15
15
  focus: (options?: FocusOptions) => void;
16
16
  }
17
- declare const Menu: vue118.DefineSetupFnComponent<MenuProps$1, MenuEmits, SlotsType<MenuSlots>, MenuProps$1 & {
17
+ declare const Menu: vue125.DefineSetupFnComponent<MenuProps$1, MenuEmits, SlotsType<MenuSlots>, MenuProps$1 & {
18
18
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
19
- }, vue118.PublicProps>;
20
- declare const MenuItem: vue118.DefineSetupFnComponent<MenuItemProps$1, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps$1 & {
19
+ }, vue125.PublicProps>;
20
+ declare const MenuItem: vue125.DefineSetupFnComponent<MenuItemProps$1, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps$1 & {
21
21
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
22
- }, vue118.PublicProps>;
22
+ }, vue125.PublicProps>;
23
23
  declare const _default: typeof Menu & {
24
24
  Item: typeof MenuItem$1;
25
25
  SubMenu: typeof SubMenu$1;
@@ -1,20 +1,52 @@
1
- import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.mjs";
2
- import "../_util/hooks/index.mjs";
3
1
  import { ItemType } from "./interface.mjs";
4
2
  import { MenuTheme } from "./MenuContext.mjs";
5
3
  import { CSSProperties, SlotsType } from "vue";
6
4
  import { MenuInfo, MenuItemProps, MenuProps, RenderIconInfo, SelectInfo } from "@v-c/menu";
7
5
 
8
6
  //#region src/menu/menu.d.ts
9
- type SemanticName = 'root' | 'itemTitle' | 'list' | 'item' | 'itemIcon' | 'itemContent';
10
- type SubMenuSemanticName = 'item' | 'itemTitle' | 'list' | 'itemContent' | 'itemIcon';
11
- type MenuClassNamesSchemaType = SemanticClassNames<SemanticName> & {
12
- popup?: SemanticClassNames<'root'> | string;
13
- subMenu?: SemanticClassNames<SubMenuSemanticName>;
7
+ interface MenuSemanticClassNames {
8
+ root?: string;
9
+ itemTitle?: string;
10
+ list?: string;
11
+ item?: string;
12
+ itemIcon?: string;
13
+ itemContent?: string;
14
+ }
15
+ interface MenuSemanticStyles {
16
+ root?: CSSProperties;
17
+ itemTitle?: CSSProperties;
18
+ list?: CSSProperties;
19
+ item?: CSSProperties;
20
+ itemIcon?: CSSProperties;
21
+ itemContent?: CSSProperties;
22
+ }
23
+ interface SubMenuSemanticClassNames {
24
+ item?: string;
25
+ itemTitle?: string;
26
+ list?: string;
27
+ itemContent?: string;
28
+ itemIcon?: string;
29
+ }
30
+ interface SubMenuSemanticStyles {
31
+ item?: CSSProperties;
32
+ itemTitle?: CSSProperties;
33
+ list?: CSSProperties;
34
+ itemContent?: CSSProperties;
35
+ itemIcon?: CSSProperties;
36
+ }
37
+ interface MenuPopupSemanticClassNames {
38
+ root?: string;
39
+ }
40
+ interface MenuPopupSemanticStyles {
41
+ root?: CSSProperties;
42
+ }
43
+ type MenuClassNamesSchemaType = MenuSemanticClassNames & {
44
+ popup?: MenuPopupSemanticClassNames | string;
45
+ subMenu?: SubMenuSemanticClassNames;
14
46
  };
15
- type MenuStylesSchemaType = SemanticStyles<SemanticName> & {
16
- popup?: SemanticStyles<'root'> | CSSProperties;
17
- subMenu?: SemanticStyles<SubMenuSemanticName>;
47
+ type MenuStylesSchemaType = MenuSemanticStyles & {
48
+ popup?: MenuPopupSemanticStyles | CSSProperties;
49
+ subMenu?: SubMenuSemanticStyles;
18
50
  };
19
51
  type MenuClassNamesType = MenuClassNamesSchemaType | ((info: {
20
52
  props: MenuProps$1;
@@ -105,12 +105,12 @@ const InternalMenu = /* @__PURE__ */ defineComponent((props, { slots, emit, attr
105
105
  expose({ menu: menuRef });
106
106
  return () => {
107
107
  const expandIcon = slots?.expandIcon ?? props?.expandIcon;
108
- const mergedExpandIcon = (props$1) => {
108
+ const mergedExpandIcon = (props) => {
109
109
  if (typeof expandIcon === "function" || isEmptyIcon(expandIcon)) return expandIcon || null;
110
110
  if (typeof overrideObj.value?.expandIcon === "function" || isEmptyIcon(overrideObj.value?.expandIcon)) return overrideObj.value.expandIcon || null;
111
111
  if (typeof contextExpandIcon.value === "function" || isEmptyIcon(contextExpandIcon.value)) return contextExpandIcon.value || null;
112
112
  const mergedIcon = expandIcon ?? overrideObj?.value.expandIcon ?? contextExpandIcon.value;
113
- const icon = typeof mergedIcon === "function" ? mergedIcon?.(props$1) : mergedIcon;
113
+ const icon = typeof mergedIcon === "function" ? mergedIcon?.(props) : mergedIcon;
114
114
  const iconChild = filterEmpty(Array.isArray(icon) ? icon : [icon])[0];
115
115
  if (isVNode(iconChild)) return createVNode(iconChild, { class: `${prefixCls.value}-submenu-expand-icon` });
116
116
  };
@@ -1,5 +1,5 @@
1
1
  import "../../theme/internal.mjs";
2
- import { CSSProperties, Ref } from "vue";
2
+ import { CSSProperties } from "vue";
3
3
 
4
4
  //#region src/menu/style/index.d.ts
5
5
  /** Component only token. Which will handle additional calculation of alias token */
@@ -66,7 +66,7 @@ const getVerticalStyle = (token) => {
66
66
  "alignItems": "center",
67
67
  "transition": [
68
68
  `border-color ${motionDurationSlow}`,
69
- `background ${motionDurationSlow}`,
69
+ `background-color ${motionDurationSlow}`,
70
70
  `padding ${motionDurationFast} ${motionEaseOut}`
71
71
  ].join(","),
72
72
  [`> ${componentCls}-title-content`]: {
@@ -1,16 +1,14 @@
1
1
  import { VueNode } from "../_util/type.mjs";
2
- import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.mjs";
3
- import "../_util/hooks/index.mjs";
4
- import { ArgsClassNamesType, ArgsStylesType, NoticeType, SemanticName } from "./interface.mjs";
5
- import * as vue398 from "vue";
2
+ import { ArgsClassNamesType, ArgsStylesType, MessageSemanticClassNames, MessageSemanticStyles, NoticeType } from "./interface.mjs";
3
+ import * as vue399 from "vue";
6
4
 
7
5
  //#region src/message/PurePanel.d.ts
8
6
  interface PureContentProps {
9
7
  prefixCls: string;
10
8
  type?: NoticeType;
11
9
  icon?: VueNode;
12
- classNames?: SemanticClassNames<SemanticName>;
13
- styles?: SemanticStyles<SemanticName>;
10
+ classNames?: MessageSemanticClassNames;
11
+ styles?: MessageSemanticStyles;
14
12
  }
15
13
  interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classNames' | 'styles'> {
16
14
  content?: VueNode;
@@ -31,6 +29,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
31
29
  styles?: ArgsStylesType;
32
30
  }
33
31
  /** @private Internal Component. Do not use in your production. */
34
- declare const PurePanel: vue398.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue398.PublicProps>;
32
+ declare const PurePanel: vue399.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue399.PublicProps>;
35
33
  //#endregion
36
34
  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: {
@@ -6,9 +6,18 @@ import { Key } from "@v-c/util/dist/type";
6
6
 
7
7
  //#region src/message/interface.d.ts
8
8
  type NoticeType = 'info' | 'success' | 'error' | 'warning' | 'loading';
9
- type SemanticName = 'root' | 'icon' | 'content';
10
- type ArgsClassNamesType = SemanticClassNamesType<ArgsProps, SemanticName>;
11
- type ArgsStylesType = SemanticStylesType<ArgsProps, SemanticName>;
9
+ interface MessageSemanticClassNames {
10
+ root?: string;
11
+ icon?: string;
12
+ content?: string;
13
+ }
14
+ interface MessageSemanticStyles {
15
+ root?: CSSProperties;
16
+ icon?: CSSProperties;
17
+ content?: CSSProperties;
18
+ }
19
+ type ArgsClassNamesType = SemanticClassNamesType<ArgsProps, MessageSemanticClassNames>;
20
+ type ArgsStylesType = SemanticStylesType<ArgsProps, MessageSemanticStyles>;
12
21
  interface ConfigOptions {
13
22
  top?: string | number;
14
23
  duration?: number;
@@ -62,6 +71,11 @@ interface ArgsProps {
62
71
  * @descEN keep the timer running or not on hover
63
72
  */
64
73
  pauseOnHover?: boolean;
74
+ /**
75
+ * @descCN 消息通知的应用上下文
76
+ * @descEN The application context of the message notification
77
+ */
78
+ appContext?: any;
65
79
  }
66
80
  type JointContent = VueNode | ArgsProps;
67
81
  interface MessageType extends PromiseLike<boolean> {
@@ -72,11 +86,13 @@ type TypeOpen = (content: JointContent,
72
86
  * @descCN 消息通知持续显示的时间,也可以直接使用 onClose。
73
87
  * @descEN You can also use onClose directly to determine how long the message notification continues to be displayed.
74
88
  */
89
+
75
90
  duration?: number | VoidFunction,
76
91
  /**
77
92
  * @descCN 消息通知关闭时进行调用的回调函数
78
93
  * @descEN The callback function called when the message notification is closed
79
94
  */
95
+
80
96
  onClose?: VoidFunction) => MessageType;
81
97
  interface MessageInstance {
82
98
  info: TypeOpen;
@@ -88,4 +104,4 @@ interface MessageInstance {
88
104
  destroy: (key?: Key) => void;
89
105
  }
90
106
  //#endregion
91
- export { ArgsClassNamesType, ArgsProps, ArgsStylesType, ConfigOptions, MessageInstance, MessageType, NoticeType, SemanticName, TypeOpen };
107
+ export { ArgsClassNamesType, ArgsProps, ArgsStylesType, ConfigOptions, MessageInstance, MessageSemanticClassNames, MessageSemanticStyles, MessageType, NoticeType, TypeOpen };
@@ -3,7 +3,6 @@ import { MaybeRef } from "@v-c/util/dist/type";
3
3
  import * as vue_jsx_runtime15 from "vue/jsx-runtime";
4
4
 
5
5
  //#region src/message/useMessage.d.ts
6
-
7
6
  declare function useMessage(messageConfig?: ConfigOptions): readonly [MessageInstance, () => vue_jsx_runtime15.JSX.Element];
8
7
  //#endregion
9
8
  export { useMessage };
@@ -1,10 +1,10 @@
1
1
  import { ModalEmits, ModalProps, ModalSlots } from "./interface.mjs";
2
- import * as vue281 from "vue";
2
+ import * as vue289 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/modal/Modal.d.ts
6
- declare const Modal: vue281.DefineSetupFnComponent<ModalProps, ModalEmits, SlotsType<ModalSlots>, ModalProps & {
6
+ declare const Modal: vue289.DefineSetupFnComponent<ModalProps, ModalEmits, SlotsType<ModalSlots>, ModalProps & {
7
7
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
8
- }, vue281.PublicProps>;
8
+ }, vue289.PublicProps>;
9
9
  //#endregion
10
10
  export { Modal };
@@ -2,7 +2,7 @@ import { devUseWarning, isDev } from "../_util/warning.mjs";
2
2
  import { globalConfig } from "../config-provider/index.mjs";
3
3
  import ConfirmDialog_default from "./ConfirmDialog.mjs";
4
4
  import destroyFns_default from "./destroyFns.mjs";
5
- import { createVNode, defineComponent, render } from "vue";
5
+ import { createVNode, defineComponent, render, watch } from "vue";
6
6
 
7
7
  //#region src/modal/confirm.tsx
8
8
  let defaultRootPrefixCls = "";
@@ -362,15 +362,19 @@ function confirm(config) {
362
362
  function renderWithProps(props) {
363
363
  const rootPrefixCls = global.getPrefixCls(void 0, getRootPrefixCls());
364
364
  const iconPrefixCls = global.getIconPrefixCls?.();
365
- const theme = global.getTheme?.();
365
+ const theme = global.theme.value;
366
366
  const prefixCls = props.prefixCls ?? `${rootPrefixCls}-modal`;
367
- render(createVNode(ConfirmDialogWrapper, {
367
+ const vnode = createVNode(ConfirmDialogWrapper, {
368
368
  ...props,
369
369
  prefixCls,
370
370
  rootPrefixCls,
371
371
  iconPrefixCls,
372
372
  theme
373
- }), container);
373
+ });
374
+ watch(() => global.theme.value, () => {
375
+ vnode.component?.update?.();
376
+ });
377
+ render(vnode, container);
374
378
  }
375
379
  function close(...args) {
376
380
  currentConfig = {
@@ -12,9 +12,28 @@ import { CSSProperties } from "vue";
12
12
  import { DialogProps } from "@v-c/dialog";
13
13
 
14
14
  //#region src/modal/interface.d.ts
15
- type SemanticName = 'root' | 'header' | 'body' | 'footer' | 'container' | 'title' | 'wrapper' | 'mask';
16
- type ModalClassNamesType = SemanticClassNamesType<ModalProps, SemanticName>;
17
- type ModalStylesType = SemanticStylesType<ModalProps, SemanticName>;
15
+ interface ModalSemanticClassNames {
16
+ root?: string;
17
+ header?: string;
18
+ body?: string;
19
+ footer?: string;
20
+ container?: string;
21
+ title?: string;
22
+ wrapper?: string;
23
+ mask?: string;
24
+ }
25
+ interface ModalSemanticStyles {
26
+ root?: CSSProperties;
27
+ header?: CSSProperties;
28
+ body?: CSSProperties;
29
+ footer?: CSSProperties;
30
+ container?: CSSProperties;
31
+ title?: CSSProperties;
32
+ wrapper?: CSSProperties;
33
+ mask?: CSSProperties;
34
+ }
35
+ type ModalClassNamesType = SemanticClassNamesType<ModalProps, ModalSemanticClassNames>;
36
+ type ModalStylesType = SemanticStylesType<ModalProps, ModalSemanticStyles>;
18
37
  interface ModalCommonProps extends Omit<DialogProps, 'footer' | 'width' | 'onClose' | 'animation' | 'maskAnimation' | 'transitionName' | 'maskTransitionName' | 'mask' | 'classNames' | 'styles' | 'modalRender' | 'rootStyle' | 'style' | OmitFocusType> {
19
38
  footer?: VueNode | ((params: {
20
39
  originNode: VueNode;
@@ -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.2";
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 vue384 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: vue384.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
- }, vue384.PublicProps>;
8
+ }, vue366.PublicProps>;
9
9
  //#endregion
10
10
  export { Pagination };