dgz-ui 1.3.21 → 1.3.22
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
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
|
+
import type { ElementDataType } from '../../types';
|
|
4
5
|
/**
|
|
5
6
|
* Option shape for ReactSelect component.
|
|
6
7
|
*
|
|
@@ -28,7 +29,7 @@ export interface ReactSelectProps extends Omit<CreatableProps<Option | Option['v
|
|
|
28
29
|
containerClassName?: string;
|
|
29
30
|
error?: boolean;
|
|
30
31
|
canAddItem?: boolean;
|
|
31
|
-
containerProps?: ComponentPropsWithoutRef<'div'
|
|
32
|
+
containerProps?: ComponentPropsWithoutRef<'div'> & ElementDataType;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Enhanced select input built on react-select with optional creatable mode and tailored styles.
|
|
@@ -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,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;
|
|
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,cA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