demio-ui 1.0.70 → 1.0.72
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/Popover/Popover.d.ts +1 -0
- package/dist/cjs/types/src/components/Progress/Progress.d.ts +2 -1
- package/dist/cjs/types/src/components/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/cjs/types/src/components/Select/Select.d.ts +1 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/components/Popover/Popover.d.ts +1 -0
- package/dist/esm/types/src/components/Progress/Progress.d.ts +2 -1
- package/dist/esm/types/src/components/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/esm/types/src/components/Select/Select.d.ts +1 -0
- package/dist/types.d.ts +6 -2
- package/package.json +1 -1
|
@@ -2,10 +2,11 @@ import React from 'react';
|
|
|
2
2
|
type Props = {
|
|
3
3
|
progress: number;
|
|
4
4
|
max?: number;
|
|
5
|
+
className?: string;
|
|
5
6
|
};
|
|
6
7
|
/**
|
|
7
8
|
* Progress component
|
|
8
9
|
* - Provides context for assistive technology to read the progress of a task.
|
|
9
10
|
**/
|
|
10
|
-
declare function Progress({ max, progress, ...props }: Props): React.JSX.Element;
|
|
11
|
+
declare function Progress({ max, progress, className, ...props }: Props): React.JSX.Element;
|
|
11
12
|
export default Progress;
|
|
@@ -13,6 +13,7 @@ type Props = {
|
|
|
13
13
|
onChange?: (value: string) => void;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
value?: string;
|
|
16
|
+
className?: string;
|
|
16
17
|
};
|
|
17
|
-
declare function RadioGroup({ items, error, defaultValue, ariaLabel, hint, onChange, disabled, value, ...props }: Props): React.JSX.Element;
|
|
18
|
+
declare function RadioGroup({ items, error, defaultValue, ariaLabel, hint, onChange, disabled, value, className, ...props }: Props): React.JSX.Element;
|
|
18
19
|
export default RadioGroup;
|
|
@@ -10,6 +10,7 @@ type SelectProps = {
|
|
|
10
10
|
id: string;
|
|
11
11
|
icon?: React.ReactNode | string;
|
|
12
12
|
placeholder?: string;
|
|
13
|
+
className?: string;
|
|
13
14
|
};
|
|
14
15
|
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
15
16
|
type SelectItemProps = {
|
package/dist/types.d.ts
CHANGED
|
@@ -140,18 +140,20 @@ type Props$4 = {
|
|
|
140
140
|
isContentChild: boolean;
|
|
141
141
|
isOpen: boolean;
|
|
142
142
|
onOpen: (open: boolean) => void;
|
|
143
|
+
className?: string;
|
|
143
144
|
};
|
|
144
145
|
declare const Popover: FC<Props$4>;
|
|
145
146
|
|
|
146
147
|
type Props$3 = {
|
|
147
148
|
progress: number;
|
|
148
149
|
max?: number;
|
|
150
|
+
className?: string;
|
|
149
151
|
};
|
|
150
152
|
/**
|
|
151
153
|
* Progress component
|
|
152
154
|
* - Provides context for assistive technology to read the progress of a task.
|
|
153
155
|
**/
|
|
154
|
-
declare function Progress({ max, progress, ...props }: Props$3): React__default.JSX.Element;
|
|
156
|
+
declare function Progress({ max, progress, className, ...props }: Props$3): React__default.JSX.Element;
|
|
155
157
|
|
|
156
158
|
type Props$2 = {
|
|
157
159
|
items: {
|
|
@@ -167,8 +169,9 @@ type Props$2 = {
|
|
|
167
169
|
onChange?: (value: string) => void;
|
|
168
170
|
disabled?: boolean;
|
|
169
171
|
value?: string;
|
|
172
|
+
className?: string;
|
|
170
173
|
};
|
|
171
|
-
declare function RadioGroup({ items, error, defaultValue, ariaLabel, hint, onChange, disabled, value, ...props }: Props$2): React__default.JSX.Element;
|
|
174
|
+
declare function RadioGroup({ items, error, defaultValue, ariaLabel, hint, onChange, disabled, value, className, ...props }: Props$2): React__default.JSX.Element;
|
|
172
175
|
|
|
173
176
|
type Props$1 = {
|
|
174
177
|
checked?: boolean;
|
|
@@ -215,6 +218,7 @@ type SelectProps = {
|
|
|
215
218
|
id: string;
|
|
216
219
|
icon?: React__default.ReactNode | string;
|
|
217
220
|
placeholder?: string;
|
|
221
|
+
className?: string;
|
|
218
222
|
};
|
|
219
223
|
declare const Select: React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
220
224
|
type SelectItemProps = {
|