@solace-health/ui 0.5.5 → 0.5.6

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 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, useFormContext } from 'react-hook-form';
13
13
 
14
- declare type Props$8 = {
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$8) => react_jsx_runtime.JSX.Element;
21
- Outline: ({ children, isSubmitting, ...extraProps }: Props$8) => react_jsx_runtime.JSX.Element;
22
- Unstyled: ({ children, isSubmitting, ...extraProps }: Props$8) => react_jsx_runtime.JSX.Element;
23
- Secondary: ({ children, isSubmitting, ...extraProps }: Props$8) => react_jsx_runtime.JSX.Element;
24
- Link: ({ children, ...extraProps }: Props$8) => react_jsx_runtime.JSX.Element;
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,22 +77,22 @@ declare const _default$2: {
77
77
  }) => react_jsx_runtime.JSX.Element;
78
78
  };
79
79
 
80
- declare type Props$7 = {
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$7) => react_jsx_runtime.JSX.Element;
87
+ declare const TimeSelect: ({ startTime, endTime, interval, defaultValue, onChange, }: Props$8) => react_jsx_runtime.JSX.Element;
88
88
 
89
- declare type Props$6 = {
89
+ declare type Props$7 = {
90
90
  value?: string;
91
91
  onChange?: (date: any) => void;
92
92
  };
93
- declare const DateSelect: ({ value, onChange }: Props$6) => react_jsx_runtime.JSX.Element;
93
+ declare const DateSelect: ({ value, onChange }: Props$7) => react_jsx_runtime.JSX.Element;
94
94
 
95
- declare type Props$5 = {
95
+ declare type Props$6 = {
96
96
  onChange: (value: string) => void;
97
97
  options: string[] | number[] | Array<{
98
98
  label: FunctionalComponent;
@@ -105,7 +105,7 @@ declare type Props$5 = {
105
105
  defaultValue: string;
106
106
  block: boolean;
107
107
  };
108
- declare const Segmented: ({ onChange, options, size, defaultValue, block, }: Props$5) => react_jsx_runtime.JSX.Element;
108
+ declare const Segmented: ({ onChange, options, size, defaultValue, block, }: Props$6) => react_jsx_runtime.JSX.Element;
109
109
 
110
110
  declare enum Size {
111
111
  XL = "xl",
@@ -115,11 +115,11 @@ declare enum Size {
115
115
  XS = "xs"
116
116
  }
117
117
 
118
- declare type Props$4 = {
118
+ declare type Props$5 = {
119
119
  color?: string;
120
120
  size?: Size;
121
121
  };
122
- declare const LoadingSpinner: ({ color, size, }: Props$4) => react_jsx_runtime.JSX.Element;
122
+ declare const LoadingSpinner: ({ color, size, }: Props$5) => react_jsx_runtime.JSX.Element;
123
123
 
124
124
  declare enum ContentfulLottieFileSlug {
125
125
  LOADING_LISTINGS = "loadingListings"
@@ -137,7 +137,7 @@ declare class Contentful {
137
137
  getImage(slug: string): Promise<any>;
138
138
  }
139
139
 
140
- declare type Props$3 = {
140
+ declare type Props$4 = {
141
141
  height: number | string;
142
142
  width: number | string;
143
143
  loop: boolean;
@@ -147,15 +147,25 @@ declare type Props$3 = {
147
147
  accessToken: string;
148
148
  };
149
149
  };
150
- declare const LottieAnimation: ({ height, width, loop, slug, contentfulConfig, }: Props$3) => react_jsx_runtime.JSX.Element | null;
150
+ declare const LottieAnimation: ({ height, width, loop, slug, contentfulConfig, }: Props$4) => react_jsx_runtime.JSX.Element | null;
151
151
 
152
- declare type Props$2 = {
152
+ declare type Props$3 = {
153
153
  children: React.ReactNode;
154
154
  isOpen: boolean;
155
155
  onClose?: () => void;
156
156
  style?: CSSProperties;
157
157
  };
158
- declare const Modal: ({ children, isOpen, onClose, style, }: Props$2) => react_jsx_runtime.JSX.Element | null;
158
+ declare const Modal: ({ children, isOpen, onClose, style, }: Props$3) => react_jsx_runtime.JSX.Element | null;
159
+
160
+ declare type Props$2 = {
161
+ items: {
162
+ label: string;
163
+ key: string;
164
+ children: string;
165
+ }[];
166
+ className?: string;
167
+ };
168
+ declare const Tabs: ({ items, className, ...otherProps }: Props$2) => react_jsx_runtime.JSX.Element;
159
169
 
160
170
  declare type Props$1 = {
161
171
  color: string;
@@ -392,4 +402,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
392
402
  size?: number | undefined;
393
403
  }) => react_jsx_runtime.JSX.Element | null;
394
404
 
395
- 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 };
405
+ export { _default$3 as Button, Contentful, ContentfulLottieFileSlug, DateSelect, _default as Form, _default$2 as Icons, LoadingSpinner, LottieAnimation, Modal, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default$1 as Typography, VantaLogo };