@pzh-ui/css 0.0.16 → 0.0.19

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.
File without changes
File without changes
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pzh-ui/css",
3
- "version": "0.0.16",
3
+ "version": "0.0.19",
4
4
  "description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "scripts": {
10
- "prerelease": "npm run-script build-tailwind",
10
+ "prepare": "npm run-script build-tailwind",
11
11
  "build-tailwind": "npx tailwindcss -c ./config/custom.js -i src/tailwind.src.css -o src/tailwind.css",
12
12
  "watch-tailwind": "npx tailwindcss -c ./config/custom.js -i src/tailwind.src.css -o src/tailwind.css --watch",
13
13
  "build": "npm run-script build-tailwind"
@@ -16,9 +16,10 @@
16
16
  "@rollup/plugin-typescript": "^8.3.1",
17
17
  "@tailwindcss/custom-forms": "^0.2.1",
18
18
  "@tailwindcss/forms": "^0.5.0",
19
- "@tailwindcss/line-clamp": "^0.3.1"
19
+ "@tailwindcss/line-clamp": "^0.3.1",
20
+ "react-datepicker": "^4.7.0"
20
21
  },
21
- "gitHead": "d571b5dd1d0bd88cfe71a85c84f9f155e4d9e885",
22
+ "gitHead": "d15c5f52732fbe650c61c2ab9c2bdaa8741cfefb",
22
23
  "devDependencies": {
23
24
  "tailwindcss": "^3.0.23"
24
25
  }
package/src/tailwind.css CHANGED
@@ -808,22 +808,14 @@ select{
808
808
  margin-bottom: 0.5rem;
809
809
  }
810
810
 
811
- .ml-1{
812
- margin-left: 0.25rem;
813
- }
814
-
815
- .mb-6{
816
- margin-bottom: 1.5rem;
817
- }
818
-
819
- .mb-4{
820
- margin-bottom: 1rem;
821
- }
822
-
823
811
  .mt-2{
824
812
  margin-top: 0.5rem;
825
813
  }
826
814
 
815
+ .ml-1{
816
+ margin-left: 0.25rem;
817
+ }
818
+
827
819
  .block{
828
820
  display: block;
829
821
  }
@@ -888,6 +880,10 @@ select{
888
880
  max-width: 72rem;
889
881
  }
890
882
 
883
+ .max-w-\[2rem\]{
884
+ max-width: 2rem;
885
+ }
886
+
891
887
  .translate-y-2{
892
888
  --tw-translate-y: 0.5rem;
893
889
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1066,16 +1062,16 @@ select{
1066
1062
  padding-right: 1.5rem;
1067
1063
  }
1068
1064
 
1069
- .py-1{
1070
- padding-top: 0.25rem;
1071
- padding-bottom: 0.25rem;
1072
- }
1073
-
1074
1065
  .py-6{
1075
1066
  padding-top: 1.5rem;
1076
1067
  padding-bottom: 1.5rem;
1077
1068
  }
1078
1069
 
1070
+ .py-1{
1071
+ padding-top: 0.25rem;
1072
+ padding-bottom: 0.25rem;
1073
+ }
1074
+
1079
1075
  .pr-16{
1080
1076
  padding-right: 4rem;
1081
1077
  }
@@ -1172,14 +1168,14 @@ select{
1172
1168
  font-size: 1rem;
1173
1169
  }
1174
1170
 
1175
- .text-\[0\.8rem\]{
1176
- font-size: 0.8rem;
1177
- }
1178
-
1179
1171
  .text-\[16px\]{
1180
1172
  font-size: 16px;
1181
1173
  }
1182
1174
 
1175
+ .text-\[0\.8rem\]{
1176
+ font-size: 0.8rem;
1177
+ }
1178
+
1183
1179
  .italic{
1184
1180
  font-style: italic;
1185
1181
  }
@@ -1215,28 +1211,28 @@ select{
1215
1211
  color: rgb(22 17 59 / var(--tw-text-opacity));
1216
1212
  }
1217
1213
 
1218
- .text-pzh-red{
1214
+ .text-pzh-green{
1219
1215
  --tw-text-opacity: 1;
1220
- color: rgb(209 31 61 / var(--tw-text-opacity));
1216
+ color: rgb(0 128 77 / var(--tw-text-opacity));
1221
1217
  }
1222
1218
 
1223
- .text-pzh-green{
1219
+ .text-pzh-red{
1224
1220
  --tw-text-opacity: 1;
1225
- color: rgb(0 128 77 / var(--tw-text-opacity));
1221
+ color: rgb(209 31 61 / var(--tw-text-opacity));
1226
1222
  }
1227
1223
 
1228
1224
  .text-opacity-35{
1229
1225
  --tw-text-opacity: 0.35;
1230
1226
  }
1231
1227
 
1232
- .text-opacity-55{
1233
- --tw-text-opacity: 0.55;
1234
- }
1235
-
1236
1228
  .text-opacity-50{
1237
1229
  --tw-text-opacity: 0.5;
1238
1230
  }
1239
1231
 
1232
+ .text-opacity-55{
1233
+ --tw-text-opacity: 0.55;
1234
+ }
1235
+
1240
1236
  .underline{
1241
1237
  -webkit-text-decoration-line: underline;
1242
1238
  text-decoration-line: underline;
@@ -1316,7 +1312,7 @@ select{
1316
1312
  @font-face {
1317
1313
  font-family: 'Karbon Regular';
1318
1314
 
1319
- src: url('../assets/Karbon-Regular.woff2') format('woff2');
1315
+ src: url('./../fonts/Karbon-Regular.woff2') format('woff2');
1320
1316
 
1321
1317
  font-weight: normal;
1322
1318
 
@@ -1326,7 +1322,7 @@ select{
1326
1322
  @font-face {
1327
1323
  font-family: 'Karbon Medium';
1328
1324
 
1329
- src: url('../assets/Karbon-Medium.woff2') format('woff2');
1325
+ src: url('./../fonts/Karbon-Medium.woff2') format('woff2');
1330
1326
 
1331
1327
  font-weight: bold;
1332
1328
 
@@ -1624,6 +1620,11 @@ h6,
1624
1620
  color: rgb(22 17 59 / var(--tw-text-opacity));
1625
1621
  }
1626
1622
 
1623
+ .react-datepicker__day--keyboard-selected:hover{
1624
+ background-color: rgb(22 17 59 / var(--tw-bg-opacity));
1625
+ --tw-bg-opacity: 0.1;
1626
+ }
1627
+
1627
1628
  .react-datepicker__day--selected, .react-datepicker__day--selected:hover{
1628
1629
  --tw-bg-opacity: 1;
1629
1630
  background-color: rgb(0 128 77 / var(--tw-bg-opacity));
@@ -6,14 +6,14 @@
6
6
 
7
7
  @font-face {
8
8
  font-family: 'Karbon Regular';
9
- src: url('../assets/Karbon-Regular.woff2') format('woff2');
9
+ src: url('./../fonts/Karbon-Regular.woff2') format('woff2');
10
10
  font-weight: normal;
11
11
  font-display: swap;
12
12
  }
13
13
 
14
14
  @font-face {
15
15
  font-family: 'Karbon Medium';
16
- src: url('../assets/Karbon-Medium.woff2') format('woff2');
16
+ src: url('./../fonts/Karbon-Medium.woff2') format('woff2');
17
17
  font-weight: bold;
18
18
  font-display: swap;
19
19
  }
@@ -163,6 +163,10 @@ h6,
163
163
  @apply bg-pzh-blue-dark bg-opacity-10 text-pzh-blue-dark;
164
164
  }
165
165
 
166
+ .react-datepicker__day--keyboard-selected:hover {
167
+ @apply bg-pzh-blue-dark bg-opacity-10;
168
+ }
169
+
166
170
  .react-datepicker__day--selected,
167
171
  .react-datepicker__day--selected:hover {
168
172
  @apply bg-pzh-green bold;