@digigov/css 0.26.2 → 0.27.1

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.
@@ -1,15 +1,14 @@
1
1
  .govgr-drawer{
2
2
  @apply border border-gray50 md:block bg-white p-4
3
- h-full max-h-screen overflow-y-scroll w-4/5 min-h-screen;
4
- box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
3
+ h-full max-h-screen overflow-y-scroll w-4/5 min-h-screen
4
+ fixed top-0 bottom-0 z-40 md:shadow-none shadow-thick
5
+ md:relative md:overflow-auto md:w-full;
5
6
  }
6
7
  .govgr-drawer--right {
7
- @apply fixed top-0 right-0 bottom-0 z-40 md:shadow-none
8
- md:relative md:overflow-auto md:w-full;
8
+ @apply right-0;
9
9
  }
10
10
  .govgr-drawer--left {
11
- @apply fixed top-0 left-0 bottom-0 z-40 md:shadow-none
12
- md:relative md:overflow-auto md:w-full;
11
+ @apply left-0 ;
13
12
  }
14
13
  .govgr-drawer--closed {
15
14
  @apply hidden md:block;
@@ -36,7 +35,7 @@
36
35
  }
37
36
  }
38
37
  .govgr-drawer__heading {
39
- @apply p-4;
38
+ @apply p-0 flex justify-between align-baseline;
40
39
  .govgr--drawer__close-icon, .govgr-heading-s, .govgr-heading-m, .govgr-heading-l, .govgr-heading-xl {
41
40
  @apply m-0;
42
41
  }
@@ -71,7 +71,7 @@
71
71
  box-shadow: 0 2px 8px var(--color-shadow200), 0 2px 0 var(--color-gray300);
72
72
  }
73
73
  }
74
- .govgr-dropdown--left {
74
+ .govgr-dropdown--right {
75
75
  .govgr-dropdown__content {
76
76
  @apply right-0 mr-0 ml-4 text-right;
77
77
  }
@@ -1,4 +1,5 @@
1
1
  @import "./accordion.css";
2
+ @import "./autocomplete.css";
2
3
  @import "./button.css";
3
4
  @import "./form.css";
4
5
  @import "./checkboxes.css";
@@ -30,7 +30,7 @@
30
30
  @apply w-full flex flex-wrap box-border;
31
31
  }
32
32
  .govgr-button-group {
33
- @apply flex flex-wrap items-baseline gap-4 mb-6;
33
+ @apply flex flex-wrap items-center gap-4 mb-6;
34
34
  .govgr-btn, .govgr-link {
35
35
  @apply mb-0;
36
36
  }
@@ -1,5 +1,5 @@
1
1
  .govgr-modal {
2
- @apply hidden justify-center items-center content-center
2
+ @apply hidden justify-center items-center content-center text-left
3
3
  mb-7 text-base-content bg-opacity-50 bg-gray200
4
4
  fixed z-50 left-0 top-0 w-full h-full overflow-auto;
5
5
  }
@@ -11,7 +11,7 @@
11
11
  .govgr-link{
12
12
  @apply flex items-center no-underline;
13
13
  }
14
- @apply inline-block p-2;
14
+ @apply inline-block p-2 m-0;
15
15
  &:first-child {
16
16
  @apply pl-0
17
17
  }
@@ -3,7 +3,7 @@
3
3
  @apply px-5 py-5;
4
4
  }
5
5
  .govgr-table-container {
6
- @apply w-full overflow-scroll md:mb-10 mb-6;
6
+ @apply w-full overflow-x-auto md:mb-10 mb-6;
7
7
  .govgr-table {
8
8
  @apply mb-0;
9
9
  }
@@ -12,7 +12,7 @@
12
12
  @apply border border-gray50 p-2;
13
13
  }
14
14
  .govgr-table {
15
- @apply w-full border-collapse;
15
+ @apply w-full border-collapse table;
16
16
  @apply md:mb-10 mb-6 text-base-content md:text-lg text-base font-normal;
17
17
  -webkit-font-smoothing: antialiased;
18
18
  -moz-osx-font-smoothing: grayscale;
@@ -24,7 +24,10 @@
24
24
  }
25
25
  }
26
26
  .govgr-table__body {
27
- @apply relative;
27
+ @apply static;
28
+ }
29
+ .govgr-table__row {
30
+ @apply bg-white;
28
31
  }
29
32
  .govgr-table__cell{
30
33
  .govgr-btn {
@@ -1,4 +1,5 @@
1
1
  .govgr-tabs {
2
+ scroll-behavior: smooth;
2
3
  .govgr-tabs__title {
3
4
  @apply block md:hidden lg:hidden;
4
5
  }
@@ -301,7 +301,7 @@
301
301
  @apply pr-8 md:pr-12 !important;
302
302
  }
303
303
  .govgr-grid {
304
- @apply grid md:grid-cols-12 grid-cols-1;
304
+ @apply grid grid-cols-1 md:grid-cols-12 ;
305
305
  }
306
306
  .govgr-grid-inline {
307
307
  @apply inline-grid;
@@ -64,6 +64,9 @@ module.exports = {
64
64
  margin: {
65
65
  '15': '3.75rem',
66
66
  },
67
+ boxShadow: {
68
+ 'thick': '0 0 30px rgba(0, 0, 0, 0.6)',
69
+ }
67
70
  },
68
71
  },
69
72
  variants: {