lawgic-dev-kit 0.8.6 → 0.9.0

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 (207) hide show
  1. package/dist/_virtual/index2.js +2 -2
  2. package/dist/_virtual/index3.js +2 -2
  3. package/dist/components/atoms/Avatar/Avatar.js +1 -1
  4. package/dist/components/atoms/Button/Button.js +1 -1
  5. package/dist/components/atoms/CountrySelectInput/CountryDropdown.js +1 -1
  6. package/dist/components/atoms/IconButton/IconButton.js +1 -1
  7. package/dist/components/atoms/PasswordInput/PasswordInput.js +1 -1
  8. package/dist/components/atoms/PhoneInput/PhoneInput.js +1 -1
  9. package/dist/components/atoms/SelectDropdown/SelectDropdown.js +1 -1
  10. package/dist/components/atoms/TextButton/TextButton.js +1 -1
  11. package/dist/components/atoms/TextInput/TextInput.d.ts +1 -1
  12. package/dist/components/atoms/TextInput/TextInput.js +26 -25
  13. package/dist/components/atoms/TextInput/TextInput.types.d.ts +1 -0
  14. package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +1 -1
  15. package/dist/components/atoms/UploadContainer/UploadContainer.js +1 -1
  16. package/dist/components/molecules/AlertModal/AlertModal.js +1 -1
  17. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +1 -1
  18. package/dist/components/molecules/DateInput/DateInput.js +1 -1
  19. package/dist/components/molecules/DialogModal/DialogModal.js +1 -1
  20. package/dist/components/molecules/Dropdown/Dropdown.js +1 -1
  21. package/dist/components/molecules/FileUpload/FileUpload.js +1 -1
  22. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +1 -1
  23. package/dist/components/molecules/Stepper/Stepper.js +1 -1
  24. package/dist/components/molecules/Tabs/Tabs.js +1 -1
  25. package/dist/contexts/index.d.ts +1 -0
  26. package/dist/contexts/themeContext.d.ts +3 -0
  27. package/dist/contexts/themeContext.js +6 -0
  28. package/dist/hooks/index.d.ts +1 -0
  29. package/dist/hooks/useTheme.d.ts +1 -0
  30. package/dist/hooks/useTheme.js +6 -0
  31. package/dist/index.d.ts +2 -0
  32. package/dist/index.js +107 -105
  33. package/dist/lawgic-dev-kit.css +1 -1
  34. package/dist/lawgic-dev-kit.umd.js +14 -14
  35. package/dist/node_modules/prop-types/index.js +1 -1
  36. package/dist/node_modules/scheduler/index.js +1 -1
  37. package/dist/providers/ThemeProvider.d.ts +0 -3
  38. package/dist/providers/ThemeProvider.js +12 -15
  39. package/dist/src/components/atoms/TextInput/TextInput.d.ts +1 -1
  40. package/dist/src/contexts/index.d.ts +1 -0
  41. package/dist/src/contexts/themeContext.d.ts +3 -0
  42. package/dist/src/hooks/index.d.ts +1 -0
  43. package/dist/src/hooks/useTheme.d.ts +1 -0
  44. package/dist/src/index.d.ts +2 -0
  45. package/dist/src/providers/ThemeProvider.d.ts +0 -3
  46. package/dist/utils/modal.js +1 -1
  47. package/dist/utils/toast.js +1 -1
  48. package/package.json +9 -1
  49. package/dist/src/components/atoms/ActionButton/ActionButton.d.ts +0 -11
  50. package/dist/src/components/atoms/ActionButton/index.d.ts +0 -1
  51. package/dist/src/components/atoms/AsyncToast/index.d.ts +0 -11
  52. package/dist/src/components/atoms/Avatar/Avatar.d.ts +0 -11
  53. package/dist/src/components/atoms/Avatar/index.d.ts +0 -1
  54. package/dist/src/components/atoms/BoxContainer/BoxContainer.d.ts +0 -4
  55. package/dist/src/components/atoms/BoxContainer/BoxContainer.types.d.ts +0 -6
  56. package/dist/src/components/atoms/BoxContainer/index.d.ts +0 -1
  57. package/dist/src/components/atoms/Button/Button.d.ts +0 -4
  58. package/dist/src/components/atoms/Button/Button.styles.d.ts +0 -26
  59. package/dist/src/components/atoms/Button/Button.types.d.ts +0 -12
  60. package/dist/src/components/atoms/Button/index.d.ts +0 -1
  61. package/dist/src/components/atoms/CenterModal/CenterModal.d.ts +0 -4
  62. package/dist/src/components/atoms/CenterModal/CenterModal.types.d.ts +0 -5
  63. package/dist/src/components/atoms/CenterModal/index.d.ts +0 -1
  64. package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +0 -10
  65. package/dist/src/components/atoms/Checkbox/index.d.ts +0 -1
  66. package/dist/src/components/atoms/CountryInput/CountryInput.d.ts +0 -4
  67. package/dist/src/components/atoms/CountryInput/CountryInput.types.d.ts +0 -37
  68. package/dist/src/components/atoms/CountryInput/index.d.ts +0 -1
  69. package/dist/src/components/atoms/CountryLabel/CountryLabel.d.ts +0 -6
  70. package/dist/src/components/atoms/CountryLabel/index.d.ts +0 -1
  71. package/dist/src/components/atoms/CountrySelectInput/CountryDropdown.d.ts +0 -4
  72. package/dist/src/components/atoms/CountrySelectInput/CountryDropdown.types.d.ts +0 -36
  73. package/dist/src/components/atoms/CountrySelectInput/index.d.ts +0 -1
  74. package/dist/src/components/atoms/Divider/Divider.d.ts +0 -7
  75. package/dist/src/components/atoms/Divider/index.d.ts +0 -1
  76. package/dist/src/components/atoms/FullLogo/FullLogo.d.ts +0 -3
  77. package/dist/src/components/atoms/FullLogo/index.d.ts +0 -1
  78. package/dist/src/components/atoms/IconButton/IconButton.d.ts +0 -4
  79. package/dist/src/components/atoms/IconButton/IconButton.styles.d.ts +0 -10
  80. package/dist/src/components/atoms/IconButton/IconButton.types.d.ts +0 -11
  81. package/dist/src/components/atoms/IconButton/index.d.ts +0 -1
  82. package/dist/src/components/atoms/ImageProfileInput/ImageProfileInput.d.ts +0 -4
  83. package/dist/src/components/atoms/ImageProfileInput/ImageProfileInput.types.d.ts +0 -12
  84. package/dist/src/components/atoms/ImageProfileInput/ImageProfileInput.validators.d.ts +0 -9
  85. package/dist/src/components/atoms/ImageProfileInput/index.d.ts +0 -2
  86. package/dist/src/components/atoms/IndexedStep/IndexedStep.d.ts +0 -9
  87. package/dist/src/components/atoms/IndexedStep/index.d.ts +0 -1
  88. package/dist/src/components/atoms/InfoCard/InfoCard.d.ts +0 -3
  89. package/dist/src/components/atoms/InfoCard/InfoCard.types.d.ts +0 -6
  90. package/dist/src/components/atoms/InfoCard/index.d.ts +0 -1
  91. package/dist/src/components/atoms/InformationDisclaimer/InformationDisclaimer.d.ts +0 -4
  92. package/dist/src/components/atoms/InformationDisclaimer/InformationDisclaimer.styles.d.ts +0 -2
  93. package/dist/src/components/atoms/InformationDisclaimer/InformationDisclaimer.types.d.ts +0 -9
  94. package/dist/src/components/atoms/InformationDisclaimer/index.d.ts +0 -1
  95. package/dist/src/components/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -8
  96. package/dist/src/components/atoms/LoadingSpinner/index.d.ts +0 -1
  97. package/dist/src/components/atoms/PasswordInput/PasswordInput.d.ts +0 -5
  98. package/dist/src/components/atoms/PasswordInput/PasswordInput.types.d.ts +0 -11
  99. package/dist/src/components/atoms/PasswordInput/index.d.ts +0 -1
  100. package/dist/src/components/atoms/PhoneInput/PhoneInput.d.ts +0 -4
  101. package/dist/src/components/atoms/PhoneInput/PhoneInput.types.d.ts +0 -12
  102. package/dist/src/components/atoms/PhoneInput/index.d.ts +0 -1
  103. package/dist/src/components/atoms/ProgressBar/ProgressBar.d.ts +0 -3
  104. package/dist/src/components/atoms/ProgressBar/ProgressBar.types.d.ts +0 -4
  105. package/dist/src/components/atoms/ProgressBar/index.d.ts +0 -1
  106. package/dist/src/components/atoms/SearchBar/index.d.ts +0 -2
  107. package/dist/src/components/atoms/SectionButton/SectionButton.d.ts +0 -12
  108. package/dist/src/components/atoms/SectionButton/desktop/SectionButton.d.ts +0 -3
  109. package/dist/src/components/atoms/SectionButton/desktop/SectionButton.styles.d.ts +0 -1
  110. package/dist/src/components/atoms/SectionButton/desktop/SectionButton.types.d.ts +0 -10
  111. package/dist/src/components/atoms/SectionButton/desktop/index.d.ts +0 -2
  112. package/dist/src/components/atoms/SectionButton/index.d.ts +0 -1
  113. package/dist/src/components/atoms/SectionButton/mobile/MobileSectionButton.styles.d.ts +0 -2
  114. package/dist/src/components/atoms/SectionButton/mobile/SectionButton.d.ts +0 -3
  115. package/dist/src/components/atoms/SectionButton/mobile/SectionButton.types.d.ts +0 -10
  116. package/dist/src/components/atoms/SectionButton/mobile/index.d.ts +0 -2
  117. package/dist/src/components/atoms/SelectDropdown/SelectDropdown.d.ts +0 -4
  118. package/dist/src/components/atoms/SelectDropdown/SelectDropdown.types.d.ts +0 -24
  119. package/dist/src/components/atoms/SelectDropdown/index.d.ts +0 -1
  120. package/dist/src/components/atoms/SidebarButton/index.d.ts +0 -10
  121. package/dist/src/components/atoms/Tab/Tab.d.ts +0 -3
  122. package/dist/src/components/atoms/Tab/Tab.styles.d.ts +0 -6
  123. package/dist/src/components/atoms/Tab/Tab.types.d.ts +0 -10
  124. package/dist/src/components/atoms/Tab/index.d.ts +0 -1
  125. package/dist/src/components/atoms/TextButton/TextButton.d.ts +0 -4
  126. package/dist/src/components/atoms/TextButton/TextButton.styles.d.ts +0 -2
  127. package/dist/src/components/atoms/TextButton/TextButton.types.d.ts +0 -6
  128. package/dist/src/components/atoms/TextButton/index.d.ts +0 -1
  129. package/dist/src/components/atoms/TextInput/TextInput.types.d.ts +0 -11
  130. package/dist/src/components/atoms/TextInput/index.d.ts +0 -1
  131. package/dist/src/components/atoms/TextStaticInput/TextStaticInput.d.ts +0 -3
  132. package/dist/src/components/atoms/TextStaticInput/TextStaticInput.types.d.ts +0 -5
  133. package/dist/src/components/atoms/TextStaticInput/index.d.ts +0 -1
  134. package/dist/src/components/atoms/Toast/Toast.d.ts +0 -21
  135. package/dist/src/components/atoms/Toast/index.d.ts +0 -1
  136. package/dist/src/components/atoms/UncontrolledSelector/UncontrolledSelector.d.ts +0 -16
  137. package/dist/src/components/atoms/UncontrolledSelector/index.d.ts +0 -1
  138. package/dist/src/components/atoms/UncontrolledTextInput/UncontrolledTextInput.d.ts +0 -4
  139. package/dist/src/components/atoms/UncontrolledTextInput/UncontrolledTextInput.types.d.ts +0 -13
  140. package/dist/src/components/atoms/UncontrolledTextInput/index.d.ts +0 -1
  141. package/dist/src/components/atoms/UploadContainer/UploadContainer.d.ts +0 -4
  142. package/dist/src/components/atoms/UploadContainer/UploadContainer.types.d.ts +0 -32
  143. package/dist/src/components/atoms/UploadContainer/index.d.ts +0 -1
  144. package/dist/src/components/atoms/index.d.ts +0 -30
  145. package/dist/src/components/index.d.ts +0 -3
  146. package/dist/src/components/molecules/AlertModal/AlertModal.d.ts +0 -3
  147. package/dist/src/components/molecules/AlertModal/AlertModal.types.d.ts +0 -8
  148. package/dist/src/components/molecules/AlertModal/index.d.ts +0 -2
  149. package/dist/src/components/molecules/CalendarSelector/CalendarSelector.d.ts +0 -9
  150. package/dist/src/components/molecules/CalendarSelector/PeriodToggle.d.ts +0 -6
  151. package/dist/src/components/molecules/CalendarSelector/TimeDisplay.d.ts +0 -7
  152. package/dist/src/components/molecules/CalendarSelector/index.d.ts +0 -1
  153. package/dist/src/components/molecules/DateInput/DateInput.d.ts +0 -11
  154. package/dist/src/components/molecules/DateInput/index.d.ts +0 -1
  155. package/dist/src/components/molecules/DialogModal/DialogModal.d.ts +0 -3
  156. package/dist/src/components/molecules/DialogModal/DialogModal.types.d.ts +0 -10
  157. package/dist/src/components/molecules/DialogModal/index.d.ts +0 -1
  158. package/dist/src/components/molecules/Dropdown/Dropdown.d.ts +0 -3
  159. package/dist/src/components/molecules/Dropdown/Dropdown.types.d.ts +0 -9
  160. package/dist/src/components/molecules/Dropdown/index.d.ts +0 -1
  161. package/dist/src/components/molecules/FileUpload/FileUpload.d.ts +0 -4
  162. package/dist/src/components/molecules/FileUpload/FileUpload.types.d.ts +0 -17
  163. package/dist/src/components/molecules/FileUpload/index.d.ts +0 -1
  164. package/dist/src/components/molecules/FloatingMenu/FloatingMenu.d.ts +0 -4
  165. package/dist/src/components/molecules/FloatingMenu/FloatingMenu.types.d.ts +0 -11
  166. package/dist/src/components/molecules/FloatingMenu/index.d.ts +0 -1
  167. package/dist/src/components/molecules/IndexedStepper/IndexedStepper.d.ts +0 -7
  168. package/dist/src/components/molecules/IndexedStepper/index.d.ts +0 -1
  169. package/dist/src/components/molecules/InformationContainer/InformationContainer.d.ts +0 -14
  170. package/dist/src/components/molecules/InformationContainer/index.d.ts +0 -1
  171. package/dist/src/components/molecules/SearchModal/SearchModal.d.ts +0 -4
  172. package/dist/src/components/molecules/SearchModal/SearchModal.types.d.ts +0 -5
  173. package/dist/src/components/molecules/SearchModal/index.d.ts +0 -1
  174. package/dist/src/components/molecules/Stepper/Stepper.d.ts +0 -3
  175. package/dist/src/components/molecules/Stepper/Stepper.types.d.ts +0 -7
  176. package/dist/src/components/molecules/Stepper/index.d.ts +0 -1
  177. package/dist/src/components/molecules/Tabs/Tabs.d.ts +0 -20
  178. package/dist/src/components/molecules/Tabs/index.d.ts +0 -1
  179. package/dist/src/components/molecules/UncontrolledDateInput/UncontrolledDateInput.d.ts +0 -10
  180. package/dist/src/components/molecules/UncontrolledDateInput/index.d.ts +0 -1
  181. package/dist/src/components/molecules/index.d.ts +0 -10
  182. package/dist/src/components/organisms/index.d.ts +0 -1
  183. package/dist/src/constants/countries.d.ts +0 -30
  184. package/dist/src/providers/index.d.ts +0 -1
  185. package/dist/src/themes/default.d.ts +0 -2
  186. package/dist/src/themes/index.d.ts +0 -2
  187. package/dist/src/themes/types.d.ts +0 -6
  188. package/dist/src/types/baseModalProps.d.ts +0 -4
  189. package/dist/src/types/display.d.ts +0 -2
  190. package/dist/src/types/fileInfo.d.ts +0 -2
  191. package/dist/src/types/i18n.d.ts +0 -1
  192. package/dist/src/types/index.d.ts +0 -9
  193. package/dist/src/types/modal.d.ts +0 -31
  194. package/dist/src/types/modalType.d.ts +0 -1
  195. package/dist/src/types/navbarOption.d.ts +0 -7
  196. package/dist/src/types/sidebarOption.d.ts +0 -7
  197. package/dist/src/types/styleValues.d.ts +0 -4
  198. package/dist/src/types/toast.d.ts +0 -26
  199. package/dist/src/utils/dates.d.ts +0 -1
  200. package/dist/src/utils/files.d.ts +0 -8
  201. package/dist/src/utils/images.d.ts +0 -1
  202. package/dist/src/utils/index.d.ts +0 -7
  203. package/dist/src/utils/modal.d.ts +0 -10
  204. package/dist/src/utils/renderContentOptions.d.ts +0 -3
  205. package/dist/src/utils/strings.d.ts +0 -2
  206. package/dist/src/utils/toast.d.ts +0 -15
  207. package/dist/vite.config.d.ts +0 -2
@@ -1,4 +1,4 @@
1
- var p = { exports: {} };
1
+ var e = { exports: {} };
2
2
  export {
3
- p as __module
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var p = { exports: {} };
2
2
  export {
3
- e as __module
3
+ p as __module
4
4
  };
@@ -5,7 +5,7 @@ import { useState as W } from "react";
5
5
  import { stringToColor as h } from "../../../utils/strings.js";
6
6
  import { getImageUrl as E } from "../../../utils/images.js";
7
7
  import "../../../_virtual/lodash.js";
8
- import "../../../providers/ThemeProvider.js";
8
+ import "../../../contexts/themeContext.js";
9
9
  import "../ImageProfileInput/ImageProfileInput.validators.js";
10
10
  import "../../../constants/countries.js";
11
11
  import "react-dom";
@@ -1,6 +1,6 @@
1
1
  import { j as s } from "../../../_virtual/jsx-runtime.js";
2
2
  import { resolveButtonClasses as d } from "./Button.styles.js";
3
- import { useTheme as i } from "../../../providers/ThemeProvider.js";
3
+ import { useTheme as i } from "../../../hooks/useTheme.js";
4
4
  import { FontAwesomeIcon as r } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
5
5
  import { resolveIconClasses as m } from "../IconButton/IconButton.styles.js";
6
6
  const h = ({
@@ -2,7 +2,7 @@ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
2
  import { useState as S, useRef as z, useEffect as J } from "react";
3
3
  import { Controller as K } from "../../../node_modules/react-hook-form/dist/index.esm.js";
4
4
  import { useFloating as Q, useClick as V, useDismiss as Z, useInteractions as ee, useTransitionStyles as te } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
5
- import { useTheme as D } from "../../../providers/ThemeProvider.js";
5
+ import { useTheme as D } from "../../../hooks/useTheme.js";
6
6
  import { autoUpdate as oe } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
7
7
  import { offset as se, flip as re, shift as le, size as ne, arrow as ae } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
8
8
  const ge = ({
@@ -1,7 +1,7 @@
1
1
  import { j as s } from "../../../_virtual/jsx-runtime.js";
2
2
  import { FontAwesomeIcon as d } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
3
3
  import { resolveIconButtonClasses as i, resolveIconClasses as p } from "./IconButton.styles.js";
4
- import { useTheme as x } from "../../../providers/ThemeProvider.js";
4
+ import { useTheme as x } from "../../../hooks/useTheme.js";
5
5
  const b = ({
6
6
  variant: t = "filled",
7
7
  color: r,
@@ -3,7 +3,7 @@ import { useState as m } from "react";
3
3
  import { useController as b } from "../../../node_modules/react-hook-form/dist/index.esm.js";
4
4
  import { FontAwesomeIcon as w } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
5
5
  import { faEye as y, faEyeSlash as j } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
6
- import { useTheme as $ } from "../../../providers/ThemeProvider.js";
6
+ import { useTheme as $ } from "../../../hooks/useTheme.js";
7
7
  const P = ({
8
8
  label: u,
9
9
  control: i,
@@ -4,7 +4,7 @@ import { useController as xe } from "../../../node_modules/react-hook-form/dist/
4
4
  import { useFloating as be, useClick as we, useDismiss as Ce, useInteractions as ve, useTransitionStyles as je } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
5
5
  import { FontAwesomeIcon as Ne } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
6
6
  import { faChevronDown as ye } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
7
- import { useTheme as Se } from "../../../providers/ThemeProvider.js";
7
+ import { useTheme as Se } from "../../../hooks/useTheme.js";
8
8
  import Le from "../../../constants/countries.js";
9
9
  import { autoUpdate as Te } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
10
10
  import { offset as Ie, flip as $e, shift as Ee, size as Oe, arrow as Pe } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
@@ -2,7 +2,7 @@ import { j as e } from "../../../_virtual/jsx-runtime.js";
2
2
  import { useFloating as B, useClick as H, useDismiss as U, useInteractions as W, useTransitionStyles as Y } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
3
3
  import { useState as b, useRef as k, useEffect as q } from "react";
4
4
  import { Controller as G } from "../../../node_modules/react-hook-form/dist/index.esm.js";
5
- import { useTheme as J } from "../../../providers/ThemeProvider.js";
5
+ import { useTheme as J } from "../../../hooks/useTheme.js";
6
6
  import { autoUpdate as K } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
7
7
  import { offset as Q, flip as V, shift as X, size as Z, arrow as _ } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
8
8
  const ie = ({
@@ -1,6 +1,6 @@
1
1
  import { j as n } from "../../../_virtual/jsx-runtime.js";
2
2
  import { resolveTextButtonClasses as u } from "./TextButton.styles.js";
3
- import { useTheme as a } from "../../../providers/ThemeProvider.js";
3
+ import { useTheme as a } from "../../../hooks/useTheme.js";
4
4
  const c = ({
5
5
  color: t,
6
6
  children: o,
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { TextInputProps } from './TextInput.types';
3
3
  import { FieldValues } from 'react-hook-form';
4
- declare const TextInput: <T extends FieldValues = FieldValues>({ label, control, name, placeholder, className, disabled, leftSide, rightSide, ...props }: TextInputProps<T>) => React.ReactElement;
4
+ declare const TextInput: <T extends FieldValues = FieldValues>({ label, control, name, placeholder, className, disabled, leftSide, rightSide, translateKey, ...props }: TextInputProps<T>) => React.ReactElement;
5
5
  export default TextInput;
@@ -1,31 +1,32 @@
1
1
  import { j as r } from "../../../_virtual/jsx-runtime.js";
2
- import { useController as m } from "../../../node_modules/react-hook-form/dist/index.esm.js";
3
- import { useTheme as j } from "../../../providers/ThemeProvider.js";
4
- const v = ({
2
+ import { useController as j } from "../../../node_modules/react-hook-form/dist/index.esm.js";
3
+ import { useTheme as w } from "../../../hooks/useTheme.js";
4
+ const C = ({
5
5
  label: u,
6
6
  control: d,
7
7
  name: e,
8
8
  placeholder: c,
9
9
  className: g = "",
10
- disabled: l = !1,
11
- leftSide: o,
12
- rightSide: a,
10
+ disabled: t = !1,
11
+ leftSide: a,
12
+ rightSide: s,
13
+ translateKey: i = "",
13
14
  ...x
14
15
  }) => {
15
16
  const {
16
- field: { value: s = "", onChange: f, ref: i, onBlur: p },
17
- fieldState: { error: t }
18
- } = m({ name: e, control: d }), { t: n } = j(), b = n(e);
17
+ field: { value: n = "", onChange: f, ref: p, onBlur: b },
18
+ fieldState: { error: l }
19
+ } = j({ name: e, control: d }), { t: o } = w(), h = o(e), m = o(i);
19
20
  return /* @__PURE__ */ r.jsxs(
20
21
  "label",
21
22
  {
22
- className: `flex flex-col group gap-8 select-none ${l && "cursor-not-allowed"} ${g}`,
23
+ className: `flex flex-col group gap-8 select-none ${t && "cursor-not-allowed"} ${g}`,
23
24
  htmlFor: e,
24
25
  children: [
25
26
  /* @__PURE__ */ r.jsx(
26
27
  "h6",
27
28
  {
28
- className: `text-gray-600 font-600 group ${t && "!text-red-500"} text-label ${l && "text-gray-300"}`,
29
+ className: `text-gray-600 font-600 group ${l && "text-red-500!"} text-label ${t && "text-gray-300"}`,
29
30
  children: u
30
31
  }
31
32
  ),
@@ -36,46 +37,46 @@ const v = ({
36
37
  className: `
37
38
  flex items-center justify-between gap-8 p-16
38
39
 
39
- ${t && "!border-red-500"}
40
+ ${l && "border-red-500!"}
40
41
 
41
42
  bg-light
42
43
 
43
44
  w-full h-full rounded-full border
44
45
 
45
- ${s && !l ? "border-blue-200" : "border-blue-100"}
46
- ${!l && "group-hover:border-blue-300"}
47
- ${l && "cursor-not-allowed"}
46
+ ${n && !t ? "border-blue-200" : "border-blue-100"}
47
+ ${!t && "group-hover:border-blue-300"}
48
+ ${t && "cursor-not-allowed"}
48
49
 
49
50
  group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
50
51
 
51
52
  group-disabled:bg-gray-500
52
53
  `,
53
54
  children: [
54
- o && o,
55
+ a && a,
55
56
  /* @__PURE__ */ r.jsx(
56
57
  "input",
57
58
  {
58
59
  id: e,
59
60
  name: e,
60
- disabled: l,
61
+ disabled: t,
61
62
  placeholder: c,
62
- value: s,
63
- onChange: (h) => f(h.target.value),
64
- onBlur: p,
65
- ref: i,
66
- className: "group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none",
63
+ value: n,
64
+ onChange: (y) => f(y.target.value),
65
+ onBlur: b,
66
+ ref: p,
67
+ className: "group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-hidden",
67
68
  ...x
68
69
  }
69
70
  ),
70
- a && a
71
+ s && s
71
72
  ]
72
73
  }
73
74
  ),
74
- /* @__PURE__ */ r.jsx("h4", { className: "font-500 text-label text-red-500 leading-none", children: (t == null ? void 0 : t.message) && n(t.message, { x: b }) })
75
+ /* @__PURE__ */ r.jsx("h4", { className: "font-500 text-label text-red-500 leading-none", children: (l == null ? void 0 : l.message) && o(l.message, { x: m || h }) })
75
76
  ]
76
77
  }
77
78
  );
78
79
  };
79
80
  export {
80
- v as default
81
+ C as default
81
82
  };
@@ -4,6 +4,7 @@ export type TextInputProps<T extends FieldValues = FieldValues> = {
4
4
  placeholder?: string;
5
5
  className?: string;
6
6
  disabled?: boolean;
7
+ translateKey?: string;
7
8
  control: Control<T>;
8
9
  name: Path<T>;
9
10
  leftSide?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { j as o } from "../../../_virtual/jsx-runtime.js";
2
- import { useTheme as i } from "../../../providers/ThemeProvider.js";
2
+ import { useTheme as i } from "../../../hooks/useTheme.js";
3
3
  const m = ({
4
4
  label: c,
5
5
  onChange: x,
@@ -1,7 +1,7 @@
1
1
  import { j as t } from "../../../_virtual/jsx-runtime.js";
2
2
  import { useState as g, useRef as $ } from "react";
3
3
  import k from "../TextButton/TextButton.js";
4
- import { useTheme as B } from "../../../providers/ThemeProvider.js";
4
+ import { useTheme as B } from "../../../hooks/useTheme.js";
5
5
  import { translateBytes as F } from "../../../utils/files.js";
6
6
  import "../../../_virtual/lodash.js";
7
7
  import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
@@ -3,7 +3,7 @@ import { faX as h } from "../../../node_modules/@fortawesome/pro-light-svg-icons
3
3
  import { FontAwesomeIcon as y } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import "react";
5
5
  import "../../../_virtual/lodash.js";
6
- import { useTheme as j } from "../../../providers/ThemeProvider.js";
6
+ import { useTheme as j } from "../../../hooks/useTheme.js";
7
7
  import g from "../../atoms/BoxContainer/BoxContainer.js";
8
8
  import "react-dom";
9
9
  import a from "../../atoms/Button/Button.js";
@@ -4,7 +4,7 @@ import { faChevronLeft as K } from "../../../node_modules/@fortawesome/pro-solid
4
4
  import { useState as c, useEffect as Q } from "react";
5
5
  import { FontAwesomeIcon as V } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
6
6
  import "../../../_virtual/lodash.js";
7
- import { useTheme as X } from "../../../providers/ThemeProvider.js";
7
+ import { useTheme as X } from "../../../hooks/useTheme.js";
8
8
  import k from "../FloatingMenu/FloatingMenu.js";
9
9
  import Z from "./PeriodToggle.js";
10
10
  import ee from "./TimeDisplay.js";
@@ -6,7 +6,7 @@ import h from "../../atoms/UncontrolledTextInput/UncontrolledTextInput.js";
6
6
  import j from "../FloatingMenu/FloatingMenu.js";
7
7
  import { FontAwesomeIcon as D } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
8
8
  import { faX as S } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
9
- import { useTheme as I } from "../../../providers/ThemeProvider.js";
9
+ import { useTheme as I } from "../../../hooks/useTheme.js";
10
10
  import { formatLocalizedDate as v } from "../../../utils/dates.js";
11
11
  import "../../../_virtual/lodash.js";
12
12
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
@@ -3,7 +3,7 @@ import { faX as j } from "../../../node_modules/@fortawesome/pro-light-svg-icons
3
3
  import { FontAwesomeIcon as t } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import "react";
5
5
  import "../../../_virtual/lodash.js";
6
- import "../../../providers/ThemeProvider.js";
6
+ import "../../../contexts/themeContext.js";
7
7
  import y from "../../atoms/BoxContainer/BoxContainer.js";
8
8
  import "react-dom";
9
9
  import a from "../../atoms/Button/Button.js";
@@ -2,7 +2,7 @@ import { j as e } from "../../../_virtual/jsx-runtime.js";
2
2
  import { faChevronDown as p } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
3
3
  import { FontAwesomeIcon as f } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import { useState as b } from "react";
5
- import { useTheme as g } from "../../../providers/ThemeProvider.js";
5
+ import { useTheme as g } from "../../../hooks/useTheme.js";
6
6
  import { motion as n } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
7
7
  import { AnimatePresence as w } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
8
8
  const i = {
@@ -3,7 +3,7 @@ import { faFile as R, faTrash as I, faArrowsRotate as O } from "../../../node_mo
3
3
  import { FontAwesomeIcon as c } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import { useState as d, useEffect as S } from "react";
5
5
  import { FileStatus as t } from "./FileUpload.types.js";
6
- import { useTheme as L } from "../../../providers/ThemeProvider.js";
6
+ import { useTheme as L } from "../../../hooks/useTheme.js";
7
7
  import { motion as M } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
8
8
  const G = ({
9
9
  file: s,
@@ -3,7 +3,7 @@ import { useFloating as N, useClick as O, useDismiss as R, useInteractions as S,
3
3
  import { useState as k, useEffect as w } from "react";
4
4
  import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
5
5
  import "../../../_virtual/lodash.js";
6
- import "../../../providers/ThemeProvider.js";
6
+ import "../../../contexts/themeContext.js";
7
7
  import P from "../../atoms/BoxContainer/BoxContainer.js";
8
8
  import "react-dom";
9
9
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
@@ -2,7 +2,7 @@ import { j as e } from "../../../_virtual/jsx-runtime.js";
2
2
  import { faCheck as h, faClockSix as g } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
3
3
  import { FontAwesomeIcon as p } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import { useState as u, useEffect as F } from "react";
5
- import { useTheme as y } from "../../../providers/ThemeProvider.js";
5
+ import { useTheme as y } from "../../../hooks/useTheme.js";
6
6
  import { motion as c } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
7
7
  import { AnimatePresence as v } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
8
8
  const k = ({
@@ -2,7 +2,7 @@ import { j as r } from "../../../_virtual/jsx-runtime.js";
2
2
  import { useRef as m, useState as E, useEffect as u } from "react";
3
3
  import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import "../../../_virtual/lodash.js";
5
- import { useTheme as S } from "../../../providers/ThemeProvider.js";
5
+ import { useTheme as S } from "../../../hooks/useTheme.js";
6
6
  import "react-dom";
7
7
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
8
8
  import L from "../../atoms/Tab/Tab.js";
@@ -0,0 +1 @@
1
+ export * from './themeContext';
@@ -0,0 +1,3 @@
1
+ import { LawgicTheme } from '../themes';
2
+ declare const ThemeContext: import('react').Context<LawgicTheme>;
3
+ export default ThemeContext;
@@ -0,0 +1,6 @@
1
+ import { defaultTheme as e } from "../themes/default.js";
2
+ import { createContext as t } from "react";
3
+ const r = t(e);
4
+ export {
5
+ r as default
6
+ };
@@ -0,0 +1 @@
1
+ export * from './useTheme';
@@ -0,0 +1 @@
1
+ export declare const useTheme: () => import('..').LawgicTheme;
@@ -0,0 +1,6 @@
1
+ import e from "../contexts/themeContext.js";
2
+ import { useContext as o } from "react";
3
+ const r = () => o(e);
4
+ export {
5
+ r as useTheme
6
+ };
package/dist/index.d.ts CHANGED
@@ -2,4 +2,6 @@ export * from './components/index';
2
2
  export * from './types/index';
3
3
  export * from './utils/index';
4
4
  export * from './providers/index';
5
+ export * from './hooks/index';
6
+ export * from './contexts/index';
5
7
  export * from './themes/index';
package/dist/index.js CHANGED
@@ -1,110 +1,112 @@
1
1
  /* empty css */
2
- import { default as f } from "./components/atoms/ActionButton/ActionButton.js";
3
- import { AsyncToast as p } from "./components/atoms/AsyncToast/index.js";
4
- import { default as m } from "./components/atoms/Avatar/Avatar.js";
5
- import { default as u } from "./components/atoms/BoxContainer/BoxContainer.js";
6
- import { default as n } from "./components/atoms/Button/Button.js";
7
- import { default as c } from "./components/atoms/CenterModal/CenterModal.js";
8
- import { default as g } from "./components/atoms/CountrySelectInput/CountryDropdown.js";
9
- import { default as B } from "./components/atoms/Divider/Divider.js";
10
- import { default as h } from "./components/atoms/FullLogo/FullLogo.js";
11
- import { default as M } from "./components/atoms/IconButton/IconButton.js";
12
- import { default as w } from "./components/atoms/ImageProfileInput/ImageProfileInput.js";
13
- import { default as L } from "./components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
14
- import { default as A } from "./components/atoms/InfoCard/InfoCard.js";
15
- import { default as b } from "./components/atoms/LoadingSpinner/LoadingSpinner.js";
16
- import { default as v } from "./components/atoms/PasswordInput/PasswordInput.js";
17
- import { default as O } from "./components/atoms/ProgressBar/ProgressBar.js";
18
- import { SearchBar as j } from "./components/atoms/SearchBar/index.js";
19
- import { default as q } from "./components/atoms/SectionButton/SectionButton.js";
20
- import { default as G } from "./components/atoms/SelectDropdown/SelectDropdown.js";
2
+ import { default as l } from "./components/atoms/ActionButton/ActionButton.js";
3
+ import { AsyncToast as m } from "./components/atoms/AsyncToast/index.js";
4
+ import { default as s } from "./components/atoms/Avatar/Avatar.js";
5
+ import { default as x } from "./components/atoms/BoxContainer/BoxContainer.js";
6
+ import { default as i } from "./components/atoms/Button/Button.js";
7
+ import { default as T } from "./components/atoms/CenterModal/CenterModal.js";
8
+ import { default as I } from "./components/atoms/CountrySelectInput/CountryDropdown.js";
9
+ import { default as C } from "./components/atoms/Divider/Divider.js";
10
+ import { default as D } from "./components/atoms/FullLogo/FullLogo.js";
11
+ import { default as S } from "./components/atoms/IconButton/IconButton.js";
12
+ import { default as y } from "./components/atoms/ImageProfileInput/ImageProfileInput.js";
13
+ import { default as P } from "./components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
14
+ import { default as U } from "./components/atoms/InfoCard/InfoCard.js";
15
+ import { default as F } from "./components/atoms/LoadingSpinner/LoadingSpinner.js";
16
+ import { default as z } from "./components/atoms/PasswordInput/PasswordInput.js";
17
+ import { default as V } from "./components/atoms/ProgressBar/ProgressBar.js";
18
+ import { SearchBar as k } from "./components/atoms/SearchBar/index.js";
19
+ import { default as E } from "./components/atoms/SectionButton/SectionButton.js";
20
+ import { default as H } from "./components/atoms/SelectDropdown/SelectDropdown.js";
21
21
  import "./_virtual/jsx-runtime.js";
22
22
  import "./node_modules/@fortawesome/react-fontawesome/index.es.js";
23
- import { default as J } from "./components/atoms/Tab/Tab.js";
24
- import { default as N } from "./components/atoms/TextButton/TextButton.js";
25
- import { default as R } from "./components/atoms/TextInput/TextInput.js";
26
- import { default as X } from "./components/atoms/Toast/Toast.js";
27
- import { default as Z } from "./components/atoms/UncontrolledSelector/UncontrolledSelector.js";
28
- import { default as $ } from "./components/atoms/UncontrolledTextInput/UncontrolledTextInput.js";
29
- import { default as to } from "./components/atoms/UploadContainer/UploadContainer.js";
30
- import { default as ro } from "./components/atoms/InformationDisclaimer/InformationDisclaimer.js";
31
- import { default as fo } from "./components/atoms/CountryLabel/CountryLabel.js";
32
- import { default as po } from "./components/atoms/PhoneInput/PhoneInput.js";
33
- import { default as so } from "./components/molecules/AlertModal/AlertModal.js";
34
- import { default as xo } from "./components/molecules/CalendarSelector/CalendarSelector.js";
35
- import { default as io } from "./components/molecules/DateInput/DateInput.js";
36
- import { default as To } from "./components/molecules/DialogModal/DialogModal.js";
37
- import { default as Io } from "./components/molecules/Dropdown/Dropdown.js";
38
- import { default as Co } from "./components/molecules/FileUpload/FileUpload.js";
39
- import { default as Do } from "./components/molecules/FloatingMenu/FloatingMenu.js";
40
- import { default as So } from "./components/molecules/SearchModal/SearchModal.js";
41
- import { default as yo } from "./components/molecules/Stepper/Stepper.js";
42
- import { default as Po } from "./components/molecules/Tabs/Tabs.js";
43
- import { Organism as Uo } from "./components/organisms/index.js";
44
- import { formatLocalizedDate as Fo } from "./utils/dates.js";
45
- import { toBase64 as zo, translateBytes as Oo } from "./utils/files.js";
46
- import { getImageUrl as jo } from "./utils/images.js";
47
- import { ModalContainer as qo, closeModal as Eo, openModal as Go } from "./utils/modal.js";
48
- import { renderTabContent as Jo } from "./utils/renderContentOptions.js";
49
- import { capitalizeFirstLetter as No, stringToColor as Qo } from "./utils/strings.js";
50
- import { showToastAsync as Wo, showToastLoading as Xo, toast as Yo } from "./utils/toast.js";
51
- import { ThemeProvider as _o, useTheme as $o } from "./providers/ThemeProvider.js";
52
- import { defaultTheme as tt } from "./themes/default.js";
23
+ import { default as K } from "./components/atoms/Tab/Tab.js";
24
+ import { default as Q } from "./components/atoms/TextButton/TextButton.js";
25
+ import { default as W } from "./components/atoms/TextInput/TextInput.js";
26
+ import { default as Y } from "./components/atoms/Toast/Toast.js";
27
+ import { default as _ } from "./components/atoms/UncontrolledSelector/UncontrolledSelector.js";
28
+ import { default as oo } from "./components/atoms/UncontrolledTextInput/UncontrolledTextInput.js";
29
+ import { default as ro } from "./components/atoms/UploadContainer/UploadContainer.js";
30
+ import { default as ao } from "./components/atoms/InformationDisclaimer/InformationDisclaimer.js";
31
+ import { default as lo } from "./components/atoms/CountryLabel/CountryLabel.js";
32
+ import { default as mo } from "./components/atoms/PhoneInput/PhoneInput.js";
33
+ import { default as uo } from "./components/molecules/AlertModal/AlertModal.js";
34
+ import { default as no } from "./components/molecules/CalendarSelector/CalendarSelector.js";
35
+ import { default as co } from "./components/molecules/DateInput/DateInput.js";
36
+ import { default as go } from "./components/molecules/DialogModal/DialogModal.js";
37
+ import { default as Bo } from "./components/molecules/Dropdown/Dropdown.js";
38
+ import { default as ho } from "./components/molecules/FileUpload/FileUpload.js";
39
+ import { default as Mo } from "./components/molecules/FloatingMenu/FloatingMenu.js";
40
+ import { default as wo } from "./components/molecules/SearchModal/SearchModal.js";
41
+ import { default as Lo } from "./components/molecules/Stepper/Stepper.js";
42
+ import { default as Ao } from "./components/molecules/Tabs/Tabs.js";
43
+ import { Organism as bo } from "./components/organisms/index.js";
44
+ import { formatLocalizedDate as vo } from "./utils/dates.js";
45
+ import { toBase64 as Oo, translateBytes as Vo } from "./utils/files.js";
46
+ import { getImageUrl as ko } from "./utils/images.js";
47
+ import { ModalContainer as Eo, closeModal as Go, openModal as Ho } from "./utils/modal.js";
48
+ import { renderTabContent as Ko } from "./utils/renderContentOptions.js";
49
+ import { capitalizeFirstLetter as Qo, stringToColor as Ro } from "./utils/strings.js";
50
+ import { showToastAsync as Xo, showToastLoading as Yo, toast as Zo } from "./utils/toast.js";
51
+ import { ThemeProvider as $o } from "./providers/ThemeProvider.js";
52
+ import { useTheme as tt } from "./hooks/useTheme.js";
53
+ import "./contexts/themeContext.js";
54
+ import { defaultTheme as et } from "./themes/default.js";
53
55
  export {
54
- f as ActionButton,
55
- so as AlertModal,
56
- p as AsyncToast,
57
- m as Avatar,
58
- u as BoxContainer,
59
- n as Button,
60
- xo as CalendarSelector,
61
- c as CenterModal,
62
- g as CountryDropdown,
63
- fo as CountryLabel,
64
- io as DateInput,
65
- To as DialogModal,
66
- B as Divider,
67
- Io as Dropdown,
68
- Co as FileUpload,
69
- Do as FloatingMenu,
70
- h as FullLogo,
71
- M as IconButton,
72
- w as ImageProfileInput,
73
- A as InfoCard,
74
- ro as InformationDisclaimer,
75
- b as LoadingSpinner,
76
- qo as ModalContainer,
77
- Uo as Organism,
78
- v as PasswordInput,
79
- po as PhoneInput,
80
- O as ProgressBar,
81
- j as SearchBar,
82
- So as SearchModal,
83
- q as SectionButton,
84
- G as SelectDropdown,
85
- yo as Stepper,
86
- J as Tab,
87
- Po as Tabs,
88
- N as TextButton,
89
- R as TextInput,
90
- _o as ThemeProvider,
91
- X as Toast,
92
- Z as UncontrolledSelector,
93
- $ as UncontrolledTextInput,
94
- to as UploadContainer,
95
- No as capitalizeFirstLetter,
96
- Eo as closeModal,
97
- tt as defaultTheme,
98
- Fo as formatLocalizedDate,
99
- jo as getImageUrl,
100
- Go as openModal,
101
- Jo as renderTabContent,
102
- Wo as showToastAsync,
103
- Xo as showToastLoading,
104
- Qo as stringToColor,
105
- zo as toBase64,
106
- Yo as toast,
107
- Oo as translateBytes,
108
- $o as useTheme,
109
- L as yupImageProfileValidator
56
+ l as ActionButton,
57
+ uo as AlertModal,
58
+ m as AsyncToast,
59
+ s as Avatar,
60
+ x as BoxContainer,
61
+ i as Button,
62
+ no as CalendarSelector,
63
+ T as CenterModal,
64
+ I as CountryDropdown,
65
+ lo as CountryLabel,
66
+ co as DateInput,
67
+ go as DialogModal,
68
+ C as Divider,
69
+ Bo as Dropdown,
70
+ ho as FileUpload,
71
+ Mo as FloatingMenu,
72
+ D as FullLogo,
73
+ S as IconButton,
74
+ y as ImageProfileInput,
75
+ U as InfoCard,
76
+ ao as InformationDisclaimer,
77
+ F as LoadingSpinner,
78
+ Eo as ModalContainer,
79
+ bo as Organism,
80
+ z as PasswordInput,
81
+ mo as PhoneInput,
82
+ V as ProgressBar,
83
+ k as SearchBar,
84
+ wo as SearchModal,
85
+ E as SectionButton,
86
+ H as SelectDropdown,
87
+ Lo as Stepper,
88
+ K as Tab,
89
+ Ao as Tabs,
90
+ Q as TextButton,
91
+ W as TextInput,
92
+ $o as ThemeProvider,
93
+ Y as Toast,
94
+ _ as UncontrolledSelector,
95
+ oo as UncontrolledTextInput,
96
+ ro as UploadContainer,
97
+ Qo as capitalizeFirstLetter,
98
+ Go as closeModal,
99
+ et as defaultTheme,
100
+ vo as formatLocalizedDate,
101
+ ko as getImageUrl,
102
+ Ho as openModal,
103
+ Ko as renderTabContent,
104
+ Xo as showToastAsync,
105
+ Yo as showToastLoading,
106
+ Ro as stringToColor,
107
+ Oo as toBase64,
108
+ Zo as toast,
109
+ Vo as translateBytes,
110
+ tt as useTheme,
111
+ P as yupImageProfileValidator
110
112
  };