@c15t/react 0.0.1-rc.12 → 0.0.1-rc.14

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.
Files changed (68) hide show
  1. package/dist/components/consent-manager-dialog/__tests__/styles.spec.cjs +7 -7
  2. package/dist/components/consent-manager-dialog/__tests__/styles.spec.js +6 -6
  3. package/dist/components/consent-manager-dialog/consent-manager-dialog_module.css +3 -3
  4. package/dist/components/consent-manager-widget/__tests__/styles.spec.cjs +7 -7
  5. package/dist/components/consent-manager-widget/__tests__/styles.spec.js +6 -6
  6. package/dist/components/cookie-banner/__tests__/styles.spec.cjs +24 -7
  7. package/dist/components/cookie-banner/__tests__/styles.spec.js +23 -6
  8. package/dist/components/cookie-banner/error-boundary.cjs +0 -1
  9. package/dist/components/cookie-banner/error-boundary.js +0 -1
  10. package/dist/components/shared/libs/polymorphic.d.ts +1 -7
  11. package/dist/components/shared/libs/polymorphic.d.ts.map +1 -1
  12. package/dist/components/shared/primitives/button.cjs +2 -52
  13. package/dist/components/shared/primitives/button.d.ts.map +1 -1
  14. package/dist/components/shared/primitives/button.js +2 -52
  15. package/dist/components/shared/primitives/button.types.d.ts +1 -8
  16. package/dist/components/shared/primitives/button.types.d.ts.map +1 -1
  17. package/dist/components/shared/ui/accordion/accordion.types.d.ts +0 -10
  18. package/dist/components/shared/ui/accordion/accordion.types.d.ts.map +1 -1
  19. package/dist/components/shared/ui/logo.cjs +4 -5
  20. package/dist/components/shared/ui/logo.d.ts.map +1 -1
  21. package/dist/components/shared/ui/logo.js +4 -5
  22. package/dist/context/consent-manager-context.d.ts +2 -2
  23. package/dist/context/consent-manager-context.d.ts.map +1 -1
  24. package/dist/hooks/use-consent-manager.cjs +2 -2
  25. package/dist/hooks/use-consent-manager.d.ts +2 -7
  26. package/dist/hooks/use-consent-manager.d.ts.map +1 -1
  27. package/dist/hooks/use-consent-manager.js +2 -2
  28. package/dist/hooks/use-focus-trap.cjs +1 -1
  29. package/dist/hooks/use-focus-trap.js +1 -1
  30. package/dist/hooks/use-theme.d.ts.map +1 -1
  31. package/dist/index.cjs +6 -12
  32. package/dist/index.d.ts +1 -2
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +2 -4
  35. package/dist/providers/consent-manager-provider.cjs +26 -18
  36. package/dist/providers/consent-manager-provider.d.ts +16 -2
  37. package/dist/providers/consent-manager-provider.d.ts.map +1 -1
  38. package/dist/providers/consent-manager-provider.js +26 -18
  39. package/dist/types/consent-manager.d.ts +26 -55
  40. package/dist/types/consent-manager.d.ts.map +1 -1
  41. package/dist/utils/cn.cjs +0 -2
  42. package/dist/utils/cn.d.ts +1 -5
  43. package/dist/utils/cn.d.ts.map +1 -1
  44. package/dist/utils/cn.js +1 -2
  45. package/dist/{components/consent-manager-dialog/__tests__/utils.cjs → utils/test-helpers.cjs} +26 -28
  46. package/dist/utils/test-helpers.d.ts +30 -0
  47. package/dist/utils/test-helpers.d.ts.map +1 -0
  48. package/dist/utils/test-helpers.js +36 -0
  49. package/package.json +2 -2
  50. package/dist/components/consent-manager-dialog/__tests__/utils.d.ts +0 -13
  51. package/dist/components/consent-manager-dialog/__tests__/utils.d.ts.map +0 -1
  52. package/dist/components/consent-manager-dialog/__tests__/utils.js +0 -39
  53. package/dist/components/consent-manager-widget/__tests__/utils.cjs +0 -71
  54. package/dist/components/consent-manager-widget/__tests__/utils.d.ts +0 -13
  55. package/dist/components/consent-manager-widget/__tests__/utils.d.ts.map +0 -1
  56. package/dist/components/consent-manager-widget/__tests__/utils.js +0 -39
  57. package/dist/components/consent-manager-widget/atoms/logo.cjs +0 -99
  58. package/dist/components/consent-manager-widget/atoms/logo.d.ts +0 -8
  59. package/dist/components/consent-manager-widget/atoms/logo.d.ts.map +0 -1
  60. package/dist/components/consent-manager-widget/atoms/logo.js +0 -67
  61. package/dist/components/cookie-banner/__tests__/utils.cjs +0 -70
  62. package/dist/components/cookie-banner/__tests__/utils.d.ts +0 -13
  63. package/dist/components/cookie-banner/__tests__/utils.d.ts.map +0 -1
  64. package/dist/components/cookie-banner/__tests__/utils.js +0 -38
  65. package/dist/hooks/use-consent-client.cjs +0 -41
  66. package/dist/hooks/use-consent-client.d.ts +0 -26
  67. package/dist/hooks/use-consent-client.d.ts.map +0 -1
  68. package/dist/hooks/use-consent-client.js +0 -9
@@ -24,8 +24,8 @@ var __webpack_exports__ = {};
24
24
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
25
25
  const external_vitest_namespaceObject = require("vitest");
26
26
  const external_consent_manager_dialog_cjs_namespaceObject = require("../consent-manager-dialog.cjs");
27
- const external_utils_cjs_namespaceObject = require("./utils.cjs");
28
- var external_utils_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_utils_cjs_namespaceObject);
27
+ const test_helpers_cjs_namespaceObject = require("../../../utils/test-helpers.cjs");
28
+ var test_helpers_cjs_default = /*#__PURE__*/ __webpack_require__.n(test_helpers_cjs_namespaceObject);
29
29
  const ALL_COMPONENTS = [
30
30
  {
31
31
  testId: 'consent-manager-dialog-root',
@@ -72,7 +72,7 @@ const ALL_COMPONENTS = [
72
72
  return acc;
73
73
  }, {})
74
74
  });
75
- await external_utils_cjs_default()({
75
+ await test_helpers_cjs_default()({
76
76
  component: test,
77
77
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
78
78
  testId,
@@ -103,7 +103,7 @@ const ALL_COMPONENTS = [
103
103
  return acc;
104
104
  }, {})
105
105
  });
106
- await external_utils_cjs_default()({
106
+ await test_helpers_cjs_default()({
107
107
  component: test,
108
108
  testCases: testCases.map(({ testId, className, style })=>({
109
109
  testId,
@@ -124,7 +124,7 @@ const ALL_COMPONENTS = [
124
124
  return acc;
125
125
  }, {})
126
126
  });
127
- await external_utils_cjs_default()({
127
+ await test_helpers_cjs_default()({
128
128
  component: test,
129
129
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
130
130
  testId,
@@ -149,7 +149,7 @@ const ALL_COMPONENTS = [
149
149
  theme: mixedTheme,
150
150
  open: true
151
151
  });
152
- await external_utils_cjs_default()({
152
+ await test_helpers_cjs_default()({
153
153
  component: test,
154
154
  testCases: [
155
155
  {
@@ -186,7 +186,7 @@ const ALL_COMPONENTS = [
186
186
  open: true,
187
187
  theme: edgeCaseTheme
188
188
  });
189
- await external_utils_cjs_default()({
189
+ await test_helpers_cjs_default()({
190
190
  component: test,
191
191
  testCases: [
192
192
  {
@@ -1,7 +1,7 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_vitest__ from "vitest";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE__consent_manager_dialog_js_fdf416e1__ from "../consent-manager-dialog.js";
4
- import * as __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__ from "./utils.js";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__ from "../../../utils/test-helpers.js";
5
5
  const ALL_COMPONENTS = [
6
6
  {
7
7
  testId: 'consent-manager-dialog-root',
@@ -48,7 +48,7 @@ const ALL_COMPONENTS = [
48
48
  return acc;
49
49
  }, {})
50
50
  });
51
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
51
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
52
52
  component: test,
53
53
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
54
54
  testId,
@@ -79,7 +79,7 @@ const ALL_COMPONENTS = [
79
79
  return acc;
80
80
  }, {})
81
81
  });
82
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
82
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
83
83
  component: test,
84
84
  testCases: testCases.map(({ testId, className, style })=>({
85
85
  testId,
@@ -100,7 +100,7 @@ const ALL_COMPONENTS = [
100
100
  return acc;
101
101
  }, {})
102
102
  });
103
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
103
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
104
104
  component: test,
105
105
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
106
106
  testId,
@@ -125,7 +125,7 @@ const ALL_COMPONENTS = [
125
125
  theme: mixedTheme,
126
126
  open: true
127
127
  });
128
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
128
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
129
129
  component: test,
130
130
  testCases: [
131
131
  {
@@ -162,7 +162,7 @@ const ALL_COMPONENTS = [
162
162
  open: true,
163
163
  theme: edgeCaseTheme
164
164
  });
165
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
165
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
166
166
  component: test,
167
167
  testCases: [
168
168
  {
@@ -33,7 +33,7 @@
33
33
  --dialog-card-gap: .375rem;
34
34
  --dialog-header-gap: .375rem;
35
35
  --dialog-content-gap: 1rem;
36
- --dialog-footer-padding-top: 1rem;
36
+ --dialog-footer-padding-y: 1rem;
37
37
  --dialog-card-radius: 1.25rem;
38
38
  --dialog-max-width: 28rem;
39
39
  --dialog-height: 80%;
@@ -188,8 +188,8 @@
188
188
 
189
189
  .c15t-footer-oOtr_ {
190
190
  font-size: var(--dialog-footer-font-size);
191
- padding: var(--dialog-card-padding);
192
- padding-top: var(--dialog-footer-padding-top);
191
+ padding-top: var(--dialog-footer-padding-y);
192
+ padding-bottom: var(--dialog-footer-padding-y);
193
193
  border-top: var(--dialog-border-width) var(--dialog-border-style) var(--dialog-stroke-color);
194
194
  justify-content: center;
195
195
  align-items: center;
@@ -24,8 +24,8 @@ var __webpack_exports__ = {};
24
24
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
25
25
  const external_vitest_namespaceObject = require("vitest");
26
26
  const external_consent_manager_widget_cjs_namespaceObject = require("../consent-manager-widget.cjs");
27
- const external_utils_cjs_namespaceObject = require("./utils.cjs");
28
- var external_utils_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_utils_cjs_namespaceObject);
27
+ const test_helpers_cjs_namespaceObject = require("../../../utils/test-helpers.cjs");
28
+ var test_helpers_cjs_default = /*#__PURE__*/ __webpack_require__.n(test_helpers_cjs_namespaceObject);
29
29
  const ALL_COMPONENTS = [
30
30
  {
31
31
  testId: 'consent-manager-widget-root',
@@ -85,7 +85,7 @@ const ALL_COMPONENTS = [
85
85
  return acc;
86
86
  }, {})
87
87
  });
88
- await external_utils_cjs_default()({
88
+ await test_helpers_cjs_default()({
89
89
  component: test,
90
90
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
91
91
  testId,
@@ -114,7 +114,7 @@ const ALL_COMPONENTS = [
114
114
  return acc;
115
115
  }, {})
116
116
  });
117
- await external_utils_cjs_default()({
117
+ await test_helpers_cjs_default()({
118
118
  component: test,
119
119
  testCases: testCases.map(({ testId, className, style })=>({
120
120
  testId,
@@ -133,7 +133,7 @@ const ALL_COMPONENTS = [
133
133
  return acc;
134
134
  }, {})
135
135
  });
136
- await external_utils_cjs_default()({
136
+ await test_helpers_cjs_default()({
137
137
  component: test,
138
138
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
139
139
  testId,
@@ -156,7 +156,7 @@ const ALL_COMPONENTS = [
156
156
  const test = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_consent_manager_widget_cjs_namespaceObject.ConsentManagerWidget, {
157
157
  theme: mixedTheme
158
158
  });
159
- await external_utils_cjs_default()({
159
+ await test_helpers_cjs_default()({
160
160
  component: test,
161
161
  testCases: [
162
162
  {
@@ -191,7 +191,7 @@ const ALL_COMPONENTS = [
191
191
  const test = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_consent_manager_widget_cjs_namespaceObject.ConsentManagerWidget, {
192
192
  theme: edgeCaseTheme
193
193
  });
194
- await external_utils_cjs_default()({
194
+ await test_helpers_cjs_default()({
195
195
  component: test,
196
196
  testCases: [
197
197
  {
@@ -1,7 +1,7 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_vitest__ from "vitest";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE__consent_manager_widget_js_ec34d749__ from "../consent-manager-widget.js";
4
- import * as __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__ from "./utils.js";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__ from "../../../utils/test-helpers.js";
5
5
  const ALL_COMPONENTS = [
6
6
  {
7
7
  testId: 'consent-manager-widget-root',
@@ -61,7 +61,7 @@ const ALL_COMPONENTS = [
61
61
  return acc;
62
62
  }, {})
63
63
  });
64
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
64
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
65
65
  component: test,
66
66
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
67
67
  testId,
@@ -90,7 +90,7 @@ const ALL_COMPONENTS = [
90
90
  return acc;
91
91
  }, {})
92
92
  });
93
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
93
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
94
94
  component: test,
95
95
  testCases: testCases.map(({ testId, className, style })=>({
96
96
  testId,
@@ -109,7 +109,7 @@ const ALL_COMPONENTS = [
109
109
  return acc;
110
110
  }, {})
111
111
  });
112
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
112
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
113
113
  component: test,
114
114
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
115
115
  testId,
@@ -132,7 +132,7 @@ const ALL_COMPONENTS = [
132
132
  const test = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__consent_manager_widget_js_ec34d749__.ConsentManagerWidget, {
133
133
  theme: mixedTheme
134
134
  });
135
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
135
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
136
136
  component: test,
137
137
  testCases: [
138
138
  {
@@ -167,7 +167,7 @@ const ALL_COMPONENTS = [
167
167
  const test = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__consent_manager_widget_js_ec34d749__.ConsentManagerWidget, {
168
168
  theme: edgeCaseTheme
169
169
  });
170
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
170
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
171
171
  component: test,
172
172
  testCases: [
173
173
  {
@@ -24,8 +24,25 @@ var __webpack_exports__ = {};
24
24
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
25
25
  const external_vitest_namespaceObject = require("vitest");
26
26
  const external_cookie_banner_cjs_namespaceObject = require("../cookie-banner.cjs");
27
- const external_utils_cjs_namespaceObject = require("./utils.cjs");
28
- var external_utils_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_utils_cjs_namespaceObject);
27
+ const test_helpers_cjs_namespaceObject = require("../../../utils/test-helpers.cjs");
28
+ var test_helpers_cjs_default = /*#__PURE__*/ __webpack_require__.n(test_helpers_cjs_namespaceObject);
29
+ external_vitest_namespaceObject.vi.mock('~/hooks/use-consent-manager', ()=>({
30
+ useConsentManager: ()=>({
31
+ showPopup: true,
32
+ ...external_vitest_namespaceObject.vi.fn()
33
+ })
34
+ }));
35
+ external_vitest_namespaceObject.vi.mock('~/hooks/use-translations', ()=>({
36
+ useTranslations: ()=>({
37
+ cookieBanner: {
38
+ title: 'Cookie Settings',
39
+ description: 'We use cookies to enhance your experience',
40
+ acceptAll: 'Accept All',
41
+ rejectAll: 'Reject All',
42
+ customize: 'Customize'
43
+ }
44
+ })
45
+ }));
29
46
  const ALL_COMPONENTS = [
30
47
  {
31
48
  testId: 'cookie-banner-root',
@@ -91,7 +108,7 @@ const ALL_COMPONENTS = [
91
108
  return acc;
92
109
  }, {})
93
110
  });
94
- await external_utils_cjs_default()({
111
+ await test_helpers_cjs_default()({
95
112
  component: test,
96
113
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
97
114
  testId,
@@ -121,7 +138,7 @@ const ALL_COMPONENTS = [
121
138
  return acc;
122
139
  }, {})
123
140
  });
124
- await external_utils_cjs_default()({
141
+ await test_helpers_cjs_default()({
125
142
  component: test,
126
143
  testCases: testCases.map(({ testId, className, style })=>({
127
144
  testId,
@@ -141,7 +158,7 @@ const ALL_COMPONENTS = [
141
158
  return acc;
142
159
  }, {})
143
160
  });
144
- await external_utils_cjs_default()({
161
+ await test_helpers_cjs_default()({
145
162
  component: test,
146
163
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
147
164
  testId,
@@ -165,7 +182,7 @@ const ALL_COMPONENTS = [
165
182
  scrollLock: true,
166
183
  theme: mixedTheme
167
184
  });
168
- await external_utils_cjs_default()({
185
+ await test_helpers_cjs_default()({
169
186
  component: test,
170
187
  testCases: [
171
188
  {
@@ -204,7 +221,7 @@ const ALL_COMPONENTS = [
204
221
  scrollLock: true,
205
222
  theme: edgeCaseTheme
206
223
  });
207
- await external_utils_cjs_default()({
224
+ await test_helpers_cjs_default()({
208
225
  component: test,
209
226
  testCases: [
210
227
  {
@@ -1,7 +1,24 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_vitest__ from "vitest";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE__cookie_banner_js_0a2d98b7__ from "../cookie-banner.js";
4
- import * as __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__ from "./utils.js";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__ from "../../../utils/test-helpers.js";
5
+ __WEBPACK_EXTERNAL_MODULE_vitest__.vi.mock('~/hooks/use-consent-manager', ()=>({
6
+ useConsentManager: ()=>({
7
+ showPopup: true,
8
+ ...__WEBPACK_EXTERNAL_MODULE_vitest__.vi.fn()
9
+ })
10
+ }));
11
+ __WEBPACK_EXTERNAL_MODULE_vitest__.vi.mock('~/hooks/use-translations', ()=>({
12
+ useTranslations: ()=>({
13
+ cookieBanner: {
14
+ title: 'Cookie Settings',
15
+ description: 'We use cookies to enhance your experience',
16
+ acceptAll: 'Accept All',
17
+ rejectAll: 'Reject All',
18
+ customize: 'Customize'
19
+ }
20
+ })
21
+ }));
5
22
  const ALL_COMPONENTS = [
6
23
  {
7
24
  testId: 'cookie-banner-root',
@@ -67,7 +84,7 @@ const ALL_COMPONENTS = [
67
84
  return acc;
68
85
  }, {})
69
86
  });
70
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
87
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
71
88
  component: test,
72
89
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
73
90
  testId,
@@ -97,7 +114,7 @@ const ALL_COMPONENTS = [
97
114
  return acc;
98
115
  }, {})
99
116
  });
100
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
117
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
101
118
  component: test,
102
119
  testCases: testCases.map(({ testId, className, style })=>({
103
120
  testId,
@@ -117,7 +134,7 @@ const ALL_COMPONENTS = [
117
134
  return acc;
118
135
  }, {})
119
136
  });
120
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
137
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
121
138
  component: test,
122
139
  testCases: ALL_COMPONENTS.map(({ testId, styles })=>({
123
140
  testId,
@@ -141,7 +158,7 @@ const ALL_COMPONENTS = [
141
158
  scrollLock: true,
142
159
  theme: mixedTheme
143
160
  });
144
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
161
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
145
162
  component: test,
146
163
  testCases: [
147
164
  {
@@ -180,7 +197,7 @@ const ALL_COMPONENTS = [
180
197
  scrollLock: true,
181
198
  theme: edgeCaseTheme
182
199
  });
183
- await (0, __WEBPACK_EXTERNAL_MODULE__utils_js_d88b7fe1__["default"])({
200
+ await (0, __WEBPACK_EXTERNAL_MODULE__utils_test_helpers_js_1e3d26b6__["default"])({
184
201
  component: test,
185
202
  testCases: [
186
203
  {
@@ -49,7 +49,6 @@ class ErrorBoundary extends external_react_namespaceObject.Component {
49
49
  error,
50
50
  errorInfo
51
51
  });
52
- console.error('Uncaught error:', error, errorInfo);
53
52
  }
54
53
  render() {
55
54
  if (this.state.hasError) {
@@ -21,7 +21,6 @@ class ErrorBoundary extends __WEBPACK_EXTERNAL_MODULE_react__.Component {
21
21
  error,
22
22
  errorInfo
23
23
  });
24
- console.error('Uncaught error:', error, errorInfo);
25
24
  }
26
25
  render() {
27
26
  if (this.state.hasError) {
@@ -1,15 +1,9 @@
1
- import type { ComponentPropsWithRef, ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactNode } from 'react';
1
+ import type { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
2
2
  type AsProp<T extends ElementType> = {
3
3
  as?: T;
4
4
  };
5
5
  type PropsToOmit<T extends ElementType, P> = keyof (AsProp<T> & P);
6
6
  type PolymorphicComponentProp<T extends ElementType, Props extends Record<string, unknown> = Record<string, unknown>> = PropsWithChildren<Props & AsProp<T>> & Omit<ComponentPropsWithoutRef<T>, PropsToOmit<T, Props>>;
7
- export type PolymorphicRef<T extends ElementType> = ComponentPropsWithRef<T>['ref'];
8
- type PolymorphicComponentPropWithRef<T extends ElementType, Props extends Record<string, unknown> = Record<string, unknown>> = PolymorphicComponentProp<T, Props> & {
9
- ref?: PolymorphicRef<T>;
10
- };
11
- export type PolymorphicComponentPropsWithRef<T extends ElementType, P extends Record<string, unknown> = Record<string, unknown>> = PolymorphicComponentPropWithRef<T, P>;
12
7
  export type PolymorphicComponentProps<T extends ElementType, P extends Record<string, unknown> = Record<string, unknown>> = PolymorphicComponentProp<T, P>;
13
- export type PolymorphicComponent<P extends Record<string, unknown>> = <T extends ElementType>(props: PolymorphicComponentPropsWithRef<T, P>) => ReactNode;
14
8
  export {};
15
9
  //# sourceMappingURL=polymorphic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"polymorphic.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/libs/polymorphic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qBAAqB,EACrB,wBAAwB,EACxB,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,MAAM,OAAO,CAAC;AAEf,KAAK,MAAM,CAAC,CAAC,SAAS,WAAW,IAAI;IACpC,EAAE,CAAC,EAAE,CAAC,CAAC;CACP,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAEnE,KAAK,wBAAwB,CAC5B,CAAC,SAAS,WAAW,EACrB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC5D,iBAAiB,CAAC,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,GACvC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAE1D,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,IAC/C,qBAAqB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAEjC,KAAK,+BAA+B,CACnC,CAAC,SAAS,WAAW,EACrB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC5D,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC;AAErE,MAAM,MAAM,gCAAgC,CAC3C,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACxD,+BAA+B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE1C,MAAM,MAAM,yBAAyB,CACpC,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACxD,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnC,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CACrE,CAAC,SAAS,WAAW,EAErB,KAAK,EAAE,gCAAgC,CAAC,CAAC,EAAE,CAAC,CAAC,KACzC,SAAS,CAAC"}
1
+ {"version":3,"file":"polymorphic.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/libs/polymorphic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,wBAAwB,EACxB,WAAW,EACX,iBAAiB,EACjB,MAAM,OAAO,CAAC;AAEf,KAAK,MAAM,CAAC,CAAC,SAAS,WAAW,IAAI;IACpC,EAAE,CAAC,EAAE,CAAC,CAAC;CACP,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAEnE,KAAK,wBAAwB,CAC5B,CAAC,SAAS,WAAW,EACrB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC5D,iBAAiB,CAAC,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,GACvC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAE1D,MAAM,MAAM,yBAAyB,CACpC,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACxD,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
@@ -34,7 +34,7 @@ const use_theme_cjs_namespaceObject = require("../../../hooks/use-theme.cjs");
34
34
  const use_styles_cjs_namespaceObject = require("../../../utils/use-styles.cjs");
35
35
  const index_cjs_namespaceObject = require("../ui/button/index.cjs");
36
36
  const ConsentButton = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(({ asChild, className: forwardedClassName, style, noStyle, action, themeKey, baseClassName, variant = 'neutral', mode = 'stroke', size = 'small', onClick: forwardedOnClick, closeCookieBanner = false, closeCustomizeDialog = false, ...props }, ref)=>{
37
- const { saveConsents, setShowPopup, setIsPrivacyDialogOpen, client, consents } = (0, use_consent_manager_cjs_namespaceObject.useConsentManager)();
37
+ const { saveConsents, setShowPopup, setIsPrivacyDialogOpen } = (0, use_consent_manager_cjs_namespaceObject.useConsentManager)();
38
38
  const { noStyle: contextNoStyle } = (0, use_theme_cjs_namespaceObject.useTheme)();
39
39
  const buttonStyle = (0, use_styles_cjs_namespaceObject.useStyles)(themeKey ?? 'button', {
40
40
  baseClassName: [
@@ -52,60 +52,12 @@ const ConsentButton = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRe
52
52
  switch(action){
53
53
  case 'accept-consent':
54
54
  saveConsents('all');
55
- client?.setConsent({
56
- body: {
57
- type: 'cookie_banner',
58
- domain: window.location.hostname,
59
- preferences: {
60
- analytics: true,
61
- marketing: true,
62
- necessary: true,
63
- functional: true,
64
- experience: true
65
- },
66
- metadata: {
67
- source: 'cookie_banner',
68
- acceptanceMethod: 'accept_all_button'
69
- }
70
- }
71
- });
72
55
  break;
73
56
  case 'reject-consent':
74
57
  saveConsents('necessary');
75
- client?.setConsent({
76
- body: {
77
- type: 'cookie_banner',
78
- domain: window.location.hostname,
79
- preferences: {
80
- analytics: false,
81
- marketing: false,
82
- necessary: true,
83
- functional: false,
84
- experience: false
85
- },
86
- metadata: {
87
- source: 'cookie_banner',
88
- acceptanceMethod: 'reject_all_button'
89
- }
90
- }
91
- });
92
58
  break;
93
59
  case 'custom-consent':
94
60
  saveConsents('custom');
95
- client?.setConsent({
96
- body: {
97
- type: 'cookie_banner',
98
- domain: window.location.hostname,
99
- preferences: {
100
- ...consents,
101
- necessary: true
102
- },
103
- metadata: {
104
- source: 'consent_widget',
105
- acceptanceMethod: 'save_preferences_button'
106
- }
107
- }
108
- });
109
61
  break;
110
62
  case 'open-consent-dialog':
111
63
  setIsPrivacyDialogOpen(true);
@@ -124,9 +76,7 @@ const ConsentButton = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRe
124
76
  saveConsents,
125
77
  setIsPrivacyDialogOpen,
126
78
  setShowPopup,
127
- action,
128
- client?.setConsent,
129
- consents
79
+ action
130
80
  ]);
131
81
  const Comp = asChild ? react_slot_namespaceObject.Slot : 'button';
132
82
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Comp, {
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/primitives/button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMtD,OAAO,KAAK,EAAwB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAE/E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAKpB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB;2BACD,OAAO;wBACV,OAAO;qDA8I7B,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/primitives/button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMtD,OAAO,KAAK,EAAwB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAE/E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAKpB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB;2BACD,OAAO;wBACV,OAAO;qDAuF7B,CAAC"}
@@ -6,7 +6,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__hooks_use_theme_js_3abff3d7__ from "../..
6
6
  import * as __WEBPACK_EXTERNAL_MODULE__utils_use_styles_js_413e0e0a__ from "../../../utils/use-styles.js";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE__ui_button_index_js_15bac350__ from "../ui/button/index.js";
8
8
  const ConsentButton = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(({ asChild, className: forwardedClassName, style, noStyle, action, themeKey, baseClassName, variant = 'neutral', mode = 'stroke', size = 'small', onClick: forwardedOnClick, closeCookieBanner = false, closeCustomizeDialog = false, ...props }, ref)=>{
9
- const { saveConsents, setShowPopup, setIsPrivacyDialogOpen, client, consents } = (0, __WEBPACK_EXTERNAL_MODULE__hooks_use_consent_manager_js_8a30bd26__.useConsentManager)();
9
+ const { saveConsents, setShowPopup, setIsPrivacyDialogOpen } = (0, __WEBPACK_EXTERNAL_MODULE__hooks_use_consent_manager_js_8a30bd26__.useConsentManager)();
10
10
  const { noStyle: contextNoStyle } = (0, __WEBPACK_EXTERNAL_MODULE__hooks_use_theme_js_3abff3d7__.useTheme)();
11
11
  const buttonStyle = (0, __WEBPACK_EXTERNAL_MODULE__utils_use_styles_js_413e0e0a__.useStyles)(themeKey ?? 'button', {
12
12
  baseClassName: [
@@ -24,60 +24,12 @@ const ConsentButton = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwar
24
24
  switch(action){
25
25
  case 'accept-consent':
26
26
  saveConsents('all');
27
- client?.setConsent({
28
- body: {
29
- type: 'cookie_banner',
30
- domain: window.location.hostname,
31
- preferences: {
32
- analytics: true,
33
- marketing: true,
34
- necessary: true,
35
- functional: true,
36
- experience: true
37
- },
38
- metadata: {
39
- source: 'cookie_banner',
40
- acceptanceMethod: 'accept_all_button'
41
- }
42
- }
43
- });
44
27
  break;
45
28
  case 'reject-consent':
46
29
  saveConsents('necessary');
47
- client?.setConsent({
48
- body: {
49
- type: 'cookie_banner',
50
- domain: window.location.hostname,
51
- preferences: {
52
- analytics: false,
53
- marketing: false,
54
- necessary: true,
55
- functional: false,
56
- experience: false
57
- },
58
- metadata: {
59
- source: 'cookie_banner',
60
- acceptanceMethod: 'reject_all_button'
61
- }
62
- }
63
- });
64
30
  break;
65
31
  case 'custom-consent':
66
32
  saveConsents('custom');
67
- client?.setConsent({
68
- body: {
69
- type: 'cookie_banner',
70
- domain: window.location.hostname,
71
- preferences: {
72
- ...consents,
73
- necessary: true
74
- },
75
- metadata: {
76
- source: 'consent_widget',
77
- acceptanceMethod: 'save_preferences_button'
78
- }
79
- }
80
- });
81
33
  break;
82
34
  case 'open-consent-dialog':
83
35
  setIsPrivacyDialogOpen(true);
@@ -96,9 +48,7 @@ const ConsentButton = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwar
96
48
  saveConsents,
97
49
  setIsPrivacyDialogOpen,
98
50
  setShowPopup,
99
- action,
100
- client?.setConsent,
101
- consents
51
+ action
102
52
  ]);
103
53
  const Comp = asChild ? __WEBPACK_EXTERNAL_MODULE__radix_ui_react_slot_85c2da36__.Slot : 'button';
104
54
  return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Comp, {
@@ -1,6 +1,5 @@
1
1
  import type { ComponentRef, HTMLAttributes } from 'react';
2
- import type { ButtonSharedProps } from '../ui/button';
3
- import type { ExtendThemeKeys, ThemeValue } from '../../../types/theme';
2
+ import type { ExtendThemeKeys } from '../../../types/theme';
4
3
  import type { CSSVariables } from '../../../types/theme';
5
4
  export type ConsentButtonElement = ComponentRef<'button'>;
6
5
  /**
@@ -26,10 +25,4 @@ export interface ConsentButtonProps extends Omit<HTMLAttributes<HTMLButtonElemen
26
25
  */
27
26
  onClick?: () => void;
28
27
  }
29
- export interface ConsentButtonStyles {
30
- /** @remarks Styles for the root container element */
31
- acceptButton?: ThemeValue & ButtonSharedProps;
32
- rejectButton?: ThemeValue & ButtonSharedProps;
33
- customizeButton?: ThemeValue & ButtonSharedProps;
34
- }
35
28
  //# sourceMappingURL=button.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/primitives/button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,kBAChB,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EACvD,eAAe,CAAC,YAAY,CAAC;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IACnC,qDAAqD;IACrD,YAAY,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAC9C,YAAY,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAC9C,eAAe,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;CACjD"}
1
+ {"version":3,"file":"button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/primitives/button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,kBAChB,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EACvD,eAAe,CAAC,YAAY,CAAC;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB"}
@@ -49,16 +49,6 @@ export type AccordionIconCSSVariables = {
49
49
  '--accordion-icon-size': string;
50
50
  '--accordion-icon-color': string;
51
51
  };
52
- /**
53
- * CSS variables for the accordion arrow component
54
- */
55
- export type AccordionArrowCSSVariables = {
56
- '--accordion-icon-size': string;
57
- '--accordion-arrow-color': string;
58
- '--accordion-icon-color': string;
59
- '--accordion-duration': string;
60
- '--accordion-ease': string;
61
- };
62
52
  /**
63
53
  * CSS variables for the accordion content component
64
54
  */
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/accordion/accordion.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACzC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACxC,8BAA8B,EAAE,MAAM,CAAC;IACvC,8BAA8B,EAAE,MAAM,CAAC;IACvC,0BAA0B,EAAE,MAAM,CAAC;IACnC,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,2BAA2B,EAAE,MAAM,CAAC;IACpC,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,2BAA2B,GAClE,0BAA0B,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACvC,8BAA8B,EAAE,MAAM,CAAC;IACvC,0BAA0B,EAAE,MAAM,CAAC;IACnC,oBAAoB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAC1C,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACvC,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACxC,uBAAuB,EAAE,MAAM,CAAC;IAChC,yBAAyB,EAAE,MAAM,CAAC;IAClC,wBAAwB,EAAE,MAAM,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAC1C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2BAA2B,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,CAAC"}
1
+ {"version":3,"file":"accordion.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/accordion/accordion.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACzC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACxC,8BAA8B,EAAE,MAAM,CAAC;IACvC,8BAA8B,EAAE,MAAM,CAAC;IACvC,0BAA0B,EAAE,MAAM,CAAC;IACnC,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,2BAA2B,EAAE,MAAM,CAAC;IACpC,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,2BAA2B,GAClE,0BAA0B,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACvC,8BAA8B,EAAE,MAAM,CAAC;IACvC,0BAA0B,EAAE,MAAM,CAAC;IACnC,oBAAoB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAC1C,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACvC,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAC1C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2BAA2B,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,CAAC"}