yootd 0.2.46 → 0.2.48
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/affix/index.d.ts +4 -2
- package/dist/affix/index.js +1 -1
- package/dist/alert/index.d.ts +3 -3
- package/dist/alert/index.js +1 -1
- package/dist/anchor/index.d.ts +2 -2
- package/dist/anchor/index.js +1 -1
- package/dist/app/index.d.ts +3 -3
- package/dist/app/index.js +1 -1
- package/dist/areas-treeSelect/index.js +1 -1
- package/dist/areas-treeSelect/types/type.d.ts +1 -1
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/auto-complete/index.js +1 -1
- package/dist/avatar/index.d.ts +2 -2
- package/dist/avatar/index.js +1 -1
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/index.js +2 -2
- package/dist/breadcrumb/index.d.ts +2 -2
- package/dist/breadcrumb/index.js +1 -1
- package/dist/business-tree/components/dept.d.ts +1 -1
- package/dist/business-tree/components/space.d.ts +1 -1
- package/dist/business-tree/index.d.ts +1 -1
- package/dist/button/index.d.ts +2 -2
- package/dist/button/index.js +1 -1
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/index.js +1 -1
- package/dist/card/index.d.ts +2 -2
- package/dist/card/index.js +1 -1
- package/dist/carousel/index.d.ts +2 -2
- package/dist/carousel/index.js +1 -1
- package/dist/cascader/index.d.ts +3 -3
- package/dist/cascader/index.js +1 -1
- package/dist/checkbox/index.d.ts +3 -3
- package/dist/checkbox/index.js +1 -1
- package/dist/collapse/index.d.ts +2 -2
- package/dist/collapse/index.js +1 -1
- package/dist/color-picker/index.d.ts +2 -2
- package/dist/color-picker/index.js +1 -1
- package/dist/config-provider/index.d.ts +2 -2
- package/dist/config-provider/index.js +2 -2
- package/dist/date-interval/index.d.ts +1 -1
- package/dist/date-interval/index.js +1 -1
- package/dist/date-picker/index.d.ts +2 -2
- package/dist/date-picker/index.js +1 -1
- package/dist/date-range/index.d.ts +1 -1
- package/dist/date-range/index.js +1 -1
- package/dist/description/index.d.ts +1 -1
- package/dist/description/index.js +1 -1
- package/dist/divider/index.d.ts +1 -1
- package/dist/divider/index.js +1 -1
- package/dist/drawer/index.d.ts +2 -2
- package/dist/drawer/index.js +1 -1
- package/dist/drawer-modal/index.d.ts +1 -1
- package/dist/drawer-modal/index.js +1 -1
- package/dist/dropdown/index.d.ts +2 -2
- package/dist/dropdown/index.js +1 -1
- package/dist/dropdown-select/index.js +1 -1
- package/dist/empty/index.d.ts +3 -3
- package/dist/empty/index.js +1 -1
- package/dist/export/index.d.ts +1 -1
- package/dist/export/index.js +1 -1
- package/dist/flex/index.d.ts +1 -1
- package/dist/flex/index.js +1 -1
- package/dist/float-button/index.d.ts +2 -2
- package/dist/float-button/index.js +1 -1
- package/dist/form/index.d.ts +2 -2
- package/dist/form/index.js +1 -1
- package/dist/grid/index.d.ts +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/image/index.d.ts +3 -3
- package/dist/image/index.js +1 -1
- package/dist/input/index.d.ts +3 -3
- package/dist/input/index.js +1 -1
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/index.js +1 -1
- package/dist/layout/index.d.ts +2 -2
- package/dist/layout/index.js +1 -1
- package/dist/list/index.d.ts +2 -2
- package/dist/list/index.js +1 -1
- package/dist/mentions/index.d.ts +2 -2
- package/dist/mentions/index.js +1 -1
- package/dist/menu/index.d.ts +2 -2
- package/dist/menu/index.js +1 -1
- package/dist/message/index.d.ts +2 -2
- package/dist/message/index.js +1 -1
- package/dist/modal/index.d.ts +7 -7
- package/dist/modal/index.js +1 -1
- package/dist/notification/index.d.ts +2 -2
- package/dist/notification/index.js +1 -1
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/index.js +1 -1
- package/dist/pop-confirm/index.d.ts +2 -2
- package/dist/pop-confirm/index.js +1 -1
- package/dist/popover/index.d.ts +3 -3
- package/dist/popover/index.js +1 -1
- package/dist/progress/index.d.ts +2 -2
- package/dist/progress/index.js +1 -1
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/index.js +1 -1
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/index.js +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/index.js +1 -1
- package/dist/result/index.d.ts +2 -2
- package/dist/result/index.js +1 -1
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/index.js +1 -1
- package/dist/select/index.d.ts +2 -2
- package/dist/select/index.js +1 -1
- package/dist/skeleton/index.d.ts +7 -7
- package/dist/skeleton/index.js +1 -1
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/index.js +1 -1
- package/dist/space/index.d.ts +2 -2
- package/dist/space/index.js +1 -1
- package/dist/spin/index.d.ts +2 -2
- package/dist/spin/index.js +1 -1
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/index.js +1 -1
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/index.js +1 -1
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/index.js +1 -1
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/index.js +1 -1
- package/dist/table/index.d.ts +6 -6
- package/dist/table/index.js +2 -2
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tabs/index.js +1 -1
- package/dist/tag/index.d.ts +2 -2
- package/dist/tag/index.js +1 -1
- package/dist/time-picker/index.d.ts +2 -2
- package/dist/time-picker/index.js +1 -1
- package/dist/timeline/index.d.ts +3 -3
- package/dist/timeline/index.js +1 -1
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/index.js +1 -1
- package/dist/tour/index.d.ts +3 -3
- package/dist/tour/index.js +1 -1
- package/dist/transfer/index.d.ts +2 -2
- package/dist/transfer/index.js +1 -1
- package/dist/tree/index.d.ts +3 -3
- package/dist/tree/index.js +1 -1
- package/dist/tree-select/index.d.ts +2 -2
- package/dist/tree-select/index.js +1 -1
- package/dist/typography/index.d.ts +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/upload/components/fileUpload.d.ts +3 -3
- package/dist/upload/components/fileUpload.js +1 -1
- package/dist/upload/components/imageUpload.d.ts +3 -3
- package/dist/upload/components/imageUpload.js +2 -2
- package/dist/upload/index.d.ts +4 -4
- package/dist/upload/index.js +1 -1
- package/dist/utils/types.d.ts +1 -1
- package/dist/utils/utils.d.ts +1 -1
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +1 -1
- package/dist/year-options/index.d.ts +1 -1
- package/dist/year-options/index.js +1 -1
- package/package.json +2 -2
package/dist/tree/index.js
CHANGED
@@ -4,7 +4,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
5
5
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
6
6
|
var _excluded = ["className", "treeData", "placeholder", "showChildNumbers", "showIcon", "showSearch", "type", "notRequireSchool", "titleRender"];
|
7
|
-
import { Tree as AntTree } from 'antd';
|
7
|
+
import { Tree as AntTree } from '@phoss/antd';
|
8
8
|
import React, { forwardRef, useCallback, useEffect, useMemo, useState } from 'react';
|
9
9
|
import { Input } from "./..";
|
10
10
|
import "./index.scss";
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { TreeSelect as AntTreeSelect } from 'antd';
|
2
|
-
export type { LabeledValue, SelectValue, TreeSelectProps, } from 'antd/es/tree-select';
|
1
|
+
import { TreeSelect as AntTreeSelect } from '@phoss/antd';
|
2
|
+
export type { LabeledValue, SelectValue, TreeSelectProps, } from '@phoss/antd/es/tree-select';
|
3
3
|
export declare const TreeSelect: typeof AntTreeSelect;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { TreeSelect as AntTreeSelect } from 'antd';
|
1
|
+
import { TreeSelect as AntTreeSelect } from '@phoss/antd';
|
2
2
|
export var TreeSelect = AntTreeSelect;
|
package/dist/typography/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { Typography as AntTypography } from 'antd';
|
1
|
+
import { Typography as AntTypography } from '@phoss/antd';
|
2
2
|
export var Typography = AntTypography;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type { UploadFile } from 'antd';
|
1
|
+
import type { UploadFile } from '@phoss/antd';
|
2
2
|
import React from 'react';
|
3
3
|
import '../index.scss';
|
4
|
-
import { UploadRef } from 'antd/es/upload/Upload';
|
5
|
-
declare const FileUpload: React.ForwardRefExoticComponent<import("antd").UploadProps<any> & {
|
4
|
+
import { UploadRef } from '@phoss/antd/es/upload/Upload';
|
5
|
+
declare const FileUpload: React.ForwardRefExoticComponent<import("@phoss/antd").UploadProps<any> & {
|
6
6
|
maxCount?: number | undefined;
|
7
7
|
accept?: string | undefined;
|
8
8
|
folder?: string | undefined;
|
@@ -4,7 +4,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
4
4
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
5
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
6
6
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
7
|
-
import { Upload as AntUpload } from 'antd';
|
7
|
+
import { Upload as AntUpload } from '@phoss/antd';
|
8
8
|
import React, { useEffect, useMemo, useState } from 'react';
|
9
9
|
import { Button, message } from "../..";
|
10
10
|
import { useRequest } from "../../hooks/useRequest";
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type { UploadFile } from 'antd';
|
1
|
+
import type { UploadFile } from '@phoss/antd';
|
2
2
|
import React from 'react';
|
3
3
|
import '../index.scss';
|
4
|
-
import { UploadRef } from 'antd/es/upload/Upload';
|
5
|
-
declare const ImageUpload: React.ForwardRefExoticComponent<import("antd").UploadProps<any> & {
|
4
|
+
import { UploadRef } from '@phoss/antd/es/upload/Upload';
|
5
|
+
declare const ImageUpload: React.ForwardRefExoticComponent<import("@phoss/antd").UploadProps<any> & {
|
6
6
|
maxCount?: number | undefined;
|
7
7
|
accept?: string | undefined;
|
8
8
|
folder?: string | undefined;
|
@@ -4,9 +4,9 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
4
4
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
5
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
6
6
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
7
|
-
import { Upload as AntUpload } from 'antd';
|
7
|
+
import { Upload as AntUpload } from '@phoss/antd';
|
8
8
|
import React, { useEffect, useMemo, useState } from 'react';
|
9
|
-
import { Image as AntdImage } from 'antd';
|
9
|
+
import { Image as AntdImage } from '@phoss/antd';
|
10
10
|
import { message } from "../..";
|
11
11
|
import { useRequest } from "../../hooks/useRequest";
|
12
12
|
import "../index.scss";
|
package/dist/upload/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import type { UploadProps as AntUploadProps, UploadFile } from 'antd';
|
1
|
+
import type { UploadProps as AntUploadProps, UploadFile } from '@phoss/antd';
|
2
2
|
import React from 'react';
|
3
|
-
import { Upload as AntUpload } from 'antd';
|
4
|
-
import { UploadRef } from 'antd/es/upload/Upload';
|
5
|
-
export type { DraggerProps, RcFile, UploadChangeParam, UploadFile, UploadListProps, } from 'antd/es/upload';
|
3
|
+
import { Upload as AntUpload } from '@phoss/antd';
|
4
|
+
import { UploadRef } from '@phoss/antd/es/upload/Upload';
|
5
|
+
export type { DraggerProps, RcFile, UploadChangeParam, UploadFile, UploadListProps, } from '@phoss/antd/es/upload';
|
6
6
|
export type UploadProps = AntUploadProps & {
|
7
7
|
maxCount?: number;
|
8
8
|
accept?: string;
|
package/dist/upload/index.js
CHANGED
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["fileType"];
|
4
4
|
import React, { forwardRef } from 'react';
|
5
|
-
import { Upload as AntUpload } from 'antd';
|
5
|
+
import { Upload as AntUpload } from '@phoss/antd';
|
6
6
|
import FileUpload from "./components/fileUpload";
|
7
7
|
import ImageUpload from "./components/imageUpload";
|
8
8
|
var UploadInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
package/dist/utils/types.d.ts
CHANGED
package/dist/utils/utils.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export type { GetProp, GetProps, GetRef } from 'antd';
|
1
|
+
export type { GetProp, GetProps, GetRef } from '@phoss/antd';
|
2
2
|
export declare const arrayMove: (arr: any[], from: number, to: number) => any[];
|
3
3
|
export declare const throttle: <T extends unknown[]>(callback: (...args: T) => void, delay: number) => (...args: T) => void;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export type { WatermarkProps } from 'antd/es/watermark';
|
3
|
-
export declare const Watermark: import("react").FC<import("antd").WatermarkProps>;
|
2
|
+
export type { WatermarkProps } from '@phoss/antd/es/watermark';
|
3
|
+
export declare const Watermark: import("react").FC<import("@phoss/antd").WatermarkProps>;
|
package/dist/watermark/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { Watermark as AntWatermark } from 'antd';
|
1
|
+
import { Watermark as AntWatermark } from '@phoss/antd';
|
2
2
|
export var Watermark = AntWatermark;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["value", "onChange", "rangeYear", "labelYear", "showSearch"];
|
4
|
-
import { Select } from 'antd';
|
4
|
+
import { Select } from '@phoss/antd';
|
5
5
|
import React from 'react';
|
6
6
|
export var YearOptions = function YearOptions(_ref) {
|
7
7
|
var value = _ref.value,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "yootd",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.48",
|
4
4
|
"description": "基于 Antd 二次开发的组件库",
|
5
5
|
"license": "MIT",
|
6
6
|
"sideEffects": [
|
@@ -80,7 +80,7 @@
|
|
80
80
|
"@dnd-kit/utilities": ">=3.2.2",
|
81
81
|
"@tanstack/react-query": ">=5.59.15",
|
82
82
|
"@xyflow/react": ">=12.3.3",
|
83
|
-
"antd": "
|
83
|
+
"@phoss/antd": "0.0.2",
|
84
84
|
"axios": ">=1.7.7",
|
85
85
|
"dayjs": ">=1.11.13",
|
86
86
|
"react": ">=18.0.0",
|