design-system-silkhaus 3.13.0-beta.lint-rule.2 → 4.0.0-beta.combine-tailwind-config.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-DoJhqBt6.js → ButtonsGroupSelector-sjBrndhv.js} +1568 -1806
- package/dist/app/index.js +277 -7
- package/dist/index.d.ts +20 -72
- package/dist/index.js +5924 -6347
- package/dist/style.css +1 -1
- package/dist/tailwind.config.js +35 -28
- package/package.json +2 -6
- package/dist/eslint-rules/tailwind/no-restricted-tokens.js +0 -79
package/dist/app/index.js
CHANGED
|
@@ -1,9 +1,279 @@
|
|
|
1
|
-
|
|
1
|
+
var J = Object.defineProperty, K = Object.defineProperties;
|
|
2
|
+
var L = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var C = Object.getOwnPropertySymbols;
|
|
4
|
+
var Q = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var I = (s, e, a) => e in s ? J(s, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : s[e] = a, x = (s, e) => {
|
|
6
|
+
for (var a in e || (e = {}))
|
|
7
|
+
Q.call(e, a) && I(s, a, e[a]);
|
|
8
|
+
if (C)
|
|
9
|
+
for (var a of C(e))
|
|
10
|
+
X.call(e, a) && I(s, a, e[a]);
|
|
11
|
+
return s;
|
|
12
|
+
}, k = (s, e) => K(s, L(e));
|
|
13
|
+
import { j as d, p as Y, u as Z, o as _, i as O, s as ss, r as es, v as ds, d as as, e as ls, f as ts, g as rs, a as m, F as ns, A as is, h as os, D as cs, x as us, C as fs, l as xs, k as ms, n as ps } from "../ButtonsGroupSelector-sjBrndhv.js";
|
|
14
|
+
import { w as ks } from "../ButtonsGroupSelector-sjBrndhv.js";
|
|
15
|
+
import { useState as b } from "react";
|
|
16
|
+
const hs = (s) => window.innerWidth < Y ? /* @__PURE__ */ d.jsx(R, x({}, s)) : /* @__PURE__ */ d.jsx(M, x({}, s));
|
|
17
|
+
hs.displayName = "Dropdown";
|
|
18
|
+
const M = ({
|
|
19
|
+
placement: s = "bottom-start",
|
|
20
|
+
trigger: e,
|
|
21
|
+
triggerContainerClassName: a,
|
|
22
|
+
disabled: l,
|
|
23
|
+
onOpenChange: o,
|
|
24
|
+
adjustHeight: n = !0,
|
|
25
|
+
adjustWidth: t = !0,
|
|
26
|
+
options: r,
|
|
27
|
+
getSelectedValueDisplayText: i = P,
|
|
28
|
+
placeholder: u,
|
|
29
|
+
value: f,
|
|
30
|
+
isMultiSelect: y,
|
|
31
|
+
onChange: w
|
|
32
|
+
}) => {
|
|
33
|
+
const [p, N] = b(), h = typeof f == "undefined" ? p : f, c = typeof f == "undefined" ? N : () => {
|
|
34
|
+
}, [A, F] = b(!1), { refs: g, floatingStyles: B, context: j } = Z({
|
|
35
|
+
open: A,
|
|
36
|
+
onOpenChange: (v) => {
|
|
37
|
+
F(v), o && o(v);
|
|
38
|
+
},
|
|
39
|
+
middleware: [
|
|
40
|
+
_(8),
|
|
41
|
+
O({
|
|
42
|
+
crossAxis: s.includes("-"),
|
|
43
|
+
fallbackAxisSideDirection: "end"
|
|
44
|
+
}),
|
|
45
|
+
ss({ padding: 4 }),
|
|
46
|
+
es({
|
|
47
|
+
apply({ availableWidth: v, availableHeight: q, elements: z }) {
|
|
48
|
+
n && (z.floating.style.maxHeight = `${q - 4}px`), t && (z.floating.style.maxWidth = `${v - 4}px`);
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
],
|
|
52
|
+
whileElementsMounted: os,
|
|
53
|
+
placement: s
|
|
54
|
+
}), E = ds(j), W = as(j), $ = ls(j), G = ts(j), { getReferenceProps: T, getFloatingProps: H } = rs([E, W, $, G]);
|
|
55
|
+
return e || (e = /* @__PURE__ */ d.jsx(
|
|
56
|
+
U,
|
|
57
|
+
{
|
|
58
|
+
selectedOption: D(h, r),
|
|
59
|
+
getSelectedValueDisplayText: i,
|
|
60
|
+
placeholder: u
|
|
61
|
+
}
|
|
62
|
+
)), l ? /* @__PURE__ */ d.jsx("div", { className: a, children: e }) : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
63
|
+
/* @__PURE__ */ d.jsx(
|
|
64
|
+
"div",
|
|
65
|
+
k(x({
|
|
66
|
+
className: m("ds-cursor-pointer", a),
|
|
67
|
+
ref: g.setReference
|
|
68
|
+
}, T()), {
|
|
69
|
+
children: e
|
|
70
|
+
})
|
|
71
|
+
),
|
|
72
|
+
A && /* @__PURE__ */ d.jsx(ns, { children: /* @__PURE__ */ d.jsx(
|
|
73
|
+
"div",
|
|
74
|
+
k(x({
|
|
75
|
+
ref: g.setFloating,
|
|
76
|
+
style: B
|
|
77
|
+
}, H()), {
|
|
78
|
+
className: m(
|
|
79
|
+
"ds-z-[29999] ds-flex ds-min-w-[200px] ds-flex-col ds-gap-1 ds-rounded ds-bg-white ds-p-2 ds-shadow-md",
|
|
80
|
+
n && "ds-overflow-y-auto",
|
|
81
|
+
t && "ds-overflow-x-auto"
|
|
82
|
+
),
|
|
83
|
+
children: /* @__PURE__ */ d.jsx(
|
|
84
|
+
V,
|
|
85
|
+
{
|
|
86
|
+
isMultiSelect: y,
|
|
87
|
+
options: r,
|
|
88
|
+
value: h,
|
|
89
|
+
setValue: c,
|
|
90
|
+
setIsOpen: F,
|
|
91
|
+
onChange: w
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
})
|
|
95
|
+
) })
|
|
96
|
+
] });
|
|
97
|
+
};
|
|
98
|
+
M.displayName = "DesktopDropdown";
|
|
99
|
+
const R = ({
|
|
100
|
+
trigger: s,
|
|
101
|
+
triggerContainerClassName: e,
|
|
102
|
+
disabled: a,
|
|
103
|
+
onOpenChange: l,
|
|
104
|
+
getSelectedValueDisplayText: o = P,
|
|
105
|
+
placeholder: n,
|
|
106
|
+
value: t,
|
|
107
|
+
options: r,
|
|
108
|
+
isMultiSelect: i,
|
|
109
|
+
onChange: u,
|
|
110
|
+
closeButtonLabel: f = "Close"
|
|
111
|
+
}) => {
|
|
112
|
+
const [y, w] = b(), p = typeof t == "undefined" ? y : t, N = typeof t == "undefined" ? w : () => {
|
|
113
|
+
}, [h, c] = b(!1);
|
|
114
|
+
return s || (s = /* @__PURE__ */ d.jsx(
|
|
115
|
+
U,
|
|
116
|
+
{
|
|
117
|
+
selectedOption: D(p, r),
|
|
118
|
+
getSelectedValueDisplayText: o,
|
|
119
|
+
placeholder: n
|
|
120
|
+
}
|
|
121
|
+
)), a ? /* @__PURE__ */ d.jsx("div", { className: e, children: s }) : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
122
|
+
/* @__PURE__ */ d.jsx(
|
|
123
|
+
"div",
|
|
124
|
+
{
|
|
125
|
+
className: e,
|
|
126
|
+
onClick: () => {
|
|
127
|
+
c(!0), l && l(!0);
|
|
128
|
+
},
|
|
129
|
+
children: s
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ d.jsx(
|
|
133
|
+
is,
|
|
134
|
+
{
|
|
135
|
+
animation: "slideUp",
|
|
136
|
+
show: h,
|
|
137
|
+
handleClose: () => {
|
|
138
|
+
c(!1), l && l(!1);
|
|
139
|
+
},
|
|
140
|
+
contentClassName: m("ds-absolute ds-mb-0 ds-w-full"),
|
|
141
|
+
className: "ds-z-[29999]",
|
|
142
|
+
children: /* @__PURE__ */ d.jsx(
|
|
143
|
+
S,
|
|
144
|
+
{
|
|
145
|
+
onClose: () => {
|
|
146
|
+
c(!1), l && l(!1);
|
|
147
|
+
},
|
|
148
|
+
closeButtonLabel: f,
|
|
149
|
+
children: /* @__PURE__ */ d.jsx(
|
|
150
|
+
V,
|
|
151
|
+
{
|
|
152
|
+
isMultiSelect: i,
|
|
153
|
+
options: r,
|
|
154
|
+
value: p,
|
|
155
|
+
setValue: N,
|
|
156
|
+
setIsOpen: c,
|
|
157
|
+
onChange: u
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
}
|
|
161
|
+
)
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
] });
|
|
165
|
+
};
|
|
166
|
+
R.displayName = "MobileDropdown";
|
|
167
|
+
const S = ({ onClose: s, closeButtonLabel: e, children: a }) => /* @__PURE__ */ d.jsxs("div", { className: "ds-mb-0 ds-flex ds-max-h-dvh ds-w-full ds-flex-col ds-bg-white", children: [
|
|
168
|
+
/* @__PURE__ */ d.jsxs("div", { className: "ds-flex ds-shrink-0 ds-items-center ds-justify-between ds-px-8 ds-py-4", children: [
|
|
169
|
+
/* @__PURE__ */ d.jsx(
|
|
170
|
+
"div",
|
|
171
|
+
{
|
|
172
|
+
onClick: s,
|
|
173
|
+
className: "ds-flex ds-size-5 ds-cursor-pointer ds-items-center ds-justify-center",
|
|
174
|
+
children: /* @__PURE__ */ d.jsx(fs, { className: "ds-size-4" })
|
|
175
|
+
}
|
|
176
|
+
),
|
|
177
|
+
/* @__PURE__ */ d.jsx("div", { className: "ds-size-5" })
|
|
178
|
+
] }),
|
|
179
|
+
/* @__PURE__ */ d.jsx("div", { className: "ds-grow ds-overflow-y-auto ds-p-4 ds-text-xSmallCalloutRegular", children: a }),
|
|
180
|
+
/* @__PURE__ */ d.jsx("div", { className: "ds-px-8 ds-py-4", children: /* @__PURE__ */ d.jsx(
|
|
181
|
+
xs,
|
|
182
|
+
{
|
|
183
|
+
buttonClassName: "ds-py-3",
|
|
184
|
+
onClick: s,
|
|
185
|
+
children: e
|
|
186
|
+
}
|
|
187
|
+
) })
|
|
188
|
+
] });
|
|
189
|
+
S.displayName = "MobilePopoverContentWrapper";
|
|
190
|
+
const U = ({
|
|
191
|
+
selectedOption: s,
|
|
192
|
+
getSelectedValueDisplayText: e,
|
|
193
|
+
placeholder: a
|
|
194
|
+
}) => {
|
|
195
|
+
const l = !s || Array.isArray(s) && s.length === 0 ? a || "" : e(s);
|
|
196
|
+
return /* @__PURE__ */ d.jsx(
|
|
197
|
+
cs,
|
|
198
|
+
{
|
|
199
|
+
color: "secondary",
|
|
200
|
+
endIcon: /* @__PURE__ */ d.jsx(us, { className: "ds-size-4" }),
|
|
201
|
+
buttonClassName: "ds-justify-between",
|
|
202
|
+
children: l
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
}, V = ({
|
|
206
|
+
options: s,
|
|
207
|
+
isMultiSelect: e,
|
|
208
|
+
value: a,
|
|
209
|
+
setValue: l,
|
|
210
|
+
setIsOpen: o,
|
|
211
|
+
onChange: n
|
|
212
|
+
}) => s && s.map((t) => /* @__PURE__ */ d.jsx(
|
|
213
|
+
js,
|
|
214
|
+
{
|
|
215
|
+
onClick: () => {
|
|
216
|
+
let r;
|
|
217
|
+
if (e) {
|
|
218
|
+
const i = a || [];
|
|
219
|
+
i.includes(t.value) ? r = i.filter((u) => u !== t.value) : r = [...i, t.value];
|
|
220
|
+
} else
|
|
221
|
+
r = t.value, o(!1);
|
|
222
|
+
l(r), n && n(D(r, s));
|
|
223
|
+
},
|
|
224
|
+
option: t,
|
|
225
|
+
isSelected: Array.isArray(a) ? a.some((r) => r === t.value) : a === t.value,
|
|
226
|
+
showCheckbox: e
|
|
227
|
+
},
|
|
228
|
+
t.value
|
|
229
|
+
)), js = ({
|
|
230
|
+
onClick: s,
|
|
231
|
+
option: e,
|
|
232
|
+
isSelected: a,
|
|
233
|
+
showCheckbox: l
|
|
234
|
+
}) => /* @__PURE__ */ d.jsxs(
|
|
235
|
+
"div",
|
|
236
|
+
{
|
|
237
|
+
onClick: e.disabled ? void 0 : s,
|
|
238
|
+
className: m(
|
|
239
|
+
"ds-group ds-flex ds-min-h-[72px] ds-cursor-pointer ds-items-center ds-gap-4 ds-rounded ds-px-4 ds-py-2 ds-text-mediumSubHeadEmphasized hover:ds-bg-[#F6F8FC] ds-tablet:ds-min-h-[auto] ds-tablet:ds-gap-2 ds-tablet:ds-px-2 ds-desktop:ds-text-mediumFootnoteEmphasized",
|
|
240
|
+
!l && "ds-transition-[padding] ds-duration-300 hover:ds-px-4"
|
|
241
|
+
),
|
|
242
|
+
children: [
|
|
243
|
+
e.thumbnailUrl && /* @__PURE__ */ d.jsx(
|
|
244
|
+
"img",
|
|
245
|
+
{
|
|
246
|
+
src: e.thumbnailUrl,
|
|
247
|
+
className: "ds-h-14 ds-w-14 ds-shrink-0 ds-rounded ds-object-cover group-hover:ds-pr-0 ds-tablet:ds-h-6 ds-tablet:ds-w-9 ds-tablet:ds-rounded-sm"
|
|
248
|
+
}
|
|
249
|
+
),
|
|
250
|
+
e.icon,
|
|
251
|
+
/* @__PURE__ */ d.jsx(
|
|
252
|
+
"div",
|
|
253
|
+
{
|
|
254
|
+
className: m(
|
|
255
|
+
"ds-flex-grow",
|
|
256
|
+
!l && "ds-transition-[padding] ds-duration-300 group-hover:ds-pr-0 ds-tablet:ds-pr-4"
|
|
257
|
+
),
|
|
258
|
+
children: e.label
|
|
259
|
+
}
|
|
260
|
+
),
|
|
261
|
+
a && !l && /* @__PURE__ */ d.jsx(ms, { className: "ds-size-4 ds-shrink-0" }),
|
|
262
|
+
l && /* @__PURE__ */ d.jsx(
|
|
263
|
+
ps,
|
|
264
|
+
{
|
|
265
|
+
isChecked: a,
|
|
266
|
+
disabled: e.disabled
|
|
267
|
+
}
|
|
268
|
+
)
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
), D = (s, e) => Array.isArray(s) ? e.filter((a) => s.includes(a.value)) : e.find((a) => a.value === s), P = (s) => Array.isArray(s) ? s.map((e) => e.label).join(", ") : s.label;
|
|
2
272
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
273
|
+
cs as Button,
|
|
274
|
+
ks as ButtonsGroupSelector,
|
|
275
|
+
M as DesktopDropdown,
|
|
276
|
+
hs as Dropdown,
|
|
277
|
+
R as MobileDropdown,
|
|
278
|
+
D as findOptionByValue
|
|
9
279
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -42,13 +42,6 @@ export declare interface AccordionProps {
|
|
|
42
42
|
onStateChange?: (state: boolean) => void;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export declare const ActionBar: ({ applyLabel, cancelLabel, onApply, onCancel, }: {
|
|
46
|
-
applyLabel: string;
|
|
47
|
-
cancelLabel: string;
|
|
48
|
-
onApply?: () => void;
|
|
49
|
-
onCancel?: () => void;
|
|
50
|
-
}) => JSX_2.Element;
|
|
51
|
-
|
|
52
45
|
declare type ActionButtonProps = {
|
|
53
46
|
label: string;
|
|
54
47
|
} & ButtonProps;
|
|
@@ -509,8 +502,6 @@ export declare const DeleteIcon: FC<{
|
|
|
509
502
|
|
|
510
503
|
export declare const desktopMinWidth: number;
|
|
511
504
|
|
|
512
|
-
export declare const DesktopMonthRangePicker: FC<PropsWithChildren<MonthRangePickerProps>>;
|
|
513
|
-
|
|
514
505
|
export declare const DesktopPopover: FC<PropsWithChildren<PopoverProps>>;
|
|
515
506
|
|
|
516
507
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -959,8 +950,6 @@ export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivEle
|
|
|
959
950
|
rtl?: boolean;
|
|
960
951
|
}
|
|
961
952
|
|
|
962
|
-
export declare const MobileMonthRangePicker: FC<PropsWithChildren<MonthRangePickerProps>>;
|
|
963
|
-
|
|
964
953
|
export declare const MobileMultiSelectFilterDropDown: ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
965
954
|
|
|
966
955
|
export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1014,39 +1003,6 @@ export declare const MoneyIcon: FC<{
|
|
|
1014
1003
|
className?: string;
|
|
1015
1004
|
}>;
|
|
1016
1005
|
|
|
1017
|
-
export declare type MonthIndex = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
1018
|
-
|
|
1019
|
-
export declare type MonthRange = {
|
|
1020
|
-
startDate: MonthYear;
|
|
1021
|
-
endDate?: MonthYear;
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
export declare const MonthRangePicker: FC<PropsWithChildren<MonthRangePickerProps>>;
|
|
1025
|
-
|
|
1026
|
-
export declare type MonthRangePickerProps = {
|
|
1027
|
-
minDate: MonthYear;
|
|
1028
|
-
maxDate: MonthYear;
|
|
1029
|
-
value?: MonthRange;
|
|
1030
|
-
onChange?: (value: MonthRange, shortcut: ShortcutsKey) => void;
|
|
1031
|
-
trigger?: ReactNode;
|
|
1032
|
-
triggerContainerClassName?: string;
|
|
1033
|
-
disabled?: boolean;
|
|
1034
|
-
placeholder?: string;
|
|
1035
|
-
/**
|
|
1036
|
-
* Pass this callback function if you want to override the default selected value display text.
|
|
1037
|
-
* By default the dropdown will display the selected dates in the format of "MMM YY - MMM YY"
|
|
1038
|
-
*/
|
|
1039
|
-
getSelectedValueDisplayText?: (value?: MonthRange, placeholder?: string) => string;
|
|
1040
|
-
shortcutLabels: ShortcutsProps['labels'];
|
|
1041
|
-
applyLabel?: string;
|
|
1042
|
-
cancelLabel?: string;
|
|
1043
|
-
};
|
|
1044
|
-
|
|
1045
|
-
export declare type MonthYear = {
|
|
1046
|
-
month: MonthIndex;
|
|
1047
|
-
year: number;
|
|
1048
|
-
};
|
|
1049
|
-
|
|
1050
1006
|
export declare const MoonIcon: FC<{
|
|
1051
1007
|
className?: string;
|
|
1052
1008
|
}>;
|
|
@@ -1527,15 +1483,6 @@ export declare const ShareIcon: FC<{
|
|
|
1527
1483
|
className?: string;
|
|
1528
1484
|
}>;
|
|
1529
1485
|
|
|
1530
|
-
declare type ShortcutsKey = 'custom' | 'currentMonth' | 'lastMonth' | 'last3Months' | 'last12Months' | 'allTime';
|
|
1531
|
-
|
|
1532
|
-
declare type ShortcutsProps = {
|
|
1533
|
-
labels: Record<ShortcutsKey, string>;
|
|
1534
|
-
value?: ShortcutsKey;
|
|
1535
|
-
onChange?: (value: ShortcutsKey) => void;
|
|
1536
|
-
className?: string;
|
|
1537
|
-
};
|
|
1538
|
-
|
|
1539
1486
|
export declare const SingleBuildingIcon: FC<{
|
|
1540
1487
|
className?: string;
|
|
1541
1488
|
}>;
|
|
@@ -1689,6 +1636,10 @@ declare const textVariants: {
|
|
|
1689
1636
|
readonly lineHeight: "var(--xLargeHero-TitleRegular-line-height)";
|
|
1690
1637
|
readonly fontWeight: "var(--xLargeHero-TitleRegular-font-weight)";
|
|
1691
1638
|
}];
|
|
1639
|
+
readonly xLargeHeroTitleEmphasized: readonly ["var(--xLargeHero-TitleEmphasized-font-size)", {
|
|
1640
|
+
readonly lineHeight: "var(--xLargeHero-TitleEmphasized-line-height)";
|
|
1641
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1642
|
+
}];
|
|
1692
1643
|
readonly xLargeTitle1Regular: readonly ["var(--xLargeTitle-1Regular-font-size)", {
|
|
1693
1644
|
readonly lineHeight: "var(--xLargeTitle-1Regular-line-height)";
|
|
1694
1645
|
readonly fontWeight: "var(--xLargeTitle-1Regular-font-weight)";
|
|
@@ -1749,6 +1700,10 @@ declare const textVariants: {
|
|
|
1749
1700
|
readonly lineHeight: "var(--LargeHero-TitleRegular-line-height)";
|
|
1750
1701
|
readonly fontWeight: "var(--LargeHero-TitleRegular-font-weight)";
|
|
1751
1702
|
}];
|
|
1703
|
+
readonly largeHeroTitleEmphasized: readonly ["var(--LargeHero-TitleEmphasized-font-size)", {
|
|
1704
|
+
readonly lineHeight: "var(--LargeHero-TitleEmphasized-line-height)";
|
|
1705
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1706
|
+
}];
|
|
1752
1707
|
readonly largeTitle1Regular: readonly ["var(--LargeTitle-1Regular-font-size)", {
|
|
1753
1708
|
readonly lineHeight: "var(--LargeTitle-1Regular-line-height)";
|
|
1754
1709
|
readonly fontWeight: "var(--LargeTitle-1Regular-font-weight)";
|
|
@@ -1809,6 +1764,10 @@ declare const textVariants: {
|
|
|
1809
1764
|
readonly lineHeight: "var(--MediumHero-TitleRegular-line-height)";
|
|
1810
1765
|
readonly fontWeight: "var(--MediumHero-TitleRegular-font-weight)";
|
|
1811
1766
|
}];
|
|
1767
|
+
readonly mediumHeroTitleEmphasized: readonly ["var(--MediumHero-TitleEmphasized-font-size)", {
|
|
1768
|
+
readonly lineHeight: "var(--MediumHero-TitleEmphasized-line-height)";
|
|
1769
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1770
|
+
}];
|
|
1812
1771
|
readonly mediumTitle1Regular: readonly ["var(--MediumTitle-1Regular-font-size)", {
|
|
1813
1772
|
readonly lineHeight: "var(--MediumTitle-1Regular-line-height)";
|
|
1814
1773
|
readonly fontWeight: "var(--MediumTitle-1Regular-font-weight)";
|
|
@@ -1909,6 +1868,10 @@ declare const textVariants: {
|
|
|
1909
1868
|
readonly lineHeight: "var(--SmallHero-TitleRegular-line-height)";
|
|
1910
1869
|
readonly fontWeight: "var(--SmallHero-TitleRegular-font-weight)";
|
|
1911
1870
|
}];
|
|
1871
|
+
readonly smallHeroTitleEmphasized: readonly ["var(--SmallHero-TitleEmphasized-font-size)", {
|
|
1872
|
+
readonly lineHeight: "var(--SmallHero-TitleEmphasized-line-height)";
|
|
1873
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1874
|
+
}];
|
|
1912
1875
|
readonly smallTitle1Regular: readonly ["var(--SmallTitle-1Regular-font-size)", {
|
|
1913
1876
|
readonly lineHeight: "var(--SmallTitle-1Regular-line-height)";
|
|
1914
1877
|
readonly fontWeight: "var(--SmallTitle-1Regular-font-weight)";
|
|
@@ -1933,30 +1896,14 @@ declare const textVariants: {
|
|
|
1933
1896
|
readonly lineHeight: "var(--SmallTitle-3Regular-line-height)";
|
|
1934
1897
|
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1935
1898
|
}];
|
|
1936
|
-
readonly smallBodyRegular: readonly ["15px", {
|
|
1937
|
-
readonly lineHeight: "24px";
|
|
1938
|
-
readonly fontWeight: "var(--font-weight-normal)";
|
|
1939
|
-
}];
|
|
1940
|
-
readonly smallBodyEmphasized: readonly ["15px", {
|
|
1941
|
-
readonly lineHeight: "24px";
|
|
1942
|
-
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1943
|
-
}];
|
|
1944
1899
|
readonly smallBody1Regular: readonly ["var(--SmallBody-1Regular-font-size)", {
|
|
1945
1900
|
readonly lineHeight: "var(--SmallBody-1Regular-line-height)";
|
|
1946
1901
|
readonly fontWeight: "var(--SmallBody-1Regular-font-weight)";
|
|
1947
1902
|
}];
|
|
1948
|
-
readonly smallBody1Emphasized: readonly ["var(--SmallBody-1Regular-font-size)", {
|
|
1949
|
-
readonly lineHeight: "var(--SmallBody-1Regular-line-height)";
|
|
1950
|
-
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1951
|
-
}];
|
|
1952
1903
|
readonly smallBody2Regular: readonly ["var(--SmallBody-2Regular-font-size)", {
|
|
1953
1904
|
readonly lineHeight: "var(--SmallBody-2Regular-line-height)";
|
|
1954
1905
|
readonly fontWeight: "var(--SmallBody-2Regular-font-weight)";
|
|
1955
1906
|
}];
|
|
1956
|
-
readonly smallBody2Emphasized: readonly ["var(--SmallBody-2Regular-font-size)", {
|
|
1957
|
-
readonly lineHeight: "var(--SmallBody-2Regular-line-height)";
|
|
1958
|
-
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1959
|
-
}];
|
|
1960
1907
|
readonly smallSubheadRegular: readonly ["var(--SmallSubhead-Regular-font-size)", {
|
|
1961
1908
|
readonly lineHeight: "var(--SmallSubhead-Regular-line-height)";
|
|
1962
1909
|
readonly fontWeight: "var(--font-weight-normal)";
|
|
@@ -2001,6 +1948,10 @@ declare const textVariants: {
|
|
|
2001
1948
|
readonly lineHeight: "var(--xSmallHero-TitleRegular-line-height)";
|
|
2002
1949
|
readonly fontWeight: "var(--xSmallHero-TitleRegular-font-weight)";
|
|
2003
1950
|
}];
|
|
1951
|
+
readonly xSmallHeroTitleEmphasized: readonly ["var(--xSmallHero-TitleEmphasized-font-size)", {
|
|
1952
|
+
readonly lineHeight: "var(--xSmallHero-TitleEmphasized-line-height)";
|
|
1953
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1954
|
+
}];
|
|
2004
1955
|
readonly xSmallTitle1Regular: readonly ["var(--xSmallTitle-1Regular-font-size)", {
|
|
2005
1956
|
readonly lineHeight: "var(--xSmallTitle-1Regular-line-height)";
|
|
2006
1957
|
readonly fontWeight: "var(--xSmallTitle-1Regular-font-weight)";
|
|
@@ -2275,9 +2226,6 @@ export declare const useDocumentSize: () => {
|
|
|
2275
2226
|
documentWidth: number;
|
|
2276
2227
|
documentHeight: number;
|
|
2277
2228
|
screenSize: "mobile" | "tablet" | "desktop";
|
|
2278
|
-
isMobile: boolean;
|
|
2279
|
-
isTablet: boolean;
|
|
2280
|
-
isDesktop: boolean;
|
|
2281
2229
|
};
|
|
2282
2230
|
|
|
2283
2231
|
export declare const WarningHollowIcon: FC<{
|