@pzh-ui/css 0.0.59 → 0.0.60

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.59",
3
+ "version": "0.0.60",
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": "7299b928f3e4410deb6330474b466e2b16848f76",
24
+ "gitHead": "56c26efa41e63e7e8dcac7653c9dcd1b9149097e",
25
25
  "devDependencies": {
26
26
  "tailwindcss": "^3.0.23"
27
27
  }
package/src/tailwind.css CHANGED
@@ -1733,6 +1733,11 @@ select {
1733
1733
  border-color: rgb(173 172 186 / var(--tw-border-opacity));
1734
1734
  }
1735
1735
 
1736
+ .border-pzh-blue {
1737
+ --tw-border-opacity: 1;
1738
+ border-color: rgb(40 31 107 / var(--tw-border-opacity));
1739
+ }
1740
+
1736
1741
  .border-opacity-35 {
1737
1742
  --tw-border-opacity: 0.35;
1738
1743
  }
@@ -1782,9 +1787,9 @@ select {
1782
1787
  background-color: rgb(255 107 2 / var(--tw-bg-opacity));
1783
1788
  }
1784
1789
 
1785
- .bg-black {
1790
+ .bg-\[\#333333\] {
1786
1791
  --tw-bg-opacity: 1;
1787
- background-color: rgb(0 0 0 / var(--tw-bg-opacity));
1792
+ background-color: rgb(51 51 51 / var(--tw-bg-opacity));
1788
1793
  }
1789
1794
 
1790
1795
  .bg-pzh-gray-100 {
@@ -1805,10 +1810,6 @@ select {
1805
1810
  --tw-bg-opacity: 0.2;
1806
1811
  }
1807
1812
 
1808
- .bg-opacity-80 {
1809
- --tw-bg-opacity: 0.8;
1810
- }
1811
-
1812
1813
  .p-1 {
1813
1814
  padding: 0.25rem;
1814
1815
  }
@@ -2153,6 +2154,23 @@ select {
2153
2154
  outline-offset: 2px;
2154
2155
  }
2155
2156
 
2157
+ .ring {
2158
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2159
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2160
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2161
+ }
2162
+
2163
+ .ring-2 {
2164
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2165
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2166
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2167
+ }
2168
+
2169
+ .ring-pzh-blue {
2170
+ --tw-ring-opacity: 1;
2171
+ --tw-ring-color: rgb(40 31 107 / var(--tw-ring-opacity));
2172
+ }
2173
+
2156
2174
  .blur {
2157
2175
  --tw-blur: blur(8px);
2158
2176
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -2276,6 +2294,7 @@ b {
2276
2294
  display: inline-block;
2277
2295
  border-radius: 0.25rem;
2278
2296
  line-height: 1;
2297
+ --tw-ring-offset-width: 2px;
2279
2298
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
2280
2299
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2281
2300
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
@@ -2290,6 +2309,8 @@ b {
2290
2309
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2291
2310
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2292
2311
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2312
+ --tw-ring-opacity: 1;
2313
+ --tw-ring-color: rgb(22 17 59 / var(--tw-ring-opacity));
2293
2314
  }
2294
2315
 
2295
2316
  .pzh-button:disabled {
@@ -2334,14 +2355,20 @@ b {
2334
2355
 
2335
2356
  .pzh-form-input:hover {
2336
2357
  --tw-border-opacity: 1;
2337
- border-color: rgb(22 17 59 / var(--tw-border-opacity));
2358
+ border-color: rgb(40 31 107 / var(--tw-border-opacity));
2338
2359
  }
2339
2360
 
2340
2361
  .pzh-form-input:focus {
2341
2362
  --tw-border-opacity: 1;
2342
- border-color: rgb(123 173 222 / var(--tw-border-opacity));
2363
+ border-color: rgb(40 31 107 / var(--tw-border-opacity));
2343
2364
  outline: 2px solid transparent;
2344
2365
  outline-offset: 2px;
2366
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2367
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2368
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2369
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2370
+ --tw-ring-opacity: 1;
2371
+ --tw-ring-color: rgb(40 31 107 / var(--tw-ring-opacity));
2345
2372
  }
2346
2373
 
2347
2374
  .pzh-form-input:disabled {
@@ -2450,6 +2477,19 @@ b {
2450
2477
  content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='rgba(22, 17, 59, 0.35)' 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>");
2451
2478
  }
2452
2479
 
2480
+ .pzh-form-radio:focus + span:before, .pzh-form-checkbox:focus + span:before {
2481
+ --tw-border-opacity: 1;
2482
+ border-color: rgb(40 31 107 / var(--tw-border-opacity));
2483
+ outline: 2px solid transparent;
2484
+ outline-offset: 2px;
2485
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2486
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2487
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2488
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2489
+ --tw-ring-opacity: 1;
2490
+ --tw-ring-color: rgb(40 31 107 / var(--tw-ring-opacity));
2491
+ }
2492
+
2453
2493
  .form-field-label {
2454
2494
  margin-bottom: 0.5rem;
2455
2495
  display: block;
@@ -58,11 +58,11 @@ b {
58
58
  */
59
59
 
60
60
  .pzh-button {
61
- @apply inline-block transition duration-200 ease-in rounded focus:outline-none focus:ring leading-none disabled:bg-pzh-gray-200 disabled:text-pzh-blue-dark disabled:text-opacity-35 disabled:cursor-not-allowed;
61
+ @apply inline-block transition duration-200 ease-in rounded focus:outline-none focus:ring focus:ring-pzh-blue-dark ring-offset-2 leading-none disabled:bg-pzh-gray-200 disabled:text-pzh-blue-dark disabled:text-opacity-35 disabled:cursor-not-allowed;
62
62
  }
63
63
 
64
64
  .pzh-form-input {
65
- @apply block w-full pt-[10px] pb-[6px] leading-[30px] placeholder-pzh-gray-600 text-pzh-blue-dark border border-pzh-gray-600 rounded appearance-none focus:outline-none hover:border-pzh-blue-dark focus:border-pzh-blue-light disabled:bg-pzh-gray-200;
65
+ @apply block w-full pt-[10px] pb-[6px] leading-[30px] placeholder-pzh-gray-600 text-pzh-blue-dark border border-pzh-gray-600 rounded appearance-none focus:outline-none hover:border-pzh-blue focus:ring focus:ring-2 focus:ring-pzh-blue focus:outline-none focus:border-pzh-blue disabled:bg-pzh-gray-200;
66
66
  }
67
67
 
68
68
  .pzh-form-error,
@@ -116,6 +116,11 @@ b {
116
116
  content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='rgba(22, 17, 59, 0.35)' 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>");
117
117
  }
118
118
 
119
+ .pzh-form-radio:focus + span:before,
120
+ .pzh-form-checkbox:focus + span:before {
121
+ @apply ring ring-2 ring-pzh-blue outline-none border-pzh-blue;
122
+ }
123
+
119
124
  .form-field-label {
120
125
  @apply block mb-2 text-xs tracking-wide text-gray-700 uppercase;
121
126
  }