@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.
Files changed (90) hide show
  1. package/dist/base/index.css +1 -1
  2. package/dist/base.js +1 -1
  3. package/dist/components.js +1 -1
  4. package/dist/digigov.css +2 -2
  5. package/package.json +11 -11
  6. package/src/base/index.native.css +0 -0
  7. package/src/components/accordion.common.css +29 -0
  8. package/src/components/accordion.css +10 -12
  9. package/src/components/accordion.native.css +27 -0
  10. package/src/components/autocomplete.css +1 -3
  11. package/src/components/blockquote.common.css +11 -11
  12. package/src/components/blockquote.css +6 -6
  13. package/src/components/blockquote.native.css +4 -1
  14. package/src/components/breadcrumbs.css +1 -1
  15. package/src/components/button.common.css +1 -1
  16. package/src/components/button.css +2 -2
  17. package/src/components/button.native.css +4 -4
  18. package/src/components/card.common.css +30 -30
  19. package/src/components/card.css +1 -1
  20. package/src/components/checkboxes.common.css +13 -13
  21. package/src/components/checkboxes.native.css +2 -3
  22. package/src/components/chip.common.css +19 -0
  23. package/src/components/chip.css +5 -4
  24. package/src/components/chip.native.css +15 -0
  25. package/src/components/code.css +8 -7
  26. package/src/components/copy-to-clipboard.css +1 -1
  27. package/src/components/copy-to-clipboard.native.css +2 -4
  28. package/src/components/details.common.css +23 -23
  29. package/src/components/details.native.css +8 -0
  30. package/src/components/drawer.css +4 -4
  31. package/src/components/dropdown.common.css +20 -20
  32. package/src/components/dropdown.native.css +10 -11
  33. package/src/components/fillable.css +1 -1
  34. package/src/components/filter.css +64 -44
  35. package/src/components/footer.css +8 -7
  36. package/src/components/form.common.css +75 -76
  37. package/src/components/form.css +8 -5
  38. package/src/components/form.native.css +102 -53
  39. package/src/components/header.common.css +32 -33
  40. package/src/components/header.css +9 -13
  41. package/src/components/header.native.css +5 -10
  42. package/src/components/layout.common.css +2 -2
  43. package/src/components/layout.css +2 -2
  44. package/src/components/layout.native.css +1 -0
  45. package/src/components/loader.common.css +1 -1
  46. package/src/components/loader.native.css +1 -1
  47. package/src/components/modal.common.css +1 -2
  48. package/src/components/modal.css +1 -1
  49. package/src/components/modal.native.css +3 -3
  50. package/src/components/nav.common.css +18 -18
  51. package/src/components/nav.native.css +4 -6
  52. package/src/components/notification-banner.common.css +3 -3
  53. package/src/components/notification-banner.css +20 -2
  54. package/src/components/pagination.css +1 -1
  55. package/src/components/panel.common.css +26 -26
  56. package/src/components/panel.native.css +8 -2
  57. package/src/components/phase-banner.common.css +1 -1
  58. package/src/components/phase-banner.native.css +0 -1
  59. package/src/components/radios.common.css +1 -1
  60. package/src/components/radios.native.css +2 -3
  61. package/src/components/skeleton.common.css +20 -0
  62. package/src/components/skeleton.css +7 -10
  63. package/src/components/skeleton.native.css +53 -0
  64. package/src/components/stack.common.css +1 -1
  65. package/src/components/stepnav.css +3 -2
  66. package/src/components/summary-list.common.css +6 -5
  67. package/src/components/summary-list.css +10 -7
  68. package/src/components/summary-list.native.css +5 -1
  69. package/src/components/svg-icons.common.css +1 -1
  70. package/src/components/svg-icons.native.css +2 -3
  71. package/src/components/table.css +52 -19
  72. package/src/components/tabs.css +0 -1
  73. package/src/components/task-list.css +7 -12
  74. package/src/components/test.css +2 -2
  75. package/src/components/timeline.css +15 -16
  76. package/src/components/typography.common.css +1 -1
  77. package/src/components/typography.css +16 -17
  78. package/src/components/typography.native.css +31 -0
  79. package/src/components/warning-text.common.css +1 -1
  80. package/src/components/warning-text.css +6 -7
  81. package/src/index.native.css +3 -0
  82. package/src/utilities/gap.css +1 -1
  83. package/src/utilities/index.css +6 -6
  84. package/src/utilities/index.native.css +6 -6
  85. package/src/utilities/layout.css +1 -1
  86. package/src/utilities/layout.native.css +1 -1
  87. package/src/utilities/margin.css +35 -35
  88. package/src/utilities/padding.css +1 -1
  89. package/src/utilities/print.css +1 -1
  90. 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 max-h-full shadow-thick sm:shadow-none !important;
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 max-h-full shadow-thick md:shadow-none !important;
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 max-h-full shadow-thick lg:shadow-none !important;
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-2 md:mb-4 flex justify-between align-baseline;
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
- .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-0 md:-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
- }
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
- @apply util-dropdown;
5
- z-index: 2;
4
+ @apply util-dropdown;
5
+ z-index: 2;
6
6
  }
7
7
  .ds-dropdown--right {
8
- @apply util-dropdown--right;
8
+ @apply util-dropdown--right;
9
9
  }
10
10
 
11
11
  .ds-dropdown__button {
12
- @apply gap-1 items-center p-2;
13
- flex-direction: row;
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
- color: var(--color-base-100);
16
+ color: var(--color-base-100);
18
17
  }
19
18
 
20
19
  .ds-dropdown__content {
21
- @apply util-dropdown__content p-2 border-2;
20
+ @apply util-dropdown__content p-2 border-2;
22
21
  }
23
22
  .ds-dropdown__content--full-width {
24
- @apply util-dropdown__content--full-width;
23
+ @apply util-dropdown__content--full-width;
25
24
  }
26
25
  .ds-dropdown__content--scrollable {
27
- @apply util-dropdown__content--scrollable;
28
- }
26
+ @apply util-dropdown__content--scrollable;
27
+ }
@@ -1,5 +1,5 @@
1
1
  .ds-fillable-text {
2
- @apply mb-4 md:mb-8 p-4 border-l-6 border-base-300 bg-base-200
2
+ @apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-base-300 bg-base-200
3
3
  text-base-content md:text-lg leading-relaxed text-base;
4
4
  }
5
5
  .ds-labeled-text {
@@ -1,69 +1,63 @@
1
1
  .ds-filter-container {
2
- @apply justify-center items-center content-center
3
- left-0 top-0 overflow-auto w-full h-full
4
- flex;
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 z-50 bg-opacity-50 bg-base-700
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 z-50 bg-opacity-50 bg-base-700
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 z-50 bg-opacity-50 bg-base-700
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
- &.ds-filter-container--closed {
26
- @apply hidden;
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 z-40 w-4/5;
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 block relative overflow-visible w-full shadow-none z-2 !important;
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:block sm:relative sm:overflow-visible sm:w-full sm:shadow-none sm:z-2;
41
- &.ds-filter--closed {
42
- @apply sm:block;
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:block md:relative md:overflow-visible md:w-full md:shadow-none md:z-2;
47
- &.ds-filter--closed {
48
- @apply md:block;
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:block lg:relative lg:overflow-visible lg:w-full lg:shadow-none lg:z-2;
53
- &.ds-filter--closed {
54
- @apply lg:block;
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 p-4;
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-2 md:mb-4;
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 sm:flex-nowrap mb-4 md:mb-8 justify-between gap-x-2 gap-y-4;
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 mb-0 !important;
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 mb-4 md:mb-8;
90
+ @apply flex w-full max-w-3xl;
97
91
  }
98
92
  .ds-results__action-bar {
99
- @apply py-2 mb-4 md:mb-8 flex flex-wrap justify-start gap-4 items-baseline;
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-2 md:mb-4;
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
- @apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
118
- box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
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
- .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
- }
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
- .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
- }
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
- .util-label {
38
- @apply mb-0 flex gap-y-3 flex-col;
39
- }
40
- .util-label-text {
41
- font-size: var(--label-font-size);
42
- line-height: var(--label-line-height);
43
- letter-spacing: var(--label-letter-spacing);
44
- }
45
- .util-label__title--xl-text {
46
- @apply max-w-2xl;
47
- font-size: var(--label__title--xl-font-size);
48
- line-height: var(--label__title--xl-line-height);
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
+ }
@@ -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 md:mb-8 text-error-text font-semibold;
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 text-lg;
251
+ @apply h-fit;
249
252
  }
250
253
  }
251
254
  .ds-dashed--border {