@oncehub/ui-react 2.0.4-beta.3 → 2.0.4-beta.5
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/index.d.ts +2 -0
- package/dist/components/progress-bar/index.d.ts +1 -0
- package/dist/components/progress-bar/progress-bar.d.ts +15 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/radio.d.ts +11 -0
- package/dist/components/select/auto-complete-options.d.ts +5 -3
- package/dist/ui-react.es.js +2683 -2550
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +57 -35
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './progress-bar';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type ProgressBarProps = {
|
|
3
|
+
/** 0–100 percent (if set, mode becomes "determinate") */
|
|
4
|
+
value?: number;
|
|
5
|
+
/** Override mode; if omitted, determinate when `value` is set */
|
|
6
|
+
mode?: 'determinate' | 'indeterminate';
|
|
7
|
+
/** Thickness of the bar in pixels */
|
|
8
|
+
strokeWidth?: number;
|
|
9
|
+
/** CSS color for the filled bar */
|
|
10
|
+
barColor?: string;
|
|
11
|
+
/** CSS color for the track (background) */
|
|
12
|
+
trackColor?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const ProgressBar: React.FC<ProgressBarProps>;
|
|
15
|
+
export { ProgressBar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './radio';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IOption } from '../../interfaces';
|
|
3
|
+
interface RadioProps {
|
|
4
|
+
themeColor?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
onChange: (option: any) => void;
|
|
8
|
+
option: IOption;
|
|
9
|
+
}
|
|
10
|
+
export declare const Radio: FC<RadioProps>;
|
|
11
|
+
export default Radio;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { default as React, FC } from 'react';
|
|
2
|
-
|
|
3
|
-
children:
|
|
4
|
-
|
|
2
|
+
interface Props {
|
|
3
|
+
children: any;
|
|
4
|
+
setQuery: (query: any) => void;
|
|
5
|
+
}
|
|
5
6
|
type ComboboxOptionProps = {
|
|
6
7
|
children: React.ReactNode;
|
|
7
8
|
value: any;
|
|
8
9
|
className?: any;
|
|
9
10
|
disable?: boolean;
|
|
10
11
|
};
|
|
12
|
+
export declare const AutoCompleteOptions: FC<Props>;
|
|
11
13
|
export type ComboboxRef = HTMLDivElement;
|
|
12
14
|
export declare const AutoCompleteOption: React.ForwardRefExoticComponent<ComboboxOptionProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
15
|
export {};
|