@oncehub/ui-react 1.4.16 → 1.4.17-beta.1.1
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/button/button.d.ts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +1 -0
- package/dist/components/common/pseudo-checkbox/pseudo-checkbox.d.ts +1 -0
- package/dist/components/multi-line-input/multi-line-input.d.ts +1 -0
- package/dist/components/multi-select/multi-select.d.ts +4 -3
- package/dist/components/quick-multi-select/index.d.ts +0 -1
- package/dist/components/quick-multi-select/quick-multi-select.d.ts +4 -3
- package/dist/components/quick-select/quick-select.d.ts +5 -4
- package/dist/components/scrollbar/scrollbar.d.ts +1 -0
- package/dist/components/select/{options.d.ts → auto-complete-options.d.ts} +2 -1
- package/dist/components/select/auto-complete.d.ts +2 -1
- package/dist/components/select/index.d.ts +1 -2
- package/dist/components/select/select-options.d.ts +2 -1
- package/dist/components/select/select.d.ts +2 -1
- package/dist/components/single-line-input/single-line-input.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/{components/select/select.types.d.ts → interfaces/select.type.d.ts} +1 -0
- package/dist/ui-react.es.js +2021 -2015
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +13 -13
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/multi-select/multi-select.type.d.ts +0 -6
- package/dist/components/quick-multi-select/quick-multi-select.type.d.ts +0 -6
- package/dist/components/quick-select/quick-select.type.d.ts +0 -6
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import {
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
|
+
import { IOption } from '../../interfaces/select.type';
|
|
3
|
+
|
|
3
4
|
interface Props {
|
|
4
|
-
options:
|
|
5
|
+
options: IOption[];
|
|
5
6
|
checkedValue: string[];
|
|
6
7
|
onSelectionChange: (val: string[]) => void;
|
|
7
8
|
maxOptions?: number;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import {
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
|
+
import { IOption } from '../../interfaces/select.type';
|
|
3
|
+
|
|
3
4
|
interface Props {
|
|
4
|
-
options:
|
|
5
|
+
options: IOption[];
|
|
5
6
|
checkedValue: string[];
|
|
6
7
|
onSelectionChange: (val: string[]) => void;
|
|
7
8
|
maxOptions?: number;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CSSProperties, FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IOption } from '../../interfaces/select.type';
|
|
3
|
+
|
|
3
4
|
interface Props {
|
|
4
|
-
options:
|
|
5
|
-
onSelect: (option:
|
|
6
|
-
selected?:
|
|
5
|
+
options: IOption[];
|
|
6
|
+
onSelect: (option: IOption | undefined) => void;
|
|
7
|
+
selected?: IOption;
|
|
7
8
|
themeColor?: string;
|
|
8
9
|
className?: string;
|
|
9
10
|
style?: CSSProperties;
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './select.type';
|