@c15t/react 0.0.1-rc.19 → 0.0.1-rc.21
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/components/consent-manager-dialog/__tests__/styles.spec.cjs +2 -3
- package/dist/components/consent-manager-dialog/atoms/dialog-card.cjs +57 -16
- package/dist/components/consent-manager-dialog/atoms/dialog-card.d.ts +9 -3
- package/dist/components/consent-manager-dialog/atoms/dialog-card.d.ts.map +1 -1
- package/dist/components/consent-manager-dialog/atoms/dialog-card.js +26 -12
- package/dist/components/consent-manager-dialog/atoms/overlay.cjs +9 -5
- package/dist/components/consent-manager-dialog/atoms/overlay.d.ts.map +1 -1
- package/dist/components/consent-manager-dialog/atoms/overlay.js +2 -2
- package/dist/components/consent-manager-dialog/consent-manager-dialog.cjs +6 -4
- package/dist/components/consent-manager-dialog/consent-manager-dialog.module.cjs +10 -6
- package/dist/components/consent-manager-dialog/consent-manager-dialog.module.js +4 -2
- package/dist/components/consent-manager-dialog/consent-manager-dialog_module.css +20 -5
- package/dist/components/consent-manager-dialog/index.cjs +32 -4
- package/dist/components/consent-manager-dialog/theme.cjs +3 -4
- package/dist/components/consent-manager-widget/__tests__/styles.spec.cjs +2 -3
- package/dist/components/consent-manager-widget/atoms/accordion.cjs +36 -4
- package/dist/components/consent-manager-widget/atoms/button.cjs +20 -4
- package/dist/components/consent-manager-widget/atoms/footer.cjs +12 -4
- package/dist/components/consent-manager-widget/atoms/root.cjs +8 -4
- package/dist/components/consent-manager-widget/consent-manager-widget.cjs +10 -18
- package/dist/components/consent-manager-widget/consent-manager-widget.d.ts.map +1 -1
- package/dist/components/consent-manager-widget/consent-manager-widget.js +4 -14
- package/dist/components/consent-manager-widget/consent-manager-widget.module.cjs +10 -9
- package/dist/components/consent-manager-widget/consent-manager-widget.module.js +4 -5
- package/dist/components/consent-manager-widget/consent-manager-widget_module.css +11 -16
- package/dist/components/consent-manager-widget/index.cjs +64 -4
- package/dist/components/consent-manager-widget/theme.cjs +3 -4
- package/dist/components/consent-manager-widget/types.cjs +3 -4
- package/dist/components/cookie-banner/__tests__/cookie-banner.e2e.test.cjs +189 -0
- package/dist/components/cookie-banner/__tests__/cookie-banner.e2e.test.d.ts +2 -0
- package/dist/components/cookie-banner/__tests__/cookie-banner.e2e.test.d.ts.map +1 -0
- package/dist/components/cookie-banner/__tests__/cookie-banner.e2e.test.js +183 -0
- package/dist/components/cookie-banner/__tests__/styles.spec.cjs +2 -3
- package/dist/components/cookie-banner/atoms/overlay.cjs +11 -7
- package/dist/components/cookie-banner/atoms/overlay.js +4 -4
- package/dist/components/cookie-banner/atoms/root.cjs +9 -5
- package/dist/components/cookie-banner/atoms/root.js +2 -2
- package/dist/components/cookie-banner/components.cjs +40 -4
- package/dist/components/cookie-banner/cookie-banner.cjs +6 -4
- package/dist/components/cookie-banner/cookie-banner.module.cjs +8 -6
- package/dist/components/cookie-banner/cookie-banner.module.js +2 -2
- package/dist/components/cookie-banner/error-boundary.cjs +6 -4
- package/dist/components/cookie-banner/index.cjs +48 -4
- package/dist/components/cookie-banner/theme.cjs +3 -4
- package/dist/components/shared/libs/polymorphic.cjs +3 -4
- package/dist/components/shared/libs/recursive-clone-children.cjs +6 -4
- package/dist/components/shared/primitives/box.cjs +7 -5
- package/dist/components/shared/primitives/box.d.ts.map +1 -1
- package/dist/components/shared/primitives/box.js +2 -2
- package/dist/components/shared/primitives/button.cjs +7 -5
- package/dist/components/shared/primitives/button.d.ts +2 -102
- package/dist/components/shared/primitives/button.d.ts.map +1 -1
- package/dist/components/shared/primitives/button.js +2 -2
- package/dist/components/shared/primitives/button.types.cjs +3 -4
- package/dist/components/shared/ui/accordion/accordion.cjs +19 -5
- package/dist/components/shared/ui/accordion/accordion.d.ts.map +1 -1
- package/dist/components/shared/ui/accordion/accordion.js +8 -8
- package/dist/components/shared/ui/accordion/accordion.module.cjs +9 -7
- package/dist/components/shared/ui/accordion/accordion.module.js +3 -3
- package/dist/components/shared/ui/accordion/accordion.types.cjs +3 -4
- package/dist/components/shared/ui/accordion/accordion_module.css +30 -11
- package/dist/components/shared/ui/accordion/index.cjs +3 -4
- package/dist/components/shared/ui/button/button.cjs +10 -4
- package/dist/components/shared/ui/button/button.d.ts +4 -204
- package/dist/components/shared/ui/button/button.d.ts.map +1 -1
- package/dist/components/shared/ui/button/button.module.cjs +8 -6
- package/dist/components/shared/ui/button/button.module.js +2 -2
- package/dist/components/shared/ui/button/button.types.cjs +3 -4
- package/dist/components/shared/ui/button/button_module.css +23 -2
- package/dist/components/shared/ui/button/index.cjs +3 -4
- package/dist/components/shared/ui/icon.cjs +6 -4
- package/dist/components/shared/ui/logo.cjs +40 -6
- package/dist/components/shared/ui/logo.d.ts +3 -2
- package/dist/components/shared/ui/logo.d.ts.map +1 -1
- package/dist/components/shared/ui/logo.js +31 -2
- package/dist/components/shared/ui/switch/index.cjs +3 -4
- package/dist/components/shared/ui/switch/switch.cjs +7 -5
- package/dist/components/shared/ui/switch/switch.d.ts.map +1 -1
- package/dist/components/shared/ui/switch/switch.js +3 -3
- package/dist/components/shared/ui/switch/switch.module.cjs +8 -6
- package/dist/components/shared/ui/switch/switch.module.js +2 -2
- package/dist/components/shared/ui/switch/switch.types.cjs +3 -4
- package/dist/components/shared/ui/switch/switch_module.css +16 -2
- package/dist/context/consent-manager-context.cjs +6 -4
- package/dist/context/theme-context.cjs +8 -4
- package/dist/hooks/__tests__/use-consent-manager.test.cjs +42 -0
- package/dist/hooks/__tests__/use-consent-manager.test.d.ts +2 -0
- package/dist/hooks/__tests__/use-consent-manager.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/use-consent-manager.test.js +36 -0
- package/dist/hooks/__tests__/use-styles.test.cjs +76 -0
- package/dist/hooks/__tests__/use-styles.test.d.ts +2 -0
- package/dist/hooks/__tests__/use-styles.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/use-styles.test.js +70 -0
- package/dist/hooks/__tests__/use-theme.test.cjs +86 -0
- package/dist/hooks/__tests__/use-theme.test.d.ts +2 -0
- package/dist/hooks/__tests__/use-theme.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/use-theme.test.js +80 -0
- package/dist/hooks/index.cjs +5 -6
- package/dist/hooks/use-color-scheme.cjs +6 -4
- package/dist/hooks/use-consent-manager.cjs +6 -4
- package/dist/hooks/use-consent-manager.d.ts +1 -0
- package/dist/hooks/use-consent-manager.d.ts.map +1 -1
- package/dist/hooks/use-focus-trap.cjs +6 -4
- package/dist/hooks/use-scroll-lock.cjs +6 -4
- package/dist/{utils → hooks}/use-styles.cjs +11 -9
- package/dist/{utils → hooks}/use-styles.d.ts.map +1 -1
- package/dist/{utils → hooks}/use-styles.js +5 -5
- package/dist/hooks/use-theme.cjs +8 -8
- package/dist/hooks/use-theme.js +2 -4
- package/dist/hooks/use-translations.cjs +6 -4
- package/dist/index.cjs +33 -9
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/providers/consent-manager-provider.cjs +17 -6
- package/dist/providers/consent-manager-provider.d.ts.map +1 -1
- package/dist/providers/consent-manager-provider.js +11 -2
- package/dist/types/consent-manager.cjs +3 -4
- package/dist/types/theme/index.cjs +3 -4
- package/dist/types/theme/style-keys.cjs +3 -4
- package/dist/types/theme/style-types.cjs +3 -4
- package/dist/utils/cn.cjs +6 -4
- package/dist/utils/merge-styles.cjs +6 -4
- package/dist/utils/test-helpers.cjs +14 -13
- package/dist/utils/test-helpers.js +6 -9
- package/dist/utils/translations.cjs +10 -4
- package/package.json +7 -7
- /package/dist/{utils → hooks}/use-styles.d.ts +0 -0
|
@@ -40,57 +40,7 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
}, {
|
|
41
41
|
root: (string | undefined)[];
|
|
42
42
|
icon: (string | undefined)[];
|
|
43
|
-
}, undefined,
|
|
44
|
-
variant: {
|
|
45
|
-
primary: {};
|
|
46
|
-
neutral: {};
|
|
47
|
-
};
|
|
48
|
-
mode: {
|
|
49
|
-
filled: {};
|
|
50
|
-
stroke: {};
|
|
51
|
-
lighter: {};
|
|
52
|
-
ghost: {};
|
|
53
|
-
};
|
|
54
|
-
size: {
|
|
55
|
-
medium: {
|
|
56
|
-
root: string | undefined;
|
|
57
|
-
};
|
|
58
|
-
small: {
|
|
59
|
-
root: string | undefined;
|
|
60
|
-
};
|
|
61
|
-
xsmall: {
|
|
62
|
-
root: string | undefined;
|
|
63
|
-
};
|
|
64
|
-
xxsmall: {
|
|
65
|
-
root: string | undefined;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
}, {
|
|
69
|
-
variant: {
|
|
70
|
-
primary: {};
|
|
71
|
-
neutral: {};
|
|
72
|
-
};
|
|
73
|
-
mode: {
|
|
74
|
-
filled: {};
|
|
75
|
-
stroke: {};
|
|
76
|
-
lighter: {};
|
|
77
|
-
ghost: {};
|
|
78
|
-
};
|
|
79
|
-
size: {
|
|
80
|
-
medium: {
|
|
81
|
-
root: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
small: {
|
|
84
|
-
root: string | undefined;
|
|
85
|
-
};
|
|
86
|
-
xsmall: {
|
|
87
|
-
root: string | undefined;
|
|
88
|
-
};
|
|
89
|
-
xxsmall: {
|
|
90
|
-
root: string | undefined;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}>, {
|
|
43
|
+
}, undefined, {
|
|
94
44
|
variant: {
|
|
95
45
|
primary: {};
|
|
96
46
|
neutral: {};
|
|
@@ -146,57 +96,7 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
146
96
|
}, {
|
|
147
97
|
root: (string | undefined)[];
|
|
148
98
|
icon: (string | undefined)[];
|
|
149
|
-
}, undefined,
|
|
150
|
-
variant: {
|
|
151
|
-
primary: {};
|
|
152
|
-
neutral: {};
|
|
153
|
-
};
|
|
154
|
-
mode: {
|
|
155
|
-
filled: {};
|
|
156
|
-
stroke: {};
|
|
157
|
-
lighter: {};
|
|
158
|
-
ghost: {};
|
|
159
|
-
};
|
|
160
|
-
size: {
|
|
161
|
-
medium: {
|
|
162
|
-
root: string | undefined;
|
|
163
|
-
};
|
|
164
|
-
small: {
|
|
165
|
-
root: string | undefined;
|
|
166
|
-
};
|
|
167
|
-
xsmall: {
|
|
168
|
-
root: string | undefined;
|
|
169
|
-
};
|
|
170
|
-
xxsmall: {
|
|
171
|
-
root: string | undefined;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
}, {
|
|
175
|
-
variant: {
|
|
176
|
-
primary: {};
|
|
177
|
-
neutral: {};
|
|
178
|
-
};
|
|
179
|
-
mode: {
|
|
180
|
-
filled: {};
|
|
181
|
-
stroke: {};
|
|
182
|
-
lighter: {};
|
|
183
|
-
ghost: {};
|
|
184
|
-
};
|
|
185
|
-
size: {
|
|
186
|
-
medium: {
|
|
187
|
-
root: string | undefined;
|
|
188
|
-
};
|
|
189
|
-
small: {
|
|
190
|
-
root: string | undefined;
|
|
191
|
-
};
|
|
192
|
-
xsmall: {
|
|
193
|
-
root: string | undefined;
|
|
194
|
-
};
|
|
195
|
-
xxsmall: {
|
|
196
|
-
root: string | undefined;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
}>, unknown, unknown, undefined>>;
|
|
99
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
200
100
|
/**
|
|
201
101
|
* Type definitions for button props
|
|
202
102
|
* @internal
|
|
@@ -250,57 +150,7 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
250
150
|
}, {
|
|
251
151
|
root: (string | undefined)[];
|
|
252
152
|
icon: (string | undefined)[];
|
|
253
|
-
}, undefined,
|
|
254
|
-
variant: {
|
|
255
|
-
primary: {};
|
|
256
|
-
neutral: {};
|
|
257
|
-
};
|
|
258
|
-
mode: {
|
|
259
|
-
filled: {};
|
|
260
|
-
stroke: {};
|
|
261
|
-
lighter: {};
|
|
262
|
-
ghost: {};
|
|
263
|
-
};
|
|
264
|
-
size: {
|
|
265
|
-
medium: {
|
|
266
|
-
root: string | undefined;
|
|
267
|
-
};
|
|
268
|
-
small: {
|
|
269
|
-
root: string | undefined;
|
|
270
|
-
};
|
|
271
|
-
xsmall: {
|
|
272
|
-
root: string | undefined;
|
|
273
|
-
};
|
|
274
|
-
xxsmall: {
|
|
275
|
-
root: string | undefined;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
}, {
|
|
279
|
-
variant: {
|
|
280
|
-
primary: {};
|
|
281
|
-
neutral: {};
|
|
282
|
-
};
|
|
283
|
-
mode: {
|
|
284
|
-
filled: {};
|
|
285
|
-
stroke: {};
|
|
286
|
-
lighter: {};
|
|
287
|
-
ghost: {};
|
|
288
|
-
};
|
|
289
|
-
size: {
|
|
290
|
-
medium: {
|
|
291
|
-
root: string | undefined;
|
|
292
|
-
};
|
|
293
|
-
small: {
|
|
294
|
-
root: string | undefined;
|
|
295
|
-
};
|
|
296
|
-
xsmall: {
|
|
297
|
-
root: string | undefined;
|
|
298
|
-
};
|
|
299
|
-
xxsmall: {
|
|
300
|
-
root: string | undefined;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
}>, {
|
|
153
|
+
}, undefined, {
|
|
304
154
|
variant: {
|
|
305
155
|
primary: {};
|
|
306
156
|
neutral: {};
|
|
@@ -356,57 +206,7 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
356
206
|
}, {
|
|
357
207
|
root: (string | undefined)[];
|
|
358
208
|
icon: (string | undefined)[];
|
|
359
|
-
}, undefined,
|
|
360
|
-
variant: {
|
|
361
|
-
primary: {};
|
|
362
|
-
neutral: {};
|
|
363
|
-
};
|
|
364
|
-
mode: {
|
|
365
|
-
filled: {};
|
|
366
|
-
stroke: {};
|
|
367
|
-
lighter: {};
|
|
368
|
-
ghost: {};
|
|
369
|
-
};
|
|
370
|
-
size: {
|
|
371
|
-
medium: {
|
|
372
|
-
root: string | undefined;
|
|
373
|
-
};
|
|
374
|
-
small: {
|
|
375
|
-
root: string | undefined;
|
|
376
|
-
};
|
|
377
|
-
xsmall: {
|
|
378
|
-
root: string | undefined;
|
|
379
|
-
};
|
|
380
|
-
xxsmall: {
|
|
381
|
-
root: string | undefined;
|
|
382
|
-
};
|
|
383
|
-
};
|
|
384
|
-
}, {
|
|
385
|
-
variant: {
|
|
386
|
-
primary: {};
|
|
387
|
-
neutral: {};
|
|
388
|
-
};
|
|
389
|
-
mode: {
|
|
390
|
-
filled: {};
|
|
391
|
-
stroke: {};
|
|
392
|
-
lighter: {};
|
|
393
|
-
ghost: {};
|
|
394
|
-
};
|
|
395
|
-
size: {
|
|
396
|
-
medium: {
|
|
397
|
-
root: string | undefined;
|
|
398
|
-
};
|
|
399
|
-
small: {
|
|
400
|
-
root: string | undefined;
|
|
401
|
-
};
|
|
402
|
-
xsmall: {
|
|
403
|
-
root: string | undefined;
|
|
404
|
-
};
|
|
405
|
-
xxsmall: {
|
|
406
|
-
root: string | undefined;
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
}>, unknown, unknown, undefined>>> & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
209
|
+
}, undefined, unknown, unknown, undefined>>> & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
410
210
|
/**
|
|
411
211
|
* When true, the component will render its children directly without wrapping them in a button element
|
|
412
212
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/button/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAIhB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAWxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/button/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAIhB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAWxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAyEzB,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAcpE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA1Bd;;OAEG;cACO,OAAO;qDAwDlB,CAAC;AAGF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,WAAW,EAAE,EAC1C,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,EAAE,EACF,SAAS,EACT,GAAG,IAAI,EACP,EAAE,yBAAyB,CAAC,CAAC,EAAE,iBAAiB,CAAC,2CAKjD;kBAZQ,UAAU;;;AAenB;;;GAGG;AACH,OAAO,EAAE,UAAU,IAAI,IAAI,EAAE,UAAU,IAAI,IAAI,EAAE,CAAC"}
|
|
@@ -12,7 +12,7 @@ var __webpack_require__ = {};
|
|
|
12
12
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
|
-
__webpack_require__.r =
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
16
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
@@ -24,10 +24,10 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
default: ()=>
|
|
27
|
+
default: ()=>button_module
|
|
28
28
|
});
|
|
29
29
|
require("./button_module.css");
|
|
30
|
-
const
|
|
30
|
+
const button_module = {
|
|
31
31
|
button: "c15t-button-YKOgW",
|
|
32
32
|
"button-medium": "c15t-button-medium-1Mfpj",
|
|
33
33
|
buttonMedium: "c15t-button-medium-1Mfpj",
|
|
@@ -56,8 +56,10 @@ const button_module_rslib_entry_ = {
|
|
|
56
56
|
"button-icon": "c15t-button-icon-ps6Fy",
|
|
57
57
|
buttonIcon: "c15t-button-icon-ps6Fy"
|
|
58
58
|
};
|
|
59
|
-
|
|
60
|
-
for(var __webpack_i__ in __webpack_exports__)
|
|
61
|
-
|
|
59
|
+
exports["default"] = __webpack_exports__["default"];
|
|
60
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
61
|
+
"default"
|
|
62
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
63
|
+
Object.defineProperty(exports, '__esModule', {
|
|
62
64
|
value: true
|
|
63
65
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./button_module.css";
|
|
2
|
-
const
|
|
2
|
+
const button_module = {
|
|
3
3
|
button: "c15t-button-YKOgW",
|
|
4
4
|
"button-medium": "c15t-button-medium-1Mfpj",
|
|
5
5
|
buttonMedium: "c15t-button-medium-1Mfpj",
|
|
@@ -28,4 +28,4 @@ const button_module_rslib_entry_ = {
|
|
|
28
28
|
"button-icon": "c15t-button-icon-ps6Fy",
|
|
29
29
|
buttonIcon: "c15t-button-icon-ps6Fy"
|
|
30
30
|
};
|
|
31
|
-
export {
|
|
31
|
+
export { button_module as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
3
|
(()=>{
|
|
4
|
-
__webpack_require__.r =
|
|
4
|
+
__webpack_require__.r = (exports1)=>{
|
|
5
5
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
6
6
|
value: 'Module'
|
|
7
7
|
});
|
|
@@ -12,8 +12,7 @@ var __webpack_require__ = {};
|
|
|
12
12
|
})();
|
|
13
13
|
var __webpack_exports__ = {};
|
|
14
14
|
__webpack_require__.r(__webpack_exports__);
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
15
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
16
|
+
Object.defineProperty(exports, '__esModule', {
|
|
18
17
|
value: true
|
|
19
18
|
});
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
--button-neutral-hover-dark: #363d49;
|
|
10
10
|
--button-neutral-soft: #ebebeb;
|
|
11
11
|
--button-neutral-soft-dark: #414958;
|
|
12
|
+
--button-focus-ring: #476cff;
|
|
13
|
+
--button-focus-ring-dark: #2547d0;
|
|
12
14
|
--button-text: #5c5c5c;
|
|
13
15
|
--button-text-dark: #b3b3b3;
|
|
14
16
|
--button-text-hover: #171717;
|
|
@@ -31,8 +33,10 @@
|
|
|
31
33
|
--button-cursor: pointer;
|
|
32
34
|
--button-shadow: 0px 1px 2px 0px #0e121b0f;
|
|
33
35
|
--button-shadow-dark: 0px 1px 2px 0px #8080800f;
|
|
34
|
-
--button-shadow-primary-focus: 0 0 0
|
|
35
|
-
--button-shadow-neutral-focus: 0 0 0
|
|
36
|
+
--button-shadow-primary-focus: 0 0 0 2px var(--button-focus-ring);
|
|
37
|
+
--button-shadow-neutral-focus: 0 0 0 2px var(--button-focus-ring);
|
|
38
|
+
--button-shadow-primary-focus-dark: 0 0 0 2px var(--button-focus-ring-dark);
|
|
39
|
+
--button-shadow-neutral-focus-dark: 0 0 0 2px var(--button-focus-ring-dark);
|
|
36
40
|
--button-shadow-primary: var(--button-shadow), inset 0 0 0 1px var(--button-primary);
|
|
37
41
|
--button-shadow-primary-dark: var(--button-shadow-dark), inset 0 0 0 1px var(--button-primary-dark);
|
|
38
42
|
--button-shadow-primary-hover: none;
|
|
@@ -59,6 +63,15 @@
|
|
|
59
63
|
display: inline-flex;
|
|
60
64
|
}
|
|
61
65
|
|
|
66
|
+
.c15t-button-YKOgW:focus-visible {
|
|
67
|
+
box-shadow: var(--button-shadow-primary-focus);
|
|
68
|
+
outline: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.c15t-dark .c15t-button-YKOgW:focus-visible {
|
|
72
|
+
box-shadow: var(--button-shadow-primary-focus-dark);
|
|
73
|
+
}
|
|
74
|
+
|
|
62
75
|
.c15t-dark .c15t-button-YKOgW {
|
|
63
76
|
color: var(--button-text-dark);
|
|
64
77
|
}
|
|
@@ -97,6 +110,10 @@
|
|
|
97
110
|
color: var(--button-background-color);
|
|
98
111
|
}
|
|
99
112
|
|
|
113
|
+
.c15t-button-primary-filled-YzeKk:focus-visible {
|
|
114
|
+
box-shadow: var(--button-shadow-primary-focus);
|
|
115
|
+
}
|
|
116
|
+
|
|
100
117
|
.c15t-dark .c15t-button-primary-filled-YzeKk {
|
|
101
118
|
background-color: var(--button-primary-dark);
|
|
102
119
|
color: var(--button-background-color-dark);
|
|
@@ -171,6 +188,10 @@
|
|
|
171
188
|
color: var(--button-background-color);
|
|
172
189
|
}
|
|
173
190
|
|
|
191
|
+
.c15t-button-neutral-filled-uvvkN:focus-visible {
|
|
192
|
+
box-shadow: var(--button-shadow-neutral-focus);
|
|
193
|
+
}
|
|
194
|
+
|
|
174
195
|
.c15t-dark .c15t-button-neutral-filled-uvvkN {
|
|
175
196
|
background-color: var(--button-neutral-dark);
|
|
176
197
|
color: var(--button-background-color-dark);
|
|
@@ -38,7 +38,7 @@ function __webpack_require__(moduleId) {
|
|
|
38
38
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
39
39
|
})();
|
|
40
40
|
(()=>{
|
|
41
|
-
__webpack_require__.r =
|
|
41
|
+
__webpack_require__.r = (exports1)=>{
|
|
42
42
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
43
43
|
value: 'Module'
|
|
44
44
|
});
|
|
@@ -63,8 +63,7 @@ var __webpack_exports__ = {};
|
|
|
63
63
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
64
64
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
65
65
|
})();
|
|
66
|
-
var
|
|
67
|
-
|
|
68
|
-
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
66
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
67
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
68
|
value: true
|
|
70
69
|
});
|
|
@@ -12,7 +12,7 @@ var __webpack_require__ = {};
|
|
|
12
12
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
|
-
__webpack_require__.r =
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
16
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
@@ -48,8 +48,10 @@ const LucideIcon = ({ title, iconPath })=>{
|
|
|
48
48
|
const IconComponent = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((svgProps, ref)=>Icon(svgProps, ref, title, iconPath));
|
|
49
49
|
return IconComponent;
|
|
50
50
|
};
|
|
51
|
-
|
|
52
|
-
for(var __webpack_i__ in __webpack_exports__)
|
|
53
|
-
|
|
51
|
+
exports.LucideIcon = __webpack_exports__.LucideIcon;
|
|
52
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
53
|
+
"LucideIcon"
|
|
54
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
55
|
+
Object.defineProperty(exports, '__esModule', {
|
|
54
56
|
value: true
|
|
55
57
|
});
|
|
@@ -12,7 +12,7 @@ var __webpack_require__ = {};
|
|
|
12
12
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
|
-
__webpack_require__.r =
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
16
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
@@ -24,10 +24,11 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
27
|
+
C15TIcon: ()=>C15TIcon,
|
|
28
|
+
ConsentLogo: ()=>ConsentLogo
|
|
28
29
|
});
|
|
29
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
const
|
|
31
|
+
const C15TIcon = ({ title = 'c15t', titleId = 'c15t', ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
31
32
|
xmlns: "http://www.w3.org/2000/svg",
|
|
32
33
|
viewBox: "0 0 408 149",
|
|
33
34
|
"aria-labelledby": titleId,
|
|
@@ -49,8 +50,41 @@ const ConsentManagementIcon = ({ title = 'c15t', titleId = 'c15t', ...props })=>
|
|
|
49
50
|
})
|
|
50
51
|
]
|
|
51
52
|
});
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
const ConsentLogo = ({ title = 'Consent', titleId = 'consent-logo', ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
+
viewBox: "0 0 595 97",
|
|
56
|
+
"aria-labelledby": titleId,
|
|
57
|
+
className: "consent-logo",
|
|
58
|
+
...props,
|
|
59
|
+
children: [
|
|
60
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("title", {
|
|
61
|
+
id: titleId,
|
|
62
|
+
children: title
|
|
63
|
+
}),
|
|
64
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
65
|
+
fill: "currentColor",
|
|
66
|
+
fillRule: "evenodd",
|
|
67
|
+
d: "M53.679 70.787c6.17 0 11.172-5.002 11.172-11.172 0-4.009-2.111-7.524-5.283-9.495a23.868 23.868 0 0 1 8.817-1.677c13.217 0 23.93 10.714 23.93 23.93s-10.713 23.93-23.93 23.93c-13.216 0-23.93-10.714-23.93-23.93 0-1.924.227-3.795.656-5.588a11.148 11.148 0 0 0 8.568 4.002Z",
|
|
68
|
+
clipRule: "evenodd"
|
|
69
|
+
}),
|
|
70
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
71
|
+
fill: "currentColor",
|
|
72
|
+
fillRule: "evenodd",
|
|
73
|
+
d: "M1.118 74.716a68.462 68.462 0 0 1-.098-3.654c0-37.205 30.16-67.365 67.365-67.365s67.365 30.16 67.365 67.365c0 1.226-.032 2.444-.097 3.654h-21.927c.041-.776.061-1.557.061-2.343 0-24.531-19.887-44.418-44.418-44.418-24.532 0-44.418 19.887-44.418 44.418 0 .786.02 1.567.06 2.343H1.118Z",
|
|
74
|
+
clipRule: "evenodd"
|
|
75
|
+
}),
|
|
76
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
77
|
+
fill: "currentColor",
|
|
78
|
+
d: "M566.424 36.6h-7.8V23.52h7.8V.36h14.4v23.16h13.08V36.6h-13.08V84h-14.4V36.6ZM497.535 23.52h14.28v8.64c2.76-5.76 9.6-9.84 18.36-9.84 14.52 0 22.92 9.36 22.92 24.24V84h-14.4V48.6c0-8.16-4.68-13.44-12.84-13.44s-14.04 5.76-14.04 14.04V84h-14.28V23.52ZM429.265 53.76c0-19.44 13.56-31.92 31.68-31.92 18 0 29.88 13.56 29.88 30.48 0 0 0 2.64-.24 5.04h-47.04c.48 9.6 7.56 15.84 18.24 15.84 7.32 0 11.76-2.4 16.32-6.96l8.64 8.4c-7.8 8.28-16.32 10.8-25.44 10.8-18.96 0-32.04-12.24-32.04-31.2v-.48Zm46.92-6.48c0-7.2-6.84-13.2-15.24-13.2-9 0-16.44 5.88-17.04 13.2h32.28ZM385.367 65.52c2.52 4.08 8.159 7.56 15.959 7.56 8.28 0 10.8-3.48 10.8-6.6 0-5.04-7.2-6.24-16.56-9.6-8.88-3.24-14.88-7.8-14.88-17.04 0-11.64 9.84-18.12 21.36-18.12 10.08 0 16.8 3.84 21 9.12l-8.039 8.52c-2.521-3-6.6-5.28-13.2-5.28-4.56 0-7.321 2.16-7.321 5.4 0 4.56 5.041 5.16 15.241 8.88 11.16 3.96 16.199 9.24 16.199 18 0 10.44-7.559 19.2-24.839 19.2-12.6 0-21.241-5.04-24.961-12.24l9.241-7.8ZM315.997 23.52h14.28v8.64c2.76-5.76 9.6-9.84 18.36-9.84 14.52 0 22.92 9.36 22.92 24.24V84h-14.4V48.6c0-8.16-4.68-13.44-12.84-13.44s-14.04 5.76-14.04 14.04V84h-14.28V23.52ZM242.806 53.76c0-18.12 14.64-32.04 33-32.04 18.24 0 33 13.92 33 32.04 0 18.12-14.76 32.04-33 32.04-18.36 0-33-13.92-33-32.04Zm14.28 0c0 10.68 8.04 18.96 18.72 18.96 10.56 0 18.72-8.28 18.72-18.96 0-10.68-8.16-18.96-18.72-18.96-10.68 0-18.72 8.28-18.72 18.96ZM183.387 53.64c0-18.48 14.64-32.04 32.88-32.04 9 0 17.28 3 24.24 10.44l-8.88 9.24c-4.08-4.2-8.88-6.6-15.36-6.6-10.56 0-18.6 8.04-18.6 18.96 0 10.92 8.04 18.96 18.6 18.96 6.48 0 11.28-2.4 15.36-6.6l8.88 9.24c-6.96 7.44-15.24 10.44-24.24 10.44-18.24 0-32.88-13.56-32.88-32.04Z"
|
|
79
|
+
})
|
|
80
|
+
]
|
|
81
|
+
});
|
|
82
|
+
exports.C15TIcon = __webpack_exports__.C15TIcon;
|
|
83
|
+
exports.ConsentLogo = __webpack_exports__.ConsentLogo;
|
|
84
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
85
|
+
"C15TIcon",
|
|
86
|
+
"ConsentLogo"
|
|
87
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
88
|
+
Object.defineProperty(exports, '__esModule', {
|
|
55
89
|
value: true
|
|
56
90
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface C15TIconProps {
|
|
3
3
|
title?: string;
|
|
4
4
|
titleId?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const C15TIcon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & C15TIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const ConsentLogo: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & C15TIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/ui/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,UAAU,
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/ui/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,UAAU,aAAa;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,GAAI,8BAItB,QAAQ,CAAC,aAAa,CAAC,GAAG,aAAa,4CAmBzC,CAAC;AAGF,eAAO,MAAM,WAAW,GAAI,8BAIzB,QAAQ,CAAC,aAAa,CAAC,GAAG,aAAa,4CA0BzC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const C15TIcon = ({ title = 'c15t', titleId = 'c15t', ...props })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("svg", {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
viewBox: "0 0 408 149",
|
|
5
5
|
"aria-labelledby": titleId,
|
|
@@ -21,4 +21,33 @@ const ConsentManagementIcon = ({ title = 'c15t', titleId = 'c15t', ...props })=>
|
|
|
21
21
|
})
|
|
22
22
|
]
|
|
23
23
|
});
|
|
24
|
-
|
|
24
|
+
const ConsentLogo = ({ title = 'Consent', titleId = 'consent-logo', ...props })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("svg", {
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
viewBox: "0 0 595 97",
|
|
27
|
+
"aria-labelledby": titleId,
|
|
28
|
+
className: "consent-logo",
|
|
29
|
+
...props,
|
|
30
|
+
children: [
|
|
31
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("title", {
|
|
32
|
+
id: titleId,
|
|
33
|
+
children: title
|
|
34
|
+
}),
|
|
35
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
36
|
+
fill: "currentColor",
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M53.679 70.787c6.17 0 11.172-5.002 11.172-11.172 0-4.009-2.111-7.524-5.283-9.495a23.868 23.868 0 0 1 8.817-1.677c13.217 0 23.93 10.714 23.93 23.93s-10.713 23.93-23.93 23.93c-13.216 0-23.93-10.714-23.93-23.93 0-1.924.227-3.795.656-5.588a11.148 11.148 0 0 0 8.568 4.002Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
}),
|
|
41
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
42
|
+
fill: "currentColor",
|
|
43
|
+
fillRule: "evenodd",
|
|
44
|
+
d: "M1.118 74.716a68.462 68.462 0 0 1-.098-3.654c0-37.205 30.16-67.365 67.365-67.365s67.365 30.16 67.365 67.365c0 1.226-.032 2.444-.097 3.654h-21.927c.041-.776.061-1.557.061-2.343 0-24.531-19.887-44.418-44.418-44.418-24.532 0-44.418 19.887-44.418 44.418 0 .786.02 1.567.06 2.343H1.118Z",
|
|
45
|
+
clipRule: "evenodd"
|
|
46
|
+
}),
|
|
47
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
48
|
+
fill: "currentColor",
|
|
49
|
+
d: "M566.424 36.6h-7.8V23.52h7.8V.36h14.4v23.16h13.08V36.6h-13.08V84h-14.4V36.6ZM497.535 23.52h14.28v8.64c2.76-5.76 9.6-9.84 18.36-9.84 14.52 0 22.92 9.36 22.92 24.24V84h-14.4V48.6c0-8.16-4.68-13.44-12.84-13.44s-14.04 5.76-14.04 14.04V84h-14.28V23.52ZM429.265 53.76c0-19.44 13.56-31.92 31.68-31.92 18 0 29.88 13.56 29.88 30.48 0 0 0 2.64-.24 5.04h-47.04c.48 9.6 7.56 15.84 18.24 15.84 7.32 0 11.76-2.4 16.32-6.96l8.64 8.4c-7.8 8.28-16.32 10.8-25.44 10.8-18.96 0-32.04-12.24-32.04-31.2v-.48Zm46.92-6.48c0-7.2-6.84-13.2-15.24-13.2-9 0-16.44 5.88-17.04 13.2h32.28ZM385.367 65.52c2.52 4.08 8.159 7.56 15.959 7.56 8.28 0 10.8-3.48 10.8-6.6 0-5.04-7.2-6.24-16.56-9.6-8.88-3.24-14.88-7.8-14.88-17.04 0-11.64 9.84-18.12 21.36-18.12 10.08 0 16.8 3.84 21 9.12l-8.039 8.52c-2.521-3-6.6-5.28-13.2-5.28-4.56 0-7.321 2.16-7.321 5.4 0 4.56 5.041 5.16 15.241 8.88 11.16 3.96 16.199 9.24 16.199 18 0 10.44-7.559 19.2-24.839 19.2-12.6 0-21.241-5.04-24.961-12.24l9.241-7.8ZM315.997 23.52h14.28v8.64c2.76-5.76 9.6-9.84 18.36-9.84 14.52 0 22.92 9.36 22.92 24.24V84h-14.4V48.6c0-8.16-4.68-13.44-12.84-13.44s-14.04 5.76-14.04 14.04V84h-14.28V23.52ZM242.806 53.76c0-18.12 14.64-32.04 33-32.04 18.24 0 33 13.92 33 32.04 0 18.12-14.76 32.04-33 32.04-18.36 0-33-13.92-33-32.04Zm14.28 0c0 10.68 8.04 18.96 18.72 18.96 10.56 0 18.72-8.28 18.72-18.96 0-10.68-8.16-18.96-18.72-18.96-10.68 0-18.72 8.28-18.72 18.96ZM183.387 53.64c0-18.48 14.64-32.04 32.88-32.04 9 0 17.28 3 24.24 10.44l-8.88 9.24c-4.08-4.2-8.88-6.6-15.36-6.6-10.56 0-18.6 8.04-18.6 18.96 0 10.92 8.04 18.96 18.6 18.96 6.48 0 11.28-2.4 15.36-6.6l8.88 9.24c-6.96 7.44-15.24 10.44-24.24 10.44-18.24 0-32.88-13.56-32.88-32.04Z"
|
|
50
|
+
})
|
|
51
|
+
]
|
|
52
|
+
});
|
|
53
|
+
export { C15TIcon, ConsentLogo };
|
|
@@ -38,7 +38,7 @@ function __webpack_require__(moduleId) {
|
|
|
38
38
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
39
39
|
})();
|
|
40
40
|
(()=>{
|
|
41
|
-
__webpack_require__.r =
|
|
41
|
+
__webpack_require__.r = (exports1)=>{
|
|
42
42
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
43
43
|
value: 'Module'
|
|
44
44
|
});
|
|
@@ -63,8 +63,7 @@ var __webpack_exports__ = {};
|
|
|
63
63
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
64
64
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
65
65
|
})();
|
|
66
|
-
var
|
|
67
|
-
|
|
68
|
-
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
66
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
67
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
68
|
value: true
|
|
70
69
|
});
|
|
@@ -21,7 +21,7 @@ var __webpack_require__ = {};
|
|
|
21
21
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
22
22
|
})();
|
|
23
23
|
(()=>{
|
|
24
|
-
__webpack_require__.r =
|
|
24
|
+
__webpack_require__.r = (exports1)=>{
|
|
25
25
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
26
26
|
value: 'Module'
|
|
27
27
|
});
|
|
@@ -39,7 +39,7 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
|
39
39
|
const react_switch_namespaceObject = require("@radix-ui/react-switch");
|
|
40
40
|
const external_react_namespaceObject = require("react");
|
|
41
41
|
const box_cjs_namespaceObject = require("../../primitives/box.cjs");
|
|
42
|
-
const use_styles_cjs_namespaceObject = require("../../../../
|
|
42
|
+
const use_styles_cjs_namespaceObject = require("../../../../hooks/use-styles.cjs");
|
|
43
43
|
const external_switch_module_cjs_namespaceObject = require("./switch.module.cjs");
|
|
44
44
|
var external_switch_module_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_switch_module_cjs_namespaceObject);
|
|
45
45
|
const Switch = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(({ className, disabled, slot, theme, ...rest }, forwardedRef)=>{
|
|
@@ -82,8 +82,10 @@ const Switch = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(({ c
|
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
Switch.displayName = react_switch_namespaceObject.Root.displayName;
|
|
85
|
-
|
|
86
|
-
for(var __webpack_i__ in __webpack_exports__)
|
|
87
|
-
|
|
85
|
+
exports.Root = __webpack_exports__.Root;
|
|
86
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
87
|
+
"Root"
|
|
88
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
89
|
+
Object.defineProperty(exports, '__esModule', {
|
|
88
90
|
value: true
|
|
89
91
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/switch/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EACN,KAAK,wBAAwB,EAG7B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/switch/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EACN,KAAK,wBAAwB,EAG7B,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGjE,MAAM,MAAM,gBAAgB,GAAG;IAC9B,aAAa,EAAE,UAAU,CAAC;IAC1B,cAAc,EAAE,UAAU,CAAC;IAC3B,cAAc,EAAE,UAAU,CAAC;CAC3B,CAAC;AACF;;;;;GAKG;AACH,MAAM,WAAW,WAChB,SAAQ,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC;IAC9D,KAAK,CAAC,EAAE;QACP,IAAI,EAAE,eAAe,CAAC;QACtB,KAAK,EAAE,eAAe,CAAC;QACvB,KAAK,EAAE,eAAe,CAAC;KACvB,CAAC;CACF;AAED,QAAA,MAAM,MAAM,2GAwCV,CAAC;AAGH,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,CAAC"}
|
|
@@ -2,10 +2,10 @@ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/j
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_switch_5e92b7ed__ from "@radix-ui/react-switch";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__primitives_box_js_62a8881e__ from "../../primitives/box.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__hooks_use_styles_js_1f2602ad__ from "../../../../hooks/use-styles.js";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE__switch_module_js_3c835a72__ from "./switch.module.js";
|
|
7
7
|
const Switch = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(({ className, disabled, slot, theme, ...rest }, forwardedRef)=>{
|
|
8
|
-
const switchRoot = (0,
|
|
8
|
+
const switchRoot = (0, __WEBPACK_EXTERNAL_MODULE__hooks_use_styles_js_1f2602ad__.useStyles)(theme?.root.themeKey ?? 'switch.root', {
|
|
9
9
|
...theme?.root,
|
|
10
10
|
baseClassName: [
|
|
11
11
|
__WEBPACK_EXTERNAL_MODULE__switch_module_js_3c835a72__["default"].root,
|
|
@@ -13,7 +13,7 @@ const Switch = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)((
|
|
|
13
13
|
],
|
|
14
14
|
className
|
|
15
15
|
});
|
|
16
|
-
const switchThumb = (0,
|
|
16
|
+
const switchThumb = (0, __WEBPACK_EXTERNAL_MODULE__hooks_use_styles_js_1f2602ad__.useStyles)(theme?.thumb.themeKey ?? 'switch.thumb', {
|
|
17
17
|
...theme?.thumb,
|
|
18
18
|
baseClassName: [
|
|
19
19
|
theme?.thumb.baseClassName,
|