@everlywell/ui-kit 1.11.4 → 1.11.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.
Files changed (80) hide show
  1. package/index.d.mts +42 -0
  2. package/index.d.ts +42 -0
  3. package/index.js +111 -0
  4. package/index.mjs +4203 -0
  5. package/lib/components/Fonts/Fonts.d.ts +2 -0
  6. package/lib/components/Fonts/index.d.ts +1 -0
  7. package/lib/components/ThemeProvider/ThemeProvider.d.ts +5 -0
  8. package/lib/components/ThemeProvider/index.d.ts +1 -0
  9. package/lib/theme/accessibility/VisuallyHidden/VisuallyHidden.d.ts +2 -0
  10. package/lib/theme/actions/Button/Button.config.d.ts +106 -0
  11. package/lib/theme/actions/Button/Button.d.ts +3 -0
  12. package/lib/theme/actions/Checkbox/Checkbox.config.d.ts +74 -0
  13. package/lib/theme/actions/Checkbox/Checkbox.d.ts +6 -0
  14. package/lib/theme/actions/FormControl/FormControl.config.d.ts +91 -0
  15. package/lib/theme/actions/FormControl/FormControl.d.ts +4 -0
  16. package/lib/theme/actions/FormControl/FormError.config.d.ts +31 -0
  17. package/lib/theme/actions/FormControl/FormLabel.config.d.ts +24 -0
  18. package/lib/theme/actions/IconButton/IconButton.config.d.ts +0 -0
  19. package/lib/theme/actions/IconButton/IconButton.d.ts +3 -0
  20. package/lib/theme/actions/Input/Input.config.d.ts +49 -0
  21. package/lib/theme/actions/Input/Input.d.ts +4 -0
  22. package/lib/theme/actions/Menu/Menu.config.d.ts +98 -0
  23. package/lib/theme/actions/Menu/Menu.d.ts +3 -0
  24. package/lib/theme/actions/Radio/Radio.d.ts +10 -0
  25. package/lib/theme/actions/Select/Select.config.d.ts +61 -0
  26. package/lib/theme/actions/Select/Select.d.ts +3 -0
  27. package/lib/theme/actions/Slider/Slider.config.d.ts +19 -0
  28. package/lib/theme/actions/Slider/Slider.d.ts +3 -0
  29. package/lib/theme/data-display/Accordion/Accordion.config.d.ts +57 -0
  30. package/lib/theme/data-display/Accordion/Accordion.d.ts +3 -0
  31. package/lib/theme/data-display/List/List.d.ts +4 -0
  32. package/lib/theme/data-display/Table/Table.config.d.ts +57 -0
  33. package/lib/theme/data-display/Table/Table.d.ts +3 -0
  34. package/lib/theme/data-display/Tabs/Tabs.config.d.ts +68 -0
  35. package/lib/theme/data-display/Tabs/Tabs.d.ts +3 -0
  36. package/lib/theme/data-display/Tag/Tag.config.d.ts +491 -0
  37. package/lib/theme/data-display/Tag/Tag.d.ts +3 -0
  38. package/lib/theme/data-display/index.d.ts +2 -0
  39. package/lib/theme/feedback/Progress/Progress.config.d.ts +51 -0
  40. package/lib/theme/feedback/Progress/Progress.d.ts +11 -0
  41. package/lib/theme/feedback/Progress/Progress.utils.d.ts +8 -0
  42. package/lib/theme/feedback/Skeleton/Skeleton.config.d.ts +15 -0
  43. package/lib/theme/feedback/Skeleton/Skeleton.d.ts +4 -0
  44. package/lib/theme/feedback/Spinner/Spinner.config.d.ts +27 -0
  45. package/lib/theme/feedback/Spinner/Spinner.d.ts +3 -0
  46. package/lib/theme/foundations/colors.d.ts +213 -0
  47. package/lib/theme/hooks/UseMediaQuery/UseMediaQuery.d.ts +3 -0
  48. package/lib/theme/hooks/UseRadioGroup/UseRadioGroup.d.ts +3 -0
  49. package/lib/theme/index.d.ts +3946 -0
  50. package/lib/theme/layout/Box/Box.d.ts +3 -0
  51. package/lib/theme/layout/Container/Container.config.d.ts +33 -0
  52. package/lib/theme/layout/Container/Container.d.ts +3 -0
  53. package/lib/theme/layout/Flex/Flex.d.ts +1 -0
  54. package/lib/theme/layout/Grid/Grid.d.ts +49 -0
  55. package/lib/theme/layout/Grid/GridItem.d.ts +5 -0
  56. package/lib/theme/layout/Grid/index.d.ts +2 -0
  57. package/lib/theme/layout/Show-Hide/Show-Hide.config.d.ts +11 -0
  58. package/lib/theme/layout/Show-Hide/Show-Hide.d.ts +5 -0
  59. package/lib/theme/layout/Stack/Stack.d.ts +1 -0
  60. package/lib/theme/media/Icon/Icon.config.d.ts +21 -0
  61. package/lib/theme/media/Icon/Icon.d.ts +3 -0
  62. package/lib/theme/media/Image/Image.d.ts +3 -0
  63. package/lib/theme/navigation/Breadcrumb/Breadcrumb.d.ts +4 -0
  64. package/lib/theme/navigation/Link/Link.config.d.ts +31 -0
  65. package/lib/theme/navigation/Link/Link.d.ts +3 -0
  66. package/lib/theme/navigation/Stepper/Stepper.config.d.ts +26 -0
  67. package/lib/theme/navigation/Stepper/Stepper.d.ts +4 -0
  68. package/lib/theme/overlay/Drawer/Drawer.config.d.ts +72 -0
  69. package/lib/theme/overlay/Drawer/Drawer.d.ts +3 -0
  70. package/lib/theme/overlay/Drawer/index.d.ts +2 -0
  71. package/lib/theme/overlay/Modal/Modal.config.d.ts +106 -0
  72. package/lib/theme/overlay/Modal/Modal.d.ts +3 -0
  73. package/lib/theme/overlay/Tooltip/Tooltip.config.d.ts +17 -0
  74. package/lib/theme/overlay/Tooltip/Tooltip.d.ts +3 -0
  75. package/lib/theme/typography/Heading/Heading.config.d.ts +48 -0
  76. package/lib/theme/typography/Heading/Heading.d.ts +3 -0
  77. package/lib/theme/typography/Text/Text.config.d.ts +37 -0
  78. package/lib/theme/typography/Text/Text.d.ts +3 -0
  79. package/lib/utils/utils.storybook.d.ts +24 -0
  80. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { Box, BoxProps as ChakraButtonProps } from '@chakra-ui/react';
2
+ export type BoxProps = ChakraButtonProps;
3
+ export default Box;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ w: string;
4
+ paddingX: string;
5
+ } | undefined;
6
+ sizes?: {
7
+ sm: {
8
+ paddingX: string;
9
+ };
10
+ md: {
11
+ maxW: string;
12
+ };
13
+ lg: {
14
+ maxW: string;
15
+ };
16
+ xl: {
17
+ maxW: string;
18
+ };
19
+ ultra: {
20
+ maxW: string;
21
+ };
22
+ fluid: {
23
+ paddingX: string;
24
+ };
25
+ } | undefined;
26
+ variants?: {} | undefined;
27
+ defaultProps?: {
28
+ size?: "sm" | "md" | "lg" | "xl" | "ultra" | "fluid" | undefined;
29
+ variant?: undefined;
30
+ colorScheme?: string | undefined;
31
+ } | undefined;
32
+ };
33
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Container as ChakraContainer, ContainerProps as ChakraContainerProps } from '@chakra-ui/react';
2
+ export type ContainerProps = ChakraContainerProps;
3
+ export default ChakraContainer;
@@ -0,0 +1 @@
1
+ export { Flex, Spacer, type FlexProps } from '@chakra-ui/react';
@@ -0,0 +1,49 @@
1
+ import { FlexProps } from '@chakra-ui/react';
2
+ import React from 'react';
3
+ export declare const DEFAULT_SPACING = 4;
4
+ type Spacing = number | string | (number | string | null)[];
5
+ type NumberFrom1To12 = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
6
+ type Columns = NumberFrom1To12 | NumberFrom1To12[];
7
+ type GridContextType = {
8
+ spacing: Spacing;
9
+ columns: Columns;
10
+ };
11
+ export declare const GridContext: React.Context<GridContextType>;
12
+ export type GridProps = {
13
+ /**
14
+ * Aligns the grid items within the container to the edges.
15
+ * Essentially removing the spacing around the container
16
+ */
17
+ alignEdges?: boolean;
18
+ /**
19
+ * Define the spacing between elements using the spacing values defined
20
+ * in the design system. Default is the theme horizontal page spacing defined
21
+ * in the app's theme.
22
+ */
23
+ spacing?: Spacing;
24
+ /**
25
+ * Indicates the number of columns
26
+ */
27
+ columns?: Columns;
28
+ } & FlexProps;
29
+ /**
30
+ * Flexbox Grid component
31
+ */
32
+ declare const Grid: React.ForwardRefExoticComponent<{
33
+ /**
34
+ * Aligns the grid items within the container to the edges.
35
+ * Essentially removing the spacing around the container
36
+ */
37
+ alignEdges?: boolean;
38
+ /**
39
+ * Define the spacing between elements using the spacing values defined
40
+ * in the design system. Default is the theme horizontal page spacing defined
41
+ * in the app's theme.
42
+ */
43
+ spacing?: Spacing;
44
+ /**
45
+ * Indicates the number of columns
46
+ */
47
+ columns?: Columns;
48
+ } & FlexProps & React.RefAttributes<unknown>>;
49
+ export default Grid;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '../Box/Box';
3
+ export type GridItemProps = BoxProps;
4
+ declare const GridItem: React.ForwardRefExoticComponent<import("@chakra-ui/layout").BoxProps & React.RefAttributes<unknown>>;
5
+ export default GridItem;
@@ -0,0 +1,2 @@
1
+ export { default as Grid, type GridProps } from './Grid';
2
+ export { default as GridItem, type GridItemProps } from './GridItem';
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ baseStyle?: {} | undefined;
3
+ sizes?: {} | undefined;
4
+ variants?: {} | undefined;
5
+ defaultProps?: {
6
+ size?: undefined;
7
+ variant?: undefined;
8
+ colorScheme?: string | undefined;
9
+ } | undefined;
10
+ };
11
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { Show as ChakraShow, ShowProps as ChakraShowProps, Hide as ChakraHide, HideProps as ChakraHideProps } from '@chakra-ui/react';
2
+ export type ShowProps = ChakraShowProps;
3
+ export type HideProps = ChakraHideProps;
4
+ export declare const Show: typeof ChakraShow;
5
+ export declare const Hide: typeof ChakraHide;
@@ -0,0 +1 @@
1
+ export { Stack, HStack, VStack, type StackProps } from '@chakra-ui/react';
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ baseStyle?: {} | undefined;
3
+ sizes?: {
4
+ sm: {
5
+ fontSize: string;
6
+ };
7
+ md: {
8
+ fontSize: string;
9
+ };
10
+ lg: {
11
+ fontSize: string;
12
+ };
13
+ } | undefined;
14
+ variants?: {} | undefined;
15
+ defaultProps?: {
16
+ size?: "sm" | "md" | "lg" | undefined;
17
+ variant?: undefined;
18
+ colorScheme?: string | undefined;
19
+ } | undefined;
20
+ };
21
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Icon as ChakraIcon, IconProps as ChakraIconProps } from '@chakra-ui/react';
2
+ export type IconProps = ChakraIconProps;
3
+ export default ChakraIcon;
@@ -0,0 +1,3 @@
1
+ import { Image as ChakraImage, ImageProps as ChakraImageProps } from '@chakra-ui/react';
2
+ export type ImageProps = ChakraImageProps;
3
+ export default ChakraImage;
@@ -0,0 +1,4 @@
1
+ import { Breadcrumb as ChakraBreadcrumb, BreadcrumbProps as ChakraBreadcrumbProps, BreadcrumbItem, BreadcrumbLink, BreadcrumbSeparator } from '@chakra-ui/react';
2
+ export { BreadcrumbItem, BreadcrumbLink, BreadcrumbSeparator };
3
+ export type BreadcrumbProps = ChakraBreadcrumbProps;
4
+ export default ChakraBreadcrumb;
@@ -0,0 +1,31 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ color: string;
4
+ fontWeight: string;
5
+ _hover: {
6
+ textDecoration: string;
7
+ cursor: string;
8
+ };
9
+ } | undefined;
10
+ sizes?: {
11
+ sm: {
12
+ fontSize: ("sm" | "xs")[];
13
+ lineHeight: string;
14
+ };
15
+ md: {
16
+ fontSize: ("sm" | "md")[];
17
+ lineHeight: string;
18
+ };
19
+ lg: {
20
+ fontSize: ("md" | "lg")[];
21
+ lineHeight: string;
22
+ };
23
+ } | undefined;
24
+ variants?: {} | undefined;
25
+ defaultProps?: {
26
+ size?: "sm" | "md" | "lg" | undefined;
27
+ variant?: undefined;
28
+ colorScheme?: string | undefined;
29
+ } | undefined;
30
+ };
31
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Link as ChakraLink, LinkProps as ChakraLinkProps } from '@chakra-ui/react';
2
+ export type LinkProps = ChakraLinkProps;
3
+ export default ChakraLink;
@@ -0,0 +1,26 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ stepper: {
4
+ width: string;
5
+ backgroundColor: string;
6
+ };
7
+ step: {};
8
+ title: {};
9
+ description: {};
10
+ indicator: {};
11
+ separator: {
12
+ backgroundColor: string;
13
+ height: string;
14
+ };
15
+ icon: {};
16
+ number: {};
17
+ } | undefined;
18
+ sizes?: {} | undefined;
19
+ variants?: {} | undefined;
20
+ defaultProps?: {
21
+ size?: undefined;
22
+ variant?: undefined;
23
+ colorScheme?: string | undefined;
24
+ } | undefined;
25
+ };
26
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { Step as ChakraStep, StepDescription, StepIcon, StepIndicator, StepNumber, Stepper, StepperProps as ChakraStepperProps, StepSeparator, StepStatus, StepTitle, useSteps } from '@chakra-ui/react';
2
+ export { StepDescription, StepIcon, StepIndicator, StepNumber, StepSeparator, StepStatus, StepTitle, Stepper, useSteps, };
3
+ export type StepperProps = ChakraStepperProps;
4
+ export default ChakraStep;
@@ -0,0 +1,72 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ overlay: {
4
+ zIndex: string;
5
+ bg: (theme: Record<string, any>) => string;
6
+ };
7
+ dialogContainer: {
8
+ zIndex: string;
9
+ };
10
+ dialog: {
11
+ bg: string;
12
+ pt: number[];
13
+ display: string;
14
+ flexDirection: string;
15
+ alignItems: string;
16
+ gap: number;
17
+ boxShadow: string;
18
+ };
19
+ header: {
20
+ px: number;
21
+ display: string;
22
+ flexDirection: string;
23
+ justifyContent: string;
24
+ alignItems: string;
25
+ };
26
+ closeButton: {
27
+ bg: string;
28
+ borderRadius: string;
29
+ p: number;
30
+ _hover: {
31
+ bg: string;
32
+ };
33
+ '& .chakra-icon': {
34
+ fontSize: string;
35
+ };
36
+ };
37
+ body: {
38
+ px: number;
39
+ flexGrow: number;
40
+ };
41
+ footer: {
42
+ py: number;
43
+ px: number;
44
+ };
45
+ } | undefined;
46
+ sizes?: {
47
+ partial: {
48
+ dialog: {
49
+ maxW: number;
50
+ };
51
+ };
52
+ full: {
53
+ dialog: {
54
+ maxW: string;
55
+ minH: string;
56
+ borderRadius: number;
57
+ };
58
+ };
59
+ } | undefined;
60
+ variants?: {
61
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
62
+ keys: ("body" | "overlay" | "dialog" | "dialogContainer" | "header" | "closeButton" | "footer")[];
63
+ }>;
64
+ } | undefined;
65
+ defaultProps?: {
66
+ size?: "full" | "partial" | undefined;
67
+ variant?: string | number | undefined;
68
+ colorScheme?: string | undefined;
69
+ } | undefined;
70
+ parts: ("body" | "overlay" | "dialog" | "dialogContainer" | "header" | "closeButton" | "footer")[];
71
+ };
72
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Drawer } from '@chakra-ui/react';
2
+ export { DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, DrawerHeader, DrawerOverlay, type DrawerProps, } from '@chakra-ui/react';
3
+ export default Drawer;
@@ -0,0 +1,2 @@
1
+ export { default } from './Drawer';
2
+ export * from './Drawer';
@@ -0,0 +1,106 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ overlay: {
4
+ background: string;
5
+ zIndex: string;
6
+ };
7
+ dialogContainer: {
8
+ display: string;
9
+ zIndex: string;
10
+ justifyContent: string;
11
+ alignItems: string;
12
+ overflow: string;
13
+ };
14
+ dialog: {
15
+ borderRadius: string;
16
+ backgroundColor: string;
17
+ color: string;
18
+ marginY: string;
19
+ zIndex: string;
20
+ maxHeight: string;
21
+ boxShadow: string;
22
+ };
23
+ header: {
24
+ paddingX: string;
25
+ paddingY: string;
26
+ fontSize: string;
27
+ fontWeight: string;
28
+ };
29
+ closeButton: {
30
+ position: string;
31
+ top: string;
32
+ insetEnd: string;
33
+ width: string;
34
+ height: string;
35
+ backgroundColor: string;
36
+ borderRadius: string;
37
+ '&:has(> svg:only-child)': {
38
+ svg: {
39
+ fontSize: string;
40
+ };
41
+ };
42
+ ':hover, &.hover': {
43
+ backgroundColor: string;
44
+ };
45
+ ':active, &.active': {
46
+ backgroundColor: string;
47
+ };
48
+ ':disabled, &.disabled': {
49
+ backgroundColor: string;
50
+ color: string;
51
+ cursor: string;
52
+ };
53
+ };
54
+ body: {
55
+ paddingX: string;
56
+ paddingY: string;
57
+ flex: number;
58
+ overflow: string;
59
+ };
60
+ footer: {
61
+ paddingX: string;
62
+ paddingY: string;
63
+ };
64
+ } | undefined;
65
+ sizes?: {
66
+ xs: {
67
+ dialog: {
68
+ maxWidth: string;
69
+ };
70
+ };
71
+ sm: {
72
+ dialog: {
73
+ maxWidth: string;
74
+ };
75
+ };
76
+ md: {
77
+ dialog: {
78
+ maxWidth: string;
79
+ };
80
+ };
81
+ lg: {
82
+ dialog: {
83
+ maxWidth: string;
84
+ };
85
+ };
86
+ xl: {
87
+ dialog: {
88
+ maxWidth: string;
89
+ };
90
+ };
91
+ full: {
92
+ dialog: {
93
+ maxWidth: string;
94
+ height: string;
95
+ };
96
+ };
97
+ } | undefined;
98
+ variants?: {} | undefined;
99
+ defaultProps?: {
100
+ size?: "sm" | "md" | "lg" | "xl" | "full" | "xs" | undefined;
101
+ variant?: undefined;
102
+ colorScheme?: string | undefined;
103
+ } | undefined;
104
+ parts: ("body" | "overlay" | "dialog" | "dialogContainer" | "header" | "closeButton" | "footer")[];
105
+ };
106
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Modal } from '@chakra-ui/react';
2
+ export { ModalOverlay, ModalContent, ModalHeader, ModalFooter, ModalBody, ModalCloseButton, type ModalProps, type ModalOverlayProps, type ModalContentProps, type ModalHeaderProps, type ModalFooterProps, type ModalBodyProps, type ModalCloseButtonProps, useDisclosure, type UseDisclosureProps, } from '@chakra-ui/react';
3
+ export default Modal;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ padding: number;
4
+ borderRadius: number;
5
+ zIndex: string;
6
+ } | undefined;
7
+ sizes?: {} | undefined;
8
+ variants?: {
9
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
10
+ } | undefined;
11
+ defaultProps?: {
12
+ size?: undefined;
13
+ variant?: string | number | undefined;
14
+ colorScheme?: string | undefined;
15
+ } | undefined;
16
+ };
17
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Tooltip as ChakraTooltip, TooltipProps as ChakraTooltipProps } from '@chakra-ui/react';
2
+ export type TooltipProps = ChakraTooltipProps;
3
+ export default ChakraTooltip;
@@ -0,0 +1,48 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ fontFamily: string;
4
+ fontWeight: string;
5
+ color: string;
6
+ } | undefined;
7
+ sizes?: {
8
+ '3xl': {
9
+ fontSize: ("6xl" | "10xl")[];
10
+ lineHeight: string;
11
+ };
12
+ '2xl': {
13
+ fontSize: ("5xl" | "8xl")[];
14
+ lineHeight: string;
15
+ };
16
+ xl: {
17
+ fontSize: ("4xl" | "6xl")[];
18
+ lineHeight: string;
19
+ };
20
+ lg: {
21
+ fontFamily: string;
22
+ fontWeight: string;
23
+ fontSize: ("3xl" | "5xl")[];
24
+ lineHeight: string;
25
+ };
26
+ md: {
27
+ fontFamily: string;
28
+ fontWeight: string;
29
+ fontSize: ("2xl" | "3xl")[];
30
+ lineHeight: string;
31
+ };
32
+ sm: {
33
+ fontFamily: string;
34
+ fontWeight: string;
35
+ fontSize: ("lg" | "2xl")[];
36
+ lineHeight: string;
37
+ };
38
+ } | undefined;
39
+ variants?: {
40
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
41
+ } | undefined;
42
+ defaultProps?: {
43
+ size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | undefined;
44
+ variant?: string | number | undefined;
45
+ colorScheme?: string | undefined;
46
+ } | undefined;
47
+ };
48
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Heading, HeadingProps as ChakraHeadingProps } from '@chakra-ui/react';
2
+ export type HeadingProps = ChakraHeadingProps;
3
+ export default Heading;
@@ -0,0 +1,37 @@
1
+ declare const _default: {
2
+ baseStyle?: {
3
+ fontFamily: string;
4
+ fontWeight: string;
5
+ lineHeight: string;
6
+ letterSpacing: string;
7
+ fontSize: string;
8
+ p: number;
9
+ } | undefined;
10
+ sizes?: {
11
+ xs: {
12
+ fontSize: ("xs" | "2xs")[];
13
+ };
14
+ sm: {
15
+ fontSize: ("sm" | "xs")[];
16
+ };
17
+ md: {
18
+ fontSize: ("sm" | "md")[];
19
+ };
20
+ lg: {
21
+ fontSize: ("md" | "lg")[];
22
+ };
23
+ xl: {
24
+ fontSize: ("lg" | "2xl")[];
25
+ lineHeight: ("shorter" | "short")[];
26
+ };
27
+ } | undefined;
28
+ variants?: {
29
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
30
+ } | undefined;
31
+ defaultProps?: {
32
+ size?: "sm" | "md" | "lg" | "xl" | "xs" | undefined;
33
+ variant?: string | number | undefined;
34
+ colorScheme?: string | undefined;
35
+ } | undefined;
36
+ };
37
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Text as ChakraText, TextProps as ChakraTextProps } from '@chakra-ui/react';
2
+ export type TextProps = ChakraTextProps;
3
+ export default ChakraText;
@@ -0,0 +1,24 @@
1
+ import { StoryFn } from '@storybook/react';
2
+ type Options<T> = {
3
+ /**
4
+ * The default props for the story.
5
+ */
6
+ defaultProps: T;
7
+ /**
8
+ * The description of the story.
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Custom name of the story.
13
+ */
14
+ customStoryName?: string;
15
+ /**
16
+ * The layout of the story.
17
+ *
18
+ * @default 'centered'
19
+ */
20
+ layout?: 'fullscreen' | 'padded' | 'centered';
21
+ };
22
+ export declare function createPrimary<T>(story: StoryFn<T>, options: Options<T>): StoryFn<T>;
23
+ export declare function flattenObject(obj: Record<string, unknown>, prefix?: string): Record<string, unknown>;
24
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/ui-kit",
3
- "version": "1.11.4",
3
+ "version": "1.11.6",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {