antdv-next 1.4.0 → 1.4.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.
@@ -20,7 +20,7 @@ interface GlobalConfigProps {
20
20
  declare function getGlobalIconPrefixCls(): string;
21
21
  interface InternalConfigProviderProps extends ConfigProviderProps$1, ConfigProviderEmitsProps {}
22
22
  declare const ConfigProvider: import("vue").DefineSetupFnComponent<InternalConfigProviderProps, ConfigProviderEmits, SlotsType<ConfigProviderSlots>, InternalConfigProviderProps & {
23
- [x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
23
+ [x: `on${Capitalize<string>}`]: ((...args: any) => any) | undefined;
24
24
  }, import("vue").PublicProps>;
25
25
  declare const _default: typeof ConfigProvider & {
26
26
  config: (props: GlobalConfigProps) => void;
@@ -43,10 +43,10 @@ declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(
43
43
  readonly zIndex?: number;
44
44
  readonly getContainer?: import("@v-c/portal/dist/Portal.js").PortalProps["getContainer"];
45
45
  readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
46
- readonly icons?: import("@v-c/image/dist/Preview/index.js").OperationIcons;
46
+ readonly motionName?: string;
47
47
  readonly src?: string;
48
48
  readonly alt?: string;
49
- readonly motionName?: string;
49
+ readonly icons?: import("@v-c/image/dist/Preview/index.js").OperationIcons;
50
50
  readonly countRender?: (current: number, total: number) => import("@v-c/util").VueNode;
51
51
  readonly scaleStep?: number;
52
52
  readonly minScale?: number;
@@ -16,8 +16,8 @@ import { TransitionGroup, computed, createVNode, defineComponent, isVNode, merge
16
16
  import { clsx } from "@v-c/util";
17
17
  import { getTransitionGroupProps } from "@v-c/util/dist/utils/transition";
18
18
  import ResizeObserver from "@v-c/resize-observer";
19
- import { getDOM } from "@v-c/util/dist/Dom/findDOMNode";
20
19
  import isEqual from "@v-c/util/dist/isEqual";
20
+ import { createElementRef } from "@v-c/util/dist/vnode";
21
21
  //#region src/masonry/Masonry.tsx
22
22
  function _isSlot(s) {
23
23
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
@@ -139,9 +139,9 @@ const Masonry = /* @__PURE__ */ defineComponent((props, { expose, emit, attrs, s
139
139
  };
140
140
  return createVNode(MasonryItem, mergeProps({
141
141
  "key": key,
142
- "ref": (ele) => {
143
- setItemRef(itemKey, getDOM(ele));
144
- },
142
+ "ref": createElementRef((element) => {
143
+ setItemRef(itemKey, element);
144
+ }),
145
145
  "prefixCls": prefixCls.value,
146
146
  "item": item,
147
147
  "class": clsx(mergedClassNames.value?.item, item.class),
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "1.4.0";
2
+ var version = "1.4.1";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "antdv-next",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "description": "Ant Design Vue3 Component Library",
6
6
  "author": {
7
7
  "email": "aibayanyu@gamil.com",
@@ -186,22 +186,22 @@
186
186
  "@v-c/color-picker": "^1.0.6",
187
187
  "@v-c/dialog": "^1.2.0",
188
188
  "@v-c/drawer": "^1.0.6",
189
- "@v-c/dropdown": "^1.0.2",
189
+ "@v-c/dropdown": "^1.0.3",
190
190
  "@v-c/image": "^1.0.12",
191
191
  "@v-c/input": "^1.1.0",
192
192
  "@v-c/input-number": "^1.0.5",
193
- "@v-c/mentions": "^1.1.0",
194
- "@v-c/menu": "^1.2.1",
193
+ "@v-c/mentions": "^1.1.1",
194
+ "@v-c/menu": "^1.2.2",
195
195
  "@v-c/mutate-observer": "^1.0.2",
196
- "@v-c/notification": "^2.0.1",
196
+ "@v-c/notification": "^2.0.2",
197
197
  "@v-c/pagination": "^1.0.1",
198
- "@v-c/picker": "^1.2.0",
198
+ "@v-c/picker": "^1.2.1",
199
199
  "@v-c/progress": "^1.0.1",
200
200
  "@v-c/qrcode": "^1.0.1",
201
201
  "@v-c/rate": "^1.0.1",
202
- "@v-c/resize-observer": "^1.1.2",
202
+ "@v-c/resize-observer": "^1.1.3",
203
203
  "@v-c/segmented": "^1.0.3",
204
- "@v-c/select": "^1.1.3",
204
+ "@v-c/select": "^1.1.4",
205
205
  "@v-c/slick": "^1.0.2",
206
206
  "@v-c/slider": "^1.1.0",
207
207
  "@v-c/steps": "^1.0.0",
@@ -209,17 +209,17 @@
209
209
  "@v-c/table": "^1.1.6",
210
210
  "@v-c/tabs": "^1.2.1",
211
211
  "@v-c/textarea": "^1.1.0",
212
- "@v-c/tooltip": "^1.0.3",
213
- "@v-c/tour": "^1.1.0",
212
+ "@v-c/tooltip": "^1.0.4",
213
+ "@v-c/tour": "^1.1.1",
214
214
  "@v-c/tree": "^1.1.1",
215
215
  "@v-c/tree-select": "^1.1.1",
216
- "@v-c/trigger": "^1.0.16",
216
+ "@v-c/trigger": "^1.0.18",
217
217
  "@v-c/upload": "^1.0.0",
218
- "@v-c/util": "^1.0.19",
218
+ "@v-c/util": "^1.0.20",
219
219
  "@v-c/virtual-list": "^1.0.9",
220
220
  "@vueuse/core": "^14.3.0",
221
221
  "dayjs": "^1.11.21",
222
- "es-toolkit": "1.48.1",
222
+ "es-toolkit": "1.49.0",
223
223
  "scroll-into-view-if-needed": "^3.1.0",
224
224
  "throttle-debounce": "^5.0.2",
225
225
  "@antdv-next/cssinjs": "^1.0.6"