@digigov/css 0.38.3 → 0.39.0-385c24e4

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": "0.38.3",
3
+ "version": "0.39.0-385c24e4",
4
4
  "description": "Digigov CSS - Tailwind CSS Components",
5
5
  "author": "GRNET Devs <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -37,6 +37,9 @@
37
37
  @apply mb-0 mt-1;
38
38
  }
39
39
  }
40
+ .govgr-accordion__section-summary--dense {
41
+ @apply pt-2 pl-2 pb-2;
42
+ }
40
43
  .govgr-accordion__section-heading {
41
44
  font-size: var(--accordion__section-heading-font-size);
42
45
  @apply no-underline font-semibold
@@ -75,4 +78,7 @@
75
78
  @apply mb-0;
76
79
  }
77
80
  }
81
+ .govgr-accordion__section-summary--secondary {
82
+ @apply bg-base-200;
83
+ }
78
84
  }
@@ -4,6 +4,12 @@
4
4
  flex-wrap: wrap;
5
5
  min-height: 100vh;
6
6
  }
7
+ .govgr-admin-top-section--secondary {
8
+ @apply bg-base-200 px-4 py-2;
9
+ }
10
+ .govgr-admin-top-section--border {
11
+ @apply border border-base-300 px-4 py-2;
12
+ }
7
13
  .govgr-admin-width-container {
8
14
  @apply px-4 py-8 m-0 w-full mx-auto;
9
15
  flex: 1 1 0%;
@@ -16,6 +22,21 @@
16
22
  }
17
23
  .govgr-admin-side-content {
18
24
  @apply lg:col-span-4 md:col-span-5 print:order-1;
25
+ .govgr-accordion__section {
26
+ @apply border-b-0;
27
+ &:first-child {
28
+ @apply border-t-0;
29
+ }
30
+ }
31
+ .govgr-accordion__section-summary {
32
+ @apply border-b border-base-400;
33
+ }
34
+ .govgr-accordion__section-button {
35
+ &::after {
36
+ content: "+";
37
+ @apply text-2xl text-base-content float-right relative -right-6;
38
+ }
39
+ }
19
40
  }
20
41
  .govgr-admin-grid-column-1 {
21
42
  @apply md:col-span-1;
@@ -102,8 +102,13 @@
102
102
  margin-right: '-1px';
103
103
  }
104
104
 
105
- .govgr-autocomplete__option--no-results {
106
- @apply text-current cursor-not-allowed;
105
+
106
+ .govgr-autocomplete__option--empty {
107
+ @apply cursor-default;
108
+ @apply bg-base-100 text-base-content !important;
109
+ &:hover{
110
+ border-color: var(--color-base-400);
111
+ }
107
112
  }
108
113
 
109
114
  .govgr-autocomplete__hint,
@@ -50,9 +50,6 @@
50
50
  .govgr-checkboxes__hint {
51
51
  @apply px-2 mb-2;
52
52
  }
53
- .govgr-checkboxes__divider, .govgr-radios__divider {
54
- @apply text-lg text-center w-10 mb-4;
55
- }
56
53
  .govgr-checkboxes__conditional, .govgr-radios__conditional {
57
54
  @apply border-l-4 border-base-500 ml-4 pl-6;
58
55
  }
@@ -0,0 +1,51 @@
1
+ .govgr-chip--heading {
2
+ @apply font-bold md:text-base text-sm pb-4;
3
+ }
4
+ .govgr-chips {
5
+ @apply flex flex-wrap list-none gap-x-2;
6
+ .govgr-chip .govgr-chip__content {
7
+ @apply mr-0;
8
+ }
9
+ }
10
+ .govgr-chips--horizontal {
11
+ @apply md:flex md:flex-row md:flex-wrap;
12
+ }
13
+ .govgr-chip {
14
+ @apply list-none;
15
+ .govgr-chip__content {
16
+ @apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
17
+ inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
18
+ .govgr-close-icon {
19
+ @apply w-4 h-4 ml-3;
20
+ }
21
+ &[role="button"] {
22
+ &:hover {
23
+ @apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
24
+ .govgr-close-icon {
25
+ fill: var(--color-base-content-invert);
26
+ }
27
+ }
28
+ &:focus {
29
+ outline: 3px solid var(--color-focus);
30
+ outline-offset: 0;
31
+ -webkit-box-shadow: inset 0 0 0 2px;
32
+ box-shadow: inset 0 0 0 2px;
33
+ }
34
+ }
35
+ }
36
+ }
37
+ .govgr-chip--deletable {
38
+ .govgr-chip__content {
39
+ &:hover {
40
+ @apply shadow-lg transition;
41
+ }
42
+ .govgr-close-icon {
43
+ &:hover {
44
+ @apply cursor-pointer;
45
+ }
46
+ }
47
+ }
48
+ }
49
+ .govgr-chip__key-value {
50
+ @apply font-bold mr-2;
51
+ }
@@ -95,38 +95,6 @@
95
95
  @apply m-0 h-full;
96
96
  }
97
97
  }
98
- .govgr-chip--heading {
99
- @apply font-bold md:text-base text-sm pb-4;
100
- }
101
- .govgr-chip--horizontal {
102
- @apply md:flex md:flex-row md:flex-wrap;
103
- }
104
- .govgr-chips {
105
- @apply flex flex-wrap list-none;
106
- }
107
- .govgr-chip {
108
- @apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
109
- inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
110
- .govgr-close-icon {
111
- @apply w-4 h-4 ml-3;
112
- }
113
- &:hover {
114
- @apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
115
- .govgr-close-icon {
116
- fill: var(--color-base-content-invert);
117
- }
118
- }
119
- &:focus {
120
- outline: 3px solid var(--color-focus);
121
- outline-offset: 0;
122
- -webkit-box-shadow: inset 0 0 0 2px;
123
- box-shadow: inset 0 0 0 2px;
124
- }
125
- }
126
- .govgr-chip__key-value {
127
- @apply font-bold mr-2;
128
- }
129
-
130
98
  .govgr-input__search-btn {
131
99
  @apply shadow-none !important;
132
100
  @apply
@@ -176,3 +176,6 @@
176
176
  .govgr-checkboxes__label--disabled {
177
177
  @apply opacity-40;
178
178
  }
179
+ .govgr-choice-divider {
180
+ @apply text-lg text-center w-10 mb-4;
181
+ }
@@ -3,6 +3,7 @@
3
3
  @import "./autocomplete.css";
4
4
  @import "./button.css";
5
5
  @import "./bottom-info.css";
6
+ @import "./chip.css";
6
7
  @import "./form.css";
7
8
  @import "./checkboxes.css";
8
9
  @import "./dropdown.css";
@@ -211,7 +211,10 @@
211
211
  @apply flex flex-wrap;
212
212
  }
213
213
  .govgr-vertical-nav__item {
214
- @apply w-full p-2 !important;
214
+ @apply w-full pb-2 pt-2 !important;
215
+ }
216
+ .govgr-vertical-nav__item--spaced {
217
+ @apply pl-2 pr-2 !important;
215
218
  }
216
219
  .govgr-vertical-nav__item--active {
217
220
  @apply font-semibold !important;
@@ -1,19 +1,35 @@
1
1
  .govgr-pagination {
2
- @apply flex flex-wrap items-center justify-items-center justify-between md:text-base text-sm;
2
+ @apply flex flex-wrap items-center justify-items-center justify-between;
3
+ .govgr-pagination__label {
4
+ @apply md:text-lg text-base;
5
+ }
3
6
  .govgr-label {
4
- @apply text-base-content md:text-base md:leading-normal text-sm flex-row items-center gap-2;
7
+ @apply text-base-content md:leading-normal flex-row items-center gap-2 md:text-lg text-base;
8
+ }
9
+ .govgr-pagination__item--current {
10
+ @apply md:text-lg text-base;
5
11
  }
6
12
  .govgr-select {
7
13
  text-indent: 0px;
8
- @apply flex text-base-content md:text-base md:leading-normal text-sm border;
14
+ @apply flex text-base-content md:leading-normal border md:text-lg text-base;
9
15
  &:focus {
10
16
  -webkit-box-shadow: inset 0 0 0 1px;
11
17
  box-shadow: inset 0 0 0 1px;
12
18
  }
13
19
  }
14
20
  }
21
+ .govgr-pagination--size-sm {
22
+ .govgr-pagination__label, .govgr-label, .govgr-select, .govgr-pagination__item--current {
23
+ @apply md:text-base text-sm;
24
+ }
25
+ .govgr-pagination__list {
26
+ .govgr-link{
27
+ @apply md:text-base text-sm !important;
28
+ }
29
+ }
30
+ }
15
31
  .govgr-pagination__label {
16
- @apply text-base-content md:text-base md:leading-normal text-sm;
32
+ @apply text-base-content md:leading-normal;
17
33
  }
18
34
  .govgr-pagination__list {
19
35
  @apply flex items-center;