@cuemath/leap 3.2.4 → 3.2.5-j2
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/assets/illustrations/illustrations.js +5 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +34 -0
- package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
- package/dist/assets/line-icons/icons/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.js.map +1 -0
- package/dist/assets/line-icons/icons/morning.js +35 -0
- package/dist/assets/line-icons/icons/morning.js.map +1 -0
- package/dist/assets/lottie/lottie.js +9 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +17 -12
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +33 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
- package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs.js +5 -5
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +22 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +18 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js +25 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js +71 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +1 -0
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/theme/button.js +78 -78
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +89 -3
- package/dist/index.js +454 -434
- package/dist/index.js.map +1 -1
- package/dist/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/static/calendar-purple.1a840b41.svg +1 -0
- package/dist/static/flying-disk.c7f6ed39.json +1 -0
- package/dist/static/graduation-cap.3be3340a.json +1 -0
- package/dist/static/handshake.287e7dfb.svg +1 -0
- package/dist/static/light-bulb.c6db0b23.json +1 -0
- package/dist/static/money.332aacf1.svg +1 -0
- package/dist/static/muscle.9bcfb8a7.json +1 -0
- package/dist/static/parent-avatar.822c7b9b.svg +1 -0
- package/dist/static/pencil.23df9da0.json +1 -0
- package/dist/static/plus-sign.de6af957.json +1 -0
- package/dist/static/racing-car.2cbf864e.json +1 -0
- package/dist/static/rocket.0a3ccab0.json +1 -0
- package/dist/static/shovel.abeec04c.json +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +1 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
- /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onboarding-guide.js","sources":["../../../../../src/features/auth/signup-v2/onboarding-guide/onboarding-guide.tsx"],"sourcesContent":["import FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { onboardingGuideSteps } from './onboarding-guide-constants';\nimport * as Styled from './onboarding-guide-styled';\n\nconst OnboardingGuide = () => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $gutterX={2}>\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah4\" $color=\"WHITE\">\n Get started in 3 easy steps!\n </Text>\n <Separator heightX={2.75} />\n {onboardingGuideSteps.map((step, index) => (\n <Styled.StepItem key={index}>\n <FlexView $flexDirection=\"row\" $flexColumnGapX={1.5}>\n <img src={step.icon} alt={`Step ${index + 1}`} width={56} height={56} />\n <FlexView $width={210}>\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ab2\" $color=\"WHITE\">\n {step.title}\n </Text>\n </FlexView>\n </FlexView>\n </Styled.StepItem>\n ))}\n </FlexView>\n );\n};\n\nexport default OnboardingGuide;\n"],"names":["OnboardingGuide","jsxs","FlexView","jsx","Text","Separator","onboardingGuideSteps","step","index","Styled.StepItem","OnboardingGuide$1"],"mappings":";;;;;;AAMA,MAAMA,IAAkB,MAEpB,gBAAAC,EAACC,KAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,UAAU,GAC1E,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAK,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,UAE5D,+BAAA,CAAA;AAAA,EACA,gBAAAD,EAACE,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,EACzBC,EAAqB,IAAI,CAACC,GAAMC,MAC9B,gBAAAL,EAAAM,GAAA,EACC,UAAC,gBAAAR,EAAAC,GAAA,EAAS,gBAAe,OAAM,iBAAiB,KAC9C,UAAA;AAAA,IAAA,gBAAAC,EAAC,OAAI,EAAA,KAAKI,EAAK,MAAM,KAAK,QAAQC,IAAQ,CAAC,IAAI,OAAO,IAAI,QAAQ,IAAI;AAAA,IACrE,gBAAAL,EAAAD,GAAA,EAAS,QAAQ,KAChB,4BAACE,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,SACjD,UAAAG,EAAK,MACR,CAAA,GACF;AAAA,EAAA,GACF,EAAA,GARoBC,CAStB,CACD;AACH,EAAA,CAAA,GAIJE,IAAeV;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { ILLUSTRATIONS as o } from "../../../../assets/illustrations/illustrations.js";
|
|
3
|
+
import i from "../../../ui/image/image.js";
|
|
4
|
+
import t from "../../../ui/layout/flex-view.js";
|
|
5
|
+
import m from "../../../ui/separator/separator.js";
|
|
6
|
+
import n from "../../../ui/text/text.js";
|
|
7
|
+
const d = () => /* @__PURE__ */ e(t, { children: [
|
|
8
|
+
/* @__PURE__ */ r(i, { width: 107, src: o.CIRCLE_CUEMATH_LOGO_WHITE, height: 16 }),
|
|
9
|
+
/* @__PURE__ */ r(m, { heightX: 1 }),
|
|
10
|
+
/* @__PURE__ */ e(t, { $flexDirection: "row", $alignItems: "flex-end", children: [
|
|
11
|
+
/* @__PURE__ */ e(n, { $renderAs: "ab2", $color: "WHITE", children: [
|
|
12
|
+
"Rated",
|
|
13
|
+
" ",
|
|
14
|
+
/* @__PURE__ */ r(n, { $inline: !0, $renderAs: "ab2-bold", $color: "WHITE", children: "4.8+" }),
|
|
15
|
+
" ",
|
|
16
|
+
"on"
|
|
17
|
+
] }),
|
|
18
|
+
" ",
|
|
19
|
+
/* @__PURE__ */ r(i, { src: o.TRUSTPILOT })
|
|
20
|
+
] })
|
|
21
|
+
] }), f = d;
|
|
22
|
+
export {
|
|
23
|
+
f as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=signup-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup-header.js","sources":["../../../../../src/features/auth/signup-v2/signup-header/signup-header.tsx"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\n\nconst SignupHeader = () => {\n return (\n <FlexView>\n <Image width={107} src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} height={16} />\n <Separator heightX={1} />\n <FlexView $flexDirection=\"row\" $alignItems=\"flex-end\">\n <Text $renderAs=\"ab2\" $color=\"WHITE\">\n Rated{' '}\n <Text $inline $renderAs=\"ab2-bold\" $color=\"WHITE\">\n 4.8+\n </Text>{' '}\n on\n </Text>\n \n <Image src={ILLUSTRATIONS.TRUSTPILOT} />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default SignupHeader;\n"],"names":["SignupHeader","FlexView","jsx","Image","ILLUSTRATIONS","Separator","jsxs","Text","SignupHeader$1"],"mappings":";;;;;;AAMA,MAAMA,IAAe,wBAEhBC,GACC,EAAA,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAM,OAAO,KAAK,KAAKC,EAAc,2BAA2B,QAAQ,IAAI;AAAA,EAC7E,gBAAAF,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACtB,gBAAAC,EAAAL,GAAA,EAAS,gBAAe,OAAM,aAAY,YACzC,UAAA;AAAA,IAAA,gBAAAK,EAACC,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAAA;AAAA,MAAA;AAAA,MAC7B;AAAA,MACN,gBAAAL,EAACK,KAAK,SAAO,IAAC,WAAU,YAAW,QAAO,SAAQ,UAElD,OAAA,CAAA;AAAA,MAAQ;AAAA,MAAI;AAAA,IAAA,GAEd;AAAA,IAAO;AAAA,IAEN,gBAAAL,EAAAC,GAAA,EAAM,KAAKC,EAAc,WAAY,CAAA;AAAA,EAAA,GACxC;AACF,EAAA,CAAA,GAIJI,IAAeR;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as g } from "react";
|
|
3
|
+
import f from "../../../../assets/line-icons/icons/apple-icon-white.js";
|
|
4
|
+
import u from "../../../../assets/line-icons/icons/google-icon.js";
|
|
5
|
+
import i from "../../../ui/buttons/button/button.js";
|
|
6
|
+
import b from "../../../ui/buttons/text-button/text-button.js";
|
|
7
|
+
import l from "../../../ui/layout/flex-view.js";
|
|
8
|
+
import s from "../../../ui/separator/separator.js";
|
|
9
|
+
import a from "../../../ui/text/text.js";
|
|
10
|
+
const $ = ({
|
|
11
|
+
onEmailSignup: c,
|
|
12
|
+
onAppleSignup: m,
|
|
13
|
+
onGoogleSignup: p,
|
|
14
|
+
loadingProvider: r,
|
|
15
|
+
onGoToLogin: d,
|
|
16
|
+
title: h
|
|
17
|
+
}) => {
|
|
18
|
+
const t = r === "google", n = r === "apple";
|
|
19
|
+
return /* @__PURE__ */ o(l, { $alignItems: "flex-start", children: [
|
|
20
|
+
/* @__PURE__ */ e(a, { $renderAs: "ah3", $color: "WHITE", $whiteSpace: "pre", children: h }),
|
|
21
|
+
/* @__PURE__ */ e(s, { heightX: 2.5 }),
|
|
22
|
+
/* @__PURE__ */ o(l, { $flexGapX: 1, $flex: 1, $justifyContent: "center", $alignItems: "center", children: [
|
|
23
|
+
/* @__PURE__ */ e(
|
|
24
|
+
i,
|
|
25
|
+
{
|
|
26
|
+
renderAs: "black-dark",
|
|
27
|
+
Icon: u,
|
|
28
|
+
width: 320,
|
|
29
|
+
label: "Signup with Google",
|
|
30
|
+
onClick: p,
|
|
31
|
+
size: "small",
|
|
32
|
+
busy: t,
|
|
33
|
+
disabled: t
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ e(
|
|
37
|
+
i,
|
|
38
|
+
{
|
|
39
|
+
renderAs: "black-dark",
|
|
40
|
+
size: "small",
|
|
41
|
+
width: 320,
|
|
42
|
+
Icon: f,
|
|
43
|
+
label: "Signup with Apple",
|
|
44
|
+
onClick: m,
|
|
45
|
+
busy: n,
|
|
46
|
+
disabled: n
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
i,
|
|
51
|
+
{
|
|
52
|
+
renderAs: "black-dark",
|
|
53
|
+
size: "small",
|
|
54
|
+
width: 320,
|
|
55
|
+
label: "Continue with Email",
|
|
56
|
+
onClick: c
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ e(s, { heightX: 1.5 }),
|
|
61
|
+
/* @__PURE__ */ o(l, { $flexDirection: "row", $alignItems: "center", children: [
|
|
62
|
+
/* @__PURE__ */ e(a, { $renderAs: "ub3", $color: "WHITE", children: "Already have an account?" }),
|
|
63
|
+
" ",
|
|
64
|
+
/* @__PURE__ */ e(b, { size: "small", label: "Log In", color: "WHITE", onClick: d })
|
|
65
|
+
] })
|
|
66
|
+
] });
|
|
67
|
+
}, z = g($);
|
|
68
|
+
export {
|
|
69
|
+
z as default
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=signup-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup-options.js","sources":["../../../../../src/features/auth/signup-v2/signup-options/signup-options.tsx"],"sourcesContent":["import type { ISignupOptionsProps } from './signup-options-types';\n\nimport { memo, type FC } from 'react';\n\nimport AppleIcon from '../../../../assets/line-icons/icons/apple-icon-white';\nimport GoogleIcon from '../../../../assets/line-icons/icons/google-icon';\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\n\nconst SignupOptions: FC<ISignupOptionsProps> = ({\n onEmailSignup,\n onAppleSignup,\n onGoogleSignup,\n loadingProvider,\n onGoToLogin,\n title,\n}) => {\n const isLoadingGoogle = loadingProvider === 'google';\n const isLoadingApple = loadingProvider === 'apple';\n\n return (\n <FlexView $alignItems=\"flex-start\">\n <Text $renderAs=\"ah3\" $color=\"WHITE\" $whiteSpace=\"pre\">\n {title}\n </Text>\n <Separator heightX={2.5} />\n <FlexView $flexGapX={1} $flex={1} $justifyContent=\"center\" $alignItems=\"center\">\n <Button\n renderAs=\"black-dark\"\n Icon={GoogleIcon}\n width={320}\n label=\"Signup with Google\"\n onClick={onGoogleSignup}\n size=\"small\"\n busy={isLoadingGoogle}\n disabled={isLoadingGoogle}\n />\n <Button\n renderAs=\"black-dark\"\n size=\"small\"\n width={320}\n Icon={AppleIcon}\n label=\"Signup with Apple\"\n onClick={onAppleSignup}\n busy={isLoadingApple}\n disabled={isLoadingApple}\n />\n <Button\n renderAs=\"black-dark\"\n size=\"small\"\n width={320}\n label=\"Continue with Email\"\n onClick={onEmailSignup}\n />\n </FlexView>\n <Separator heightX={1.5} />\n <FlexView $flexDirection=\"row\" $alignItems=\"center\">\n <Text $renderAs=\"ub3\" $color=\"WHITE\">\n Already have an account?\n </Text>\n \n <TextButton size=\"small\" label=\"Log In\" color=\"WHITE\" onClick={onGoToLogin} />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(SignupOptions);\n"],"names":["SignupOptions","onEmailSignup","onAppleSignup","onGoogleSignup","loadingProvider","onGoToLogin","title","isLoadingGoogle","isLoadingApple","jsxs","FlexView","jsx","Text","Separator","Button","GoogleIcon","AppleIcon","TextButton","signupOptions","memo"],"mappings":";;;;;;;;;AAYA,MAAMA,IAAyC,CAAC;AAAA,EAC9C,eAAAC;AAAA,EACA,eAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAC;AACF,MAAM;AACJ,QAAMC,IAAkBH,MAAoB,UACtCI,IAAiBJ,MAAoB;AAGzC,SAAA,gBAAAK,EAACC,GAAS,EAAA,aAAY,cACpB,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAK,WAAU,OAAM,QAAO,SAAQ,aAAY,OAC9C,UACHN,EAAA,CAAA;AAAA,IACA,gBAAAK,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,IACzB,gBAAAJ,EAACC,KAAS,WAAW,GAAG,OAAO,GAAG,iBAAgB,UAAS,aAAY,UACrE,UAAA;AAAA,MAAA,gBAAAC;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,MAAMC;AAAA,UACN,OAAO;AAAA,UACP,OAAM;AAAA,UACN,SAASZ;AAAA,UACT,MAAK;AAAA,UACL,MAAMI;AAAA,UACN,UAAUA;AAAA,QAAA;AAAA,MACZ;AAAA,MACA,gBAAAI;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,MAAK;AAAA,UACL,OAAO;AAAA,UACP,MAAME;AAAAA,UACN,OAAM;AAAA,UACN,SAASd;AAAA,UACT,MAAMM;AAAA,UACN,UAAUA;AAAA,QAAA;AAAA,MACZ;AAAA,MACA,gBAAAG;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,MAAK;AAAA,UACL,OAAO;AAAA,UACP,OAAM;AAAA,UACN,SAASb;AAAA,QAAA;AAAA,MACX;AAAA,IAAA,GACF;AAAA,IACA,gBAAAU,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,IACxB,gBAAAJ,EAAAC,GAAA,EAAS,gBAAe,OAAM,aAAY,UACzC,UAAA;AAAA,MAAA,gBAAAC,EAACC,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAErC,4BAAA;AAAA,MAAO;AAAA,MAEP,gBAAAD,EAACM,KAAW,MAAK,SAAQ,OAAM,UAAS,OAAM,SAAQ,SAASZ,EAAa,CAAA;AAAA,IAAA,GAC9E;AAAA,EACF,EAAA,CAAA;AAEJ,GAEea,IAAAC,EAAKnB,CAAa;"}
|
|
@@ -14,7 +14,7 @@ const p = t(i)`
|
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
position: relative;
|
|
16
16
|
`, u = g(
|
|
17
|
-
({ borderRadius: n = 0, borderColor: r, withLoader: a, ...o }) => {
|
|
17
|
+
({ borderRadius: n = 0, borderColor: r, withLoader: a = !1, ...o }) => {
|
|
18
18
|
const { width: s, height: d } = o, [m, l] = f(!0);
|
|
19
19
|
return /* @__PURE__ */ h(
|
|
20
20
|
L,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sources":["../../../../src/features/ui/image/image.tsx"],"sourcesContent":["import type { IImageProps } from './image-types';\n\nimport { useState, memo } from 'react';\nimport styled from 'styled-components';\n\nimport { skeletonLoadingAnimation } from '../constants/style';\nimport FlexView from '../layout/flex-view';\n\nconst LoadingFlexView = styled(FlexView)`\n animation: ${skeletonLoadingAnimation} 2s linear infinite;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n`;\n\nconst ImageWrapper = styled(FlexView)`\n overflow: hidden;\n position: relative;\n`;\n\nconst Image: React.FC<IImageProps> = memo(\n ({ borderRadius = 0, borderColor, withLoader, ...props }) => {\n const { width, height } = props;\n const [isLoading, setIsLoading] = useState(true);\n const handleImgLoaded = () => {\n setIsLoading(false);\n };\n const showLoader = isLoading && withLoader;\n\n return (\n <ImageWrapper\n $width={width}\n $height={height}\n $borderColor={borderColor}\n $borderRadius={borderRadius}\n >\n {showLoader && <LoadingFlexView $inherit={true} />}\n <img onLoad={handleImgLoaded} {...props} />\n </ImageWrapper>\n );\n },\n);\n\nexport default Image;\n"],"names":["LoadingFlexView","styled","FlexView","skeletonLoadingAnimation","ImageWrapper","Image","memo","borderRadius","borderColor","withLoader","props","width","height","isLoading","setIsLoading","useState","jsxs","jsx","Image$1"],"mappings":";;;;;AAQA,MAAMA,IAAkBC,EAAOC,CAAQ;AAAA,eACxBC,CAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQjCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK9BG,IAA+BC;AAAA,EACnC,CAAC,EAAE,cAAAC,IAAe,GAAG,aAAAC,GAAa,YAAAC,
|
|
1
|
+
{"version":3,"file":"image.js","sources":["../../../../src/features/ui/image/image.tsx"],"sourcesContent":["import type { IImageProps } from './image-types';\n\nimport { useState, memo } from 'react';\nimport styled from 'styled-components';\n\nimport { skeletonLoadingAnimation } from '../constants/style';\nimport FlexView from '../layout/flex-view';\n\nconst LoadingFlexView = styled(FlexView)`\n animation: ${skeletonLoadingAnimation} 2s linear infinite;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n`;\n\nconst ImageWrapper = styled(FlexView)`\n overflow: hidden;\n position: relative;\n`;\n\nconst Image: React.FC<IImageProps> = memo(\n ({ borderRadius = 0, borderColor, withLoader = false, ...props }) => {\n const { width, height } = props;\n const [isLoading, setIsLoading] = useState(true);\n const handleImgLoaded = () => {\n setIsLoading(false);\n };\n const showLoader = isLoading && withLoader;\n\n return (\n <ImageWrapper\n $width={width}\n $height={height}\n $borderColor={borderColor}\n $borderRadius={borderRadius}\n >\n {showLoader && <LoadingFlexView $inherit={true} />}\n <img onLoad={handleImgLoaded} {...props} />\n </ImageWrapper>\n );\n },\n);\n\nexport default Image;\n"],"names":["LoadingFlexView","styled","FlexView","skeletonLoadingAnimation","ImageWrapper","Image","memo","borderRadius","borderColor","withLoader","props","width","height","isLoading","setIsLoading","useState","jsxs","jsx","Image$1"],"mappings":";;;;;AAQA,MAAMA,IAAkBC,EAAOC,CAAQ;AAAA,eACxBC,CAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQjCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK9BG,IAA+BC;AAAA,EACnC,CAAC,EAAE,cAAAC,IAAe,GAAG,aAAAC,GAAa,YAAAC,IAAa,IAAO,GAAGC,QAAY;AAC7D,UAAA,EAAE,OAAAC,GAAO,QAAAC,EAAW,IAAAF,GACpB,CAACG,GAAWC,CAAY,IAAIC,EAAS,EAAI;AAO7C,WAAA,gBAAAC;AAAA,MAACZ;AAAA,MAAA;AAAA,QACC,QAAQO;AAAA,QACR,SAASC;AAAA,QACT,cAAcJ;AAAA,QACd,eAAeD;AAAA,QAEd,UAAA;AAAA,UATcM,KAAaJ,KASb,gBAAAQ,EAACjB,GAAgB,EAAA,UAAU,GAAM,CAAA;AAAA,UAC/C,gBAAAiB,EAAA,OAAA,EAAI,QAbe,MAAM;AAC5B,YAAAH,EAAa,EAAK;AAAA,UAAA,GAYe,GAAGJ,EAAO,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAG/C;AACF,GAEAQ,IAAeb;"}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
const
|
|
1
|
+
const d = (a) => ({ sizes: {
|
|
2
2
|
xsmall: {
|
|
3
|
-
height:
|
|
4
|
-
paddingHorizontal:
|
|
3
|
+
height: a * 2,
|
|
4
|
+
paddingHorizontal: a * 1.375,
|
|
5
5
|
textVariant: "ub3-bold",
|
|
6
6
|
borderWidth: 1,
|
|
7
|
-
iconSize:
|
|
8
|
-
iconPadding:
|
|
9
|
-
loaderSize:
|
|
7
|
+
iconSize: a,
|
|
8
|
+
iconPadding: a * 0.25,
|
|
9
|
+
loaderSize: a * 1.25
|
|
10
10
|
},
|
|
11
11
|
small: {
|
|
12
|
-
height:
|
|
13
|
-
paddingHorizontal:
|
|
12
|
+
height: a * 2.5,
|
|
13
|
+
paddingHorizontal: a * 1.625,
|
|
14
14
|
textVariant: "ub2-bold",
|
|
15
15
|
borderWidth: 1,
|
|
16
|
-
iconSize:
|
|
17
|
-
iconPadding:
|
|
18
|
-
loaderSize:
|
|
16
|
+
iconSize: a * 1.25,
|
|
17
|
+
iconPadding: a * 0.375,
|
|
18
|
+
loaderSize: a * 1.5
|
|
19
19
|
},
|
|
20
20
|
regular: {
|
|
21
|
-
height:
|
|
22
|
-
paddingHorizontal:
|
|
21
|
+
height: a * 3,
|
|
22
|
+
paddingHorizontal: a * 1.875,
|
|
23
23
|
textVariant: "ub1-bold",
|
|
24
24
|
borderWidth: 1,
|
|
25
|
-
iconSize:
|
|
26
|
-
iconPadding:
|
|
27
|
-
loaderSize:
|
|
25
|
+
iconSize: a * 1.5,
|
|
26
|
+
iconPadding: a * 0.5,
|
|
27
|
+
loaderSize: a * 1.75
|
|
28
28
|
},
|
|
29
29
|
medium: {
|
|
30
|
-
height:
|
|
31
|
-
paddingHorizontal:
|
|
30
|
+
height: a * 3.5,
|
|
31
|
+
paddingHorizontal: a * 2.125,
|
|
32
32
|
textVariant: "ub1-bold",
|
|
33
33
|
borderWidth: 1.5,
|
|
34
|
-
iconSize:
|
|
35
|
-
iconPadding:
|
|
36
|
-
loaderSize:
|
|
34
|
+
iconSize: a * 1.5,
|
|
35
|
+
iconPadding: a * 0.5,
|
|
36
|
+
loaderSize: a * 2
|
|
37
37
|
},
|
|
38
38
|
large: {
|
|
39
|
-
height:
|
|
40
|
-
paddingHorizontal:
|
|
39
|
+
height: a * 4,
|
|
40
|
+
paddingHorizontal: a * 2.375,
|
|
41
41
|
textVariant: "ub1-bold",
|
|
42
42
|
borderWidth: 2,
|
|
43
|
-
iconSize:
|
|
44
|
-
iconPadding:
|
|
45
|
-
loaderSize:
|
|
43
|
+
iconSize: a * 1.5,
|
|
44
|
+
iconPadding: a * 0.5,
|
|
45
|
+
loaderSize: a * 2.25
|
|
46
46
|
}
|
|
47
47
|
}, variants: {
|
|
48
48
|
primary: {
|
|
@@ -129,6 +129,57 @@ const e = (i) => ({ sizes: {
|
|
|
129
129
|
active: "BLACK",
|
|
130
130
|
disabled: "WHITE_T_15"
|
|
131
131
|
}
|
|
132
|
+
},
|
|
133
|
+
black: {
|
|
134
|
+
backgroundColorName: {
|
|
135
|
+
inactive: "BLACK_1",
|
|
136
|
+
active: "BLACK_T_60",
|
|
137
|
+
disabled: "BLACK_T_15"
|
|
138
|
+
},
|
|
139
|
+
borderColorName: {
|
|
140
|
+
inactive: "BLACK_1",
|
|
141
|
+
active: "BLACK_1",
|
|
142
|
+
disabled: "BLACK_T_15"
|
|
143
|
+
},
|
|
144
|
+
colorName: {
|
|
145
|
+
inactive: "WHITE_1",
|
|
146
|
+
active: "WHITE_1",
|
|
147
|
+
disabled: "WHITE_T_87"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"black-dark": {
|
|
151
|
+
backgroundColorName: {
|
|
152
|
+
inactive: "BLACK_1",
|
|
153
|
+
active: "BLACK_4",
|
|
154
|
+
disabled: "WHITE_T_10"
|
|
155
|
+
},
|
|
156
|
+
borderColorName: {
|
|
157
|
+
inactive: "WHITE_1",
|
|
158
|
+
active: "WHITE_1",
|
|
159
|
+
disabled: "WHITE_T_15"
|
|
160
|
+
},
|
|
161
|
+
colorName: {
|
|
162
|
+
inactive: "WHITE_1",
|
|
163
|
+
active: "WHITE_1",
|
|
164
|
+
disabled: "WHITE_T_38"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"yellow-dark": {
|
|
168
|
+
backgroundColorName: {
|
|
169
|
+
inactive: "YELLOW_4",
|
|
170
|
+
active: "YELLOW_3",
|
|
171
|
+
disabled: "WHITE_T_10"
|
|
172
|
+
},
|
|
173
|
+
borderColorName: {
|
|
174
|
+
inactive: "WHITE",
|
|
175
|
+
active: "WHITE",
|
|
176
|
+
disabled: "WHITE_T_15"
|
|
177
|
+
},
|
|
178
|
+
colorName: {
|
|
179
|
+
inactive: "BLACK_1",
|
|
180
|
+
active: "BLACK_1",
|
|
181
|
+
disabled: "WHITE_T_38"
|
|
182
|
+
}
|
|
132
183
|
}
|
|
133
184
|
// 'yellow': {
|
|
134
185
|
// backgroundColorName: {
|
|
@@ -147,23 +198,6 @@ const e = (i) => ({ sizes: {
|
|
|
147
198
|
// disabled: 'BLACK_T_35',
|
|
148
199
|
// },
|
|
149
200
|
// },
|
|
150
|
-
// 'yellow-dark': {
|
|
151
|
-
// backgroundColorName: {
|
|
152
|
-
// inactive: 'YELLOW_4',
|
|
153
|
-
// active: 'WHITE_4',
|
|
154
|
-
// disabled: 'WHITE_T_40',
|
|
155
|
-
// },
|
|
156
|
-
// borderColorName: {
|
|
157
|
-
// inactive: 'BLACK_4',
|
|
158
|
-
// active: 'BLACK_4',
|
|
159
|
-
// disabled: 'WHITE_T_40',
|
|
160
|
-
// },
|
|
161
|
-
// colorName: {
|
|
162
|
-
// inactive: 'BLACK_4',
|
|
163
|
-
// active: 'BLACK_4',
|
|
164
|
-
// disabled: 'WHITE_T_40',
|
|
165
|
-
// },
|
|
166
|
-
// },
|
|
167
201
|
// 'white': {
|
|
168
202
|
// backgroundColorName: {
|
|
169
203
|
// inactive: 'WHITE_1',
|
|
@@ -198,42 +232,8 @@ const e = (i) => ({ sizes: {
|
|
|
198
232
|
// disabled: 'WHITE_T_40',
|
|
199
233
|
// },
|
|
200
234
|
// },
|
|
201
|
-
// 'black': {
|
|
202
|
-
// backgroundColorName: {
|
|
203
|
-
// inactive: 'BLACK_4',
|
|
204
|
-
// active: 'BLACK_T_60',
|
|
205
|
-
// disabled: 'BLACK_T_35',
|
|
206
|
-
// },
|
|
207
|
-
// borderColorName: {
|
|
208
|
-
// inactive: 'BLACK_4',
|
|
209
|
-
// active: 'BLACK_4',
|
|
210
|
-
// disabled: 'BLACK_T_35',
|
|
211
|
-
// },
|
|
212
|
-
// colorName: {
|
|
213
|
-
// inactive: 'WHITE_4',
|
|
214
|
-
// active: 'WHITE_4',
|
|
215
|
-
// disabled: 'BLACK_T_35',
|
|
216
|
-
// },
|
|
217
|
-
// },
|
|
218
|
-
// 'black-dark': {
|
|
219
|
-
// backgroundColorName: {
|
|
220
|
-
// inactive: 'BLACK_4',
|
|
221
|
-
// active: 'WHITE_T_40',
|
|
222
|
-
// disabled: 'WHITE_T_40',
|
|
223
|
-
// },
|
|
224
|
-
// borderColorName: {
|
|
225
|
-
// inactive: 'WHITE_4',
|
|
226
|
-
// active: 'WHITE_4',
|
|
227
|
-
// disabled: 'WHITE_T_40',
|
|
228
|
-
// },
|
|
229
|
-
// colorName: {
|
|
230
|
-
// inactive: 'WHITE_4',
|
|
231
|
-
// active: 'WHITE_4',
|
|
232
|
-
// disabled: 'WHITE_T_40',
|
|
233
|
-
// },
|
|
234
|
-
// },
|
|
235
235
|
} });
|
|
236
236
|
export {
|
|
237
|
-
|
|
237
|
+
d as default
|
|
238
238
|
};
|
|
239
239
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n 'black': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_T_60',\n disabled: 'BLACK_T_15',\n },\n borderColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'BLACK_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_87',\n },\n },\n 'black-dark': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_4',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_38',\n },\n },\n 'yellow-dark': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'YELLOW_3',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'WHITE_T_38',\n },\n },\n // 'yellow': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n\n // 'white': {\n // backgroundColorName: {\n // inactive: 'WHITE_1',\n // active: 'BLACK_T_35',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'white-dark': {\n // backgroundColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_T_70',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n };\n\n return { sizes, variants };\n};\n\nexport default getButtonConfig;\n"],"names":["getButtonConfig","gutter"],"mappings":"AAcM,MAAAA,IAAoC,CAACC,OAgPlC,EAAE,OA/O8C;AAAA,EACrD,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA;AAAA,IACV,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,OAAO;AAAA,IACL,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA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