xtreme-ui 0.0.37 → 0.0.39
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/components/base/ActionCard/ActionCard.d.ts +4 -0
- package/dist/components/base/ActionCard/ActionCard.d.ts.map +1 -0
- package/dist/components/base/ActionCard/ActionCard.js +49 -0
- package/dist/components/base/ActionCard/ActionCard.js.map +1 -0
- package/dist/components/base/ActionCard/actionCard.module.scss.js +25 -0
- package/dist/components/base/ActionCard/actionCard.module.scss.js.map +1 -0
- package/dist/components/base/ActionCard/types.d.ts +18 -0
- package/dist/components/base/ActionCard/types.d.ts.map +1 -0
- package/dist/components/base/ActionCard/types.js +6 -0
- package/dist/components/base/ActionCard/types.js.map +1 -0
- package/dist/components/base/Avatar/avatar.module.scss.js +11 -11
- package/dist/components/base/Button/Button.d.ts.map +1 -1
- package/dist/components/base/Button/Button.js +39 -49
- package/dist/components/base/Button/Button.js.map +1 -1
- package/dist/components/base/Button/button.module.scss.js +32 -36
- package/dist/components/base/Button/button.module.scss.js.map +1 -1
- package/dist/components/base/Button/types.d.ts +2 -2
- package/dist/components/base/Button/types.d.ts.map +1 -1
- package/dist/components/base/Button/types.js.map +1 -1
- package/dist/components/base/Icon/Icon.js.map +1 -1
- package/dist/components/base/Icon/icon.module.scss.js +15 -15
- package/dist/components/base/Textfield/textfield.module.scss.js +10 -10
- package/dist/components/context/Theme/type.d.ts +2 -2
- package/dist/components/context/Theme/type.d.ts.map +1 -1
- package/dist/components/context/Theme/type.js +8 -6
- package/dist/components/context/Theme/type.js.map +1 -1
- package/dist/components/layout/Navigation/navigation.module.scss.js +15 -15
- package/dist/components/layout/Sider/sider.module.scss.js +4 -4
- package/dist/components/layout/ThemePicker/ThemePicker.d.ts.map +1 -1
- package/dist/components/layout/ThemePicker/ThemePicker.js +68 -26
- package/dist/components/layout/ThemePicker/ThemePicker.js.map +1 -1
- package/dist/components/layout/ThemePicker/themePicker.module.scss.js +36 -4
- package/dist/components/layout/ThemePicker/themePicker.module.scss.js.map +1 -1
- package/dist/components/layout/ThemePicker/type.d.ts +9 -5
- package/dist/components/layout/ThemePicker/type.d.ts.map +1 -1
- package/dist/components/layout/ThemePicker/type.js +7 -0
- package/dist/components/layout/ThemePicker/type.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47 -43
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +18 -18
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionCard.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ActionCard/ActionCard.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAmB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,UAAU,6GAyCrB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as x } from "react";
|
|
4
|
+
import y from "clsx";
|
|
5
|
+
import { Icon as C } from "../Icon/Icon.js";
|
|
6
|
+
import r from "./actionCard.module.scss.js";
|
|
7
|
+
import { EActionCardSize as s } from "./types.js";
|
|
8
|
+
const N = x((d, n) => {
|
|
9
|
+
const {
|
|
10
|
+
className: l,
|
|
11
|
+
children: m,
|
|
12
|
+
size: e = "default",
|
|
13
|
+
title: i,
|
|
14
|
+
icon: c,
|
|
15
|
+
iconType: p = "brand",
|
|
16
|
+
onClick: f
|
|
17
|
+
} = d, o = Array.isArray(e) ? e : [s[e], s[e]], h = y(
|
|
18
|
+
r.actionCard,
|
|
19
|
+
"shadowRipple",
|
|
20
|
+
r[`${e}Size`],
|
|
21
|
+
i && r.withHeader,
|
|
22
|
+
l
|
|
23
|
+
);
|
|
24
|
+
return /* @__PURE__ */ t(
|
|
25
|
+
"div",
|
|
26
|
+
{
|
|
27
|
+
ref: n,
|
|
28
|
+
className: h,
|
|
29
|
+
style: {
|
|
30
|
+
"--cardWidth": `${o[0]}px`,
|
|
31
|
+
"--cardHeight": `${o[1]}px`
|
|
32
|
+
},
|
|
33
|
+
onClick: f,
|
|
34
|
+
role: "card",
|
|
35
|
+
children: [
|
|
36
|
+
i && /* @__PURE__ */ t("div", { className: r.header, children: [
|
|
37
|
+
c && /* @__PURE__ */ a(C, { className: r.icon, code: c, type: p }),
|
|
38
|
+
/* @__PURE__ */ a("span", { className: r.title, children: i })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ a("div", { className: r.content, children: m })
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
});
|
|
45
|
+
N.displayName = "ActionCard";
|
|
46
|
+
export {
|
|
47
|
+
N as ActionCard
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=ActionCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionCard.js","sources":["../../../../src/components/base/ActionCard/ActionCard.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { Icon } from '../Icon/Icon';\n\nimport styles from './actionCard.module.scss';\nimport { EActionCardSize, TActionCardProps } from './types';\n\nexport const ActionCard = forwardRef<HTMLDivElement, TActionCardProps>((props, ref) => {\n\tconst {\n\t\tclassName,\n\t\tchildren,\n\t\tsize = 'default',\n\t\ttitle,\n\t\ticon,\n\t\ticonType = 'brand',\n\t\tonClick,\n\t} = props;\n\n\tconst cardSize = Array.isArray(size) ? size : [EActionCardSize[size], EActionCardSize[size]];\n\n\tconst ActionCardClsx = clsx(\n\t\tstyles.actionCard,\n\t\t'shadowRipple',\n\t\tstyles[`${size}Size`],\n\t\ttitle && styles.withHeader,\n\t\tclassName,\n\t);\n\n\treturn (\n\t\t<div\n\t\t\tref={ref}\n\t\t\tclassName={ActionCardClsx}\n\t\t\tstyle={{\n\t\t\t\t['--cardWidth' as string]: `${cardSize[0]}px`,\n\t\t\t\t['--cardHeight' as string]: `${cardSize[1]}px`,\n\t\t\t}}\n\t\t\tonClick={onClick}\n\t\t\trole='card'\n\t\t>\n\t\t\t{title && <div className={styles.header}>\n\t\t\t\t{icon && <Icon className={styles.icon} code={icon} type={iconType} />}\n\t\t\t\t<span className={styles.title}>{title}</span>\n\t\t\t</div>}\n\t\t\t<div className={styles.content}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</div>\n\t);\n});\n\nActionCard.displayName = 'ActionCard';\n"],"names":["ActionCard","forwardRef","props","ref","className","children","size","title","icon","iconType","onClick","cardSize","EActionCardSize","ActionCardClsx","clsx","styles","jsxs","jsx","Icon"],"mappings":";;;;;;;AASO,MAAMA,IAAaC,EAA6C,CAACC,GAAOC,MAAQ;AAChF,QAAA;AAAA,IACL,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,OAAAC;AAAA,IACA,MAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,EACG,IAAAR,GAEES,IAAW,MAAM,QAAQL,CAAI,IAAIA,IAAO,CAACM,EAAgBN,CAAI,GAAGM,EAAgBN,CAAI,CAAC,GAErFO,IAAiBC;AAAA,IACtBC,EAAO;AAAA,IACP;AAAA,IACAA,EAAO,GAAGT,CAAI,MAAM;AAAA,IACpBC,KAASQ,EAAO;AAAA,IAChBX;AAAA,EAAA;AAIA,SAAA,gBAAAY;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,KAAAb;AAAA,MACA,WAAWU;AAAA,MACX,OAAO;AAAA,QACL,eAA0B,GAAGF,EAAS,CAAC,CAAC;AAAA,QACxC,gBAA2B,GAAGA,EAAS,CAAC,CAAC;AAAA,MAC3C;AAAA,MACA,SAAAD;AAAA,MACA,MAAK;AAAA,MAEJ,UAAA;AAAA,QAAAH,KAAU,gBAAAS,EAAA,OAAA,EAAI,WAAWD,EAAO,QAC/B,UAAA;AAAA,UAAQP,KAAA,gBAAAS,EAACC,KAAK,WAAWH,EAAO,MAAM,MAAMP,GAAM,MAAMC,EAAU,CAAA;AAAA,UAClE,gBAAAQ,EAAA,QAAA,EAAK,WAAWF,EAAO,OAAQ,UAAMR,GAAA;AAAA,QAAA,GACvC;AAAA,QACC,gBAAAU,EAAA,OAAA,EAAI,WAAWF,EAAO,SACrB,UAAAV,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGH,CAAC;AAEDL,EAAW,cAAc;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e = "_actionCard_1c2wl_1", t = "_miniSize_1c2wl_16", i = "_smallSize_1c2wl_19", c = "_mediumSize_1c2wl_22", _ = "_header_1c2wl_25", n = "_icon_1c2wl_33", l = "_title_1c2wl_36", o = "_content_1c2wl_40", a = "_withHeader_1c2wl_45", s = {
|
|
3
|
+
actionCard: e,
|
|
4
|
+
miniSize: t,
|
|
5
|
+
smallSize: i,
|
|
6
|
+
mediumSize: c,
|
|
7
|
+
header: _,
|
|
8
|
+
icon: n,
|
|
9
|
+
title: l,
|
|
10
|
+
content: o,
|
|
11
|
+
withHeader: a
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
e as actionCard,
|
|
15
|
+
o as content,
|
|
16
|
+
s as default,
|
|
17
|
+
_ as header,
|
|
18
|
+
n as icon,
|
|
19
|
+
c as mediumSize,
|
|
20
|
+
t as miniSize,
|
|
21
|
+
i as smallSize,
|
|
22
|
+
l as title,
|
|
23
|
+
a as withHeader
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=actionCard.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionCard.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { EIconType } from '../Icon/types';
|
|
3
|
+
export type TActionCardProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
size?: TActionCardSize;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconType?: keyof typeof EIconType;
|
|
9
|
+
title?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
};
|
|
12
|
+
export type TActionCardSize = [number, number] | keyof typeof EActionCardSize;
|
|
13
|
+
export declare enum EActionCardSize {
|
|
14
|
+
mini = 100,
|
|
15
|
+
default = 164,
|
|
16
|
+
large = 254
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ActionCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAA;AACD,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,OAAO,eAAe,CAAC;AAC9E,oBAAY,eAAe;IAC1B,IAAI,MAAM;IACV,OAAO,MAAM;IACb,KAAK,MAAM;CACX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../../src/components/base/ActionCard/types.ts"],"sourcesContent":["import { ReactNode } from 'react';\n\nimport { EIconType } from '../Icon/types';\n\nexport type TActionCardProps = {\n\tclassName?: string;\n\tchildren?: ReactNode;\n\tsize?: TActionCardSize;\n\ticon?: string;\n\ticonType?: keyof typeof EIconType;\n\ttitle?: string;\n\tonClick?: () => void;\n}\nexport type TActionCardSize = [number, number] | keyof typeof EActionCardSize;\nexport enum EActionCardSize {\n\tmini = 100,\n\tdefault = 164,\n\tlarge = 254,\n}\n"],"names":["EActionCardSize"],"mappings":";AAcY,IAAAA,sBAAAA,OACXA,EAAAA,EAAA,OAAO,GAAP,IAAA,QACAA,EAAAA,EAAA,UAAU,GAAV,IAAA,WACAA,EAAAA,EAAA,QAAQ,GAAR,IAAA,SAHWA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const
|
|
3
|
-
avatar:
|
|
4
|
-
placeholder:
|
|
5
|
-
image:
|
|
6
|
-
loading:
|
|
7
|
-
spin:
|
|
2
|
+
const r = "_avatar_13br9_1", a = "_placeholder_13br9_20", _ = "_image_13br9_23", e = "_loading_13br9_33", o = "_spin_13br9_1", n = "_error_13br9_39", s = {
|
|
3
|
+
avatar: r,
|
|
4
|
+
placeholder: a,
|
|
5
|
+
image: _,
|
|
6
|
+
loading: e,
|
|
7
|
+
spin: o,
|
|
8
8
|
error: n
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
r as avatar,
|
|
12
12
|
s as default,
|
|
13
13
|
n as error,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
_ as image,
|
|
15
|
+
e as loading,
|
|
16
|
+
a as placeholder,
|
|
17
|
+
o as spin
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=avatar.module.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAgB,YAAY,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,MAAM,4GAiDjB,CAAC"}
|
|
@@ -1,63 +1,53 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
const P = 100, $ = w((y, b) => {
|
|
2
|
+
import { jsxs as N, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as x } from "react";
|
|
4
|
+
import B from "clsx";
|
|
5
|
+
import { Icon as g } from "../Icon/Icon.js";
|
|
6
|
+
import { ProgressBar as h } from "../ProgressBar/ProgressBar.js";
|
|
7
|
+
import o from "./button.module.scss.js";
|
|
8
|
+
import { EButtonTypes as C } from "./types.js";
|
|
9
|
+
const T = x((c, m) => {
|
|
11
10
|
const {
|
|
12
|
-
className:
|
|
13
|
-
style:
|
|
14
|
-
label:
|
|
15
|
-
type:
|
|
16
|
-
size:
|
|
17
|
-
disabled:
|
|
18
|
-
loading:
|
|
19
|
-
icon:
|
|
20
|
-
iconType:
|
|
21
|
-
iconPosition:
|
|
22
|
-
onClick:
|
|
23
|
-
} =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}, x = (n) => {
|
|
32
|
-
l == null || l(n), s.includes(d.link) || k();
|
|
33
|
-
}, f = () => i ? /* @__PURE__ */ t(I, { className: e.icon, code: i, type: g, size: c }) : null, h = j(
|
|
34
|
-
e.button,
|
|
35
|
-
e[`${s}Type`],
|
|
36
|
-
e[`${c}Size`],
|
|
37
|
-
!o && e.iconOnly,
|
|
38
|
-
m && e.loading,
|
|
39
|
-
B
|
|
11
|
+
className: p,
|
|
12
|
+
style: f,
|
|
13
|
+
label: t,
|
|
14
|
+
type: l = "primary",
|
|
15
|
+
size: s = "default",
|
|
16
|
+
disabled: u = !1,
|
|
17
|
+
loading: i = !1,
|
|
18
|
+
icon: n,
|
|
19
|
+
iconType: d,
|
|
20
|
+
iconPosition: r = "left",
|
|
21
|
+
onClick: y
|
|
22
|
+
} = c, a = () => n ? /* @__PURE__ */ e(g, { className: o.icon, code: n, type: d, size: s }) : null, b = B(
|
|
23
|
+
o.button,
|
|
24
|
+
"shadowRipple",
|
|
25
|
+
o[`${l}Type`],
|
|
26
|
+
o[`${s}Size`],
|
|
27
|
+
!t && o.iconOnly,
|
|
28
|
+
i && o.loading,
|
|
29
|
+
p
|
|
40
30
|
);
|
|
41
|
-
return !
|
|
31
|
+
return !t && !n ? null : /* @__PURE__ */ N(
|
|
42
32
|
"button",
|
|
43
33
|
{
|
|
44
|
-
ref:
|
|
45
|
-
className:
|
|
46
|
-
style:
|
|
47
|
-
onClick:
|
|
48
|
-
disabled:
|
|
34
|
+
ref: m,
|
|
35
|
+
className: b,
|
|
36
|
+
style: f,
|
|
37
|
+
onClick: y,
|
|
38
|
+
disabled: u,
|
|
49
39
|
role: "button",
|
|
50
40
|
children: [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
l.includes(C.link) && /* @__PURE__ */ e(h, { className: o.underline, intermediate: i }),
|
|
42
|
+
r === "left" && /* @__PURE__ */ e(a, {}),
|
|
43
|
+
t && /* @__PURE__ */ e("span", { className: o.label, children: t }),
|
|
44
|
+
r === "right" && /* @__PURE__ */ e(a, {})
|
|
55
45
|
]
|
|
56
46
|
}
|
|
57
47
|
);
|
|
58
48
|
});
|
|
59
|
-
|
|
49
|
+
T.displayName = "Button";
|
|
60
50
|
export {
|
|
61
|
-
|
|
51
|
+
T as Button
|
|
62
52
|
};
|
|
63
53
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../../src/components/base/Button/Button.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../../src/components/base/Button/Button.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { Icon } from '../Icon/Icon';\nimport { ProgressBar } from '../ProgressBar/ProgressBar';\n\nimport styles from './button.module.scss';\nimport { EButtonTypes, TButtonProps } from './types';\n\nexport const Button = forwardRef<HTMLButtonElement, TButtonProps>((props, ref) => {\n\tconst {\n\t\tclassName,\n\t\tstyle,\n\t\tlabel,\n\t\ttype = 'primary',\n\t\tsize = 'default',\n\t\tdisabled = false,\n\t\tloading = false,\n\t\ticon,\n\t\ticonType,\n\t\ticonPosition = 'left',\n\t\tonClick,\n\t} = props;\n\n\tconst IconComponent = () =>\n\t\t(\n\t\t\ticon\n\t\t\t\t? <Icon className={styles.icon} code={icon} type={iconType} size={size} />\n\t\t\t\t: null\n\t\t);\n\n\tconst ButtonClsx = clsx(\n\t\tstyles.button,\n\t\t'shadowRipple',\n\t\tstyles[`${type}Type`],\n\t\tstyles[`${size}Size`],\n\t\t!label && styles.iconOnly,\n\t\tloading && styles.loading,\n\t\tclassName,\n\t);\n\n\tif (!label && !icon) return null;\n\n\treturn (\n\t\t<button\n\t\t\tref={ref}\n\t\t\tclassName={ButtonClsx}\n\t\t\tstyle={style}\n\t\t\tonClick={onClick}\n\t\t\tdisabled={disabled}\n\t\t\trole='button'\n\t\t>\n\t\t\t{type.includes(EButtonTypes.link) && <ProgressBar className={styles.underline} intermediate={loading} />}\n\t\t\t{iconPosition === 'left' && <IconComponent />}\n\t\t\t{label && <span className={styles.label}>{label}</span>}\n\t\t\t{iconPosition === 'right' && <IconComponent />}\n\t\t</button>\n\t);\n});\n\nButton.displayName = 'Button';\n"],"names":["Button","forwardRef","props","ref","className","style","label","type","size","disabled","loading","icon","iconType","iconPosition","onClick","IconComponent","jsx","Icon","styles","ButtonClsx","clsx","jsxs","EButtonTypes","ProgressBar"],"mappings":";;;;;;;;AAUO,MAAMA,IAASC,EAA4C,CAACC,GAAOC,MAAQ;AAC3E,QAAA;AAAA,IACL,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,MAAAC,IAAO;AAAA,IACP,UAAAC,IAAW;AAAA,IACX,SAAAC,IAAU;AAAA,IACV,MAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC,IAAe;AAAA,IACf,SAAAC;AAAA,EACG,IAAAZ,GAEEa,IAAgB,MAEpBJ,IACG,gBAAAK,EAACC,GAAK,EAAA,WAAWC,EAAO,MAAM,MAAMP,GAAM,MAAMC,GAAU,MAAAJ,GAAY,IACtE,MAGCW,IAAaC;AAAA,IAClBF,EAAO;AAAA,IACP;AAAA,IACAA,EAAO,GAAGX,CAAI,MAAM;AAAA,IACpBW,EAAO,GAAGV,CAAI,MAAM;AAAA,IACpB,CAACF,KAASY,EAAO;AAAA,IACjBR,KAAWQ,EAAO;AAAA,IAClBd;AAAA,EAAA;AAGG,SAAA,CAACE,KAAS,CAACK,IAAa,OAG3B,gBAAAU;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,KAAAlB;AAAA,MACA,WAAWgB;AAAA,MACX,OAAAd;AAAA,MACA,SAAAS;AAAA,MACA,UAAAL;AAAA,MACA,MAAK;AAAA,MAEJ,UAAA;AAAA,QAAKF,EAAA,SAASe,EAAa,IAAI,KAAK,gBAAAN,EAACO,KAAY,WAAWL,EAAO,WAAW,cAAcR,EAAS,CAAA;AAAA,QACrGG,MAAiB,UAAU,gBAAAG,EAACD,GAAc,CAAA,CAAA;AAAA,QAC1CT,KAAU,gBAAAU,EAAA,QAAA,EAAK,WAAWE,EAAO,OAAQ,UAAMZ,GAAA;AAAA,QAC/CO,MAAiB,WAAW,gBAAAG,EAACD,GAAc,CAAA,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG/C,CAAC;AAEDf,EAAO,cAAc;"}
|
|
@@ -1,45 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "_button_1x96e_1", n = "_label_1x96e_14", _ = "_icon_1x96e_21", i = "_underline_1x96e_25", o = "_primaryType_1x96e_48", r = "_primaryDangerType_1x96e_48", a = "_secondaryType_1x96e_52", y = "_secondaryDangerType_1x96e_52", l = "_linkType_1x96e_56", c = "_linkDangerType_1x96e_56", s = "_miniSize_1x96e_85", t = "_iconOnly_1x96e_96", p = "_defaultSize_1x96e_103", x = "_largeSize_1x96e_121", T = "_loading_1x96e_149", d = "_barberPole_1x96e_1", g = "_spin_1x96e_1", b = {
|
|
3
3
|
button: e,
|
|
4
4
|
label: n,
|
|
5
|
-
icon:
|
|
6
|
-
underline:
|
|
7
|
-
primaryType:
|
|
8
|
-
primaryDangerType:
|
|
9
|
-
secondaryType:
|
|
10
|
-
secondaryDangerType:
|
|
11
|
-
linkType:
|
|
12
|
-
linkDangerType:
|
|
13
|
-
miniSize:
|
|
14
|
-
iconOnly:
|
|
15
|
-
defaultSize:
|
|
16
|
-
largeSize:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
barberPole: b,
|
|
21
|
-
spin: u
|
|
5
|
+
icon: _,
|
|
6
|
+
underline: i,
|
|
7
|
+
primaryType: o,
|
|
8
|
+
primaryDangerType: r,
|
|
9
|
+
secondaryType: a,
|
|
10
|
+
secondaryDangerType: y,
|
|
11
|
+
linkType: l,
|
|
12
|
+
linkDangerType: c,
|
|
13
|
+
miniSize: s,
|
|
14
|
+
iconOnly: t,
|
|
15
|
+
defaultSize: p,
|
|
16
|
+
largeSize: x,
|
|
17
|
+
loading: T,
|
|
18
|
+
barberPole: d,
|
|
19
|
+
spin: g
|
|
22
20
|
};
|
|
23
21
|
export {
|
|
24
|
-
|
|
22
|
+
d as barberPole,
|
|
25
23
|
e as button,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
p as iconOnly,
|
|
24
|
+
b as default,
|
|
25
|
+
p as defaultSize,
|
|
26
|
+
_ as icon,
|
|
27
|
+
t as iconOnly,
|
|
31
28
|
n as label,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
_ as underline
|
|
29
|
+
x as largeSize,
|
|
30
|
+
c as linkDangerType,
|
|
31
|
+
l as linkType,
|
|
32
|
+
T as loading,
|
|
33
|
+
s as miniSize,
|
|
34
|
+
r as primaryDangerType,
|
|
35
|
+
o as primaryType,
|
|
36
|
+
y as secondaryDangerType,
|
|
37
|
+
a as secondaryType,
|
|
38
|
+
g as spin,
|
|
39
|
+
i as underline
|
|
44
40
|
};
|
|
45
41
|
//# sourceMappingURL=button.module.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, HTMLAttributes
|
|
1
|
+
import { CSSProperties, HTMLAttributes } from 'react';
|
|
2
2
|
import { EIconType } from '../Icon/types';
|
|
3
3
|
declare enum EButtonSize {
|
|
4
4
|
mini = "mini",
|
|
@@ -14,7 +14,7 @@ interface BaseButton extends HTMLAttributes<HTMLButtonElement> {
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
iconType?: keyof typeof EIconType;
|
|
16
16
|
iconPosition?: 'left' | 'right';
|
|
17
|
-
onClick?: (
|
|
17
|
+
onClick?: () => void;
|
|
18
18
|
}
|
|
19
19
|
interface ButtonWithLabel extends BaseButton {
|
|
20
20
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,aAAK,WAAW;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CACf;AACD,UAAU,UAAW,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,UAAU,eAAgB,SAAQ,UAAU;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AACD,UAAU,kBAAmB,SAAQ,UAAU;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACb;AACD,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAEhE,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../../../src/components/base/Button/types.ts"],"sourcesContent":["import { CSSProperties, HTMLAttributes
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../../src/components/base/Button/types.ts"],"sourcesContent":["import { CSSProperties, HTMLAttributes } from 'react';\n\nimport { EIconType } from '../Icon/types';\n\nenum EButtonSize {\n\tmini = 'mini',\n\tdefault = 'default',\n\tlarge = 'large',\n}\ninterface BaseButton extends HTMLAttributes<HTMLButtonElement> {\n\tclassName?: string;\n\tstyle?: CSSProperties;\n\ttype?: keyof typeof EButtonTypes;\n\tsize?: keyof typeof EButtonSize;\n\tloading?: boolean;\n\tdisabled?: boolean;\n\ticonType?: keyof typeof EIconType;\n\ticonPosition?: 'left' | 'right';\n\tonClick?: () => void;\n}\ninterface ButtonWithLabel extends BaseButton {\n\tlabel: string;\n\ticon?: string;\n}\ninterface ButtonWithIconName extends BaseButton {\n\tlabel?: string;\n\ticon: string;\n}\nexport type TButtonProps = ButtonWithLabel | ButtonWithIconName;\n\nexport enum EButtonTypes {\n\tprimary = 'primary',\n\tprimaryDanger = 'primaryDanger',\n\tsecondary = 'secondary',\n\tsecondaryDanger = 'secondaryDanger',\n\tlink = 'link',\n\tlinkDanger = 'linkDanger',\n}\n"],"names":["EButtonTypes"],"mappings":";AA8BY,IAAAA,sBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,gBAAgB,iBAChBA,EAAA,YAAY,aACZA,EAAA,kBAAkB,mBAClBA,EAAA,OAAO,QACPA,EAAA,aAAa,cANFA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sources":["../../../../src/components/base/Icon/Icon.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { unicodeToString } from '#utils/index';\n\nimport styles from './icon.module.scss';\nimport { EIconSize, IIconProps } from './types';\n\nexport const Icon = forwardRef<HTMLSpanElement, IIconProps>((props, ref) => {\n\tconst { className, code, type = 'light', size = 'default' } = props;\n\n\tconst iconSize = `${typeof size === 'number' ? size : EIconSize[size]}px`;\n\tconst IconClsx = clsx(\n\t\tstyles.icon,\n\t\ttype && styles[type],\n\t\tclassName,\n\t);\n\n\treturn (\n\t\t<span\n\t\t\tref={ref}\n\t\t\tclassName={IconClsx}\n\t\t\tstyle={{ ['--iconSize'as string]: iconSize }}\n\t\t\tdata-content={unicodeToString(code)}\n\t\t\trole='icon'\n\t\t/>\n\t);\n});\n\nIcon.displayName = 'Icon';\n"],"names":["Icon","forwardRef","props","ref","className","code","type","size","iconSize","EIconSize","IconClsx","clsx","styles","jsx","unicodeToString"],"mappings":";;;;;;;;AASO,MAAMA,IAAOC,EAAwC,CAACC,GAAOC,MAAQ;AAC3E,QAAM,EAAE,WAAAC,GAAW,MAAAC,GAAM,MAAAC,IAAO,SAAS,MAAAC,IAAO,UAAc,IAAAL,GAExDM,IAAW,GAAG,OAAOD,KAAS,WAAWA,IAAOE,EAAUF,CAAI,CAAC,MAC/DG,IAAWC;AAAA,IAChBC,EAAO;AAAA,IACPN,KAAQM,EAAON,CAAI;AAAA,IACnBF;AAAA,EAAA;AAIA,SAAA,gBAAAS;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,KAAAV;AAAA,MACA,WAAWO;AAAA,MACX,OAAO,EAAG,
|
|
1
|
+
{"version":3,"file":"Icon.js","sources":["../../../../src/components/base/Icon/Icon.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { unicodeToString } from '#utils/index';\n\nimport styles from './icon.module.scss';\nimport { EIconSize, IIconProps } from './types';\n\nexport const Icon = forwardRef<HTMLSpanElement, IIconProps>((props, ref) => {\n\tconst { className, code, type = 'light', size = 'default' } = props;\n\n\tconst iconSize = `${typeof size === 'number' ? size : EIconSize[size]}px`;\n\tconst IconClsx = clsx(\n\t\tstyles.icon,\n\t\ttype && styles[type],\n\t\tclassName,\n\t);\n\n\treturn (\n\t\t<span\n\t\t\tref={ref}\n\t\t\tclassName={IconClsx}\n\t\t\tstyle={{ ['--iconSize' as string]: iconSize }}\n\t\t\tdata-content={unicodeToString(code)}\n\t\t\trole='icon'\n\t\t/>\n\t);\n});\n\nIcon.displayName = 'Icon';\n"],"names":["Icon","forwardRef","props","ref","className","code","type","size","iconSize","EIconSize","IconClsx","clsx","styles","jsx","unicodeToString"],"mappings":";;;;;;;;AASO,MAAMA,IAAOC,EAAwC,CAACC,GAAOC,MAAQ;AAC3E,QAAM,EAAE,WAAAC,GAAW,MAAAC,GAAM,MAAAC,IAAO,SAAS,MAAAC,IAAO,UAAc,IAAAL,GAExDM,IAAW,GAAG,OAAOD,KAAS,WAAWA,IAAOE,EAAUF,CAAI,CAAC,MAC/DG,IAAWC;AAAA,IAChBC,EAAO;AAAA,IACPN,KAAQM,EAAON,CAAI;AAAA,IACnBF;AAAA,EAAA;AAIA,SAAA,gBAAAS;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,KAAAV;AAAA,MACA,WAAWO;AAAA,MACX,OAAO,EAAG,cAAyBF,EAAS;AAAA,MAC5C,gBAAcM,EAAgBT,CAAI;AAAA,MAClC,MAAK;AAAA,IAAA;AAAA,EAAA;AAGR,CAAC;AAEDL,EAAK,cAAc;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const
|
|
3
|
-
icon:
|
|
4
|
-
thin:
|
|
5
|
-
light:
|
|
6
|
-
regular:
|
|
7
|
-
solid:
|
|
8
|
-
duotone:
|
|
9
|
-
sharpSolid:
|
|
2
|
+
const t = "_icon_82tf8_2", _ = "_thin_82tf8_24", o = "_light_82tf8_28", s = "_regular_82tf8_32", n = "_solid_82tf8_36", r = "_duotone_82tf8_40", a = "_sharpSolid_82tf8_51", i = "_sharpRegular_82tf8_55", h = "_sharpLight_82tf8_59", l = "_brand_82tf8_63", c = {
|
|
3
|
+
icon: t,
|
|
4
|
+
thin: _,
|
|
5
|
+
light: o,
|
|
6
|
+
regular: s,
|
|
7
|
+
solid: n,
|
|
8
|
+
duotone: r,
|
|
9
|
+
sharpSolid: a,
|
|
10
10
|
sharpRegular: i,
|
|
11
11
|
sharpLight: h,
|
|
12
12
|
brand: l
|
|
@@ -14,14 +14,14 @@ const n = "_icon_awnbf_2", a = "_thin_awnbf_25", _ = "_light_awnbf_29", o = "_re
|
|
|
14
14
|
export {
|
|
15
15
|
l as brand,
|
|
16
16
|
c as default,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
r as duotone,
|
|
18
|
+
t as icon,
|
|
19
|
+
o as light,
|
|
20
|
+
s as regular,
|
|
21
21
|
h as sharpLight,
|
|
22
22
|
i as sharpRegular,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
a as sharpSolid,
|
|
24
|
+
n as solid,
|
|
25
|
+
_ as thin
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=icon.module.scss.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "_textfield_1gxko_1", e = "_icon_1gxko_27", o = "_input_1gxko_37", _ = "_placeholder_1gxko_50", c = "_withIcon_1gxko_75", n = "_textarea_1gxko_85", a = "_hasValue_1gxko_94", l = {
|
|
3
3
|
textfield: t,
|
|
4
4
|
icon: e,
|
|
5
|
-
input:
|
|
6
|
-
placeholder:
|
|
7
|
-
withIcon:
|
|
8
|
-
textarea:
|
|
5
|
+
input: o,
|
|
6
|
+
placeholder: _,
|
|
7
|
+
withIcon: c,
|
|
8
|
+
textarea: n,
|
|
9
9
|
hasValue: a
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
l as default,
|
|
13
13
|
a as hasValue,
|
|
14
14
|
e as icon,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
o as input,
|
|
16
|
+
_ as placeholder,
|
|
17
|
+
n as textarea,
|
|
18
18
|
t as textfield,
|
|
19
|
-
|
|
19
|
+
c as withIcon
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=textfield.module.scss.js.map
|
|
@@ -8,7 +8,7 @@ export type TThemeInitialType = {
|
|
|
8
8
|
export type TThemeProviderProps = {
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
};
|
|
11
|
-
declare enum EThemeScheme {
|
|
11
|
+
export declare enum EThemeScheme {
|
|
12
12
|
light = "light",
|
|
13
13
|
dark = "dark",
|
|
14
14
|
system = "system"
|
|
@@ -19,11 +19,11 @@ export declare enum EThemeColor {
|
|
|
19
19
|
red = "red",
|
|
20
20
|
pink = "pink",
|
|
21
21
|
orange = "orange",
|
|
22
|
+
green = "green",
|
|
22
23
|
blue = "blue",
|
|
23
24
|
violet = "violet",
|
|
24
25
|
black = "black"
|
|
25
26
|
}
|
|
26
27
|
export type TThemeColor = keyof typeof EThemeColor;
|
|
27
28
|
export declare const defaultColor = EThemeColor.violet;
|
|
28
|
-
export {};
|
|
29
29
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/components/context/Theme/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,YAAY,CAAC;IAC1B,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAC5C,CAAA;AACD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAED,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/components/context/Theme/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,YAAY,CAAC;IAC1B,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAC5C,CAAA;AACD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAED,oBAAY,YAAY;IACvB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;CACjB;AACD,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC;AACrD,eAAO,MAAM,aAAa,sBAAsB,CAAC;AAEjD,oBAAY,WAAW;IACtB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;CACf;AACD,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,WAAW,CAAC;AACnD,eAAO,MAAM,YAAY,qBAAqB,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var n = /* @__PURE__ */ ((t) => (t.light = "light", t.dark = "dark", t.system = "system", t))(n || {});
|
|
3
|
+
const r = "system";
|
|
4
|
+
var a = /* @__PURE__ */ ((t) => (t.red = "red", t.pink = "pink", t.orange = "orange", t.green = "green", t.blue = "blue", t.violet = "violet", t.black = "black", t))(a || {});
|
|
5
|
+
const s = "violet";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
a as EThemeColor,
|
|
8
|
+
n as EThemeScheme,
|
|
9
|
+
s as defaultColor,
|
|
10
|
+
r as defaultScheme
|
|
9
11
|
};
|
|
10
12
|
//# sourceMappingURL=type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sources":["../../../../src/components/context/Theme/type.ts"],"sourcesContent":["import { ReactNode } from 'react';\n\nexport type TThemeInitialType = {\n\tthemeScheme: TThemeScheme,\n\tsetThemeScheme: (scheme: TThemeScheme) => void,\n\tthemeColor: TThemeColor,\n\tsetThemeColor: (color: TThemeColor) => void,\n}\nexport type TThemeProviderProps = {\n children?: ReactNode\n}\n\
|
|
1
|
+
{"version":3,"file":"type.js","sources":["../../../../src/components/context/Theme/type.ts"],"sourcesContent":["import { ReactNode } from 'react';\n\nexport type TThemeInitialType = {\n\tthemeScheme: TThemeScheme,\n\tsetThemeScheme: (scheme: TThemeScheme) => void,\n\tthemeColor: TThemeColor,\n\tsetThemeColor: (color: TThemeColor) => void,\n}\nexport type TThemeProviderProps = {\n children?: ReactNode\n}\n\nexport enum EThemeScheme {\n\tlight = 'light',\n\tdark = 'dark',\n\tsystem = 'system',\n}\nexport type TThemeScheme = keyof typeof EThemeScheme;\nexport const defaultScheme = EThemeScheme.system;\n\nexport enum EThemeColor {\n\tred = 'red',\n\tpink = 'pink',\n\torange = 'orange',\n\tgreen = 'green',\n\tblue = 'blue',\n\tviolet = 'violet',\n\tblack = 'black',\n}\nexport type TThemeColor = keyof typeof EThemeColor;\nexport const defaultColor = EThemeColor.violet;\n"],"names":["EThemeScheme","defaultScheme","EThemeColor","defaultColor"],"mappings":";AAYY,IAAAA,sBAAAA,OACXA,EAAA,QAAQ,SACRA,EAAA,OAAO,QACPA,EAAA,SAAS,UAHEA,IAAAA,KAAA,CAAA,CAAA;AAML,MAAMC,IAAgB;AAEjB,IAAAC,sBAAAA,OACXA,EAAA,MAAM,OACNA,EAAA,OAAO,QACPA,EAAA,SAAS,UACTA,EAAA,QAAQ,SACRA,EAAA,OAAO,QACPA,EAAA,SAAS,UACTA,EAAA,QAAQ,SAPGA,IAAAA,KAAA,CAAA,CAAA;AAUL,MAAMC,IAAe;"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const o = "
|
|
2
|
+
const o = "_navigation_1p6is_1", t = "_brand_1p6is_9", i = "_routeList_1p6is_18", _ = "_route_1p6is_18", n = "_icon_1p6is_60", s = "_label_1p6is_66", a = "_loading_1p6is_79", e = "_barberPole_1p6is_1", c = "_active_1p6is_94", r = {
|
|
3
3
|
navigation: o,
|
|
4
4
|
brand: t,
|
|
5
|
-
routeList:
|
|
6
|
-
route:
|
|
7
|
-
icon:
|
|
8
|
-
label:
|
|
9
|
-
loading:
|
|
10
|
-
barberPole:
|
|
11
|
-
active:
|
|
5
|
+
routeList: i,
|
|
6
|
+
route: _,
|
|
7
|
+
icon: n,
|
|
8
|
+
label: s,
|
|
9
|
+
loading: a,
|
|
10
|
+
barberPole: e,
|
|
11
|
+
active: c
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
c as active,
|
|
15
|
+
e as barberPole,
|
|
16
16
|
t as brand,
|
|
17
17
|
r as default,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
n as icon,
|
|
19
|
+
s as label,
|
|
20
|
+
a as loading,
|
|
21
21
|
o as navigation,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
_ as route,
|
|
23
|
+
i as routeList
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=navigation.module.scss.js.map
|