lawgic-dev-kit 0.8.8 → 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 (51) hide show
  1. package/dist/_virtual/index2.js +2 -3
  2. package/dist/_virtual/index3.js +2 -3
  3. package/dist/_virtual/index4.js +3 -5
  4. package/dist/_virtual/index5.js +3 -2
  5. package/dist/_virtual/index6.js +5 -2
  6. package/dist/components/atoms/Avatar/Avatar.js +1 -1
  7. package/dist/components/atoms/Button/Button.js +1 -1
  8. package/dist/components/atoms/CountrySelectInput/CountryDropdown.js +1 -1
  9. package/dist/components/atoms/IconButton/IconButton.js +1 -1
  10. package/dist/components/atoms/PasswordInput/PasswordInput.js +1 -1
  11. package/dist/components/atoms/PhoneInput/PhoneInput.js +1 -1
  12. package/dist/components/atoms/SelectDropdown/SelectDropdown.js +1 -1
  13. package/dist/components/atoms/TextButton/TextButton.js +1 -1
  14. package/dist/components/atoms/TextInput/TextInput.d.ts +1 -1
  15. package/dist/components/atoms/TextInput/TextInput.js +38 -37
  16. package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +1 -1
  17. package/dist/components/atoms/UploadContainer/UploadContainer.js +1 -1
  18. package/dist/components/molecules/AlertModal/AlertModal.js +1 -1
  19. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +1 -1
  20. package/dist/components/molecules/DateInput/DateInput.js +1 -1
  21. package/dist/components/molecules/DialogModal/DialogModal.js +1 -1
  22. package/dist/components/molecules/Dropdown/Dropdown.js +1 -1
  23. package/dist/components/molecules/FileUpload/FileUpload.js +1 -1
  24. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +1 -1
  25. package/dist/components/molecules/Stepper/Stepper.js +1 -1
  26. package/dist/components/molecules/Tabs/Tabs.js +1 -1
  27. package/dist/contexts/index.d.ts +1 -0
  28. package/dist/contexts/themeContext.d.ts +3 -0
  29. package/dist/contexts/themeContext.js +6 -0
  30. package/dist/hooks/index.d.ts +1 -0
  31. package/dist/hooks/useTheme.d.ts +1 -0
  32. package/dist/hooks/useTheme.js +6 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +107 -105
  35. package/dist/lawgic-dev-kit.umd.js +63 -63
  36. package/dist/node_modules/prop-types/index.js +1 -1
  37. package/dist/node_modules/scheduler/index.js +1 -1
  38. package/dist/node_modules/yup/index.esm.js +3 -3
  39. package/dist/providers/ThemeProvider.d.ts +0 -3
  40. package/dist/providers/ThemeProvider.js +12 -15
  41. package/dist/src/components/atoms/TextInput/TextInput.d.ts +5 -0
  42. package/dist/src/contexts/index.d.ts +1 -0
  43. package/dist/src/contexts/themeContext.d.ts +3 -0
  44. package/dist/src/hooks/index.d.ts +1 -0
  45. package/dist/src/hooks/useTheme.d.ts +1 -0
  46. package/dist/src/index.d.ts +8 -0
  47. package/dist/src/providers/ThemeProvider.d.ts +7 -0
  48. package/dist/utils/modal.js +1 -1
  49. package/dist/utils/toast.js +1 -1
  50. package/package.json +9 -1
  51. package/dist/src/components/atoms/TextInput/TextInput.types.d.ts +0 -12
@@ -1,5 +1,4 @@
1
- import { __require as r } from "../node_modules/property-expr/index.js";
2
- var e = r();
1
+ var e = { exports: {} };
3
2
  export {
4
- e as p
3
+ e as __module
5
4
  };
@@ -1,5 +1,4 @@
1
- import { __require as r } from "../node_modules/tiny-case/index.js";
2
- var a = r();
1
+ var p = { exports: {} };
3
2
  export {
4
- a as t
3
+ p as __module
5
4
  };
@@ -1,7 +1,5 @@
1
- import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
- import { __require as r } from "../node_modules/toposort/index.js";
3
- var t = r();
4
- const s = /* @__PURE__ */ o(t);
1
+ import { __require as r } from "../node_modules/property-expr/index.js";
2
+ var e = r();
5
3
  export {
6
- s as default
4
+ e as p
7
5
  };
@@ -1,4 +1,5 @@
1
- var e = { exports: {} };
1
+ import { __require as r } from "../node_modules/tiny-case/index.js";
2
+ var a = r();
2
3
  export {
3
- e as __module
4
+ a as t
4
5
  };
@@ -1,4 +1,7 @@
1
- var p = { exports: {} };
1
+ import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/toposort/index.js";
3
+ var t = r();
4
+ const s = /* @__PURE__ */ o(t);
2
5
  export {
3
- p as __module
6
+ s as default
4
7
  };
@@ -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,81 +1,82 @@
1
1
  import { j as r } from "../../../_virtual/jsx-runtime.js";
2
- import { useController as b } from "../../../node_modules/react-hook-form/dist/index.esm.js";
3
- const j = ({
4
- label: n,
5
- control: s,
6
- name: l,
7
- placeholder: d,
8
- className: x = "",
9
- disabled: e = !1,
10
- leftSide: t,
11
- rightSide: o,
12
- // translateKey = '',
13
- ...c
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
+ label: u,
6
+ control: d,
7
+ name: e,
8
+ placeholder: c,
9
+ className: g = "",
10
+ disabled: t = !1,
11
+ leftSide: a,
12
+ rightSide: s,
13
+ translateKey: i = "",
14
+ ...x
14
15
  }) => {
15
16
  const {
16
- field: { value: a = "", onChange: f, ref: g, onBlur: i },
17
- fieldState: { error: u }
18
- } = b({ name: l, control: s });
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 ${e && "cursor-not-allowed"} ${x}`,
23
- htmlFor: l,
23
+ className: `flex flex-col group gap-8 select-none ${t && "cursor-not-allowed"} ${g}`,
24
+ htmlFor: e,
24
25
  children: [
25
26
  /* @__PURE__ */ r.jsx(
26
27
  "h6",
27
28
  {
28
- className: `text-gray-600 font-600 group ${u && "text-red-500!"} text-label ${e && "text-gray-300"}`,
29
- children: n
29
+ className: `text-gray-600 font-600 group ${l && "text-red-500!"} text-label ${t && "text-gray-300"}`,
30
+ children: u
30
31
  }
31
32
  ),
32
33
  /* @__PURE__ */ r.jsxs(
33
34
  "label",
34
35
  {
35
- htmlFor: l,
36
+ htmlFor: e,
36
37
  className: `
37
38
  flex items-center justify-between gap-8 p-16
38
39
 
39
- ${u && "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
- ${a && !e ? "border-blue-200" : "border-blue-100"}
46
- ${!e && "group-hover:border-blue-300"}
47
- ${e && "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
- t && t,
55
+ a && a,
55
56
  /* @__PURE__ */ r.jsx(
56
57
  "input",
57
58
  {
58
- id: l,
59
- name: l,
60
- disabled: e,
61
- placeholder: d,
62
- value: a,
63
- onChange: (p) => f(p.target.value),
64
- onBlur: i,
65
- ref: g,
59
+ id: e,
60
+ name: e,
61
+ disabled: t,
62
+ placeholder: c,
63
+ value: n,
64
+ onChange: (y) => f(y.target.value),
65
+ onBlur: b,
66
+ ref: p,
66
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
- ...c
68
+ ...x
68
69
  }
69
70
  ),
70
- o && o
71
+ s && s
71
72
  ]
72
73
  }
73
74
  ),
74
- /* @__PURE__ */ r.jsx("h4", { className: "font-500 text-label text-red-500 leading-none" })
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
- j as default
81
+ C as default
81
82
  };
@@ -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';