@frak-labs/components 0.0.26-beta.9d5371b4 → 0.0.26-beta.bbbb3d22
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/cdn/Banner.BrrxJ-YP.js +132 -0
- package/cdn/ButtonShare.D6sav-O3.js +1 -0
- package/cdn/{ButtonWallet.B7UmJcbb.js → ButtonWallet.DalZLwGv.js} +2 -2
- package/cdn/OpenInAppButton.BBj09SVF.js +1 -0
- package/cdn/PostPurchase.CXHETVu7.js +47 -0
- package/cdn/components.js +1 -1
- package/cdn/formatReward.CU8k_jx9.js +1 -0
- package/cdn/jsxRuntime.module.D7jbXhdY.js +58 -0
- package/cdn/loader.js +26 -26
- package/cdn/sprinkles.css.ts.vanilla.BtNHSSRm.js +1175 -0
- package/cdn/useLightDomStyles.x0mCz8nV.js +1 -0
- package/cdn/useReward.Cbh2WzQ3.js +1 -0
- package/cdn/useShareModal.DsoI-v9u.js +1 -0
- package/dist/GiftIcon-BrNVWoWm.js +1246 -0
- package/dist/banner.d.ts +24 -11
- package/dist/banner.js +314 -96
- package/dist/buttonShare.d.ts +2 -2
- package/dist/buttonShare.js +5 -11
- package/dist/buttonWallet.d.ts +2 -2
- package/dist/buttonWallet.js +3 -7
- package/dist/{formatReward-6JQldDEC.js → formatReward-_UYA3aHE.js} +1 -3
- package/dist/openInApp.d.ts +2 -2
- package/dist/openInApp.js +3 -9
- package/dist/postPurchase.d.ts +8 -2
- package/dist/postPurchase.js +1623 -25
- package/dist/{useLightDomStyles-DukxuNnJ.js → useLightDomStyles-Cjpf0MnX.js} +2 -5
- package/dist/{usePlacement-BbMuz8_A.js → usePlacement-LqYjZLX_.js} +1 -93
- package/dist/{useReward-CI2yRrCj.js → useReward-XF2hB_C_.js} +2 -4
- package/dist/{useShareModal-DHlayNqk.js → useShareModal-Bmlk3eBJ.js} +1 -3
- package/package.json +13 -9
- package/cdn/Banner.BfkMel9Q.js +0 -1
- package/cdn/ButtonShare.BM9Inhmf.js +0 -1
- package/cdn/OpenInAppButton.B4mrsz6L.js +0 -1
- package/cdn/PostPurchase.BIc0C4Ma.js +0 -1
- package/cdn/formatReward.C8hlSKRj.js +0 -1
- package/cdn/jsxRuntime.module.5UNmmhNi.js +0 -138
- package/cdn/useLightDomStyles.D895e4W1.js +0 -1
- package/cdn/useReward.DEU0AF3P.js +0 -1
- package/cdn/useShareModal.CN9_P7Sl.js +0 -1
package/dist/postPurchase.js
CHANGED
|
@@ -1,12 +1,1579 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { t as useLightDomStyles } from "./useLightDomStyles-
|
|
3
|
-
import { t as formatEstimatedReward } from "./formatReward-
|
|
4
|
-
import { t as useShareModal } from "./useShareModal-
|
|
1
|
+
import { a as registerWebComponent, i as useClientReady, t as usePlacement } from "./usePlacement-LqYjZLX_.js";
|
|
2
|
+
import { t as useLightDomStyles } from "./useLightDomStyles-Cjpf0MnX.js";
|
|
3
|
+
import { t as formatEstimatedReward } from "./formatReward-_UYA3aHE.js";
|
|
4
|
+
import { t as useShareModal } from "./useShareModal-Bmlk3eBJ.js";
|
|
5
|
+
import { n as cssSource$4, r as cssSource$3, t as GiftIcon } from "./GiftIcon-BrNVWoWm.js";
|
|
5
6
|
import { getMerchantInformation, getUserReferralStatus, trackPurchaseStatus } from "@frak-labs/core-sdk/actions";
|
|
6
7
|
import { useEffect, useMemo, useState } from "preact/hooks";
|
|
7
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
9
|
import { FrakRpcError, RpcErrorCodes } from "@frak-labs/frame-connector";
|
|
9
|
-
|
|
10
|
+
import { Component, Fragment as Fragment$1, createElement, createElement as createElement$1, options, toChildArray } from "preact";
|
|
11
|
+
//#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
12
|
+
function r(e) {
|
|
13
|
+
var t, f, n = "";
|
|
14
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
15
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
16
|
+
var o = e.length;
|
|
17
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
18
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
19
|
+
return n;
|
|
20
|
+
}
|
|
21
|
+
function clsx() {
|
|
22
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
23
|
+
return n;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../../node_modules/.bun/preact@10.29.0/node_modules/preact/compat/dist/compat.module.js
|
|
27
|
+
function g(n, t) {
|
|
28
|
+
for (var e in t) n[e] = t[e];
|
|
29
|
+
return n;
|
|
30
|
+
}
|
|
31
|
+
function E(n, t) {
|
|
32
|
+
for (var e in n) if ("__source" !== e && !(e in t)) return !0;
|
|
33
|
+
for (var r in t) if ("__source" !== r && n[r] !== t[r]) return !0;
|
|
34
|
+
return !1;
|
|
35
|
+
}
|
|
36
|
+
function M(n, t) {
|
|
37
|
+
this.props = n, this.context = t;
|
|
38
|
+
}
|
|
39
|
+
(M.prototype = new Component()).isPureReactComponent = !0, M.prototype.shouldComponentUpdate = function(n, t) {
|
|
40
|
+
return E(this.props, n) || E(this.state, t);
|
|
41
|
+
};
|
|
42
|
+
var T = options.__b;
|
|
43
|
+
options.__b = function(n) {
|
|
44
|
+
n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null), T && T(n);
|
|
45
|
+
};
|
|
46
|
+
"undefined" != typeof Symbol && Symbol.for;
|
|
47
|
+
var O = options.__e;
|
|
48
|
+
options.__e = function(n, t, e, r) {
|
|
49
|
+
if (n.then) {
|
|
50
|
+
for (var u, o = t; o = o.__;) if ((u = o.__c) && u.__c) return t.__e ?? (t.__e = e.__e, t.__k = e.__k), u.__c(n, t);
|
|
51
|
+
}
|
|
52
|
+
O(n, t, e, r);
|
|
53
|
+
};
|
|
54
|
+
var U = options.unmount;
|
|
55
|
+
function V(n, t, e) {
|
|
56
|
+
return n && (n.__c && n.__c.__H && (n.__c.__H.__.forEach(function(n) {
|
|
57
|
+
"function" == typeof n.__c && n.__c();
|
|
58
|
+
}), n.__c.__H = null), null != (n = g({}, n)).__c && (n.__c.__P === e && (n.__c.__P = t), n.__c.__e = !0, n.__c = null), n.__k = n.__k && n.__k.map(function(n) {
|
|
59
|
+
return V(n, t, e);
|
|
60
|
+
})), n;
|
|
61
|
+
}
|
|
62
|
+
function W(n, t, e) {
|
|
63
|
+
return n && e && (n.__v = null, n.__k = n.__k && n.__k.map(function(n) {
|
|
64
|
+
return W(n, t, e);
|
|
65
|
+
}), n.__c && n.__c.__P === t && (n.__e && e.appendChild(n.__e), n.__c.__e = !0, n.__c.__P = e)), n;
|
|
66
|
+
}
|
|
67
|
+
function P() {
|
|
68
|
+
this.__u = 0, this.o = null, this.__b = null;
|
|
69
|
+
}
|
|
70
|
+
function j(n) {
|
|
71
|
+
var t = n.__ && n.__.__c;
|
|
72
|
+
return t && t.__a && t.__a(n);
|
|
73
|
+
}
|
|
74
|
+
function B() {
|
|
75
|
+
this.i = null, this.l = null;
|
|
76
|
+
}
|
|
77
|
+
options.unmount = function(n) {
|
|
78
|
+
var t = n.__c;
|
|
79
|
+
t && (t.__z = !0), t && t.__R && t.__R(), t && 32 & n.__u && (n.type = null), U && U(n);
|
|
80
|
+
}, (P.prototype = new Component()).__c = function(n, t) {
|
|
81
|
+
var e = t.__c, r = this;
|
|
82
|
+
r.o ??= [], r.o.push(e);
|
|
83
|
+
var u = j(r.__v), o = !1, i = function() {
|
|
84
|
+
o || r.__z || (o = !0, e.__R = null, u ? u(c) : c());
|
|
85
|
+
};
|
|
86
|
+
e.__R = i;
|
|
87
|
+
var l = e.__P;
|
|
88
|
+
e.__P = null;
|
|
89
|
+
var c = function() {
|
|
90
|
+
if (!--r.__u) {
|
|
91
|
+
if (r.state.__a) {
|
|
92
|
+
var n = r.state.__a;
|
|
93
|
+
r.__v.__k[0] = W(n, n.__c.__P, n.__c.__O);
|
|
94
|
+
}
|
|
95
|
+
var t;
|
|
96
|
+
for (r.setState({ __a: r.__b = null }); t = r.o.pop();) t.__P = l, t.forceUpdate();
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), n.then(i, i);
|
|
100
|
+
}, P.prototype.componentWillUnmount = function() {
|
|
101
|
+
this.o = [];
|
|
102
|
+
}, P.prototype.render = function(n, e) {
|
|
103
|
+
if (this.__b) {
|
|
104
|
+
if (this.__v.__k) {
|
|
105
|
+
var r = document.createElement("div"), o = this.__v.__k[0].__c;
|
|
106
|
+
this.__v.__k[0] = V(this.__b, r, o.__O = o.__P);
|
|
107
|
+
}
|
|
108
|
+
this.__b = null;
|
|
109
|
+
}
|
|
110
|
+
var i = e.__a && createElement(Fragment$1, null, n.fallback);
|
|
111
|
+
return i && (i.__u &= -33), [createElement(Fragment$1, null, e.__a ? null : n.children), i];
|
|
112
|
+
};
|
|
113
|
+
var H = function(n, t, e) {
|
|
114
|
+
if (++e[1] === e[0] && n.l.delete(t), n.props.revealOrder && ("t" !== n.props.revealOrder[0] || !n.l.size)) for (e = n.i; e;) {
|
|
115
|
+
for (; e.length > 3;) e.pop()();
|
|
116
|
+
if (e[1] < e[0]) break;
|
|
117
|
+
n.i = e = e[2];
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
(B.prototype = new Component()).__a = function(n) {
|
|
121
|
+
var t = this, e = j(t.__v), r = t.l.get(n);
|
|
122
|
+
return r[0]++, function(u) {
|
|
123
|
+
var o = function() {
|
|
124
|
+
t.props.revealOrder ? (r.push(u), H(t, n, r)) : u();
|
|
125
|
+
};
|
|
126
|
+
e ? e(o) : o();
|
|
127
|
+
};
|
|
128
|
+
}, B.prototype.render = function(n) {
|
|
129
|
+
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
130
|
+
var t = toChildArray(n.children);
|
|
131
|
+
n.revealOrder && "b" === n.revealOrder[0] && t.reverse();
|
|
132
|
+
for (var e = t.length; e--;) this.l.set(t[e], this.i = [
|
|
133
|
+
1,
|
|
134
|
+
0,
|
|
135
|
+
this.i
|
|
136
|
+
]);
|
|
137
|
+
return n.children;
|
|
138
|
+
}, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
|
|
139
|
+
var n = this;
|
|
140
|
+
this.l.forEach(function(t, e) {
|
|
141
|
+
H(n, e, t);
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
var q = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103, G = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, J = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, K = /[A-Z0-9]/g, Q = "undefined" != typeof document, X = function(n) {
|
|
145
|
+
return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n);
|
|
146
|
+
};
|
|
147
|
+
Component.prototype.isReactComponent = !0, [
|
|
148
|
+
"componentWillMount",
|
|
149
|
+
"componentWillReceiveProps",
|
|
150
|
+
"componentWillUpdate"
|
|
151
|
+
].forEach(function(t) {
|
|
152
|
+
Object.defineProperty(Component.prototype, t, {
|
|
153
|
+
configurable: !0,
|
|
154
|
+
get: function() {
|
|
155
|
+
return this["UNSAFE_" + t];
|
|
156
|
+
},
|
|
157
|
+
set: function(n) {
|
|
158
|
+
Object.defineProperty(this, t, {
|
|
159
|
+
configurable: !0,
|
|
160
|
+
writable: !0,
|
|
161
|
+
value: n
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
var en = options.event;
|
|
167
|
+
options.event = function(n) {
|
|
168
|
+
return en && (n = en(n)), n.persist = function() {}, n.isPropagationStopped = function() {
|
|
169
|
+
return this.cancelBubble;
|
|
170
|
+
}, n.isDefaultPrevented = function() {
|
|
171
|
+
return this.defaultPrevented;
|
|
172
|
+
}, n.nativeEvent = n;
|
|
173
|
+
};
|
|
174
|
+
var un = {
|
|
175
|
+
configurable: !0,
|
|
176
|
+
get: function() {
|
|
177
|
+
return this.class;
|
|
178
|
+
}
|
|
179
|
+
}, on = options.vnode;
|
|
180
|
+
options.vnode = function(n) {
|
|
181
|
+
"string" == typeof n.type && function(n) {
|
|
182
|
+
var t = n.props, e = n.type, u = {}, o = -1 == e.indexOf("-");
|
|
183
|
+
for (var i in t) {
|
|
184
|
+
var l = t[i];
|
|
185
|
+
if (!("value" === i && "defaultValue" in t && null == l || Q && "children" === i && "noscript" === e || "class" === i || "className" === i)) {
|
|
186
|
+
var c = i.toLowerCase();
|
|
187
|
+
"defaultValue" === i && "value" in t && null == t.value ? i = "value" : "download" === i && !0 === l ? l = "" : "translate" === c && "no" === l ? l = !1 : "o" === c[0] && "n" === c[1] ? "ondoubleclick" === c ? i = "ondblclick" : "onchange" !== c || "input" !== e && "textarea" !== e || X(t.type) ? "onfocus" === c ? i = "onfocusin" : "onblur" === c ? i = "onfocusout" : J.test(i) && (i = c) : c = i = "oninput" : o && G.test(i) ? i = i.replace(K, "-$&").toLowerCase() : null === l && (l = void 0), "oninput" === c && u[i = c] && (i = "oninputCapture"), u[i] = l;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
"select" == e && (u.multiple && Array.isArray(u.value) && (u.value = toChildArray(t.children).forEach(function(n) {
|
|
191
|
+
n.props.selected = -1 != u.value.indexOf(n.props.value);
|
|
192
|
+
})), null != u.defaultValue && (u.value = toChildArray(t.children).forEach(function(n) {
|
|
193
|
+
n.props.selected = u.multiple ? -1 != u.defaultValue.indexOf(n.props.value) : u.defaultValue == n.props.value;
|
|
194
|
+
}))), t.class && !t.className ? (u.class = t.class, Object.defineProperty(u, "className", un)) : t.className && (u.class = u.className = t.className), n.props = u;
|
|
195
|
+
}(n), n.$$typeof = q, on && on(n);
|
|
196
|
+
};
|
|
197
|
+
var ln = options.__r;
|
|
198
|
+
options.__r = function(n) {
|
|
199
|
+
ln && ln(n), n.__c;
|
|
200
|
+
};
|
|
201
|
+
var cn = options.diffed;
|
|
202
|
+
options.diffed = function(n) {
|
|
203
|
+
cn && cn(n);
|
|
204
|
+
var t = n.props, e = n.__e;
|
|
205
|
+
null != e && "textarea" === n.type && "value" in t && t.value !== e.value && (e.value = null == t.value ? "" : t.value);
|
|
206
|
+
};
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region ../../packages/design-system/src/reset.css.ts
|
|
209
|
+
var base = "reset_base__1831jhd0";
|
|
210
|
+
var element = {
|
|
211
|
+
ul: "reset_element_ul__1831jhd4",
|
|
212
|
+
ol: "reset_element_ol__1831jhd5",
|
|
213
|
+
button: "reset_element_button__1831jhd6 reset_fieldAppearance__1831jhd2 reset_focusRing__1831jhd1",
|
|
214
|
+
a: "reset_element_a__1831jhd7 reset_focusRing__1831jhd1",
|
|
215
|
+
input: "reset_fieldAppearance__1831jhd2 reset_focusRing__1831jhd1",
|
|
216
|
+
select: "reset_fieldAppearance__1831jhd2 reset_focusRing__1831jhd1",
|
|
217
|
+
textarea: "reset_fieldAppearance__1831jhd2 reset_focusRing__1831jhd1",
|
|
218
|
+
table: "reset_element_table__1831jhdb",
|
|
219
|
+
img: "reset_element_img__1831jhdc"
|
|
220
|
+
};
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region ../../node_modules/.bun/@vanilla-extract+sprinkles@1.6.5+19e937df7e0b57ed/node_modules/@vanilla-extract/sprinkles/dist/createSprinkles-74286718.esm.js
|
|
223
|
+
function toPrimitive(t, r) {
|
|
224
|
+
if ("object" != typeof t || !t) return t;
|
|
225
|
+
var e = t[Symbol.toPrimitive];
|
|
226
|
+
if (void 0 !== e) {
|
|
227
|
+
var i = e.call(t, r || "default");
|
|
228
|
+
if ("object" != typeof i) return i;
|
|
229
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
230
|
+
}
|
|
231
|
+
return ("string" === r ? String : Number)(t);
|
|
232
|
+
}
|
|
233
|
+
function toPropertyKey(t) {
|
|
234
|
+
var i = toPrimitive(t, "string");
|
|
235
|
+
return "symbol" == typeof i ? i : String(i);
|
|
236
|
+
}
|
|
237
|
+
function _defineProperty(obj, key, value) {
|
|
238
|
+
key = toPropertyKey(key);
|
|
239
|
+
if (key in obj) Object.defineProperty(obj, key, {
|
|
240
|
+
value,
|
|
241
|
+
enumerable: true,
|
|
242
|
+
configurable: true,
|
|
243
|
+
writable: true
|
|
244
|
+
});
|
|
245
|
+
else obj[key] = value;
|
|
246
|
+
return obj;
|
|
247
|
+
}
|
|
248
|
+
function ownKeys(e, r) {
|
|
249
|
+
var t = Object.keys(e);
|
|
250
|
+
if (Object.getOwnPropertySymbols) {
|
|
251
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
252
|
+
r && (o = o.filter(function(r) {
|
|
253
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
254
|
+
})), t.push.apply(t, o);
|
|
255
|
+
}
|
|
256
|
+
return t;
|
|
257
|
+
}
|
|
258
|
+
function _objectSpread2(e) {
|
|
259
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
260
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
261
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
|
|
262
|
+
_defineProperty(e, r, t[r]);
|
|
263
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
|
|
264
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
return e;
|
|
268
|
+
}
|
|
269
|
+
var createSprinkles$1 = (composeStyles) => function() {
|
|
270
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
|
|
271
|
+
var sprinklesStyles = Object.assign({}, ...args.map((a) => a.styles));
|
|
272
|
+
var sprinklesKeys = Object.keys(sprinklesStyles);
|
|
273
|
+
var shorthandNames = sprinklesKeys.filter((property) => "mappings" in sprinklesStyles[property]);
|
|
274
|
+
var sprinklesFn = (props) => {
|
|
275
|
+
var classNames = [];
|
|
276
|
+
var shorthands = {};
|
|
277
|
+
var nonShorthands = _objectSpread2({}, props);
|
|
278
|
+
var hasShorthands = false;
|
|
279
|
+
for (var shorthand of shorthandNames) {
|
|
280
|
+
var value = props[shorthand];
|
|
281
|
+
if (value != null) {
|
|
282
|
+
var sprinkle = sprinklesStyles[shorthand];
|
|
283
|
+
hasShorthands = true;
|
|
284
|
+
for (var propMapping of sprinkle.mappings) {
|
|
285
|
+
shorthands[propMapping] = value;
|
|
286
|
+
if (nonShorthands[propMapping] == null) delete nonShorthands[propMapping];
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
var finalProps = hasShorthands ? _objectSpread2(_objectSpread2({}, shorthands), nonShorthands) : props;
|
|
291
|
+
var _loop = function _loop() {
|
|
292
|
+
var propValue = finalProps[prop];
|
|
293
|
+
var sprinkle = sprinklesStyles[prop];
|
|
294
|
+
try {
|
|
295
|
+
if (sprinkle.mappings) return 1;
|
|
296
|
+
if (typeof propValue === "string" || typeof propValue === "number") {
|
|
297
|
+
if (!sprinkle.values[propValue].defaultClass) throw new Error();
|
|
298
|
+
classNames.push(sprinkle.values[propValue].defaultClass);
|
|
299
|
+
} else if (Array.isArray(propValue)) for (var responsiveIndex = 0; responsiveIndex < propValue.length; responsiveIndex++) {
|
|
300
|
+
var responsiveValue = propValue[responsiveIndex];
|
|
301
|
+
if (responsiveValue != null) {
|
|
302
|
+
var conditionName = sprinkle.responsiveArray[responsiveIndex];
|
|
303
|
+
if (!sprinkle.values[responsiveValue].conditions[conditionName]) throw new Error();
|
|
304
|
+
classNames.push(sprinkle.values[responsiveValue].conditions[conditionName]);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
else for (var _conditionName in propValue) {
|
|
308
|
+
var _value = propValue[_conditionName];
|
|
309
|
+
if (_value != null) {
|
|
310
|
+
if (!sprinkle.values[_value].conditions[_conditionName]) throw new Error();
|
|
311
|
+
classNames.push(sprinkle.values[_value].conditions[_conditionName]);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
} catch (e) {
|
|
315
|
+
{
|
|
316
|
+
class SprinklesError extends Error {
|
|
317
|
+
constructor(message) {
|
|
318
|
+
super(message);
|
|
319
|
+
this.name = "SprinklesError";
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
var format = (v) => typeof v === "string" ? "\"".concat(v, "\"") : v;
|
|
323
|
+
var invalidPropValue = (prop, value, possibleValues) => {
|
|
324
|
+
throw new SprinklesError("\"".concat(prop, "\" has no value ").concat(format(value), ". Possible values are ").concat(Object.keys(possibleValues).map(format).join(", ")));
|
|
325
|
+
};
|
|
326
|
+
if (!sprinkle) throw new SprinklesError("\"".concat(prop, "\" is not a valid sprinkle"));
|
|
327
|
+
if (typeof propValue === "string" || typeof propValue === "number") {
|
|
328
|
+
if (!(propValue in sprinkle.values)) invalidPropValue(prop, propValue, sprinkle.values);
|
|
329
|
+
if (!sprinkle.values[propValue].defaultClass) throw new SprinklesError("\"".concat(prop, "\" has no default condition. You must specify which conditions to target explicitly. Possible options are ").concat(Object.keys(sprinkle.values[propValue].conditions).map(format).join(", ")));
|
|
330
|
+
}
|
|
331
|
+
if (typeof propValue === "object") {
|
|
332
|
+
if (!("conditions" in sprinkle.values[Object.keys(sprinkle.values)[0]])) throw new SprinklesError("\"".concat(prop, "\" is not a conditional property"));
|
|
333
|
+
if (Array.isArray(propValue)) {
|
|
334
|
+
if (!("responsiveArray" in sprinkle)) throw new SprinklesError("\"".concat(prop, "\" does not support responsive arrays"));
|
|
335
|
+
var breakpointCount = sprinkle.responsiveArray.length;
|
|
336
|
+
if (breakpointCount < propValue.length) throw new SprinklesError("\"".concat(prop, "\" only supports up to ").concat(breakpointCount, " breakpoints. You passed ").concat(propValue.length));
|
|
337
|
+
for (var _responsiveValue of propValue) if (!sprinkle.values[_responsiveValue]) invalidPropValue(prop, _responsiveValue, sprinkle.values);
|
|
338
|
+
} else for (var _conditionName2 in propValue) {
|
|
339
|
+
var _value2 = propValue[_conditionName2];
|
|
340
|
+
if (_value2 != null) {
|
|
341
|
+
if (!sprinkle.values[_value2]) invalidPropValue(prop, _value2, sprinkle.values);
|
|
342
|
+
if (!sprinkle.values[_value2].conditions[_conditionName2]) throw new SprinklesError("\"".concat(prop, "\" has no condition named ").concat(format(_conditionName2), ". Possible values are ").concat(Object.keys(sprinkle.values[_value2].conditions).map(format).join(", ")));
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
throw e;
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
for (var prop in finalProps) if (_loop()) continue;
|
|
351
|
+
return composeStyles(classNames.join(" "));
|
|
352
|
+
};
|
|
353
|
+
return Object.assign(sprinklesFn, { properties: new Set(sprinklesKeys) });
|
|
354
|
+
};
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region ../../node_modules/.bun/@vanilla-extract+sprinkles@1.6.5+19e937df7e0b57ed/node_modules/@vanilla-extract/sprinkles/createRuntimeSprinkles/dist/vanilla-extract-sprinkles-createRuntimeSprinkles.esm.js
|
|
357
|
+
var composeStyles = (classList) => classList;
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region ../../packages/design-system/src/sprinkles.css.ts
|
|
360
|
+
var sprinkles = function createSprinkles() {
|
|
361
|
+
return createSprinkles$1(composeStyles)(...arguments);
|
|
362
|
+
}(function() {
|
|
363
|
+
var x = {
|
|
364
|
+
conditions: {
|
|
365
|
+
defaultCondition: "mobile",
|
|
366
|
+
conditionNames: [
|
|
367
|
+
"mobile",
|
|
368
|
+
"tablet",
|
|
369
|
+
"desktop"
|
|
370
|
+
],
|
|
371
|
+
responsiveArray: [
|
|
372
|
+
"mobile",
|
|
373
|
+
"tablet",
|
|
374
|
+
"desktop"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
styles: {
|
|
378
|
+
padding: { mappings: [
|
|
379
|
+
"paddingTop",
|
|
380
|
+
"paddingBottom",
|
|
381
|
+
"paddingLeft",
|
|
382
|
+
"paddingRight"
|
|
383
|
+
] },
|
|
384
|
+
paddingX: { mappings: ["paddingLeft", "paddingRight"] },
|
|
385
|
+
paddingY: { mappings: ["paddingTop", "paddingBottom"] },
|
|
386
|
+
marginX: { mappings: ["marginLeft", "marginRight"] },
|
|
387
|
+
marginY: { mappings: ["marginTop", "marginBottom"] },
|
|
388
|
+
display: {
|
|
389
|
+
values: {
|
|
390
|
+
none: {
|
|
391
|
+
conditions: {
|
|
392
|
+
mobile: "sprinkles_display_none_mobile__1iaw8zx0",
|
|
393
|
+
tablet: "sprinkles_display_none_tablet__1iaw8zx1",
|
|
394
|
+
desktop: "sprinkles_display_none_desktop__1iaw8zx2"
|
|
395
|
+
},
|
|
396
|
+
defaultClass: "sprinkles_display_none_mobile__1iaw8zx0"
|
|
397
|
+
},
|
|
398
|
+
flex: {
|
|
399
|
+
conditions: {
|
|
400
|
+
mobile: "sprinkles_display_flex_mobile__1iaw8zx3",
|
|
401
|
+
tablet: "sprinkles_display_flex_tablet__1iaw8zx4",
|
|
402
|
+
desktop: "sprinkles_display_flex_desktop__1iaw8zx5"
|
|
403
|
+
},
|
|
404
|
+
defaultClass: "sprinkles_display_flex_mobile__1iaw8zx3"
|
|
405
|
+
},
|
|
406
|
+
block: {
|
|
407
|
+
conditions: {
|
|
408
|
+
mobile: "sprinkles_display_block_mobile__1iaw8zx6",
|
|
409
|
+
tablet: "sprinkles_display_block_tablet__1iaw8zx7",
|
|
410
|
+
desktop: "sprinkles_display_block_desktop__1iaw8zx8"
|
|
411
|
+
},
|
|
412
|
+
defaultClass: "sprinkles_display_block_mobile__1iaw8zx6"
|
|
413
|
+
},
|
|
414
|
+
grid: {
|
|
415
|
+
conditions: {
|
|
416
|
+
mobile: "sprinkles_display_grid_mobile__1iaw8zx9",
|
|
417
|
+
tablet: "sprinkles_display_grid_tablet__1iaw8zxa",
|
|
418
|
+
desktop: "sprinkles_display_grid_desktop__1iaw8zxb"
|
|
419
|
+
},
|
|
420
|
+
defaultClass: "sprinkles_display_grid_mobile__1iaw8zx9"
|
|
421
|
+
},
|
|
422
|
+
"inline-flex": {
|
|
423
|
+
conditions: {
|
|
424
|
+
mobile: "sprinkles_display_inline-flex_mobile__1iaw8zxc",
|
|
425
|
+
tablet: "sprinkles_display_inline-flex_tablet__1iaw8zxd",
|
|
426
|
+
desktop: "sprinkles_display_inline-flex_desktop__1iaw8zxe"
|
|
427
|
+
},
|
|
428
|
+
defaultClass: "sprinkles_display_inline-flex_mobile__1iaw8zxc"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
responsiveArray: void 0
|
|
432
|
+
},
|
|
433
|
+
flexDirection: {
|
|
434
|
+
values: {
|
|
435
|
+
row: {
|
|
436
|
+
conditions: {
|
|
437
|
+
mobile: "sprinkles_flexDirection_row_mobile__1iaw8zxf",
|
|
438
|
+
tablet: "sprinkles_flexDirection_row_tablet__1iaw8zxg",
|
|
439
|
+
desktop: "sprinkles_flexDirection_row_desktop__1iaw8zxh"
|
|
440
|
+
},
|
|
441
|
+
defaultClass: "sprinkles_flexDirection_row_mobile__1iaw8zxf"
|
|
442
|
+
},
|
|
443
|
+
column: {
|
|
444
|
+
conditions: {
|
|
445
|
+
mobile: "sprinkles_flexDirection_column_mobile__1iaw8zxi",
|
|
446
|
+
tablet: "sprinkles_flexDirection_column_tablet__1iaw8zxj",
|
|
447
|
+
desktop: "sprinkles_flexDirection_column_desktop__1iaw8zxk"
|
|
448
|
+
},
|
|
449
|
+
defaultClass: "sprinkles_flexDirection_column_mobile__1iaw8zxi"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
responsiveArray: void 0
|
|
453
|
+
},
|
|
454
|
+
alignItems: {
|
|
455
|
+
values: {
|
|
456
|
+
stretch: {
|
|
457
|
+
conditions: {
|
|
458
|
+
mobile: "sprinkles_alignItems_stretch_mobile__1iaw8zxl",
|
|
459
|
+
tablet: "sprinkles_alignItems_stretch_tablet__1iaw8zxm",
|
|
460
|
+
desktop: "sprinkles_alignItems_stretch_desktop__1iaw8zxn"
|
|
461
|
+
},
|
|
462
|
+
defaultClass: "sprinkles_alignItems_stretch_mobile__1iaw8zxl"
|
|
463
|
+
},
|
|
464
|
+
"flex-start": {
|
|
465
|
+
conditions: {
|
|
466
|
+
mobile: "sprinkles_alignItems_flex-start_mobile__1iaw8zxo",
|
|
467
|
+
tablet: "sprinkles_alignItems_flex-start_tablet__1iaw8zxp",
|
|
468
|
+
desktop: "sprinkles_alignItems_flex-start_desktop__1iaw8zxq"
|
|
469
|
+
},
|
|
470
|
+
defaultClass: "sprinkles_alignItems_flex-start_mobile__1iaw8zxo"
|
|
471
|
+
},
|
|
472
|
+
center: {
|
|
473
|
+
conditions: {
|
|
474
|
+
mobile: "sprinkles_alignItems_center_mobile__1iaw8zxr",
|
|
475
|
+
tablet: "sprinkles_alignItems_center_tablet__1iaw8zxs",
|
|
476
|
+
desktop: "sprinkles_alignItems_center_desktop__1iaw8zxt"
|
|
477
|
+
},
|
|
478
|
+
defaultClass: "sprinkles_alignItems_center_mobile__1iaw8zxr"
|
|
479
|
+
},
|
|
480
|
+
"flex-end": {
|
|
481
|
+
conditions: {
|
|
482
|
+
mobile: "sprinkles_alignItems_flex-end_mobile__1iaw8zxu",
|
|
483
|
+
tablet: "sprinkles_alignItems_flex-end_tablet__1iaw8zxv",
|
|
484
|
+
desktop: "sprinkles_alignItems_flex-end_desktop__1iaw8zxw"
|
|
485
|
+
},
|
|
486
|
+
defaultClass: "sprinkles_alignItems_flex-end_mobile__1iaw8zxu"
|
|
487
|
+
},
|
|
488
|
+
baseline: {
|
|
489
|
+
conditions: {
|
|
490
|
+
mobile: "sprinkles_alignItems_baseline_mobile__1iaw8zxx",
|
|
491
|
+
tablet: "sprinkles_alignItems_baseline_tablet__1iaw8zxy",
|
|
492
|
+
desktop: "sprinkles_alignItems_baseline_desktop__1iaw8zxz"
|
|
493
|
+
},
|
|
494
|
+
defaultClass: "sprinkles_alignItems_baseline_mobile__1iaw8zxx"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
responsiveArray: void 0
|
|
498
|
+
},
|
|
499
|
+
justifyContent: {
|
|
500
|
+
values: {
|
|
501
|
+
stretch: {
|
|
502
|
+
conditions: {
|
|
503
|
+
mobile: "sprinkles_justifyContent_stretch_mobile__1iaw8zx10",
|
|
504
|
+
tablet: "sprinkles_justifyContent_stretch_tablet__1iaw8zx11",
|
|
505
|
+
desktop: "sprinkles_justifyContent_stretch_desktop__1iaw8zx12"
|
|
506
|
+
},
|
|
507
|
+
defaultClass: "sprinkles_justifyContent_stretch_mobile__1iaw8zx10"
|
|
508
|
+
},
|
|
509
|
+
"flex-start": {
|
|
510
|
+
conditions: {
|
|
511
|
+
mobile: "sprinkles_justifyContent_flex-start_mobile__1iaw8zx13",
|
|
512
|
+
tablet: "sprinkles_justifyContent_flex-start_tablet__1iaw8zx14",
|
|
513
|
+
desktop: "sprinkles_justifyContent_flex-start_desktop__1iaw8zx15"
|
|
514
|
+
},
|
|
515
|
+
defaultClass: "sprinkles_justifyContent_flex-start_mobile__1iaw8zx13"
|
|
516
|
+
},
|
|
517
|
+
center: {
|
|
518
|
+
conditions: {
|
|
519
|
+
mobile: "sprinkles_justifyContent_center_mobile__1iaw8zx16",
|
|
520
|
+
tablet: "sprinkles_justifyContent_center_tablet__1iaw8zx17",
|
|
521
|
+
desktop: "sprinkles_justifyContent_center_desktop__1iaw8zx18"
|
|
522
|
+
},
|
|
523
|
+
defaultClass: "sprinkles_justifyContent_center_mobile__1iaw8zx16"
|
|
524
|
+
},
|
|
525
|
+
"flex-end": {
|
|
526
|
+
conditions: {
|
|
527
|
+
mobile: "sprinkles_justifyContent_flex-end_mobile__1iaw8zx19",
|
|
528
|
+
tablet: "sprinkles_justifyContent_flex-end_tablet__1iaw8zx1a",
|
|
529
|
+
desktop: "sprinkles_justifyContent_flex-end_desktop__1iaw8zx1b"
|
|
530
|
+
},
|
|
531
|
+
defaultClass: "sprinkles_justifyContent_flex-end_mobile__1iaw8zx19"
|
|
532
|
+
},
|
|
533
|
+
"space-between": {
|
|
534
|
+
conditions: {
|
|
535
|
+
mobile: "sprinkles_justifyContent_space-between_mobile__1iaw8zx1c",
|
|
536
|
+
tablet: "sprinkles_justifyContent_space-between_tablet__1iaw8zx1d",
|
|
537
|
+
desktop: "sprinkles_justifyContent_space-between_desktop__1iaw8zx1e"
|
|
538
|
+
},
|
|
539
|
+
defaultClass: "sprinkles_justifyContent_space-between_mobile__1iaw8zx1c"
|
|
540
|
+
},
|
|
541
|
+
"space-around": {
|
|
542
|
+
conditions: {
|
|
543
|
+
mobile: "sprinkles_justifyContent_space-around_mobile__1iaw8zx1f",
|
|
544
|
+
tablet: "sprinkles_justifyContent_space-around_tablet__1iaw8zx1g",
|
|
545
|
+
desktop: "sprinkles_justifyContent_space-around_desktop__1iaw8zx1h"
|
|
546
|
+
},
|
|
547
|
+
defaultClass: "sprinkles_justifyContent_space-around_mobile__1iaw8zx1f"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
responsiveArray: void 0
|
|
551
|
+
},
|
|
552
|
+
flexWrap: {
|
|
553
|
+
values: {
|
|
554
|
+
nowrap: {
|
|
555
|
+
conditions: {
|
|
556
|
+
mobile: "sprinkles_flexWrap_nowrap_mobile__1iaw8zx1i",
|
|
557
|
+
tablet: "sprinkles_flexWrap_nowrap_tablet__1iaw8zx1j",
|
|
558
|
+
desktop: "sprinkles_flexWrap_nowrap_desktop__1iaw8zx1k"
|
|
559
|
+
},
|
|
560
|
+
defaultClass: "sprinkles_flexWrap_nowrap_mobile__1iaw8zx1i"
|
|
561
|
+
},
|
|
562
|
+
wrap: {
|
|
563
|
+
conditions: {
|
|
564
|
+
mobile: "sprinkles_flexWrap_wrap_mobile__1iaw8zx1l",
|
|
565
|
+
tablet: "sprinkles_flexWrap_wrap_tablet__1iaw8zx1m",
|
|
566
|
+
desktop: "sprinkles_flexWrap_wrap_desktop__1iaw8zx1n"
|
|
567
|
+
},
|
|
568
|
+
defaultClass: "sprinkles_flexWrap_wrap_mobile__1iaw8zx1l"
|
|
569
|
+
},
|
|
570
|
+
"wrap-reverse": {
|
|
571
|
+
conditions: {
|
|
572
|
+
mobile: "sprinkles_flexWrap_wrap-reverse_mobile__1iaw8zx1o",
|
|
573
|
+
tablet: "sprinkles_flexWrap_wrap-reverse_tablet__1iaw8zx1p",
|
|
574
|
+
desktop: "sprinkles_flexWrap_wrap-reverse_desktop__1iaw8zx1q"
|
|
575
|
+
},
|
|
576
|
+
defaultClass: "sprinkles_flexWrap_wrap-reverse_mobile__1iaw8zx1o"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
responsiveArray: void 0
|
|
580
|
+
},
|
|
581
|
+
gap: {
|
|
582
|
+
values: {
|
|
583
|
+
none: {
|
|
584
|
+
conditions: {
|
|
585
|
+
mobile: "sprinkles_gap_none_mobile__1iaw8zx1r",
|
|
586
|
+
tablet: "sprinkles_gap_none_tablet__1iaw8zx1s",
|
|
587
|
+
desktop: "sprinkles_gap_none_desktop__1iaw8zx1t"
|
|
588
|
+
},
|
|
589
|
+
defaultClass: "sprinkles_gap_none_mobile__1iaw8zx1r"
|
|
590
|
+
},
|
|
591
|
+
xxs: {
|
|
592
|
+
conditions: {
|
|
593
|
+
mobile: "sprinkles_gap_xxs_mobile__1iaw8zx1u",
|
|
594
|
+
tablet: "sprinkles_gap_xxs_tablet__1iaw8zx1v",
|
|
595
|
+
desktop: "sprinkles_gap_xxs_desktop__1iaw8zx1w"
|
|
596
|
+
},
|
|
597
|
+
defaultClass: "sprinkles_gap_xxs_mobile__1iaw8zx1u"
|
|
598
|
+
},
|
|
599
|
+
xs: {
|
|
600
|
+
conditions: {
|
|
601
|
+
mobile: "sprinkles_gap_xs_mobile__1iaw8zx1x",
|
|
602
|
+
tablet: "sprinkles_gap_xs_tablet__1iaw8zx1y",
|
|
603
|
+
desktop: "sprinkles_gap_xs_desktop__1iaw8zx1z"
|
|
604
|
+
},
|
|
605
|
+
defaultClass: "sprinkles_gap_xs_mobile__1iaw8zx1x"
|
|
606
|
+
},
|
|
607
|
+
s: {
|
|
608
|
+
conditions: {
|
|
609
|
+
mobile: "sprinkles_gap_s_mobile__1iaw8zx20",
|
|
610
|
+
tablet: "sprinkles_gap_s_tablet__1iaw8zx21",
|
|
611
|
+
desktop: "sprinkles_gap_s_desktop__1iaw8zx22"
|
|
612
|
+
},
|
|
613
|
+
defaultClass: "sprinkles_gap_s_mobile__1iaw8zx20"
|
|
614
|
+
},
|
|
615
|
+
m: {
|
|
616
|
+
conditions: {
|
|
617
|
+
mobile: "sprinkles_gap_m_mobile__1iaw8zx23",
|
|
618
|
+
tablet: "sprinkles_gap_m_tablet__1iaw8zx24",
|
|
619
|
+
desktop: "sprinkles_gap_m_desktop__1iaw8zx25"
|
|
620
|
+
},
|
|
621
|
+
defaultClass: "sprinkles_gap_m_mobile__1iaw8zx23"
|
|
622
|
+
},
|
|
623
|
+
l: {
|
|
624
|
+
conditions: {
|
|
625
|
+
mobile: "sprinkles_gap_l_mobile__1iaw8zx26",
|
|
626
|
+
tablet: "sprinkles_gap_l_tablet__1iaw8zx27",
|
|
627
|
+
desktop: "sprinkles_gap_l_desktop__1iaw8zx28"
|
|
628
|
+
},
|
|
629
|
+
defaultClass: "sprinkles_gap_l_mobile__1iaw8zx26"
|
|
630
|
+
},
|
|
631
|
+
xl: {
|
|
632
|
+
conditions: {
|
|
633
|
+
mobile: "sprinkles_gap_xl_mobile__1iaw8zx29",
|
|
634
|
+
tablet: "sprinkles_gap_xl_tablet__1iaw8zx2a",
|
|
635
|
+
desktop: "sprinkles_gap_xl_desktop__1iaw8zx2b"
|
|
636
|
+
},
|
|
637
|
+
defaultClass: "sprinkles_gap_xl_mobile__1iaw8zx29"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
responsiveArray: void 0
|
|
641
|
+
},
|
|
642
|
+
paddingTop: {
|
|
643
|
+
values: {
|
|
644
|
+
none: {
|
|
645
|
+
conditions: {
|
|
646
|
+
mobile: "sprinkles_paddingTop_none_mobile__1iaw8zx2c",
|
|
647
|
+
tablet: "sprinkles_paddingTop_none_tablet__1iaw8zx2d",
|
|
648
|
+
desktop: "sprinkles_paddingTop_none_desktop__1iaw8zx2e"
|
|
649
|
+
},
|
|
650
|
+
defaultClass: "sprinkles_paddingTop_none_mobile__1iaw8zx2c"
|
|
651
|
+
},
|
|
652
|
+
xxs: {
|
|
653
|
+
conditions: {
|
|
654
|
+
mobile: "sprinkles_paddingTop_xxs_mobile__1iaw8zx2f",
|
|
655
|
+
tablet: "sprinkles_paddingTop_xxs_tablet__1iaw8zx2g",
|
|
656
|
+
desktop: "sprinkles_paddingTop_xxs_desktop__1iaw8zx2h"
|
|
657
|
+
},
|
|
658
|
+
defaultClass: "sprinkles_paddingTop_xxs_mobile__1iaw8zx2f"
|
|
659
|
+
},
|
|
660
|
+
xs: {
|
|
661
|
+
conditions: {
|
|
662
|
+
mobile: "sprinkles_paddingTop_xs_mobile__1iaw8zx2i",
|
|
663
|
+
tablet: "sprinkles_paddingTop_xs_tablet__1iaw8zx2j",
|
|
664
|
+
desktop: "sprinkles_paddingTop_xs_desktop__1iaw8zx2k"
|
|
665
|
+
},
|
|
666
|
+
defaultClass: "sprinkles_paddingTop_xs_mobile__1iaw8zx2i"
|
|
667
|
+
},
|
|
668
|
+
s: {
|
|
669
|
+
conditions: {
|
|
670
|
+
mobile: "sprinkles_paddingTop_s_mobile__1iaw8zx2l",
|
|
671
|
+
tablet: "sprinkles_paddingTop_s_tablet__1iaw8zx2m",
|
|
672
|
+
desktop: "sprinkles_paddingTop_s_desktop__1iaw8zx2n"
|
|
673
|
+
},
|
|
674
|
+
defaultClass: "sprinkles_paddingTop_s_mobile__1iaw8zx2l"
|
|
675
|
+
},
|
|
676
|
+
m: {
|
|
677
|
+
conditions: {
|
|
678
|
+
mobile: "sprinkles_paddingTop_m_mobile__1iaw8zx2o",
|
|
679
|
+
tablet: "sprinkles_paddingTop_m_tablet__1iaw8zx2p",
|
|
680
|
+
desktop: "sprinkles_paddingTop_m_desktop__1iaw8zx2q"
|
|
681
|
+
},
|
|
682
|
+
defaultClass: "sprinkles_paddingTop_m_mobile__1iaw8zx2o"
|
|
683
|
+
},
|
|
684
|
+
l: {
|
|
685
|
+
conditions: {
|
|
686
|
+
mobile: "sprinkles_paddingTop_l_mobile__1iaw8zx2r",
|
|
687
|
+
tablet: "sprinkles_paddingTop_l_tablet__1iaw8zx2s",
|
|
688
|
+
desktop: "sprinkles_paddingTop_l_desktop__1iaw8zx2t"
|
|
689
|
+
},
|
|
690
|
+
defaultClass: "sprinkles_paddingTop_l_mobile__1iaw8zx2r"
|
|
691
|
+
},
|
|
692
|
+
xl: {
|
|
693
|
+
conditions: {
|
|
694
|
+
mobile: "sprinkles_paddingTop_xl_mobile__1iaw8zx2u",
|
|
695
|
+
tablet: "sprinkles_paddingTop_xl_tablet__1iaw8zx2v",
|
|
696
|
+
desktop: "sprinkles_paddingTop_xl_desktop__1iaw8zx2w"
|
|
697
|
+
},
|
|
698
|
+
defaultClass: "sprinkles_paddingTop_xl_mobile__1iaw8zx2u"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
responsiveArray: void 0
|
|
702
|
+
},
|
|
703
|
+
paddingBottom: {
|
|
704
|
+
values: {
|
|
705
|
+
none: {
|
|
706
|
+
conditions: {
|
|
707
|
+
mobile: "sprinkles_paddingBottom_none_mobile__1iaw8zx2x",
|
|
708
|
+
tablet: "sprinkles_paddingBottom_none_tablet__1iaw8zx2y",
|
|
709
|
+
desktop: "sprinkles_paddingBottom_none_desktop__1iaw8zx2z"
|
|
710
|
+
},
|
|
711
|
+
defaultClass: "sprinkles_paddingBottom_none_mobile__1iaw8zx2x"
|
|
712
|
+
},
|
|
713
|
+
xxs: {
|
|
714
|
+
conditions: {
|
|
715
|
+
mobile: "sprinkles_paddingBottom_xxs_mobile__1iaw8zx30",
|
|
716
|
+
tablet: "sprinkles_paddingBottom_xxs_tablet__1iaw8zx31",
|
|
717
|
+
desktop: "sprinkles_paddingBottom_xxs_desktop__1iaw8zx32"
|
|
718
|
+
},
|
|
719
|
+
defaultClass: "sprinkles_paddingBottom_xxs_mobile__1iaw8zx30"
|
|
720
|
+
},
|
|
721
|
+
xs: {
|
|
722
|
+
conditions: {
|
|
723
|
+
mobile: "sprinkles_paddingBottom_xs_mobile__1iaw8zx33",
|
|
724
|
+
tablet: "sprinkles_paddingBottom_xs_tablet__1iaw8zx34",
|
|
725
|
+
desktop: "sprinkles_paddingBottom_xs_desktop__1iaw8zx35"
|
|
726
|
+
},
|
|
727
|
+
defaultClass: "sprinkles_paddingBottom_xs_mobile__1iaw8zx33"
|
|
728
|
+
},
|
|
729
|
+
s: {
|
|
730
|
+
conditions: {
|
|
731
|
+
mobile: "sprinkles_paddingBottom_s_mobile__1iaw8zx36",
|
|
732
|
+
tablet: "sprinkles_paddingBottom_s_tablet__1iaw8zx37",
|
|
733
|
+
desktop: "sprinkles_paddingBottom_s_desktop__1iaw8zx38"
|
|
734
|
+
},
|
|
735
|
+
defaultClass: "sprinkles_paddingBottom_s_mobile__1iaw8zx36"
|
|
736
|
+
},
|
|
737
|
+
m: {
|
|
738
|
+
conditions: {
|
|
739
|
+
mobile: "sprinkles_paddingBottom_m_mobile__1iaw8zx39",
|
|
740
|
+
tablet: "sprinkles_paddingBottom_m_tablet__1iaw8zx3a",
|
|
741
|
+
desktop: "sprinkles_paddingBottom_m_desktop__1iaw8zx3b"
|
|
742
|
+
},
|
|
743
|
+
defaultClass: "sprinkles_paddingBottom_m_mobile__1iaw8zx39"
|
|
744
|
+
},
|
|
745
|
+
l: {
|
|
746
|
+
conditions: {
|
|
747
|
+
mobile: "sprinkles_paddingBottom_l_mobile__1iaw8zx3c",
|
|
748
|
+
tablet: "sprinkles_paddingBottom_l_tablet__1iaw8zx3d",
|
|
749
|
+
desktop: "sprinkles_paddingBottom_l_desktop__1iaw8zx3e"
|
|
750
|
+
},
|
|
751
|
+
defaultClass: "sprinkles_paddingBottom_l_mobile__1iaw8zx3c"
|
|
752
|
+
},
|
|
753
|
+
xl: {
|
|
754
|
+
conditions: {
|
|
755
|
+
mobile: "sprinkles_paddingBottom_xl_mobile__1iaw8zx3f",
|
|
756
|
+
tablet: "sprinkles_paddingBottom_xl_tablet__1iaw8zx3g",
|
|
757
|
+
desktop: "sprinkles_paddingBottom_xl_desktop__1iaw8zx3h"
|
|
758
|
+
},
|
|
759
|
+
defaultClass: "sprinkles_paddingBottom_xl_mobile__1iaw8zx3f"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
responsiveArray: void 0
|
|
763
|
+
},
|
|
764
|
+
paddingLeft: {
|
|
765
|
+
values: {
|
|
766
|
+
none: {
|
|
767
|
+
conditions: {
|
|
768
|
+
mobile: "sprinkles_paddingLeft_none_mobile__1iaw8zx3i",
|
|
769
|
+
tablet: "sprinkles_paddingLeft_none_tablet__1iaw8zx3j",
|
|
770
|
+
desktop: "sprinkles_paddingLeft_none_desktop__1iaw8zx3k"
|
|
771
|
+
},
|
|
772
|
+
defaultClass: "sprinkles_paddingLeft_none_mobile__1iaw8zx3i"
|
|
773
|
+
},
|
|
774
|
+
xxs: {
|
|
775
|
+
conditions: {
|
|
776
|
+
mobile: "sprinkles_paddingLeft_xxs_mobile__1iaw8zx3l",
|
|
777
|
+
tablet: "sprinkles_paddingLeft_xxs_tablet__1iaw8zx3m",
|
|
778
|
+
desktop: "sprinkles_paddingLeft_xxs_desktop__1iaw8zx3n"
|
|
779
|
+
},
|
|
780
|
+
defaultClass: "sprinkles_paddingLeft_xxs_mobile__1iaw8zx3l"
|
|
781
|
+
},
|
|
782
|
+
xs: {
|
|
783
|
+
conditions: {
|
|
784
|
+
mobile: "sprinkles_paddingLeft_xs_mobile__1iaw8zx3o",
|
|
785
|
+
tablet: "sprinkles_paddingLeft_xs_tablet__1iaw8zx3p",
|
|
786
|
+
desktop: "sprinkles_paddingLeft_xs_desktop__1iaw8zx3q"
|
|
787
|
+
},
|
|
788
|
+
defaultClass: "sprinkles_paddingLeft_xs_mobile__1iaw8zx3o"
|
|
789
|
+
},
|
|
790
|
+
s: {
|
|
791
|
+
conditions: {
|
|
792
|
+
mobile: "sprinkles_paddingLeft_s_mobile__1iaw8zx3r",
|
|
793
|
+
tablet: "sprinkles_paddingLeft_s_tablet__1iaw8zx3s",
|
|
794
|
+
desktop: "sprinkles_paddingLeft_s_desktop__1iaw8zx3t"
|
|
795
|
+
},
|
|
796
|
+
defaultClass: "sprinkles_paddingLeft_s_mobile__1iaw8zx3r"
|
|
797
|
+
},
|
|
798
|
+
m: {
|
|
799
|
+
conditions: {
|
|
800
|
+
mobile: "sprinkles_paddingLeft_m_mobile__1iaw8zx3u",
|
|
801
|
+
tablet: "sprinkles_paddingLeft_m_tablet__1iaw8zx3v",
|
|
802
|
+
desktop: "sprinkles_paddingLeft_m_desktop__1iaw8zx3w"
|
|
803
|
+
},
|
|
804
|
+
defaultClass: "sprinkles_paddingLeft_m_mobile__1iaw8zx3u"
|
|
805
|
+
},
|
|
806
|
+
l: {
|
|
807
|
+
conditions: {
|
|
808
|
+
mobile: "sprinkles_paddingLeft_l_mobile__1iaw8zx3x",
|
|
809
|
+
tablet: "sprinkles_paddingLeft_l_tablet__1iaw8zx3y",
|
|
810
|
+
desktop: "sprinkles_paddingLeft_l_desktop__1iaw8zx3z"
|
|
811
|
+
},
|
|
812
|
+
defaultClass: "sprinkles_paddingLeft_l_mobile__1iaw8zx3x"
|
|
813
|
+
},
|
|
814
|
+
xl: {
|
|
815
|
+
conditions: {
|
|
816
|
+
mobile: "sprinkles_paddingLeft_xl_mobile__1iaw8zx40",
|
|
817
|
+
tablet: "sprinkles_paddingLeft_xl_tablet__1iaw8zx41",
|
|
818
|
+
desktop: "sprinkles_paddingLeft_xl_desktop__1iaw8zx42"
|
|
819
|
+
},
|
|
820
|
+
defaultClass: "sprinkles_paddingLeft_xl_mobile__1iaw8zx40"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
responsiveArray: void 0
|
|
824
|
+
},
|
|
825
|
+
paddingRight: {
|
|
826
|
+
values: {
|
|
827
|
+
none: {
|
|
828
|
+
conditions: {
|
|
829
|
+
mobile: "sprinkles_paddingRight_none_mobile__1iaw8zx43",
|
|
830
|
+
tablet: "sprinkles_paddingRight_none_tablet__1iaw8zx44",
|
|
831
|
+
desktop: "sprinkles_paddingRight_none_desktop__1iaw8zx45"
|
|
832
|
+
},
|
|
833
|
+
defaultClass: "sprinkles_paddingRight_none_mobile__1iaw8zx43"
|
|
834
|
+
},
|
|
835
|
+
xxs: {
|
|
836
|
+
conditions: {
|
|
837
|
+
mobile: "sprinkles_paddingRight_xxs_mobile__1iaw8zx46",
|
|
838
|
+
tablet: "sprinkles_paddingRight_xxs_tablet__1iaw8zx47",
|
|
839
|
+
desktop: "sprinkles_paddingRight_xxs_desktop__1iaw8zx48"
|
|
840
|
+
},
|
|
841
|
+
defaultClass: "sprinkles_paddingRight_xxs_mobile__1iaw8zx46"
|
|
842
|
+
},
|
|
843
|
+
xs: {
|
|
844
|
+
conditions: {
|
|
845
|
+
mobile: "sprinkles_paddingRight_xs_mobile__1iaw8zx49",
|
|
846
|
+
tablet: "sprinkles_paddingRight_xs_tablet__1iaw8zx4a",
|
|
847
|
+
desktop: "sprinkles_paddingRight_xs_desktop__1iaw8zx4b"
|
|
848
|
+
},
|
|
849
|
+
defaultClass: "sprinkles_paddingRight_xs_mobile__1iaw8zx49"
|
|
850
|
+
},
|
|
851
|
+
s: {
|
|
852
|
+
conditions: {
|
|
853
|
+
mobile: "sprinkles_paddingRight_s_mobile__1iaw8zx4c",
|
|
854
|
+
tablet: "sprinkles_paddingRight_s_tablet__1iaw8zx4d",
|
|
855
|
+
desktop: "sprinkles_paddingRight_s_desktop__1iaw8zx4e"
|
|
856
|
+
},
|
|
857
|
+
defaultClass: "sprinkles_paddingRight_s_mobile__1iaw8zx4c"
|
|
858
|
+
},
|
|
859
|
+
m: {
|
|
860
|
+
conditions: {
|
|
861
|
+
mobile: "sprinkles_paddingRight_m_mobile__1iaw8zx4f",
|
|
862
|
+
tablet: "sprinkles_paddingRight_m_tablet__1iaw8zx4g",
|
|
863
|
+
desktop: "sprinkles_paddingRight_m_desktop__1iaw8zx4h"
|
|
864
|
+
},
|
|
865
|
+
defaultClass: "sprinkles_paddingRight_m_mobile__1iaw8zx4f"
|
|
866
|
+
},
|
|
867
|
+
l: {
|
|
868
|
+
conditions: {
|
|
869
|
+
mobile: "sprinkles_paddingRight_l_mobile__1iaw8zx4i",
|
|
870
|
+
tablet: "sprinkles_paddingRight_l_tablet__1iaw8zx4j",
|
|
871
|
+
desktop: "sprinkles_paddingRight_l_desktop__1iaw8zx4k"
|
|
872
|
+
},
|
|
873
|
+
defaultClass: "sprinkles_paddingRight_l_mobile__1iaw8zx4i"
|
|
874
|
+
},
|
|
875
|
+
xl: {
|
|
876
|
+
conditions: {
|
|
877
|
+
mobile: "sprinkles_paddingRight_xl_mobile__1iaw8zx4l",
|
|
878
|
+
tablet: "sprinkles_paddingRight_xl_tablet__1iaw8zx4m",
|
|
879
|
+
desktop: "sprinkles_paddingRight_xl_desktop__1iaw8zx4n"
|
|
880
|
+
},
|
|
881
|
+
defaultClass: "sprinkles_paddingRight_xl_mobile__1iaw8zx4l"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
responsiveArray: void 0
|
|
885
|
+
},
|
|
886
|
+
marginTop: {
|
|
887
|
+
values: {
|
|
888
|
+
none: {
|
|
889
|
+
conditions: {
|
|
890
|
+
mobile: "sprinkles_marginTop_none_mobile__1iaw8zx4o",
|
|
891
|
+
tablet: "sprinkles_marginTop_none_tablet__1iaw8zx4p",
|
|
892
|
+
desktop: "sprinkles_marginTop_none_desktop__1iaw8zx4q"
|
|
893
|
+
},
|
|
894
|
+
defaultClass: "sprinkles_marginTop_none_mobile__1iaw8zx4o"
|
|
895
|
+
},
|
|
896
|
+
xxs: {
|
|
897
|
+
conditions: {
|
|
898
|
+
mobile: "sprinkles_marginTop_xxs_mobile__1iaw8zx4r",
|
|
899
|
+
tablet: "sprinkles_marginTop_xxs_tablet__1iaw8zx4s",
|
|
900
|
+
desktop: "sprinkles_marginTop_xxs_desktop__1iaw8zx4t"
|
|
901
|
+
},
|
|
902
|
+
defaultClass: "sprinkles_marginTop_xxs_mobile__1iaw8zx4r"
|
|
903
|
+
},
|
|
904
|
+
xs: {
|
|
905
|
+
conditions: {
|
|
906
|
+
mobile: "sprinkles_marginTop_xs_mobile__1iaw8zx4u",
|
|
907
|
+
tablet: "sprinkles_marginTop_xs_tablet__1iaw8zx4v",
|
|
908
|
+
desktop: "sprinkles_marginTop_xs_desktop__1iaw8zx4w"
|
|
909
|
+
},
|
|
910
|
+
defaultClass: "sprinkles_marginTop_xs_mobile__1iaw8zx4u"
|
|
911
|
+
},
|
|
912
|
+
s: {
|
|
913
|
+
conditions: {
|
|
914
|
+
mobile: "sprinkles_marginTop_s_mobile__1iaw8zx4x",
|
|
915
|
+
tablet: "sprinkles_marginTop_s_tablet__1iaw8zx4y",
|
|
916
|
+
desktop: "sprinkles_marginTop_s_desktop__1iaw8zx4z"
|
|
917
|
+
},
|
|
918
|
+
defaultClass: "sprinkles_marginTop_s_mobile__1iaw8zx4x"
|
|
919
|
+
},
|
|
920
|
+
m: {
|
|
921
|
+
conditions: {
|
|
922
|
+
mobile: "sprinkles_marginTop_m_mobile__1iaw8zx50",
|
|
923
|
+
tablet: "sprinkles_marginTop_m_tablet__1iaw8zx51",
|
|
924
|
+
desktop: "sprinkles_marginTop_m_desktop__1iaw8zx52"
|
|
925
|
+
},
|
|
926
|
+
defaultClass: "sprinkles_marginTop_m_mobile__1iaw8zx50"
|
|
927
|
+
},
|
|
928
|
+
l: {
|
|
929
|
+
conditions: {
|
|
930
|
+
mobile: "sprinkles_marginTop_l_mobile__1iaw8zx53",
|
|
931
|
+
tablet: "sprinkles_marginTop_l_tablet__1iaw8zx54",
|
|
932
|
+
desktop: "sprinkles_marginTop_l_desktop__1iaw8zx55"
|
|
933
|
+
},
|
|
934
|
+
defaultClass: "sprinkles_marginTop_l_mobile__1iaw8zx53"
|
|
935
|
+
},
|
|
936
|
+
xl: {
|
|
937
|
+
conditions: {
|
|
938
|
+
mobile: "sprinkles_marginTop_xl_mobile__1iaw8zx56",
|
|
939
|
+
tablet: "sprinkles_marginTop_xl_tablet__1iaw8zx57",
|
|
940
|
+
desktop: "sprinkles_marginTop_xl_desktop__1iaw8zx58"
|
|
941
|
+
},
|
|
942
|
+
defaultClass: "sprinkles_marginTop_xl_mobile__1iaw8zx56"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
responsiveArray: void 0
|
|
946
|
+
},
|
|
947
|
+
marginBottom: {
|
|
948
|
+
values: {
|
|
949
|
+
none: {
|
|
950
|
+
conditions: {
|
|
951
|
+
mobile: "sprinkles_marginBottom_none_mobile__1iaw8zx59",
|
|
952
|
+
tablet: "sprinkles_marginBottom_none_tablet__1iaw8zx5a",
|
|
953
|
+
desktop: "sprinkles_marginBottom_none_desktop__1iaw8zx5b"
|
|
954
|
+
},
|
|
955
|
+
defaultClass: "sprinkles_marginBottom_none_mobile__1iaw8zx59"
|
|
956
|
+
},
|
|
957
|
+
xxs: {
|
|
958
|
+
conditions: {
|
|
959
|
+
mobile: "sprinkles_marginBottom_xxs_mobile__1iaw8zx5c",
|
|
960
|
+
tablet: "sprinkles_marginBottom_xxs_tablet__1iaw8zx5d",
|
|
961
|
+
desktop: "sprinkles_marginBottom_xxs_desktop__1iaw8zx5e"
|
|
962
|
+
},
|
|
963
|
+
defaultClass: "sprinkles_marginBottom_xxs_mobile__1iaw8zx5c"
|
|
964
|
+
},
|
|
965
|
+
xs: {
|
|
966
|
+
conditions: {
|
|
967
|
+
mobile: "sprinkles_marginBottom_xs_mobile__1iaw8zx5f",
|
|
968
|
+
tablet: "sprinkles_marginBottom_xs_tablet__1iaw8zx5g",
|
|
969
|
+
desktop: "sprinkles_marginBottom_xs_desktop__1iaw8zx5h"
|
|
970
|
+
},
|
|
971
|
+
defaultClass: "sprinkles_marginBottom_xs_mobile__1iaw8zx5f"
|
|
972
|
+
},
|
|
973
|
+
s: {
|
|
974
|
+
conditions: {
|
|
975
|
+
mobile: "sprinkles_marginBottom_s_mobile__1iaw8zx5i",
|
|
976
|
+
tablet: "sprinkles_marginBottom_s_tablet__1iaw8zx5j",
|
|
977
|
+
desktop: "sprinkles_marginBottom_s_desktop__1iaw8zx5k"
|
|
978
|
+
},
|
|
979
|
+
defaultClass: "sprinkles_marginBottom_s_mobile__1iaw8zx5i"
|
|
980
|
+
},
|
|
981
|
+
m: {
|
|
982
|
+
conditions: {
|
|
983
|
+
mobile: "sprinkles_marginBottom_m_mobile__1iaw8zx5l",
|
|
984
|
+
tablet: "sprinkles_marginBottom_m_tablet__1iaw8zx5m",
|
|
985
|
+
desktop: "sprinkles_marginBottom_m_desktop__1iaw8zx5n"
|
|
986
|
+
},
|
|
987
|
+
defaultClass: "sprinkles_marginBottom_m_mobile__1iaw8zx5l"
|
|
988
|
+
},
|
|
989
|
+
l: {
|
|
990
|
+
conditions: {
|
|
991
|
+
mobile: "sprinkles_marginBottom_l_mobile__1iaw8zx5o",
|
|
992
|
+
tablet: "sprinkles_marginBottom_l_tablet__1iaw8zx5p",
|
|
993
|
+
desktop: "sprinkles_marginBottom_l_desktop__1iaw8zx5q"
|
|
994
|
+
},
|
|
995
|
+
defaultClass: "sprinkles_marginBottom_l_mobile__1iaw8zx5o"
|
|
996
|
+
},
|
|
997
|
+
xl: {
|
|
998
|
+
conditions: {
|
|
999
|
+
mobile: "sprinkles_marginBottom_xl_mobile__1iaw8zx5r",
|
|
1000
|
+
tablet: "sprinkles_marginBottom_xl_tablet__1iaw8zx5s",
|
|
1001
|
+
desktop: "sprinkles_marginBottom_xl_desktop__1iaw8zx5t"
|
|
1002
|
+
},
|
|
1003
|
+
defaultClass: "sprinkles_marginBottom_xl_mobile__1iaw8zx5r"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
responsiveArray: void 0
|
|
1007
|
+
},
|
|
1008
|
+
marginLeft: {
|
|
1009
|
+
values: {
|
|
1010
|
+
none: {
|
|
1011
|
+
conditions: {
|
|
1012
|
+
mobile: "sprinkles_marginLeft_none_mobile__1iaw8zx5u",
|
|
1013
|
+
tablet: "sprinkles_marginLeft_none_tablet__1iaw8zx5v",
|
|
1014
|
+
desktop: "sprinkles_marginLeft_none_desktop__1iaw8zx5w"
|
|
1015
|
+
},
|
|
1016
|
+
defaultClass: "sprinkles_marginLeft_none_mobile__1iaw8zx5u"
|
|
1017
|
+
},
|
|
1018
|
+
xxs: {
|
|
1019
|
+
conditions: {
|
|
1020
|
+
mobile: "sprinkles_marginLeft_xxs_mobile__1iaw8zx5x",
|
|
1021
|
+
tablet: "sprinkles_marginLeft_xxs_tablet__1iaw8zx5y",
|
|
1022
|
+
desktop: "sprinkles_marginLeft_xxs_desktop__1iaw8zx5z"
|
|
1023
|
+
},
|
|
1024
|
+
defaultClass: "sprinkles_marginLeft_xxs_mobile__1iaw8zx5x"
|
|
1025
|
+
},
|
|
1026
|
+
xs: {
|
|
1027
|
+
conditions: {
|
|
1028
|
+
mobile: "sprinkles_marginLeft_xs_mobile__1iaw8zx60",
|
|
1029
|
+
tablet: "sprinkles_marginLeft_xs_tablet__1iaw8zx61",
|
|
1030
|
+
desktop: "sprinkles_marginLeft_xs_desktop__1iaw8zx62"
|
|
1031
|
+
},
|
|
1032
|
+
defaultClass: "sprinkles_marginLeft_xs_mobile__1iaw8zx60"
|
|
1033
|
+
},
|
|
1034
|
+
s: {
|
|
1035
|
+
conditions: {
|
|
1036
|
+
mobile: "sprinkles_marginLeft_s_mobile__1iaw8zx63",
|
|
1037
|
+
tablet: "sprinkles_marginLeft_s_tablet__1iaw8zx64",
|
|
1038
|
+
desktop: "sprinkles_marginLeft_s_desktop__1iaw8zx65"
|
|
1039
|
+
},
|
|
1040
|
+
defaultClass: "sprinkles_marginLeft_s_mobile__1iaw8zx63"
|
|
1041
|
+
},
|
|
1042
|
+
m: {
|
|
1043
|
+
conditions: {
|
|
1044
|
+
mobile: "sprinkles_marginLeft_m_mobile__1iaw8zx66",
|
|
1045
|
+
tablet: "sprinkles_marginLeft_m_tablet__1iaw8zx67",
|
|
1046
|
+
desktop: "sprinkles_marginLeft_m_desktop__1iaw8zx68"
|
|
1047
|
+
},
|
|
1048
|
+
defaultClass: "sprinkles_marginLeft_m_mobile__1iaw8zx66"
|
|
1049
|
+
},
|
|
1050
|
+
l: {
|
|
1051
|
+
conditions: {
|
|
1052
|
+
mobile: "sprinkles_marginLeft_l_mobile__1iaw8zx69",
|
|
1053
|
+
tablet: "sprinkles_marginLeft_l_tablet__1iaw8zx6a",
|
|
1054
|
+
desktop: "sprinkles_marginLeft_l_desktop__1iaw8zx6b"
|
|
1055
|
+
},
|
|
1056
|
+
defaultClass: "sprinkles_marginLeft_l_mobile__1iaw8zx69"
|
|
1057
|
+
},
|
|
1058
|
+
xl: {
|
|
1059
|
+
conditions: {
|
|
1060
|
+
mobile: "sprinkles_marginLeft_xl_mobile__1iaw8zx6c",
|
|
1061
|
+
tablet: "sprinkles_marginLeft_xl_tablet__1iaw8zx6d",
|
|
1062
|
+
desktop: "sprinkles_marginLeft_xl_desktop__1iaw8zx6e"
|
|
1063
|
+
},
|
|
1064
|
+
defaultClass: "sprinkles_marginLeft_xl_mobile__1iaw8zx6c"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
responsiveArray: void 0
|
|
1068
|
+
},
|
|
1069
|
+
marginRight: {
|
|
1070
|
+
values: {
|
|
1071
|
+
none: {
|
|
1072
|
+
conditions: {
|
|
1073
|
+
mobile: "sprinkles_marginRight_none_mobile__1iaw8zx6f",
|
|
1074
|
+
tablet: "sprinkles_marginRight_none_tablet__1iaw8zx6g",
|
|
1075
|
+
desktop: "sprinkles_marginRight_none_desktop__1iaw8zx6h"
|
|
1076
|
+
},
|
|
1077
|
+
defaultClass: "sprinkles_marginRight_none_mobile__1iaw8zx6f"
|
|
1078
|
+
},
|
|
1079
|
+
xxs: {
|
|
1080
|
+
conditions: {
|
|
1081
|
+
mobile: "sprinkles_marginRight_xxs_mobile__1iaw8zx6i",
|
|
1082
|
+
tablet: "sprinkles_marginRight_xxs_tablet__1iaw8zx6j",
|
|
1083
|
+
desktop: "sprinkles_marginRight_xxs_desktop__1iaw8zx6k"
|
|
1084
|
+
},
|
|
1085
|
+
defaultClass: "sprinkles_marginRight_xxs_mobile__1iaw8zx6i"
|
|
1086
|
+
},
|
|
1087
|
+
xs: {
|
|
1088
|
+
conditions: {
|
|
1089
|
+
mobile: "sprinkles_marginRight_xs_mobile__1iaw8zx6l",
|
|
1090
|
+
tablet: "sprinkles_marginRight_xs_tablet__1iaw8zx6m",
|
|
1091
|
+
desktop: "sprinkles_marginRight_xs_desktop__1iaw8zx6n"
|
|
1092
|
+
},
|
|
1093
|
+
defaultClass: "sprinkles_marginRight_xs_mobile__1iaw8zx6l"
|
|
1094
|
+
},
|
|
1095
|
+
s: {
|
|
1096
|
+
conditions: {
|
|
1097
|
+
mobile: "sprinkles_marginRight_s_mobile__1iaw8zx6o",
|
|
1098
|
+
tablet: "sprinkles_marginRight_s_tablet__1iaw8zx6p",
|
|
1099
|
+
desktop: "sprinkles_marginRight_s_desktop__1iaw8zx6q"
|
|
1100
|
+
},
|
|
1101
|
+
defaultClass: "sprinkles_marginRight_s_mobile__1iaw8zx6o"
|
|
1102
|
+
},
|
|
1103
|
+
m: {
|
|
1104
|
+
conditions: {
|
|
1105
|
+
mobile: "sprinkles_marginRight_m_mobile__1iaw8zx6r",
|
|
1106
|
+
tablet: "sprinkles_marginRight_m_tablet__1iaw8zx6s",
|
|
1107
|
+
desktop: "sprinkles_marginRight_m_desktop__1iaw8zx6t"
|
|
1108
|
+
},
|
|
1109
|
+
defaultClass: "sprinkles_marginRight_m_mobile__1iaw8zx6r"
|
|
1110
|
+
},
|
|
1111
|
+
l: {
|
|
1112
|
+
conditions: {
|
|
1113
|
+
mobile: "sprinkles_marginRight_l_mobile__1iaw8zx6u",
|
|
1114
|
+
tablet: "sprinkles_marginRight_l_tablet__1iaw8zx6v",
|
|
1115
|
+
desktop: "sprinkles_marginRight_l_desktop__1iaw8zx6w"
|
|
1116
|
+
},
|
|
1117
|
+
defaultClass: "sprinkles_marginRight_l_mobile__1iaw8zx6u"
|
|
1118
|
+
},
|
|
1119
|
+
xl: {
|
|
1120
|
+
conditions: {
|
|
1121
|
+
mobile: "sprinkles_marginRight_xl_mobile__1iaw8zx6x",
|
|
1122
|
+
tablet: "sprinkles_marginRight_xl_tablet__1iaw8zx6y",
|
|
1123
|
+
desktop: "sprinkles_marginRight_xl_desktop__1iaw8zx6z"
|
|
1124
|
+
},
|
|
1125
|
+
defaultClass: "sprinkles_marginRight_xl_mobile__1iaw8zx6x"
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
responsiveArray: void 0
|
|
1129
|
+
},
|
|
1130
|
+
borderRadius: {
|
|
1131
|
+
values: {
|
|
1132
|
+
none: {
|
|
1133
|
+
conditions: {
|
|
1134
|
+
mobile: "sprinkles_borderRadius_none_mobile__1iaw8zx70",
|
|
1135
|
+
tablet: "sprinkles_borderRadius_none_tablet__1iaw8zx71",
|
|
1136
|
+
desktop: "sprinkles_borderRadius_none_desktop__1iaw8zx72"
|
|
1137
|
+
},
|
|
1138
|
+
defaultClass: "sprinkles_borderRadius_none_mobile__1iaw8zx70"
|
|
1139
|
+
},
|
|
1140
|
+
xs: {
|
|
1141
|
+
conditions: {
|
|
1142
|
+
mobile: "sprinkles_borderRadius_xs_mobile__1iaw8zx73",
|
|
1143
|
+
tablet: "sprinkles_borderRadius_xs_tablet__1iaw8zx74",
|
|
1144
|
+
desktop: "sprinkles_borderRadius_xs_desktop__1iaw8zx75"
|
|
1145
|
+
},
|
|
1146
|
+
defaultClass: "sprinkles_borderRadius_xs_mobile__1iaw8zx73"
|
|
1147
|
+
},
|
|
1148
|
+
s: {
|
|
1149
|
+
conditions: {
|
|
1150
|
+
mobile: "sprinkles_borderRadius_s_mobile__1iaw8zx76",
|
|
1151
|
+
tablet: "sprinkles_borderRadius_s_tablet__1iaw8zx77",
|
|
1152
|
+
desktop: "sprinkles_borderRadius_s_desktop__1iaw8zx78"
|
|
1153
|
+
},
|
|
1154
|
+
defaultClass: "sprinkles_borderRadius_s_mobile__1iaw8zx76"
|
|
1155
|
+
},
|
|
1156
|
+
m: {
|
|
1157
|
+
conditions: {
|
|
1158
|
+
mobile: "sprinkles_borderRadius_m_mobile__1iaw8zx79",
|
|
1159
|
+
tablet: "sprinkles_borderRadius_m_tablet__1iaw8zx7a",
|
|
1160
|
+
desktop: "sprinkles_borderRadius_m_desktop__1iaw8zx7b"
|
|
1161
|
+
},
|
|
1162
|
+
defaultClass: "sprinkles_borderRadius_m_mobile__1iaw8zx79"
|
|
1163
|
+
},
|
|
1164
|
+
l: {
|
|
1165
|
+
conditions: {
|
|
1166
|
+
mobile: "sprinkles_borderRadius_l_mobile__1iaw8zx7c",
|
|
1167
|
+
tablet: "sprinkles_borderRadius_l_tablet__1iaw8zx7d",
|
|
1168
|
+
desktop: "sprinkles_borderRadius_l_desktop__1iaw8zx7e"
|
|
1169
|
+
},
|
|
1170
|
+
defaultClass: "sprinkles_borderRadius_l_mobile__1iaw8zx7c"
|
|
1171
|
+
},
|
|
1172
|
+
xl: {
|
|
1173
|
+
conditions: {
|
|
1174
|
+
mobile: "sprinkles_borderRadius_xl_mobile__1iaw8zx7f",
|
|
1175
|
+
tablet: "sprinkles_borderRadius_xl_tablet__1iaw8zx7g",
|
|
1176
|
+
desktop: "sprinkles_borderRadius_xl_desktop__1iaw8zx7h"
|
|
1177
|
+
},
|
|
1178
|
+
defaultClass: "sprinkles_borderRadius_xl_mobile__1iaw8zx7f"
|
|
1179
|
+
},
|
|
1180
|
+
xxl: {
|
|
1181
|
+
conditions: {
|
|
1182
|
+
mobile: "sprinkles_borderRadius_xxl_mobile__1iaw8zx7i",
|
|
1183
|
+
tablet: "sprinkles_borderRadius_xxl_tablet__1iaw8zx7j",
|
|
1184
|
+
desktop: "sprinkles_borderRadius_xxl_desktop__1iaw8zx7k"
|
|
1185
|
+
},
|
|
1186
|
+
defaultClass: "sprinkles_borderRadius_xxl_mobile__1iaw8zx7i"
|
|
1187
|
+
},
|
|
1188
|
+
full: {
|
|
1189
|
+
conditions: {
|
|
1190
|
+
mobile: "sprinkles_borderRadius_full_mobile__1iaw8zx7l",
|
|
1191
|
+
tablet: "sprinkles_borderRadius_full_tablet__1iaw8zx7m",
|
|
1192
|
+
desktop: "sprinkles_borderRadius_full_desktop__1iaw8zx7n"
|
|
1193
|
+
},
|
|
1194
|
+
defaultClass: "sprinkles_borderRadius_full_mobile__1iaw8zx7l"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
responsiveArray: void 0
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
};
|
|
1201
|
+
x.styles.display.responsiveArray = x.conditions.responsiveArray;
|
|
1202
|
+
x.styles.flexDirection.responsiveArray = x.conditions.responsiveArray;
|
|
1203
|
+
x.styles.alignItems.responsiveArray = x.conditions.responsiveArray;
|
|
1204
|
+
x.styles.justifyContent.responsiveArray = x.conditions.responsiveArray;
|
|
1205
|
+
x.styles.flexWrap.responsiveArray = x.conditions.responsiveArray;
|
|
1206
|
+
x.styles.gap.responsiveArray = x.conditions.responsiveArray;
|
|
1207
|
+
x.styles.paddingTop.responsiveArray = x.conditions.responsiveArray;
|
|
1208
|
+
x.styles.paddingBottom.responsiveArray = x.conditions.responsiveArray;
|
|
1209
|
+
x.styles.paddingLeft.responsiveArray = x.conditions.responsiveArray;
|
|
1210
|
+
x.styles.paddingRight.responsiveArray = x.conditions.responsiveArray;
|
|
1211
|
+
x.styles.marginTop.responsiveArray = x.conditions.responsiveArray;
|
|
1212
|
+
x.styles.marginBottom.responsiveArray = x.conditions.responsiveArray;
|
|
1213
|
+
x.styles.marginLeft.responsiveArray = x.conditions.responsiveArray;
|
|
1214
|
+
x.styles.marginRight.responsiveArray = x.conditions.responsiveArray;
|
|
1215
|
+
x.styles.borderRadius.responsiveArray = x.conditions.responsiveArray;
|
|
1216
|
+
return x;
|
|
1217
|
+
}(), {
|
|
1218
|
+
conditions: void 0,
|
|
1219
|
+
styles: {
|
|
1220
|
+
position: { values: {
|
|
1221
|
+
relative: { defaultClass: "sprinkles_position_relative__1iaw8zx7o" },
|
|
1222
|
+
absolute: { defaultClass: "sprinkles_position_absolute__1iaw8zx7p" },
|
|
1223
|
+
fixed: { defaultClass: "sprinkles_position_fixed__1iaw8zx7q" },
|
|
1224
|
+
sticky: { defaultClass: "sprinkles_position_sticky__1iaw8zx7r" }
|
|
1225
|
+
} },
|
|
1226
|
+
overflow: { values: {
|
|
1227
|
+
hidden: { defaultClass: "sprinkles_overflow_hidden__1iaw8zx7s" },
|
|
1228
|
+
scroll: { defaultClass: "sprinkles_overflow_scroll__1iaw8zx7t" },
|
|
1229
|
+
visible: { defaultClass: "sprinkles_overflow_visible__1iaw8zx7u" },
|
|
1230
|
+
auto: { defaultClass: "sprinkles_overflow_auto__1iaw8zx7v" }
|
|
1231
|
+
} },
|
|
1232
|
+
cursor: { values: {
|
|
1233
|
+
"default": { defaultClass: "sprinkles_cursor_default__1iaw8zx7w" },
|
|
1234
|
+
pointer: { defaultClass: "sprinkles_cursor_pointer__1iaw8zx7x" }
|
|
1235
|
+
} },
|
|
1236
|
+
flexShrink: { values: { "0": { defaultClass: "sprinkles_flexShrink_0__1iaw8zx7y" } } },
|
|
1237
|
+
flexGrow: { values: {
|
|
1238
|
+
"0": { defaultClass: "sprinkles_flexGrow_0__1iaw8zx7z" },
|
|
1239
|
+
"1": { defaultClass: "sprinkles_flexGrow_1__1iaw8zx80" }
|
|
1240
|
+
} },
|
|
1241
|
+
textAlign: { values: {
|
|
1242
|
+
left: { defaultClass: "sprinkles_textAlign_left__1iaw8zx81" },
|
|
1243
|
+
center: { defaultClass: "sprinkles_textAlign_center__1iaw8zx82" },
|
|
1244
|
+
right: { defaultClass: "sprinkles_textAlign_right__1iaw8zx83" }
|
|
1245
|
+
} },
|
|
1246
|
+
fontSize: { values: {
|
|
1247
|
+
xs: { defaultClass: "sprinkles_fontSize_xs__1iaw8zx84" },
|
|
1248
|
+
s: { defaultClass: "sprinkles_fontSize_s__1iaw8zx85" },
|
|
1249
|
+
m: { defaultClass: "sprinkles_fontSize_m__1iaw8zx86" },
|
|
1250
|
+
l: { defaultClass: "sprinkles_fontSize_l__1iaw8zx87" },
|
|
1251
|
+
xl: { defaultClass: "sprinkles_fontSize_xl__1iaw8zx88" },
|
|
1252
|
+
"2xl": { defaultClass: "sprinkles_fontSize_2xl__1iaw8zx89" },
|
|
1253
|
+
"3xl": { defaultClass: "sprinkles_fontSize_3xl__1iaw8zx8a" },
|
|
1254
|
+
"4xl": { defaultClass: "sprinkles_fontSize_4xl__1iaw8zx8b" },
|
|
1255
|
+
"5xl": { defaultClass: "sprinkles_fontSize_5xl__1iaw8zx8c" },
|
|
1256
|
+
"6xl": { defaultClass: "sprinkles_fontSize_6xl__1iaw8zx8d" }
|
|
1257
|
+
} },
|
|
1258
|
+
fontWeight: { values: {
|
|
1259
|
+
regular: { defaultClass: "sprinkles_fontWeight_regular__1iaw8zx8e" },
|
|
1260
|
+
medium: { defaultClass: "sprinkles_fontWeight_medium__1iaw8zx8f" },
|
|
1261
|
+
semiBold: { defaultClass: "sprinkles_fontWeight_semiBold__1iaw8zx8g" },
|
|
1262
|
+
bold: { defaultClass: "sprinkles_fontWeight_bold__1iaw8zx8h" }
|
|
1263
|
+
} }
|
|
1264
|
+
}
|
|
1265
|
+
}, {
|
|
1266
|
+
conditions: {
|
|
1267
|
+
defaultCondition: "lightMode",
|
|
1268
|
+
conditionNames: ["lightMode", "darkMode"],
|
|
1269
|
+
responsiveArray: void 0
|
|
1270
|
+
},
|
|
1271
|
+
styles: {
|
|
1272
|
+
color: { values: {
|
|
1273
|
+
primary: {
|
|
1274
|
+
conditions: {
|
|
1275
|
+
lightMode: "sprinkles_color_primary_lightMode__1iaw8zx8i",
|
|
1276
|
+
darkMode: "sprinkles_color_primary_darkMode__1iaw8zx8j"
|
|
1277
|
+
},
|
|
1278
|
+
defaultClass: "sprinkles_color_primary_lightMode__1iaw8zx8i"
|
|
1279
|
+
},
|
|
1280
|
+
secondary: {
|
|
1281
|
+
conditions: {
|
|
1282
|
+
lightMode: "sprinkles_color_secondary_lightMode__1iaw8zx8k",
|
|
1283
|
+
darkMode: "sprinkles_color_secondary_darkMode__1iaw8zx8l"
|
|
1284
|
+
},
|
|
1285
|
+
defaultClass: "sprinkles_color_secondary_lightMode__1iaw8zx8k"
|
|
1286
|
+
},
|
|
1287
|
+
tertiary: {
|
|
1288
|
+
conditions: {
|
|
1289
|
+
lightMode: "sprinkles_color_tertiary_lightMode__1iaw8zx8m",
|
|
1290
|
+
darkMode: "sprinkles_color_tertiary_darkMode__1iaw8zx8n"
|
|
1291
|
+
},
|
|
1292
|
+
defaultClass: "sprinkles_color_tertiary_lightMode__1iaw8zx8m"
|
|
1293
|
+
},
|
|
1294
|
+
disabled: {
|
|
1295
|
+
conditions: {
|
|
1296
|
+
lightMode: "sprinkles_color_disabled_lightMode__1iaw8zx8o",
|
|
1297
|
+
darkMode: "sprinkles_color_disabled_darkMode__1iaw8zx8p"
|
|
1298
|
+
},
|
|
1299
|
+
defaultClass: "sprinkles_color_disabled_lightMode__1iaw8zx8o"
|
|
1300
|
+
},
|
|
1301
|
+
action: {
|
|
1302
|
+
conditions: {
|
|
1303
|
+
lightMode: "sprinkles_color_action_lightMode__1iaw8zx8q",
|
|
1304
|
+
darkMode: "sprinkles_color_action_darkMode__1iaw8zx8r"
|
|
1305
|
+
},
|
|
1306
|
+
defaultClass: "sprinkles_color_action_lightMode__1iaw8zx8q"
|
|
1307
|
+
},
|
|
1308
|
+
onAction: {
|
|
1309
|
+
conditions: {
|
|
1310
|
+
lightMode: "sprinkles_color_onAction_lightMode__1iaw8zx8s",
|
|
1311
|
+
darkMode: "sprinkles_color_onAction_darkMode__1iaw8zx8t"
|
|
1312
|
+
},
|
|
1313
|
+
defaultClass: "sprinkles_color_onAction_lightMode__1iaw8zx8s"
|
|
1314
|
+
},
|
|
1315
|
+
error: {
|
|
1316
|
+
conditions: {
|
|
1317
|
+
lightMode: "sprinkles_color_error_lightMode__1iaw8zx8u",
|
|
1318
|
+
darkMode: "sprinkles_color_error_darkMode__1iaw8zx8v"
|
|
1319
|
+
},
|
|
1320
|
+
defaultClass: "sprinkles_color_error_lightMode__1iaw8zx8u"
|
|
1321
|
+
},
|
|
1322
|
+
success: {
|
|
1323
|
+
conditions: {
|
|
1324
|
+
lightMode: "sprinkles_color_success_lightMode__1iaw8zx8w",
|
|
1325
|
+
darkMode: "sprinkles_color_success_darkMode__1iaw8zx8x"
|
|
1326
|
+
},
|
|
1327
|
+
defaultClass: "sprinkles_color_success_lightMode__1iaw8zx8w"
|
|
1328
|
+
},
|
|
1329
|
+
warning: {
|
|
1330
|
+
conditions: {
|
|
1331
|
+
lightMode: "sprinkles_color_warning_lightMode__1iaw8zx8y",
|
|
1332
|
+
darkMode: "sprinkles_color_warning_darkMode__1iaw8zx8z"
|
|
1333
|
+
},
|
|
1334
|
+
defaultClass: "sprinkles_color_warning_lightMode__1iaw8zx8y"
|
|
1335
|
+
}
|
|
1336
|
+
} },
|
|
1337
|
+
backgroundColor: { values: {
|
|
1338
|
+
primary: {
|
|
1339
|
+
conditions: {
|
|
1340
|
+
lightMode: "sprinkles_backgroundColor_primary_lightMode__1iaw8zx90",
|
|
1341
|
+
darkMode: "sprinkles_backgroundColor_primary_darkMode__1iaw8zx91"
|
|
1342
|
+
},
|
|
1343
|
+
defaultClass: "sprinkles_backgroundColor_primary_lightMode__1iaw8zx90"
|
|
1344
|
+
},
|
|
1345
|
+
secondary: {
|
|
1346
|
+
conditions: {
|
|
1347
|
+
lightMode: "sprinkles_backgroundColor_secondary_lightMode__1iaw8zx92",
|
|
1348
|
+
darkMode: "sprinkles_backgroundColor_secondary_darkMode__1iaw8zx93"
|
|
1349
|
+
},
|
|
1350
|
+
defaultClass: "sprinkles_backgroundColor_secondary_lightMode__1iaw8zx92"
|
|
1351
|
+
},
|
|
1352
|
+
background: {
|
|
1353
|
+
conditions: {
|
|
1354
|
+
lightMode: "sprinkles_backgroundColor_background_lightMode__1iaw8zx94",
|
|
1355
|
+
darkMode: "sprinkles_backgroundColor_background_darkMode__1iaw8zx95"
|
|
1356
|
+
},
|
|
1357
|
+
defaultClass: "sprinkles_backgroundColor_background_lightMode__1iaw8zx94"
|
|
1358
|
+
},
|
|
1359
|
+
elevated: {
|
|
1360
|
+
conditions: {
|
|
1361
|
+
lightMode: "sprinkles_backgroundColor_elevated_lightMode__1iaw8zx96",
|
|
1362
|
+
darkMode: "sprinkles_backgroundColor_elevated_darkMode__1iaw8zx97"
|
|
1363
|
+
},
|
|
1364
|
+
defaultClass: "sprinkles_backgroundColor_elevated_lightMode__1iaw8zx96"
|
|
1365
|
+
},
|
|
1366
|
+
muted: {
|
|
1367
|
+
conditions: {
|
|
1368
|
+
lightMode: "sprinkles_backgroundColor_muted_lightMode__1iaw8zx98",
|
|
1369
|
+
darkMode: "sprinkles_backgroundColor_muted_darkMode__1iaw8zx99"
|
|
1370
|
+
},
|
|
1371
|
+
defaultClass: "sprinkles_backgroundColor_muted_lightMode__1iaw8zx98"
|
|
1372
|
+
},
|
|
1373
|
+
tertiary: {
|
|
1374
|
+
conditions: {
|
|
1375
|
+
lightMode: "sprinkles_backgroundColor_tertiary_lightMode__1iaw8zx9a",
|
|
1376
|
+
darkMode: "sprinkles_backgroundColor_tertiary_darkMode__1iaw8zx9b"
|
|
1377
|
+
},
|
|
1378
|
+
defaultClass: "sprinkles_backgroundColor_tertiary_lightMode__1iaw8zx9a"
|
|
1379
|
+
},
|
|
1380
|
+
disabled: {
|
|
1381
|
+
conditions: {
|
|
1382
|
+
lightMode: "sprinkles_backgroundColor_disabled_lightMode__1iaw8zx9c",
|
|
1383
|
+
darkMode: "sprinkles_backgroundColor_disabled_darkMode__1iaw8zx9d"
|
|
1384
|
+
},
|
|
1385
|
+
defaultClass: "sprinkles_backgroundColor_disabled_lightMode__1iaw8zx9c"
|
|
1386
|
+
},
|
|
1387
|
+
error: {
|
|
1388
|
+
conditions: {
|
|
1389
|
+
lightMode: "sprinkles_backgroundColor_error_lightMode__1iaw8zx9e",
|
|
1390
|
+
darkMode: "sprinkles_backgroundColor_error_darkMode__1iaw8zx9f"
|
|
1391
|
+
},
|
|
1392
|
+
defaultClass: "sprinkles_backgroundColor_error_lightMode__1iaw8zx9e"
|
|
1393
|
+
},
|
|
1394
|
+
success: {
|
|
1395
|
+
conditions: {
|
|
1396
|
+
lightMode: "sprinkles_backgroundColor_success_lightMode__1iaw8zx9g",
|
|
1397
|
+
darkMode: "sprinkles_backgroundColor_success_darkMode__1iaw8zx9h"
|
|
1398
|
+
},
|
|
1399
|
+
defaultClass: "sprinkles_backgroundColor_success_lightMode__1iaw8zx9g"
|
|
1400
|
+
},
|
|
1401
|
+
warning: {
|
|
1402
|
+
conditions: {
|
|
1403
|
+
lightMode: "sprinkles_backgroundColor_warning_lightMode__1iaw8zx9i",
|
|
1404
|
+
darkMode: "sprinkles_backgroundColor_warning_darkMode__1iaw8zx9j"
|
|
1405
|
+
},
|
|
1406
|
+
defaultClass: "sprinkles_backgroundColor_warning_lightMode__1iaw8zx9i"
|
|
1407
|
+
}
|
|
1408
|
+
} }
|
|
1409
|
+
}
|
|
1410
|
+
});
|
|
1411
|
+
cssSource$3 + cssSource$4;
|
|
1412
|
+
//#endregion
|
|
1413
|
+
//#region ../../packages/design-system/src/components/Box/index.tsx
|
|
1414
|
+
function Box({ as: Tag = "div", className, ref, children, style, ...rest }) {
|
|
1415
|
+
const atomProps = {};
|
|
1416
|
+
const nativeProps = {};
|
|
1417
|
+
for (const key in rest) if (sprinkles.properties.has(key)) atomProps[key] = rest[key];
|
|
1418
|
+
else nativeProps[key] = rest[key];
|
|
1419
|
+
const elementReset = element[Tag];
|
|
1420
|
+
return createElement$1(Tag, {
|
|
1421
|
+
className: clsx(elementReset ? `${base} ${elementReset}` : base, sprinkles(atomProps), className),
|
|
1422
|
+
style,
|
|
1423
|
+
ref,
|
|
1424
|
+
...nativeProps
|
|
1425
|
+
}, children);
|
|
1426
|
+
}
|
|
1427
|
+
//#endregion
|
|
1428
|
+
//#region ../../packages/design-system/src/components/Column/index.tsx
|
|
1429
|
+
/** Maps fraction strings to CSS flex shorthand (grow=0, shrink=0, basis=%) */
|
|
1430
|
+
const widthToFlex = {
|
|
1431
|
+
"1/2": "0 0 50%",
|
|
1432
|
+
"1/3": "0 0 33.333%",
|
|
1433
|
+
"2/3": "0 0 66.667%",
|
|
1434
|
+
"1/4": "0 0 25%",
|
|
1435
|
+
"3/4": "0 0 75%",
|
|
1436
|
+
"1/5": "0 0 20%",
|
|
1437
|
+
"2/5": "0 0 40%",
|
|
1438
|
+
"3/5": "0 0 60%"
|
|
1439
|
+
};
|
|
1440
|
+
/**
|
|
1441
|
+
* Column — child of <Columns />, controls its own width.
|
|
1442
|
+
*
|
|
1443
|
+
* - `width="content"` → natural width (flexShrink: 0)
|
|
1444
|
+
* - `width="1/2"` etc → explicit flex shorthand via style prop
|
|
1445
|
+
* - no width → fills remaining space (flexGrow: 1)
|
|
1446
|
+
*
|
|
1447
|
+
* Fractional widths use inline `style` because `flex: "0 0 50%"` is
|
|
1448
|
+
* incompatible with class-based sprinkles. The parent Columns provides
|
|
1449
|
+
* gap-based spacing — no negative margin hacks needed.
|
|
1450
|
+
*/
|
|
1451
|
+
function Column({ width, children }) {
|
|
1452
|
+
if (width === "content") return /* @__PURE__ */ jsx(Box, {
|
|
1453
|
+
flexShrink: 0,
|
|
1454
|
+
children
|
|
1455
|
+
});
|
|
1456
|
+
if (width !== void 0) return /* @__PURE__ */ jsx(Box, {
|
|
1457
|
+
style: { flex: widthToFlex[width] },
|
|
1458
|
+
children
|
|
1459
|
+
});
|
|
1460
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
1461
|
+
flexGrow: 1,
|
|
1462
|
+
children
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
//#endregion
|
|
1466
|
+
//#region ../../packages/design-system/src/components/Columns/index.tsx
|
|
1467
|
+
const alignYToFlexAlign = {
|
|
1468
|
+
top: "flex-start",
|
|
1469
|
+
center: "center",
|
|
1470
|
+
bottom: "flex-end"
|
|
1471
|
+
};
|
|
1472
|
+
/**
|
|
1473
|
+
* Columns — horizontal layout with gap-based spacing.
|
|
1474
|
+
*
|
|
1475
|
+
* Wraps <Column /> children in a flex row with responsive gap.
|
|
1476
|
+
* Uses CSS `gap` (no negative margin hacks). Vertical alignment
|
|
1477
|
+
* via `alignY` maps to flexbox `align-items`.
|
|
1478
|
+
*/
|
|
1479
|
+
function Columns({ space, alignY, as = "div", children }) {
|
|
1480
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
1481
|
+
as,
|
|
1482
|
+
display: "flex",
|
|
1483
|
+
flexDirection: "row",
|
|
1484
|
+
gap: space,
|
|
1485
|
+
alignItems: alignY ? alignYToFlexAlign[alignY] : void 0,
|
|
1486
|
+
children
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
//#endregion
|
|
1490
|
+
//#region ../../packages/design-system/src/components/Stack/index.tsx
|
|
1491
|
+
const alignToFlexAlign = {
|
|
1492
|
+
left: "flex-start",
|
|
1493
|
+
center: "center",
|
|
1494
|
+
right: "flex-end"
|
|
1495
|
+
};
|
|
1496
|
+
const alignToTextAlign = {
|
|
1497
|
+
left: "left",
|
|
1498
|
+
center: "center",
|
|
1499
|
+
right: "right"
|
|
1500
|
+
};
|
|
1501
|
+
const justifyToFlexJustify = {
|
|
1502
|
+
start: "flex-start",
|
|
1503
|
+
center: "center",
|
|
1504
|
+
end: "flex-end",
|
|
1505
|
+
"space-between": "space-between"
|
|
1506
|
+
};
|
|
1507
|
+
function Stack({ space, padding, align, justify, as = "div", className, children }) {
|
|
1508
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
1509
|
+
as,
|
|
1510
|
+
display: "flex",
|
|
1511
|
+
flexDirection: "column",
|
|
1512
|
+
gap: space,
|
|
1513
|
+
padding,
|
|
1514
|
+
alignItems: align ? alignToFlexAlign[align] : void 0,
|
|
1515
|
+
justifyContent: justify ? justifyToFlexJustify[justify] : void 0,
|
|
1516
|
+
textAlign: align ? alignToTextAlign[align] : void 0,
|
|
1517
|
+
className,
|
|
1518
|
+
children
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
//#endregion
|
|
1522
|
+
//#region \0ve-inline:src/components/PostPurchase/PostPurchase.css.ts.vanilla.js
|
|
1523
|
+
const cssSource$1 = `.PostPurchase_card__5fv5lh0 {
|
|
1524
|
+
border-radius: 12px;
|
|
1525
|
+
background-color: var(--surface-background__pbq4akc);
|
|
1526
|
+
border: 1px solid var(--border-default__pbq4akv);
|
|
1527
|
+
}
|
|
1528
|
+
.PostPurchase_badge__5fv5lh1 {
|
|
1529
|
+
align-self: flex-start;
|
|
1530
|
+
background-color: #FFF534;
|
|
1531
|
+
border-radius: 4px;
|
|
1532
|
+
padding: 4px 8px;
|
|
1533
|
+
font-size: 12px;
|
|
1534
|
+
font-weight: 600;
|
|
1535
|
+
line-height: 12px;
|
|
1536
|
+
color: var(--text-primary__pbq4ak0);
|
|
1537
|
+
}
|
|
1538
|
+
.PostPurchase_message__5fv5lh2 {
|
|
1539
|
+
margin: 0;
|
|
1540
|
+
font-size: 16px;
|
|
1541
|
+
line-height: 22px;
|
|
1542
|
+
color: var(--text-primary__pbq4ak0);
|
|
1543
|
+
font-weight: 600;
|
|
1544
|
+
}
|
|
1545
|
+
.PostPurchase_cta__5fv5lh3 {
|
|
1546
|
+
display: inline-flex;
|
|
1547
|
+
align-items: center;
|
|
1548
|
+
justify-content: center;
|
|
1549
|
+
gap: 4px;
|
|
1550
|
+
padding: 12px 16px;
|
|
1551
|
+
border-radius: 9999px;
|
|
1552
|
+
background-color: var(--text-primary__pbq4ak0);
|
|
1553
|
+
color: var(--text-onAction__pbq4ak6);
|
|
1554
|
+
font-size: 12px;
|
|
1555
|
+
font-weight: bold;
|
|
1556
|
+
text-transform: uppercase;
|
|
1557
|
+
cursor: pointer;
|
|
1558
|
+
}
|
|
1559
|
+
.PostPurchase_cta__5fv5lh3:disabled {
|
|
1560
|
+
opacity: 0.7;
|
|
1561
|
+
cursor: default;
|
|
1562
|
+
}
|
|
1563
|
+
.PostPurchase_icon__5fv5lh4 {
|
|
1564
|
+
margin: -2px 0;
|
|
1565
|
+
}
|
|
1566
|
+
.PostPurchase_giftIcon__5fv5lh5 {
|
|
1567
|
+
display: block;
|
|
1568
|
+
flex-shrink: 0;
|
|
1569
|
+
}`;
|
|
1570
|
+
var card = "PostPurchase_card__5fv5lh0";
|
|
1571
|
+
var cta = "PostPurchase_cta__5fv5lh3";
|
|
1572
|
+
var giftIcon = "PostPurchase_giftIcon__5fv5lh5";
|
|
1573
|
+
var icon = "PostPurchase_icon__5fv5lh4";
|
|
1574
|
+
var message = "PostPurchase_message__5fv5lh2";
|
|
1575
|
+
const cssSource = cssSource$3 + cssSource$4 + cssSource$1;
|
|
1576
|
+
//#endregion
|
|
10
1577
|
//#region src/components/PostPurchase/PostPurchase.tsx
|
|
11
1578
|
/**
|
|
12
1579
|
* Given referral status and merchant info, compute the display variant
|
|
@@ -50,10 +1617,10 @@ function resolvePostPurchaseContext(referralStatus, merchantInfo) {
|
|
|
50
1617
|
* ></frak-post-purchase>
|
|
51
1618
|
* ```
|
|
52
1619
|
*/
|
|
53
|
-
function PostPurchase({ customerId, orderId, token, sharingUrl, merchantId, placement: placementId, classname = "", variant: forcedVariant, referrerText: propReferrerText, refereeText: propRefereeText, ctaText: propCtaText }) {
|
|
1620
|
+
function PostPurchase({ customerId, orderId, token, sharingUrl, merchantId, placement: placementId, classname = "", variant: forcedVariant, badgeText: propBadgeText, referrerText: propReferrerText, refereeText: propRefereeText, ctaText: propCtaText }) {
|
|
54
1621
|
const { shouldRender, isHidden, isClientReady } = useClientReady();
|
|
55
1622
|
const placement = usePlacement(placementId);
|
|
56
|
-
useLightDomStyles("frak-post-purchase", placementId, placement?.components?.postPurchase?.css);
|
|
1623
|
+
useLightDomStyles("frak-post-purchase", placementId, placement?.components?.postPurchase?.css, cssSource);
|
|
57
1624
|
const [context, setContext] = useState(null);
|
|
58
1625
|
const [hasFetched, setHasFetched] = useState(false);
|
|
59
1626
|
useEffect(() => {
|
|
@@ -91,6 +1658,7 @@ function PostPurchase({ customerId, orderId, token, sharingUrl, merchantId, plac
|
|
|
91
1658
|
return formatEstimatedReward(context.reward, currency);
|
|
92
1659
|
}, [context?.reward]);
|
|
93
1660
|
const postPurchaseConfig = placement?.components?.postPurchase;
|
|
1661
|
+
const resolvedBadgeText = propBadgeText ?? postPurchaseConfig?.badgeText;
|
|
94
1662
|
const texts = useMemo(() => {
|
|
95
1663
|
const applyReward = (text) => rewardText ? text.replace("{REWARD}", rewardText) : text;
|
|
96
1664
|
return {
|
|
@@ -108,24 +1676,54 @@ function PostPurchase({ customerId, orderId, token, sharingUrl, merchantId, plac
|
|
|
108
1676
|
const { handleShare } = useShareModal(void 0, placementId, resolvedSharingUrl);
|
|
109
1677
|
if (!shouldRender || isHidden) return null;
|
|
110
1678
|
if (!context || !resolvedVariant) return null;
|
|
111
|
-
return /* @__PURE__ */
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
1679
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
1680
|
+
className: [card, classname].filter(Boolean).join(" "),
|
|
1681
|
+
padding: "m",
|
|
1682
|
+
children: /* @__PURE__ */ jsxs(Columns, {
|
|
1683
|
+
space: "xl",
|
|
1684
|
+
alignY: "center",
|
|
1685
|
+
children: [/* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsxs(Stack, {
|
|
1686
|
+
space: "xs",
|
|
1687
|
+
children: [
|
|
1688
|
+
resolvedBadgeText && /* @__PURE__ */ jsx("span", {
|
|
1689
|
+
class: "PostPurchase_badge__5fv5lh1",
|
|
1690
|
+
children: resolvedBadgeText
|
|
1691
|
+
}),
|
|
1692
|
+
/* @__PURE__ */ jsx("p", {
|
|
1693
|
+
class: message,
|
|
1694
|
+
children: texts.message
|
|
1695
|
+
}),
|
|
1696
|
+
/* @__PURE__ */ jsxs(Box, {
|
|
1697
|
+
as: "button",
|
|
1698
|
+
type: "button",
|
|
1699
|
+
className: `${cta} button`,
|
|
1700
|
+
disabled: !isClientReady,
|
|
1701
|
+
onClick: handleShare,
|
|
1702
|
+
children: [texts.cta, /* @__PURE__ */ jsx("svg", {
|
|
1703
|
+
width: "16",
|
|
1704
|
+
height: "16",
|
|
1705
|
+
viewBox: "0 0 16 16",
|
|
1706
|
+
fill: "none",
|
|
1707
|
+
"aria-hidden": "true",
|
|
1708
|
+
className: `${icon} button`,
|
|
1709
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1710
|
+
d: "M13.8984 11.144C13.9864 11.052 14.1543 11.1114 14.1543 11.2388V11.644C14.1543 13.0509 12.6288 14.1918 10.7471 14.1919C8.86523 14.1919 7.33984 13.051 7.33984 11.644V11.2388C7.33984 11.1114 7.50675 11.052 7.59473 11.144C8.3452 11.9295 9.47906 12.4292 10.7471 12.4292C12.0149 12.4291 13.148 11.9293 13.8984 11.144ZM1.8457 9.64795C1.8457 9.51169 2.01094 9.44452 2.10254 9.54053C2.85304 10.3238 3.98586 10.8247 5.25293 10.8247C5.52246 10.8247 5.78608 10.8026 6.04102 10.7593C6.25744 10.7225 6.46582 10.8816 6.46582 11.1011V12.1704C6.46564 12.319 6.36769 12.4507 6.22266 12.4829C5.91535 12.5512 5.58981 12.5874 5.25293 12.5874C3.3711 12.5874 1.8457 11.4469 1.8457 10.0396V9.64795ZM10.7471 6.20654C12.6288 6.20666 14.1543 7.3475 14.1543 8.75439C14.1541 10.1612 12.6287 11.3012 10.7471 11.3013C8.86535 11.3013 7.34004 10.1612 7.33984 8.75439C7.33984 7.34743 8.86523 6.20654 10.7471 6.20654ZM1.8457 6.8501C1.84597 6.71385 2.01208 6.64848 2.10352 6.74365C2.85393 7.52827 3.98602 8.0278 5.25293 8.02783C5.52282 8.02783 5.78667 8.00448 6.04199 7.96143C6.258 7.92499 6.46582 8.08514 6.46582 8.3042V9.37256C6.46582 9.52127 6.36783 9.65378 6.22266 9.68604C5.91537 9.75429 5.58979 9.79053 5.25293 9.79053C3.3711 9.79048 1.8457 8.64863 1.8457 7.24268V6.8501ZM5.25293 1.80811C7.13481 1.80811 8.66016 2.94856 8.66016 4.35596C8.66008 5.76331 7.13476 6.90381 5.25293 6.90381C3.37115 6.90376 1.84578 5.76328 1.8457 4.35596C1.8457 2.94858 3.3711 1.80815 5.25293 1.80811Z",
|
|
1711
|
+
fill: "currentColor"
|
|
1712
|
+
})
|
|
1713
|
+
})]
|
|
1714
|
+
})
|
|
1715
|
+
]
|
|
1716
|
+
}) }), /* @__PURE__ */ jsx(Column, {
|
|
1717
|
+
width: "content",
|
|
1718
|
+
children: /* @__PURE__ */ jsx(GiftIcon, {
|
|
1719
|
+
className: giftIcon,
|
|
1720
|
+
width: 80,
|
|
1721
|
+
height: 80
|
|
1722
|
+
})
|
|
1723
|
+
})]
|
|
1724
|
+
})
|
|
126
1725
|
});
|
|
127
1726
|
}
|
|
128
|
-
|
|
129
1727
|
//#endregion
|
|
130
1728
|
//#region src/components/PostPurchase/index.ts
|
|
131
1729
|
registerWebComponent(PostPurchase, "frak-post-purchase", [
|
|
@@ -137,10 +1735,10 @@ registerWebComponent(PostPurchase, "frak-post-purchase", [
|
|
|
137
1735
|
"placement",
|
|
138
1736
|
"classname",
|
|
139
1737
|
"variant",
|
|
1738
|
+
"badgeText",
|
|
140
1739
|
"referrerText",
|
|
141
1740
|
"refereeText",
|
|
142
1741
|
"ctaText"
|
|
143
1742
|
], { shadow: false });
|
|
144
|
-
|
|
145
1743
|
//#endregion
|
|
146
|
-
export { PostPurchase };
|
|
1744
|
+
export { PostPurchase };
|