@solace-health/ui 0.9.62 → 0.9.64
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 +204 -185
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +174 -155
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
2
|
import * as react from 'react';
|
|
4
3
|
import { CSSProperties } from 'react';
|
|
4
|
+
import dayjs from 'dayjs';
|
|
5
5
|
import * as contentful from 'contentful';
|
|
6
6
|
import { FunctionalComponent } from 'preact';
|
|
7
7
|
import { TabsProps, MenuProps as MenuProps$1, DropDownProps, SubMenuProps } from 'antd';
|
|
@@ -53,8 +53,9 @@ declare type Item = {
|
|
|
53
53
|
declare type Props$b = {
|
|
54
54
|
items: Item[] | Item;
|
|
55
55
|
onChange?: (key: string | string[]) => void;
|
|
56
|
+
style?: CSSProperties;
|
|
56
57
|
};
|
|
57
|
-
declare const Collapse: ({ items, onChange }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare const Collapse: ({ items, onChange, ...rest }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
58
59
|
|
|
59
60
|
declare type Props$a = {
|
|
60
61
|
value?: string | null;
|
|
@@ -591,7 +592,7 @@ declare const _default$2: {
|
|
|
591
592
|
}) => void) | undefined;
|
|
592
593
|
containerStyle?: react.CSSProperties | undefined;
|
|
593
594
|
}) => react_jsx_runtime.JSX.Element;
|
|
594
|
-
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, errorMessage, defaultValue, }: {
|
|
595
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, showPreview, containerStyle, allowClear, loading, value, errorMessage, defaultValue, }: {
|
|
595
596
|
label?: string | JSX.Element | undefined;
|
|
596
597
|
name: string;
|
|
597
598
|
details?: string | undefined;
|
|
@@ -603,6 +604,7 @@ declare const _default$2: {
|
|
|
603
604
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
604
605
|
disabled?: boolean | undefined;
|
|
605
606
|
previewOnly?: boolean | undefined;
|
|
607
|
+
showPreview?: boolean | undefined;
|
|
606
608
|
isLabelBold?: boolean | undefined;
|
|
607
609
|
onChange?: (({ value, label }: {
|
|
608
610
|
label: react.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
2
|
import * as react from 'react';
|
|
4
3
|
import { CSSProperties } from 'react';
|
|
4
|
+
import dayjs from 'dayjs';
|
|
5
5
|
import * as contentful from 'contentful';
|
|
6
6
|
import { FunctionalComponent } from 'preact';
|
|
7
7
|
import { TabsProps, MenuProps as MenuProps$1, DropDownProps, SubMenuProps } from 'antd';
|
|
@@ -53,8 +53,9 @@ declare type Item = {
|
|
|
53
53
|
declare type Props$b = {
|
|
54
54
|
items: Item[] | Item;
|
|
55
55
|
onChange?: (key: string | string[]) => void;
|
|
56
|
+
style?: CSSProperties;
|
|
56
57
|
};
|
|
57
|
-
declare const Collapse: ({ items, onChange }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare const Collapse: ({ items, onChange, ...rest }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
58
59
|
|
|
59
60
|
declare type Props$a = {
|
|
60
61
|
value?: string | null;
|
|
@@ -591,7 +592,7 @@ declare const _default$2: {
|
|
|
591
592
|
}) => void) | undefined;
|
|
592
593
|
containerStyle?: react.CSSProperties | undefined;
|
|
593
594
|
}) => react_jsx_runtime.JSX.Element;
|
|
594
|
-
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, errorMessage, defaultValue, }: {
|
|
595
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, showPreview, containerStyle, allowClear, loading, value, errorMessage, defaultValue, }: {
|
|
595
596
|
label?: string | JSX.Element | undefined;
|
|
596
597
|
name: string;
|
|
597
598
|
details?: string | undefined;
|
|
@@ -603,6 +604,7 @@ declare const _default$2: {
|
|
|
603
604
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
604
605
|
disabled?: boolean | undefined;
|
|
605
606
|
previewOnly?: boolean | undefined;
|
|
607
|
+
showPreview?: boolean | undefined;
|
|
606
608
|
isLabelBold?: boolean | undefined;
|
|
607
609
|
onChange?: (({ value, label }: {
|
|
608
610
|
label: react.ReactNode;
|