lawgic-dev-kit 0.8.8 → 0.9.1
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.
- package/dist/_virtual/index2.js +2 -3
- package/dist/_virtual/index3.js +2 -3
- package/dist/_virtual/index4.js +3 -5
- package/dist/_virtual/index5.js +3 -2
- package/dist/_virtual/index6.js +5 -2
- package/dist/components/atoms/Avatar/Avatar.js +1 -1
- package/dist/components/atoms/Button/Button.js +9 -8
- package/dist/components/atoms/CountrySelectInput/CountryDropdown.js +1 -1
- package/dist/components/atoms/IconButton/IconButton.js +1 -1
- package/dist/components/atoms/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/atoms/PhoneInput/PhoneInput.js +1 -1
- package/dist/components/atoms/SelectDropdown/SelectDropdown.js +1 -1
- package/dist/components/atoms/TextButton/TextButton.js +1 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts +1 -1
- package/dist/components/atoms/TextInput/TextInput.js +38 -37
- package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +1 -1
- package/dist/components/atoms/UploadContainer/UploadContainer.js +1 -1
- package/dist/components/molecules/AlertModal/AlertModal.js +1 -1
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +1 -1
- package/dist/components/molecules/DateInput/DateInput.js +1 -1
- package/dist/components/molecules/DialogModal/DialogModal.js +1 -1
- package/dist/components/molecules/Dropdown/Dropdown.js +1 -1
- package/dist/components/molecules/FileUpload/FileUpload.js +1 -1
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +1 -1
- package/dist/components/molecules/Stepper/Stepper.js +1 -1
- package/dist/components/molecules/Tabs/Tabs.js +1 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/themeContext.d.ts +3 -0
- package/dist/contexts/themeContext.js +6 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useTheme.d.ts +1 -0
- package/dist/hooks/useTheme.js +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +107 -105
- package/dist/lawgic-dev-kit.umd.js +63 -63
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/scheduler/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/providers/ThemeProvider.d.ts +0 -3
- package/dist/providers/ThemeProvider.js +12 -15
- package/dist/utils/modal.js +1 -1
- package/dist/utils/toast.js +1 -1
- package/package.json +9 -1
- package/dist/src/components/atoms/TextInput/TextInput.types.d.ts +0 -12
package/dist/_virtual/index2.js
CHANGED
package/dist/_virtual/index3.js
CHANGED
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
-
|
|
4
|
+
e as p
|
|
7
5
|
};
|
package/dist/_virtual/index5.js
CHANGED
package/dist/_virtual/index6.js
CHANGED
|
@@ -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 "../../../
|
|
8
|
+
import "../../../contexts/themeContext.js";
|
|
9
9
|
import "../ImageProfileInput/ImageProfileInput.validators.js";
|
|
10
10
|
import "../../../constants/countries.js";
|
|
11
11
|
import "react-dom";
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { j as s } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
-
import { resolveButtonClasses as
|
|
3
|
-
import { useTheme as
|
|
2
|
+
import { resolveButtonClasses as x } from "./Button.styles.js";
|
|
3
|
+
import { useTheme as j } 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
|
-
const
|
|
6
|
+
const B = ({
|
|
7
7
|
icon: e,
|
|
8
8
|
rightIcon: t,
|
|
9
|
-
color:
|
|
10
|
-
variant:
|
|
9
|
+
color: a,
|
|
10
|
+
variant: l = "filled",
|
|
11
11
|
size: o = "base",
|
|
12
12
|
children: n,
|
|
13
13
|
className: c,
|
|
14
14
|
...u
|
|
15
15
|
}) => {
|
|
16
|
-
const { defaultColorScheme: f } =
|
|
16
|
+
const { defaultColorScheme: f, t: p } = j(), d = p("cancel"), i = a || f;
|
|
17
17
|
return /* @__PURE__ */ s.jsxs(
|
|
18
18
|
"button",
|
|
19
19
|
{
|
|
20
20
|
type: "button",
|
|
21
|
-
className:
|
|
21
|
+
className: x(l, i, o) + " " + c,
|
|
22
22
|
...u,
|
|
23
23
|
children: [
|
|
24
|
+
d,
|
|
24
25
|
e && /* @__PURE__ */ s.jsx(r, { icon: e, className: m(o) }),
|
|
25
26
|
n,
|
|
26
27
|
t && /* @__PURE__ */ s.jsx(
|
|
@@ -35,5 +36,5 @@ const h = ({
|
|
|
35
36
|
);
|
|
36
37
|
};
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
B as default
|
|
39
40
|
};
|
|
@@ -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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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:
|
|
17
|
-
fieldState: { error:
|
|
18
|
-
} =
|
|
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 ${
|
|
23
|
-
htmlFor:
|
|
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 ${
|
|
29
|
-
children:
|
|
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:
|
|
36
|
+
htmlFor: e,
|
|
36
37
|
className: `
|
|
37
38
|
flex items-center justify-between gap-8 p-16
|
|
38
39
|
|
|
39
|
-
${
|
|
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
|
-
${
|
|
46
|
-
${!
|
|
47
|
-
${
|
|
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
|
-
|
|
55
|
+
a && a,
|
|
55
56
|
/* @__PURE__ */ r.jsx(
|
|
56
57
|
"input",
|
|
57
58
|
{
|
|
58
|
-
id:
|
|
59
|
-
name:
|
|
60
|
-
disabled:
|
|
61
|
-
placeholder:
|
|
62
|
-
value:
|
|
63
|
-
onChange: (
|
|
64
|
-
onBlur:
|
|
65
|
-
ref:
|
|
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
|
-
...
|
|
68
|
+
...x
|
|
68
69
|
}
|
|
69
70
|
),
|
|
70
|
-
|
|
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
|
-
|
|
81
|
+
C as default
|
|
81
82
|
};
|
|
@@ -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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 "../../../
|
|
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 @@
|
|
|
1
|
+
export * from './useTheme';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useTheme: () => import('..').LawgicTheme;
|
package/dist/index.d.ts
CHANGED