@solace-health/ui 0.5.16 → 0.6.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/index.cjs +117 -126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +100 -109
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as contentful from 'contentful';
|
|
3
|
-
import * as react from 'react';
|
|
4
|
-
import { CSSProperties } from 'react';
|
|
5
3
|
import * as preact from 'preact';
|
|
6
4
|
import { FunctionalComponent } from 'preact';
|
|
5
|
+
import * as react from 'react';
|
|
6
|
+
import { CSSProperties } from 'react';
|
|
7
7
|
import * as react_hook_form from 'react-hook-form';
|
|
8
8
|
import { UseFormReturn } from 'react-hook-form';
|
|
9
9
|
export { useForm, useFormContext } from 'react-hook-form';
|
|
@@ -129,9 +129,11 @@ declare type Props$5 = {
|
|
|
129
129
|
children: React.ReactNode;
|
|
130
130
|
isOpen: boolean;
|
|
131
131
|
onClose?: () => void;
|
|
132
|
-
|
|
132
|
+
width?: number;
|
|
133
|
+
style?: any;
|
|
134
|
+
bodyStyle?: any;
|
|
133
135
|
};
|
|
134
|
-
declare const Modal: ({ children, isOpen, onClose, style, }: Props$5) => react_jsx_runtime.JSX.Element
|
|
136
|
+
declare const Modal: ({ children, isOpen, onClose, width, style, bodyStyle, }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
135
137
|
|
|
136
138
|
declare type Props$4 = {
|
|
137
139
|
onChange: (value: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as contentful from 'contentful';
|
|
3
|
-
import * as react from 'react';
|
|
4
|
-
import { CSSProperties } from 'react';
|
|
5
3
|
import * as preact from 'preact';
|
|
6
4
|
import { FunctionalComponent } from 'preact';
|
|
5
|
+
import * as react from 'react';
|
|
6
|
+
import { CSSProperties } from 'react';
|
|
7
7
|
import * as react_hook_form from 'react-hook-form';
|
|
8
8
|
import { UseFormReturn } from 'react-hook-form';
|
|
9
9
|
export { useForm, useFormContext } from 'react-hook-form';
|
|
@@ -129,9 +129,11 @@ declare type Props$5 = {
|
|
|
129
129
|
children: React.ReactNode;
|
|
130
130
|
isOpen: boolean;
|
|
131
131
|
onClose?: () => void;
|
|
132
|
-
|
|
132
|
+
width?: number;
|
|
133
|
+
style?: any;
|
|
134
|
+
bodyStyle?: any;
|
|
133
135
|
};
|
|
134
|
-
declare const Modal: ({ children, isOpen, onClose, style, }: Props$5) => react_jsx_runtime.JSX.Element
|
|
136
|
+
declare const Modal: ({ children, isOpen, onClose, width, style, bodyStyle, }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
135
137
|
|
|
136
138
|
declare type Props$4 = {
|
|
137
139
|
onChange: (value: string) => void;
|