@ctlyst.id/internal-ui 2.1.16 → 2.1.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) 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 +21 -0
  45. package/dist/components/data-table/components/data-table.d.ts +30 -0
  46. package/dist/components/data-table/index.d.ts +3 -0
  47. package/dist/components/data-table/types/table-core.d.ts +1 -0
  48. package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +13 -0
  49. package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +9 -0
  50. package/dist/components/datepicker/components/datepicker-month/index.d.ts +4 -0
  51. package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +9 -0
  52. package/dist/components/datepicker/components/datepicker.d.ts +17 -0
  53. package/dist/components/datepicker/components/styles.d.ts +2 -0
  54. package/dist/components/datepicker/components/time-input.d.ts +9 -0
  55. package/dist/components/datepicker/index.d.ts +3 -0
  56. package/dist/components/dialog/__stories__/dialog.stories.d.ts +7 -0
  57. package/dist/components/dialog/components/dialog.d.ts +12 -0
  58. package/dist/components/dialog/index.d.ts +1 -0
  59. package/dist/components/empty-state/__stories__/dialog.stories.d.ts +7 -0
  60. package/dist/components/field/__stories__/field.stories.d.ts +7 -0
  61. package/dist/components/field/components/field.d.ts +15 -0
  62. package/dist/components/field/index.d.ts +2 -0
  63. package/dist/components/form/__stories__/input.stories.d.ts +15 -0
  64. package/dist/components/form/__stories__/textarea.stories.d.ts +7 -0
  65. package/dist/components/form/components/input-addon.d.ts +7 -0
  66. package/dist/components/form/components/input-element.d.ts +2 -0
  67. package/dist/components/form/components/input-field.d.ts +13 -0
  68. package/dist/components/form/components/textarea.d.ts +8 -0
  69. package/dist/components/form/index.d.ts +7 -0
  70. package/dist/components/form/styles/input-field.d.ts +4 -0
  71. package/dist/components/header/__stories__/header.stories.d.ts +9 -0
  72. package/dist/components/header/components/header.d.ts +19 -0
  73. package/dist/components/header/components/logo.d.ts +10 -0
  74. package/dist/components/header/components/profile.d.ts +11 -0
  75. package/dist/components/header/components/switch-mode.d.ts +3 -0
  76. package/dist/components/header/components/version.d.ts +10 -0
  77. package/dist/components/header/index.d.ts +3 -0
  78. package/dist/components/header/types.d.ts +10 -0
  79. package/dist/components/header/utils/formatter.d.ts +2 -0
  80. package/dist/components/image/__stories__/image.stories.d.ts +9 -0
  81. package/dist/components/image/index.d.ts +1 -0
  82. package/dist/components/index.d.ts +34 -0
  83. package/dist/components/layouting/index.d.ts +1 -0
  84. package/dist/components/list/index.d.ts +1 -0
  85. package/dist/components/loader/__stories__/loader.stories.d.ts +9 -0
  86. package/dist/components/loader/components/loader.d.ts +10 -0
  87. package/dist/components/loader/index.d.ts +3 -0
  88. package/dist/components/modal/__stories__/modal.stories.d.ts +7 -0
  89. package/dist/components/modal/components/modal-body.d.ts +4 -0
  90. package/dist/components/modal/components/modal-close-button.d.ts +4 -0
  91. package/dist/components/modal/components/modal-footer.d.ts +4 -0
  92. package/dist/components/modal/components/modal-header.d.ts +4 -0
  93. package/dist/components/modal/index.d.ts +5 -0
  94. package/dist/components/navigation/__stories__/navigation.stories.d.ts +8 -0
  95. package/dist/components/navigation/components/customer-icon.d.ts +2 -0
  96. package/dist/components/navigation/components/mapping-icon.d.ts +2 -0
  97. package/dist/components/navigation/components/navigation-bar.d.ts +12 -0
  98. package/dist/components/navigation/components/navigation.d.ts +11 -0
  99. package/dist/components/navigation/index.d.ts +4 -0
  100. package/dist/components/navigation/types.d.ts +24 -0
  101. package/dist/components/pagination/__stories__/pagination.stories.d.ts +10 -0
  102. package/dist/components/pagination/components/pagination-button-trigger.d.ts +10 -0
  103. package/dist/components/pagination/components/pagination-button.d.ts +6 -0
  104. package/dist/components/pagination/components/pagination-detail.d.ts +10 -0
  105. package/dist/components/pagination/components/pagination-filter.d.ts +13 -0
  106. package/dist/components/pagination/components/pagination.d.ts +16 -0
  107. package/dist/components/pagination/index.d.ts +6 -0
  108. package/dist/components/popover/index.d.ts +1 -0
  109. package/dist/components/radio/__stories__/radio.stories.d.ts +13 -0
  110. package/dist/components/radio/components/radio-group.d.ts +18 -0
  111. package/dist/components/radio/components/radio.d.ts +17 -0
  112. package/dist/components/radio/index.d.ts +3 -0
  113. package/dist/components/rating/__stories__/rating.stories.d.ts +7 -0
  114. package/dist/components/rating/components/rating.d.ts +6 -0
  115. package/dist/components/rating/index.d.ts +2 -0
  116. package/dist/components/select/__stories__/select.stories.d.ts +10 -0
  117. package/dist/components/select/components/select-async-creatable.d.ts +5 -0
  118. package/dist/components/select/components/select-async.d.ts +6 -0
  119. package/dist/components/select/components/select-creatable.d.ts +5 -0
  120. package/dist/components/select/components/select-wrapper.d.ts +6 -0
  121. package/dist/components/select/components/select.d.ts +5 -0
  122. package/dist/components/select/components/types/select.types.d.ts +3 -0
  123. package/dist/components/select/components/utils.d.ts +26 -0
  124. package/dist/components/select/index.d.ts +8 -0
  125. package/dist/components/switch/__stories__/switch.stories.d.ts +10 -0
  126. package/dist/components/switch/components/switch.d.ts +18 -0
  127. package/dist/components/switch/index.d.ts +2 -0
  128. package/dist/components/table/index.d.ts +1 -0
  129. package/dist/components/tabs/__stories__/tabs.stories.d.ts +8 -0
  130. package/dist/components/tabs/components/tab.d.ts +12 -0
  131. package/dist/components/tabs/index.d.ts +2 -0
  132. package/dist/components/text/index.d.ts +1 -0
  133. package/dist/components/toast/__stories__/toast.stories.d.ts +12 -0
  134. package/dist/components/toast/components/toast.d.ts +21 -0
  135. package/dist/components/toast/index.d.ts +1 -0
  136. package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +7 -0
  137. package/dist/components/tooltip/index.d.ts +1 -0
  138. package/dist/components/uploader/__stories__/uploader.stories.d.ts +9 -0
  139. package/dist/components/uploader/components/uploader.d.ts +12 -0
  140. package/dist/components/uploader/constants.d.ts +8 -0
  141. package/dist/components/uploader/index.d.ts +2 -0
  142. package/dist/config/__stories__/foundations.stories.d.ts +15 -0
  143. package/dist/config/__stories__/globals.stories.d.ts +10 -0
  144. package/dist/config/index.d.ts +1 -0
  145. package/dist/config/theme/components/accordion.d.ts +53 -0
  146. package/dist/config/theme/components/alert.d.ts +69 -0
  147. package/dist/config/theme/components/badge.d.ts +3 -0
  148. package/dist/config/theme/components/button.d.ts +3 -0
  149. package/dist/config/theme/components/card.d.ts +18 -0
  150. package/dist/config/theme/components/checkbox.d.ts +101 -0
  151. package/dist/config/theme/components/chips.d.ts +34 -0
  152. package/dist/config/theme/components/form-label.d.ts +20 -0
  153. package/dist/config/theme/components/index.d.ts +16 -0
  154. package/dist/config/theme/components/input.d.ts +101 -0
  155. package/dist/config/theme/components/loader.d.ts +85 -0
  156. package/dist/config/theme/components/popover.d.ts +3 -0
  157. package/dist/config/theme/components/radio.d.ts +102 -0
  158. package/dist/config/theme/components/switch.d.ts +75 -0
  159. package/dist/config/theme/components/table.d.ts +180 -0
  160. package/dist/config/theme/components/tabs.d.ts +30 -0
  161. package/dist/config/theme/components/textarea.d.ts +55 -0
  162. package/dist/config/theme/foundations/index.d.ts +5 -0
  163. package/dist/config/theme/foundations/radius.d.ts +8 -0
  164. package/dist/config/theme/foundations/shadows.d.ts +15 -0
  165. package/dist/config/theme/foundations/sizes.d.ts +66 -0
  166. package/dist/config/theme/foundations/spacing.d.ts +42 -0
  167. package/dist/config/theme/foundations/typography.d.ts +191 -0
  168. package/dist/config/theme/index.d.ts +1 -0
  169. package/dist/config/theme/themeConfiguration.d.ts +6 -0
  170. package/dist/hooks/index.d.ts +2 -0
  171. package/dist/hooks/useFetcher.d.ts +4 -0
  172. package/dist/index.d.mts +2 -2
  173. package/dist/index.d.ts +2 -2
  174. package/dist/index.js +546 -547
  175. package/dist/index.js.map +1 -1
  176. package/dist/index.mjs +71 -73
  177. package/dist/index.mjs.map +1 -1
  178. package/dist/interfaces/common.d.ts +17 -0
  179. package/dist/internal-ui.cjs.development.js +6119 -0
  180. package/dist/internal-ui.cjs.development.js.map +1 -0
  181. package/dist/internal-ui.cjs.production.min.js +38 -0
  182. package/dist/internal-ui.cjs.production.min.js.map +1 -0
  183. package/dist/internal-ui.esm.js +5082 -0
  184. package/dist/internal-ui.esm.js.map +1 -0
  185. package/dist/provider/__stories__/provider.stories.d.ts +13 -0
  186. package/dist/provider/components/provider.d.ts +7 -0
  187. package/dist/provider/index.d.ts +3 -0
  188. package/dist/provider/types.d.ts +14 -0
  189. package/package.json +1 -1
@@ -0,0 +1,13 @@
1
+ import 'react-toastify/dist/ReactToastify.css';
2
+ import React from 'react';
3
+ declare const _default: {
4
+ title: string;
5
+ };
6
+ export default _default;
7
+ export declare const Provider: () => JSX.Element;
8
+ export declare const catalysttheme: Record<string, any>;
9
+ export declare const voilatheme: Record<string, any>;
10
+ export declare const sellertheme: Record<string, any>;
11
+ export declare const CatalystProvider: ({ children }: {
12
+ children: React.ReactNode;
13
+ }) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { FC } from 'react';
2
+ import React from 'react';
3
+ import type { ProviderContextObject, ProviderProps } from '../types';
4
+ export declare const ProviderContext: React.Context<ProviderContextObject>;
5
+ export declare const useInternalUI: () => ProviderContextObject;
6
+ declare const Provider: FC<ProviderProps>;
7
+ export default Provider;
@@ -0,0 +1,3 @@
1
+ export { default as Provider } from './components/provider';
2
+ export * from './components/provider';
3
+ export { ChakraProvider, ChakraProviderProps, ColorMode, ColorModeScript, ColorModeScriptProps, } from '@chakra-ui/react';
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
3
+ declare type RequestInterceptors = (value: AxiosRequestConfig<unknown>) => AxiosRequestConfig<unknown> | Promise<AxiosRequestConfig<unknown>>;
4
+ declare type ResponseInterceptors = (value: AxiosResponse<unknown>) => AxiosResponse<unknown> | Promise<AxiosResponse<unknown>>;
5
+ export declare type ProviderProps = {
6
+ children?: React.ReactNode;
7
+ config?: AxiosRequestConfig<unknown>;
8
+ requestInterceptors?: RequestInterceptors[];
9
+ responseInterceptors?: ResponseInterceptors[];
10
+ };
11
+ export declare type ProviderContextObject = {
12
+ instance?: AxiosInstance;
13
+ };
14
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctlyst.id/internal-ui",
3
- "version": "2.1.16",
3
+ "version": "2.1.18",
4
4
  "description": "Voila Internal UI Component",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/internal-ui.esm.js",