@solace-health/ui 0.4.9 → 0.4.10
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/index.d.ts +22 -9
- package/dist/index.js +120 -110
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +100 -92
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,17 +11,17 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
11
11
|
import { UseFormReturn } from 'react-hook-form';
|
|
12
12
|
export { useForm } from 'react-hook-form';
|
|
13
13
|
|
|
14
|
-
declare type Props$
|
|
14
|
+
declare type Props$9 = {
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
isSubmitting?: boolean;
|
|
17
17
|
[extraProps: string]: unknown;
|
|
18
18
|
};
|
|
19
19
|
declare const _default$3: {
|
|
20
|
-
Primary: ({ children, isSubmitting, ...extraProps }: Props$
|
|
21
|
-
Outline: ({ children, isSubmitting, ...extraProps }: Props$
|
|
22
|
-
Unstyled: ({ children, isSubmitting, ...extraProps }: Props$
|
|
23
|
-
Secondary: ({ children, isSubmitting, ...extraProps }: Props$
|
|
24
|
-
Link: ({ children, ...extraProps }: Props$
|
|
20
|
+
Primary: ({ children, isSubmitting, ...extraProps }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
Outline: ({ children, isSubmitting, ...extraProps }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
22
|
+
Unstyled: ({ children, isSubmitting, ...extraProps }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
23
|
+
Secondary: ({ children, isSubmitting, ...extraProps }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
24
|
+
Link: ({ children, ...extraProps }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
declare const _default$2: {
|
|
@@ -77,14 +77,20 @@ declare const _default$2: {
|
|
|
77
77
|
}) => react_jsx_runtime.JSX.Element;
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
declare type Props$
|
|
80
|
+
declare type Props$8 = {
|
|
81
81
|
startTime?: string;
|
|
82
82
|
endTime?: string;
|
|
83
83
|
interval?: number;
|
|
84
84
|
defaultValue?: string;
|
|
85
85
|
onChange?: (e: unknown) => void;
|
|
86
86
|
};
|
|
87
|
-
declare const TimeSelect: ({ startTime, endTime, interval, defaultValue, onChange, }: Props$
|
|
87
|
+
declare const TimeSelect: ({ startTime, endTime, interval, defaultValue, onChange, }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
88
|
+
|
|
89
|
+
declare type Props$7 = {
|
|
90
|
+
value?: string;
|
|
91
|
+
onChange?: (date: any) => void;
|
|
92
|
+
};
|
|
93
|
+
declare const DateSelect: ({ value, onChange }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
88
94
|
|
|
89
95
|
declare type Props$6 = {
|
|
90
96
|
onChange: (value: string) => void;
|
|
@@ -270,6 +276,13 @@ declare const _default: {
|
|
|
270
276
|
value: string;
|
|
271
277
|
}[];
|
|
272
278
|
}) => react_jsx_runtime.JSX.Element;
|
|
279
|
+
DateSelect: ({ label, isLabelBold, name, options, ...inputProps }: {
|
|
280
|
+
[inputProps: string]: unknown;
|
|
281
|
+
label?: string | null | undefined;
|
|
282
|
+
isLabelBold?: boolean | undefined;
|
|
283
|
+
name: string;
|
|
284
|
+
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
285
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
273
286
|
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
274
287
|
[inputProps: string]: unknown;
|
|
275
288
|
name: string;
|
|
@@ -378,4 +391,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
378
391
|
size?: number | undefined;
|
|
379
392
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
380
393
|
|
|
381
|
-
export { _default$3 as Button, Contentful, ContentfulLottieFileSlug, _default as Form, _default$2 as Icons, LoadingSpinner, LottieAnimation, Modal, Segmented, Size, SolaceLogo, SolaceThemeProvider, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };
|
|
394
|
+
export { _default$3 as Button, Contentful, ContentfulLottieFileSlug, DateSelect, _default as Form, _default$2 as Icons, LoadingSpinner, LottieAnimation, Modal, Segmented, Size, SolaceLogo, SolaceThemeProvider, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };
|