@pzh-ui/css 0.0.115 → 0.0.118

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pzh-ui/css",
3
- "version": "0.0.115",
3
+ "version": "0.0.118",
4
4
  "description": "Contains default styling for projects within Provincie Zuid-Holland.",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -17,7 +17,7 @@
17
17
  "@tailwindcss/typography": "^0.5.16",
18
18
  "react-toastify": "^9.1.2"
19
19
  },
20
- "gitHead": "13d3e10c7d3f63fb8ffddb33f9237f9254ebf1ce",
20
+ "gitHead": "e5a775522200086a33ef1a8c8fa16b976afbbc71",
21
21
  "devDependencies": {
22
22
  "@tailwindcss/cli": "^4.1.4",
23
23
  "tailwindcss": "^4.1.4"
package/src/tailwind.css CHANGED
@@ -324,6 +324,11 @@ ol li ol li ol li {
324
324
  background-color: var(--color-pzh-gray-200);
325
325
  }
326
326
  }
327
+ .pzh-form-input--small {
328
+ padding-block: calc(var(--spacing) * 1);
329
+ font-size: var(--text-s);
330
+ line-height: var(--tw-leading, var(--text-s--line-height));
331
+ }
327
332
  .pzh-form-error, .pzh-form-checkbox.pzh-form-error + span:before, .pzh-form-radio:checked.pzh-form-error + span:before, .pzh-form-radio:not(:checked).pzh-form-error + span:before {
328
333
  border-color: var(--color-pzh-red-500);
329
334
  }
@@ -473,15 +478,16 @@ ol li ol li ol li {
473
478
  border-style: none;
474
479
  background-color: var(--color-pzh-white);
475
480
  }
476
- .pzh-datepicker .react-datepicker__month {
481
+ .pzh-datepicker .react-datepicker__month-container .react-datepicker__month {
477
482
  margin-inline: calc(var(--spacing) * 0.5);
478
- margin-top: calc(var(--spacing) * 0);
483
+ margin-top: calc(var(--spacing) * 2);
479
484
  }
480
485
  .pzh-datepicker .react-datepicker__day-names {
481
486
  background-color: color-mix(in srgb, #16113b 10%, transparent);
482
487
  @supports (color: color-mix(in lab, red, red)) {
483
488
  background-color: color-mix(in oklab, var(--color-pzh-blue-900) 10%, transparent);
484
489
  }
490
+ padding-block: calc(var(--spacing) * 1);
485
491
  }
486
492
  .pzh-datepicker .react-datepicker__day-name {
487
493
  margin-block: calc(var(--spacing) * 0);
@@ -549,9 +555,21 @@ ol li ol li ol li {
549
555
  line-height: 14px;
550
556
  }
551
557
  .pzh-datepicker .react-datepicker__current-month, .pzh-datepicker .react-datepicker__day-name, .pzh-datepicker .react-datepicker__day--today {
558
+ margin-block: calc(var(--spacing) * 0);
552
559
  --tw-font-weight: var(--font-weight-bold);
553
560
  font-weight: var(--font-weight-bold);
554
561
  }
562
+ .pzh-datepicker .react-datepicker__sr-only {
563
+ position: absolute;
564
+ width: 1px;
565
+ height: 1px;
566
+ padding: 0;
567
+ margin: -1px;
568
+ overflow: hidden;
569
+ clip: rect(0, 0, 0, 0);
570
+ white-space: nowrap;
571
+ border-width: 0;
572
+ }
555
573
  @property --tw-duration {
556
574
  syntax: "*";
557
575
  inherits: false;
@@ -227,6 +227,9 @@ ol li ol li ol li {
227
227
  .pzh-form-input {
228
228
  @apply placeholder-pzh-gray-600 bg-pzh-white text-pzh-blue-900 border-pzh-gray-600 hover:border-pzh-blue-500 focus:ring-pzh-focus focus:border-pzh-focus disabled:bg-pzh-gray-200 text-m block w-full appearance-none rounded border px-4 py-2 leading-[30px] focus:ring-2 focus:outline-none;
229
229
  }
230
+ .pzh-form-input--small {
231
+ @apply text-s py-1;
232
+ }
230
233
 
231
234
  .pzh-form-error,
232
235
  .pzh-form-checkbox.pzh-form-error + span:before,
@@ -383,12 +386,12 @@ ol li ol li ol li {
383
386
  @apply bg-pzh-white border-none;
384
387
  }
385
388
 
386
- .pzh-datepicker .react-datepicker__month {
387
- @apply mx-0.5 mt-0;
389
+ .pzh-datepicker .react-datepicker__month-container .react-datepicker__month {
390
+ @apply mx-0.5 mt-2;
388
391
  }
389
392
 
390
393
  .pzh-datepicker .react-datepicker__day-names {
391
- @apply bg-pzh-blue-900/10;
394
+ @apply bg-pzh-blue-900/10 py-1;
392
395
  }
393
396
 
394
397
  .pzh-datepicker .react-datepicker__day-name {
@@ -447,5 +450,9 @@ ol li ol li ol li {
447
450
  .pzh-datepicker .react-datepicker__current-month,
448
451
  .pzh-datepicker .react-datepicker__day-name,
449
452
  .pzh-datepicker .react-datepicker__day--today {
450
- @apply font-bold;
453
+ @apply my-0 font-bold;
454
+ }
455
+
456
+ .pzh-datepicker .react-datepicker__sr-only {
457
+ @apply sr-only;
451
458
  }