@ctlyst.id/internal-ui 2.1.11-canary.0 → 2.1.11-canary.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. package/dist/components/accordion/__stories__/accordion.stories.d.ts +9 -0
  2. package/dist/components/accordion/components/accordion-indicator.d.ts +1 -0
  3. package/dist/components/accordion/components/index.d.ts +2 -0
  4. package/dist/components/accordion/index.d.ts +1 -0
  5. package/dist/components/alert/__stories__/alert.stories.d.ts +11 -0
  6. package/dist/components/alert/components/alert-action.d.ts +6 -0
  7. package/dist/components/alert/components/alert-close.d.ts +6 -0
  8. package/dist/components/alert/components/alert-context.d.ts +33 -0
  9. package/dist/components/alert/components/alert-description.d.ts +3 -0
  10. package/dist/components/alert/components/alert-icon.d.ts +6 -0
  11. package/dist/components/alert/components/alert-title.d.ts +3 -0
  12. package/dist/components/alert/components/alert.d.ts +25 -0
  13. package/dist/components/alert/components/icons.d.ts +3 -0
  14. package/dist/components/alert/components/index.d.ts +14 -0
  15. package/dist/components/alert/index.d.ts +1 -0
  16. package/dist/components/anchor/__stories__/anchor.stories.d.ts +9 -0
  17. package/dist/components/anchor/components/anchor.d.ts +20 -0
  18. package/dist/components/anchor/components/index.d.ts +1 -0
  19. package/dist/components/anchor/index.d.ts +1 -0
  20. package/dist/components/badge/__stories__/badge.stories.d.ts +15 -0
  21. package/dist/components/badge/components/badge.d.ts +11 -0
  22. package/dist/components/badge/components/index.d.ts +1 -0
  23. package/dist/components/badge/index.d.ts +1 -0
  24. package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +8 -0
  25. package/dist/components/breadcrumb/components/bread-crumb.d.ts +18 -0
  26. package/dist/components/breadcrumb/index.d.ts +2 -0
  27. package/dist/components/button/__stories__/button.stories.d.ts +12 -0
  28. package/dist/components/button/components/button.d.ts +4 -0
  29. package/dist/components/button/index.d.ts +3 -0
  30. package/dist/components/card/__stories__/card.stories.d.ts +8 -0
  31. package/dist/components/card/components/card.d.ts +8 -0
  32. package/dist/components/card/index.d.ts +2 -0
  33. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +13 -0
  34. package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
  35. package/dist/components/checkbox/components/checkbox.d.ts +10 -0
  36. package/dist/components/checkbox/index.d.ts +5 -0
  37. package/dist/components/chips/__stories__/chips.stories.d.ts +9 -0
  38. package/dist/components/chips/components/chips.d.ts +19 -0
  39. package/dist/components/chips/index.d.ts +2 -0
  40. package/dist/components/collapse/__stories__/collapse.stories.d.ts +7 -0
  41. package/dist/components/counter/__stories__/counter.stories.d.ts +10 -0
  42. package/dist/components/counter/components/counter.d.ts +15 -0
  43. package/dist/components/counter/index.d.ts +1 -0
  44. package/dist/components/data-table/__stories__/datatable.stories.d.ts +22 -0
  45. package/dist/components/data-table/components/data-table.d.ts +36 -0
  46. package/dist/components/data-table/index.d.ts +2 -0
  47. package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +13 -0
  48. package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +9 -0
  49. package/dist/components/datepicker/components/datepicker-month/index.d.ts +4 -0
  50. package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +9 -0
  51. package/dist/components/datepicker/components/datepicker.d.ts +17 -0
  52. package/dist/components/datepicker/components/styles.d.ts +2 -0
  53. package/dist/components/datepicker/components/time-input.d.ts +9 -0
  54. package/dist/components/datepicker/index.d.ts +3 -0
  55. package/dist/components/dialog/__stories__/dialog.stories.d.ts +7 -0
  56. package/dist/components/dialog/components/dialog.d.ts +12 -0
  57. package/dist/components/dialog/index.d.ts +1 -0
  58. package/dist/components/empty-state/__stories__/dialog.stories.d.ts +7 -0
  59. package/dist/components/field/__stories__/field.stories.d.ts +7 -0
  60. package/dist/components/field/components/field.d.ts +15 -0
  61. package/dist/components/field/index.d.ts +2 -0
  62. package/dist/components/form/__stories__/input.stories.d.ts +15 -0
  63. package/dist/components/form/__stories__/textarea.stories.d.ts +7 -0
  64. package/dist/components/form/components/input-addon.d.ts +7 -0
  65. package/dist/components/form/components/input-element.d.ts +2 -0
  66. package/dist/components/form/components/input-field.d.ts +13 -0
  67. package/dist/components/form/components/textarea.d.ts +8 -0
  68. package/dist/components/form/index.d.ts +7 -0
  69. package/dist/components/form/styles/input-field.d.ts +4 -0
  70. package/dist/components/header/__stories__/header.stories.d.ts +9 -0
  71. package/dist/components/header/components/header.d.ts +19 -0
  72. package/dist/components/header/components/logo.d.ts +10 -0
  73. package/dist/components/header/components/profile.d.ts +11 -0
  74. package/dist/components/header/components/switch-mode.d.ts +3 -0
  75. package/dist/components/header/components/version.d.ts +10 -0
  76. package/dist/components/header/index.d.ts +3 -0
  77. package/dist/components/header/types.d.ts +10 -0
  78. package/dist/components/header/utils/formatter.d.ts +2 -0
  79. package/dist/components/image/__stories__/image.stories.d.ts +9 -0
  80. package/dist/components/image/index.d.ts +1 -0
  81. package/dist/components/index.d.ts +34 -0
  82. package/dist/components/layouting/index.d.ts +1 -0
  83. package/dist/components/list/index.d.ts +1 -0
  84. package/dist/components/loader/__stories__/loader.stories.d.ts +9 -0
  85. package/dist/components/loader/components/loader.d.ts +10 -0
  86. package/dist/components/loader/index.d.ts +3 -0
  87. package/dist/components/modal/__stories__/modal.stories.d.ts +7 -0
  88. package/dist/components/modal/components/modal-body.d.ts +4 -0
  89. package/dist/components/modal/components/modal-close-button.d.ts +4 -0
  90. package/dist/components/modal/components/modal-footer.d.ts +4 -0
  91. package/dist/components/modal/components/modal-header.d.ts +4 -0
  92. package/dist/components/modal/index.d.ts +5 -0
  93. package/dist/components/navigation/__stories__/navigation.stories.d.ts +8 -0
  94. package/dist/components/navigation/components/customer-icon.d.ts +2 -0
  95. package/dist/components/navigation/components/mapping-icon.d.ts +2 -0
  96. package/dist/components/navigation/components/navigation-bar.d.ts +12 -0
  97. package/dist/components/navigation/components/navigation.d.ts +11 -0
  98. package/dist/components/navigation/index.d.ts +4 -0
  99. package/dist/components/navigation/types.d.ts +24 -0
  100. package/dist/components/pagination/__stories__/pagination.stories.d.ts +10 -0
  101. package/dist/components/pagination/components/pagination-button-trigger.d.ts +10 -0
  102. package/dist/components/pagination/components/pagination-button.d.ts +6 -0
  103. package/dist/components/pagination/components/pagination-detail.d.ts +10 -0
  104. package/dist/components/pagination/components/pagination-filter.d.ts +13 -0
  105. package/dist/components/pagination/components/pagination.d.ts +16 -0
  106. package/dist/components/pagination/index.d.ts +6 -0
  107. package/dist/components/popover/index.d.ts +1 -0
  108. package/dist/components/radio/__stories__/radio.stories.d.ts +13 -0
  109. package/dist/components/radio/components/radio-group.d.ts +18 -0
  110. package/dist/components/radio/components/radio.d.ts +17 -0
  111. package/dist/components/radio/index.d.ts +3 -0
  112. package/dist/components/rating/__stories__/rating.stories.d.ts +7 -0
  113. package/dist/components/rating/components/rating.d.ts +6 -0
  114. package/dist/components/rating/index.d.ts +2 -0
  115. package/dist/components/select/__stories__/select.stories.d.ts +10 -0
  116. package/dist/components/select/components/select-async-creatable.d.ts +5 -0
  117. package/dist/components/select/components/select-async.d.ts +6 -0
  118. package/dist/components/select/components/select-creatable.d.ts +5 -0
  119. package/dist/components/select/components/select-wrapper.d.ts +6 -0
  120. package/dist/components/select/components/select.d.ts +5 -0
  121. package/dist/components/select/components/types/select.types.d.ts +3 -0
  122. package/dist/components/select/components/utils.d.ts +26 -0
  123. package/dist/components/select/index.d.ts +8 -0
  124. package/dist/components/switch/__stories__/switch.stories.d.ts +10 -0
  125. package/dist/components/switch/components/switch.d.ts +18 -0
  126. package/dist/components/switch/index.d.ts +2 -0
  127. package/dist/components/table/index.d.ts +1 -0
  128. package/dist/components/tabs/__stories__/tabs.stories.d.ts +8 -0
  129. package/dist/components/tabs/components/tab.d.ts +12 -0
  130. package/dist/components/tabs/index.d.ts +2 -0
  131. package/dist/components/text/index.d.ts +1 -0
  132. package/dist/components/toast/__stories__/toast.stories.d.ts +12 -0
  133. package/dist/components/toast/components/toast.d.ts +21 -0
  134. package/dist/components/toast/index.d.ts +1 -0
  135. package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +7 -0
  136. package/dist/components/tooltip/index.d.ts +1 -0
  137. package/dist/components/uploader/__stories__/uploader.stories.d.ts +9 -0
  138. package/dist/components/uploader/components/uploader.d.ts +12 -0
  139. package/dist/components/uploader/constants.d.ts +8 -0
  140. package/dist/components/uploader/index.d.ts +2 -0
  141. package/dist/config/__stories__/foundations.stories.d.ts +15 -0
  142. package/dist/config/__stories__/globals.stories.d.ts +10 -0
  143. package/dist/config/index.d.ts +1 -0
  144. package/dist/config/theme/components/accordion.d.ts +53 -0
  145. package/dist/config/theme/components/alert.d.ts +69 -0
  146. package/dist/config/theme/components/badge.d.ts +3 -0
  147. package/dist/config/theme/components/button.d.ts +3 -0
  148. package/dist/config/theme/components/card.d.ts +18 -0
  149. package/dist/config/theme/components/checkbox.d.ts +101 -0
  150. package/dist/config/theme/components/chips.d.ts +34 -0
  151. package/dist/config/theme/components/form-label.d.ts +20 -0
  152. package/dist/config/theme/components/index.d.ts +16 -0
  153. package/dist/config/theme/components/input.d.ts +101 -0
  154. package/dist/config/theme/components/loader.d.ts +85 -0
  155. package/dist/config/theme/components/popover.d.ts +3 -0
  156. package/dist/config/theme/components/radio.d.ts +102 -0
  157. package/dist/config/theme/components/switch.d.ts +75 -0
  158. package/dist/config/theme/components/table.d.ts +197 -0
  159. package/dist/config/theme/components/tabs.d.ts +30 -0
  160. package/dist/config/theme/components/textarea.d.ts +55 -0
  161. package/dist/config/theme/foundations/index.d.ts +5 -0
  162. package/dist/config/theme/foundations/radius.d.ts +8 -0
  163. package/dist/config/theme/foundations/shadows.d.ts +15 -0
  164. package/dist/config/theme/foundations/sizes.d.ts +66 -0
  165. package/dist/config/theme/foundations/spacing.d.ts +42 -0
  166. package/dist/config/theme/foundations/typography.d.ts +191 -0
  167. package/dist/config/theme/index.d.ts +1 -0
  168. package/dist/config/theme/themeConfiguration.d.ts +6 -0
  169. package/dist/hooks/index.d.ts +2 -0
  170. package/dist/hooks/useFetcher.d.ts +4 -0
  171. package/dist/interfaces/common.d.ts +17 -0
  172. package/dist/internal-ui.cjs.development.js +6217 -0
  173. package/dist/internal-ui.cjs.development.js.map +1 -0
  174. package/dist/internal-ui.cjs.production.min.js +38 -0
  175. package/dist/internal-ui.cjs.production.min.js.map +1 -0
  176. package/dist/internal-ui.esm.js +5179 -0
  177. package/dist/internal-ui.esm.js.map +1 -0
  178. package/dist/provider/__stories__/provider.stories.d.ts +13 -0
  179. package/dist/provider/components/provider.d.ts +7 -0
  180. package/dist/provider/index.d.ts +3 -0
  181. package/dist/provider/types.d.ts +14 -0
  182. package/package.json +5 -5
@@ -0,0 +1,26 @@
1
+ import type { ColorMode } from '@chakra-ui/system';
2
+ import type { GroupBase, StylesConfig, Theme } from 'react-select';
3
+ export declare function selectStyles<OptionType = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<OptionType> = GroupBase<OptionType>>(colorMode: ColorMode, _isError: boolean): StylesConfig<OptionType, IsMulti, Group> | undefined;
4
+ export declare const themeSelect: (theme: Theme) => {
5
+ colors: {
6
+ primary: string;
7
+ primary25: string;
8
+ primary50: string;
9
+ primary75: string;
10
+ danger: string;
11
+ dangerLight: string;
12
+ neutral0: string;
13
+ neutral5: string;
14
+ neutral10: string;
15
+ neutral20: string;
16
+ neutral30: string;
17
+ neutral40: string;
18
+ neutral50: string;
19
+ neutral60: string;
20
+ neutral70: string;
21
+ neutral80: string;
22
+ neutral90: string;
23
+ };
24
+ borderRadius: number;
25
+ spacing: import("react-select").ThemeSpacing;
26
+ };
@@ -0,0 +1,8 @@
1
+ export { default as Select } from './components/select';
2
+ export * from './components/select';
3
+ export { default as SelectAsync } from './components/select-async';
4
+ export * from './components/select-async';
5
+ export { default as SelectAsyncCreatable } from './components/select-async-creatable';
6
+ export * from './components/select-async-creatable';
7
+ export { default as SelectCreatable } from './components/select-creatable';
8
+ export * from './components/select-creatable';
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((Story: React.ElementType) => JSX.Element)[];
5
+ };
6
+ export default _default;
7
+ export declare const Default: () => JSX.Element;
8
+ export declare const Disabled: () => JSX.Element;
9
+ export declare const Size: () => JSX.Element;
10
+ export declare const WithLabel: () => JSX.Element;
@@ -0,0 +1,18 @@
1
+ import type { HTMLChakraProps, SystemProps, ThemingProps, UseCheckboxProps } from '@chakra-ui/react';
2
+ export interface SwitchProps extends Omit<UseCheckboxProps, 'isIndeterminate'>, Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>, ThemingProps<'Switch'> {
3
+ /**
4
+ * The spacing between the switch and its label text
5
+ * @default 0.5rem
6
+ * @type SystemProps["marginLeft"]
7
+ */
8
+ spacing?: SystemProps['marginLeft'];
9
+ size?: 'sm' | 'md' | 'lg';
10
+ }
11
+ /**
12
+ * The `Switch` component is used as an alternative for the checkbox component for switching between "enabled" and "disabled" states.
13
+ *
14
+ * @see Docs https://chakra-ui.com/docs/components/switch
15
+ * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/
16
+ */
17
+ declare const Switch: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"input", SwitchProps>;
18
+ export default Switch;
@@ -0,0 +1,2 @@
1
+ export { default as Switch } from './components/switch';
2
+ export * from './components/switch';
@@ -0,0 +1 @@
1
+ export { Table as ChakraTable, TableBodyProps, TableCellProps, TableColumnHeaderProps, TableHeadProps, TableProps, TableRowProps, Tbody, Td, Th, Thead, Tr, } from '@chakra-ui/react';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((Story: React.ElementType) => JSX.Element)[];
5
+ };
6
+ export default _default;
7
+ export declare const TabsDefault: () => JSX.Element;
8
+ export declare const TabsWithPills: () => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import type { TabProps as ChakraTabProps } from '@chakra-ui/react';
2
+ import * as React from 'react';
3
+ declare type AddonProps = {
4
+ isSelected: boolean;
5
+ };
6
+ declare type TabProps = ChakraTabProps & {
7
+ 'data-test-id'?: string;
8
+ leftAddon?({ isSelected }: AddonProps): React.ReactNode;
9
+ rightAddon?({ isSelected }: AddonProps): React.ReactNode;
10
+ };
11
+ declare const Tab: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"button", TabProps>;
12
+ export default Tab;
@@ -0,0 +1,2 @@
1
+ export { default as Tab } from './components/tab';
2
+ export { TabIndicator, TabIndicatorProps, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, Tabs, TabsDescendantsProvider, TabsProps, TabsProvider, useTab, useTabIndicator, useTabList, UseTabListProps, UseTabListReturn, UseTabOptions, useTabPanel, useTabPanels, UseTabPanelsProps, UseTabProps, useTabs, useTabsContext, useTabsDescendant, useTabsDescendants, useTabsDescendantsContext, UseTabsProps, UseTabsReturn, useTabsStyles, } from '@chakra-ui/react';
@@ -0,0 +1 @@
1
+ export { Code, CodeProps, Heading, HeadingProps, Link, LinkProps, Text, TextProps } from '@chakra-ui/react';
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((Story: React.ElementType) => JSX.Element)[];
5
+ };
6
+ export default _default;
7
+ export declare const ToastPosition: () => JSX.Element;
8
+ export declare const ToastVariant: () => JSX.Element;
9
+ export declare const ToastIcon: () => JSX.Element;
10
+ export declare const ToastLink: () => JSX.Element;
11
+ export declare const ToastIconAndLink: () => JSX.Element;
12
+ export declare const ToastCustomColor: () => JSX.Element;
@@ -0,0 +1,21 @@
1
+ import 'react-toastify/dist/ReactToastify.css';
2
+ import '@fontsource/poppins/400.css';
3
+ import type { ToastOptions } from 'react-toastify';
4
+ import type { ToastIcon } from 'react-toastify/dist/types';
5
+ interface CustomToastOptions extends Omit<ToastOptions, 'icon'> {
6
+ icon?: ToastIcon;
7
+ link?: {
8
+ url: string;
9
+ label: string;
10
+ };
11
+ }
12
+ declare const useToast: () => {
13
+ primary: (message: string, options?: CustomToastOptions | undefined) => void;
14
+ neutral: (message: string, options?: CustomToastOptions | undefined) => void;
15
+ success: (message: string, options?: CustomToastOptions | undefined) => void;
16
+ error: (message: string, options?: CustomToastOptions | undefined) => void;
17
+ warning: (message: string, options?: CustomToastOptions | undefined) => void;
18
+ info: (message: string, options?: CustomToastOptions | undefined) => void;
19
+ custom: (message: string, options?: CustomToastOptions | undefined) => void;
20
+ };
21
+ export default useToast;
@@ -0,0 +1 @@
1
+ export { default as Toast } from './components/toast';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((Story: React.ElementType) => JSX.Element)[];
5
+ };
6
+ export default _default;
7
+ export declare const Default: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export { Tooltip, TooltipProps } from '@chakra-ui/react';
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((Story: React.ElementType) => JSX.Element)[];
5
+ };
6
+ export default _default;
7
+ export declare const UploaderDefault: () => JSX.Element;
8
+ export declare const UploaderWithValidation: () => JSX.Element;
9
+ export declare const UploaderMultiple: () => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import type { FlexProps } from '@chakra-ui/react';
2
+ import * as React from 'react';
3
+ import type { DropzoneOptions, DropzoneState, FileRejection } from 'react-dropzone';
4
+ export declare type UploaderProps = FlexProps & DropzoneOptions & {
5
+ onHandleUploadFile?: (res: File[]) => void;
6
+ onHandleRejections?: (rejections: FileRejection[]) => void;
7
+ renderError?: (rejections: FileRejection[]) => React.ReactNode;
8
+ selected?: boolean;
9
+ };
10
+ export declare type UploaderState = DropzoneState;
11
+ declare const Uploader: React.FC<UploaderProps>;
12
+ export default Uploader;
@@ -0,0 +1,8 @@
1
+ export declare const ONE_MEGA_BYTE = 1000000;
2
+ export declare const messages: {
3
+ dragActive: string;
4
+ dragInActive: string;
5
+ dragReplace: string;
6
+ replaceFile: string;
7
+ uploadFile: string;
8
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Uploader } from './components/uploader';
2
+ export * from './components/uploader';
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ controls: {
5
+ disabled: boolean;
6
+ };
7
+ };
8
+ };
9
+ export default _default;
10
+ export declare const Color: () => JSX.Element;
11
+ export declare const Typography: () => JSX.Element;
12
+ export declare const Radius: () => JSX.Element;
13
+ export declare const Shadow: () => JSX.Element;
14
+ export declare const Spacing: () => JSX.Element;
15
+ export declare const Sizes: () => JSX.Element;
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ controls: {
5
+ disabled: boolean;
6
+ };
7
+ };
8
+ };
9
+ export default _default;
10
+ export declare const Scrollbar: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './theme';
@@ -0,0 +1,53 @@
1
+ declare const accordionTheme: {
2
+ baseStyle?: {
3
+ container: {
4
+ border: string;
5
+ };
6
+ button: {
7
+ height: number;
8
+ transitionProperty: string;
9
+ transitionDuration: string;
10
+ gap: number;
11
+ fontSize: string;
12
+ bg: string;
13
+ _focusVisible: {
14
+ bg: string;
15
+ };
16
+ _hover: {
17
+ bg: string;
18
+ };
19
+ _disabled: {
20
+ opacity: number;
21
+ cursor: string;
22
+ };
23
+ py: number;
24
+ px: number;
25
+ position: string;
26
+ };
27
+ panel: {
28
+ pt: string;
29
+ px: string;
30
+ pb: string;
31
+ };
32
+ icon: {
33
+ fontSize: string;
34
+ };
35
+ } | undefined;
36
+ sizes?: {
37
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
38
+ keys: ("container" | "root" | "button" | "panel" | "icon")[];
39
+ }>;
40
+ } | undefined;
41
+ variants?: {
42
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
43
+ keys: ("container" | "root" | "button" | "panel" | "icon")[];
44
+ }>;
45
+ } | undefined;
46
+ defaultProps?: {
47
+ size?: string | number | undefined;
48
+ variant?: string | number | undefined;
49
+ colorScheme?: string | undefined;
50
+ } | undefined;
51
+ parts: ("container" | "root" | "button" | "panel" | "icon")[];
52
+ };
53
+ export default accordionTheme;
@@ -0,0 +1,69 @@
1
+ import type { StyleFunctionProps } from '@chakra-ui/styled-system';
2
+ declare const alertTheme: {
3
+ baseStyle?: ((props: StyleFunctionProps) => {
4
+ container: {
5
+ bg: string;
6
+ px: string;
7
+ py: string;
8
+ borderRadius: string;
9
+ };
10
+ title: {
11
+ fontWeight: string;
12
+ textStyle: string;
13
+ marginEnd: string;
14
+ };
15
+ description: {
16
+ lineHeight: string;
17
+ };
18
+ icon: {
19
+ color: string;
20
+ flexShrink: number;
21
+ marginEnd: string;
22
+ w: string;
23
+ h: string;
24
+ };
25
+ action: {
26
+ color: string;
27
+ '& +.chakra-alert__close': {
28
+ ml: string;
29
+ };
30
+ };
31
+ close: {
32
+ color: string;
33
+ w: string;
34
+ h: string;
35
+ };
36
+ spinner: {
37
+ color: string;
38
+ flexShrink: number;
39
+ marginEnd: string;
40
+ w: string;
41
+ h: string;
42
+ };
43
+ }) | undefined;
44
+ sizes?: {
45
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
46
+ keys: ("container" | "icon" | "title" | "description" | "spinner")[];
47
+ }>;
48
+ } | undefined;
49
+ variants?: {
50
+ light: (props: StyleFunctionProps) => {
51
+ container: {
52
+ [x: string]: string;
53
+ color: string;
54
+ };
55
+ };
56
+ solid: (props: StyleFunctionProps) => {
57
+ container: {
58
+ [x: string]: string;
59
+ };
60
+ };
61
+ } | undefined;
62
+ defaultProps?: {
63
+ size?: string | number | undefined;
64
+ variant?: "light" | "solid" | undefined;
65
+ colorScheme?: string | undefined;
66
+ } | undefined;
67
+ parts: ("container" | "icon" | "title" | "description" | "spinner")[];
68
+ };
69
+ export default alertTheme;
@@ -0,0 +1,3 @@
1
+ import type { ComponentStyleConfig } from '@chakra-ui/theme';
2
+ declare const Badge: ComponentStyleConfig;
3
+ export default Badge;
@@ -0,0 +1,3 @@
1
+ import type { ComponentStyleConfig } from '@chakra-ui/theme';
2
+ declare const Button: ComponentStyleConfig;
3
+ export default Button;
@@ -0,0 +1,18 @@
1
+ declare const CardStyle: {
2
+ baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
3
+ shadow: string;
4
+ borderRadius: string;
5
+ }) | undefined;
6
+ sizes?: {
7
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
8
+ } | undefined;
9
+ variants?: {
10
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
11
+ } | undefined;
12
+ defaultProps?: {
13
+ size?: string | number | undefined;
14
+ variant?: string | number | undefined;
15
+ colorScheme?: string | undefined;
16
+ } | undefined;
17
+ };
18
+ export default CardStyle;
@@ -0,0 +1,101 @@
1
+ declare const Checkbox: {
2
+ baseStyle?: {
3
+ control: {
4
+ borderRadius: string;
5
+ w: number;
6
+ h: number;
7
+ border: string;
8
+ };
9
+ icon: {
10
+ color: string;
11
+ };
12
+ label: {
13
+ textStyle: string;
14
+ color: string;
15
+ ml: number;
16
+ };
17
+ _disabled: {
18
+ background: string;
19
+ border: string;
20
+ borderColor: string;
21
+ cursor: string;
22
+ };
23
+ } | undefined;
24
+ sizes?: {
25
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
26
+ keys: ("container" | "icon" | "label" | "control")[];
27
+ }>;
28
+ } | undefined;
29
+ variants?: {
30
+ errors: {
31
+ control: {
32
+ borderColor: string;
33
+ _checked: {
34
+ borderColor: string;
35
+ backgroundColor: string;
36
+ _hover: {
37
+ borderColor: string;
38
+ backgroundColor: string;
39
+ };
40
+ };
41
+ _indeterminate: {
42
+ borderColor: string;
43
+ backgroundColor: string;
44
+ };
45
+ };
46
+ label: {
47
+ textStyle: string;
48
+ };
49
+ icon: {
50
+ fontSize: string;
51
+ };
52
+ };
53
+ unstyled: {
54
+ control: {
55
+ borderColor: string;
56
+ _checked: {
57
+ borderColor: string;
58
+ backgroundColor: string;
59
+ _hover: {
60
+ borderColor: string;
61
+ backgroundColor: string;
62
+ };
63
+ _disabled: {
64
+ backgroundColor: string;
65
+ borderColor: string;
66
+ opacity: number;
67
+ };
68
+ };
69
+ _disabled: {
70
+ backgroundColor: string;
71
+ borderColor: string;
72
+ };
73
+ _indeterminate: {
74
+ borderColor: string;
75
+ backgroundColor: string;
76
+ _disabled: {
77
+ backgroundColor: string;
78
+ borderColor: string;
79
+ opacity: number;
80
+ };
81
+ };
82
+ };
83
+ label: {
84
+ textStyle: string;
85
+ _disabled: {
86
+ opacity: number;
87
+ };
88
+ };
89
+ icon: {
90
+ fontSize: string;
91
+ };
92
+ };
93
+ } | undefined;
94
+ defaultProps?: {
95
+ size?: string | number | undefined;
96
+ variant?: "unstyled" | "errors" | undefined;
97
+ colorScheme?: string | undefined;
98
+ } | undefined;
99
+ parts: ("container" | "icon" | "label" | "control")[];
100
+ };
101
+ export default Checkbox;
@@ -0,0 +1,34 @@
1
+ declare const Chips: {
2
+ baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
3
+ color: string;
4
+ textStyle: string;
5
+ borderRadius: string;
6
+ borderWidth: string;
7
+ borderColor: string;
8
+ bg: string;
9
+ px: number;
10
+ py: number;
11
+ cursor: string;
12
+ _hover: {
13
+ bg: string;
14
+ };
15
+ }) | undefined;
16
+ sizes?: {
17
+ sm: {
18
+ textStyle: string;
19
+ };
20
+ md: {
21
+ textStyle: string;
22
+ py: number;
23
+ };
24
+ } | undefined;
25
+ variants?: {
26
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
27
+ } | undefined;
28
+ defaultProps?: {
29
+ size?: "sm" | "md" | undefined;
30
+ variant?: string | number | undefined;
31
+ colorScheme?: string | undefined;
32
+ } | undefined;
33
+ };
34
+ export default Chips;
@@ -0,0 +1,20 @@
1
+ declare const FormLabel: {
2
+ baseStyle?: {
3
+ fontSize: string;
4
+ fontWeight: string;
5
+ marginEnd: number;
6
+ mb: number;
7
+ } | undefined;
8
+ sizes?: {
9
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
10
+ } | undefined;
11
+ variants?: {
12
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
13
+ } | undefined;
14
+ defaultProps?: {
15
+ size?: string | number | undefined;
16
+ variant?: string | number | undefined;
17
+ colorScheme?: string | undefined;
18
+ } | undefined;
19
+ };
20
+ export default FormLabel;
@@ -0,0 +1,16 @@
1
+ export { default as Accordion } from './accordion';
2
+ export { default as Alert } from './alert';
3
+ export { default as Badge } from './badge';
4
+ export { default as Button } from './button';
5
+ export { default as Card } from './card';
6
+ export { default as Checkbox } from './checkbox';
7
+ export { default as Chips } from './chips';
8
+ export { default as FormLabel } from './form-label';
9
+ export { default as Input } from './input';
10
+ export { default as LoaderStyle } from './loader';
11
+ export { default as Popover } from './popover';
12
+ export { default as Radio } from './radio';
13
+ export { default as Switch } from './switch';
14
+ export { default as Table } from './table';
15
+ export { default as Tabs } from './tabs';
16
+ export { default as Textarea } from './textarea';
@@ -0,0 +1,101 @@
1
+ declare const Input: {
2
+ baseStyle?: {
3
+ field: {
4
+ width: string;
5
+ minWidth: number;
6
+ outline: number;
7
+ px: number;
8
+ py: number;
9
+ paddingInlineStart: number;
10
+ paddingInlineEnd: number;
11
+ position: string;
12
+ appearance: string;
13
+ color: string;
14
+ _disabled: {
15
+ bg: string;
16
+ border: number;
17
+ cursor: string;
18
+ opacity: number;
19
+ boxShadow: string;
20
+ color: string;
21
+ };
22
+ _placeholder: {
23
+ color: string;
24
+ };
25
+ };
26
+ } | undefined;
27
+ sizes?: {
28
+ lg: {
29
+ field: {
30
+ fontSize: string;
31
+ h: number;
32
+ borderRadius: string;
33
+ };
34
+ addon: {
35
+ fontSize: string;
36
+ h: number;
37
+ borderRadius: string;
38
+ };
39
+ };
40
+ md: {
41
+ field: {
42
+ fontSize: string;
43
+ h: number;
44
+ borderRadius: string;
45
+ };
46
+ addon: {
47
+ fontSize: string;
48
+ h: number;
49
+ borderRadius: string;
50
+ };
51
+ };
52
+ sm: {
53
+ field: {
54
+ fontSize: string;
55
+ h: number;
56
+ borderRadius: string;
57
+ };
58
+ addon: {
59
+ fontSize: string;
60
+ h: number;
61
+ borderRadius: string;
62
+ };
63
+ };
64
+ } | undefined;
65
+ variants?: {
66
+ outline: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
67
+ field: {
68
+ border: number;
69
+ outline: number;
70
+ bg: string;
71
+ color: string;
72
+ _invalid: {
73
+ boxShadow: string;
74
+ };
75
+ _focusVisible: {
76
+ zIndex: number;
77
+ boxShadow: string;
78
+ };
79
+ };
80
+ };
81
+ unstyled: {
82
+ field: {
83
+ bg: string;
84
+ px: string;
85
+ height: string;
86
+ };
87
+ addon: {
88
+ bg: string;
89
+ px: string;
90
+ height: string;
91
+ };
92
+ };
93
+ } | undefined;
94
+ defaultProps?: {
95
+ size?: "sm" | "md" | "lg" | undefined;
96
+ variant?: "outline" | "unstyled" | undefined;
97
+ colorScheme?: string | undefined;
98
+ } | undefined;
99
+ parts: ("addon" | "field" | "element")[];
100
+ };
101
+ export default Input;