@pzh-ui/css 0.0.70 → 0.0.71

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.70",
3
+ "version": "0.0.71",
4
4
  "description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -21,7 +21,7 @@
21
21
  "react-datepicker": "^4.7.0",
22
22
  "react-toastify": "^9.1.2"
23
23
  },
24
- "gitHead": "3dc349a730bb3eb48134374f767adc1236c92b7f",
24
+ "gitHead": "a335068588e469ce0060f006d887215bd9af43a7",
25
25
  "devDependencies": {
26
26
  "tailwindcss": "^3.3.2"
27
27
  }
package/src/tailwind.css CHANGED
@@ -1273,6 +1273,8 @@ select {
1273
1273
  border-color: rgb(92 92 92 / var(--tw-border-opacity));
1274
1274
  padding-bottom: 6px;
1275
1275
  padding-top: 10px;
1276
+ font-size: 1.25rem;
1277
+ line-height: 1.875rem;
1276
1278
  line-height: 30px;
1277
1279
  --tw-text-opacity: 1;
1278
1280
  color: rgb(22 17 59 / var(--tw-text-opacity));
@@ -1324,8 +1326,8 @@ select {
1324
1326
  position: absolute;
1325
1327
  left: 0px;
1326
1328
  top: 0px;
1327
- height: 24px;
1328
- width: 24px;
1329
+ height: 1.5rem;
1330
+ width: 1.5rem;
1329
1331
  border-radius: 9999px;
1330
1332
  border-width: 1px;
1331
1333
  --tw-border-opacity: 1;
@@ -1338,8 +1340,8 @@ select {
1338
1340
  .pzh-form-radio:checked + span:after,
1339
1341
  .pzh-form-radio:not(:checked) + span:after {
1340
1342
  position: absolute;
1341
- left: 0.25rem;
1342
- top: 0.25rem;
1343
+ left: 5px;
1344
+ top: 5px;
1343
1345
  height: 14px;
1344
1346
  width: 14px;
1345
1347
  border-radius: 9999px;
@@ -1377,9 +1379,9 @@ select {
1377
1379
  position: absolute;
1378
1380
  left: 0px;
1379
1381
  top: 0px;
1380
- height: 24px;
1381
- width: 24px;
1382
- border-radius: 4px;
1382
+ height: 1.5rem;
1383
+ width: 1.5rem;
1384
+ border-radius: 0.25rem;
1383
1385
  border-width: 1px;
1384
1386
  --tw-border-opacity: 1;
1385
1387
  border-color: rgb(92 92 92 / var(--tw-border-opacity));
@@ -1401,8 +1403,8 @@ select {
1401
1403
  .pzh-form-checkbox:checked + span:after,
1402
1404
  .pzh-form-checkbox:not(:checked) + span:after {
1403
1405
  position: absolute;
1404
- left: 0.25rem;
1405
- top: 2px;
1406
+ left: 5px;
1407
+ top: 0.125rem;
1406
1408
  height: 14px;
1407
1409
  width: 14px;
1408
1410
  --tw-text-opacity: 1;
@@ -1499,7 +1501,7 @@ select {
1499
1501
  margin-bottom: 0.25rem;
1500
1502
  height: 26px;
1501
1503
  width: 26px;
1502
- line-height: 28px;
1504
+ line-height: 1.75rem;
1503
1505
  }
1504
1506
 
1505
1507
  .pzh-datepicker .react-datepicker__day {
@@ -1652,6 +1654,10 @@ select {
1652
1654
  top: 0px;
1653
1655
  }
1654
1656
 
1657
+ .top-6 {
1658
+ top: 1.5rem;
1659
+ }
1660
+
1655
1661
  .top-\[14px\] {
1656
1662
  top: 14px;
1657
1663
  }
@@ -1660,10 +1666,6 @@ select {
1660
1666
  top: 192px;
1661
1667
  }
1662
1668
 
1663
- .top-\[24px\] {
1664
- top: 24px;
1665
- }
1666
-
1667
1669
  .top-\[288px\] {
1668
1670
  top: 288px;
1669
1671
  }
@@ -1696,13 +1698,8 @@ select {
1696
1698
  margin: 0px;
1697
1699
  }
1698
1700
 
1699
- .m-0\.5 {
1700
- margin: 0.125rem;
1701
- }
1702
-
1703
- .mx-1 {
1704
- margin-left: 0.25rem;
1705
- margin-right: 0.25rem;
1701
+ .m-1 {
1702
+ margin: 0.25rem;
1706
1703
  }
1707
1704
 
1708
1705
  .mx-auto {
@@ -1715,12 +1712,8 @@ select {
1715
1712
  margin-bottom: 0.5rem;
1716
1713
  }
1717
1714
 
1718
- .-mb-0 {
1719
- margin-bottom: -0px;
1720
- }
1721
-
1722
- .-mb-0\.5 {
1723
- margin-bottom: -0.125rem;
1715
+ .-mb-\[3px\] {
1716
+ margin-bottom: -3px;
1724
1717
  }
1725
1718
 
1726
1719
  .-mb-px {
@@ -1751,18 +1744,10 @@ select {
1751
1744
  margin-top: -2px;
1752
1745
  }
1753
1746
 
1754
- .-mt-\[4px\] {
1755
- margin-top: -4px;
1756
- }
1757
-
1758
1747
  .mb-0 {
1759
1748
  margin-bottom: 0px;
1760
1749
  }
1761
1750
 
1762
- .mb-1 {
1763
- margin-bottom: 0.25rem;
1764
- }
1765
-
1766
1751
  .mb-2 {
1767
1752
  margin-bottom: 0.5rem;
1768
1753
  }
@@ -1791,10 +1776,6 @@ select {
1791
1776
  margin-right: 1rem;
1792
1777
  }
1793
1778
 
1794
- .mr-\[8px\] {
1795
- margin-right: 8px;
1796
- }
1797
-
1798
1779
  .mt-1 {
1799
1780
  margin-top: 0.25rem;
1800
1781
  }
@@ -1855,6 +1836,22 @@ select {
1855
1836
  display: none;
1856
1837
  }
1857
1838
 
1839
+ .h-1 {
1840
+ height: 0.25rem;
1841
+ }
1842
+
1843
+ .h-10 {
1844
+ height: 2.5rem;
1845
+ }
1846
+
1847
+ .h-12 {
1848
+ height: 3rem;
1849
+ }
1850
+
1851
+ .h-2 {
1852
+ height: 0.5rem;
1853
+ }
1854
+
1858
1855
  .h-4 {
1859
1856
  height: 1rem;
1860
1857
  }
@@ -1871,30 +1868,10 @@ select {
1871
1868
  height: 2rem;
1872
1869
  }
1873
1870
 
1874
- .h-\[24px\] {
1875
- height: 24px;
1876
- }
1877
-
1878
- .h-\[28px\] {
1879
- height: 28px;
1880
- }
1881
-
1882
- .h-\[36px\] {
1883
- height: 36px;
1884
- }
1885
-
1886
1871
  .h-\[48px\] {
1887
1872
  height: 48px;
1888
1873
  }
1889
1874
 
1890
- .h-\[4px\] {
1891
- height: 4px;
1892
- }
1893
-
1894
- .h-\[8px\] {
1895
- height: 8px;
1896
- }
1897
-
1898
1875
  .h-\[96px\] {
1899
1876
  height: 96px;
1900
1877
  }
@@ -1928,6 +1905,14 @@ select {
1928
1905
  width: max-content !important;
1929
1906
  }
1930
1907
 
1908
+ .w-10 {
1909
+ width: 2.5rem;
1910
+ }
1911
+
1912
+ .w-2 {
1913
+ width: 0.5rem;
1914
+ }
1915
+
1931
1916
  .w-4 {
1932
1917
  width: 1rem;
1933
1918
  }
@@ -1936,18 +1921,10 @@ select {
1936
1921
  width: 1.5rem;
1937
1922
  }
1938
1923
 
1939
- .w-7 {
1940
- width: 1.75rem;
1941
- }
1942
-
1943
1924
  .w-8 {
1944
1925
  width: 2rem;
1945
1926
  }
1946
1927
 
1947
- .w-\[8px\] {
1948
- width: 8px;
1949
- }
1950
-
1951
1928
  .w-\[96px\] {
1952
1929
  width: 96px;
1953
1930
  }
@@ -2091,6 +2068,10 @@ select {
2091
2068
  gap: 0.5rem;
2092
2069
  }
2093
2070
 
2071
+ .gap-4 {
2072
+ gap: 1rem;
2073
+ }
2074
+
2094
2075
  .gap-8 {
2095
2076
  gap: 2rem;
2096
2077
  }
@@ -2142,14 +2123,6 @@ select {
2142
2123
  border-radius: 0.25rem;
2143
2124
  }
2144
2125
 
2145
- .rounded-\[40px\] {
2146
- border-radius: 40px;
2147
- }
2148
-
2149
- .rounded-\[4px\] {
2150
- border-radius: 4px;
2151
- }
2152
-
2153
2126
  .rounded-full {
2154
2127
  border-radius: 9999px;
2155
2128
  }
@@ -2162,11 +2135,6 @@ select {
2162
2135
  border-radius: 0.375rem;
2163
2136
  }
2164
2137
 
2165
- .rounded-t-\[4px\] {
2166
- border-top-left-radius: 4px;
2167
- border-top-right-radius: 4px;
2168
- }
2169
-
2170
2138
  .rounded-t-md {
2171
2139
  border-top-left-radius: 0.375rem;
2172
2140
  border-top-right-radius: 0.375rem;
@@ -2202,6 +2170,10 @@ select {
2202
2170
  border-color: rgb(22 17 59 / var(--tw-border-opacity));
2203
2171
  }
2204
2172
 
2173
+ .border-pzh-blue-dark\/35 {
2174
+ border-color: rgb(22 17 59 / 0.35);
2175
+ }
2176
+
2205
2177
  .border-pzh-cool-gray-dark {
2206
2178
  --tw-border-opacity: 1;
2207
2179
  border-color: rgb(92 92 92 / var(--tw-border-opacity));
@@ -2262,10 +2234,6 @@ select {
2262
2234
  border-color: rgb(198 164 16 / var(--tw-border-opacity));
2263
2235
  }
2264
2236
 
2265
- .border-opacity-35 {
2266
- --tw-border-opacity: 0.35;
2267
- }
2268
-
2269
2237
  .bg-\[\#333333\] {
2270
2238
  --tw-bg-opacity: 1;
2271
2239
  background-color: rgb(51 51 51 / var(--tw-bg-opacity));
@@ -2374,6 +2342,10 @@ select {
2374
2342
  padding: 1rem;
2375
2343
  }
2376
2344
 
2345
+ .p-5 {
2346
+ padding: 1.25rem;
2347
+ }
2348
+
2377
2349
  .p-6 {
2378
2350
  padding: 1.5rem;
2379
2351
  }
@@ -2413,11 +2385,6 @@ select {
2413
2385
  padding-right: 1.5rem;
2414
2386
  }
2415
2387
 
2416
- .px-\[12px\] {
2417
- padding-left: 12px;
2418
- padding-right: 12px;
2419
- }
2420
-
2421
2388
  .py-1 {
2422
2389
  padding-top: 0.25rem;
2423
2390
  padding-bottom: 0.25rem;
@@ -2449,10 +2416,6 @@ select {
2449
2416
  padding-bottom: 1rem;
2450
2417
  }
2451
2418
 
2452
- .pb-\[12px\] {
2453
- padding-bottom: 12px;
2454
- }
2455
-
2456
2419
  .pb-\[9px\] {
2457
2420
  padding-bottom: 9px;
2458
2421
  }
@@ -2521,10 +2484,6 @@ select {
2521
2484
  vertical-align: bottom;
2522
2485
  }
2523
2486
 
2524
- .text-\[0\.8rem\] {
2525
- font-size: 0.8rem;
2526
- }
2527
-
2528
2487
  .text-\[1\.125rem\] {
2529
2488
  font-size: 1.125rem;
2530
2489
  }
@@ -2537,14 +2496,6 @@ select {
2537
2496
  font-size: 1.5rem;
2538
2497
  }
2539
2498
 
2540
- .text-\[16px\] {
2541
- font-size: 16px;
2542
- }
2543
-
2544
- .text-\[18px\] {
2545
- font-size: 18px;
2546
- }
2547
-
2548
2499
  .text-\[2\.5rem\] {
2549
2500
  font-size: 2.5rem;
2550
2501
  }
@@ -2561,6 +2512,21 @@ select {
2561
2512
  font-size: 4rem;
2562
2513
  }
2563
2514
 
2515
+ .text-l {
2516
+ font-size: 1.5rem;
2517
+ line-height: 1.875rem;
2518
+ }
2519
+
2520
+ .text-m {
2521
+ font-size: 1.25rem;
2522
+ line-height: 1.875rem;
2523
+ }
2524
+
2525
+ .text-s {
2526
+ font-size: 1rem;
2527
+ line-height: 1.5rem;
2528
+ }
2529
+
2564
2530
  .font-bold {
2565
2531
  font-weight: 700;
2566
2532
  }
@@ -2585,8 +2551,8 @@ select {
2585
2551
  line-height: 1.25rem;
2586
2552
  }
2587
2553
 
2588
- .leading-6 {
2589
- line-height: 1.5rem;
2554
+ .leading-7 {
2555
+ line-height: 1.75rem;
2590
2556
  }
2591
2557
 
2592
2558
  .leading-\[110\%\] {
@@ -2597,10 +2563,6 @@ select {
2597
2563
  line-height: 125%;
2598
2564
  }
2599
2565
 
2600
- .leading-\[28px\] {
2601
- line-height: 28px;
2602
- }
2603
-
2604
2566
  .leading-\[30px\] {
2605
2567
  line-height: 30px;
2606
2568
  }
@@ -2609,10 +2571,6 @@ select {
2609
2571
  line-height: 1;
2610
2572
  }
2611
2573
 
2612
- .leading-normal {
2613
- line-height: 1.5;
2614
- }
2615
-
2616
2574
  .text-pzh-blue {
2617
2575
  --tw-text-opacity: 1;
2618
2576
  color: rgb(40 31 107 / var(--tw-text-opacity));
@@ -3172,6 +3130,11 @@ b {
3172
3130
  .md\:gap-8 {
3173
3131
  gap: 2rem;
3174
3132
  }
3133
+
3134
+ .md\:text-m {
3135
+ font-size: 1.25rem;
3136
+ line-height: 1.875rem;
3137
+ }
3175
3138
  }
3176
3139
 
3177
3140
  @media (min-width: 1024px) {
@@ -68,7 +68,7 @@ b {
68
68
  }
69
69
 
70
70
  .pzh-form-input {
71
- @apply placeholder-pzh-gray-600 text-pzh-blue-dark border-pzh-gray-600 hover:border-pzh-blue focus:ring-pzh-blue focus:border-pzh-blue disabled:bg-pzh-gray-200 block w-full appearance-none rounded border pb-[6px] pt-[10px] leading-[30px] focus:outline-none focus:outline-none focus:ring focus:ring-2;
71
+ @apply placeholder-pzh-gray-600 text-pzh-blue-dark border-pzh-gray-600 hover:border-pzh-blue focus:ring-pzh-blue focus:border-pzh-blue disabled:bg-pzh-gray-200 text-m block w-full appearance-none rounded border pb-[6px] pt-[10px] leading-[30px] focus:outline-none focus:outline-none focus:ring focus:ring-2;
72
72
  }
73
73
 
74
74
  .pzh-form-error,
@@ -80,12 +80,12 @@ b {
80
80
 
81
81
  .pzh-form-radio:checked + span:before,
82
82
  .pzh-form-radio:not(:checked) + span:before {
83
- @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-[24px] w-[24px] rounded-full border;
83
+ @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-6 w-6 rounded-full border;
84
84
  content: '';
85
85
  }
86
86
  .pzh-form-radio:checked + span:after,
87
87
  .pzh-form-radio:not(:checked) + span:after {
88
- @apply bg-pzh-green absolute left-1 top-1 h-[14px] w-[14px] rounded-full transition duration-200;
88
+ @apply bg-pzh-green absolute left-[5px] top-[5px] h-[14px] w-[14px] rounded-full transition duration-200;
89
89
  content: '';
90
90
  }
91
91
  .pzh-form-radio:not(:checked) + span:after,
@@ -104,7 +104,7 @@ b {
104
104
  }
105
105
 
106
106
  .pzh-form-checkbox + span:before {
107
- @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-[24px] w-[24px] rounded-[4px] border transition duration-200;
107
+ @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-6 w-6 rounded border transition duration-200;
108
108
  content: '';
109
109
  }
110
110
 
@@ -114,7 +114,7 @@ b {
114
114
 
115
115
  .pzh-form-checkbox:checked + span:after,
116
116
  .pzh-form-checkbox:not(:checked) + span:after {
117
- @apply absolute left-1 top-[2px] h-[14px] w-[14px] text-white transition duration-200;
117
+ @apply absolute left-[5px] top-0.5 h-[14px] w-[14px] text-white transition duration-200;
118
118
  content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z'/></svg>");
119
119
  }
120
120
 
@@ -128,11 +128,11 @@ b {
128
128
  }
129
129
 
130
130
  .form-field-label {
131
- @apply mb-2 block text-xs uppercase tracking-wide text-gray-700;
131
+ @apply text-s mb-2 block uppercase tracking-wide text-gray-700;
132
132
  }
133
133
 
134
134
  .form-field-description {
135
- @apply mb-2 text-sm text-gray-700;
135
+ @apply text-s mb-2 text-gray-700;
136
136
  }
137
137
 
138
138
  /*
@@ -184,7 +184,7 @@ b {
184
184
  .pzh-datepicker .react-datepicker__day-name,
185
185
  .pzh-datepicker .react-datepicker__day,
186
186
  .pzh-datepicker .react-datepicker__time-name {
187
- @apply mx-2 my-1 h-[26px] w-[26px] leading-[28px];
187
+ @apply mx-2 my-1 h-[26px] w-[26px] leading-7;
188
188
  }
189
189
 
190
190
  .pzh-datepicker .react-datepicker__day {