zebpay-ui 0.0.1 → 0.0.4
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/esm/dist/components/Button/index.d.ts +5 -0
- package/dist/esm/dist/components/Button/styles.d.ts +10 -0
- package/dist/esm/dist/components/Button/typings.d.ts +11 -0
- package/dist/esm/dist/components/Checkbox/index.d.ts +5 -0
- package/dist/esm/dist/components/Checkbox/styles.d.ts +8 -0
- package/dist/esm/dist/components/Checkbox/typings.d.ts +13 -0
- package/dist/esm/dist/components/CircularLoader/index.d.ts +4 -0
- package/dist/esm/dist/components/CircularLoader/style.d.ts +2 -0
- package/{src/components/CircularLoader/typings.ts → dist/esm/dist/components/CircularLoader/typings.d.ts} +2 -2
- package/dist/esm/dist/components/DateRangePicker/index.d.ts +14 -0
- package/dist/esm/dist/components/Input/index.d.ts +4 -0
- package/dist/esm/dist/components/Input/styles.d.ts +13 -0
- package/dist/esm/dist/components/Input/typings.d.ts +23 -0
- package/dist/esm/dist/components/Popper/index.d.ts +5 -0
- package/dist/esm/dist/components/Popper/styles.d.ts +6 -0
- package/dist/esm/dist/components/Popper/typings.d.ts +14 -0
- package/dist/esm/dist/components/Radio/index.d.ts +5 -0
- package/dist/esm/dist/components/Radio/styles.d.ts +3 -0
- package/dist/esm/dist/components/Radio/typings.d.ts +13 -0
- package/dist/esm/dist/components/Toast/index.d.ts +6 -0
- package/dist/esm/dist/components/Toast/styles.d.ts +12 -0
- package/dist/esm/dist/components/Toast/typings.d.ts +6 -0
- package/{src/components/index.ts → dist/esm/dist/components/index.d.ts} +1 -12
- package/{src/hooks/index.ts → dist/esm/dist/hooks/index.d.ts} +0 -0
- package/dist/esm/dist/hooks/useFocus.d.ts +6 -0
- package/dist/esm/dist/index.d.ts +2 -0
- package/dist/esm/dist/styles/colors.d.ts +34 -0
- package/{src/styles/index.ts → dist/esm/dist/styles/index.d.ts} +0 -1
- package/dist/esm/dist/styles/mixins.d.ts +19 -0
- package/dist/esm/dist/styles/typography.d.ts +6 -0
- package/dist/esm/dist/styles/utils.d.ts +10 -0
- package/dist/esm/index.d.ts +179 -0
- package/dist/esm/index.js +3 -647
- package/dist/esm/index.js.map +1 -1
- package/package.json +10 -9
- package/.babelrc +0 -9
- package/.eslintignore +0 -3
- package/.eslintrc.json +0 -28
- package/.github/CODEOWNERS +0 -1
- package/.github/workflows/gh-pages.yml +0 -22
- package/.husky/pre-commit +0 -4
- package/.lintstagedrc.js +0 -11
- package/.prettierignore +0 -3
- package/.storybook/main.js +0 -12
- package/.storybook/preview.js +0 -22
- package/dist/cjs/index.js +0 -657
- package/dist/cjs/index.js.map +0 -1
- package/dist/index.d.ts +0 -94
- package/icons/index.js +0 -29
- package/icons/out/icons.css +0 -489
- package/icons/out/icons.eot +0 -0
- package/icons/out/icons.html +0 -1473
- package/icons/out/icons.json +0 -159
- package/icons/out/icons.ts +0 -637
- package/icons/out/icons.woff +0 -0
- package/icons/out/icons.woff2 +0 -0
- package/icons/svgs/1-graph.svg +0 -3
- package/icons/svgs/4-graph.svg +0 -5
- package/icons/svgs/account-no.svg +0 -4
- package/icons/svgs/activity.svg +0 -5
- package/icons/svgs/add-collateral.svg +0 -3
- package/icons/svgs/add.svg +0 -3
- package/icons/svgs/address.svg +0 -4
- package/icons/svgs/api.svg +0 -6
- package/icons/svgs/arrow-down.svg +0 -3
- package/icons/svgs/arrow-left.svg +0 -3
- package/icons/svgs/arrow-right.svg +0 -3
- package/icons/svgs/arrow-up.svg +0 -3
- package/icons/svgs/asterik.svg +0 -3
- package/icons/svgs/balance-ltv.svg +0 -3
- package/icons/svgs/bank.svg +0 -8
- package/icons/svgs/blog.svg +0 -8
- package/icons/svgs/bonus.svg +0 -3
- package/icons/svgs/buy-crypto.svg +0 -3
- package/icons/svgs/calendar.svg +0 -3
- package/icons/svgs/camera.svg +0 -6
- package/icons/svgs/cancelled.svg +0 -3
- package/icons/svgs/candle chart.svg +0 -4
- package/icons/svgs/cheque.svg +0 -8
- package/icons/svgs/circle-cross.svg +0 -4
- package/icons/svgs/circulation-supply.svg +0 -3
- package/icons/svgs/city.svg +0 -3
- package/icons/svgs/coin-stack.svg +0 -5
- package/icons/svgs/coins.svg +0 -5
- package/icons/svgs/compare.svg +0 -3
- package/icons/svgs/completed.svg +0 -4
- package/icons/svgs/contract.svg +0 -3
- package/icons/svgs/copy.svg +0 -3
- package/icons/svgs/coupon.svg +0 -5
- package/icons/svgs/cross.svg +0 -3
- package/icons/svgs/deactivate.svg +0 -3
- package/icons/svgs/deposit.svg +0 -3
- package/icons/svgs/depth-chart.svg +0 -4
- package/icons/svgs/district.svg +0 -3
- package/icons/svgs/dob.svg +0 -3
- package/icons/svgs/download.svg +0 -4
- package/icons/svgs/downwards.svg +0 -3
- package/icons/svgs/driving-licence.svg +0 -3
- package/icons/svgs/earned.svg +0 -5
- package/icons/svgs/edit.svg +0 -3
- package/icons/svgs/email.svg +0 -3
- package/icons/svgs/emi-amount.svg +0 -6
- package/icons/svgs/emi-duedate.svg +0 -3
- package/icons/svgs/error.svg +0 -6
- package/icons/svgs/expand.svg +0 -3
- package/icons/svgs/external-link.svg +0 -3
- package/icons/svgs/facelock.svg +0 -3
- package/icons/svgs/fees.svg +0 -3
- package/icons/svgs/filter.svg +0 -3
- package/icons/svgs/fingerprint.svg +0 -7
- package/icons/svgs/form.svg +0 -3
- package/icons/svgs/globe.svg +0 -3
- package/icons/svgs/hamburger.svg +0 -3
- package/icons/svgs/help.svg +0 -5
- package/icons/svgs/hide.svg +0 -4
- package/icons/svgs/home.svg +0 -4
- package/icons/svgs/ifsc.svg +0 -7
- package/icons/svgs/income-source.svg +0 -3
- package/icons/svgs/indicators.svg +0 -3
- package/icons/svgs/info.svg +0 -3
- package/icons/svgs/initial-ltv.svg +0 -3
- package/icons/svgs/instant-buy-sell.svg +0 -3
- package/icons/svgs/interest-amount.svg +0 -3
- package/icons/svgs/interest-rate.svg +0 -6
- package/icons/svgs/kyc.svg +0 -5
- package/icons/svgs/lend.svg +0 -4
- package/icons/svgs/link.svg +0 -4
- package/icons/svgs/liquidation-cost.svg +0 -3
- package/icons/svgs/liquidation-id.svg +0 -3
- package/icons/svgs/liquidation-price.svg +0 -3
- package/icons/svgs/liquidation.svg +0 -4
- package/icons/svgs/list.svg +0 -8
- package/icons/svgs/loan-amount.svg +0 -3
- package/icons/svgs/loan-details.svg +0 -3
- package/icons/svgs/loan-repayment.svg +0 -3
- package/icons/svgs/loan-term.svg +0 -3
- package/icons/svgs/location.svg +0 -4
- package/icons/svgs/lock.svg +0 -3
- package/icons/svgs/logout.svg +0 -3
- package/icons/svgs/ltv-ratio.svg +0 -5
- package/icons/svgs/mail.svg +0 -3
- package/icons/svgs/map.svg +0 -4
- package/icons/svgs/margin-call.svg +0 -4
- package/icons/svgs/max-supply.svg +0 -3
- package/icons/svgs/menu.svg +0 -3
- package/icons/svgs/more-options.svg +0 -5
- package/icons/svgs/negative.svg +0 -3
- package/icons/svgs/network.svg +0 -3
- package/icons/svgs/next.svg +0 -3
- package/icons/svgs/nominee.svg +0 -3
- package/icons/svgs/note.svg +0 -3
- package/icons/svgs/notification.svg +0 -3
- package/icons/svgs/occupation.svg +0 -3
- package/icons/svgs/ongoing.svg +0 -4
- package/icons/svgs/order.svg +0 -4
- package/icons/svgs/orders-complete.svg +0 -6
- package/icons/svgs/pair-selector.svg +0 -3
- package/icons/svgs/pan.svg +0 -8
- package/icons/svgs/passbook.svg +0 -3
- package/icons/svgs/passport.svg +0 -4
- package/icons/svgs/pay-emi.svg +0 -3
- package/icons/svgs/pay-lumpsum.svg +0 -3
- package/icons/svgs/pay-off-loan.svg +0 -3
- package/icons/svgs/penalty-charges.svg +0 -3
- package/icons/svgs/percentage.svg +0 -6
- package/icons/svgs/phone.svg +0 -3
- package/icons/svgs/positive.svg +0 -3
- package/icons/svgs/prepay-principal.svg +0 -3
- package/icons/svgs/previous.svg +0 -3
- package/icons/svgs/profile.svg +0 -3
- package/icons/svgs/quicktrade.svg +0 -5
- package/icons/svgs/rank.svg +0 -3
- package/icons/svgs/ream.svg +0 -6
- package/icons/svgs/recieve.svg +0 -3
- package/icons/svgs/repayment-schedule.svg +0 -4
- package/icons/svgs/reports.svg +0 -6
- package/icons/svgs/reset.svg +0 -4
- package/icons/svgs/save.svg +0 -3
- package/icons/svgs/scan.svg +0 -3
- package/icons/svgs/search.svg +0 -3
- package/icons/svgs/security.svg +0 -4
- package/icons/svgs/selfie.svg +0 -5
- package/icons/svgs/sell-crypto.svg +0 -3
- package/icons/svgs/send-email.svg +0 -3
- package/icons/svgs/send.svg +0 -3
- package/icons/svgs/separator.svg +0 -3
- package/icons/svgs/setttings.svg +0 -3
- package/icons/svgs/share.svg +0 -3
- package/icons/svgs/show.svg +0 -3
- package/icons/svgs/side.svg +0 -7
- package/icons/svgs/sip.svg +0 -4
- package/icons/svgs/sms.svg +0 -6
- package/icons/svgs/star-filled.svg +0 -3
- package/icons/svgs/star.svg +0 -3
- package/icons/svgs/statement.svg +0 -3
- package/icons/svgs/stop.svg +0 -3
- package/icons/svgs/street-address.svg +0 -3
- package/icons/svgs/subtract.svg +0 -3
- package/icons/svgs/success.svg +0 -4
- package/icons/svgs/support.svg +0 -5
- package/icons/svgs/templates.svg +0 -3
- package/icons/svgs/term.svg +0 -3
- package/icons/svgs/tick.svg +0 -3
- package/icons/svgs/total-payable-lumpsum.svg +0 -9
- package/icons/svgs/trash.svg +0 -3
- package/icons/svgs/unlock.svg +0 -3
- package/icons/svgs/upi.svg +0 -3
- package/icons/svgs/upload.svg +0 -4
- package/icons/svgs/upwards.svg +0 -3
- package/icons/svgs/voting-card.svg +0 -5
- package/icons/svgs/wallet.svg +0 -3
- package/icons/svgs/xpress.svg +0 -6
- package/icons/svgs/zip-code.svg +0 -3
- package/rollup.config.js +0 -49
- package/src/components/Button/index.tsx +0 -55
- package/src/components/Button/styles.ts +0 -142
- package/src/components/Button/typings.ts +0 -20
- package/src/components/Checkbox/index.tsx +0 -44
- package/src/components/Checkbox/styles.ts +0 -76
- package/src/components/Checkbox/typings.ts +0 -11
- package/src/components/CircularLoader/index.tsx +0 -22
- package/src/components/CircularLoader/style.ts +0 -18
- package/src/components/DateRangePicker/index.tsx +0 -36
- package/src/components/DateRangePicker/styles.css +0 -676
- package/src/components/Input/index.tsx +0 -95
- package/src/components/Input/styles.ts +0 -79
- package/src/components/Input/typings.ts +0 -25
- package/src/components/Popper/index.tsx +0 -62
- package/src/components/Popper/styles.ts +0 -59
- package/src/components/Popper/typings.ts +0 -16
- package/src/components/Radio/index.tsx +0 -32
- package/src/components/Radio/styles.ts +0 -51
- package/src/components/Radio/typings.ts +0 -11
- package/src/components/Toast/index.tsx +0 -88
- package/src/components/Toast/styles.ts +0 -69
- package/src/components/Toast/typings.ts +0 -6
- package/src/hooks/useFocus.ts +0 -16
- package/src/index.ts +0 -2
- package/src/styles/colors.ts +0 -39
- package/src/styles/mixins.ts +0 -52
- package/src/styles/typography.ts +0 -331
- package/src/styles/utils.ts +0 -39
- package/stories/Button.stories.tsx +0 -20
- package/stories/Checkbox.stories.tsx +0 -18
- package/stories/CircularLoader.stories.tsx +0 -15
- package/stories/DateRangePicker.stories.tsx +0 -18
- package/stories/Input.stories.tsx +0 -18
- package/stories/Popper.stories.tsx +0 -23
- package/stories/Radio.stories.tsx +0 -18
- package/stories/Toast.stories.tsx +0 -17
- package/tsconfig.json +0 -24
package/dist/esm/index.js
CHANGED
|
@@ -1,648 +1,4 @@
|
|
|
1
|
-
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return (
|
|
5
|
-
(r =
|
|
6
|
-
Object.assign ||
|
|
7
|
-
function (e) {
|
|
8
|
-
for (var t, o = 1, r = arguments.length; o < r; o++)
|
|
9
|
-
for (var n in (t = arguments[o]))
|
|
10
|
-
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
11
|
-
return e;
|
|
12
|
-
}),
|
|
13
|
-
r.apply(this, arguments)
|
|
14
|
-
);
|
|
15
|
-
};
|
|
16
|
-
var n,
|
|
17
|
-
i,
|
|
18
|
-
l,
|
|
19
|
-
a = t(
|
|
20
|
-
l ||
|
|
21
|
-
((n = [
|
|
22
|
-
"\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }",
|
|
23
|
-
]),
|
|
24
|
-
(i = [
|
|
25
|
-
"\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }",
|
|
26
|
-
]),
|
|
27
|
-
Object.defineProperty
|
|
28
|
-
? Object.defineProperty(n, "raw", { value: i })
|
|
29
|
-
: (n.raw = i),
|
|
30
|
-
(l = n))
|
|
31
|
-
),
|
|
32
|
-
_ = o({
|
|
33
|
-
borderRadius: "100%",
|
|
34
|
-
borderWidth: 3,
|
|
35
|
-
borderStyle: "solid",
|
|
36
|
-
borderTopColor: "rgba(255,255,255,0.4)",
|
|
37
|
-
margin: "0 auto",
|
|
38
|
-
animation: "".concat(a, " 1s linear infinite"),
|
|
39
|
-
}),
|
|
40
|
-
d = function (t) {
|
|
41
|
-
var r = t.size,
|
|
42
|
-
n = t.color;
|
|
43
|
-
return e("div", {
|
|
44
|
-
css: [
|
|
45
|
-
_,
|
|
46
|
-
o({ height: "".concat(r, "px"), width: "".concat(r, "px"), color: n }),
|
|
47
|
-
],
|
|
48
|
-
});
|
|
49
|
-
},
|
|
50
|
-
m = {
|
|
51
|
-
Zeb_Solid_White: "#FFFFFF",
|
|
52
|
-
Zeb_Solid_BG_Blue: "#222245",
|
|
53
|
-
Zeb_Solid_Dark_Blue: "#181837",
|
|
54
|
-
Zeb_Solid_Bright_Blue: "#338FFF",
|
|
55
|
-
Zeb_Solid_Light_Blue: "#C0C0EE",
|
|
56
|
-
Zeb_Solid_Green: "#1ECAA2",
|
|
57
|
-
Zeb_Solid_Red: "#EA6161",
|
|
58
|
-
Zeb_Solid_Yellow: "#F9C35C",
|
|
59
|
-
Zeb_Solid_Grey: "#C2C2DD",
|
|
60
|
-
Zeb_Solid_Dark_Grey: "#34345A",
|
|
61
|
-
Zeb_Solid_Black: "000000",
|
|
62
|
-
Zeb_Solid_Light_Blue_01: "#E9EFF6",
|
|
63
|
-
Zeb_Solid_Grey_01: "#E1E3E6",
|
|
64
|
-
Zeb_Gradient_Blue_01:
|
|
65
|
-
"linear-gradient(90.15deg, #5D7BFE 0.73%, #0974FF 101.92%)",
|
|
66
|
-
Zeb_Gradient_Blue_02:
|
|
67
|
-
"linear-gradient(180deg, #0473FF 0.54%, rgba(4, 115, 255, 0) 100%)",
|
|
68
|
-
Zeb_Gradient_Dark_Blue:
|
|
69
|
-
"linear-gradient(254.37deg, #4A62CA -43.42%, #1B264B 148.58%)",
|
|
70
|
-
Zeb_Transparent_25: "rgba(12, 12, 36, 0.25)",
|
|
71
|
-
Zeb_Transparent_Green: "rgba(30, 202, 162, 0.2)",
|
|
72
|
-
Zeb_Transparent_Yellow: "rgba(249, 195, 92, 0.2)",
|
|
73
|
-
Zeb_Transparent_Red: "rgba(234, 97, 97, 0.2)",
|
|
74
|
-
Zeb_BG_Blue: "rgba(51, 143, 255, 0.2)",
|
|
75
|
-
Zeb_BG_Light_Blue: "rgba(192, 192, 238, 0.2)",
|
|
76
|
-
Zeb_BG_Green: "rgba(30, 202, 162, 0.08)",
|
|
77
|
-
Zeb_BG_Red: "rgba(234, 97, 97, 0.08)",
|
|
78
|
-
Zeb_BG_Yellow: "rgba(249, 195, 92, 0.08)",
|
|
79
|
-
Zeb_Transparent_4: "rgba(51, 143, 255, 0.04)",
|
|
80
|
-
Zeb_Effects_Shadow_Hover: "0px 8px 8px -4px #0C0C1D",
|
|
81
|
-
Zeb_Effects_Shadow_W_Drawer: "-12px 0px 40px rgba(12, 12, 29, 0.48)",
|
|
82
|
-
Zeb_Effects_Shadow_M_Drawer: "0px -12px 40px rgba(12, 12, 29, 0.48)",
|
|
83
|
-
Zeb_Effects_Shadow_Hover_Up: "0px -2px 32px 8px rgba(12, 12, 29, 0.4)",
|
|
84
|
-
Zeb_Effects_Shimmer:
|
|
85
|
-
"linear-gradient(97.38deg, #34345A -40.76%, #19193A 135.88%)",
|
|
86
|
-
},
|
|
87
|
-
c = {
|
|
88
|
-
remConverter: function (e) {
|
|
89
|
-
return "".concat(e / 16, "rem");
|
|
90
|
-
},
|
|
91
|
-
widthPercentage: function (e) {
|
|
92
|
-
return o({ width: "".concat(e, "%") });
|
|
93
|
-
},
|
|
94
|
-
heightPercentage: function (e) {
|
|
95
|
-
return o({ height: "".concat(e, "%") });
|
|
96
|
-
},
|
|
97
|
-
mr: function (e) {
|
|
98
|
-
return o({ marginRight: c.remConverter(e) });
|
|
99
|
-
},
|
|
100
|
-
ml: function (e) {
|
|
101
|
-
return o({ marginLeft: c.remConverter(e) });
|
|
102
|
-
},
|
|
103
|
-
mt: function (e) {
|
|
104
|
-
return o({ marginTop: c.remConverter(e) });
|
|
105
|
-
},
|
|
106
|
-
mb: function (e) {
|
|
107
|
-
return o({ marginBottom: c.remConverter(e) });
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
f = {
|
|
111
|
-
H1_56_bold: {
|
|
112
|
-
fontFamily: "Lato",
|
|
113
|
-
fontStyle: "normal",
|
|
114
|
-
fontWeight: "bold",
|
|
115
|
-
fontSize: c.remConverter(56),
|
|
116
|
-
lineHeight: "86px",
|
|
117
|
-
letterSpacing: "0.8px",
|
|
118
|
-
color: m.Zeb_Solid_White,
|
|
119
|
-
},
|
|
120
|
-
H2_44_bold: {
|
|
121
|
-
fontFamily: "Lato",
|
|
122
|
-
fontStyle: "normal",
|
|
123
|
-
fontWeight: "bold",
|
|
124
|
-
fontSize: c.remConverter(44),
|
|
125
|
-
lineHeight: "60px",
|
|
126
|
-
letterSpacing: "0.8px",
|
|
127
|
-
color: m.Zeb_Solid_White,
|
|
128
|
-
},
|
|
129
|
-
H3_32_bold: {
|
|
130
|
-
fontFamily: "Lato",
|
|
131
|
-
fontStyle: "normal",
|
|
132
|
-
fontWeight: "bold",
|
|
133
|
-
fontSize: c.remConverter(32),
|
|
134
|
-
lineHeight: "48px",
|
|
135
|
-
letterSpacing: "0.8px",
|
|
136
|
-
color: m.Zeb_Solid_White,
|
|
137
|
-
},
|
|
138
|
-
H4_28_bold: {
|
|
139
|
-
fontFamily: "Lato",
|
|
140
|
-
fontStyle: "normal",
|
|
141
|
-
fontWeight: "bold",
|
|
142
|
-
fontSize: c.remConverter(28),
|
|
143
|
-
lineHeight: "40px",
|
|
144
|
-
letterSpacing: "0.8px",
|
|
145
|
-
color: m.Zeb_Solid_White,
|
|
146
|
-
},
|
|
147
|
-
H5_20_bold: {
|
|
148
|
-
fontFamily: "Lato",
|
|
149
|
-
fontStyle: "normal",
|
|
150
|
-
fontWeight: "bold",
|
|
151
|
-
fontSize: c.remConverter(20),
|
|
152
|
-
lineHeight: "normal",
|
|
153
|
-
letterSpacing: "0.8px",
|
|
154
|
-
color: m.Zeb_Solid_White,
|
|
155
|
-
},
|
|
156
|
-
H6_16_bold: {
|
|
157
|
-
fontFamily: "Lato",
|
|
158
|
-
fontStyle: "normal",
|
|
159
|
-
fontWeight: "bold",
|
|
160
|
-
fontSize: c.remConverter(16),
|
|
161
|
-
lineHeight: "28px",
|
|
162
|
-
letterSpacing: "0.8px",
|
|
163
|
-
color: m.Zeb_Solid_White,
|
|
164
|
-
},
|
|
165
|
-
H1_56_semibold: {
|
|
166
|
-
fontFamily: "Lato",
|
|
167
|
-
fontStyle: "normal",
|
|
168
|
-
fontWeight: 600,
|
|
169
|
-
fontSize: c.remConverter(56),
|
|
170
|
-
lineHeight: "86px",
|
|
171
|
-
letterSpacing: "0.8px",
|
|
172
|
-
color: m.Zeb_Solid_White,
|
|
173
|
-
},
|
|
174
|
-
H2_44_semibold: {
|
|
175
|
-
fontFamily: "Lato",
|
|
176
|
-
fontStyle: "normal",
|
|
177
|
-
fontWeight: 600,
|
|
178
|
-
fontSize: c.remConverter(44),
|
|
179
|
-
lineHeight: "60px",
|
|
180
|
-
letterSpacing: "0.8px",
|
|
181
|
-
color: m.Zeb_Solid_White,
|
|
182
|
-
},
|
|
183
|
-
H3_32_semibold: {
|
|
184
|
-
fontFamily: "Lato",
|
|
185
|
-
fontStyle: "normal",
|
|
186
|
-
fontWeight: 600,
|
|
187
|
-
fontSize: c.remConverter(32),
|
|
188
|
-
lineHeight: "48px",
|
|
189
|
-
letterSpacing: "0.8px",
|
|
190
|
-
color: m.Zeb_Solid_White,
|
|
191
|
-
},
|
|
192
|
-
H4_28_semibold: {
|
|
193
|
-
fontFamily: "Lato",
|
|
194
|
-
fontStyle: "normal",
|
|
195
|
-
fontWeight: 600,
|
|
196
|
-
fontSize: c.remConverter(28),
|
|
197
|
-
lineHeight: "40px",
|
|
198
|
-
letterSpacing: "0.8px",
|
|
199
|
-
color: m.Zeb_Solid_White,
|
|
200
|
-
},
|
|
201
|
-
H5_20_semibold: {
|
|
202
|
-
fontFamily: "Lato",
|
|
203
|
-
fontStyle: "normal",
|
|
204
|
-
fontWeight: 600,
|
|
205
|
-
fontSize: c.remConverter(20),
|
|
206
|
-
lineHeight: "30px",
|
|
207
|
-
letterSpacing: "0.8px",
|
|
208
|
-
color: m.Zeb_Solid_White,
|
|
209
|
-
},
|
|
210
|
-
H6_16_semibold: {
|
|
211
|
-
fontFamily: "Lato",
|
|
212
|
-
fontStyle: "normal",
|
|
213
|
-
fontWeight: 600,
|
|
214
|
-
fontSize: c.remConverter(16),
|
|
215
|
-
lineHeight: "28px",
|
|
216
|
-
letterSpacing: "0.8px",
|
|
217
|
-
color: m.Zeb_Solid_White,
|
|
218
|
-
},
|
|
219
|
-
H1_56_regular: {
|
|
220
|
-
fontFamily: "Lato",
|
|
221
|
-
fontStyle: "normal",
|
|
222
|
-
fontWeight: "normal",
|
|
223
|
-
fontSize: c.remConverter(56),
|
|
224
|
-
lineHeight: "86px",
|
|
225
|
-
letterSpacing: "0.8px",
|
|
226
|
-
color: m.Zeb_Solid_White,
|
|
227
|
-
},
|
|
228
|
-
H2_44_regular: {
|
|
229
|
-
fontFamily: "Lato",
|
|
230
|
-
fontStyle: "normal",
|
|
231
|
-
fontWeight: "normal",
|
|
232
|
-
fontSize: c.remConverter(44),
|
|
233
|
-
lineHeight: "60px",
|
|
234
|
-
letterSpacing: "0.8px",
|
|
235
|
-
color: m.Zeb_Solid_White,
|
|
236
|
-
},
|
|
237
|
-
H3_32_regular: {
|
|
238
|
-
fontFamily: "Lato",
|
|
239
|
-
fontStyle: "normal",
|
|
240
|
-
fontWeight: "normal",
|
|
241
|
-
fontSize: c.remConverter(32),
|
|
242
|
-
lineHeight: "48px",
|
|
243
|
-
letterSpacing: "0.8px",
|
|
244
|
-
color: m.Zeb_Solid_White,
|
|
245
|
-
},
|
|
246
|
-
H4_28_regular: {
|
|
247
|
-
fontFamily: "Lato",
|
|
248
|
-
fontStyle: "normal",
|
|
249
|
-
fontWeight: "normal",
|
|
250
|
-
fontSize: c.remConverter(28),
|
|
251
|
-
lineHeight: "40px",
|
|
252
|
-
letterSpacing: "0.8px",
|
|
253
|
-
color: m.Zeb_Solid_White,
|
|
254
|
-
},
|
|
255
|
-
H5_20_regular: {
|
|
256
|
-
fontFamily: "Lato",
|
|
257
|
-
fontStyle: "normal",
|
|
258
|
-
fontWeight: "normal",
|
|
259
|
-
fontSize: c.remConverter(20),
|
|
260
|
-
lineHeight: "30px",
|
|
261
|
-
letterSpacing: "0.8px",
|
|
262
|
-
color: m.Zeb_Solid_White,
|
|
263
|
-
},
|
|
264
|
-
H6_16_regular: {
|
|
265
|
-
fontFamily: "Lato",
|
|
266
|
-
fontStyle: "normal",
|
|
267
|
-
fontWeight: "normal",
|
|
268
|
-
fontSize: c.remConverter(16),
|
|
269
|
-
lineHeight: "28px",
|
|
270
|
-
letterSpacing: "0.8px",
|
|
271
|
-
color: m.Zeb_Solid_White,
|
|
272
|
-
},
|
|
273
|
-
H8_12_regular: {
|
|
274
|
-
fontFamily: "Lato",
|
|
275
|
-
fontStyle: "normal",
|
|
276
|
-
fontWeight: "normal",
|
|
277
|
-
fontSize: c.remConverter(12),
|
|
278
|
-
lineHeight: "18px",
|
|
279
|
-
letterSpacing: "0.8px",
|
|
280
|
-
color: m.Zeb_Solid_White,
|
|
281
|
-
},
|
|
282
|
-
B1_24_semibold: {
|
|
283
|
-
fontFamily: "Lato",
|
|
284
|
-
fontStyle: "normal",
|
|
285
|
-
fontWeight: 600,
|
|
286
|
-
fontSize: c.remConverter(24),
|
|
287
|
-
lineHeight: "40px",
|
|
288
|
-
letterSpacing: "0.4px",
|
|
289
|
-
color: m.Zeb_Solid_White,
|
|
290
|
-
},
|
|
291
|
-
B2_20_semibold: {
|
|
292
|
-
fontFamily: "Lato",
|
|
293
|
-
fontStyle: "normal",
|
|
294
|
-
fontWeight: 600,
|
|
295
|
-
fontSize: c.remConverter(20),
|
|
296
|
-
lineHeight: "30px",
|
|
297
|
-
letterSpacing: "0.4px",
|
|
298
|
-
color: m.Zeb_Solid_White,
|
|
299
|
-
},
|
|
300
|
-
B3_16_semibold: {
|
|
301
|
-
fontFamily: "Lato",
|
|
302
|
-
fontStyle: "normal",
|
|
303
|
-
fontWeight: 600,
|
|
304
|
-
fontSize: c.remConverter(16),
|
|
305
|
-
lineHeight: "28px",
|
|
306
|
-
letterSpacing: "0.4px",
|
|
307
|
-
color: m.Zeb_Solid_White,
|
|
308
|
-
},
|
|
309
|
-
B4_14_semibold: {
|
|
310
|
-
fontFamily: "Lato",
|
|
311
|
-
fontStyle: "normal",
|
|
312
|
-
fontWeight: 600,
|
|
313
|
-
fontSize: c.remConverter(14),
|
|
314
|
-
lineHeight: "24px",
|
|
315
|
-
letterSpacing: "0.4px",
|
|
316
|
-
color: m.Zeb_Solid_White,
|
|
317
|
-
},
|
|
318
|
-
B5_12_semibold: {
|
|
319
|
-
fontFamily: "Lato",
|
|
320
|
-
fontStyle: "normal",
|
|
321
|
-
fontWeight: 600,
|
|
322
|
-
fontSize: c.remConverter(12),
|
|
323
|
-
lineHeight: "18px",
|
|
324
|
-
letterSpacing: "0.4px",
|
|
325
|
-
color: m.Zeb_Solid_White,
|
|
326
|
-
},
|
|
327
|
-
B6_10_semibold: {
|
|
328
|
-
fontFamily: "Lato",
|
|
329
|
-
fontStyle: "normal",
|
|
330
|
-
fontWeight: 600,
|
|
331
|
-
fontSize: c.remConverter(10),
|
|
332
|
-
lineHeight: "12px",
|
|
333
|
-
letterSpacing: "0.4px",
|
|
334
|
-
color: m.Zeb_Solid_White,
|
|
335
|
-
},
|
|
336
|
-
B1_24_regular: {
|
|
337
|
-
fontFamily: "Lato",
|
|
338
|
-
fontStyle: "normal",
|
|
339
|
-
fontWeight: 600,
|
|
340
|
-
fontSize: c.remConverter(24),
|
|
341
|
-
lineHeight: "40px",
|
|
342
|
-
letterSpacing: "0.4px",
|
|
343
|
-
color: m.Zeb_Solid_White,
|
|
344
|
-
},
|
|
345
|
-
B2_20_regular: {
|
|
346
|
-
fontFamily: "Lato",
|
|
347
|
-
fontStyle: "normal",
|
|
348
|
-
fontWeight: 600,
|
|
349
|
-
fontSize: c.remConverter(20),
|
|
350
|
-
lineHeight: "30px",
|
|
351
|
-
letterSpacing: "0.4px",
|
|
352
|
-
color: m.Zeb_Solid_White,
|
|
353
|
-
},
|
|
354
|
-
B3_16_regular: {
|
|
355
|
-
fontFamily: "Lato",
|
|
356
|
-
fontStyle: "normal",
|
|
357
|
-
fontWeight: "normal",
|
|
358
|
-
fontSize: c.remConverter(16),
|
|
359
|
-
lineHeight: "28px",
|
|
360
|
-
letterSpacing: "0.4px",
|
|
361
|
-
color: m.Zeb_Solid_White,
|
|
362
|
-
},
|
|
363
|
-
B4_14_regular: {
|
|
364
|
-
fontFamily: "Lato",
|
|
365
|
-
fontStyle: "normal",
|
|
366
|
-
fontWeight: "normal",
|
|
367
|
-
fontSize: c.remConverter(14),
|
|
368
|
-
lineHeight: "24px",
|
|
369
|
-
letterSpacing: "0.4px",
|
|
370
|
-
color: m.Zeb_Solid_White,
|
|
371
|
-
},
|
|
372
|
-
B5_12_regular: {
|
|
373
|
-
fontFamily: "Lato",
|
|
374
|
-
fontStyle: "normal",
|
|
375
|
-
fontWeight: "normal",
|
|
376
|
-
fontSize: c.remConverter(12),
|
|
377
|
-
lineHeight: "18px",
|
|
378
|
-
letterSpacing: "0.4px",
|
|
379
|
-
color: m.Zeb_Solid_White,
|
|
380
|
-
},
|
|
381
|
-
B6_10_regular: {
|
|
382
|
-
fontFamily: "Lato",
|
|
383
|
-
fontStyle: "normal",
|
|
384
|
-
fontWeight: "normal",
|
|
385
|
-
fontSize: c.remConverter(10),
|
|
386
|
-
lineHeight: "12px",
|
|
387
|
-
letterSpacing: "0.4px",
|
|
388
|
-
color: m.Zeb_Solid_White,
|
|
389
|
-
},
|
|
390
|
-
C1_20: {
|
|
391
|
-
fontFamily: "Lato",
|
|
392
|
-
fontStyle: "normal",
|
|
393
|
-
fontWeight: "bold",
|
|
394
|
-
fontSize: c.remConverter(20),
|
|
395
|
-
lineHeight: "30px",
|
|
396
|
-
letterSpacing: "1.6px",
|
|
397
|
-
color: m.Zeb_Solid_White,
|
|
398
|
-
textTransform: "uppercase",
|
|
399
|
-
},
|
|
400
|
-
C2_16: {
|
|
401
|
-
fontFamily: "Lato",
|
|
402
|
-
fontStyle: "normal",
|
|
403
|
-
fontWeight: "bold",
|
|
404
|
-
fontSize: c.remConverter(16),
|
|
405
|
-
lineHeight: "28px",
|
|
406
|
-
letterSpacing: "0.8px",
|
|
407
|
-
color: m.Zeb_Solid_White,
|
|
408
|
-
textTransform: "uppercase",
|
|
409
|
-
},
|
|
410
|
-
C3_14: {
|
|
411
|
-
fontFamily: "Lato",
|
|
412
|
-
fontStyle: "normal",
|
|
413
|
-
fontWeight: "bold",
|
|
414
|
-
fontSize: c.remConverter(14),
|
|
415
|
-
lineHeight: "24px",
|
|
416
|
-
letterSpacing: "0.8px",
|
|
417
|
-
color: m.Zeb_Solid_White,
|
|
418
|
-
textTransform: "uppercase",
|
|
419
|
-
},
|
|
420
|
-
C4_12: {
|
|
421
|
-
fontFamily: "Lato",
|
|
422
|
-
fontStyle: "normal",
|
|
423
|
-
fontWeight: "bold",
|
|
424
|
-
fontSize: c.remConverter(12),
|
|
425
|
-
lineHeight: "18px",
|
|
426
|
-
letterSpacing: "0.4px",
|
|
427
|
-
color: m.Zeb_Solid_White,
|
|
428
|
-
textTransform: "uppercase",
|
|
429
|
-
},
|
|
430
|
-
},
|
|
431
|
-
g = {
|
|
432
|
-
flexJustifiedBetween: o({ justifyContent: "space-between" }),
|
|
433
|
-
flexJustifiedCenter: o({ justifyContent: "center" }),
|
|
434
|
-
flexJustifiedEnd: o({ justifyContent: "flex-end" }),
|
|
435
|
-
flexAlignCenter: o({ display: "flex", alignItems: "center" }),
|
|
436
|
-
flexAlignStart: o({ display: "flex", alignItems: "flex-start" }),
|
|
437
|
-
flexNoWrap: o({ flexWrap: "nowrap" }),
|
|
438
|
-
flexColumn: o({ display: "flex", flexDirection: "column" }),
|
|
439
|
-
textSuccess: o({ color: m.Zeb_Solid_Green }),
|
|
440
|
-
textError: o({ color: m.Zeb_Solid_Red }),
|
|
441
|
-
bgSuccess: o({ background: m.Zeb_Solid_Green }),
|
|
442
|
-
bgError: o({ background: m.Zeb_Solid_Red }),
|
|
443
|
-
textFaded: o({ color: m.Zeb_Solid_Light_Blue }),
|
|
444
|
-
textCapitalize: o({ textTransform: "capitalize" }),
|
|
445
|
-
textAlignmentCenter: o({ textAlign: "center" }),
|
|
446
|
-
textAlignmentLeft: o({ textAlign: "left" }),
|
|
447
|
-
textAlignmentRight: o({ textAlign: "right" }),
|
|
448
|
-
},
|
|
449
|
-
p = o(
|
|
450
|
-
r(
|
|
451
|
-
r(
|
|
452
|
-
{
|
|
453
|
-
padding: 0,
|
|
454
|
-
backgroundColor: "transparent",
|
|
455
|
-
boxShadow: "none",
|
|
456
|
-
border: "none",
|
|
457
|
-
outline: "none",
|
|
458
|
-
},
|
|
459
|
-
f.C3_14
|
|
460
|
-
),
|
|
461
|
-
{
|
|
462
|
-
color: m.Zeb_Solid_Bright_Blue,
|
|
463
|
-
"&.small": r(r({}, f.C4_12), { color: m.Zeb_Solid_Bright_Blue }),
|
|
464
|
-
}
|
|
465
|
-
)
|
|
466
|
-
),
|
|
467
|
-
S = o(
|
|
468
|
-
r(
|
|
469
|
-
r(
|
|
470
|
-
{
|
|
471
|
-
background: m.Zeb_Gradient_Blue_01,
|
|
472
|
-
borderRadius: c.remConverter(8),
|
|
473
|
-
boxShadow: "none",
|
|
474
|
-
border: "none",
|
|
475
|
-
outline: "none",
|
|
476
|
-
whiteSpace: "nowrap",
|
|
477
|
-
},
|
|
478
|
-
f.C4_12
|
|
479
|
-
),
|
|
480
|
-
{
|
|
481
|
-
"&.small": r(
|
|
482
|
-
{
|
|
483
|
-
padding: ""
|
|
484
|
-
.concat(c.remConverter(8), " ")
|
|
485
|
-
.concat(c.remConverter(12)),
|
|
486
|
-
},
|
|
487
|
-
f.C4_12
|
|
488
|
-
),
|
|
489
|
-
"&.medium": r(
|
|
490
|
-
{
|
|
491
|
-
padding: ""
|
|
492
|
-
.concat(c.remConverter(8), " ")
|
|
493
|
-
.concat(c.remConverter(12)),
|
|
494
|
-
},
|
|
495
|
-
f.C4_12
|
|
496
|
-
),
|
|
497
|
-
"&.large": r(
|
|
498
|
-
{
|
|
499
|
-
padding: ""
|
|
500
|
-
.concat(c.remConverter(8), " ")
|
|
501
|
-
.concat(c.remConverter(16)),
|
|
502
|
-
},
|
|
503
|
-
f.C2_16
|
|
504
|
-
),
|
|
505
|
-
"&.full-width": {
|
|
506
|
-
padding: "".concat(c.remConverter(8), " 0"),
|
|
507
|
-
width: "100%",
|
|
508
|
-
},
|
|
509
|
-
"&:disabled": { opacity: 0.2 },
|
|
510
|
-
}
|
|
511
|
-
)
|
|
512
|
-
),
|
|
513
|
-
b = o(
|
|
514
|
-
r(
|
|
515
|
-
r(
|
|
516
|
-
{
|
|
517
|
-
padding: "".concat(c.remConverter(8), " ").concat(c.remConverter(16)),
|
|
518
|
-
background: m.Zeb_Transparent_4,
|
|
519
|
-
border: "1px solid ".concat(m.Zeb_Solid_Bright_Blue),
|
|
520
|
-
borderRadius: "8px",
|
|
521
|
-
},
|
|
522
|
-
f.C2_16
|
|
523
|
-
),
|
|
524
|
-
{
|
|
525
|
-
"&.small": r(
|
|
526
|
-
{
|
|
527
|
-
padding: ""
|
|
528
|
-
.concat(c.remConverter(8), " ")
|
|
529
|
-
.concat(c.remConverter(12)),
|
|
530
|
-
},
|
|
531
|
-
f.C4_12
|
|
532
|
-
),
|
|
533
|
-
"&.medium": r(
|
|
534
|
-
{
|
|
535
|
-
padding: ""
|
|
536
|
-
.concat(c.remConverter(8), " ")
|
|
537
|
-
.concat(c.remConverter(12)),
|
|
538
|
-
},
|
|
539
|
-
f.C4_12
|
|
540
|
-
),
|
|
541
|
-
"&.large": r(
|
|
542
|
-
{
|
|
543
|
-
padding: ""
|
|
544
|
-
.concat(c.remConverter(8), " ")
|
|
545
|
-
.concat(c.remConverter(16)),
|
|
546
|
-
},
|
|
547
|
-
f.C2_16
|
|
548
|
-
),
|
|
549
|
-
"&.full-width": { padding: "".concat(c.remConverter(8), " 0") },
|
|
550
|
-
"&:disabled": { borderColor: m.Zeb_Solid_Grey },
|
|
551
|
-
}
|
|
552
|
-
)
|
|
553
|
-
),
|
|
554
|
-
h = o({
|
|
555
|
-
padding: "".concat(c.remConverter(6), " 0"),
|
|
556
|
-
background: m.Zeb_Gradient_Blue_01,
|
|
557
|
-
boxShadow: "none",
|
|
558
|
-
border: "none",
|
|
559
|
-
outline: "none",
|
|
560
|
-
borderRadius: "8px",
|
|
561
|
-
display: "flex",
|
|
562
|
-
alignItems: "center",
|
|
563
|
-
justifyContent: "center",
|
|
564
|
-
"&.small": { width: "100%", padding: "".concat(c.remConverter(8), " 0") },
|
|
565
|
-
"&.large": { width: "100%" },
|
|
566
|
-
"&.full-width": { width: "100%" },
|
|
567
|
-
"&.medium": { width: "100%" },
|
|
568
|
-
}),
|
|
569
|
-
x = o(r({ marginLeft: c.remConverter(8) }, f.C3_14)),
|
|
570
|
-
s = o({ display: "none" }),
|
|
571
|
-
u = o({
|
|
572
|
-
padding: "".concat(c.remConverter(8), " ").concat(c.remConverter(12)),
|
|
573
|
-
background: m.Zeb_Transparent_4,
|
|
574
|
-
boxShadow: "none",
|
|
575
|
-
border: "1px solid ".concat(m.Zeb_Solid_Bright_Blue),
|
|
576
|
-
outline: "none",
|
|
577
|
-
borderRadius: "8px",
|
|
578
|
-
display: "flex",
|
|
579
|
-
alignItems: "center",
|
|
580
|
-
justifyContent: "center",
|
|
581
|
-
"&.medium": {
|
|
582
|
-
padding: "".concat(c.remConverter(8), " ").concat(c.remConverter(12)),
|
|
583
|
-
},
|
|
584
|
-
}),
|
|
585
|
-
C = o(r({ marginLeft: c.remConverter(4) }, f.C4_12)),
|
|
586
|
-
y = o(
|
|
587
|
-
r(
|
|
588
|
-
r(
|
|
589
|
-
{
|
|
590
|
-
border: "0.5px solid ".concat(m.Zeb_Solid_Light_Blue),
|
|
591
|
-
borderRadius: "4px",
|
|
592
|
-
padding: "".concat(c.remConverter(4), " ").concat(c.remConverter(8)),
|
|
593
|
-
},
|
|
594
|
-
f.B5_12_semibold
|
|
595
|
-
),
|
|
596
|
-
{
|
|
597
|
-
color: m.Zeb_Solid_Light_Blue,
|
|
598
|
-
display: "flex",
|
|
599
|
-
justifyContent: "center",
|
|
600
|
-
flexGrow: 1,
|
|
601
|
-
textTransform: "uppercase",
|
|
602
|
-
cursor: "pointer",
|
|
603
|
-
"&.active": r(
|
|
604
|
-
{
|
|
605
|
-
background: m.Zeb_Solid_Dark_Blue,
|
|
606
|
-
borderColor: m.Zeb_Solid_Bright_Blue,
|
|
607
|
-
},
|
|
608
|
-
f.C4_12
|
|
609
|
-
),
|
|
610
|
-
}
|
|
611
|
-
)
|
|
612
|
-
),
|
|
613
|
-
Z = o({ opacity: 0.5, cursor: "not-allowed" });
|
|
614
|
-
function v(e, t) {
|
|
615
|
-
switch (e) {
|
|
616
|
-
case "primary":
|
|
617
|
-
return S;
|
|
618
|
-
case "secondary":
|
|
619
|
-
return b;
|
|
620
|
-
case "tertiary":
|
|
621
|
-
return [u, C];
|
|
622
|
-
case "link":
|
|
623
|
-
return p;
|
|
624
|
-
case "tab":
|
|
625
|
-
return "small" === t ? [y, s] : y;
|
|
626
|
-
case "special":
|
|
627
|
-
return [h, x];
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
var W = function (t) {
|
|
631
|
-
var o = t.type,
|
|
632
|
-
n = t.size,
|
|
633
|
-
i = void 0 === n ? "medium" : n,
|
|
634
|
-
l = t.onClick,
|
|
635
|
-
a = t.disabled,
|
|
636
|
-
_ = t.style,
|
|
637
|
-
m = t.children,
|
|
638
|
-
c = t.loading;
|
|
639
|
-
return e(
|
|
640
|
-
"button",
|
|
641
|
-
r(
|
|
642
|
-
{ onClick: l, disabled: a, className: i, css: [v(o, i), _, a && Z] },
|
|
643
|
-
{ children: c ? e(d, { size: 18 }) : m }
|
|
644
|
-
)
|
|
645
|
-
);
|
|
646
|
-
};
|
|
647
|
-
export { W as Button, m as colors, g as mixins, f as typography, c as utils };
|
|
1
|
+
import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{keyframes as r,css as o}from"@emotion/react";import*as n from"react";import{useState as i,useRef as l}from"react";var a=function(){return a=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},a.apply(this,arguments)};var d,c,_,m=r(_||(d=["\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }"],c=["\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }"],Object.defineProperty?Object.defineProperty(d,"raw",{value:c}):d.raw=c,_=d)),s=o({borderRadius:"100%",borderWidth:3,borderStyle:"solid",borderTopColor:"rgba(255,255,255,0.4)",margin:"0 auto",animation:"".concat(m," 1s linear infinite")}),g=function(t){var r=t.size,n=t.color;return e("div",{css:[s,o({height:"".concat(r,"px"),width:"".concat(r,"px"),color:n})]})},p={Zeb_Solid_White:"#FFFFFF",Zeb_Solid_BG_Blue:"#222245",Zeb_Solid_Dark_Blue:"#181837",Zeb_Solid_Bright_Blue:"#338FFF",Zeb_Solid_Light_Blue:"#C0C0EE",Zeb_Solid_Green:"#1ECAA2",Zeb_Solid_Red:"#EA6161",Zeb_Solid_Yellow:"#F9C35C",Zeb_Solid_Grey:"#C2C2DD",Zeb_Solid_Dark_Grey:"#34345A",Zeb_Solid_Black:"000000",Zeb_Solid_Light_Blue_01:"#E9EFF6",Zeb_Solid_Grey_01:"#E1E3E6",Zeb_Gradient_Blue_01:"linear-gradient(90.15deg, #5D7BFE 0.73%, #0974FF 101.92%)",Zeb_Gradient_Blue_02:"linear-gradient(180deg, #0473FF 0.54%, rgba(4, 115, 255, 0) 100%)",Zeb_Gradient_Dark_Blue:"linear-gradient(254.37deg, #4A62CA -43.42%, #1B264B 148.58%)",Zeb_Transparent_25:"rgba(12, 12, 36, 0.25)",Zeb_Transparent_Green:"rgba(30, 202, 162, 0.2)",Zeb_Transparent_Yellow:"rgba(249, 195, 92, 0.2)",Zeb_Transparent_Red:"rgba(234, 97, 97, 0.2)",Zeb_BG_Blue:"rgba(51, 143, 255, 0.2)",Zeb_BG_Light_Blue:"rgba(192, 192, 238, 0.2)",Zeb_BG_Green:"rgba(30, 202, 162, 0.08)",Zeb_BG_Red:"rgba(234, 97, 97, 0.08)",Zeb_BG_Yellow:"rgba(249, 195, 92, 0.08)",Zeb_Transparent_4:"rgba(51, 143, 255, 0.04)",Zeb_Effects_Shadow_Hover:"0px 8px 8px -4px #0C0C1D",Zeb_Effects_Shadow_W_Drawer:"-12px 0px 40px rgba(12, 12, 29, 0.48)",Zeb_Effects_Shadow_M_Drawer:"0px -12px 40px rgba(12, 12, 29, 0.48)",Zeb_Effects_Shadow_Hover_Up:"0px -2px 32px 8px rgba(12, 12, 29, 0.4)",Zeb_Effects_Shimmer:"linear-gradient(97.38deg, #34345A -40.76%, #19193A 135.88%)"},b={remConverter:function(e){return"".concat(e/16,"rem")},widthPercentage:function(e){return o({width:"".concat(e,"%")})},heightPercentage:function(e){return o({height:"".concat(e,"%")})},mr:function(e){return o({marginRight:b.remConverter(e)})},ml:function(e){return o({marginLeft:b.remConverter(e)})},mt:function(e){return o({marginTop:b.remConverter(e)})},mb:function(e){return o({marginBottom:b.remConverter(e)})}},f={H1_56_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H2_44_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H3_32_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H4_28_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H5_20_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(20),lineHeight:"normal",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H6_16_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H1_56_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H2_44_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H3_32_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H4_28_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H5_20_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H6_16_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H1_56_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H2_44_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H3_32_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H4_28_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H5_20_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H6_16_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H8_12_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},B1_24_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(24),lineHeight:"40px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B2_20_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B3_16_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B4_14_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(14),lineHeight:"24px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B5_12_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B6_10_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(10),lineHeight:"12px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B1_24_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(24),lineHeight:"40px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B2_20_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B3_16_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B4_14_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(14),lineHeight:"24px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B5_12_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B6_10_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(10),lineHeight:"12px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},C1_20:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"1.6px",color:p.Zeb_Solid_White,textTransform:"uppercase"},C2_16:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White,textTransform:"uppercase"},C3_14:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(14),lineHeight:"24px",letterSpacing:"0.8px",color:p.Zeb_Solid_White,textTransform:"uppercase"},C4_12:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:p.Zeb_Solid_White,textTransform:"uppercase"}},h={flexJustifiedBetween:o({justifyContent:"space-between"}),flexJustifiedCenter:o({justifyContent:"center"}),flexJustifiedEnd:o({justifyContent:"flex-end"}),flexAlignCenter:o({display:"flex",alignItems:"center"}),flexAlignStart:o({display:"flex",alignItems:"flex-start"}),flexNoWrap:o({flexWrap:"nowrap"}),flexColumn:o({display:"flex",flexDirection:"column"}),textSuccess:o({color:p.Zeb_Solid_Green}),textError:o({color:p.Zeb_Solid_Red}),bgSuccess:o({background:p.Zeb_Solid_Green}),bgError:o({background:p.Zeb_Solid_Red}),textFaded:o({color:p.Zeb_Solid_Light_Blue}),textCapitalize:o({textTransform:"capitalize"}),textAlignmentCenter:o({textAlign:"center"}),textAlignmentLeft:o({textAlign:"left"}),textAlignmentRight:o({textAlign:"right"})},C=o(a(a({padding:0,backgroundColor:"transparent",boxShadow:"none",border:"none",outline:"none"},f.C3_14),{color:p.Zeb_Solid_Bright_Blue,"&.small":a(a({},f.C4_12),{color:p.Zeb_Solid_Bright_Blue})})),u=o(a(a({background:p.Zeb_Gradient_Blue_01,borderRadius:b.remConverter(8),boxShadow:"none",border:"none",outline:"none",whiteSpace:"nowrap"},f.C4_12),{"&.small":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.medium":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.large":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(16))},f.C2_16),"&.full-width":{padding:"".concat(b.remConverter(8)," 0"),width:"100%"},"&:disabled":{opacity:.2}})),S=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(16)),background:p.Zeb_Transparent_4,border:"1px solid ".concat(p.Zeb_Solid_Bright_Blue),borderRadius:"8px"},f.C2_16),{"&.small":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.medium":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.large":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(16))},f.C2_16),"&.full-width":{padding:"".concat(b.remConverter(8)," 0")},"&:disabled":{borderColor:p.Zeb_Solid_Grey}})),x=o({padding:"".concat(b.remConverter(6)," 0"),background:p.Zeb_Gradient_Blue_01,boxShadow:"none",border:"none",outline:"none",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center","&.small":{width:"100%",padding:"".concat(b.remConverter(8)," 0")},"&.large":{width:"100%"},"&.full-width":{width:"100%"},"&.medium":{width:"100%"}}),v=o(a({marginLeft:b.remConverter(8)},f.C3_14)),y=o({display:"none"}),Z=o({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Transparent_4,boxShadow:"none",border:"1px solid ".concat(p.Zeb_Solid_Bright_Blue),outline:"none",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center","&.medium":{padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))}}),W=o(a({marginLeft:b.remConverter(4)},f.C4_12)),B=o(a(a({border:"0.5px solid ".concat(p.Zeb_Solid_Light_Blue),borderRadius:"4px",padding:"".concat(b.remConverter(4)," ").concat(b.remConverter(8))},f.B5_12_semibold),{color:p.Zeb_Solid_Light_Blue,display:"flex",justifyContent:"center",flexGrow:1,textTransform:"uppercase",cursor:"pointer","&.active":a({background:p.Zeb_Solid_Dark_Blue,borderColor:p.Zeb_Solid_Bright_Blue},f.C4_12)})),w=o({opacity:.5,cursor:"not-allowed"});function H(e,t){switch(e){case"primary":return u;case"secondary":return S;case"tertiary":return[Z,W];case"link":return C;case"tab":return"small"===t?[B,y]:B;case"special":return[x,v]}}var L=function(t){var r=t.type,o=t.size,n=void 0===o?"medium":o,i=t.onClick,l=t.disabled,d=t.style,c=t.children,_=t.loading;return e("button",a({onClick:i,disabled:l,className:n,css:[H(r,n),d,l&&w]},{children:_?e(g,{size:18}):c}))},k=o({minWidth:b.remConverter(16)}),F=o(a(a({display:"flex",alignItems:"center",justifyContent:"flex-start",height:"auto",position:"relative",cursor:"pointer",marginBottom:0},f.B4_14_semibold),{"&:hover":{"input ~ .checkmark":{backgroundColor:p.Zeb_Solid_White}}})),z=o({opacity:.5,cursor:"not-allowed"}),R=o({opacity:0,cursor:"pointer",height:0,width:0}),G=o({backgroundColor:p.Zeb_Solid_White,border:"1px solid ".concat(p.Zeb_Solid_White),borderRadius:4,"&:after":{display:"block"}}),T=o({marginLeft:b.remConverter(20)});o({marginLeft:b.remConverter(20)});var E=o({position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",height:b.remConverter(12),width:b.remConverter(12),backgroundColor:"transparent",border:"1px solid ".concat(p.Zeb_Solid_White),borderRadius:4,"&:after":{content:"''",position:"absolute",display:"none",left:2,top:"45%",width:4,height:8,border:"solid ".concat(p.Zeb_Solid_Dark_Blue),borderWidth:"0 2px 2px 0",transform:"rotate(45deg) translate(-50%, -50%)"}}),D=function(r){var o=r.label,n=r.value,i=r.style,l=r.checked,d=r.onChange,c=r.disabled;return t("label",a({css:[k,F,i,c?z:""]},{children:[o&&e("div",a({css:T},{children:o})),e("input",{checked:l,onChange:function(e){return d({checked:e.target.checked,value:e.target.value})},type:"checkbox",css:R,value:n,disabled:c}),e("span",{css:[E,l&&G]})]}))},A=o({borderColor:p.Zeb_Solid_Red}),j=o(a(a({},f.B4_14_regular),{color:p.Zeb_Solid_Light_Blue,marginBottom:b.remConverter(4)})),I=o({color:"".concat(p.Zeb_Solid_White,"!important")}),M=o({border:"1px solid transparent",borderRadius:8,flexWrap:"wrap",alignItems:"stretch"}),Y=o({borderColor:p.Zeb_Solid_Bright_Blue,boxShadow:p.Zeb_Effects_Shadow_Hover}),O=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Solid_Dark_Blue,border:"none"},f.B4_14_semibold),{color:"".concat(p.Zeb_Solid_White,"!important"),height:b.remConverter(40),flex:"1 1 auto",":focus":{boxShadow:"none",outline:"none"},"::placeholder":a(a({},f.B4_14_regular),{color:"".concat(p.Zeb_Solid_Light_Blue,"!important")})})),P=o({borderRadius:b.remConverter(8)}),J=o({borderRadius:b.remConverter(0)}),U=o({borderRadius:"".concat(b.remConverter(8)," 0 0 ").concat(b.remConverter(8))}),N=o({borderRadius:"0 ".concat(b.remConverter(8)," ").concat(b.remConverter(8)," 0")}),V=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Solid_Dark_Blue,borderRadius:"0 ".concat(b.remConverter(8)," ").concat(b.remConverter(8)," 0"),border:"none"},f.B4_14_semibold),{height:b.remConverter(40)})),X=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Solid_Dark_Blue,borderRadius:"".concat(b.remConverter(8)," 0 0 ").concat(b.remConverter(8)),border:"none"},f.B4_14_semibold),{height:b.remConverter(40)})),q=o({marginLeft:"auto"}),K=function(r){var n=r.value,l=r.label,d=r.placeholder,c=r.name,_=r.appendItem,m=r.prependItem,s=r.infoText,g=r.errorText,p=r.cta,b=r.style,C=r.type,u=void 0===C?"text":C,S=r.onChange,x=i(!1),v=x[0],y=x[1];return t("div",a({css:b},{children:[e("label",a({css:[j,v?I:null,g?h.textError:null]},{children:l})),t("div",a({css:[M,h.flexAlignCenter,v?Y:null,g?A:null]},{children:[m&&e("span",a({css:X},{children:m})),e("input",{type:u,name:c,placeholder:d,onFocus:function(){y(!0)},onBlur:function(){y(!1)},css:[O,P,m&&N,_&&U,_&&m&&J],value:n,onChange:function(e){var t=e.target,r=t.value,o=t.name;S({value:r,name:o})}}),_&&e("span",a({css:V},{children:_}))]})),t("div",a({css:[h.flexAlignCenter,h.flexJustifiedBetween]},{children:[(g||s)&&e("div",a({css:[o(a({},f.B4_14_regular)),s&&h.textFaded,g&&h.textError]},{children:s||g})),p&&e("div",a({css:q},{children:e(L,a({type:"link",size:"medium",onClick:p.onClick},{children:p.label}))}))]}))]}))},Q=o({height:b.remConverter(34),width:b.remConverter(330),position:"relative"}),$=o({backgroundColor:p.Zeb_Solid_BG_Blue,borderRadius:b.remConverter(8),minWidth:b.remConverter(328),display:"flex",flexDirection:"column",padding:b.remConverter(12),position:"absolute",justifyContent:"space-between",borderColor:p.Zeb_Solid_Bright_Blue,borderWidth:b.remConverter(2),borderStyle:"solid",boxShadow:"0px 8px 8px -4px #0C0C1D",bottom:b.remConverter(42)}),ee=o(a(a({},f.B4_14_semibold),{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"})),te=o(a(a({},f.C4_12),{textAlign:"center",height:b.remConverter(34),width:b.remConverter(330)})),re=o({});var oe=function(r){var o,i=r.onClose,d=void 0===i?function(){}:i,c=r.label,_=r.buttonProps,m=void 0===_?{}:_,s=r.renderChildren,g=r.style,p=n.useState(!1),b=p[0],f=p[1],h=[o=l(null),function(){o.current&&o.current.focus()}],C=h[0],u=h[1],S=n.useCallback((function(){f(!1),d()}),[d]),x=n.useCallback((function(){b?S():f(!0)}),[b,S,f]);return n.useEffect((function(){u&&u()}),[C.current,u]),t("div",a({css:[Q,g]},{children:[b&&t("div",a({css:$,tabIndex:0,onBlur:S,ref:C},{children:[t("div",a({css:ee},{children:[e("span",{children:c}),e("span",a({onClick:S,css:re},{children:"X"}))]})),s({close:S,isOpened:b})]})),e(L,a({},m,{style:[te,m.style],onClick:x,type:m.type||"secondary"},{children:c}))]}))},ne=o(a({display:"block",position:"relative",paddingLeft:b.remConverter(20),cursor:"pointer",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none",marginBottom:0},f.B4_14_regular)),ie=o({position:"absolute",opacity:0,cursor:"pointer",":checked":{"~ span":{backgroundColor:"transparent",":after":{display:"block"}}}}),le=o({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",left:0,height:16,width:16,borderRadius:"50%",border:"1px solid ".concat(p.Zeb_Solid_White),transform:"translateY(-50%)",":after":{content:"''",display:"none",width:8,height:8,borderRadius:"50%",backgroundColor:p.Zeb_Solid_Bright_Blue}}),ae=function(r){var o=r.value,n=r.onChange,i=r.label,l=r.style,d=r.name,c=r.selected;return t("label",a({css:[ne,l]},{children:[i,e("input",{type:"radio",name:d,css:ie,value:o,onChange:function(e){return n({selected:e.target.checked,value:e.target.value})},checked:c}),e("span",{css:le})]}))},de=o({padding:"".concat(b.remConverter(12)," ").concat(b.remConverter(16)," ").concat(b.remConverter(12)," ").concat(b.remConverter(24)),border:"1px solid transparent",backdropFilter:"blur(20px)",borderRadius:"8px",maxWidth:"484px",width:"100%"}),ce=o(a(a({},f.B4_14_semibold),{display:"flex",alignItems:"center",justifyContent:"space-between"})),_e=o({display:"flex",alignItems:"center"}),me=o({marginLeft:"".concat(b.remConverter(8))}),se=o({padding:0,outline:"none",border:"none",boxShadow:"none",backgroundColor:"transparent"}),ge=o(a(a({},f.B5_12_regular),{marginTop:"".concat(b.remConverter(4))})),pe=o({background:"rgba(249, 200, 92, 0.08)",borderColor:p.Zeb_Solid_Yellow}),be=o({color:p.Zeb_Solid_Yellow}),fe=o({background:"rgba(234, 97, 97, 0.08)",borderColor:p.Zeb_Solid_Red}),he=o({color:p.Zeb_Solid_Red}),Ce=o({background:"rgba(30, 202, 162, 0.08)",borderColor:p.Zeb_Solid_Green}),ue=o({color:p.Zeb_Solid_Green}),Se=Object.freeze({__proto__:null,toastContainer:de,toastHeading:ce,toastDetails:_e,toastTitle:me,closeCta:se,toastDescription:ge,info:pe,infoToastHeading:be,error:fe,errorToastHeading:he,success:Ce,successToastHeading:ue}),xe=function(e){return"info"===e?p.Zeb_Solid_Yellow:"error"===e?p.Zeb_Solid_Red:"success"===e?p.Zeb_Solid_Green:void 0},ve=function(r){var o=r.title,n=r.description,i=r.type,l=r.onClose;return t("div",a({css:[de,Se[i]]},{children:[t("div",a({css:[ce,Se["".concat(i,"ToastHeading")]]},{children:[t("div",a({css:_e},{children:[e("svg",a({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9999 13.9866C10.8159 14.7778 9.42383 15.2 7.9998 15.2C6.09024 15.2 4.2589 14.4415 2.90864 13.0912C1.55837 11.741 0.799805 9.90961 0.799805 8.00005C0.799805 6.57602 1.22208 5.18398 2.01322 3.99995C2.80437 2.81591 3.92885 1.89307 5.24448 1.34812C6.56011 0.803169 8.00779 0.660585 9.40445 0.938398C10.8011 1.21621 12.084 1.90194 13.091 2.90888C14.0979 3.91582 14.7836 5.19874 15.0615 6.5954C15.3393 7.99206 15.1967 9.43974 14.6517 10.7554C14.1068 12.071 13.1839 13.1955 11.9999 13.9866ZM11.4656 2.81311C10.4397 2.12763 9.23361 1.76177 7.9998 1.76177C6.34614 1.76449 4.76099 2.4226 3.59167 3.59192C2.42236 4.76124 1.76424 6.34639 1.76152 8.00005C1.76152 9.23386 2.12739 10.44 2.81286 11.4659C3.49833 12.4917 4.47262 13.2913 5.61251 13.7635C6.75241 14.2356 8.00672 14.3592 9.21683 14.1185C10.4269 13.8778 11.5385 13.2836 12.4109 12.4112C13.2834 11.5387 13.8775 10.4272 14.1182 9.21708C14.3589 8.00697 14.2354 6.75266 13.7632 5.61276C13.2911 4.47286 12.4915 3.49858 11.4656 2.81311ZM7.41321 7.59992C7.41321 7.27925 7.67321 7.01325 7.99321 7.01325C8.31987 7.01325 8.57987 7.27925 8.57987 7.59992V10.5466C8.57987 10.8666 8.31987 11.1266 7.99321 11.1266C7.67321 11.1266 7.41321 10.8666 7.41321 10.5466V7.59992ZM7.41987 5.48659C7.41987 5.15992 7.67987 4.89992 8.00654 4.89992C8.32654 4.89992 8.58654 5.15992 8.58654 5.48659C8.58654 5.80592 8.32654 6.06659 7.99321 6.06659C7.67987 6.06659 7.41987 5.80592 7.41987 5.48659Z",fill:xe(i)})})),e("div",a({css:me},{children:o}))]})),e("div",{children:l&&e("button",a({css:se,onClick:l},{children:e("svg",a({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99996 0.666626C3.94996 0.666626 0.666626 3.94996 0.666626 7.99996C0.666626 12.05 3.94996 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.05 15.3333 7.99996C15.3333 3.94996 12.05 0.666626 7.99996 0.666626ZM10.4713 6.47129C10.5927 6.34556 10.6599 6.17716 10.6584 6.00236C10.6569 5.82756 10.5868 5.66035 10.4632 5.53675C10.3396 5.41314 10.1724 5.34303 9.99756 5.34151C9.82276 5.33999 9.65436 5.40719 9.52862 5.52863L7.99996 7.05729L6.47129 5.52863C6.40979 5.46495 6.33623 5.41416 6.25489 5.37922C6.17356 5.34429 6.08608 5.32589 5.99756 5.32513C5.90904 5.32436 5.82125 5.34122 5.73932 5.37474C5.65739 5.40827 5.58296 5.45777 5.52036 5.52036C5.45777 5.58296 5.40827 5.65739 5.37474 5.73932C5.34122 5.82125 5.32436 5.90904 5.32513 5.99756C5.32589 6.08608 5.34428 6.17356 5.37922 6.2549C5.41416 6.33623 5.46495 6.40979 5.52863 6.47129L7.05729 7.99996L5.52863 9.52863C5.46495 9.59012 5.41416 9.66369 5.37922 9.74502C5.34428 9.82636 5.32589 9.91384 5.32513 10.0024C5.32436 10.0909 5.34122 10.1787 5.37474 10.2606C5.40827 10.3425 5.45777 10.417 5.52036 10.4796C5.58296 10.5422 5.65739 10.5917 5.73932 10.6252C5.82125 10.6587 5.90904 10.6756 5.99756 10.6748C6.08608 10.674 6.17356 10.6556 6.25489 10.6207C6.33623 10.5858 6.40979 10.535 6.47129 10.4713L7.99996 8.94263L9.52862 10.4713C9.65436 10.5927 9.82276 10.6599 9.99756 10.6584C10.1724 10.6569 10.3396 10.5868 10.4632 10.4632C10.5868 10.3396 10.6569 10.1724 10.6584 9.99756C10.6599 9.82276 10.5927 9.65436 10.4713 9.52863L8.94262 7.99996L10.4713 6.47129Z",fill:xe(i)})}))}))})]})),e("div",a({css:ge},{children:n}))]}))};export{L as Button,D as Checkbox,g as CircularLoader,K as Input,oe as Popper,ae as Radio,ve as Toast,p as colors,h as mixins,f as typography,b as utils};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
3
|
+
2 9.74502C5.34428 9.82636 5.32589 9.91384 5.32513 10.0024C5.32436 10.0909 5.34122 10.1787 5.37474 10.2606C5.40827 10.3425 5.45777 10.417 5.52036 10.4796C5.58296 10.5422 5.65739 10.5917 5.73932 10.6252C5.82125 10.6587 5.90904 10.6756 5.99756 10.6748C6.08608 10.674 6.17356 10.6556 6.25489 10.6207C6.33623 10.5858 6.40979 10.535 6.47129 10.4713L7.99996 8.94263L9.52862 10.4713C9.65436 10.5927 9.82276 10.6599 9.99756 10.6584C10.1724 10.6569 10.3396 10.5868 10.4632 10.4632C10.5868 10.3396 10.6569 10.1724 10.6584 9.99756C10.6599 9.82276 10.5927 9.65436 10.4713 9.52863L8.94262 7.99996L10.4713 6.47129Z",fill:be(n)})}))}))})]})),e.jsx("div",i({css:ae},{children:o}))]}))},exports.colors=m,exports.mixins=b,exports.typography=g,exports.utils=p;
|
|
648
4
|
//# sourceMappingURL=index.js.map
|