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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. package/dist/index.d.mts +549 -0
  2. package/dist/index.d.ts +549 -5
  3. package/dist/index.js +9768 -5
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +9760 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +10 -11
  8. package/dist/components/accordion/__stories__/accordion.stories.d.ts +0 -9
  9. package/dist/components/accordion/components/accordion-indicator.d.ts +0 -1
  10. package/dist/components/accordion/components/index.d.ts +0 -2
  11. package/dist/components/accordion/index.d.ts +0 -1
  12. package/dist/components/alert/__stories__/alert.stories.d.ts +0 -11
  13. package/dist/components/alert/components/alert-action.d.ts +0 -6
  14. package/dist/components/alert/components/alert-close.d.ts +0 -6
  15. package/dist/components/alert/components/alert-context.d.ts +0 -33
  16. package/dist/components/alert/components/alert-description.d.ts +0 -3
  17. package/dist/components/alert/components/alert-icon.d.ts +0 -6
  18. package/dist/components/alert/components/alert-title.d.ts +0 -3
  19. package/dist/components/alert/components/alert.d.ts +0 -25
  20. package/dist/components/alert/components/icons.d.ts +0 -3
  21. package/dist/components/alert/components/index.d.ts +0 -14
  22. package/dist/components/alert/index.d.ts +0 -1
  23. package/dist/components/badge/__stories__/badge.stories.d.ts +0 -15
  24. package/dist/components/badge/components/badge.d.ts +0 -11
  25. package/dist/components/badge/index.d.ts +0 -2
  26. package/dist/components/base/__stories__/switch.stories.d.ts +0 -8
  27. package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -8
  28. package/dist/components/breadcrumb/components/bread-crumb.d.ts +0 -18
  29. package/dist/components/breadcrumb/index.d.ts +0 -2
  30. package/dist/components/button/__stories__/button.stories.d.ts +0 -12
  31. package/dist/components/button/components/button.d.ts +0 -4
  32. package/dist/components/button/index.d.ts +0 -3
  33. package/dist/components/card/__stories__/card.stories.d.ts +0 -8
  34. package/dist/components/card/components/card.d.ts +0 -8
  35. package/dist/components/card/index.d.ts +0 -2
  36. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +0 -10
  37. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -9
  38. package/dist/components/checkbox/components/checkbox-group.d.ts +0 -18
  39. package/dist/components/checkbox/components/checkbox.d.ts +0 -10
  40. package/dist/components/checkbox/index.d.ts +0 -4
  41. package/dist/components/chips/__stories__/chips.stories.d.ts +0 -9
  42. package/dist/components/chips/components/chips.d.ts +0 -19
  43. package/dist/components/chips/index.d.ts +0 -2
  44. package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -21
  45. package/dist/components/data-table/components/data-table.d.ts +0 -30
  46. package/dist/components/data-table/index.d.ts +0 -3
  47. package/dist/components/data-table/types/table-core.d.ts +0 -1
  48. package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -13
  49. package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +0 -9
  50. package/dist/components/datepicker/components/datepicker-month/index.d.ts +0 -4
  51. package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +0 -9
  52. package/dist/components/datepicker/components/datepicker.d.ts +0 -17
  53. package/dist/components/datepicker/components/styles.d.ts +0 -2
  54. package/dist/components/datepicker/components/time-input.d.ts +0 -9
  55. package/dist/components/datepicker/index.d.ts +0 -3
  56. package/dist/components/field/components/field.d.ts +0 -15
  57. package/dist/components/field/index.d.ts +0 -2
  58. package/dist/components/form/__stories__/input.stories.d.ts +0 -15
  59. package/dist/components/form/__stories__/textarea.stories.d.ts +0 -7
  60. package/dist/components/form/components/input-addon.d.ts +0 -7
  61. package/dist/components/form/components/input-element.d.ts +0 -2
  62. package/dist/components/form/components/input-field.d.ts +0 -13
  63. package/dist/components/form/components/textarea.d.ts +0 -8
  64. package/dist/components/form/index.d.ts +0 -7
  65. package/dist/components/form/styles/input-field.d.ts +0 -4
  66. package/dist/components/header/__stories__/header.stories.d.ts +0 -9
  67. package/dist/components/header/components/header.d.ts +0 -19
  68. package/dist/components/header/components/logo.d.ts +0 -10
  69. package/dist/components/header/components/profile.d.ts +0 -11
  70. package/dist/components/header/components/switch-mode.d.ts +0 -3
  71. package/dist/components/header/components/version.d.ts +0 -10
  72. package/dist/components/header/index.d.ts +0 -3
  73. package/dist/components/header/types.d.ts +0 -10
  74. package/dist/components/header/utils/formatter.d.ts +0 -2
  75. package/dist/components/image/index.d.ts +0 -1
  76. package/dist/components/index.d.ts +0 -29
  77. package/dist/components/layouting/index.d.ts +0 -1
  78. package/dist/components/list/index.d.ts +0 -1
  79. package/dist/components/loader/__stories__/loader.stories.d.ts +0 -9
  80. package/dist/components/loader/components/loader.d.ts +0 -10
  81. package/dist/components/loader/index.d.ts +0 -3
  82. package/dist/components/modal/__stories__/modal.stories.d.ts +0 -7
  83. package/dist/components/modal/components/modal-body.d.ts +0 -4
  84. package/dist/components/modal/components/modal-close-button.d.ts +0 -4
  85. package/dist/components/modal/components/modal-footer.d.ts +0 -4
  86. package/dist/components/modal/components/modal-header.d.ts +0 -4
  87. package/dist/components/modal/index.d.ts +0 -5
  88. package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -8
  89. package/dist/components/navigation/components/customer-icon.d.ts +0 -2
  90. package/dist/components/navigation/components/mapping-icon.d.ts +0 -2
  91. package/dist/components/navigation/components/navigation-bar.d.ts +0 -12
  92. package/dist/components/navigation/components/navigation.d.ts +0 -11
  93. package/dist/components/navigation/index.d.ts +0 -4
  94. package/dist/components/navigation/types.d.ts +0 -24
  95. package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -10
  96. package/dist/components/pagination/components/pagination-button-trigger.d.ts +0 -10
  97. package/dist/components/pagination/components/pagination-button.d.ts +0 -6
  98. package/dist/components/pagination/components/pagination-detail.d.ts +0 -10
  99. package/dist/components/pagination/components/pagination-filter.d.ts +0 -13
  100. package/dist/components/pagination/components/pagination.d.ts +0 -16
  101. package/dist/components/pagination/index.d.ts +0 -6
  102. package/dist/components/popover/index.d.ts +0 -1
  103. package/dist/components/radio/__stories__/radio-group.stories.d.ts +0 -10
  104. package/dist/components/radio/__stories__/radio.stories.d.ts +0 -9
  105. package/dist/components/radio/components/radio-group.d.ts +0 -17
  106. package/dist/components/radio/components/radio.d.ts +0 -16
  107. package/dist/components/radio/index.d.ts +0 -4
  108. package/dist/components/rating/__stories__/rating.stories.d.ts +0 -7
  109. package/dist/components/rating/components/rating.d.ts +0 -6
  110. package/dist/components/rating/index.d.ts +0 -2
  111. package/dist/components/select/__stories__/select.stories.d.ts +0 -10
  112. package/dist/components/select/components/select-async-creatable.d.ts +0 -5
  113. package/dist/components/select/components/select-async.d.ts +0 -6
  114. package/dist/components/select/components/select-creatable.d.ts +0 -5
  115. package/dist/components/select/components/select-wrapper.d.ts +0 -6
  116. package/dist/components/select/components/select.d.ts +0 -5
  117. package/dist/components/select/components/types/select.types.d.ts +0 -3
  118. package/dist/components/select/components/utils.d.ts +0 -26
  119. package/dist/components/select/index.d.ts +0 -8
  120. package/dist/components/switch/__stories__/switch.stories.d.ts +0 -10
  121. package/dist/components/switch/components/switch.d.ts +0 -18
  122. package/dist/components/switch/index.d.ts +0 -2
  123. package/dist/components/table/index.d.ts +0 -1
  124. package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -8
  125. package/dist/components/tabs/components/tab-list.d.ts +0 -3
  126. package/dist/components/tabs/components/tab-panel.d.ts +0 -3
  127. package/dist/components/tabs/components/tab.d.ts +0 -12
  128. package/dist/components/tabs/index.d.ts +0 -4
  129. package/dist/components/text/index.d.ts +0 -1
  130. package/dist/components/toast/__stories__/toast.stories.d.ts +0 -13
  131. package/dist/components/toast/components/toast.d.ts +0 -19
  132. package/dist/components/toast/index.d.ts +0 -1
  133. package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -7
  134. package/dist/components/tooltip/index.d.ts +0 -1
  135. package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -9
  136. package/dist/components/uploader/components/uploader.d.ts +0 -12
  137. package/dist/components/uploader/constants.d.ts +0 -8
  138. package/dist/components/uploader/index.d.ts +0 -2
  139. package/dist/config/__stories__/foundations.stories.d.ts +0 -15
  140. package/dist/config/__stories__/globals.stories.d.ts +0 -10
  141. package/dist/config/index.d.ts +0 -1
  142. package/dist/config/theme/components/accordion.d.ts +0 -53
  143. package/dist/config/theme/components/alert.d.ts +0 -69
  144. package/dist/config/theme/components/badge.d.ts +0 -3
  145. package/dist/config/theme/components/button.d.ts +0 -3
  146. package/dist/config/theme/components/card.d.ts +0 -18
  147. package/dist/config/theme/components/checkbox.d.ts +0 -101
  148. package/dist/config/theme/components/chips.d.ts +0 -34
  149. package/dist/config/theme/components/form-label.d.ts +0 -20
  150. package/dist/config/theme/components/index.d.ts +0 -15
  151. package/dist/config/theme/components/input.d.ts +0 -101
  152. package/dist/config/theme/components/loader.d.ts +0 -85
  153. package/dist/config/theme/components/popover.d.ts +0 -3
  154. package/dist/config/theme/components/radio.d.ts +0 -102
  155. package/dist/config/theme/components/switch.d.ts +0 -75
  156. package/dist/config/theme/components/table.d.ts +0 -180
  157. package/dist/config/theme/components/textarea.d.ts +0 -55
  158. package/dist/config/theme/foundations/index.d.ts +0 -5
  159. package/dist/config/theme/foundations/radius.d.ts +0 -8
  160. package/dist/config/theme/foundations/shadows.d.ts +0 -15
  161. package/dist/config/theme/foundations/sizes.d.ts +0 -66
  162. package/dist/config/theme/foundations/spacing.d.ts +0 -42
  163. package/dist/config/theme/foundations/typography.d.ts +0 -191
  164. package/dist/config/theme/index.d.ts +0 -1
  165. package/dist/config/theme/themeConfiguration.d.ts +0 -6
  166. package/dist/hooks/index.d.ts +0 -2
  167. package/dist/hooks/useFetcher.d.ts +0 -4
  168. package/dist/interfaces/common.d.ts +0 -17
  169. package/dist/internal-ui.cjs.development.js +0 -5604
  170. package/dist/internal-ui.cjs.development.js.map +0 -1
  171. package/dist/internal-ui.cjs.production.min.js +0 -38
  172. package/dist/internal-ui.cjs.production.min.js.map +0 -1
  173. package/dist/internal-ui.esm.js +0 -4899
  174. package/dist/internal-ui.esm.js.map +0 -1
  175. package/dist/provider/__stories__/provider.stories.d.ts +0 -13
  176. package/dist/provider/components/provider.d.ts +0 -7
  177. package/dist/provider/index.d.ts +0 -3
  178. package/dist/provider/types.d.ts +0 -14
@@ -1,7 +0,0 @@
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 TextArea: () => JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface InputAddonProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const InputAddonLeft: ({ children }: InputAddonProps) => JSX.Element;
6
- export declare const InputAddonRight: ({ children }: InputAddonProps) => JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- export { InputLeftElement as InputElementLeft } from '@chakra-ui/react';
2
- export { InputRightElement as InputElementRight } from '@chakra-ui/react';
@@ -1,13 +0,0 @@
1
- import type { InputProps as ChakraInputProps } from '@chakra-ui/react';
2
- import type { ReactNode } from 'react';
3
- import React from 'react';
4
- import type { FieldProps } from '../../field/components/field';
5
- export interface InputFieldProps extends ChakraInputProps, FieldProps {
6
- addOnLeft?: ReactNode;
7
- addOnRight?: ReactNode;
8
- withClear?: boolean;
9
- isLoading?: boolean;
10
- onClear?: () => void;
11
- }
12
- declare const InputField: React.ForwardRefExoticComponent<InputFieldProps & React.RefAttributes<HTMLInputElement>>;
13
- export default InputField;
@@ -1,8 +0,0 @@
1
- import type { TextareaProps as ChakraTextareaProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- import type { FieldProps } from '../../field';
4
- export interface TextAreaProps extends ChakraTextareaProps, FieldProps {
5
- isLoading?: boolean;
6
- }
7
- declare const TextareaField: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
8
- export default TextareaField;
@@ -1,7 +0,0 @@
1
- export * from './components/input-addon';
2
- export * from './components/input-element';
3
- export { default as InputField } from './components/input-field';
4
- export * from './components/input-field';
5
- export { default as TextareaField } from './components/textarea';
6
- export * from './components/textarea';
7
- export { FormControl, FormControlProps, FormErrorMessage, FormHelperText, FormLabel, FormLabelProps, InputGroup, InputGroupProps, InputLeftAddon, InputLeftAddonProps, InputLeftElement, InputLeftElementProps, InputProps, InputRightAddon, InputRightAddonProps, InputRightElement, InputRightElementProps, RequiredIndicator, RequiredIndicatorProps, } from '@chakra-ui/react';
@@ -1,4 +0,0 @@
1
- import type { BoxProps } from '@chakra-ui/react';
2
- import type { InputFieldProps } from '../components/input-field';
3
- declare const getWrapperStyle: (props: InputFieldProps) => BoxProps;
4
- export default getWrapperStyle;
@@ -1,9 +0,0 @@
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 HeaderOldDefault: () => JSX.Element;
8
- export declare const HeaderNewDefault: () => JSX.Element;
9
- export declare const HeaderNewCustomize: () => JSX.Element;
@@ -1,19 +0,0 @@
1
- import type { BoxProps } from '@chakra-ui/react';
2
- import * as React from 'react';
3
- import type { HeaderDataProps } from '../types';
4
- export declare type HeaderProps = BoxProps & {
5
- brandColor?: BoxProps['bgColor'];
6
- data?: HeaderDataProps;
7
- onLogout?: () => void;
8
- onOpenModalRelease?: () => void;
9
- hideSwitchMode?: boolean;
10
- mainLogo?: string;
11
- mainLogoSize?: BoxProps['h'];
12
- centerLogo?: string;
13
- centerLogoSize?: BoxProps['h'];
14
- hideEnv?: boolean;
15
- urlLogo?: string;
16
- profile?: React.ReactNode;
17
- };
18
- declare const Header: React.FC<HeaderProps>;
19
- export default Header;
@@ -1,10 +0,0 @@
1
- import type { BoxProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- export interface LogoProps {
4
- url?: string;
5
- imageUrl: string;
6
- height?: BoxProps['h'];
7
- }
8
- export declare const Logo: React.FC<LogoProps>;
9
- export declare const XMSLogo: () => JSX.Element;
10
- export declare const VoilaLogo: () => JSX.Element;
@@ -1,11 +0,0 @@
1
- import type { BoxProps } from '@chakra-ui/react';
2
- import * as React from 'react';
3
- import type { HeaderDataProps } from '../types';
4
- export declare type ProfileProps = {
5
- color?: BoxProps['color'];
6
- brandColor?: BoxProps['bgColor'];
7
- data?: HeaderDataProps;
8
- onLogout?: () => void;
9
- };
10
- declare const Profile: React.FC<ProfileProps>;
11
- export default Profile;
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const SwitchMode: React.FC;
3
- export default SwitchMode;
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import type { Environment } from '../types';
3
- export declare type VersionProps = {
4
- hideEnv?: boolean;
5
- environment?: Environment;
6
- version?: string;
7
- onOpenModalRelease?: () => void;
8
- };
9
- declare const Version: React.FC<VersionProps>;
10
- export default Version;
@@ -1,3 +0,0 @@
1
- export { default as Header } from './components/header';
2
- export * from './components/header';
3
- export * from './types';
@@ -1,10 +0,0 @@
1
- export declare type Environment = 'DEVELOPMENT' | 'STAGING' | 'PRODUCTION';
2
- export declare type HeaderDataProps = {
3
- environment?: Environment;
4
- version?: string;
5
- email?: string;
6
- name?: string;
7
- userRole?: string;
8
- office?: string | string[];
9
- avatarUrl?: string;
10
- };
@@ -1,2 +0,0 @@
1
- import type { Environment } from '../types';
2
- export declare function environmentName(env?: Environment): "Dev" | "Staging" | null;
@@ -1 +0,0 @@
1
- export { Icon, IconProps, Image, ImageProps } from '@chakra-ui/react';
@@ -1,29 +0,0 @@
1
- export * from './alert';
2
- export * from './badge';
3
- export * from './breadcrumb';
4
- export * from './button';
5
- export * from './card';
6
- export * from './checkbox';
7
- export * from './chips';
8
- export * from './data-table';
9
- export * from './datepicker';
10
- export * from './field';
11
- export * from './form';
12
- export * from './header';
13
- export * from './image';
14
- export * from './layouting';
15
- export * from './list';
16
- export * from './loader';
17
- export * from './modal';
18
- export * from './navigation';
19
- export * from './pagination';
20
- export * from './popover';
21
- export * from './radio';
22
- export * from './rating';
23
- export * from './select';
24
- export * from './switch';
25
- export * from './table';
26
- export * from './tabs';
27
- export * from './text';
28
- export * from './tooltip';
29
- export * from './uploader';
@@ -1 +0,0 @@
1
- export { Box, BoxProps, Center, Collapse, Container, ContainerProps, Divider, DividerProps, Flex, FlexProps, Grid, GridItem, GridItemProps, GridProps, HStack, SimpleGrid, Spacer, Stack, StackProps, VStack, Wrap, WrapItem, WrapItemProps, WrapProps, } from '@chakra-ui/react';
@@ -1 +0,0 @@
1
- export { List, ListIcon, ListItem, ListItemProps, ListProps, OrderedList, UnorderedList } from '@chakra-ui/react';
@@ -1,9 +0,0 @@
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 Variant: () => JSX.Element;
9
- export declare const Size: () => JSX.Element;
@@ -1,10 +0,0 @@
1
- import type { HTMLChakraProps, ThemingProps } from '@chakra-ui/react';
2
- export interface LoaderProps {
3
- size?: string;
4
- variant?: string;
5
- thickness?: string;
6
- }
7
- export interface CustomLoaderProps extends HTMLChakraProps<'span'>, ThemingProps {
8
- }
9
- declare const Loader: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"div", CustomLoaderProps>;
10
- export default Loader;
@@ -1,3 +0,0 @@
1
- export { default as Loader } from './components/loader';
2
- export * from './components/loader';
3
- export { ScaleFade, ScaleFadeProps, Skeleton } from '@chakra-ui/react';
@@ -1,7 +0,0 @@
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 ModalDefault: () => JSX.Element;
@@ -1,4 +0,0 @@
1
- import type { ModalBodyProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- declare const ModalBody: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<HTMLDivElement>>;
4
- export default ModalBody;
@@ -1,4 +0,0 @@
1
- import type { ButtonProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- declare const ModalCloseButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
4
- export default ModalCloseButton;
@@ -1,4 +0,0 @@
1
- import type { ModalFooterProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- declare const ModalFooter: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<HTMLDivElement>>;
4
- export default ModalFooter;
@@ -1,4 +0,0 @@
1
- import type { ModalHeaderProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
4
- export default ModalHeader;
@@ -1,5 +0,0 @@
1
- export { default as ModalBody } from './components/modal-body';
2
- export { default as ModalCloseButton } from './components/modal-close-button';
3
- export { default as ModalFooter } from './components/modal-footer';
4
- export { default as ModalHeader } from './components/modal-header';
5
- export { AlertDialog, ModalBody as AlertDialogBody, ModalCloseButton as AlertDialogCloseButton, AlertDialogContent, ModalFooter as AlertDialogFooter, ModalHeader as AlertDialogHeader, ModalOverlay as AlertDialogOverlay, AlertDialogProps, Drawer, ModalBody as DrawerBody, ModalCloseButton as DrawerCloseButton, DrawerContent, DrawerContentProps, ModalFooter as DrawerFooter, ModalHeader as DrawerHeader, ModalOverlay as DrawerOverlay, DrawerProps, Modal, ModalBodyProps, ModalContent, ModalContentProps, ModalContextProvider, ModalFocusScope, ModalFooterProps, ModalHeaderProps, ModalOverlay, ModalOverlayProps, ModalProps, useDrawerContext, useModal, useModalContext, UseModalProps, UseModalReturn, useModalStyles, } from '@chakra-ui/react';
@@ -1,8 +0,0 @@
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 NavigationDefault: () => JSX.Element;
8
- export declare const NavigationBarDefault: () => JSX.Element;
@@ -1,2 +0,0 @@
1
- declare const CustomerIcon: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"svg", import("@chakra-ui/icon/dist/icon").IconProps>;
2
- export default CustomerIcon;
@@ -1,2 +0,0 @@
1
- import type { IconType } from 'react-icons/lib';
2
- export declare const mappingIcon: Map<string, IconType>;
@@ -1,12 +0,0 @@
1
- import type { BoxProps } from '@chakra-ui/react';
2
- import React from 'react';
3
- import type { Menu } from '../types';
4
- export declare type NavigationBarProps = BoxProps & {
5
- navigations?: Menu[];
6
- isFetched: boolean;
7
- pathname: string;
8
- asPath: string;
9
- mappingIcon: Map<string, JSX.Element>;
10
- };
11
- declare const NavigationBar: React.FC<NavigationBarProps>;
12
- export default NavigationBar;
@@ -1,11 +0,0 @@
1
- import type { As, BoxProps } from '@chakra-ui/react';
2
- import * as React from 'react';
3
- import type { NavigationLink } from '../types';
4
- export declare type NavigationProps = BoxProps & {
5
- navigations?: NavigationLink[];
6
- activePath: string;
7
- as?: As;
8
- host?: string;
9
- };
10
- declare const Navigation: React.FC<NavigationProps>;
11
- export default Navigation;
@@ -1,4 +0,0 @@
1
- export { default as MainMenu } from './components/navigation';
2
- export * from './components/navigation';
3
- export { default as NavigationBar } from './components/navigation-bar';
4
- export * from './components/navigation-bar';
@@ -1,24 +0,0 @@
1
- import type { IconType } from 'react-icons/lib';
2
- export declare type NavigationLink = {
3
- title: string;
4
- icon?: IconType;
5
- navLink?: string;
6
- navHost?: string;
7
- children?: Omit<NavigationLink, 'children'>[];
8
- };
9
- export declare type Menu = {
10
- id: string;
11
- title: string;
12
- type: string;
13
- icon: string;
14
- navLink: string;
15
- children: SubMenu[];
16
- };
17
- export declare type SubMenu = {
18
- type: string;
19
- icon: string;
20
- navLink: string;
21
- navHost: string;
22
- title: string;
23
- id: string;
24
- };
@@ -1,10 +0,0 @@
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 PaginationDefault: () => JSX.Element;
8
- export declare const LargePageNumbers: () => JSX.Element;
9
- export declare const PaginationFilterSample: () => JSX.Element;
10
- export declare const WithPaginationDetail: () => JSX.Element;
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- declare type PaginationButtonTriggerProps = {
3
- color?: string;
4
- isDisabled?: boolean;
5
- onClick?: () => void;
6
- visuallyHidden?: string;
7
- icon?: React.ReactNode;
8
- };
9
- declare const PaginationButtonTrigger: React.FC<PaginationButtonTriggerProps>;
10
- export default PaginationButtonTrigger;
@@ -1,6 +0,0 @@
1
- import type { ButtonProps } from '@chakra-ui/react';
2
- export interface PaginationButtonProps {
3
- isActive?: boolean;
4
- }
5
- declare const PaginationButton: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"button", ButtonProps>;
6
- export default PaginationButton;
@@ -1,10 +0,0 @@
1
- import type { TextProps } from '@chakra-ui/react';
2
- import * as React from 'react';
3
- export interface PaginationDetailProps extends TextProps {
4
- page: number;
5
- /** Total limit of pages. */
6
- limit: number;
7
- length: number;
8
- }
9
- declare const PaginationDetail: React.FC<PaginationDetailProps>;
10
- export default PaginationDetail;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export interface PaginationFilterProps<T> {
3
- /** Total limit of pages. */
4
- limit?: number;
5
- /** Label in front of select input */
6
- label?: string;
7
- /** Label items. */
8
- items: T[];
9
- /** The change handler for the select. */
10
- onChange: (changes: T) => void;
11
- }
12
- declare const PaginationFilter: React.FC<PaginationFilterProps<number>>;
13
- export default PaginationFilter;
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- export interface PaginationProps {
3
- /** Additional CSS classes to give to the pagination. */
4
- className?: string;
5
- /** The current page number. */
6
- current: number;
7
- /** Total number of pages. */
8
- total: number;
9
- /**
10
- * Callback to run when a page number is selected. You can use this to e.g.
11
- * run setState on your component's page state.
12
- */
13
- onSelect?: (page: number) => void;
14
- }
15
- declare const Pagination: React.FC<PaginationProps>;
16
- export default Pagination;
@@ -1,6 +0,0 @@
1
- export { default as Pagination } from './components/pagination';
2
- export * from './components/pagination';
3
- export { default as PaginationDetail } from './components/pagination-detail';
4
- export * from './components/pagination-detail';
5
- export { default as PaginationFilter } from './components/pagination-filter';
6
- export * from './components/pagination-filter';
@@ -1 +0,0 @@
1
- export { Popover, PopoverAnchor, PopoverArrow, PopoverArrowProps, PopoverBody, PopoverBodyProps, PopoverCloseButton, PopoverContent, PopoverContentProps, PopoverFooter, PopoverFooterProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTrigger, Portal, PortalProps, } from '@chakra-ui/react';
@@ -1,10 +0,0 @@
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 RequiredLabel: () => JSX.Element;
9
- export declare const WithHelpText: () => JSX.Element;
10
- export declare const WithError: () => JSX.Element;
@@ -1,9 +0,0 @@
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 WithLabel: () => JSX.Element;
9
- export declare const WithHelpText: () => JSX.Element;
@@ -1,17 +0,0 @@
1
- import type { RadioGroupProps } from '@chakra-ui/react';
2
- import type { FieldProps } from '../../field';
3
- export interface RadioGroupComponentProps extends FieldProps, RadioGroupProps {
4
- label: string;
5
- helpText?: string;
6
- isError?: boolean;
7
- errorMessage?: string;
8
- }
9
- declare function RadioGroupComponent(props: RadioGroupComponentProps): JSX.Element;
10
- declare namespace RadioGroupComponent {
11
- var defaultProps: {
12
- helpText: string;
13
- isError: boolean;
14
- errorMessage: string;
15
- };
16
- }
17
- export default RadioGroupComponent;
@@ -1,16 +0,0 @@
1
- import type { RadioProps } from '@chakra-ui/react';
2
- import type { PropsWithChildren } from 'react';
3
- export interface RadioComponentProps extends RadioProps, PropsWithChildren {
4
- isError?: boolean;
5
- helpText?: string;
6
- errorText?: string;
7
- }
8
- declare function RadioComponent({ isError, helpText, errorText, children, isDisabled, ...rest }: RadioComponentProps): JSX.Element;
9
- declare namespace RadioComponent {
10
- var defaultProps: {
11
- isError: boolean;
12
- helpText: string;
13
- errorText: string;
14
- };
15
- }
16
- export default RadioComponent;
@@ -1,4 +0,0 @@
1
- export { default as Radio } from './components/radio';
2
- export * from './components/radio';
3
- export { default as RadioGroup } from './components/radio-group';
4
- export * from './components/radio-group';
@@ -1,7 +0,0 @@
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;
@@ -1,6 +0,0 @@
1
- declare type PropsValue = 0 | 1 | 2 | 3 | 4 | 5;
2
- export interface RatingProps {
3
- value: PropsValue;
4
- }
5
- declare const Rating: ({ value }: RatingProps) => JSX.Element;
6
- export default Rating;
@@ -1,2 +0,0 @@
1
- export { default as Rating } from './components/rating';
2
- export * from './components/rating';
@@ -1,10 +0,0 @@
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 SelectDefault: () => JSX.Element;
8
- export declare const SelectAsyncExample: () => JSX.Element;
9
- export declare const SelectCreatableExample: () => JSX.Element;
10
- export declare const SelectCreatableAsyncExample: () => JSX.Element;
@@ -1,5 +0,0 @@
1
- import type { GroupBase } from 'react-select';
2
- import type { AsyncCreatableProps } from 'react-select/async-creatable';
3
- import type { ExtendedSelectProps } from './types/select.types';
4
- export declare type SelectAsyncCreatableProps<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = AsyncCreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;
5
- export default function SelectAsyncCreatable<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>({ styles, isError, ...rest }: SelectAsyncCreatableProps<Option, IsMulti, Group>): JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { GroupBase } from 'react-select';
2
- import type { AsyncPaginateProps } from 'react-select-async-paginate';
3
- import type { ExtendedSelectProps } from './types/select.types';
4
- export declare type SelectAsyncProps<OptionType = unknown, Group extends GroupBase<OptionType> = GroupBase<OptionType>, Additional = unknown, IsMulti extends boolean = false> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;
5
- declare function SelectAsync<OptionType, Group extends GroupBase<OptionType>, Additional, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectAsyncProps<OptionType, Group, Additional, IsMulti>): JSX.Element;
6
- export default SelectAsync;
@@ -1,5 +0,0 @@
1
- import type { GroupBase } from 'react-select';
2
- import type { CreatableProps } from 'react-select/creatable';
3
- import type { ExtendedSelectProps } from './types/select.types';
4
- export declare type SelectCreatableProps<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = CreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;
5
- export default function SelectCreatable<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>({ styles, isError, ...rest }: SelectCreatableProps<Option, IsMulti, Group>): JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { FC, PropsWithChildren } from 'react';
2
- interface SelectWrapperProps {
3
- isError?: boolean;
4
- }
5
- declare const SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>>;
6
- export default SelectWrapper;
@@ -1,5 +0,0 @@
1
- import type { GroupBase, Props as ReactSelectProps } from 'react-select';
2
- import type { ExtendedSelectProps } from './types/select.types';
3
- export declare type SelectProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> = ReactSelectProps<Option, IsMulti, Group> & ExtendedSelectProps;
4
- declare function Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectProps<OptionType, IsMulti, Group>): JSX.Element;
5
- export default Select;
@@ -1,3 +0,0 @@
1
- export declare type ExtendedSelectProps = {
2
- isError?: boolean;
3
- };
@@ -1,26 +0,0 @@
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
- };
@@ -1,8 +0,0 @@
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';
@@ -1,10 +0,0 @@
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;