@gx-design-vue/pro-utils 0.2.0-beta.23 → 0.2.0-beta.25

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.
package/dist/pro-utils.js CHANGED
@@ -234,10 +234,7 @@ function x(e, t, r, n) {
234
234
  }
235
235
  return e !== e && t !== t;
236
236
  }
237
- const V = (
238
- // @ts-ignore
239
- typeof process < "u" && process.versions != null && process.versions.node != null
240
- ), ne = () => process.env.NODE_ENV === "TEST" ? !0 : typeof window < "u" && typeof window.document < "u" && typeof window.matchMedia < "u" && !V, re = (e) => {
237
+ const V = typeof process < "u" && process.versions != null && process.versions.node != null, ne = () => process.env.NODE_ENV === "TEST" ? !0 : typeof window < "u" && typeof window.document < "u" && typeof window.matchMedia < "u" && !V, re = (e) => {
241
238
  if (e && e !== !0)
242
239
  return e;
243
240
  }, ie = (e) => {
@@ -3,8 +3,8 @@ export type EmitType = (event: string, ...args: any[]) => void;
3
3
  export type Nullable<T> = T | null;
4
4
  export type WithFalse<T> = T | false;
5
5
  export type RecordType = Record<string, any>;
6
- export type VueNode = VNodeChild;
7
- export type CustomRender = Slot | VNodeChild | VNode | ((...props: any[]) => Slot) | ((...props: any[]) => VNode) | ((...args: any[]) => VNode) | VNode[] | Element | string | null | undefined;
6
+ export type VueNode = VNodeChild | JSX.Element;
7
+ export type CustomRender = Slot | VNodeChild | VNode | ((...props: any[]) => Slot) | ((...props: any[]) => VNode) | ((...args: any[]) => VNode) | VNode[] | JSX.Element | string | null | undefined;
8
8
  export type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
9
9
  export type SizeType = 'small' | 'middle' | 'large' | undefined;
10
10
  export type AlignType = 'left' | 'center' | 'right';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gx-design-vue/pro-utils",
3
- "version": "0.2.0-beta.23",
3
+ "version": "0.2.0-beta.25",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "vite build",