@solace-health/ui 0.9.42 → 0.9.44
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 +135 -114
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +120 -100
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,11 +5,12 @@ import { CSSProperties } from 'react';
|
|
|
5
5
|
import * as contentful from 'contentful';
|
|
6
6
|
import * as preact from 'preact';
|
|
7
7
|
import { FunctionalComponent } from 'preact';
|
|
8
|
-
import { TabsProps,
|
|
8
|
+
import { TabsProps, MenuProps as MenuProps$1, DropDownProps, SubMenuProps } from 'antd';
|
|
9
9
|
import { MenuProps } from '@szhsin/react-menu';
|
|
10
10
|
import * as _emotion_styled from '@emotion/styled';
|
|
11
11
|
export { default as styled } from '@emotion/styled';
|
|
12
12
|
import * as _emotion_react from '@emotion/react';
|
|
13
|
+
import * as preact_hooks from 'preact/hooks';
|
|
13
14
|
import * as react_hook_form from 'react-hook-form';
|
|
14
15
|
import { UseFormReturn } from 'react-hook-form';
|
|
15
16
|
export { Controller, FormProvider, useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
@@ -420,6 +421,16 @@ declare const _default$3: {
|
|
|
420
421
|
}) => react_jsx_runtime.JSX.Element;
|
|
421
422
|
};
|
|
422
423
|
|
|
424
|
+
declare const Dropdown: _emotion_styled.StyledComponent<{
|
|
425
|
+
items: MenuProps$1["items"];
|
|
426
|
+
children: React.ReactNode;
|
|
427
|
+
className?: string | undefined;
|
|
428
|
+
} & DropDownProps & {
|
|
429
|
+
theme?: _emotion_react.Theme | undefined;
|
|
430
|
+
}, {}, {
|
|
431
|
+
ref?: preact_hooks.Ref<any> | undefined;
|
|
432
|
+
}>;
|
|
433
|
+
|
|
423
434
|
declare const _default$2: {
|
|
424
435
|
Container: ({ formMethods, formOptions, onSubmit, children, className, }: {
|
|
425
436
|
formMethods?: UseFormReturn<any, any> | null | undefined;
|
|
@@ -686,7 +697,8 @@ declare const _default: {
|
|
|
686
697
|
} & MenuItemType) => react_jsx_runtime.JSX.Element;
|
|
687
698
|
SubMenuContainer: ({ children, ...rest }: {
|
|
688
699
|
children: react.ReactNode;
|
|
700
|
+
hideExpandIcon?: boolean | undefined;
|
|
689
701
|
} & SubMenuProps) => react_jsx_runtime.JSX.Element;
|
|
690
702
|
};
|
|
691
703
|
|
|
692
|
-
export { Avatar, _default$6 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, ErrorTypography, _default$2 as Form, _default$5 as Icons, LoadingSpinner, LottieAnimation, _default$4 as Menu, Modal, _default as NavigationMenu, _default$3 as NumberedProgressSteps, Pill, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };
|
|
704
|
+
export { Avatar, _default$6 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, Dropdown, ErrorTypography, _default$2 as Form, _default$5 as Icons, LoadingSpinner, LottieAnimation, _default$4 as Menu, Modal, _default as NavigationMenu, _default$3 as NumberedProgressSteps, Pill, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ import { CSSProperties } from 'react';
|
|
|
5
5
|
import * as contentful from 'contentful';
|
|
6
6
|
import * as preact from 'preact';
|
|
7
7
|
import { FunctionalComponent } from 'preact';
|
|
8
|
-
import { TabsProps,
|
|
8
|
+
import { TabsProps, MenuProps as MenuProps$1, DropDownProps, SubMenuProps } from 'antd';
|
|
9
9
|
import { MenuProps } from '@szhsin/react-menu';
|
|
10
10
|
import * as _emotion_styled from '@emotion/styled';
|
|
11
11
|
export { default as styled } from '@emotion/styled';
|
|
12
12
|
import * as _emotion_react from '@emotion/react';
|
|
13
|
+
import * as preact_hooks from 'preact/hooks';
|
|
13
14
|
import * as react_hook_form from 'react-hook-form';
|
|
14
15
|
import { UseFormReturn } from 'react-hook-form';
|
|
15
16
|
export { Controller, FormProvider, useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
@@ -420,6 +421,16 @@ declare const _default$3: {
|
|
|
420
421
|
}) => react_jsx_runtime.JSX.Element;
|
|
421
422
|
};
|
|
422
423
|
|
|
424
|
+
declare const Dropdown: _emotion_styled.StyledComponent<{
|
|
425
|
+
items: MenuProps$1["items"];
|
|
426
|
+
children: React.ReactNode;
|
|
427
|
+
className?: string | undefined;
|
|
428
|
+
} & DropDownProps & {
|
|
429
|
+
theme?: _emotion_react.Theme | undefined;
|
|
430
|
+
}, {}, {
|
|
431
|
+
ref?: preact_hooks.Ref<any> | undefined;
|
|
432
|
+
}>;
|
|
433
|
+
|
|
423
434
|
declare const _default$2: {
|
|
424
435
|
Container: ({ formMethods, formOptions, onSubmit, children, className, }: {
|
|
425
436
|
formMethods?: UseFormReturn<any, any> | null | undefined;
|
|
@@ -686,7 +697,8 @@ declare const _default: {
|
|
|
686
697
|
} & MenuItemType) => react_jsx_runtime.JSX.Element;
|
|
687
698
|
SubMenuContainer: ({ children, ...rest }: {
|
|
688
699
|
children: react.ReactNode;
|
|
700
|
+
hideExpandIcon?: boolean | undefined;
|
|
689
701
|
} & SubMenuProps) => react_jsx_runtime.JSX.Element;
|
|
690
702
|
};
|
|
691
703
|
|
|
692
|
-
export { Avatar, _default$6 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, ErrorTypography, _default$2 as Form, _default$5 as Icons, LoadingSpinner, LottieAnimation, _default$4 as Menu, Modal, _default as NavigationMenu, _default$3 as NumberedProgressSteps, Pill, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };
|
|
704
|
+
export { Avatar, _default$6 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, Dropdown, ErrorTypography, _default$2 as Form, _default$5 as Icons, LoadingSpinner, LottieAnimation, _default$4 as Menu, Modal, _default as NavigationMenu, _default$3 as NumberedProgressSteps, Pill, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };
|