@pzh-ui/css 0.0.24 → 0.0.27

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.24",
3
+ "version": "0.0.27",
4
4
  "description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -19,7 +19,7 @@
19
19
  "@tailwindcss/line-clamp": "^0.3.1",
20
20
  "react-datepicker": "^4.7.0"
21
21
  },
22
- "gitHead": "697f01855f6323928ac54abc11d6eeb3ff114e84",
22
+ "gitHead": "052db6dfc67cdd9688b77da00fbbe19ac2c096e0",
23
23
  "devDependencies": {
24
24
  "tailwindcss": "^3.0.23"
25
25
  }
package/src/tailwind.css CHANGED
@@ -1418,10 +1418,19 @@ h6,
1418
1418
  font-weight: 700;
1419
1419
  }
1420
1420
 
1421
- .svg-inline--fa:not([class*='text-']) {
1421
+ .svg-inline--fa:not(.text-xs):not(.text-sm):not(.text-base):not(.text-lg):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl) {
1422
1422
  font-size: 14px;
1423
1423
  }
1424
1424
 
1425
+ .pzh-transition-colors{
1426
+ transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
1427
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1428
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
1429
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1430
+ transition-duration: 200ms;
1431
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
1432
+ }
1433
+
1425
1434
  /*
1426
1435
  * Form elements
1427
1436
  */
@@ -1604,6 +1613,31 @@ h6,
1604
1613
  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>");
1605
1614
  }
1606
1615
 
1616
+ .form-field-label{
1617
+ margin-bottom: 0.5rem;
1618
+ display: block;
1619
+ font-size: 0.75rem;
1620
+ text-transform: uppercase;
1621
+ letter-spacing: 0.025em;
1622
+ --tw-text-opacity: 1;
1623
+ color: rgb(74 85 104 / var(--tw-text-opacity));
1624
+ }
1625
+
1626
+ .svg-inline--fa:not(.form-field-label):not(.text-sm):not(.text-base):not(.text-lg):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl) {
1627
+ font-size: 14px;
1628
+ }
1629
+
1630
+ .form-field-description{
1631
+ margin-bottom: 0.5rem;
1632
+ font-size: 0.875rem;
1633
+ --tw-text-opacity: 1;
1634
+ color: rgb(74 85 104 / var(--tw-text-opacity));
1635
+ }
1636
+
1637
+ .svg-inline--fa:not(.text-xs):not(.form-field-description):not(.text-base):not(.text-lg):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl) {
1638
+ font-size: 14px;
1639
+ }
1640
+
1607
1641
  /*
1608
1642
  * React Datepicker
1609
1643
  */
@@ -49,10 +49,14 @@ h6,
49
49
  font-weight: 700;
50
50
  }
51
51
 
52
- .svg-inline--fa:not([class*='text-']) {
52
+ .svg-inline--fa:not(.text-xs):not(.text-sm):not(.text-base):not(.text-lg):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl) {
53
53
  font-size: 14px;
54
54
  }
55
55
 
56
+ .pzh-transition-colors {
57
+ @apply transition-colors duration-200 ease-in;
58
+ }
59
+
56
60
  /*
57
61
  * Form elements
58
62
  */
@@ -109,6 +113,14 @@ h6,
109
113
  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>");
110
114
  }
111
115
 
116
+ .form-field-label {
117
+ @apply block mb-2 text-xs tracking-wide text-gray-700 uppercase;
118
+ }
119
+
120
+ .form-field-description {
121
+ @apply mb-2 text-sm text-gray-700;
122
+ }
123
+
112
124
  /*
113
125
  * React Datepicker
114
126
  */