@pzh-ui/css 0.0.31 → 0.0.34

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/README.md CHANGED
@@ -4,7 +4,7 @@ This package contains default styling for projects whitin Provincie Zuid-Holland
4
4
 
5
5
  We use the [Tailwind framework](https://tailwindcss.com/) to style the components. In order to apply the correct styles, install [@pzh-ui/css](https://www.npmjs.com/package/@pzh-ui/css) in your project.
6
6
 
7
- `npm install @pzh-ui/css`
7
+ `yarn add @pzh-ui/css`
8
8
 
9
9
  After installing the dependency, you can start using the styles as follows:
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pzh-ui/css",
3
- "version": "0.0.31",
3
+ "version": "0.0.34",
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": "7ad20a4be9e43b9ff5af00763b51aef9fc002ddc",
22
+ "gitHead": "9306f80e6b95736d6ff4655fd840481548d4b865",
23
23
  "devDependencies": {
24
24
  "tailwindcss": "^3.0.23"
25
25
  }
package/src/tailwind.css CHANGED
@@ -755,6 +755,10 @@ select{
755
755
  top: 14px;
756
756
  }
757
757
 
758
+ .right-3{
759
+ right: 0.75rem;
760
+ }
761
+
758
762
  .z-10{
759
763
  z-index: 10;
760
764
  }
@@ -940,6 +944,10 @@ select{
940
944
  cursor: pointer;
941
945
  }
942
946
 
947
+ .resize-none{
948
+ resize: none;
949
+ }
950
+
943
951
  .items-start{
944
952
  align-items: flex-start;
945
953
  }
@@ -1059,6 +1067,11 @@ select{
1059
1067
  background-color: rgb(0 128 77 / var(--tw-bg-opacity));
1060
1068
  }
1061
1069
 
1070
+ .bg-white{
1071
+ --tw-bg-opacity: 1;
1072
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1073
+ }
1074
+
1062
1075
  .bg-pzh-cool-gray-light{
1063
1076
  --tw-bg-opacity: 1;
1064
1077
  background-color: rgb(191 191 191 / var(--tw-bg-opacity));
@@ -1069,11 +1082,6 @@ select{
1069
1082
  background-color: rgb(92 92 92 / var(--tw-bg-opacity));
1070
1083
  }
1071
1084
 
1072
- .bg-white{
1073
- --tw-bg-opacity: 1;
1074
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1075
- }
1076
-
1077
1085
  .bg-pzh-blue-light{
1078
1086
  --tw-bg-opacity: 1;
1079
1087
  background-color: rgb(123 173 222 / var(--tw-bg-opacity));
@@ -1355,15 +1363,22 @@ select{
1355
1363
  opacity: 0.5;
1356
1364
  }
1357
1365
 
1366
+ .shadow-md{
1367
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1368
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1369
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1370
+ }
1371
+
1358
1372
  .shadow-xl{
1359
1373
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
1360
1374
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
1361
1375
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1362
1376
  }
1363
1377
 
1364
- .drop-shadow{
1365
- --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
1366
- 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);
1378
+ .shadow-none{
1379
+ --tw-shadow: 0 0 #0000;
1380
+ --tw-shadow-colored: 0 0 #0000;
1381
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1367
1382
  }
1368
1383
 
1369
1384
  .filter{
@@ -1518,9 +1533,9 @@ h6,
1518
1533
  border-width: 1px;
1519
1534
  border-color: rgb(22 17 59 / var(--tw-border-opacity));
1520
1535
  --tw-border-opacity: 0.35;
1521
- padding-top: 15px;
1522
- padding-bottom: 11px;
1523
- line-height: 1;
1536
+ padding-top: 10px;
1537
+ padding-bottom: 6px;
1538
+ line-height: 30px;
1524
1539
  --tw-text-opacity: 1;
1525
1540
  color: rgb(22 17 59 / var(--tw-text-opacity));
1526
1541
  }
@@ -1781,6 +1796,84 @@ h6,
1781
1796
  line-height: 14px;
1782
1797
  }
1783
1798
 
1799
+ /*
1800
+ * React Quill
1801
+ */
1802
+
1803
+ .quill .ql-toolbar.ql-snow {
1804
+ padding: 0px;
1805
+ border-top-left-radius: 0.25rem;
1806
+ border-top-right-radius: 0.25rem;
1807
+ background: white;
1808
+ border-color: rgba(203, 213, 224, 1);
1809
+ }
1810
+
1811
+ .quill .ql-toolbar.ql-snow button {
1812
+ height: 2rem;
1813
+ width: 2rem;
1814
+ display: flex;
1815
+ justify-content: center;
1816
+ align-items: center;
1817
+ padding: 0.5rem;
1818
+ }
1819
+
1820
+ .quill .ql-toolbar.ql-snow button svg path,
1821
+ .quill .ql-toolbar.ql-snow button svg line,
1822
+ .quill .ql-toolbar.ql-snow button:hover svg path,
1823
+ .quill .ql-toolbar.ql-snow button:hover svg line {
1824
+ stroke: #16113b;
1825
+ }
1826
+
1827
+ .quill .ql-toolbar.ql-snow button.ql-active svg path,
1828
+ .quill .ql-toolbar.ql-snow button.ql-active svg line {
1829
+ stroke: #00804d;
1830
+ }
1831
+
1832
+ .quill .ql-toolbar.ql-snow,
1833
+ .quill .ql-toolbar.ql-snow .ql-formats {
1834
+ display: flex;
1835
+ }
1836
+
1837
+ .quill .ql-toolbar.ql-snow {
1838
+ padding: 0 5px;
1839
+ }
1840
+
1841
+ .quill .ql-toolbar.ql-snow .ql-formats {
1842
+ margin: 0;
1843
+ border-right: 1px solid rgba(203, 213, 224, 1);
1844
+ }
1845
+
1846
+ .quill .ql-container {
1847
+ padding-bottom: 0.25rem;
1848
+ border-bottom-left-radius: 0.25rem;
1849
+ border-bottom-right-radius: 0.25rem;
1850
+ background: white;
1851
+ border-color: rgba(203, 213, 224, 1);
1852
+ font-family: 'Karbon Regular', sans-serif;
1853
+ font-weight: 400;
1854
+ font-size: 20px;
1855
+ }
1856
+
1857
+ .quill .editor.ql-container.ql-snow .ql-editor {
1858
+ color: #4a5568;
1859
+ line-height: 1.25;
1860
+ font-size: 1rem;
1861
+ }
1862
+
1863
+ .quill .editor.ql-container.ql-snow .ql-editor h2 {
1864
+ font-size: 1.125rem;
1865
+ margin-top: 10px;
1866
+ margin-bottom: 5px;
1867
+ }
1868
+
1869
+ .quill .ql-disabled {
1870
+ background: #ebebeb;
1871
+ }
1872
+
1873
+ .quill .ql-disabled .ql-editor {
1874
+ opacity: 0.55;
1875
+ }
1876
+
1784
1877
  .hover\:translate-y-0:hover{
1785
1878
  --tw-translate-y: 0px;
1786
1879
  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));
@@ -1848,6 +1941,12 @@ h6,
1848
1941
  color: rgb(255 255 255 / var(--tw-text-opacity));
1849
1942
  }
1850
1943
 
1944
+ .focus\:shadow-none:focus{
1945
+ --tw-shadow: 0 0 #0000;
1946
+ --tw-shadow-colored: 0 0 #0000;
1947
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1948
+ }
1949
+
1851
1950
  .focus\:outline-none:focus{
1852
1951
  outline: 2px solid transparent;
1853
1952
  outline-offset: 2px;
@@ -62,7 +62,7 @@ h6,
62
62
  }
63
63
 
64
64
  .pzh-form-input {
65
- @apply block w-full pt-[15px] pb-[11px] placeholder-pzh-blue-dark placeholder-opacity-55 text-pzh-blue-dark border border-pzh-blue-dark border-opacity-35 rounded appearance-none leading-none focus:outline-none hover:border-gray-500 focus:border-pzh-blue-light disabled:border-pzh-blue-dark disabled:border-opacity-10 disabled:bg-pzh-gray disabled:text-opacity-55;
65
+ @apply block w-full pt-[10px] pb-[6px] leading-[30px] placeholder-pzh-blue-dark placeholder-opacity-55 text-pzh-blue-dark border border-pzh-blue-dark border-opacity-35 rounded appearance-none focus:outline-none hover:border-gray-500 focus:border-pzh-blue-light disabled:border-pzh-blue-dark disabled:border-opacity-10 disabled:bg-pzh-gray disabled:text-opacity-55;
66
66
  }
67
67
 
68
68
  .pzh-form-error,
@@ -201,3 +201,81 @@ h6,
201
201
  .react-datepicker__navigation-icon {
202
202
  @apply leading-[14px];
203
203
  }
204
+
205
+ /*
206
+ * React Quill
207
+ */
208
+
209
+ .quill .ql-toolbar.ql-snow {
210
+ padding: 0px;
211
+ border-top-left-radius: 0.25rem;
212
+ border-top-right-radius: 0.25rem;
213
+ background: white;
214
+ border-color: rgba(203, 213, 224, 1);
215
+ }
216
+
217
+ .quill .ql-toolbar.ql-snow button {
218
+ height: 2rem;
219
+ width: 2rem;
220
+ display: flex;
221
+ justify-content: center;
222
+ align-items: center;
223
+ padding: 0.5rem;
224
+ }
225
+
226
+ .quill .ql-toolbar.ql-snow button svg path,
227
+ .quill .ql-toolbar.ql-snow button svg line,
228
+ .quill .ql-toolbar.ql-snow button:hover svg path,
229
+ .quill .ql-toolbar.ql-snow button:hover svg line {
230
+ stroke: #16113b;
231
+ }
232
+
233
+ .quill .ql-toolbar.ql-snow button.ql-active svg path,
234
+ .quill .ql-toolbar.ql-snow button.ql-active svg line {
235
+ stroke: #00804d;
236
+ }
237
+
238
+ .quill .ql-toolbar.ql-snow,
239
+ .quill .ql-toolbar.ql-snow .ql-formats {
240
+ display: flex;
241
+ }
242
+
243
+ .quill .ql-toolbar.ql-snow {
244
+ padding: 0 5px;
245
+ }
246
+
247
+ .quill .ql-toolbar.ql-snow .ql-formats {
248
+ margin: 0;
249
+ border-right: 1px solid rgba(203, 213, 224, 1);
250
+ }
251
+
252
+ .quill .ql-container {
253
+ padding-bottom: 0.25rem;
254
+ border-bottom-left-radius: 0.25rem;
255
+ border-bottom-right-radius: 0.25rem;
256
+ background: white;
257
+ border-color: rgba(203, 213, 224, 1);
258
+ font-family: 'Karbon Regular', sans-serif;
259
+ font-weight: 400;
260
+ font-size: 20px;
261
+ }
262
+
263
+ .quill .editor.ql-container.ql-snow .ql-editor {
264
+ color: #4a5568;
265
+ line-height: 1.25;
266
+ font-size: 1rem;
267
+ }
268
+
269
+ .quill .editor.ql-container.ql-snow .ql-editor h2 {
270
+ font-size: 1.125rem;
271
+ margin-top: 10px;
272
+ margin-bottom: 5px;
273
+ }
274
+
275
+ .quill .ql-disabled {
276
+ background: #ebebeb;
277
+ }
278
+
279
+ .quill .ql-disabled .ql-editor {
280
+ opacity: 0.55;
281
+ }