@prokodo/ui 0.1.5 → 0.1.7

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 (51) hide show
  1. package/dist/components/accordion/Accordion.css +8 -4
  2. package/dist/components/accordion/Accordion.module.css +8 -4
  3. package/dist/components/button/Button.css +1 -3
  4. package/dist/components/button/Button.module.css +1 -3
  5. package/dist/components/card/Card.css +1 -4
  6. package/dist/components/card/Card.module.css +1 -4
  7. package/dist/components/chip/Chip.css +1 -2
  8. package/dist/components/chip/Chip.module.css +1 -2
  9. package/dist/components/drawer/Drawer.view.js +2 -1
  10. package/dist/components/form/Form.view.js +2 -2
  11. package/dist/components/image-text/ImageText.css +1 -3
  12. package/dist/components/image-text/ImageText.module.css +1 -3
  13. package/dist/components/input/Input.css +49 -6
  14. package/dist/components/input/Input.module.css +49 -6
  15. package/dist/components/input/Input.view.js +1 -1
  16. package/dist/components/list/List.css +2 -6
  17. package/dist/components/list/List.module.css +2 -6
  18. package/dist/components/lottie/Lottie.js +0 -1
  19. package/dist/components/post-item/PostItem.css +3 -9
  20. package/dist/components/post-item/PostItem.module.css +3 -9
  21. package/dist/components/post-teaser/PostTeaser.css +1 -3
  22. package/dist/components/post-teaser/PostTeaser.module.css +1 -3
  23. package/dist/components/quote/Quote.css +1 -3
  24. package/dist/components/quote/Quote.module.css +1 -3
  25. package/dist/components/rich-text/RichText.client.js +4 -4
  26. package/dist/components/rich-text/RichText.css +1 -3
  27. package/dist/components/rich-text/RichText.module.css +1 -3
  28. package/dist/components/select/Select.css +3 -9
  29. package/dist/components/select/Select.module.css +3 -9
  30. package/dist/components/sidenav/SideNav.css +1 -3
  31. package/dist/components/sidenav/SideNav.module.css +1 -3
  32. package/dist/components/slider/Slider.css +1 -3
  33. package/dist/components/slider/Slider.module.css +1 -3
  34. package/dist/components/snackbar/Snackbar.css +1 -1
  35. package/dist/components/snackbar/Snackbar.module.css +1 -1
  36. package/dist/components/table/Table.css +1 -3
  37. package/dist/components/table/Table.module.css +1 -3
  38. package/dist/components/teaser/Teaser.css +1 -3
  39. package/dist/components/teaser/Teaser.module.css +1 -3
  40. package/dist/constants/project.js +1 -1
  41. package/dist/hooks/useGoogleMaps.js +15 -12
  42. package/dist/node_modules/.pnpm/marked@17.0.1/node_modules/marked/lib/marked.esm.js +1150 -0
  43. package/dist/theme.css +78 -69
  44. package/dist/tsconfig.build.tsbuildinfo +1 -1
  45. package/dist/types/components/drawer/Drawer.model.d.ts +1 -0
  46. package/dist/types/components/image/Image.d.ts +1 -0
  47. package/dist/types/components/image/Image.lazy.d.ts +1 -0
  48. package/dist/types/components/lottie/Lottie.model.d.ts +2 -2
  49. package/package.json +10 -10
  50. package/dist/node_modules/.pnpm/marked@15.0.12/node_modules/marked/lib/marked.esm.js +0 -2169
  51. /package/dist/node_modules/.pnpm/{marked-highlight@2.2.2_marked@15.0.12 → marked-highlight@2.2.3_marked@17.0.1}/node_modules/marked-highlight/src/index.js +0 -0
@@ -144,7 +144,7 @@
144
144
  margin-bottom: 8px;
145
145
  overflow: hidden;
146
146
  transition: border 0.3s ease;
147
- box-shadow: var(--elevation-3);
147
+ box-shadow: var(--elevation-1);
148
148
  }
149
149
  .prokodo-Accordion__item--is-expanded {
150
150
  border-color: var(--color-primary-500);
@@ -237,6 +237,9 @@
237
237
  .prokodo-Accordion__title {
238
238
  font-weight: 500;
239
239
  }
240
+ html[data-theme=dark] .prokodo-Accordion__title {
241
+ color: var(--color-grey-900);
242
+ }
240
243
  .prokodo-Accordion__icon {
241
244
  padding-left: 1rem;
242
245
  transition: transform 0.3s ease;
@@ -244,6 +247,9 @@
244
247
  .prokodo-Accordion__icon--is-hidden {
245
248
  display: none !important;
246
249
  }
250
+ html[data-theme=dark] .prokodo-Accordion__icon {
251
+ color: var(--color-grey-900);
252
+ }
247
253
  .prokodo-Accordion__content {
248
254
  padding: 16px;
249
255
  background-color: var(--color-white);
@@ -252,7 +258,7 @@
252
258
  font-size: 1.125rem;
253
259
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
254
260
  font-style: normal;
255
- line-height: 1.5;
261
+ line-height: 1.55;
256
262
  letter-spacing: 0.03em;
257
263
  text-transform: none;
258
264
  text-align: left;
@@ -261,13 +267,11 @@
261
267
  @media screen and (min-width: 480px) {
262
268
  .prokodo-Accordion__content {
263
269
  font-size: 1rem;
264
- line-height: 1.45;
265
270
  }
266
271
  }
267
272
  @media screen and (min-width: 960px) {
268
273
  .prokodo-Accordion__content {
269
274
  font-size: 1rem;
270
- line-height: 1.45;
271
275
  }
272
276
  }
273
277
  .prokodo-Accordion__content[hidden] {
@@ -144,7 +144,7 @@
144
144
  margin-bottom: 8px;
145
145
  overflow: hidden;
146
146
  transition: border 0.3s ease;
147
- box-shadow: var(--elevation-3);
147
+ box-shadow: var(--elevation-1);
148
148
  }
149
149
  .prokodo-Accordion__item--is-expanded {
150
150
  border-color: var(--color-primary-500);
@@ -237,6 +237,9 @@
237
237
  .prokodo-Accordion__title {
238
238
  font-weight: 500;
239
239
  }
240
+ html[data-theme=dark] .prokodo-Accordion__title {
241
+ color: var(--color-grey-900);
242
+ }
240
243
  .prokodo-Accordion__icon {
241
244
  padding-left: 1rem;
242
245
  transition: transform 0.3s ease;
@@ -244,6 +247,9 @@
244
247
  .prokodo-Accordion__icon--is-hidden {
245
248
  display: none !important;
246
249
  }
250
+ html[data-theme=dark] .prokodo-Accordion__icon {
251
+ color: var(--color-grey-900);
252
+ }
247
253
  .prokodo-Accordion__content {
248
254
  padding: 16px;
249
255
  background-color: var(--color-white);
@@ -252,7 +258,7 @@
252
258
  font-size: 1.125rem;
253
259
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
254
260
  font-style: normal;
255
- line-height: 1.5;
261
+ line-height: 1.55;
256
262
  letter-spacing: 0.03em;
257
263
  text-transform: none;
258
264
  text-align: left;
@@ -261,13 +267,11 @@
261
267
  @media screen and (min-width: 480px) {
262
268
  .prokodo-Accordion__content {
263
269
  font-size: 1rem;
264
- line-height: 1.45;
265
270
  }
266
271
  }
267
272
  @media screen and (min-width: 960px) {
268
273
  .prokodo-Accordion__content {
269
274
  font-size: 1rem;
270
- line-height: 1.45;
271
275
  }
272
276
  }
273
277
  .prokodo-Accordion__content[hidden] {
@@ -233,6 +233,7 @@ html[data-theme=dark] .prokodo-Button {
233
233
  .prokodo-Button--has-variant-outlined {
234
234
  position: relative;
235
235
  background: none;
236
+ color: var(--color-black) !important;
236
237
  }
237
238
  .prokodo-Button--has-variant-outlined::before {
238
239
  content: "";
@@ -263,9 +264,6 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
263
264
  border-radius: 10000px;
264
265
  padding: 0.75rem;
265
266
  }
266
- html[data-theme=dark] .prokodo-Button--icon-only {
267
- background: none;
268
- }
269
267
  .prokodo-Button--has-fullWidth {
270
268
  display: flex;
271
269
  justify-content: center;
@@ -233,6 +233,7 @@ html[data-theme=dark] .prokodo-Button {
233
233
  .prokodo-Button--has-variant-outlined {
234
234
  position: relative;
235
235
  background: none;
236
+ color: var(--color-black) !important;
236
237
  }
237
238
  .prokodo-Button--has-variant-outlined::before {
238
239
  content: "";
@@ -263,9 +264,6 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
263
264
  border-radius: 10000px;
264
265
  padding: 0.75rem;
265
266
  }
266
- html[data-theme=dark] .prokodo-Button--icon-only {
267
- background: none;
268
- }
269
267
  .prokodo-Button--has-fullWidth {
270
268
  display: flex;
271
269
  justify-content: center;
@@ -148,9 +148,6 @@
148
148
  /* keep the gradient *class hooks*, but DO NOT include animated keyframes here */
149
149
  /* Reveal animation (what used to be &--has-animation + fadeInAnimation) */
150
150
  }
151
- html[data-theme=dark] .prokodo-Card {
152
- background-color: var(--color-grey-200);
153
- }
154
151
  .prokodo-Card--inherit {
155
152
  background-color: var(--color-grey-100);
156
153
  }
@@ -158,7 +155,7 @@ html[data-theme=dark] .prokodo-Card {
158
155
  background-color: var(--color-white);
159
156
  }
160
157
  html[data-theme=dark] .prokodo-Card--white {
161
- background-color: var(--color-grey-200);
158
+ background-color: transparent;
162
159
  }
163
160
  .prokodo-Card__skeleton {
164
161
  position: absolute;
@@ -148,9 +148,6 @@
148
148
  /* keep the gradient *class hooks*, but DO NOT include animated keyframes here */
149
149
  /* Reveal animation (what used to be &--has-animation + fadeInAnimation) */
150
150
  }
151
- html[data-theme=dark] .prokodo-Card {
152
- background-color: var(--color-grey-200);
153
- }
154
151
  .prokodo-Card--inherit {
155
152
  background-color: var(--color-grey-100);
156
153
  }
@@ -158,7 +155,7 @@ html[data-theme=dark] .prokodo-Card {
158
155
  background-color: var(--color-white);
159
156
  }
160
157
  html[data-theme=dark] .prokodo-Card--white {
161
- background-color: var(--color-grey-200);
158
+ background-color: transparent;
162
159
  }
163
160
  .prokodo-Card__skeleton {
164
161
  position: absolute;
@@ -198,8 +198,7 @@
198
198
  .prokodo-Chip--outlined {
199
199
  border: 1px solid;
200
200
  background-color: transparent;
201
- border-color: inherit;
202
- color: inherit;
201
+ color: var(--color-black);
203
202
  }
204
203
  .prokodo-Chip--outlined--primary {
205
204
  border-color: var(--color-primary-300);
@@ -198,8 +198,7 @@
198
198
  .prokodo-Chip--outlined {
199
199
  border: 1px solid;
200
200
  background-color: transparent;
201
- border-color: inherit;
202
- color: inherit;
201
+ color: var(--color-black);
203
202
  }
204
203
  .prokodo-Chip--outlined--primary {
205
204
  border-color: var(--color-primary-300);
@@ -14,6 +14,7 @@ const DrawerView = /* @__PURE__ */ __name(({
14
14
  titleProps,
15
15
  anchor = "left",
16
16
  fullscreen = false,
17
+ hideHeader = false,
17
18
  renderHeader,
18
19
  closeButtonRef,
19
20
  closeButtonProps,
@@ -63,7 +64,7 @@ const DrawerView = /* @__PURE__ */ __name(({
63
64
  ),
64
65
  ...rest,
65
66
  children: [
66
- renderHeader ? renderHeader() : /* @__PURE__ */ jsxs("div", { className: bem("header"), children: [
67
+ renderHeader !== void 0 ? renderHeader() : !Boolean(hideHeader) && /* @__PURE__ */ jsxs("div", { className: bem("header"), children: [
67
68
  isString(title) && /* @__PURE__ */ jsx(Headline, { size: "md", ...titleProps, id: "drawer-title", children: title }),
68
69
  /* @__PURE__ */ jsx(
69
70
  Button,
@@ -99,7 +99,7 @@ const FormView = /* @__PURE__ */ __name(({
99
99
  )
100
100
  ] }),
101
101
  /* @__PURE__ */ jsxs("div", { className: bem("footer"), children: [
102
- (hideResponse === false || hideResponse === void 0) && /* @__PURE__ */ jsx(FormResponse, { messages: formMessages }),
102
+ hideResponse !== false && hideResponse !== void 0 && /* @__PURE__ */ jsx(FormResponse, { messages: formMessages }),
103
103
  !isNull(button) && Boolean(isHoneypotEmpty) && /* @__PURE__ */ jsx(
104
104
  Button,
105
105
  {
@@ -109,7 +109,7 @@ const FormView = /* @__PURE__ */ __name(({
109
109
  ...button,
110
110
  className: bem("footer__submit", void 0, button == null ? void 0 : button.className),
111
111
  color: (button == null ? void 0 : button.color) ?? variant,
112
- disabled: Boolean(formMessages == null ? void 0 : formMessages.errors) || !isFormValid
112
+ disabled: !isFormValid
113
113
  }
114
114
  )
115
115
  ] })
@@ -152,7 +152,7 @@
152
152
  font-size: 1.125rem;
153
153
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
154
154
  font-style: normal;
155
- line-height: 1.5;
155
+ line-height: 1.55;
156
156
  letter-spacing: 0.03em;
157
157
  text-transform: none;
158
158
  text-align: left;
@@ -161,13 +161,11 @@
161
161
  @media screen and (min-width: 480px) {
162
162
  .prokodo-ImageText__content {
163
163
  font-size: 1rem;
164
- line-height: 1.45;
165
164
  }
166
165
  }
167
166
  @media screen and (min-width: 960px) {
168
167
  .prokodo-ImageText__content {
169
168
  font-size: 1rem;
170
- line-height: 1.45;
171
169
  }
172
170
  }
173
171
  @media screen and (min-width: 1280px) {
@@ -152,7 +152,7 @@
152
152
  font-size: 1.125rem;
153
153
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
154
154
  font-style: normal;
155
- line-height: 1.5;
155
+ line-height: 1.55;
156
156
  letter-spacing: 0.03em;
157
157
  text-transform: none;
158
158
  text-align: left;
@@ -161,13 +161,11 @@
161
161
  @media screen and (min-width: 480px) {
162
162
  .prokodo-ImageText__content {
163
163
  font-size: 1rem;
164
- line-height: 1.45;
165
164
  }
166
165
  }
167
166
  @media screen and (min-width: 960px) {
168
167
  .prokodo-ImageText__content {
169
168
  font-size: 1rem;
170
- line-height: 1.45;
171
169
  }
172
170
  }
173
171
  @media screen and (min-width: 1280px) {
@@ -182,6 +182,53 @@
182
182
  color: var(--color-grey-900);
183
183
  border-radius: 1.5rem;
184
184
  background: var(--gradient-border-7);
185
+ /* Standard :autofill selector (supported in modern browsers) */
186
+ /* Chrome / Edge / Opera / Safari (WebKit/Blink) */
187
+ /* Firefox (legacy) */
188
+ /* Optional: border style when autofilled */
189
+ /* Optional: gleiche Styles für Textareas, falls autocomplete genutzt wird */
190
+ }
191
+ .prokodo-Input__input input:-webkit-autofill, .prokodo-Input__input textarea:-webkit-autofill {
192
+ background-color: var(--color-white);
193
+ color: var(--color-grey-900);
194
+ }
195
+ .prokodo-Input__input input:autofill,
196
+ .prokodo-Input__input textarea:autofill {
197
+ background-color: var(--color-white);
198
+ color: var(--color-grey-900);
199
+ }
200
+ .prokodo-Input__input input:-webkit-autofill,
201
+ .prokodo-Input__input input:-webkit-autofill:hover,
202
+ .prokodo-Input__input input:-webkit-autofill:focus,
203
+ .prokodo-Input__input textarea:-webkit-autofill,
204
+ .prokodo-Input__input textarea:-webkit-autofill:hover,
205
+ .prokodo-Input__input textarea:-webkit-autofill:focus {
206
+ /* Paint over the browser’s autofill background */
207
+ box-shadow: 0 0 0 1000px var(--color-white) inset;
208
+ /* Text color inside autofilled field */
209
+ -webkit-text-fill-color: var(--color-grey-900);
210
+ /* Long transition hack so the yellow flash is not visible */
211
+ -webkit-transition: background-color 9999s ease-out, color 9999s ease-out;
212
+ transition: background-color 9999s ease-out, color 9999s ease-out;
213
+ }
214
+ .prokodo-Input__input input:-moz-autofill,
215
+ .prokodo-Input__input textarea:-moz-autofill {
216
+ box-shadow: 0 0 0 1000px var(--color-white) inset;
217
+ background-color: var(--color-white);
218
+ color: var(--color-grey-900);
219
+ }
220
+ .prokodo-Input__input input:is(:-webkit-autofill, :-webkit-autofill), .prokodo-Input__input textarea:is(:-webkit-autofill, :-webkit-autofill) {
221
+ border-color: none; /* adjust as needed */
222
+ }
223
+ .prokodo-Input__input input:is(:autofill, :-webkit-autofill),
224
+ .prokodo-Input__input textarea:is(:autofill, :-webkit-autofill) {
225
+ border-color: none; /* adjust as needed */
226
+ }
227
+ .prokodo-Input__input textarea:-webkit-autofill,
228
+ .prokodo-Input__input textarea:-moz-autofill {
229
+ box-shadow: 0 0 0 1000px #ffffff inset;
230
+ -webkit-text-fill-color: #000000;
231
+ color: #000000 !important;
185
232
  }
186
233
  .prokodo-Input__input--is-focused {
187
234
  background: var(--gradient-border-4);
@@ -211,11 +258,12 @@
211
258
  outline: none;
212
259
  border-radius: 1.5rem;
213
260
  color: var(--color-grey-900);
261
+ background-color: var(--color-white);
214
262
  font-weight: 400;
215
263
  font-size: 1.125rem;
216
264
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
217
265
  font-style: normal;
218
- line-height: 1.5;
266
+ line-height: 1.55;
219
267
  letter-spacing: 0.03em;
220
268
  text-transform: none;
221
269
  text-align: left;
@@ -224,21 +272,16 @@
224
272
  @media screen and (min-width: 480px) {
225
273
  .prokodo-Input__input__node {
226
274
  font-size: 1rem;
227
- line-height: 1.45;
228
275
  }
229
276
  }
230
277
  @media screen and (min-width: 960px) {
231
278
  .prokodo-Input__input__node {
232
279
  font-size: 1rem;
233
- line-height: 1.45;
234
280
  }
235
281
  }
236
282
  .prokodo-Input__input__node {
237
283
  font-size: 1rem;
238
284
  }
239
- html[data-theme=dark] .prokodo-Input__input__node {
240
- background-color: var(--color-grey-200);
241
- }
242
285
  .prokodo-Input__input__node--multiline {
243
286
  /* allow it to grow to fill the wrapper */
244
287
  flex: 1 1;
@@ -182,6 +182,53 @@
182
182
  color: var(--color-grey-900);
183
183
  border-radius: 1.5rem;
184
184
  background: var(--gradient-border-7);
185
+ /* Standard :autofill selector (supported in modern browsers) */
186
+ /* Chrome / Edge / Opera / Safari (WebKit/Blink) */
187
+ /* Firefox (legacy) */
188
+ /* Optional: border style when autofilled */
189
+ /* Optional: gleiche Styles für Textareas, falls autocomplete genutzt wird */
190
+ }
191
+ .prokodo-Input__input input:-webkit-autofill, .prokodo-Input__input textarea:-webkit-autofill {
192
+ background-color: var(--color-white);
193
+ color: var(--color-grey-900);
194
+ }
195
+ .prokodo-Input__input input:autofill,
196
+ .prokodo-Input__input textarea:autofill {
197
+ background-color: var(--color-white);
198
+ color: var(--color-grey-900);
199
+ }
200
+ .prokodo-Input__input input:-webkit-autofill,
201
+ .prokodo-Input__input input:-webkit-autofill:hover,
202
+ .prokodo-Input__input input:-webkit-autofill:focus,
203
+ .prokodo-Input__input textarea:-webkit-autofill,
204
+ .prokodo-Input__input textarea:-webkit-autofill:hover,
205
+ .prokodo-Input__input textarea:-webkit-autofill:focus {
206
+ /* Paint over the browser’s autofill background */
207
+ box-shadow: 0 0 0 1000px var(--color-white) inset;
208
+ /* Text color inside autofilled field */
209
+ -webkit-text-fill-color: var(--color-grey-900);
210
+ /* Long transition hack so the yellow flash is not visible */
211
+ -webkit-transition: background-color 9999s ease-out, color 9999s ease-out;
212
+ transition: background-color 9999s ease-out, color 9999s ease-out;
213
+ }
214
+ .prokodo-Input__input input:-moz-autofill,
215
+ .prokodo-Input__input textarea:-moz-autofill {
216
+ box-shadow: 0 0 0 1000px var(--color-white) inset;
217
+ background-color: var(--color-white);
218
+ color: var(--color-grey-900);
219
+ }
220
+ .prokodo-Input__input input:is(:-webkit-autofill, :-webkit-autofill), .prokodo-Input__input textarea:is(:-webkit-autofill, :-webkit-autofill) {
221
+ border-color: none; /* adjust as needed */
222
+ }
223
+ .prokodo-Input__input input:is(:autofill, :-webkit-autofill),
224
+ .prokodo-Input__input textarea:is(:autofill, :-webkit-autofill) {
225
+ border-color: none; /* adjust as needed */
226
+ }
227
+ .prokodo-Input__input textarea:-webkit-autofill,
228
+ .prokodo-Input__input textarea:-moz-autofill {
229
+ box-shadow: 0 0 0 1000px #ffffff inset;
230
+ -webkit-text-fill-color: #000000;
231
+ color: #000000 !important;
185
232
  }
186
233
  .prokodo-Input__input--is-focused {
187
234
  background: var(--gradient-border-4);
@@ -211,11 +258,12 @@
211
258
  outline: none;
212
259
  border-radius: 1.5rem;
213
260
  color: var(--color-grey-900);
261
+ background-color: var(--color-white);
214
262
  font-weight: 400;
215
263
  font-size: 1.125rem;
216
264
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
217
265
  font-style: normal;
218
- line-height: 1.5;
266
+ line-height: 1.55;
219
267
  letter-spacing: 0.03em;
220
268
  text-transform: none;
221
269
  text-align: left;
@@ -224,21 +272,16 @@
224
272
  @media screen and (min-width: 480px) {
225
273
  .prokodo-Input__input__node {
226
274
  font-size: 1rem;
227
- line-height: 1.45;
228
275
  }
229
276
  }
230
277
  @media screen and (min-width: 960px) {
231
278
  .prokodo-Input__input__node {
232
279
  font-size: 1rem;
233
- line-height: 1.45;
234
280
  }
235
281
  }
236
282
  .prokodo-Input__input__node {
237
283
  font-size: 1rem;
238
284
  }
239
- html[data-theme=dark] .prokodo-Input__input__node {
240
- background-color: var(--color-grey-200);
241
- }
242
285
  .prokodo-Input__input__node--multiline {
243
286
  /* allow it to grow to fill the wrapper */
244
287
  flex: 1 1;
@@ -125,7 +125,7 @@ function InputView({
125
125
  "div",
126
126
  {
127
127
  className: bem("footer", {
128
- "counter-only": !hasHelperText && typeof maxLength === "number"
128
+ "counter-only": !isError && !hasHelperText && typeof maxLength === "number"
129
129
  }),
130
130
  children: [
131
131
  (isError || hasHelperText) && /* @__PURE__ */ jsx(
@@ -179,7 +179,7 @@
179
179
  font-size: 1.125rem;
180
180
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
181
181
  font-style: normal;
182
- line-height: 1.5;
182
+ line-height: 1.55;
183
183
  letter-spacing: 0.03em;
184
184
  text-transform: none;
185
185
  text-align: left;
@@ -188,13 +188,11 @@
188
188
  @media screen and (min-width: 480px) {
189
189
  .prokodo-List__item__link {
190
190
  font-size: 1rem;
191
- line-height: 1.45;
192
191
  }
193
192
  }
194
193
  @media screen and (min-width: 960px) {
195
194
  .prokodo-List__item__link {
196
195
  font-size: 1rem;
197
- line-height: 1.45;
198
196
  }
199
197
  }
200
198
  .prokodo-List__item__link__header {
@@ -268,7 +266,7 @@ html[data-theme=dark] .prokodo-List__item__icon {
268
266
  font-size: 1.125rem;
269
267
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
270
268
  font-style: normal;
271
- line-height: 1.5;
269
+ line-height: 1.55;
272
270
  letter-spacing: 0.03em;
273
271
  text-transform: none;
274
272
  text-align: left;
@@ -277,13 +275,11 @@ html[data-theme=dark] .prokodo-List__item__icon {
277
275
  @media screen and (min-width: 480px) {
278
276
  .prokodo-List__item__desc {
279
277
  font-size: 1rem;
280
- line-height: 1.45;
281
278
  }
282
279
  }
283
280
  @media screen and (min-width: 960px) {
284
281
  .prokodo-List__item__desc {
285
282
  font-size: 1rem;
286
- line-height: 1.45;
287
283
  }
288
284
  }
289
285
  .prokodo-List__item__desc--card {
@@ -179,7 +179,7 @@
179
179
  font-size: 1.125rem;
180
180
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
181
181
  font-style: normal;
182
- line-height: 1.5;
182
+ line-height: 1.55;
183
183
  letter-spacing: 0.03em;
184
184
  text-transform: none;
185
185
  text-align: left;
@@ -188,13 +188,11 @@
188
188
  @media screen and (min-width: 480px) {
189
189
  .prokodo-List__item__link {
190
190
  font-size: 1rem;
191
- line-height: 1.45;
192
191
  }
193
192
  }
194
193
  @media screen and (min-width: 960px) {
195
194
  .prokodo-List__item__link {
196
195
  font-size: 1rem;
197
- line-height: 1.45;
198
196
  }
199
197
  }
200
198
  .prokodo-List__item__link__header {
@@ -268,7 +266,7 @@ html[data-theme=dark] .prokodo-List__item__icon {
268
266
  font-size: 1.125rem;
269
267
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
270
268
  font-style: normal;
271
- line-height: 1.5;
269
+ line-height: 1.55;
272
270
  letter-spacing: 0.03em;
273
271
  text-transform: none;
274
272
  text-align: left;
@@ -277,13 +275,11 @@ html[data-theme=dark] .prokodo-List__item__icon {
277
275
  @media screen and (min-width: 480px) {
278
276
  .prokodo-List__item__desc {
279
277
  font-size: 1rem;
280
- line-height: 1.45;
281
278
  }
282
279
  }
283
280
  @media screen and (min-width: 960px) {
284
281
  .prokodo-List__item__desc {
285
282
  font-size: 1rem;
286
- line-height: 1.45;
287
283
  }
288
284
  }
289
285
  .prokodo-List__item__desc--card {
@@ -42,7 +42,6 @@ const Lottie = memo(
42
42
  DotLottieReact,
43
43
  {
44
44
  autoplay: true,
45
- autoResizeCanvas: true,
46
45
  loop: true,
47
46
  className: bem(void 0, void 0, className),
48
47
  renderConfig: { devicePixelRatio: 0.9 },
@@ -184,7 +184,7 @@
184
184
  font-size: 1.125rem;
185
185
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
186
186
  font-style: normal;
187
- line-height: 1.5;
187
+ line-height: 1.55;
188
188
  letter-spacing: 0.03em;
189
189
  text-transform: none;
190
190
  text-align: left;
@@ -193,13 +193,11 @@
193
193
  @media screen and (min-width: 480px) {
194
194
  .prokodo-PostItem__date {
195
195
  font-size: 1rem;
196
- line-height: 1.45;
197
196
  }
198
197
  }
199
198
  @media screen and (min-width: 960px) {
200
199
  .prokodo-PostItem__date {
201
200
  font-size: 1rem;
202
- line-height: 1.45;
203
201
  }
204
202
  }
205
203
  .prokodo-PostItem__read__count {
@@ -209,7 +207,7 @@
209
207
  font-size: 1.125rem;
210
208
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
211
209
  font-style: normal;
212
- line-height: 1.5;
210
+ line-height: 1.55;
213
211
  letter-spacing: 0.03em;
214
212
  text-transform: none;
215
213
  text-align: left;
@@ -218,13 +216,11 @@
218
216
  @media screen and (min-width: 480px) {
219
217
  .prokodo-PostItem__read__count {
220
218
  font-size: 1rem;
221
- line-height: 1.45;
222
219
  }
223
220
  }
224
221
  @media screen and (min-width: 960px) {
225
222
  .prokodo-PostItem__read__count {
226
223
  font-size: 1rem;
227
- line-height: 1.45;
228
224
  }
229
225
  }
230
226
  .prokodo-PostItem__content {
@@ -236,7 +232,7 @@
236
232
  font-size: 1.125rem;
237
233
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
238
234
  font-style: normal;
239
- line-height: 1.5;
235
+ line-height: 1.55;
240
236
  letter-spacing: 0.03em;
241
237
  text-transform: none;
242
238
  text-align: left;
@@ -245,13 +241,11 @@
245
241
  @media screen and (min-width: 480px) {
246
242
  .prokodo-PostItem__content {
247
243
  font-size: 1rem;
248
- line-height: 1.45;
249
244
  }
250
245
  }
251
246
  @media screen and (min-width: 960px) {
252
247
  .prokodo-PostItem__content {
253
248
  font-size: 1rem;
254
- line-height: 1.45;
255
249
  }
256
250
  }
257
251
  .prokodo-PostItem__content__paragraph {