@cupra/ui-react 2.0.0-canary.126 → 2.0.0-canary.128
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/cjs/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/cjs/components/Accordion/Accordion.cjs +1 -1
- package/dist/cjs/components/Avatar/Avatar.cjs +1 -1
- package/dist/cjs/components/Badge/Badge.cjs +1 -1
- package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -1
- package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -1
- package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -1
- package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -1
- package/dist/cjs/components/Bullets/Bullets.cjs +1 -1
- package/dist/cjs/components/Button/Button.cjs +1 -1
- package/dist/cjs/components/Calendar/Calendar.cjs +1 -1
- package/dist/cjs/components/CarouselIndicator/CarouselIndicator.cjs +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/CheckboxGroup.cjs +1 -1
- package/dist/cjs/components/Chip/Chip.cjs +1 -1
- package/dist/cjs/components/Chips/Chips.cjs +1 -1
- package/dist/cjs/components/Currency/Currency.cjs +1 -1
- package/dist/cjs/components/DatePicker/DatePicker.cjs +1 -1
- package/dist/cjs/components/Dialog/Dialog.cjs +1 -1
- package/dist/cjs/components/DialogBody/DialogBody.cjs +1 -1
- package/dist/cjs/components/DialogFooter/DialogFooter.cjs +1 -1
- package/dist/cjs/components/DialogFullscreen/DialogFullscreen.cjs +1 -1
- package/dist/cjs/components/DialogHeader/DialogHeader.cjs +1 -1
- package/dist/cjs/components/Divider/Divider.cjs +1 -1
- package/dist/cjs/components/Drawer/Drawer.cjs +1 -1
- package/dist/cjs/components/FavouriteAction/FavouriteAction.cjs +1 -1
- package/dist/cjs/components/Hyperlink/Hyperlink.cjs +1 -1
- package/dist/cjs/components/Icon/Icon.cjs +1 -1
- package/dist/cjs/components/IconButton/IconButton.cjs +1 -1
- package/dist/cjs/components/IconButtonGroup/IconButtonGroup.cjs +1 -1
- package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -1
- package/dist/cjs/components/Input/Input.cjs +1 -1
- package/dist/cjs/components/InteractiveCard/InteractiveCard.cjs +1 -1
- package/dist/cjs/components/LinkButton/LinkButton.cjs +1 -1
- package/dist/cjs/components/List/List.cjs +1 -1
- package/dist/cjs/components/ListItem/ListItem.cjs +1 -1
- package/dist/cjs/components/Loader/Loader.cjs +1 -1
- package/dist/cjs/components/Logo/Logo.cjs +1 -1
- package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -1
- package/dist/cjs/components/MapPin/MapPin.cjs +1 -1
- package/dist/cjs/components/MediaControl/MediaControl.cjs +1 -1
- package/dist/cjs/components/Modal/Modal.cjs +2 -2
- package/dist/cjs/components/NavigationControls/NavigationControls.cjs +1 -1
- package/dist/cjs/components/PasswordInput/PasswordInput.cjs +1 -1
- package/dist/cjs/components/PickerItem/PickerItem.cjs +1 -1
- package/dist/cjs/components/Radio/Radio.cjs +1 -1
- package/dist/cjs/components/RadioButton/RadioButton.cjs +1 -1
- package/dist/cjs/components/RadioButtonGroup/RadioButtonGroup.cjs +1 -1
- package/dist/cjs/components/Rating/Rating.cjs +1 -1
- package/dist/cjs/components/Search/Search.cjs +1 -1
- package/dist/cjs/components/SearchInput/SearchInput.cjs +1 -1
- package/dist/cjs/components/SecondaryNavigation/SecondaryNavigation.cjs +1 -1
- package/dist/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -1
- package/dist/cjs/components/Select/Select.cjs +1 -1
- package/dist/cjs/components/Selection/Selection.cjs +1 -1
- package/dist/cjs/components/SidebarNavigation/SidebarNavigation.cjs +1 -1
- package/dist/cjs/components/Skeleton/Skeleton.cjs +1 -1
- package/dist/cjs/components/Slider/Slider.cjs +1 -1
- package/dist/cjs/components/StaticBox/StaticBox.cjs +1 -1
- package/dist/cjs/components/Stepper/Stepper.cjs +1 -1
- package/dist/cjs/components/Table/Table.cjs +1 -1
- package/dist/cjs/components/TableCell/TableCell.cjs +1 -1
- package/dist/cjs/components/TableRow/TableRow.cjs +1 -1
- package/dist/cjs/components/Tabs/Tabs.cjs +1 -1
- package/dist/cjs/components/Tag/Tag.cjs +1 -1
- package/dist/cjs/components/Text/Text.cjs +1 -1
- package/dist/cjs/components/TextInput/TextInput.cjs +1 -1
- package/dist/cjs/components/Textarea/Textarea.cjs +1 -1
- package/dist/cjs/components/ThemeProvider/ThemeProvider.cjs +1 -1
- package/dist/cjs/components/Toast/Toast.cjs +1 -1
- package/dist/cjs/components/ToastMessage/ToastMessage.cjs +1 -1
- package/dist/cjs/components/ToggleButton/ToggleButton.cjs +1 -1
- package/dist/cjs/components/ToggleSwitch/ToggleSwitch.cjs +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -1
- package/dist/cjs/components/ValueUnit/ValueUnit.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +80 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.cjs +1 -1
- package/dist/esm/components/Accordion/Accordion.js +10 -9
- package/dist/esm/components/Avatar/Avatar.js +13 -11
- package/dist/esm/components/Badge/Badge.js +8 -6
- package/dist/esm/components/BasicCard/BasicCard.js +13 -11
- package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +19 -17
- package/dist/esm/components/BasicCardImage/BasicCardImage.js +10 -8
- package/dist/esm/components/BasicCardSection/BasicCardSection.js +10 -8
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +9 -8
- package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +12 -11
- package/dist/esm/components/Bullets/Bullets.js +6 -5
- package/dist/esm/components/Button/Button.js +12 -10
- package/dist/esm/components/Calendar/Calendar.js +10 -8
- package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +9 -7
- package/dist/esm/components/Checkbox/Checkbox.js +10 -8
- package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +11 -9
- package/dist/esm/components/Chip/Chip.js +10 -8
- package/dist/esm/components/Chips/Chips.js +11 -9
- package/dist/esm/components/Currency/Currency.js +9 -7
- package/dist/esm/components/DatePicker/DatePicker.js +20 -18
- package/dist/esm/components/Dialog/Dialog.js +12 -10
- package/dist/esm/components/DialogBody/DialogBody.js +10 -8
- package/dist/esm/components/DialogFooter/DialogFooter.js +10 -8
- package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +12 -10
- package/dist/esm/components/DialogHeader/DialogHeader.js +10 -8
- package/dist/esm/components/Divider/Divider.js +8 -6
- package/dist/esm/components/Drawer/Drawer.js +18 -16
- package/dist/esm/components/FavouriteAction/FavouriteAction.js +15 -13
- package/dist/esm/components/Hyperlink/Hyperlink.js +10 -8
- package/dist/esm/components/Icon/Icon.js +10 -8
- package/dist/esm/components/IconButton/IconButton.js +11 -9
- package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +10 -8
- package/dist/esm/components/InlineAlert/InlineAlert.js +11 -9
- package/dist/esm/components/Input/Input.js +14 -13
- package/dist/esm/components/InteractiveCard/InteractiveCard.js +19 -17
- package/dist/esm/components/LinkButton/LinkButton.js +10 -8
- package/dist/esm/components/List/List.js +9 -7
- package/dist/esm/components/ListItem/ListItem.js +12 -10
- package/dist/esm/components/Loader/Loader.js +20 -18
- package/dist/esm/components/Logo/Logo.js +9 -7
- package/dist/esm/components/MainTitle/MainTitle.js +17 -15
- package/dist/esm/components/MapPin/MapPin.js +9 -7
- package/dist/esm/components/MediaControl/MediaControl.js +12 -10
- package/dist/esm/components/Modal/Modal.js +27 -25
- package/dist/esm/components/NavigationControls/NavigationControls.js +10 -8
- package/dist/esm/components/PasswordInput/PasswordInput.js +25 -23
- package/dist/esm/components/PickerItem/PickerItem.js +12 -10
- package/dist/esm/components/Radio/Radio.js +14 -12
- package/dist/esm/components/RadioButton/RadioButton.js +11 -9
- package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +11 -9
- package/dist/esm/components/Rating/Rating.js +9 -7
- package/dist/esm/components/Search/Search.js +9 -8
- package/dist/esm/components/SearchInput/SearchInput.js +23 -21
- package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +13 -11
- package/dist/esm/components/SegmentedControl/SegmentedControl.js +11 -9
- package/dist/esm/components/Select/Select.js +6 -5
- package/dist/esm/components/Selection/Selection.js +9 -7
- package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +20 -18
- package/dist/esm/components/Skeleton/Skeleton.js +8 -6
- package/dist/esm/components/Slider/Slider.js +11 -9
- package/dist/esm/components/StaticBox/StaticBox.js +12 -10
- package/dist/esm/components/Stepper/Stepper.js +6 -5
- package/dist/esm/components/Table/Table.js +10 -8
- package/dist/esm/components/TableCell/TableCell.js +10 -8
- package/dist/esm/components/TableRow/TableRow.js +10 -8
- package/dist/esm/components/Tabs/Tabs.js +15 -13
- package/dist/esm/components/Tag/Tag.js +11 -9
- package/dist/esm/components/Text/Text.js +10 -8
- package/dist/esm/components/TextInput/TextInput.js +27 -25
- package/dist/esm/components/Textarea/Textarea.js +29 -27
- package/dist/esm/components/ThemeProvider/ThemeProvider.js +6 -5
- package/dist/esm/components/Toast/Toast.js +10 -8
- package/dist/esm/components/ToastMessage/ToastMessage.js +11 -9
- package/dist/esm/components/ToggleButton/ToggleButton.js +9 -7
- package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +17 -15
- package/dist/esm/components/Tooltip/Tooltip.js +14 -13
- package/dist/esm/components/ValueUnit/ValueUnit.js +13 -11
- package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +7 -0
- package/dist/esm/node_modules/.pnpm/{@emotion_memoize@0.8.1 → @emotion_memoize@0.9.0}/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +1 -1
- package/dist/esm/node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +700 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js +4 -0
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.js +1 -1
- package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js +95 -0
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Prefixer.js +9 -9
- package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js +21 -0
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.js +2 -2
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.js +1 -1
- package/package.json +4 -4
- package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +0 -70
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +0 -1
- package/dist/esm/_virtual/_rolldown/runtime.js +0 -13
- package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -7
- package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -51
- package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +0 -22
- package/dist/esm/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +0 -673
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +0 -4
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +0 -93
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +0 -20
- package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -13
- /package/dist/cjs/node_modules/.pnpm/{@emotion_memoize@0.8.1 → @emotion_memoize@0.9.0}/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -0
- /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.cjs +0 -0
- /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.cjs +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js
|
|
2
|
+
var e = "-ms-", t = "-moz-", n = "-webkit-", r = "comm", i = "rule", a = "decl", o = "@import", s = "@namespace", c = "@keyframes", l = "@layer";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { r as COMMENT, a as DECLARATION, o as IMPORT, c as KEYFRAMES, l as LAYER, t as MOZ, e as MS, s as NAMESPACE, i as RULESET, n as WEBKIT };
|
|
@@ -3,7 +3,7 @@ import { assign as o, combine as s, filter as c, match as l, replace as u, sizeo
|
|
|
3
3
|
import { copy as f, lift as p } from "./Tokenizer.js";
|
|
4
4
|
import { prefix as m } from "./Prefixer.js";
|
|
5
5
|
import { serialize as h } from "./Serializer.js";
|
|
6
|
-
//#region ../../node_modules/.pnpm/stylis@4.3.
|
|
6
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.js
|
|
7
7
|
function g(e) {
|
|
8
8
|
var t = d(e);
|
|
9
9
|
return function(n, r, i, a) {
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { COMMENT as e, DECLARATION as t, RULESET as n } from "./Enum.js";
|
|
2
|
+
import { abs as r, append as i, charat as a, from as o, indexof as s, replace as c, sizeof as l, strlen as u, substr as d, trim as f } from "./Utility.js";
|
|
3
|
+
import { alloc as p, caret as m, char as h, commenter as g, dealloc as _, delimit as v, escaping as y, identifier as b, next as x, node as S, peek as C, prev as w, token as T, whitespace as E } from "./Tokenizer.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js
|
|
5
|
+
function D(e) {
|
|
6
|
+
return _(O("", null, null, null, [""], e = p(e), 0, [0], e));
|
|
7
|
+
}
|
|
8
|
+
function O(e, t, n, l, f, p, h, _, S) {
|
|
9
|
+
for (var D = 0, M = 0, N = h, P = 0, F = 0, I = 0, L = 1, R = 1, z = 1, B = 0, V = "", H = f, U = p, W = l, G = V; R;) switch (I = B, B = x()) {
|
|
10
|
+
case 40: if (I != 108 && a(G, N - 1) == 58) {
|
|
11
|
+
s(G += c(v(B), "&", "&\f"), "&\f", r(D ? _[D - 1] : 0)) != -1 && (z = -1);
|
|
12
|
+
break;
|
|
13
|
+
}
|
|
14
|
+
case 34:
|
|
15
|
+
case 39:
|
|
16
|
+
case 91:
|
|
17
|
+
G += v(B);
|
|
18
|
+
break;
|
|
19
|
+
case 9:
|
|
20
|
+
case 10:
|
|
21
|
+
case 13:
|
|
22
|
+
case 32:
|
|
23
|
+
G += E(I);
|
|
24
|
+
break;
|
|
25
|
+
case 92:
|
|
26
|
+
G += y(m() - 1, 7);
|
|
27
|
+
continue;
|
|
28
|
+
case 47:
|
|
29
|
+
switch (C()) {
|
|
30
|
+
case 42:
|
|
31
|
+
case 47:
|
|
32
|
+
i(A(g(x(), m()), t, n, S), S), (T(I || 1) == 5 || T(C() || 1) == 5) && u(G) && d(G, -1, void 0) !== " " && (G += " ");
|
|
33
|
+
break;
|
|
34
|
+
default: G += "/";
|
|
35
|
+
}
|
|
36
|
+
break;
|
|
37
|
+
case 123 * L: _[D++] = u(G) * z;
|
|
38
|
+
case 125 * L:
|
|
39
|
+
case 59:
|
|
40
|
+
case 0:
|
|
41
|
+
switch (B) {
|
|
42
|
+
case 0:
|
|
43
|
+
case 125: R = 0;
|
|
44
|
+
case 59 + M:
|
|
45
|
+
z == -1 && (G = c(G, /\f/g, "")), F > 0 && (u(G) - N || L === 0 && I === 47) && i(F > 32 ? j(G + ";", l, n, N - 1, S) : j(c(G, " ", "") + ";", l, n, N - 2, S), S);
|
|
46
|
+
break;
|
|
47
|
+
case 59: G += ";";
|
|
48
|
+
default: if (i(W = k(G, t, n, D, M, f, _, V, H = [], U = [], N, p), p), B === 123) if (M === 0) O(G, t, W, W, H, p, N, _, U);
|
|
49
|
+
else {
|
|
50
|
+
switch (P) {
|
|
51
|
+
case 99: if (a(G, 3) === 110) break;
|
|
52
|
+
case 108: if (a(G, 2) === 97) break;
|
|
53
|
+
default: M = 0;
|
|
54
|
+
case 100:
|
|
55
|
+
case 109:
|
|
56
|
+
case 115:
|
|
57
|
+
}
|
|
58
|
+
M ? O(e, W, W, l && i(k(e, W, W, 0, 0, f, _, V, f, H = [], N, U), U), f, U, N, _, l ? H : U) : O(G, W, W, W, [""], U, 0, _, U);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
D = M = F = 0, L = z = 1, V = G = "", N = h;
|
|
62
|
+
break;
|
|
63
|
+
case 58: N = 1 + u(G), F = I;
|
|
64
|
+
default:
|
|
65
|
+
if (L < 1) {
|
|
66
|
+
if (B == 123) --L;
|
|
67
|
+
else if (B == 125 && L++ == 0 && w() == 125) continue;
|
|
68
|
+
}
|
|
69
|
+
switch (G += o(B), B * L) {
|
|
70
|
+
case 38:
|
|
71
|
+
z = M > 0 ? 1 : (G += "\f", -1);
|
|
72
|
+
break;
|
|
73
|
+
case 44:
|
|
74
|
+
_[D++] = (u(G) - 1) * z, z = 1;
|
|
75
|
+
break;
|
|
76
|
+
case 64:
|
|
77
|
+
C() === 45 && (G += v(x())), P = C(), M = N = u(V = G += b(m())), B++;
|
|
78
|
+
break;
|
|
79
|
+
case 45: I === 45 && u(G) == 2 && (L = 0);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return p;
|
|
83
|
+
}
|
|
84
|
+
function k(e, t, i, a, o, s, u, p, m, h, g, _) {
|
|
85
|
+
for (var v = o - 1, y = o === 0 ? s : [""], b = l(y), x = 0, C = 0, w = 0; x < a; ++x) for (var T = 0, E = d(e, v + 1, v = r(C = u[x])), D = e; T < b; ++T) (D = f(C > 0 ? y[T] + " " + E : c(E, /&\f/g, y[T]))) && (m[w++] = D);
|
|
86
|
+
return S(e, t, i, o === 0 ? n : p, m, h, g, _);
|
|
87
|
+
}
|
|
88
|
+
function A(t, n, r, i) {
|
|
89
|
+
return S(t, n, r, e, o(h()), d(t, 2, -2), 0, i);
|
|
90
|
+
}
|
|
91
|
+
function j(e, n, r, i, a) {
|
|
92
|
+
return S(e, n, r, t, d(e, 0, i), d(e, i + 1, -1), i, a);
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { D as compile };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MOZ as e, MS as t, WEBKIT as n } from "./Enum.js";
|
|
2
2
|
import { charat as r, hash as i, indexof as a, match as o, replace as s, strlen as c, substr as l } from "./Utility.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/stylis@4.3.
|
|
3
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.js
|
|
4
4
|
function u(d, f, p) {
|
|
5
5
|
switch (i(d, f)) {
|
|
6
6
|
case 5103: return n + "print-" + d + d;
|
|
@@ -17,18 +17,18 @@ function u(d, f, p) {
|
|
|
17
17
|
case 3191:
|
|
18
18
|
case 6645:
|
|
19
19
|
case 3005:
|
|
20
|
-
case 6391:
|
|
21
|
-
case 5879:
|
|
22
|
-
case 5623:
|
|
23
|
-
case 6135:
|
|
24
|
-
case 4599:
|
|
25
|
-
case 4855:
|
|
26
20
|
case 4215:
|
|
27
21
|
case 6389:
|
|
28
22
|
case 5109:
|
|
29
23
|
case 5365:
|
|
30
24
|
case 5621:
|
|
31
|
-
case 3829:
|
|
25
|
+
case 3829:
|
|
26
|
+
case 6391:
|
|
27
|
+
case 5879:
|
|
28
|
+
case 5623:
|
|
29
|
+
case 6135:
|
|
30
|
+
case 4599: return n + d + d;
|
|
31
|
+
case 4855: return n + d.replace("add", "source-over").replace("substract", "source-out").replace("intersect", "source-in").replace("exclude", "xor") + d;
|
|
32
32
|
case 4789: return e + d + d;
|
|
33
33
|
case 5349:
|
|
34
34
|
case 4246:
|
|
@@ -54,7 +54,7 @@ function u(d, f, p) {
|
|
|
54
54
|
case 6187: return s(s(s(d, /(zoom-|grab)/, n + "$1"), /(image-set)/, n + "$1"), d, "") + d;
|
|
55
55
|
case 5495:
|
|
56
56
|
case 3959: return s(d, /(image-set\([^]*)/, n + "$1$`$1");
|
|
57
|
-
case 4968: return s(s(d, /(.+:)(flex-)?(.*)/, n + "box-pack:$3" + t + "flex-pack:$3"), /
|
|
57
|
+
case 4968: return s(s(d, /(.+:)(flex-)?(.*)/, n + "box-pack:$3" + t + "flex-pack:$3"), /space-between/, "justify") + n + d + d;
|
|
58
58
|
case 4200:
|
|
59
59
|
if (!o(d, /flex-|baseline/)) return t + "grid-column-align" + l(d, f) + d;
|
|
60
60
|
break;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { COMMENT as e, DECLARATION as t, IMPORT as n, KEYFRAMES as r, LAYER as i, NAMESPACE as a, RULESET as o } from "./Enum.js";
|
|
2
|
+
import { strlen as s } from "./Utility.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js
|
|
4
|
+
function c(e, t) {
|
|
5
|
+
for (var n = "", r = 0; r < e.length; r++) n += t(e[r], r, e, t) || "";
|
|
6
|
+
return n;
|
|
7
|
+
}
|
|
8
|
+
function l(l, u, d, f) {
|
|
9
|
+
switch (l.type) {
|
|
10
|
+
case i: if (l.children.length) break;
|
|
11
|
+
case n:
|
|
12
|
+
case a:
|
|
13
|
+
case t: return l.return = l.return || l.value;
|
|
14
|
+
case e: return "";
|
|
15
|
+
case r: return l.return = l.value + "{" + c(l.children, f) + "}";
|
|
16
|
+
case o: if (!s(l.value = l.props.join(","))) return "";
|
|
17
|
+
}
|
|
18
|
+
return s(d = c(l.children, f)) ? l.return = l.value + "{" + d + "}" : "";
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { c as serialize, l as stringify };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { append as e, assign as t, charat as n, from as r, strlen as i, substr as a, trim as o } from "./Utility.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/stylis@4.3.
|
|
2
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js
|
|
3
3
|
var s = 1, c = 1, l = 0, u = 0, d = 0, f = "";
|
|
4
4
|
function p(e, t, n, r, i, a, o, l) {
|
|
5
5
|
return {
|
|
@@ -110,4 +110,4 @@ function A(e) {
|
|
|
110
110
|
return x(e, u);
|
|
111
111
|
}
|
|
112
112
|
//#endregion
|
|
113
|
-
export { C as alloc, b as caret, g as char, k as commenter, m as copy, w as dealloc, T as delimit, D as escaping, A as identifier, h as lift, v as next, p as node, y as peek, _ as prev, E as whitespace };
|
|
113
|
+
export { C as alloc, b as caret, g as char, k as commenter, m as copy, w as dealloc, T as delimit, D as escaping, A as identifier, h as lift, v as next, p as node, y as peek, _ as prev, S as token, E as whitespace };
|
package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/stylis@4.3.
|
|
1
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js
|
|
2
2
|
var e = Math.abs, t = String.fromCharCode, n = Object.assign;
|
|
3
3
|
function r(e, t) {
|
|
4
4
|
return c(e, 0) ^ 45 ? (((t << 2 ^ c(e, 0)) << 2 ^ c(e, 1)) << 2 ^ c(e, 2)) << 2 ^ c(e, 3) : 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cupra/ui-react",
|
|
3
|
-
"version": "2.0.0-canary.
|
|
3
|
+
"version": "2.0.0-canary.128",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">= 18.3.1 < 20",
|
|
53
53
|
"react-dom": ">= 18.3.1 < 20",
|
|
54
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
54
|
+
"@cupra/ui-kit": "2.0.0-canary.115",
|
|
55
55
|
"typescript": ">=5.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"styled-components": "^6.1
|
|
58
|
+
"styled-components": "^6.4.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@storybook/addon-docs": "^10.3.3",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"storybook": "^10.3.3",
|
|
77
77
|
"typescript": "^5.8.2",
|
|
78
78
|
"vite": "^8.0.5",
|
|
79
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
79
|
+
"@cupra/ui-kit": "2.0.0-canary.115"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
82
|
"build": "rm -rf dist && pnpm --filter @cupra/ui-kit build:react && tsc --declaration --emitDeclarationOnly && BUILD_FORMAT=esm vite build --emptyOutDir false && BUILD_FORMAT=cjs vite build --emptyOutDir false",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`../../../../../@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs`);var t=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,n=e.memoize(function(e){return t.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});exports.isPropValid=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};exports.unitlessKeys=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=require(`../../../../../_virtual/_rolldown/runtime.cjs`).__commonJSMin(((e,t)=>{t.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var l=a[c];if(!s(l))return!1;var u=e[l],d=t[l];if(i=n?n.call(r,u,d,l):void 0,i===!1||i===void 0&&u!==d)return!1}return!0}}));Object.defineProperty(exports,`default`,{enumerable:!0,get:function(){return e()}});
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
const e=require(`../../../../../../_virtual/_rolldown/runtime.cjs`),t=require(`../../../../tslib@2.6.2/node_modules/tslib/tslib.es6.cjs`),n=require(`../../../../@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs`),r=require(`../../../../shallowequal@1.1.0/node_modules/shallowequal/index.cjs`);require(`../../../../stylis@4.3.2/node_modules/stylis/src/Enum.cjs`);const i=require(`../../../../stylis@4.3.2/node_modules/stylis/src/Parser.cjs`),a=require(`../../../../stylis@4.3.2/node_modules/stylis/src/Serializer.cjs`),o=require(`../../../../stylis@4.3.2/node_modules/stylis/src/Middleware.cjs`),s=require(`../../../../@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs`);let c=require(`react`);c=e.__toESM(c);var l=e.__toESM(r.default),u=typeof process<`u`&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||`data-styled`,d=`active`,f=`data-styled-version`,p=`6.1.19`,m=`/*!sc*/
|
|
2
|
-
`,h=typeof window<`u`&&typeof document<`u`,g=!!(typeof SC_DISABLE_SPEEDY==`boolean`?SC_DISABLE_SPEEDY:typeof process<`u`&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==``?process.env.REACT_APP_SC_DISABLE_SPEEDY!==`false`&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<`u`&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==``?process.env.SC_DISABLE_SPEEDY!==`false`&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!==`production`),_=/invalid hook call/i,v=new Set,y=function(e,n){if(process.env.NODE_ENV!==`production`){var r=`The component ${e}${n?` with the id of "${n}"`:``} has been created dynamically.
|
|
3
|
-
You may see this warning because you've called styled inside another component.
|
|
4
|
-
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
5
|
-
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
6
|
-
`,i=console.error;try{var a=!0;console.error=function(e){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];_.test(e)?(a=!1,v.delete(r)):i.apply(void 0,t.__spreadArray([e],n,!1))},(0,c.useRef)(),a&&!v.has(r)&&(console.warn(r),v.add(r))}catch(e){_.test(e.message)&&v.delete(r)}finally{console.error=i}}},b=Object.freeze([]),x=Object.freeze({});function ee(e,t,n){return n===void 0&&(n=x),e.theme!==n.theme&&e.theme||t||n.theme}var S=new Set(`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.track.u.ul.use.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.marker.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`)),C=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,te=/(^-|-$)/g;function w(e){return e.replace(C,`-`).replace(te,``)}var T=/(a)(d)/gi,E=52,D=function(e){return String.fromCharCode(e+(e>25?39:97))};function O(e){var t,n=``;for(t=Math.abs(e);t>E;t=t/E|0)n=D(t%E)+n;return(D(t%E)+n).replace(T,`$1-$2`)}var k,ne=5381,A=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},re=function(e){return A(ne,e)};function ie(e){return O(re(e)>>>0)}function ae(e){return process.env.NODE_ENV!==`production`&&typeof e==`string`&&e||e.displayName||e.name||`Component`}function j(e){return typeof e==`string`&&(process.env.NODE_ENV===`production`||e.charAt(0)===e.charAt(0).toLowerCase())}var oe=typeof Symbol==`function`&&Symbol.for,se=oe?Symbol.for(`react.memo`):60115,ce=oe?Symbol.for(`react.forward_ref`):60112,le={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ue={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},de={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},fe=((k={})[ce]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},k[se]=de,k);function pe(e){return(`type`in(t=e)&&t.type.$$typeof)===se?de:`$$typeof`in e?fe[e.$$typeof]:le;var t}var me=Object.defineProperty,he=Object.getOwnPropertyNames,ge=Object.getOwnPropertySymbols,_e=Object.getOwnPropertyDescriptor,ve=Object.getPrototypeOf,ye=Object.prototype;function be(e,t,n){if(typeof t!=`string`){if(ye){var r=ve(t);r&&r!==ye&&be(e,r,n)}var i=he(t);ge&&(i=i.concat(ge(t)));for(var a=pe(e),o=pe(t),s=0;s<i.length;++s){var c=i[s];if(!(c in ue||n&&n[c]||o&&c in o||a&&c in a)){var l=_e(t,c);try{me(e,c,l)}catch{}}}}return e}function M(e){return typeof e==`function`}function N(e){return typeof e==`object`&&`styledComponentId`in e}function P(e,t){return e&&t?`${e} ${t}`:e||t||``}function F(e,t){if(e.length===0)return``;for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function I(e){return typeof e==`object`&&!!e&&e.constructor.name===Object.name&&!(`props`in e&&e.$$typeof)}function L(e,t,n){if(n===void 0&&(n=!1),!n&&!I(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=L(e[r],t[r]);else if(I(t))for(var r in t)e[r]=L(e[r],t[r]);return e}function R(e,t){Object.defineProperty(e,`toString`,{value:t})}var xe=process.env.NODE_ENV===`production`?{}:{1:`Cannot create styled-component for component: %s.
|
|
7
|
-
|
|
8
|
-
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
9
|
-
|
|
10
|
-
- Are you trying to reuse it across renders?
|
|
11
|
-
- Are you accidentally calling collectStyles twice?
|
|
12
|
-
|
|
13
|
-
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
14
|
-
|
|
15
|
-
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
16
|
-
|
|
17
|
-
- Does this error occur on the client and is your target falsy?
|
|
18
|
-
- Does this error occur on the server and is the sheet falsy?
|
|
19
|
-
|
|
20
|
-
`,5:`The clone method cannot be used on the client!
|
|
21
|
-
|
|
22
|
-
- Are you running in a client-like environment on the server?
|
|
23
|
-
- Are you trying to run SSR on the client?
|
|
24
|
-
|
|
25
|
-
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
26
|
-
|
|
27
|
-
- Are you using a custom target that isn't mounted?
|
|
28
|
-
- Does your document not have a valid head element?
|
|
29
|
-
- Have you accidentally removed a style tag manually?
|
|
30
|
-
|
|
31
|
-
`,7:`ThemeProvider: Please return an object from your "theme" prop function, e.g.
|
|
32
|
-
|
|
33
|
-
\`\`\`js
|
|
34
|
-
theme={() => ({})}
|
|
35
|
-
\`\`\`
|
|
36
|
-
|
|
37
|
-
`,8:`ThemeProvider: Please make your "theme" prop an object.
|
|
38
|
-
|
|
39
|
-
`,9:`Missing document \`<head>\`
|
|
40
|
-
|
|
41
|
-
`,10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
42
|
-
|
|
43
|
-
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
44
|
-
|
|
45
|
-
`,12:`It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\`\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css
|
|
46
|
-
|
|
47
|
-
`,13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
48
|
-
|
|
49
|
-
`,14:`ThemeProvider: "theme" prop is required.
|
|
50
|
-
|
|
51
|
-
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
52
|
-
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
53
|
-
as for instance in your render method then you may be running into this limitation.
|
|
54
|
-
|
|
55
|
-
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
56
|
-
Has styled-components' style tag been unmounted or altered by another script?
|
|
57
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"};function Se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],i=1,a=e.length;i<a;i+=1)r.push(e[i]);return r.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function z(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return process.env.NODE_ENV===`production`?Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${n.length>0?` Args: ${n.join(`, `)}`:``}`):Error(Se.apply(void 0,t.__spreadArray([xe[e]],n,!1)).trim())}var Ce=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw z(16,`${e}`);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=r;a<i;a++)this.groupSizes[a]=0}for(var o=this.indexOfGroup(e+1),s=(a=0,t.length);a<s;a++)this.tag.insertRule(o,t[a])&&(this.groupSizes[e]++,o++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=``;if(e>=this.length||this.groupSizes[e]===0)return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,a=r;a<i;a++)t+=`${this.tag.getRule(a)}${m}`;return t},e}(),we=1<<30,B=new Map,V=new Map,H=1,U=function(e){if(B.has(e))return B.get(e);for(;V.has(H);)H++;var t=H++;if(process.env.NODE_ENV!==`production`&&((0|t)<0||t>we))throw z(16,`${t}`);return B.set(e,t),V.set(t,e),t},Te=function(e,t){H=t+1,B.set(e,t),V.set(t,e)},Ee=`style[${u}][${f}="${p}"]`,De=RegExp(`^${u}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),Oe=function(e,t,n){for(var r,i=n.split(`,`),a=0,o=i.length;a<o;a++)(r=i[a])&&e.registerName(t,r)},ke=function(e,t){for(var n=(t.textContent??``).split(m),r=[],i=0,a=n.length;i<a;i++){var o=n[i].trim();if(o){var s=o.match(De);if(s){var c=0|parseInt(s[1],10),l=s[2];c!==0&&(Te(l,c),Oe(e,l,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(o)}}},Ae=function(e){for(var t=document.querySelectorAll(Ee),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(u)!==d&&(ke(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function W(){return typeof __webpack_nonce__<`u`?__webpack_nonce__:null}var je=function(e){var t=document.head,n=e||t,r=document.createElement(`style`),i=function(e){var t=Array.from(e.querySelectorAll(`style[${u}]`));return t[t.length-1]}(n),a=i===void 0?null:i.nextSibling;r.setAttribute(u,d),r.setAttribute(f,p);var o=W();return o&&r.setAttribute(`nonce`,o),n.insertBefore(r,a),r},Me=function(){function e(e){this.element=je(e),this.element.appendChild(document.createTextNode(``)),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw z(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:``},e}(),Ne=function(){function e(e){this.element=je(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:``},e}(),Pe=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:``},e}(),Fe=h,Ie={isServer:!h,useCSSOMInjection:!g},G=function(){function e(e,n,r){e===void 0&&(e=x),n===void 0&&(n={});var i=this;this.options=t.__assign(t.__assign({},Ie),e),this.gs=n,this.names=new Map(r),this.server=!!e.isServer,!this.server&&h&&Fe&&(Fe=!1,Ae(this)),R(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r=``,i=function(n){var i=function(e){return V.get(e)}(n);if(i===void 0)return`continue`;var a=e.names.get(i),o=t.getGroup(n);if(a===void 0||!a.size||o.length===0)return`continue`;var s=`${u}.g${n}[id="${i}"]`,c=``;a!==void 0&&a.forEach(function(e){e.length>0&&(c+=`${e},`)}),r+=`${o}${s}{content:"${c}"}${m}`},a=0;a<n;a++)i(a);return r}(i)})}return e.registerId=function(e){return U(e)},e.prototype.rehydrate=function(){!this.server&&h&&Ae(this)},e.prototype.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(t.__assign(t.__assign({},this.options),n),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Pe(n):t?new Me(n):new Ne(n)}(this.options),new Ce(e));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(U(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(U(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(U(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Le=/&/g,Re=/^\s*\/\/.*$/gm;function ze(e,t){return e.map(function(e){return e.type===`rule`&&(e.value=`${t} ${e.value}`,e.value=e.value.replaceAll(`,`,`,${t} `),e.props=e.props.map(function(e){return`${t} ${e}`})),Array.isArray(e.children)&&e.type!==`@keyframes`&&(e.children=ze(e.children,t)),e})}function Be(e){var t,n,r,s=e===void 0?x:e,c=s.options,l=c===void 0?x:c,u=s.plugins,d=u===void 0?b:u,f=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,``).length>0?`.${t}`:e},p=d.slice();p.push(function(e){e.type===`rule`&&e.value.includes(`&`)&&(e.props[0]=e.props[0].replace(Le,n).replace(r,f))}),l.prefix&&p.push(o.prefixer),p.push(a.stringify);var m=function(e,s,c,u){s===void 0&&(s=``),c===void 0&&(c=``),u===void 0&&(u=`&`),t=u,n=s,r=RegExp(`\\${n}\\b`,`g`);var d=e.replace(Re,``),f=i.compile(c||s?`${c} ${s} { ${d} }`:d);l.namespace&&(f=ze(f,l.namespace));var m=[];return a.serialize(f,o.middleware(p.concat(o.rulesheet(function(e){return m.push(e)})))),m};return m.hash=d.length?d.reduce(function(e,t){return t.name||z(15),A(e,t.name)},ne).toString():``,m}var Ve=new G,K=Be(),q=c.default.createContext({shouldForwardProp:void 0,styleSheet:Ve,stylis:K});q.Consumer;var He=c.default.createContext(void 0);function J(){return(0,c.useContext)(q)}function Ue(e){var t=(0,c.useState)(e.stylisPlugins),n=t[0],r=t[1],i=J().styleSheet,a=(0,c.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),o=(0,c.useMemo)(function(){return Be({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,c.useEffect)(function(){(0,l.default)(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var s=(0,c.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:o}},[e.shouldForwardProp,a,o]);return c.default.createElement(q.Provider,{value:s},c.default.createElement(He.Provider,{value:o},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){t===void 0&&(t=K);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,`@keyframes`))},this.name=e,this.id=`sc-keyframes-${e}`,this.rules=t,R(this,function(){throw z(12,String(n.name))})}return e.prototype.getName=function(e){return e===void 0&&(e=K),this.name+e.hash},e}(),Ge=function(e){return e>=`A`&&e<=`Z`};function Ke(e){for(var t=``,n=0;n<e.length;n++){var r=e[n];if(n===1&&r===`-`&&e[0]===`-`)return e;Ge(r)?t+=`-`+r.toLowerCase():t+=r}return t.startsWith(`ms-`)?`-`+t:t}var qe=function(e){return e==null||!1===e||e===``},Je=function(e){var n,r,i=[];for(var a in e){var o=e[a];e.hasOwnProperty(a)&&!qe(o)&&(Array.isArray(o)&&o.isCss||M(o)?i.push(`${Ke(a)}:`,o,`;`):I(o)?i.push.apply(i,t.__spreadArray(t.__spreadArray([`${a} {`],Je(o),!1),[`}`],!1)):i.push(`${Ke(a)}: ${n=a,(r=o)==null||typeof r==`boolean`||r===``?``:typeof r!=`number`||r===0||n in s.unitlessKeys||n.startsWith(`--`)?String(r).trim():`${r}px`};`))}return i};function Y(e,t,n,r){if(qe(e))return[];if(N(e))return[`.${e.styledComponentId}`];if(M(e)){if(!M(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var i=e(t);return process.env.NODE_ENV===`production`||typeof i!=`object`||Array.isArray(i)||i instanceof We||I(i)||i===null||console.error(`${ae(e)} is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.`),Y(i,t,n,r)}var a;return e instanceof We?n?(e.inject(n,r),[e.getName(r)]):[e]:I(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(b,e.map(function(e){return Y(e,t,n,r)})):[e.toString()]}function Ye(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(M(n)&&!N(n))return!1}return!0}var Xe=re(p),Ze=function(){function e(e,t,n){this.rules=e,this.staticRulesId=``,this.isStatic=process.env.NODE_ENV===`production`&&(n===void 0||n.isStatic)&&Ye(e),this.componentId=t,this.baseHash=A(Xe,t),this.baseStyle=n,G.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):``;if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=P(r,this.staticRulesId);else{var i=F(Y(this.rules,e,t,n)),a=O(A(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,a)){var o=n(i,`.${a}`,void 0,this.componentId);t.insertRules(this.componentId,a,o)}r=P(r,a),this.staticRulesId=a}else{for(var s=A(this.baseHash,n.hash),c=``,l=0;l<this.rules.length;l++){var u=this.rules[l];if(typeof u==`string`)c+=u,process.env.NODE_ENV!==`production`&&(s=A(s,u));else if(u){var d=F(Y(u,e,t,n));s=A(s,d+l),c+=d}}if(c){var f=O(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(c,`.${f}`,void 0,this.componentId)),r=P(r,f)}}return r},e}(),X=c.default.createContext(void 0);X.Consumer;var Z={},Qe=new Set;function $e(e,r,i){var a=N(e),o=e,s=!j(e),l=r.attrs,u=l===void 0?b:l,d=r.componentId,f=d===void 0?function(e,t){var n=typeof e==`string`?w(e):`sc`;Z[n]=(Z[n]||0)+1;var r=`${n}-${ie(p+n+Z[n])}`;return t?`${t}-${r}`:r}(r.displayName,r.parentComponentId):d,m=r.displayName,h=m===void 0?function(e){return j(e)?`styled.${e}`:`Styled(${ae(e)})`}(e):m,g=r.displayName&&r.componentId?`${w(r.displayName)}-${r.componentId}`:r.componentId||f,_=a&&o.attrs?o.attrs.concat(u).filter(Boolean):u,v=r.shouldForwardProp;if(a&&o.shouldForwardProp){var C=o.shouldForwardProp;if(r.shouldForwardProp){var te=r.shouldForwardProp;v=function(e,t){return C(e,t)&&te(e,t)}}else v=C}var T=new Ze(i,g,a?o.componentStyle:void 0);function E(e,r){return function(e,r,i){var a=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=c.default.useContext(X),p=J(),m=e.shouldForwardProp||p.shouldForwardProp;process.env.NODE_ENV!==`production`&&(0,c.useDebugValue)(u);var h=ee(r,f,s)||x,g=function(e,n,r){for(var i,a=t.__assign(t.__assign({},n),{className:void 0,theme:r}),o=0;o<e.length;o+=1){var s=M(i=e[o])?i(a):i;for(var c in s)a[c]=c===`className`?P(a[c],s[c]):c===`style`?t.__assign(t.__assign({},a[c]),s[c]):s[c]}return n.className&&(a.className=P(a.className,n.className)),a}(a,r,h),_=g.as||d,v={};for(var y in g)g[y]===void 0||y[0]===`$`||y===`as`||y===`theme`&&g.theme===h||(y===`forwardedAs`?v.as=g.forwardedAs:m&&!m(y,_)||(v[y]=g[y],m||process.env.NODE_ENV!==`development`||n.isPropValid(y)||Qe.has(y)||!S.has(_)||(Qe.add(y),console.warn(`styled-components: it looks like an unknown prop "${y}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`\$\` prefix for automatic filtering.)`))));var b=function(e,t){var n=J(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return process.env.NODE_ENV!==`production`&&(0,c.useDebugValue)(r),r}(o,g);process.env.NODE_ENV!==`production`&&e.warnTooManyClasses&&e.warnTooManyClasses(b);var C=P(l,u);return b&&(C+=` `+b),g.className&&(C+=` `+g.className),v[j(_)&&!S.has(_)?`class`:`className`]=C,i&&(v.ref=i),(0,c.createElement)(_,v)}(D,e,r)}E.displayName=h;var D=c.default.forwardRef(E);return D.attrs=_,D.componentStyle=T,D.displayName=h,D.shouldForwardProp=v,D.foldedComponentIds=a?P(o.foldedComponentIds,o.styledComponentId):``,D.styledComponentId=g,D.target=a?o.target:e,Object.defineProperty(D,`defaultProps`,{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)L(e,i[r],!0);return e}({},o.defaultProps,e):e}}),process.env.NODE_ENV!==`production`&&(y(h,g),D.warnTooManyClasses=function(e,t){var n={},r=!1;return function(i){if(!r&&(n[i]=!0,Object.keys(n).length>=200)){var a=t?` with the id of "${t}"`:``;console.warn(`Over 200 classes were generated for component ${e}${a}.
|
|
58
|
-
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
59
|
-
Example:
|
|
60
|
-
const Component = styled.div.attrs(props => ({
|
|
61
|
-
style: {
|
|
62
|
-
background: props.background,
|
|
63
|
-
},
|
|
64
|
-
}))\`width: 100%;\`
|
|
65
|
-
|
|
66
|
-
<Component />`),r=!0,n={}}}}(h,g)),R(D,function(){return`.${D.styledComponentId}`}),s&&be(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function et(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tt=function(e){return Object.assign(e,{isCss:!0})};function nt(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(M(e)||I(e))return tt(Y(et(b,t.__spreadArray([e],n,!0))));var i=e;return n.length===0&&i.length===1&&typeof i[0]==`string`?Y(i):tt(Y(et(i,n)))}function Q(e,n,r){if(r===void 0&&(r=x),!n)throw z(1,n);var i=function(i){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];return e(n,r,nt.apply(void 0,t.__spreadArray([i],a,!1)))};return i.attrs=function(i){return Q(e,n,t.__assign(t.__assign({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i.withConfig=function(i){return Q(e,n,t.__assign(t.__assign({},r),i))},i}var rt=function(e){return Q($e,e)},it=rt;S.forEach(function(e){it[e]=rt(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ye(e),G.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(F(Y(this.rules,t,n,r)),``),a=this.componentId+e;n.insertRules(a,a,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&G.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return``;var n=W();return`<style ${F([n&&`nonce="${n}"`,`${u}="true"`,`${f}="${p}"`].filter(Boolean),` `)}>${t}</style>`},this.getStyleTags=function(){if(e.sealed)throw z(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw z(2);var r=e.instance.toString();if(!r)return[];var i=((n={})[u]=``,n[f]=p,n.dangerouslySetInnerHTML={__html:r},n),a=W();return a&&(i.nonce=a),[c.default.createElement(`style`,t.__assign({},i,{key:`sc-0-0`}))]},this.seal=function(){e.sealed=!0},this.instance=new G({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw z(2);return c.default.createElement(Ue,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw z(3)},e}(),process.env.NODE_ENV!==`production`&&typeof navigator<`u`&&navigator.product===`ReactNative`&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
67
|
-
Perhaps you're looking to import 'styled-components/native'?
|
|
68
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var $=`__sc-${u}__`;process.env.NODE_ENV!==`production`&&process.env.NODE_ENV!==`test`&&typeof window<`u`&&(window[$]||(window[$]=0),window[$]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
69
|
-
|
|
70
|
-
See https://s-c.sh/2BAXzed for more info.`),window[$]+=1),exports.dt=it;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`-ms-`,t=`-moz-`,n=`-webkit-`,r=`comm`,i=`rule`,a=`decl`,o=`@import`,s=`@keyframes`,c=`@layer`;exports.COMMENT=r,exports.DECLARATION=a,exports.IMPORT=o,exports.KEYFRAMES=s,exports.LAYER=c,exports.MOZ=t,exports.MS=e,exports.RULESET=i,exports.WEBKIT=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./Enum.cjs`),t=require(`./Utility.cjs`),n=require(`./Tokenizer.cjs`);function r(e){return n.dealloc(i(``,null,null,null,[``],e=n.alloc(e),0,[0],e))}function i(e,r,c,l,u,d,f,p,m){for(var h=0,g=0,_=f,v=0,y=0,b=0,x=1,S=1,C=1,w=0,T=``,E=u,D=d,O=l,k=T;S;)switch(b=w,w=n.next()){case 40:if(b!=108&&t.charat(k,_-1)==58){t.indexof(k+=t.replace(n.delimit(w),`&`,`&\f`),`&\f`,t.abs(h?p[h-1]:0))!=-1&&(C=-1);break}case 34:case 39:case 91:k+=n.delimit(w);break;case 9:case 10:case 13:case 32:k+=n.whitespace(b);break;case 92:k+=n.escaping(n.caret()-1,7);continue;case 47:switch(n.peek()){case 42:case 47:t.append(o(n.commenter(n.next(),n.caret()),r,c,m),m);break;default:k+=`/`}break;case 123*x:p[h++]=t.strlen(k)*C;case 125*x:case 59:case 0:switch(w){case 0:case 125:S=0;case 59+g:C==-1&&(k=t.replace(k,/\f/g,``)),y>0&&t.strlen(k)-_&&t.append(y>32?s(k+`;`,l,c,_-1,m):s(t.replace(k,` `,``)+`;`,l,c,_-2,m),m);break;case 59:k+=`;`;default:if(t.append(O=a(k,r,c,h,g,u,p,T,E=[],D=[],_,d),d),w===123)if(g===0)i(k,r,O,O,E,d,_,p,D);else switch(v===99&&t.charat(k,3)===110?100:v){case 100:case 108:case 109:case 115:i(e,O,O,l&&t.append(a(e,O,O,0,0,u,p,T,u,E=[],_,D),D),u,D,_,p,l?E:D);break;default:i(k,O,O,O,[``],D,0,p,D)}}h=g=y=0,x=C=1,T=k=``,_=f;break;case 58:_=1+t.strlen(k),y=b;default:if(x<1){if(w==123)--x;else if(w==125&&x++==0&&n.prev()==125)continue}switch(k+=t.from(w),w*x){case 38:C=g>0?1:(k+=`\f`,-1);break;case 44:p[h++]=(t.strlen(k)-1)*C,C=1;break;case 64:n.peek()===45&&(k+=n.delimit(n.next())),v=n.peek(),g=_=t.strlen(T=k+=n.identifier(n.caret())),w++;break;case 45:b===45&&t.strlen(k)==2&&(x=0)}}return d}function a(r,i,a,o,s,c,l,u,d,f,p,m){for(var h=s-1,g=s===0?c:[``],_=t.sizeof(g),v=0,y=0,b=0;v<o;++v)for(var x=0,S=t.substr(r,h+1,h=t.abs(y=l[v])),C=r;x<_;++x)(C=t.trim(y>0?g[x]+` `+S:t.replace(S,/&\f/g,g[x])))&&(d[b++]=C);return n.node(r,i,a,s===0?e.RULESET:u,d,f,p,m)}function o(r,i,a,o){return n.node(r,i,a,e.COMMENT,t.from(n.char()),t.substr(r,2,-2),0,o)}function s(r,i,a,o,s){return n.node(r,i,a,e.DECLARATION,t.substr(r,0,o),t.substr(r,o+1,-1),o,s)}exports.compile=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./Enum.cjs`),t=require(`./Utility.cjs`);function n(r,i,a){switch(t.hash(r,i)){case 5103:return e.WEBKIT+`print-`+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return e.WEBKIT+r+r;case 4789:return e.MOZ+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return e.WEBKIT+r+e.MOZ+r+e.MS+r+r;case 5936:switch(t.charat(r,i+11)){case 114:return e.WEBKIT+r+e.MS+t.replace(r,/[svh]\w+-[tblr]{2}/,`tb`)+r;case 108:return e.WEBKIT+r+e.MS+t.replace(r,/[svh]\w+-[tblr]{2}/,`tb-rl`)+r;case 45:return e.WEBKIT+r+e.MS+t.replace(r,/[svh]\w+-[tblr]{2}/,`lr`)+r}case 6828:case 4268:case 2903:return e.WEBKIT+r+e.MS+r+r;case 6165:return e.WEBKIT+r+e.MS+`flex-`+r+r;case 5187:return e.WEBKIT+r+t.replace(r,/(\w+).+(:[^]+)/,e.WEBKIT+`box-$1$2`+e.MS+`flex-$1$2`)+r;case 5443:return e.WEBKIT+r+e.MS+`flex-item-`+t.replace(r,/flex-|-self/g,``)+(t.match(r,/flex-|baseline/)?``:e.MS+`grid-row-`+t.replace(r,/flex-|-self/g,``))+r;case 4675:return e.WEBKIT+r+e.MS+`flex-line-pack`+t.replace(r,/align-content|flex-|-self/g,``)+r;case 5548:return e.WEBKIT+r+e.MS+t.replace(r,`shrink`,`negative`)+r;case 5292:return e.WEBKIT+r+e.MS+t.replace(r,`basis`,`preferred-size`)+r;case 6060:return e.WEBKIT+`box-`+t.replace(r,`-grow`,``)+e.WEBKIT+r+e.MS+t.replace(r,`grow`,`positive`)+r;case 4554:return e.WEBKIT+t.replace(r,/([^-])(transform)/g,`$1`+e.WEBKIT+`$2`)+r;case 6187:return t.replace(t.replace(t.replace(r,/(zoom-|grab)/,e.WEBKIT+`$1`),/(image-set)/,e.WEBKIT+`$1`),r,``)+r;case 5495:case 3959:return t.replace(r,/(image-set\([^]*)/,e.WEBKIT+"$1$`$1");case 4968:return t.replace(t.replace(r,/(.+:)(flex-)?(.*)/,e.WEBKIT+`box-pack:$3`+e.MS+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+e.WEBKIT+r+r;case 4200:if(!t.match(r,/flex-|baseline/))return e.MS+`grid-column-align`+t.substr(r,i)+r;break;case 2592:case 3360:return e.MS+t.replace(r,`template-`,``)+r;case 4384:case 3616:return a&&a.some(function(e,n){return i=n,t.match(e.props,/grid-\w+-end/)})?~t.indexof(r+(a=a[i].value),`span`,0)?r:e.MS+t.replace(r,`-start`,``)+r+e.MS+`grid-row-span:`+(~t.indexof(a,`span`,0)?t.match(a,/\d+/):t.match(a,/\d+/)-+t.match(r,/\d+/))+`;`:e.MS+t.replace(r,`-start`,``)+r;case 4896:case 4128:return a&&a.some(function(e){return t.match(e.props,/grid-\w+-start/)})?r:e.MS+t.replace(t.replace(r,`-end`,`-span`),`span `,``)+r;case 4095:case 3583:case 4068:case 2532:return t.replace(r,/(.+)-inline(.+)/,e.WEBKIT+`$1$2`)+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(t.strlen(r)-1-i>6)switch(t.charat(r,i+1)){case 109:if(t.charat(r,i+4)!==45)break;case 102:return t.replace(r,/(.+:)(.+)-([^]+)/,`$1`+e.WEBKIT+`$2-$3$1`+e.MOZ+(t.charat(r,i+3)==108?`$3`:`$2-$3`))+r;case 115:return~t.indexof(r,`stretch`,0)?n(t.replace(r,`stretch`,`fill-available`),i,a)+r:r}break;case 5152:case 5920:return t.replace(r,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,i,a,o,s,c){return e.MS+n+`:`+i+c+(a?e.MS+n+`-span:`+(o?s:s-+i)+c:``)+r});case 4949:if(t.charat(r,i+6)===121)return t.replace(r,`:`,`:`+e.WEBKIT)+r;break;case 6444:switch(t.charat(r,t.charat(r,14)===45?18:11)){case 120:return t.replace(r,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,`$1`+e.WEBKIT+(t.charat(r,14)===45?`inline-`:``)+`box$3$1`+e.WEBKIT+`$2$3$1`+e.MS+`$2box$3`)+r;case 100:return t.replace(r,`:`,`:`+e.MS)+r}break;case 5719:case 2647:case 2135:case 3927:case 2391:return t.replace(r,`scroll-`,`scroll-snap-`)+r}return r}exports.prefix=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./Enum.cjs`),t=require(`./Utility.cjs`);function n(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function r(r,i,a,o){switch(r.type){case e.LAYER:if(r.children.length)break;case e.IMPORT:case e.DECLARATION:return r.return=r.return||r.value;case e.COMMENT:return``;case e.KEYFRAMES:return r.return=r.value+`{`+n(r.children,o)+`}`;case e.RULESET:if(!t.strlen(r.value=r.props.join(`,`)))return``}return t.strlen(a=n(r.children,o))?r.return=r.value+`{`+a+`}`:``}exports.serialize=n,exports.stringify=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)};function t(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}Object.defineProperty(exports,`__assign`,{enumerable:!0,get:function(){return e}}),exports.__spreadArray=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, i, o, s) => {
|
|
3
|
-
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
4
|
-
get: ((e) => i[e]).bind(null, d),
|
|
5
|
-
enumerable: !(s = n(i, d)) || s.enumerable
|
|
6
|
-
});
|
|
7
|
-
return e;
|
|
8
|
-
}, c = (n, r, a) => (a = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule ? t(a, "default", {
|
|
9
|
-
value: n,
|
|
10
|
-
enumerable: !0
|
|
11
|
-
}) : a, n));
|
|
12
|
-
//#endregion
|
|
13
|
-
export { o as __commonJSMin, c as __toESM };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { memoize as e } from "../../../../../@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@emotion+is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
3
|
-
var t = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, n = /* @__PURE__ */ e(function(e) {
|
|
4
|
-
return t.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
5
|
-
});
|
|
6
|
-
//#endregion
|
|
7
|
-
export { n as isPropValid };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
2
|
-
var e = {
|
|
3
|
-
animationIterationCount: 1,
|
|
4
|
-
aspectRatio: 1,
|
|
5
|
-
borderImageOutset: 1,
|
|
6
|
-
borderImageSlice: 1,
|
|
7
|
-
borderImageWidth: 1,
|
|
8
|
-
boxFlex: 1,
|
|
9
|
-
boxFlexGroup: 1,
|
|
10
|
-
boxOrdinalGroup: 1,
|
|
11
|
-
columnCount: 1,
|
|
12
|
-
columns: 1,
|
|
13
|
-
flex: 1,
|
|
14
|
-
flexGrow: 1,
|
|
15
|
-
flexPositive: 1,
|
|
16
|
-
flexShrink: 1,
|
|
17
|
-
flexNegative: 1,
|
|
18
|
-
flexOrder: 1,
|
|
19
|
-
gridRow: 1,
|
|
20
|
-
gridRowEnd: 1,
|
|
21
|
-
gridRowSpan: 1,
|
|
22
|
-
gridRowStart: 1,
|
|
23
|
-
gridColumn: 1,
|
|
24
|
-
gridColumnEnd: 1,
|
|
25
|
-
gridColumnSpan: 1,
|
|
26
|
-
gridColumnStart: 1,
|
|
27
|
-
msGridRow: 1,
|
|
28
|
-
msGridRowSpan: 1,
|
|
29
|
-
msGridColumn: 1,
|
|
30
|
-
msGridColumnSpan: 1,
|
|
31
|
-
fontWeight: 1,
|
|
32
|
-
lineHeight: 1,
|
|
33
|
-
opacity: 1,
|
|
34
|
-
order: 1,
|
|
35
|
-
orphans: 1,
|
|
36
|
-
tabSize: 1,
|
|
37
|
-
widows: 1,
|
|
38
|
-
zIndex: 1,
|
|
39
|
-
zoom: 1,
|
|
40
|
-
WebkitLineClamp: 1,
|
|
41
|
-
fillOpacity: 1,
|
|
42
|
-
floodOpacity: 1,
|
|
43
|
-
stopOpacity: 1,
|
|
44
|
-
strokeDasharray: 1,
|
|
45
|
-
strokeDashoffset: 1,
|
|
46
|
-
strokeMiterlimit: 1,
|
|
47
|
-
strokeOpacity: 1,
|
|
48
|
-
strokeWidth: 1
|
|
49
|
-
};
|
|
50
|
-
//#endregion
|
|
51
|
-
export { e as unitlessKeys };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js
|
|
3
|
-
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
-
t.exports = function(e, t, n, r) {
|
|
5
|
-
var i = n ? n.call(r, e, t) : void 0;
|
|
6
|
-
if (i !== void 0) return !!i;
|
|
7
|
-
if (e === t) return !0;
|
|
8
|
-
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
|
|
9
|
-
var a = Object.keys(e), o = Object.keys(t);
|
|
10
|
-
if (a.length !== o.length) return !1;
|
|
11
|
-
for (var s = Object.prototype.hasOwnProperty.bind(t), c = 0; c < a.length; c++) {
|
|
12
|
-
var l = a[c];
|
|
13
|
-
if (!s(l)) return !1;
|
|
14
|
-
var u = e[l], d = t[l];
|
|
15
|
-
if (i = n ? n.call(r, u, d, l) : void 0, i === !1 || i === void 0 && u !== d) return !1;
|
|
16
|
-
}
|
|
17
|
-
return !0;
|
|
18
|
-
};
|
|
19
|
-
}));
|
|
20
|
-
//#endregion
|
|
21
|
-
export default t();
|
|
22
|
-
export { t as require_shallowequal };
|