@uninspired/cookie-banner 0.0.10 → 0.0.12
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/react/index.cjs +27 -26
- package/dist/react/index.js +32 -31
- package/dist/react/style.css +19 -26
- package/dist/script/index.cjs +45 -1
- package/dist/script/index.js +2258 -1229
- package/dist/script/style.css +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const require$$0 = require("react");
|
|
4
4
|
const reactAccordion = require("@radix-ui/react-accordion");
|
|
5
5
|
const lucideReact = require("lucide-react");
|
|
6
|
+
const reactDialog = require("@radix-ui/react-dialog");
|
|
6
7
|
const reactCollapsible = require("@radix-ui/react-collapsible");
|
|
7
8
|
const reactSwitch = require("@radix-ui/react-switch");
|
|
8
9
|
var jsxRuntime = { exports: {} };
|
|
@@ -444,7 +445,7 @@ function requireReactJsxRuntime_development() {
|
|
|
444
445
|
}
|
|
445
446
|
}
|
|
446
447
|
}
|
|
447
|
-
function checkPropTypes(typeSpecs, values,
|
|
448
|
+
function checkPropTypes(typeSpecs, values, location2, componentName, element) {
|
|
448
449
|
{
|
|
449
450
|
var has = Function.call.bind(hasOwnProperty);
|
|
450
451
|
for (var typeSpecName in typeSpecs) {
|
|
@@ -452,23 +453,23 @@ function requireReactJsxRuntime_development() {
|
|
|
452
453
|
var error$1 = void 0;
|
|
453
454
|
try {
|
|
454
455
|
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
455
|
-
var err = Error((componentName || "React class") + ": " +
|
|
456
|
+
var err = Error((componentName || "React class") + ": " + location2 + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
456
457
|
err.name = "Invariant Violation";
|
|
457
458
|
throw err;
|
|
458
459
|
}
|
|
459
|
-
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName,
|
|
460
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
460
461
|
} catch (ex) {
|
|
461
462
|
error$1 = ex;
|
|
462
463
|
}
|
|
463
464
|
if (error$1 && !(error$1 instanceof Error)) {
|
|
464
465
|
setCurrentlyValidatingElement(element);
|
|
465
|
-
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class",
|
|
466
|
+
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location2, typeSpecName, typeof error$1);
|
|
466
467
|
setCurrentlyValidatingElement(null);
|
|
467
468
|
}
|
|
468
469
|
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
469
470
|
loggedTypeFailures[error$1.message] = true;
|
|
470
471
|
setCurrentlyValidatingElement(element);
|
|
471
|
-
error("Failed %s type: %s",
|
|
472
|
+
error("Failed %s type: %s", location2, error$1.message);
|
|
472
473
|
setCurrentlyValidatingElement(null);
|
|
473
474
|
}
|
|
474
475
|
}
|
|
@@ -963,25 +964,25 @@ const Text = ({
|
|
|
963
964
|
)
|
|
964
965
|
);
|
|
965
966
|
};
|
|
966
|
-
const root$2 = "
|
|
967
|
-
const
|
|
968
|
-
const
|
|
969
|
-
const
|
|
970
|
-
const
|
|
971
|
-
const
|
|
972
|
-
const
|
|
973
|
-
const settings = "
|
|
974
|
-
const footer = "
|
|
975
|
-
const legal = "
|
|
976
|
-
const actions$1 = "
|
|
967
|
+
const root$2 = "_root_12udu_53";
|
|
968
|
+
const noTarget = "_noTarget_12udu_65";
|
|
969
|
+
const collapsible = "_collapsible_12udu_74";
|
|
970
|
+
const header$1 = "_header_12udu_77";
|
|
971
|
+
const heading = "_heading_12udu_84";
|
|
972
|
+
const chevron$1 = "_chevron_12udu_90";
|
|
973
|
+
const open$1 = "_open_12udu_95";
|
|
974
|
+
const settings = "_settings_12udu_101";
|
|
975
|
+
const footer = "_footer_12udu_115";
|
|
976
|
+
const legal = "_legal_12udu_122";
|
|
977
|
+
const actions$1 = "_actions_12udu_125";
|
|
977
978
|
const classes$2 = {
|
|
978
979
|
root: root$2,
|
|
979
|
-
open: open$1,
|
|
980
980
|
noTarget,
|
|
981
981
|
collapsible,
|
|
982
982
|
header: header$1,
|
|
983
983
|
heading,
|
|
984
984
|
chevron: chevron$1,
|
|
985
|
+
open: open$1,
|
|
985
986
|
settings,
|
|
986
987
|
footer,
|
|
987
988
|
legal,
|
|
@@ -2074,6 +2075,7 @@ const SelectionProvider = ({
|
|
|
2074
2075
|
}, [items]);
|
|
2075
2076
|
const onSave = require$$0.useCallback(() => {
|
|
2076
2077
|
saveSelection(selection);
|
|
2078
|
+
location.reload();
|
|
2077
2079
|
}, [selection]);
|
|
2078
2080
|
const selectionTaken = require$$0.useMemo(() => {
|
|
2079
2081
|
if (!savedSelection) return false;
|
|
@@ -2179,13 +2181,12 @@ const BannerContent = ({
|
|
|
2179
2181
|
const { onSave, onDeclineAll, selectionTaken } = useSelection();
|
|
2180
2182
|
const [openItem, setOpenItem] = require$$0.useState(void 0);
|
|
2181
2183
|
const [settingsOpen, setSettingsOpen] = require$$0.useState(defaultSettingsOpen);
|
|
2182
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2183
|
-
|
|
2184
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactDialog.Root, { open: !selectionTaken, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2185
|
+
reactDialog.Content,
|
|
2184
2186
|
{
|
|
2185
2187
|
className: clx({
|
|
2186
2188
|
[classes$2.root]: true,
|
|
2187
|
-
[classes$2.noTarget]: noTarget2
|
|
2188
|
-
[classes$2.open]: !selectionTaken
|
|
2189
|
+
[classes$2.noTarget]: noTarget2
|
|
2189
2190
|
}),
|
|
2190
2191
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2191
2192
|
reactCollapsible.Root,
|
|
@@ -2196,8 +2197,8 @@ const BannerContent = ({
|
|
|
2196
2197
|
children: [
|
|
2197
2198
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.header, children: [
|
|
2198
2199
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.heading, children: [
|
|
2199
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { weight: "bold", children: heading2 }),
|
|
2200
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", color: "muted", children: subheading })
|
|
2200
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(reactDialog.Title, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { weight: "bold", children: heading2 }) }),
|
|
2201
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(reactDialog.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", color: "muted", children: subheading }) })
|
|
2201
2202
|
] }),
|
|
2202
2203
|
/* @__PURE__ */ jsxRuntimeExports.jsx(reactCollapsible.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { variant: "ghost", children: [
|
|
2203
2204
|
settingsOpen ? hideLabel : selectLabel,
|
|
@@ -2235,15 +2236,15 @@ const BannerContent = ({
|
|
|
2235
2236
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.footer, children: [
|
|
2236
2237
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$2.legal, children: privacyPolicy && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: privacyPolicy.url, target: "_blank", children: privacyPolicy.label }) }) }),
|
|
2237
2238
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.actions, children: [
|
|
2238
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "neutral", onClick: () => onDeclineAll(), children: declineLabel }),
|
|
2239
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "brand", onClick: () => onSave(), children: saveLabel })
|
|
2239
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(reactDialog.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "neutral", onClick: () => onDeclineAll(), children: declineLabel }) }),
|
|
2240
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(reactDialog.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "brand", onClick: () => onSave(), children: saveLabel }) })
|
|
2240
2241
|
] })
|
|
2241
2242
|
] })
|
|
2242
2243
|
]
|
|
2243
2244
|
}
|
|
2244
2245
|
)
|
|
2245
2246
|
}
|
|
2246
|
-
);
|
|
2247
|
+
) });
|
|
2247
2248
|
};
|
|
2248
2249
|
const Banner = ({
|
|
2249
2250
|
localStorageKey = "cb-selection",
|
package/dist/react/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import require$$0, { useMemo, useState, useEffect, useCallback, createContext, useContext } from "react";
|
|
2
|
-
import { Item, Trigger, Content, Root as Root$
|
|
2
|
+
import { Item, Trigger, Content, Root as Root$3 } from "@radix-ui/react-accordion";
|
|
3
3
|
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
4
|
-
import { Root as Root$1,
|
|
4
|
+
import { Root as Root$1, Content as Content$1, Title, Description, Close } from "@radix-ui/react-dialog";
|
|
5
|
+
import { Root as Root$2, Trigger as Trigger$1, Content as Content$2 } from "@radix-ui/react-collapsible";
|
|
5
6
|
import { Root, Thumb } from "@radix-ui/react-switch";
|
|
6
7
|
var jsxRuntime = { exports: {} };
|
|
7
8
|
var reactJsxRuntime_production_min = {};
|
|
@@ -442,7 +443,7 @@ function requireReactJsxRuntime_development() {
|
|
|
442
443
|
}
|
|
443
444
|
}
|
|
444
445
|
}
|
|
445
|
-
function checkPropTypes(typeSpecs, values,
|
|
446
|
+
function checkPropTypes(typeSpecs, values, location2, componentName, element) {
|
|
446
447
|
{
|
|
447
448
|
var has = Function.call.bind(hasOwnProperty);
|
|
448
449
|
for (var typeSpecName in typeSpecs) {
|
|
@@ -450,23 +451,23 @@ function requireReactJsxRuntime_development() {
|
|
|
450
451
|
var error$1 = void 0;
|
|
451
452
|
try {
|
|
452
453
|
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
453
|
-
var err = Error((componentName || "React class") + ": " +
|
|
454
|
+
var err = Error((componentName || "React class") + ": " + location2 + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
454
455
|
err.name = "Invariant Violation";
|
|
455
456
|
throw err;
|
|
456
457
|
}
|
|
457
|
-
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName,
|
|
458
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
458
459
|
} catch (ex) {
|
|
459
460
|
error$1 = ex;
|
|
460
461
|
}
|
|
461
462
|
if (error$1 && !(error$1 instanceof Error)) {
|
|
462
463
|
setCurrentlyValidatingElement(element);
|
|
463
|
-
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class",
|
|
464
|
+
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location2, typeSpecName, typeof error$1);
|
|
464
465
|
setCurrentlyValidatingElement(null);
|
|
465
466
|
}
|
|
466
467
|
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
467
468
|
loggedTypeFailures[error$1.message] = true;
|
|
468
469
|
setCurrentlyValidatingElement(element);
|
|
469
|
-
error("Failed %s type: %s",
|
|
470
|
+
error("Failed %s type: %s", location2, error$1.message);
|
|
470
471
|
setCurrentlyValidatingElement(null);
|
|
471
472
|
}
|
|
472
473
|
}
|
|
@@ -961,25 +962,25 @@ const Text = ({
|
|
|
961
962
|
)
|
|
962
963
|
);
|
|
963
964
|
};
|
|
964
|
-
const root$2 = "
|
|
965
|
-
const
|
|
966
|
-
const
|
|
967
|
-
const
|
|
968
|
-
const
|
|
969
|
-
const
|
|
970
|
-
const
|
|
971
|
-
const settings = "
|
|
972
|
-
const footer = "
|
|
973
|
-
const legal = "
|
|
974
|
-
const actions$1 = "
|
|
965
|
+
const root$2 = "_root_12udu_53";
|
|
966
|
+
const noTarget = "_noTarget_12udu_65";
|
|
967
|
+
const collapsible = "_collapsible_12udu_74";
|
|
968
|
+
const header$1 = "_header_12udu_77";
|
|
969
|
+
const heading = "_heading_12udu_84";
|
|
970
|
+
const chevron$1 = "_chevron_12udu_90";
|
|
971
|
+
const open$1 = "_open_12udu_95";
|
|
972
|
+
const settings = "_settings_12udu_101";
|
|
973
|
+
const footer = "_footer_12udu_115";
|
|
974
|
+
const legal = "_legal_12udu_122";
|
|
975
|
+
const actions$1 = "_actions_12udu_125";
|
|
975
976
|
const classes$2 = {
|
|
976
977
|
root: root$2,
|
|
977
|
-
open: open$1,
|
|
978
978
|
noTarget,
|
|
979
979
|
collapsible,
|
|
980
980
|
header: header$1,
|
|
981
981
|
heading,
|
|
982
982
|
chevron: chevron$1,
|
|
983
|
+
open: open$1,
|
|
983
984
|
settings,
|
|
984
985
|
footer,
|
|
985
986
|
legal,
|
|
@@ -2072,6 +2073,7 @@ const SelectionProvider = ({
|
|
|
2072
2073
|
}, [items]);
|
|
2073
2074
|
const onSave = useCallback(() => {
|
|
2074
2075
|
saveSelection(selection);
|
|
2076
|
+
location.reload();
|
|
2075
2077
|
}, [selection]);
|
|
2076
2078
|
const selectionTaken = useMemo(() => {
|
|
2077
2079
|
if (!savedSelection) return false;
|
|
@@ -2177,16 +2179,15 @@ const BannerContent = ({
|
|
|
2177
2179
|
const { onSave, onDeclineAll, selectionTaken } = useSelection();
|
|
2178
2180
|
const [openItem, setOpenItem] = useState(void 0);
|
|
2179
2181
|
const [settingsOpen, setSettingsOpen] = useState(defaultSettingsOpen);
|
|
2180
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2181
|
-
|
|
2182
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Root$1, { open: !selectionTaken, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2183
|
+
Content$1,
|
|
2182
2184
|
{
|
|
2183
2185
|
className: clx({
|
|
2184
2186
|
[classes$2.root]: true,
|
|
2185
|
-
[classes$2.noTarget]: noTarget2
|
|
2186
|
-
[classes$2.open]: !selectionTaken
|
|
2187
|
+
[classes$2.noTarget]: noTarget2
|
|
2187
2188
|
}),
|
|
2188
2189
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2189
|
-
Root$
|
|
2190
|
+
Root$2,
|
|
2190
2191
|
{
|
|
2191
2192
|
open: settingsOpen,
|
|
2192
2193
|
onOpenChange: setSettingsOpen,
|
|
@@ -2194,8 +2195,8 @@ const BannerContent = ({
|
|
|
2194
2195
|
children: [
|
|
2195
2196
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.header, children: [
|
|
2196
2197
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.heading, children: [
|
|
2197
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { weight: "bold", children: heading2 }),
|
|
2198
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", color: "muted", children: subheading })
|
|
2198
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Title, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { weight: "bold", children: heading2 }) }),
|
|
2199
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Description, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", color: "muted", children: subheading }) })
|
|
2199
2200
|
] }),
|
|
2200
2201
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Trigger$1, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { variant: "ghost", children: [
|
|
2201
2202
|
settingsOpen ? hideLabel : selectLabel,
|
|
@@ -2213,13 +2214,13 @@ const BannerContent = ({
|
|
|
2213
2214
|
] }) })
|
|
2214
2215
|
] }),
|
|
2215
2216
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2216
|
-
Content$
|
|
2217
|
+
Content$2,
|
|
2217
2218
|
{
|
|
2218
2219
|
className: clx({
|
|
2219
2220
|
[classes$2.settings]: true
|
|
2220
2221
|
}),
|
|
2221
2222
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2222
|
-
Root$
|
|
2223
|
+
Root$3,
|
|
2223
2224
|
{
|
|
2224
2225
|
type: "single",
|
|
2225
2226
|
collapsible: true,
|
|
@@ -2233,15 +2234,15 @@ const BannerContent = ({
|
|
|
2233
2234
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.footer, children: [
|
|
2234
2235
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$2.legal, children: privacyPolicy && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: privacyPolicy.url, target: "_blank", children: privacyPolicy.label }) }) }),
|
|
2235
2236
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.actions, children: [
|
|
2236
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "neutral", onClick: () => onDeclineAll(), children: declineLabel }),
|
|
2237
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "brand", onClick: () => onSave(), children: saveLabel })
|
|
2237
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Close, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "neutral", onClick: () => onDeclineAll(), children: declineLabel }) }),
|
|
2238
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Close, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "brand", onClick: () => onSave(), children: saveLabel }) })
|
|
2238
2239
|
] })
|
|
2239
2240
|
] })
|
|
2240
2241
|
]
|
|
2241
2242
|
}
|
|
2242
2243
|
)
|
|
2243
2244
|
}
|
|
2244
|
-
);
|
|
2245
|
+
) });
|
|
2245
2246
|
};
|
|
2246
2247
|
const Banner = ({
|
|
2247
2248
|
localStorageKey = "cb-selection",
|
package/dist/react/style.css
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
@keyframes
|
|
105
|
+
@keyframes _contentShow_12udu_1 {
|
|
106
106
|
from {
|
|
107
107
|
opacity: 0;
|
|
108
108
|
transform: translateX(-100px);
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
@keyframes
|
|
116
|
+
@keyframes _contentHide_12udu_1 {
|
|
117
117
|
from {
|
|
118
118
|
opacity: 1;
|
|
119
119
|
transform: translateX(0px);
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
@keyframes
|
|
127
|
+
@keyframes _slideDown_12udu_1 {
|
|
128
128
|
0% {
|
|
129
129
|
max-height: var(--cb-size-settings-max-height);
|
|
130
130
|
overflow: auto;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
@keyframes
|
|
142
|
+
@keyframes _slideUp_12udu_1 {
|
|
143
143
|
0% {
|
|
144
144
|
max-height: 0;
|
|
145
145
|
overflow: hidden;
|
|
@@ -154,9 +154,8 @@
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
158
|
-
display:
|
|
159
|
-
visibility: hidden;
|
|
157
|
+
._root_12udu_53 {
|
|
158
|
+
display: flex;
|
|
160
159
|
flex-direction: column;
|
|
161
160
|
gap: var(--cb-space-md);
|
|
162
161
|
padding: var(--cb-space-md);
|
|
@@ -165,15 +164,9 @@
|
|
|
165
164
|
border-radius: var(--cb-radius-md);
|
|
166
165
|
overflow: hidden;
|
|
167
166
|
will-change: opacity, transform;
|
|
168
|
-
animation:
|
|
169
|
-
|
|
170
|
-
&._open_2wcp0_66 {
|
|
171
|
-
visibility: visible;
|
|
172
|
-
display: flex;
|
|
173
|
-
animation: _contentShow_2wcp0_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
174
|
-
}
|
|
167
|
+
animation: _contentShow_12udu_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
175
168
|
|
|
176
|
-
&.
|
|
169
|
+
&._noTarget_12udu_65 {
|
|
177
170
|
position: fixed;
|
|
178
171
|
bottom: var(--cb-space-md);
|
|
179
172
|
left: var(--cb-space-md);
|
|
@@ -182,58 +175,58 @@
|
|
|
182
175
|
max-width: var(--cb-size-banner-max-width);
|
|
183
176
|
}
|
|
184
177
|
|
|
185
|
-
.
|
|
178
|
+
._collapsible_12udu_74 {
|
|
186
179
|
display: contents;
|
|
187
180
|
|
|
188
|
-
.
|
|
181
|
+
._header_12udu_77 {
|
|
189
182
|
display: flex;
|
|
190
183
|
flex-direction: row;
|
|
191
184
|
align-items: flex-start;
|
|
192
185
|
justify-content: space-between;
|
|
193
186
|
gap: var(--cb-space-md);
|
|
194
187
|
|
|
195
|
-
.
|
|
188
|
+
._heading_12udu_84 {
|
|
196
189
|
display: flex;
|
|
197
190
|
flex-direction: column;
|
|
198
191
|
align-items: flex-start;
|
|
199
192
|
}
|
|
200
193
|
|
|
201
|
-
.
|
|
194
|
+
._chevron_12udu_90 {
|
|
202
195
|
transform: rotate(0deg);
|
|
203
196
|
will-change: transform;
|
|
204
197
|
transition: transform 150ms ease-out;
|
|
205
198
|
|
|
206
|
-
&.
|
|
199
|
+
&._open_12udu_95 {
|
|
207
200
|
transform: rotate(180deg);
|
|
208
201
|
}
|
|
209
202
|
}
|
|
210
203
|
}
|
|
211
204
|
|
|
212
|
-
.
|
|
205
|
+
._settings_12udu_101 {
|
|
213
206
|
display: flex;
|
|
214
207
|
flex-direction: column;
|
|
215
208
|
background-color: var(--cb-color-background-muted);
|
|
216
209
|
border-radius: var(--cb-radius-md);
|
|
217
210
|
overflow: hidden;
|
|
218
211
|
will-change: max-height, overflow;
|
|
219
|
-
animation:
|
|
212
|
+
animation: _slideDown_12udu_1 250ms ease-out;
|
|
220
213
|
|
|
221
214
|
&[data-state="open"] {
|
|
222
|
-
animation:
|
|
215
|
+
animation: _slideUp_12udu_1 250ms ease-out;
|
|
223
216
|
}
|
|
224
217
|
}
|
|
225
218
|
|
|
226
|
-
.
|
|
219
|
+
._footer_12udu_115 {
|
|
227
220
|
display: flex;
|
|
228
221
|
flex-direction: row;
|
|
229
222
|
align-items: center;
|
|
230
223
|
justify-content: space-between;
|
|
231
224
|
gap: var(--cb-space-md);
|
|
232
225
|
|
|
233
|
-
.
|
|
226
|
+
._legal_12udu_122 {
|
|
234
227
|
}
|
|
235
228
|
|
|
236
|
-
.
|
|
229
|
+
._actions_12udu_125 {
|
|
237
230
|
display: flex;
|
|
238
231
|
flex-direction: row;
|
|
239
232
|
align-items: center;
|