@digigov/css 2.0.0-834daea4 → 2.0.0-87b6232d
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/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +2 -2
- package/package.json +11 -11
- package/src/base/index.native.css +0 -0
- package/src/components/accordion.common.css +29 -0
- package/src/components/accordion.css +10 -12
- package/src/components/accordion.native.css +27 -0
- package/src/components/autocomplete.css +1 -3
- package/src/components/blockquote.common.css +11 -11
- package/src/components/blockquote.css +6 -6
- package/src/components/blockquote.native.css +4 -1
- package/src/components/breadcrumbs.css +1 -1
- package/src/components/button.common.css +1 -1
- package/src/components/button.css +2 -2
- package/src/components/button.native.css +4 -4
- package/src/components/card.common.css +30 -30
- package/src/components/card.css +1 -1
- package/src/components/checkboxes.common.css +13 -13
- package/src/components/checkboxes.native.css +2 -3
- package/src/components/chip.common.css +19 -0
- package/src/components/chip.css +5 -4
- package/src/components/chip.native.css +15 -0
- package/src/components/code.css +8 -7
- package/src/components/copy-to-clipboard.css +1 -1
- package/src/components/copy-to-clipboard.native.css +2 -4
- package/src/components/details.common.css +23 -23
- package/src/components/details.native.css +8 -0
- package/src/components/drawer.css +4 -4
- package/src/components/dropdown.common.css +20 -20
- package/src/components/dropdown.native.css +10 -11
- package/src/components/fillable.css +1 -1
- package/src/components/filter.css +64 -44
- package/src/components/footer.css +8 -7
- package/src/components/form.common.css +75 -76
- package/src/components/form.css +8 -5
- package/src/components/form.native.css +102 -53
- package/src/components/header.common.css +32 -33
- package/src/components/header.css +9 -13
- package/src/components/header.native.css +5 -10
- package/src/components/layout.common.css +2 -2
- package/src/components/layout.css +2 -2
- package/src/components/layout.native.css +1 -0
- package/src/components/loader.common.css +1 -1
- package/src/components/loader.native.css +1 -1
- package/src/components/modal.common.css +1 -2
- package/src/components/modal.css +1 -1
- package/src/components/modal.native.css +3 -3
- package/src/components/nav.common.css +18 -18
- package/src/components/nav.native.css +4 -6
- package/src/components/notification-banner.common.css +3 -3
- package/src/components/notification-banner.css +20 -2
- package/src/components/pagination.css +1 -1
- package/src/components/panel.common.css +26 -26
- package/src/components/panel.native.css +8 -2
- package/src/components/phase-banner.common.css +1 -1
- package/src/components/phase-banner.native.css +0 -1
- package/src/components/radios.common.css +1 -1
- package/src/components/radios.native.css +2 -3
- package/src/components/skeleton.common.css +20 -0
- package/src/components/skeleton.css +7 -10
- package/src/components/skeleton.native.css +53 -0
- package/src/components/stack.common.css +1 -1
- package/src/components/stepnav.css +3 -2
- package/src/components/summary-list.common.css +6 -5
- package/src/components/summary-list.css +10 -7
- package/src/components/summary-list.native.css +5 -1
- package/src/components/svg-icons.common.css +1 -1
- package/src/components/svg-icons.native.css +2 -3
- package/src/components/table.css +52 -19
- package/src/components/tabs.css +0 -1
- package/src/components/task-list.css +7 -12
- package/src/components/test.css +2 -2
- package/src/components/timeline.css +15 -16
- package/src/components/typography.common.css +1 -1
- package/src/components/typography.css +16 -17
- package/src/components/typography.native.css +31 -0
- package/src/components/warning-text.common.css +1 -1
- package/src/components/warning-text.css +6 -7
- package/src/index.native.css +3 -0
- package/src/utilities/gap.css +1 -1
- package/src/utilities/index.css +6 -6
- package/src/utilities/index.native.css +6 -6
- package/src/utilities/layout.css +1 -1
- package/src/utilities/layout.native.css +1 -1
- package/src/utilities/margin.css +35 -35
- package/src/utilities/padding.css +1 -1
- package/src/utilities/print.css +1 -1
- package/src/utilities/utilities.css +3 -4
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
fixed top-0 bottom-0 z-40;
|
|
22
22
|
@apply shadow-thick !important;
|
|
23
23
|
&.ds-drawer--relative-sm {
|
|
24
|
-
@apply sm:relative sm:w-full
|
|
24
|
+
@apply sm:relative sm:w-full sm:min-h-fit shadow-thick sm:shadow-none !important;
|
|
25
25
|
}
|
|
26
26
|
&.ds-drawer--relative-md {
|
|
27
|
-
@apply md:relative md:w-full
|
|
27
|
+
@apply md:relative md:w-full md:min-h-fit shadow-thick md:shadow-none !important;
|
|
28
28
|
}
|
|
29
29
|
&.ds-drawer--relative-lg {
|
|
30
|
-
@apply lg:relative lg:w-full
|
|
30
|
+
@apply lg:relative lg:w-full lg:min-h-fit shadow-thick lg:shadow-none !important;
|
|
31
31
|
}
|
|
32
32
|
&.ds-drawer--right {
|
|
33
33
|
@apply right-0;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
.ds-drawer__heading {
|
|
56
|
-
@apply p-0 mb-
|
|
56
|
+
@apply p-0 mb-4 flex justify-between align-baseline;
|
|
57
57
|
.ds--drawer__close-icon {
|
|
58
58
|
@apply m-0;
|
|
59
59
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
@tailwind utilities;
|
|
2
2
|
|
|
3
3
|
@layer utilities {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
max-w-xs min-w-full absolute transition z-3 mr-4
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
4
|
+
.util-dropdown {
|
|
5
|
+
@apply relative;
|
|
6
|
+
}
|
|
7
|
+
.util-dropdown--right {
|
|
8
|
+
@apply right-0 mr-0 ml-4;
|
|
9
|
+
}
|
|
10
|
+
.util-dropdown__content {
|
|
11
|
+
@apply border-base-400 bg-base-100
|
|
12
|
+
max-w-xs min-w-full absolute transition z-3 mr-4 -mt-4;
|
|
13
|
+
box-shadow:
|
|
14
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
15
|
+
0 -2px 0 var(--color-base-500);
|
|
16
|
+
}
|
|
17
|
+
.util-dropdown__content--full-width {
|
|
18
|
+
@apply min-w-full;
|
|
19
|
+
}
|
|
20
|
+
.util-dropdown__content--scrollable {
|
|
21
|
+
@apply max-h-64 md:max-h-96;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
@import './dropdown.common.css';
|
|
2
2
|
|
|
3
3
|
.ds-dropdown {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
@apply util-dropdown;
|
|
5
|
+
z-index: 2;
|
|
6
6
|
}
|
|
7
7
|
.ds-dropdown--right {
|
|
8
|
-
|
|
8
|
+
@apply util-dropdown--right;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.ds-dropdown__button {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
flex-wrap: wrap;
|
|
12
|
+
@apply gap-1 items-center p-2;
|
|
13
|
+
flex-flow: row wrap;
|
|
15
14
|
}
|
|
16
15
|
.ds-dropdown__button__text {
|
|
17
|
-
|
|
16
|
+
color: var(--color-base-100);
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.ds-dropdown__content {
|
|
21
|
-
|
|
20
|
+
@apply util-dropdown__content p-2 border-2;
|
|
22
21
|
}
|
|
23
22
|
.ds-dropdown__content--full-width {
|
|
24
|
-
|
|
23
|
+
@apply util-dropdown__content--full-width;
|
|
25
24
|
}
|
|
26
25
|
.ds-dropdown__content--scrollable {
|
|
27
|
-
|
|
28
|
-
}
|
|
26
|
+
@apply util-dropdown__content--scrollable;
|
|
27
|
+
}
|
|
@@ -1,69 +1,63 @@
|
|
|
1
1
|
.ds-filter-container {
|
|
2
|
-
@apply
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
@apply fixed left-0 top-0 overflow-auto w-full h-full
|
|
3
|
+
flex justify-center items-center content-center
|
|
4
|
+
z-50 bg-opacity-50 bg-base-700;
|
|
5
|
+
&.ds-filter-container--position-relative-always {
|
|
6
|
+
@apply bg-transparent h-fit z-2 overflow-visible relative block !important;
|
|
7
|
+
}
|
|
5
8
|
&.ds-filter-container--position-relative-sm {
|
|
6
|
-
@apply
|
|
7
|
-
sm:bg-transparent sm:h-fit sm:z-2 sm:overflow-visible fixed sm:relative;
|
|
9
|
+
@apply sm:bg-transparent sm:h-fit sm:z-2 sm:overflow-visible sm:relative;
|
|
8
10
|
@apply sm:block !important;
|
|
9
|
-
&.ds-filter-container--closed {
|
|
10
|
-
@apply hidden;
|
|
11
|
-
}
|
|
12
11
|
}
|
|
13
12
|
&.ds-filter-container--position-relative-md {
|
|
14
|
-
@apply
|
|
15
|
-
md:bg-transparent md:h-fit md:z-2 md:overflow-visible fixed md:relative;
|
|
13
|
+
@apply md:bg-transparent md:h-fit md:z-2 md:overflow-visible md:relative;
|
|
16
14
|
@apply md:block !important;
|
|
17
|
-
&.ds-filter-container--closed {
|
|
18
|
-
@apply hidden;
|
|
19
|
-
}
|
|
20
15
|
}
|
|
21
16
|
&.ds-filter-container--position-relative-lg {
|
|
22
|
-
@apply
|
|
23
|
-
lg:bg-transparent lg:h-fit lg:z-2 lg:overflow-visible fixed lg:relative;
|
|
17
|
+
@apply lg:bg-transparent lg:h-fit lg:z-2 lg:overflow-visible lg:relative;
|
|
24
18
|
@apply lg:block !important;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
}
|
|
20
|
+
&.ds-filter-container--closed {
|
|
21
|
+
@apply hidden;
|
|
28
22
|
}
|
|
29
23
|
}
|
|
30
24
|
.ds-filter {
|
|
31
|
-
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll
|
|
25
|
+
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll w-4/5 max-w-md p-4;
|
|
32
26
|
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
33
27
|
&.ds-filter--position-relative-always {
|
|
34
|
-
@apply
|
|
35
|
-
&.ds-filter--closed {
|
|
36
|
-
@apply block !important;
|
|
37
|
-
}
|
|
28
|
+
@apply relative w-full max-w-full shadow-none mb-4 md:mb-8;
|
|
38
29
|
}
|
|
39
30
|
&.ds-filter--position-relative-sm {
|
|
40
|
-
@apply sm:
|
|
41
|
-
|
|
42
|
-
@apply sm:
|
|
31
|
+
@apply sm:relative sm:w-full sm:shadow-none sm:mb-4 md:mb-8 sm:max-w-full;
|
|
32
|
+
&:not(.ds-filter--border) {
|
|
33
|
+
@apply sm:p-0;
|
|
43
34
|
}
|
|
44
35
|
}
|
|
45
36
|
&.ds-filter--position-relative-md {
|
|
46
|
-
@apply md:
|
|
47
|
-
|
|
48
|
-
@apply md:
|
|
37
|
+
@apply md:relative md:w-full md:shadow-none md:mb-8 md:max-w-full;
|
|
38
|
+
&:not(.ds-filter--border) {
|
|
39
|
+
@apply md:p-0;
|
|
49
40
|
}
|
|
50
41
|
}
|
|
51
42
|
&.ds-filter--position-relative-lg {
|
|
52
|
-
@apply lg:
|
|
53
|
-
|
|
54
|
-
|
|
43
|
+
@apply lg:relative lg:overflow-visible lg:w-full lg:shadow-none
|
|
44
|
+
lg:z-2 lg:mb-8 lg:max-w-full;
|
|
45
|
+
&:not(.ds-filter--border) {
|
|
46
|
+
@apply lg:p-0;
|
|
55
47
|
}
|
|
56
48
|
}
|
|
57
49
|
&.ds-filter--border {
|
|
58
|
-
@apply border border-base-300
|
|
59
|
-
}
|
|
60
|
-
&.ds-filter--closed {
|
|
61
|
-
@apply hidden;
|
|
50
|
+
@apply border border-base-300;
|
|
62
51
|
}
|
|
63
52
|
}
|
|
64
53
|
.ds-filter__content {
|
|
65
54
|
@apply flex flex-col gap-8 p-0;
|
|
66
55
|
}
|
|
56
|
+
.ds-filter__options {
|
|
57
|
+
.ds-btn:last-child {
|
|
58
|
+
@apply mb-0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
67
61
|
.ds-filter__options--horizontal {
|
|
68
62
|
@apply flex gap-4 flex-col;
|
|
69
63
|
@apply md:flex-row md:flex-wrap;
|
|
@@ -80,23 +74,23 @@
|
|
|
80
74
|
@apply p-0;
|
|
81
75
|
}
|
|
82
76
|
.ds-filter__heading {
|
|
83
|
-
@apply mb-
|
|
77
|
+
@apply mb-4 flex justify-between align-baseline items-baseline;
|
|
84
78
|
}
|
|
85
79
|
.ds-filter__selected {
|
|
86
80
|
@apply bg-base-200 p-4 m-0 rounded;
|
|
87
81
|
}
|
|
88
82
|
.ds-filter__selected-heading {
|
|
89
|
-
@apply flex flex-wrap
|
|
83
|
+
@apply flex flex-wrap mb-4 md:mb-8 justify-between gap-x-2 gap-y-4;
|
|
90
84
|
}
|
|
91
85
|
.ds-input__search-btn {
|
|
92
|
-
@apply shadow-none
|
|
86
|
+
@apply shadow-none !important;
|
|
93
87
|
@apply px-4 py-2 w-min m-0 ml-3 flex gap-2;
|
|
94
88
|
}
|
|
95
89
|
.ds-search {
|
|
96
|
-
@apply flex w-full max-w-3xl
|
|
90
|
+
@apply flex w-full max-w-3xl;
|
|
97
91
|
}
|
|
98
92
|
.ds-results__action-bar {
|
|
99
|
-
@apply py-2 mb-
|
|
93
|
+
@apply py-2 mb-8 flex flex-wrap justify-start gap-4 items-baseline;
|
|
100
94
|
> * {
|
|
101
95
|
@apply mb-0;
|
|
102
96
|
}
|
|
@@ -105,7 +99,7 @@
|
|
|
105
99
|
@apply flex flex-wrap justify-between items-baseline gap-x-2;
|
|
106
100
|
}
|
|
107
101
|
.ds-results__actions {
|
|
108
|
-
@apply flex flex-wrap gap-4 justify-start min-w-min mb-
|
|
102
|
+
@apply flex flex-wrap gap-4 justify-start min-w-min mb-4;
|
|
109
103
|
}
|
|
110
104
|
.ds-link-filters {
|
|
111
105
|
@apply block md:hidden;
|
|
@@ -114,8 +108,34 @@
|
|
|
114
108
|
/* overrides */
|
|
115
109
|
|
|
116
110
|
.ds-filter {
|
|
117
|
-
|
|
118
|
-
|
|
111
|
+
&.ds-filter--position-relative-always {
|
|
112
|
+
.ds-filter__heading {
|
|
113
|
+
> .ds-close-btn {
|
|
114
|
+
@apply hidden;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
&.ds-filter--position-relative-sm {
|
|
119
|
+
.ds-filter__heading {
|
|
120
|
+
> .ds-close-btn {
|
|
121
|
+
@apply sm:hidden;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
&.ds-filter--position-relative-md {
|
|
126
|
+
.ds-filter__heading {
|
|
127
|
+
> .ds-close-btn {
|
|
128
|
+
@apply md:hidden;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
&.ds-filter--position-relative-lg {
|
|
133
|
+
.ds-filter__heading {
|
|
134
|
+
> .ds-close-btn {
|
|
135
|
+
@apply lg:hidden;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
119
139
|
.ds-select {
|
|
120
140
|
@apply w-full;
|
|
121
141
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.ds-footer {
|
|
2
|
+
@apply font-normal text-base py-4 md:py-8 w-full
|
|
3
|
+
print:py-2 print:bg-white print:border-t-2;
|
|
2
4
|
border: var(--footer-border);
|
|
3
5
|
border-width: var(--footer-border-width);
|
|
4
6
|
background-color: var(--footer-background-color);
|
|
5
7
|
color: var(--footer-color);
|
|
6
|
-
@apply font-normal text-base py-4 md:py-8 w-full
|
|
7
|
-
print:py-2 print:bg-white print:border-t-2;
|
|
8
8
|
}
|
|
9
9
|
.ds-footer__info {
|
|
10
10
|
@apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-center md:justify-between box-border;
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
}
|
|
45
45
|
.ds-footer__link {
|
|
46
46
|
text-decoration: var(--footer__link-text-decoration);
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
&:hover {
|
|
49
49
|
text-decoration: var(--footer__link-text-decoration-hover);
|
|
50
50
|
text-decoration-thickness: 2px;
|
|
51
|
-
color:var(--footer__link-color-hover);
|
|
51
|
+
color: var(--footer__link-color-hover);
|
|
52
52
|
}
|
|
53
53
|
&:focus {
|
|
54
|
-
color:var(--footer__link-color-focus);
|
|
54
|
+
color: var(--footer__link-color-focus);
|
|
55
55
|
background-color: var(--color-focus) !important;
|
|
56
56
|
box-shadow:
|
|
57
57
|
0 -2px var(--color-focus),
|
|
@@ -100,11 +100,12 @@
|
|
|
100
100
|
@apply print:hidden;
|
|
101
101
|
}
|
|
102
102
|
.ds-link {
|
|
103
|
-
--link-color:var(--color-footer);
|
|
103
|
+
--link-color: var(--color-footer-link);
|
|
104
|
+
--link-color-hover: var(--color-footer-link-hover);
|
|
104
105
|
@apply print:text-base-content;
|
|
105
106
|
}
|
|
106
107
|
.ds-body {
|
|
107
|
-
--body-color:var(--color-footer);
|
|
108
|
+
--body-color: var(--color-footer-text);
|
|
108
109
|
@apply print:text-base-content;
|
|
109
110
|
}
|
|
110
111
|
}
|
|
@@ -1,82 +1,81 @@
|
|
|
1
1
|
@tailwind utilities;
|
|
2
2
|
|
|
3
3
|
@layer utilities {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
.util-field {
|
|
5
|
+
@apply mb-8 md:mb-10;
|
|
6
|
+
}
|
|
7
|
+
.util-field--error {
|
|
8
|
+
@apply border-l-5 border-error-text px-0 pl-4;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
11
|
+
.util-fieldset__legend {
|
|
12
|
+
margin-bottom: var(--fieldset__legend-margin-bottom);
|
|
13
|
+
}
|
|
14
|
+
.util-fieldset__legend-text {
|
|
15
|
+
font-weight: var(--fieldset__legend-font-weight);
|
|
16
|
+
letter-spacing: var(--fieldset__legend-letter-spacing);
|
|
17
|
+
}
|
|
18
|
+
.util-fieldset__legend--xl-text {
|
|
19
|
+
@apply max-w-2xl;
|
|
20
|
+
font-size: var(--fieldset__legend--xl-font-size);
|
|
21
|
+
line-height: var(--fieldset__legend--xl-line-height);
|
|
22
|
+
}
|
|
23
|
+
.util-fieldset__legend--lg-text {
|
|
24
|
+
font-size: var(--fieldset__legend--lg-font-size);
|
|
25
|
+
line-height: var(--fieldset__legend--lg-line-height);
|
|
26
|
+
}
|
|
27
|
+
.util-fieldset__legend--md-text {
|
|
28
|
+
font-size: var(--fieldset__legend--md-font-size);
|
|
29
|
+
line-height: var(--fieldset__legend--md-line-height);
|
|
30
|
+
}
|
|
31
|
+
.util-fieldset__legend--sm-text {
|
|
32
|
+
font-size: var(--fieldset__legend--sm-font-size);
|
|
33
|
+
line-height: var(--fieldset__legend--sm-line-height);
|
|
34
|
+
}
|
|
35
35
|
|
|
36
|
+
.util-label {
|
|
37
|
+
@apply mb-0 flex gap-y-3 flex-col;
|
|
38
|
+
}
|
|
39
|
+
.util-label-text {
|
|
40
|
+
font-size: var(--label-font-size);
|
|
41
|
+
line-height: var(--label-line-height);
|
|
42
|
+
letter-spacing: var(--label-letter-spacing);
|
|
43
|
+
}
|
|
44
|
+
.util-label__title--xl-text {
|
|
45
|
+
@apply max-w-2xl;
|
|
46
|
+
font-size: var(--label__title--xl-font-size);
|
|
47
|
+
line-height: var(--label__title--xl-line-height);
|
|
48
|
+
font-weight: var(--label__title-font-weight);
|
|
49
|
+
letter-spacing: var(--label__title-letter-spacing);
|
|
50
|
+
}
|
|
51
|
+
.util-label__title--lg-text {
|
|
52
|
+
font-size: var(--label__title--lg-font-size);
|
|
53
|
+
line-height: var(--label__title--lg-line-height);
|
|
54
|
+
font-weight: var(--label__title-font-weight);
|
|
55
|
+
letter-spacing: var(--label__title-letter-spacing);
|
|
56
|
+
}
|
|
57
|
+
.util-label__title--md-text {
|
|
58
|
+
font-size: var(--label__title--md-font-size);
|
|
59
|
+
line-height: var(--label__title--md-line-height);
|
|
60
|
+
font-weight: var(--label__title-font-weight);
|
|
61
|
+
letter-spacing: var(--label__title-letter-spacing);
|
|
62
|
+
}
|
|
63
|
+
.util-label__title--sm-text {
|
|
64
|
+
font-size: var(--label__title--sm-font-size);
|
|
65
|
+
line-height: var(--label__title--sm-line-height);
|
|
66
|
+
font-weight: var(--label__title-font-weight);
|
|
67
|
+
letter-spacing: var(--label__title-letter-spacing);
|
|
68
|
+
}
|
|
36
69
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
font-weight: var(--label__title-font-weight);
|
|
50
|
-
letter-spacing: var(--label__title-letter-spacing);
|
|
51
|
-
}
|
|
52
|
-
.util-label__title--lg-text {
|
|
53
|
-
font-size: var(--label__title--lg-font-size);
|
|
54
|
-
line-height: var(--label__title--lg-line-height);
|
|
55
|
-
font-weight: var(--label__title-font-weight);
|
|
56
|
-
letter-spacing: var(--label__title-letter-spacing);
|
|
57
|
-
}
|
|
58
|
-
.util-label__title--md-text {
|
|
59
|
-
font-size: var(--label__title--md-font-size);
|
|
60
|
-
line-height: var(--label__title--md-line-height);
|
|
61
|
-
font-weight: var(--label__title-font-weight);
|
|
62
|
-
letter-spacing: var(--label__title-letter-spacing);
|
|
63
|
-
}
|
|
64
|
-
.util-label__title--sm-text {
|
|
65
|
-
font-size: var(--label__title--sm-font-size);
|
|
66
|
-
line-height: var(--label__title--sm-line-height);
|
|
67
|
-
font-weight: var(--label__title-font-weight);
|
|
68
|
-
letter-spacing: var(--label__title-letter-spacing);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.util-input {
|
|
72
|
-
@apply md:text-lg w-full p-2 border-2 border-base-content bg-base-100;
|
|
73
|
-
border-radius: var(--input-border-radius);
|
|
74
|
-
}
|
|
75
|
-
.util-input--error {
|
|
76
|
-
@apply border-error-text border-3;
|
|
77
|
-
}
|
|
78
|
-
.util-textarea {
|
|
79
|
-
@apply md:text-lg w-full p-2 border-2 border-base-content bg-base-100;
|
|
80
|
-
border-radius: var(--textarea-border-radius);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
70
|
+
.util-input {
|
|
71
|
+
@apply md:text-lg w-full p-2 border-2 border-base-content bg-base-100;
|
|
72
|
+
border-radius: var(--input-border-radius);
|
|
73
|
+
}
|
|
74
|
+
.util-input--error {
|
|
75
|
+
@apply border-error-text border-3;
|
|
76
|
+
}
|
|
77
|
+
.util-textarea {
|
|
78
|
+
@apply md:text-lg w-full p-2 border-2 border-base-content bg-base-100;
|
|
79
|
+
border-radius: var(--textarea-border-radius);
|
|
80
|
+
}
|
|
81
|
+
}
|
package/src/components/form.css
CHANGED
|
@@ -113,6 +113,9 @@
|
|
|
113
113
|
.ds-uploaded-file {
|
|
114
114
|
@apply flex flex-wrap gap-x-4 mb-0;
|
|
115
115
|
}
|
|
116
|
+
.ds-uploaded-file-border {
|
|
117
|
+
@apply p-4 border border-base-300;
|
|
118
|
+
}
|
|
116
119
|
.ds-date-input {
|
|
117
120
|
@apply flex flex-wrap gap-y-2;
|
|
118
121
|
&.ds-date-input--dense,
|
|
@@ -170,7 +173,7 @@
|
|
|
170
173
|
|
|
171
174
|
/* error handling */
|
|
172
175
|
.ds-error-message {
|
|
173
|
-
@apply md:text-lg text-base block mb-4
|
|
176
|
+
@apply md:text-lg text-base block mb-4 text-error-text font-semibold;
|
|
174
177
|
}
|
|
175
178
|
/* stylelint-disable-next-line digigov/nest-related-rules */
|
|
176
179
|
.ds-input--error {
|
|
@@ -219,12 +222,12 @@
|
|
|
219
222
|
&.ds-grid {
|
|
220
223
|
@apply grid gap-4;
|
|
221
224
|
.ds-fieldset {
|
|
222
|
-
@apply grid gap-4;
|
|
223
|
-
:not(.ds-field) {
|
|
225
|
+
@apply grid gap-4 grid-cols-12;
|
|
226
|
+
:not(.ds-field, .ds-grid-item) {
|
|
224
227
|
@apply col-span-12;
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
|
-
:not(.ds-field) {
|
|
230
|
+
:not(.ds-field, .ds-grid-item) {
|
|
228
231
|
@apply col-span-12;
|
|
229
232
|
}
|
|
230
233
|
}
|
|
@@ -245,7 +248,7 @@
|
|
|
245
248
|
}
|
|
246
249
|
.ds-uploaded-file {
|
|
247
250
|
.ds-link {
|
|
248
|
-
@apply h-fit
|
|
251
|
+
@apply h-fit;
|
|
249
252
|
}
|
|
250
253
|
}
|
|
251
254
|
.ds-dashed--border {
|