@pnkx-lib/ui 1.9.265 → 1.9.267
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/style.css +1 -1
- package/es/chunks/{bundle-mjs-BBFHkixS.js → bundle-mjs-BME7zF0Z.js} +1 -1
- package/es/chunks/common-CdzpsBeR.js +4 -0
- package/es/chunks/{index.esm-o4O8pXMN.js → index.esm-AaUjBMaK.js} +39 -21
- package/es/chunks/{layout-DnU0VrHH.js → layout-7Xdid6Lv.js} +11 -5
- package/es/constants/index.js +1 -1
- package/es/fields/CascaderField.js +1 -1
- package/es/fields/Checkbox.js +1 -1
- package/es/fields/DatePicker.js +1 -1
- package/es/fields/DateRangePicker.js +1 -1
- package/es/fields/Input.js +1 -1
- package/es/fields/PnkxField.js +1 -1
- package/es/fields/Select.js +8 -1
- package/es/fields/SliderRanger.js +1 -1
- package/es/fields/SliderSingle.js +1 -1
- package/es/fields/Switch.js +1 -1
- package/es/fields/Textarea.js +1 -1
- package/es/fields/TimePicker.js +1 -1
- package/es/fields/TimeRangePicker.js +1 -1
- package/es/fields/TinyMCE.js +12 -48
- package/es/index.js +1 -1
- package/es/ui/Button.js +1 -1
- package/es/ui/Cascader.js +1 -1
- package/es/ui/CategoryStatus.js +1 -1
- package/es/ui/Container.js +1 -1
- package/es/ui/Layout.js +1 -1
- package/es/ui/Modal.js +1 -1
- package/es/ui/SearchFilterForm.js +1 -1
- package/es/ui/Sidebar.js +11 -11
- package/es/ui/UploadComponent.js +1 -1
- package/es/ui/UploadImage.js +1 -1
- package/es/ui/UploadMultiple.js +1 -1
- package/es/ui/index.js +3 -3
- package/package.json +1 -1
- package/types/components/fields/Select.d.ts +3 -0
- package/types/constants/common.d.ts +1 -0
- package/es/chunks/common-CocKiHtC.js +0 -3
package/es/ui/UploadComponent.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useState } from 'react';
|
|
|
4
4
|
import { Upload, Image, Tooltip, message } from 'antd';
|
|
5
5
|
import { Spin } from './Spin.js';
|
|
6
6
|
import { Label } from './Label.js';
|
|
7
|
-
import { t as twMerge } from '../chunks/bundle-mjs-
|
|
7
|
+
import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
|
|
8
8
|
import { I as Icon, _ as _extends } from '../chunks/AntdIcon-ZIq9SabE.js';
|
|
9
9
|
|
|
10
10
|
// This icon file is generated automatically.
|
package/es/ui/UploadImage.js
CHANGED
package/es/ui/UploadMultiple.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { Spin, Upload, message } from 'antd';
|
|
5
|
-
import { C as Controller } from '../chunks/index.esm-
|
|
5
|
+
import { C as Controller } from '../chunks/index.esm-AaUjBMaK.js';
|
|
6
6
|
import { I as Icon, _ as _extends } from '../chunks/AntdIcon-ZIq9SabE.js';
|
|
7
7
|
|
|
8
8
|
// This icon file is generated automatically.
|
package/es/ui/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
6
6
|
import React__default, { useLayoutEffect, useEffect, useRef, useMemo, useCallback, useState, memo, useReducer, createContext, useContext } from 'react';
|
|
7
7
|
import { Select, Input, Pagination, Table as Table$1 } from 'antd';
|
|
8
8
|
import { Modal } from './Modal.js';
|
|
9
|
-
import { u as useForm } from '../chunks/index.esm-
|
|
9
|
+
import { u as useForm } from '../chunks/index.esm-AaUjBMaK.js';
|
|
10
10
|
import { PnkxField } from '../fields/PnkxField.js';
|
|
11
11
|
import { Checkbox } from '../fields/Checkbox.js';
|
|
12
12
|
import { unstable_batchedUpdates, createPortal } from 'react-dom';
|
|
13
|
-
import { t as twMerge } from '../chunks/bundle-mjs-
|
|
13
|
+
import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
|
|
14
14
|
import { Badge } from './Badge.js';
|
|
15
15
|
export { typeColorMap } from './Badge.js';
|
|
16
16
|
import { Heading } from './Heading.js';
|
|
@@ -69,7 +69,7 @@ export { ConfigProvider } from './ConfigProvider.js';
|
|
|
69
69
|
export { PageNotFound } from './PageNotFound.js';
|
|
70
70
|
export { UploadImage } from './UploadImage.js';
|
|
71
71
|
export { UploadMultiple } from './UploadMultiple.js';
|
|
72
|
-
export { T as TINY_API } from '../chunks/common-
|
|
72
|
+
export { M as MAX_TAG_TEXT_LENGTH, T as TINY_API } from '../chunks/common-CdzpsBeR.js';
|
|
73
73
|
|
|
74
74
|
const SettingColumnItem = ({ lable, name, control }) => {
|
|
75
75
|
return /* @__PURE__ */ jsx("div", { className: "w-full pt-2 pb-2 inline-flex", children: /* @__PURE__ */ jsx(
|
package/package.json
CHANGED
|
@@ -9,5 +9,8 @@ export interface SelectFieldProps extends SelectProps {
|
|
|
9
9
|
afterOnChange?: (value: any) => void;
|
|
10
10
|
classNameContainer?: string;
|
|
11
11
|
classNameSelect?: string;
|
|
12
|
+
mode?: "multiple" | "tags";
|
|
13
|
+
maxTagTextLength?: number | undefined;
|
|
14
|
+
maxTagCount?: number | "responsive";
|
|
12
15
|
}
|
|
13
16
|
export declare const Select: (props: SelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|