dgz-ui 1.3.20 → 1.3.21
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/calendar/index.es.js +1 -1
- package/dist/calendar/index.umd.js +1 -1
- package/dist/form/index.es.js +2 -2
- package/dist/form/index.umd.js +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/{input-mask-CNrOY022.cjs → input-mask-DLlCjMsa.cjs} +1 -1
- package/dist/{input-mask-CsywPNA_.js → input-mask-Ddyifoqj.js} +1 -1
- package/dist/{react-select-YYVvM9vk.cjs → react-select-DpDljxIo.cjs} +18 -18
- package/dist/{react-select-DVPHHTAP.js → react-select-evVVB17v.js} +919 -917
- package/dist/{timepicker-cTtE7Et2.cjs → timepicker-BCHziSXm.cjs} +1 -1
- package/dist/{timepicker-NHOnRJ6i.js → timepicker-BV_wuLfY.js} +1 -1
- package/dist/types/ui/form/react-select.d.ts +4 -3
- package/dist/types/ui/form/react-select.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const B=require("./jsx-runtime-h4oGeKUK.cjs"),c=require("react"),Ke=require("./popover-CEurO9kv.cjs"),de=require("./button-BZdVaLIh.cjs"),ge=require("./utils-BeXF6FlA.cjs"),Fe=require("./index-DxEITWU9.cjs"),Ge=require("./react-select-
|
|
1
|
+
"use strict";const B=require("./jsx-runtime-h4oGeKUK.cjs"),c=require("react"),Ke=require("./popover-CEurO9kv.cjs"),de=require("./button-BZdVaLIh.cjs"),ge=require("./utils-BeXF6FlA.cjs"),Fe=require("./index-DxEITWU9.cjs"),Ge=require("./react-select-DpDljxIo.cjs"),Dn=require("react-i18next"),kn=require("./createLucideIcon-BnAj0RnC.cjs");/**
|
|
2
2
|
* @license lucide-react v0.511.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -4,7 +4,7 @@ import { P as Nn, a as Cn, b as Yn } from "./popover-OZcfKDD9.js";
|
|
|
4
4
|
import { B as be, b as mt } from "./button-CdZDBhmr.js";
|
|
5
5
|
import { t as Tn, c as ve } from "./utils-B6fNqzRf.js";
|
|
6
6
|
import { J as Yt, r as Tt, g as _n } from "./index-Br4MVOGV.js";
|
|
7
|
-
import { g as _t, R as yt } from "./react-select-
|
|
7
|
+
import { g as _t, R as yt } from "./react-select-evVVB17v.js";
|
|
8
8
|
import { useTranslation as Pn } from "react-i18next";
|
|
9
9
|
import { c as En } from "./createLucideIcon-B950nf2d.js";
|
|
10
10
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
1
|
+
import { type ComponentPropsWithoutRef, type JSX, type ReactNode } from 'react';
|
|
2
2
|
import { type GroupBase } from 'react-select';
|
|
3
3
|
import { type CreatableProps } from 'react-select/creatable';
|
|
4
4
|
/**
|
|
@@ -22,12 +22,13 @@ export type Option = {
|
|
|
22
22
|
* @property {boolean} [error] - When true, applies error styles.
|
|
23
23
|
* @property {boolean} [canAddItem=false] - If true, allows creating new options inline.
|
|
24
24
|
*/
|
|
25
|
-
export interface ReactSelectProps extends Omit<CreatableProps<Option | Option['value'], boolean, GroupBase<Option | Option['value']
|
|
25
|
+
export interface ReactSelectProps extends Omit<CreatableProps<Option | Option['value'], boolean, GroupBase<Option | Option['value']>>, 'options'> {
|
|
26
26
|
options: Option[];
|
|
27
27
|
label?: ReactNode;
|
|
28
28
|
containerClassName?: string;
|
|
29
29
|
error?: boolean;
|
|
30
30
|
canAddItem?: boolean;
|
|
31
|
+
containerProps?: ComponentPropsWithoutRef<'div'>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Enhanced select input built on react-select with optional creatable mode and tailored styles.
|
|
@@ -36,5 +37,5 @@ export interface ReactSelectProps extends Omit<CreatableProps<Option | Option['v
|
|
|
36
37
|
* @param {ReactSelectProps} props - Props to configure behavior and appearance.
|
|
37
38
|
* @returns {JSX.Element}
|
|
38
39
|
*/
|
|
39
|
-
export declare const ReactSelect: ({ options, label, required, error, containerClassName, className, onChange, placeholder, canAddItem, ...computedProps }: ReactSelectProps) =>
|
|
40
|
+
export declare const ReactSelect: ({ options, label, required, error, containerClassName, className, onChange, placeholder, canAddItem, containerProps, ...computedProps }: ReactSelectProps) => JSX.Element;
|
|
40
41
|
//# sourceMappingURL=react-select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-select.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/react-select.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAe,EAGb,KAAK,SAAS,EAOf,MAAM,cAAc,CAAC;AAGtB,OAAwB,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E;;;;;GAKG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAWF;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,cAAc,CACZ,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,EACxB,OAAO,EACP,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CACpC,
|
|
1
|
+
{"version":3,"file":"react-select.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/react-select.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,GAAG,EACR,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAe,EAGb,KAAK,SAAS,EAOf,MAAM,cAAc,CAAC;AAGtB,OAAwB,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E;;;;;GAKG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,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