@digigov/css 1.1.1 → 1.2.0

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": "@digigov/css",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Digigov CSS - Tailwind CSS Components",
5
5
  "author": "GRNET Devs <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -49,7 +49,7 @@
49
49
  "tailwindcss": "3.3.5",
50
50
  "nodemon": "2.0.7",
51
51
  "next": "10.0.9",
52
- "@digigov/postcss-banner": "1.0.3",
52
+ "@digigov/postcss-banner": "1.0.4",
53
53
  "@digigov/cli-build-tailwind": "1.0.1",
54
54
  "rimraf": "3.0.2",
55
55
  "publint": "0.1.8",
@@ -33,11 +33,10 @@
33
33
  box-shadow: inset 0 0 0 2px;
34
34
  }
35
35
  .govgr-autocomplete__input--show-all-values {
36
- @apply cursor-pointer;
36
+ @apply cursor-text;
37
37
  }
38
38
  .govgr-autocomplete__dropdown-arrow-down {
39
- @apply inline-block absolute right-2 top-4 w-6 h-6;
40
- z-index: -1;
39
+ @apply inline-block absolute right-2 top-4 w-6 h-6 cursor-pointer;
41
40
  }
42
41
  .govgr-autocomplete__menu {
43
42
  @apply bg-base-100 m-0 max-h-96 overflow-x-hidden w-full p-0 border-2 border-t-0 border-base-content /* border-t-0 border-x-2 border-l-2 border-base-content */;
@@ -51,6 +51,9 @@
51
51
  .govgr-btn-cta {
52
52
  @apply py-4 print:pr-2;
53
53
  font-size: var(--btn-cta-font-size);
54
+ &.govgr-btn--dense, .govgr-dense & {
55
+ @apply py-3 px-4;
56
+ }
54
57
  }
55
58
  .govgr-btn-secondary,
56
59
  .govgr-btn-secondary[type="submit"],
@@ -59,13 +59,13 @@
59
59
  @apply border-t border-base-300 border-solid;
60
60
  }
61
61
  .govgr-section-break--md {
62
- @apply mb-5;
62
+ @apply mb-3 md:mb-5;
63
63
  }
64
64
  .govgr-section-break--lg {
65
- @apply mb-7;
65
+ @apply mb-5 md:mb-7;
66
66
  }
67
67
  .govgr-section-break--xl {
68
- @apply mb-9;
68
+ @apply mb-7 md:mb-9;
69
69
  }
70
70
 
71
71
  /* overrides */
@@ -231,6 +231,14 @@
231
231
  color: var(--hint-color);
232
232
  letter-spacing: var(--hint-letter-spacing);
233
233
  }
234
+ .govgr-hint-lg {
235
+ font-size: var(--hint-lg-font-size);
236
+ line-height: var(--hint-lg-line-height);
237
+ }
238
+ .govgr-hint-sm {
239
+ font-size: var(--hint-sm-font-size);
240
+ line-height: var(--hint-sm-line-height);
241
+ }
234
242
  .govgr-hint--break-words {
235
243
  @apply break-words;
236
244
  }