ubk.erp.webpack 1.5.0 → 1.5.2
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/components/UBKSelect/ResponsiveValueContainer.d.ts +12 -0
- package/dist/components/UBKSelect/index.d.ts +6 -0
- package/dist/index.cjs +15 -15
- package/dist/index.js +11313 -11223
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default ResponsiveValueContainer;
|
|
3
|
+
/**
|
|
4
|
+
* ValueContainer with antd-style `maxTagCount` for multi selects:
|
|
5
|
+
* - "responsive": as many chips as fit on one line, then a "+N" chip (title lists the rest)
|
|
6
|
+
* - a number: that many chips, then "+N"
|
|
7
|
+
* - null/undefined (or single select): react-select's default rendering
|
|
8
|
+
*/
|
|
9
|
+
declare function ResponsiveValueContainer({ children, ...props }: {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
children: any;
|
|
12
|
+
}): React.JSX.Element;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
export default UBKSelect;
|
|
2
|
+
/**
|
|
3
|
+
* Multi selects (isMulti) take an antd-style `maxTagCount`:
|
|
4
|
+
* "responsive" (default) — as many chips as fit on one line, then "+N"
|
|
5
|
+
* a number — that many chips, then "+N"
|
|
6
|
+
* null — show every chip (react-select default)
|
|
7
|
+
*/
|
|
2
8
|
declare const UBKSelect: import('react').ForwardRefExoticComponent<import('react').RefAttributes<any>>;
|