@digigov/css 1.3.0-rc.0 → 2.0.0-4be8f7cc

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 (77) hide show
  1. package/defaultTheme/accordion.json +8 -0
  2. package/defaultTheme/brandConfig.json +10 -0
  3. package/defaultTheme/button.json +9 -0
  4. package/defaultTheme/card.json +11 -0
  5. package/defaultTheme/form.json +15 -0
  6. package/defaultTheme/globals.json +11 -1
  7. package/defaultTheme/index.js +1 -1
  8. package/defaultTheme/layout.json +55 -0
  9. package/defaultTheme/misc.json +20 -0
  10. package/defaultTheme/panel.json +5 -0
  11. package/defaultTheme/typography.json +8 -8
  12. package/dist/base/index.css +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/components.js +1 -1
  15. package/dist/digigov.css +2 -2
  16. package/package.json +7 -3
  17. package/src/base/base.css +1 -1
  18. package/src/base/index.css +5 -5
  19. package/src/components/accordion.css +56 -53
  20. package/src/components/admin-header.css +6 -5
  21. package/src/components/admin-layout.css +10 -17
  22. package/src/components/autocomplete.css +89 -46
  23. package/src/components/back-to-top.css +3 -4
  24. package/src/components/bottom-info.css +2 -1
  25. package/src/components/breadcrumbs.css +8 -6
  26. package/src/components/button.css +49 -48
  27. package/src/components/card.css +56 -48
  28. package/src/components/checkboxes.css +20 -23
  29. package/src/components/chip.css +28 -29
  30. package/src/components/components.css +2 -2
  31. package/src/components/copy-to-clipboard.css +27 -26
  32. package/src/components/details.css +11 -9
  33. package/src/components/dev-theme.css +2 -3
  34. package/src/components/drawer.css +46 -47
  35. package/src/components/dropdown.css +57 -46
  36. package/src/components/experimental.css +12 -12
  37. package/src/components/fillable.css +4 -4
  38. package/src/components/filter.css +9 -14
  39. package/src/components/footer.css +35 -21
  40. package/src/components/form.css +33 -23
  41. package/src/components/full-page-background.css +1 -1
  42. package/src/components/header.css +27 -35
  43. package/src/components/hidden.css +6 -6
  44. package/src/components/index.css +47 -47
  45. package/src/components/kitchensink.css +33 -33
  46. package/src/components/layout.css +34 -36
  47. package/src/components/loader.css +28 -28
  48. package/src/components/masthead.css +56 -55
  49. package/src/components/misc.css +13 -15
  50. package/src/components/modal.css +10 -12
  51. package/src/components/nav.css +69 -65
  52. package/src/components/notification-banner.css +18 -16
  53. package/src/components/pagination.css +29 -30
  54. package/src/components/panel.css +9 -8
  55. package/src/components/phase-banner.css +5 -5
  56. package/src/components/radios.css +24 -21
  57. package/src/components/skeleton.css +68 -0
  58. package/src/components/skiplink.css +2 -2
  59. package/src/components/stack.css +63 -63
  60. package/src/components/stepnav.css +33 -29
  61. package/src/components/summary-list.css +16 -16
  62. package/src/components/svg-icons.css +78 -80
  63. package/src/components/table.css +154 -178
  64. package/src/components/tabs.css +40 -38
  65. package/src/components/task-list.css +18 -18
  66. package/src/components/timeline.css +4 -3
  67. package/src/components/typography.css +93 -102
  68. package/src/components/warning-text.css +7 -7
  69. package/src/pages/index.js +1 -1
  70. package/tailwind.config.js +1 -0
  71. package/defaultTheme/footer.json +0 -8
  72. package/src/pages/admin-filtering-data.js +0 -160
  73. package/src/pages/admin.js +0 -61
  74. package/src/pages/dropdown.js +0 -249
  75. package/src/pages/form.js +0 -400
  76. package/src/pages/pagination.js +0 -124
  77. package/src/pages/table.js +0 -308
@@ -3,36 +3,36 @@
3
3
  h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md flex flex-col
4
4
  fixed top-0 bottom-0 z-40;
5
5
  @apply shadow-thick !important;
6
- }
7
- .ds-drawer--relative-sm {
8
- @apply sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
9
- }
10
- .ds-drawer--relative-md {
11
- @apply md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
12
- }
13
- .ds-drawer--relative-lg {
14
- @apply lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
15
- }
16
- .ds-drawer--right {
17
- @apply right-0;
18
- }
19
- .ds-drawer--left {
20
- @apply left-0;
21
- }
22
- .ds-drawer--bg-secondary {
23
- @apply bg-base-200 border-0;
24
- @apply shadow-xl !important;
25
- }
26
- .ds-drawer--closed {
27
- @apply hidden;
28
6
  &.ds-drawer--relative-sm {
29
- @apply hidden sm:flex;
7
+ @apply sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
30
8
  }
31
9
  &.ds-drawer--relative-md {
32
- @apply hidden md:flex;
10
+ @apply md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
33
11
  }
34
12
  &.ds-drawer--relative-lg {
35
- @apply hidden lg:flex;
13
+ @apply lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
14
+ }
15
+ &.ds-drawer--right {
16
+ @apply right-0;
17
+ }
18
+ &.ds-drawer--left {
19
+ @apply left-0;
20
+ }
21
+ &.ds-drawer--bg-secondary {
22
+ @apply bg-base-200 border-0;
23
+ @apply shadow-xl !important;
24
+ }
25
+ &.ds-drawer--closed {
26
+ @apply hidden;
27
+ &.ds-drawer--relative-sm {
28
+ @apply hidden sm:flex;
29
+ }
30
+ &.ds-drawer--relative-md {
31
+ @apply hidden md:flex;
32
+ }
33
+ &.ds-drawer--relative-lg {
34
+ @apply hidden lg:flex;
35
+ }
36
36
  }
37
37
  }
38
38
  .ds-drawer__heading {
@@ -45,6 +45,27 @@
45
45
  /* overrides */
46
46
 
47
47
  .ds-drawer {
48
+ &.ds-drawer--relative-sm {
49
+ .ds-drawer__heading {
50
+ > .ds-close-btn {
51
+ @apply sm:hidden;
52
+ }
53
+ }
54
+ }
55
+ &.ds-drawer--relative-md {
56
+ .ds-drawer__heading {
57
+ > .ds-close-btn {
58
+ @apply md:hidden;
59
+ }
60
+ }
61
+ }
62
+ &.ds-drawer--relative-lg {
63
+ .ds-drawer__heading {
64
+ > .ds-close-btn {
65
+ @apply lg:hidden;
66
+ }
67
+ }
68
+ }
48
69
  > .ds-container {
49
70
  @apply p-0;
50
71
  }
@@ -58,25 +79,3 @@
58
79
  @apply m-0;
59
80
  }
60
81
  }
61
- .ds-drawer--relative-sm {
62
- .ds-drawer__heading {
63
- >.ds-close-btn {
64
- @apply sm:hidden;
65
- }
66
- }
67
- }
68
- .ds-drawer--relative-md {
69
- .ds-drawer__heading {
70
- >.ds-close-btn {
71
- @apply md:hidden;
72
- }
73
- }
74
- }
75
- .ds-drawer--relative-lg {
76
- .ds-drawer__heading {
77
- >.ds-close-btn {
78
- @apply lg:hidden;
79
- }
80
- }
81
- }
82
-
@@ -30,33 +30,39 @@
30
30
  @apply p-2;
31
31
  }
32
32
  }
33
- .ds-dropdown__button {
34
- @apply w-fit print:text-base-content;
35
- &::marker {
36
- font-size: 0px;
37
- }
33
+ }
34
+ .ds-dropdown__button {
35
+ @apply w-fit print:text-base-content;
36
+ &::marker {
37
+ font-size: 0;
38
38
  }
39
- .ds-dropdown__button.ds-link + .ds-dropdown__content {
40
- @apply mt-4 print:text-base-content;
39
+ &::-webkit-details-marker {
40
+ display: none;
41
41
  }
42
- .ds-btn-group .ds-btn + .ds-dropdown__content {
43
- @apply mt-4;
42
+ }
43
+ .ds-dropdown__button.ds-link + .ds-dropdown__content {
44
+ @apply mt-4 print:text-base-content;
45
+ }
46
+ .ds-btn-group .ds-btn + .ds-dropdown__content {
47
+ @apply mt-4;
48
+ }
49
+ .ds-dropdown__content {
50
+ @apply border border-base-400 p-4 bg-base-100 border-t-0
51
+ max-w-xs w-max min-w-full absolute transition z-3 mr-4 -mt-4;
52
+ -webkit-box-box-shadow:
53
+ 0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
54
+ 0 -2px 0 var(--color-base-500);
55
+ box-shadow:
56
+ 0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
57
+ 0 -2px 0 var(--color-base-500);
58
+ &.ds-dropdown__content--full-width {
59
+ @apply min-w-full;
44
60
  }
45
- .ds-dropdown__content {
46
- @apply border border-base-400 p-4 bg-base-100 border-t-0
47
- max-w-xs w-max min-w-full absolute transition z-3 mr-4 -mt-4;
48
- -webkit-box-box-shadow:
49
- 0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
50
- 0 -2px 0 var(--color-base-500);
51
- box-shadow:
52
- 0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
53
- 0 -2px 0 var(--color-base-500);
54
- *:last-child {
55
- @apply mb-0;
56
- }
61
+ &.ds-dropdown__content--scrollable {
62
+ @apply overflow-y-auto max-h-96;
57
63
  }
58
- .ds-dropdown__content--full-width {
59
- @apply min-w-full;
64
+ *:last-child {
65
+ @apply mb-0;
60
66
  }
61
67
  }
62
68
 
@@ -64,11 +70,6 @@
64
70
 
65
71
  .ds-dropdown {
66
72
  &[open] {
67
- .ds-dropdown__button--chevron {
68
- .ds-svg-icon--chevron {
69
- @apply transform -rotate-180;
70
- }
71
- }
72
73
  .ds-dropdown__button {
73
74
  &.ds-btn-primary {
74
75
  background-color: var(--btn-primary-background-color-hover);
@@ -82,21 +83,36 @@
82
83
  background-color: var(--btn-warning-background-color-hover);
83
84
  color: var(--btn-warning-color-hover);
84
85
  }
86
+ &.ds-dropdown__button--chevron {
87
+ .ds-svg-icon--chevron {
88
+ @apply transform -rotate-180;
89
+ }
90
+ }
85
91
  }
86
92
  }
87
- .ds-dropdown__button--chevron {
88
- .ds-svg-icon--chevron {
89
- @apply transition duration-300;
93
+ &.ds-dropdown--dense,
94
+ .ds-dense & {
95
+ .ds-dropdown__content {
96
+ .ds-section-break {
97
+ @apply -mx-2 w-auto;
98
+ }
99
+ > .ds-nav__list {
100
+ @apply w-auto -mx-2 flex-col;
101
+ }
90
102
  }
91
103
  }
92
104
  .ds-dropdown__button {
93
- .ds-svg-icon {
94
- @apply w-5 h-6 md:h-8;
95
- @apply print:hidden;
96
- }
97
105
  &.ds-link {
98
106
  @apply inline-flex gap-1 items-center;
99
107
  }
108
+ &.ds-dropdown__button--chevron {
109
+ .ds-svg-icon--chevron {
110
+ @apply transition duration-300;
111
+ }
112
+ }
113
+ .ds-svg-icon {
114
+ @apply w-5 h-6 md:h-8 min-w-4 print:hidden;
115
+ }
100
116
  }
101
117
  .ds-dropdown__content {
102
118
  .ds-field {
@@ -107,6 +123,12 @@
107
123
  }
108
124
  > .ds-nav__list {
109
125
  @apply w-auto -mx-4 flex-col;
126
+ &:nth-child(1) {
127
+ @apply -mt-4;
128
+ }
129
+ &:last-child {
130
+ @apply -mb-4 !important;
131
+ }
110
132
  .ds-nav__list-item {
111
133
  @apply border-b border-base-300 py-2 px-4;
112
134
  &:last-child {
@@ -118,15 +140,4 @@
118
140
  }
119
141
  }
120
142
  }
121
- &.ds-dropdown--dense,
122
- .ds-dense & {
123
- .ds-dropdown__content {
124
- .ds-section-break {
125
- @apply -mx-2 w-auto;
126
- }
127
- > .ds-nav__list {
128
- @apply w-auto -mx-2 flex-col;
129
- }
130
- }
131
- }
132
143
  }
@@ -1,7 +1,7 @@
1
1
  .ds-floating-btn {
2
2
  @apply absolute bottom-4;
3
3
  @apply p-4 rounded-full border-0 !important;
4
- box-shadow: 0px 2px 8px rgba(var(--color-base-900-rgb), 0.3);
4
+ box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3);
5
5
  &.ds-floating-btn--right {
6
6
  @apply right-4;
7
7
  }
@@ -18,14 +18,14 @@
18
18
  &:hover {
19
19
  @apply border-base-content;
20
20
  }
21
- }
22
- .ds-option-btn--selected {
23
- @apply border-success border-4 text-success p-4 !important;
24
- .ds-option-btn__steps {
25
- @apply opacity-100;
26
- }
27
- .ds-svg-icon {
28
- fill: var(--color-success) !important;
21
+ &.ds-option-btn--selected {
22
+ @apply border-success border-4 text-success p-4 !important;
23
+ .ds-option-btn__steps {
24
+ @apply opacity-100;
25
+ }
26
+ .ds-svg-icon {
27
+ fill: var(--color-success) !important;
28
+ }
29
29
  }
30
30
  }
31
31
  .ds-option-btn__steps {
@@ -33,7 +33,7 @@
33
33
  }
34
34
  .ds-option-btn__step {
35
35
  @apply bg-base-300 w-full;
36
+ &.ds-option-btn__step--active {
37
+ @apply bg-success;
38
+ }
36
39
  }
37
- .ds-option-btn__step--active {
38
- @apply bg-success;
39
- }
@@ -3,8 +3,8 @@
3
3
  text-base-content md:text-lg leading-relaxed text-base;
4
4
  }
5
5
  .ds-labeled-text {
6
- @apply bg-base-300 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-base-800;
6
+ @apply bg-base-300 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-base-800;
7
+ &.ds-labeled-text--active {
8
+ @apply bg-focus;
9
+ }
7
10
  }
8
- .ds-labeled-text--active {
9
- @apply bg-focus;
10
- }
@@ -1,8 +1,6 @@
1
1
  .ds-filter {
2
2
  @apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
3
3
  box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
4
- }
5
- .ds-filter {
6
4
  &.ds-filter--position-relative-always {
7
5
  @apply block relative overflow-visible w-full shadow-none z-2 !important;
8
6
  &.ds-filter--closed {
@@ -27,20 +25,20 @@
27
25
  @apply lg:block;
28
26
  }
29
27
  }
30
- }
31
- .ds-filter--border {
32
- @apply border border-base-300 p-4;
33
- }
34
- .ds-filter--closed {
35
- @apply hidden;
28
+ &.ds-filter--border {
29
+ @apply border border-base-300 p-4;
30
+ }
31
+ &.ds-filter--closed {
32
+ @apply hidden;
33
+ }
36
34
  }
37
35
  .ds-filter__content {
38
36
  @apply flex flex-col gap-8 p-0;
39
37
  }
40
38
  .ds-filter__options--horizontal {
41
39
  @apply flex gap-4 flex-col;
42
- align-items: stretch;
43
40
  @apply md:flex-row md:flex-wrap;
41
+ align-items: stretch;
44
42
  }
45
43
  @media (min-width: 768px) {
46
44
  .ds-filter__options--horizontal {
@@ -63,10 +61,7 @@
63
61
  }
64
62
  .ds-input__search-btn {
65
63
  @apply shadow-none !important;
66
- @apply border-b-2 border-base-content rounded-none
67
- px-4 py-2 w-min m-0 ml-3
68
- flex gap-2
69
- hover:bg-success-hover active:bg-success-hover hover:no-underline;
64
+ @apply px-4 py-2 w-min m-0 ml-3 flex gap-2;
70
65
  }
71
66
  .ds-search {
72
67
  @apply flex w-full max-w-3xl;
@@ -127,8 +122,8 @@
127
122
  }
128
123
  .ds-input__search-btn {
129
124
  .ds-svg-icon--search {
130
- fill: var(--color-white);
131
125
  @apply w-7 h-7;
126
+ fill: var(--color-white);
132
127
  }
133
128
  }
134
129
  .ds-results__action-bar {
@@ -1,21 +1,24 @@
1
1
  .ds-footer {
2
- @apply border-0 border-solid font-normal text-base py-4 md:py-8
3
- border-t-4 border-tertiary text-base-800 bg-base-200 w-full
2
+ border: var(--footer-border);
3
+ border-width: var(--footer-border-width);
4
+ background-color: var(--footer-background-color);
5
+ color: var(--footer-color);
6
+ @apply font-normal text-base py-4 md:py-8 w-full
4
7
  print:py-2 print:bg-white print:border-t-2;
5
8
  }
6
9
  .ds-footer__info {
7
- @apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-center md:justify-between box-border ;
10
+ @apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-center md:justify-between box-border;
8
11
  }
9
12
  .ds-footer__info-section {
10
13
  @apply mx-2 md:mx-4 mb-6 print:mb-4;
11
- }
12
- .ds-footer__info-section--grow {
13
- @apply flex flex-grow;
14
+ &.ds-footer__info-section--grow {
15
+ @apply flex flex-grow;
16
+ }
14
17
  }
15
18
  .ds-footer__content {
16
19
  @apply w-full;
17
20
  }
18
- .ds-footer__content--logos {
21
+ .ds-footer__content__logos {
19
22
  @apply flex flex-wrap items-center mb-6 md:mb-8;
20
23
  }
21
24
  .ds-footer__logo {
@@ -27,9 +30,9 @@
27
30
  }
28
31
  .ds-footer__government-logo-inverted {
29
32
  @apply max-w-full h-auto w-52 min-w-52 hidden;
30
-
31
33
  }
32
- .ds-footer__logo, .ds-footer__government-logo {
34
+ .ds-footer__logo,
35
+ .ds-footer__government-logo {
33
36
  @apply max-w-full h-auto w-52 min-w-52 block;
34
37
  }
35
38
  .ds-footer__copyright {
@@ -40,23 +43,28 @@
40
43
  }
41
44
  }
42
45
  .ds-footer__link {
43
- @apply underline ;
46
+ text-decoration: var(--footer__link-text-decoration);
47
+
44
48
  &:hover {
49
+ text-decoration: var(--footer__link-text-decoration-hover);
45
50
  text-decoration-thickness: 2px;
46
- color: var(--color-base-800);
51
+ color:var(--footer__link-color-hover);
47
52
  }
48
53
  &:focus {
54
+ color:var(--footer__link-color-focus);
49
55
  background-color: var(--color-focus) !important;
50
- box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
51
- outline: none;
56
+ box-shadow:
57
+ 0 -2px var(--color-focus),
58
+ 0 4px var(--color-base-content);
59
+ outline: none;
52
60
  text-decoration: none;
53
61
  }
54
62
  }
55
63
  .ds-footer__navigation {
56
- @apply flex flex-wrap print:hidden;
64
+ @apply flex flex-wrap print:hidden;
57
65
  }
58
66
  .ds-footer__navigation-section {
59
- @apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink
67
+ @apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink
60
68
  print:hidden;
61
69
  }
62
70
  @media (min-width: 768px) {
@@ -67,11 +75,11 @@
67
75
  .ds-footer__list {
68
76
  @apply m-0 p-0 list-none gap-x-6 text-sm md:text-base
69
77
  print:hidden;
70
- }
71
- .ds-footer__list--horizontal {
72
- @apply mb-4;
73
- .ds-footer__list-item {
74
- @apply inline-block mr-4 mb-2;
78
+ &.ds-footer__list--horizontal {
79
+ @apply mb-4;
80
+ .ds-footer__list-item {
81
+ @apply inline-block mr-4 mb-2;
82
+ }
75
83
  }
76
84
  }
77
85
  @media (min-width: 768px) {
@@ -79,7 +87,8 @@
79
87
  column-count: 2;
80
88
  }
81
89
  }
82
- .ds-footer__list-item {}
90
+ .ds-footer__list-item {
91
+ }
83
92
  .ds-footer__heading {
84
93
  @apply mb-4 pb-4 border-b border-base-300;
85
94
  }
@@ -91,6 +100,11 @@
91
100
  @apply print:hidden;
92
101
  }
93
102
  .ds-link {
103
+ --link-color:var(--color-footer);
104
+ @apply print:text-base-content;
105
+ }
106
+ .ds-body {
107
+ --body-color:var(--color-footer);
94
108
  @apply print:text-base-content;
95
109
  }
96
110
  }
@@ -1,6 +1,11 @@
1
- .ds-form {}
1
+ .ds-form {
2
+ }
2
3
  .ds-field {
3
4
  @apply mb-8 md:mb-10;
5
+
6
+ &.ds-field--error {
7
+ @apply border-l-5 border-error px-0 pl-4;
8
+ }
4
9
  .ds-fieldset {
5
10
  > .ds-field:last-child,
6
11
  > .ds-btn:last-child {
@@ -25,6 +30,12 @@
25
30
  line-height: var(--label-line-height);
26
31
  letter-spacing: var(--label-letter-spacing);
27
32
  }
33
+ .ds-input {
34
+ border-radius: var(--input-border-radius);
35
+ }
36
+ .ds-textarea {
37
+ border-radius: var(--textarea-border-radius);
38
+ }
28
39
  .ds-input,
29
40
  .ds-select,
30
41
  .ds-textarea {
@@ -33,18 +44,19 @@
33
44
  &:focus {
34
45
  outline: 4px solid var(--color-focus);
35
46
  outline-offset: 0;
36
- -webkit-box-shadow: inset 0 0 0 2px;
37
47
  box-shadow: inset 0 0 0 2px;
38
48
  }
39
49
  }
40
- .ds-input--dense,.ds-dense .ds-input ,
41
- .ds-textarea--dense, .ds-dense .ds-textarea ,
42
- .ds-select--dense, .ds-dense .ds-select,
43
- .ds-date-input--dense .ds-input, .ds-dense .ds-date-input .ds-input
44
- {
50
+ .ds-input--dense,
51
+ .ds-dense .ds-input,
52
+ .ds-textarea--dense,
53
+ .ds-dense .ds-textarea,
54
+ .ds-select--dense,
55
+ .ds-dense .ds-select,
56
+ .ds-date-input--dense .ds-input,
57
+ .ds-dense .ds-date-input .ds-input {
45
58
  @apply p-1;
46
59
  &:focus {
47
- -webkit-box-shadow: inset 0 0 0 1px;
48
60
  box-shadow: inset 0 0 0 1px;
49
61
  }
50
62
  }
@@ -59,7 +71,8 @@
59
71
  }
60
72
  .ds-date-input {
61
73
  @apply flex flex-wrap gap-y-2;
62
- &.ds-date-input--dense, .ds-dense & {
74
+ &.ds-date-input--dense,
75
+ .ds-dense & {
63
76
  .ds-date-input__item {
64
77
  @apply mr-2;
65
78
  }
@@ -69,9 +82,11 @@
69
82
  @apply flex flex-wrap gap-y-2;
70
83
  }
71
84
  .ds-select {
85
+ border-radius: var(--select-border-radius);
72
86
  @apply w-auto max-w-full;
73
87
  }
74
- .ds-select__option {}
88
+ .ds-select__option {
89
+ }
75
90
  .ds-input--width-20-char {
76
91
  max-width: 41ex;
77
92
  }
@@ -91,8 +106,8 @@
91
106
  max-width: 5.4ex;
92
107
  }
93
108
  .ds-single-character-input__item {
94
- max-width: 4.4ex;
95
109
  @apply text-center px-0 mr-3;
110
+ max-width: 4.4ex;
96
111
  }
97
112
  .ds-date-input__item {
98
113
  @apply mr-4;
@@ -127,10 +142,6 @@
127
142
  }
128
143
 
129
144
  /* error handling */
130
-
131
- .ds-field--error {
132
- @apply border-l-5 border-error px-0 pl-4;
133
- }
134
145
  .ds-error-message {
135
146
  @apply md:text-lg text-base block mb-4 text-error font-semibold;
136
147
  }
@@ -139,7 +150,6 @@
139
150
  &:focus {
140
151
  outline: 4px solid var(--color-focus);
141
152
  outline-offset: 0;
142
- -webkit-box-shadow: inset 0 0 0 1px var(--color-error);
143
153
  box-shadow: inset 0 0 0 1px var(--color-error);
144
154
  }
145
155
  }
@@ -151,10 +161,10 @@
151
161
  .ds-select:disabled,
152
162
  .ds-checkboxes__input:disabled,
153
163
  .ds-checkboxes__input:disabled::before,
154
- .ds-checkboxes__input:disabled:checked:before,
164
+ .ds-checkboxes__input:disabled:checked::before,
155
165
  .ds-radios__input:disabled,
156
166
  .ds-radios__input:disabled::before,
157
- .ds-radios__input:disabled:checked:before {
167
+ .ds-radios__input:disabled:checked::before {
158
168
  @apply bg-base-300 cursor-not-allowed;
159
169
  }
160
170
  .ds-input:disabled,
@@ -163,8 +173,8 @@
163
173
  .ds-radios__input:disabled::before {
164
174
  @apply border-base-700 text-base-800;
165
175
  }
166
- .ds-checkboxes__input:disabled:checked:after,
167
- .ds-radios__input:disabled:checked:after {
176
+ .ds-checkboxes__input:disabled:checked::after,
177
+ .ds-radios__input:disabled:checked::after {
168
178
  @apply opacity-40;
169
179
  }
170
180
  .ds-radios__label--disabled,
@@ -178,9 +188,6 @@
178
188
  /* overrides */
179
189
 
180
190
  .ds-form {
181
- .ds-body {
182
- @apply mb-4;
183
- }
184
191
  &.ds-grid {
185
192
  @apply grid gap-4;
186
193
  .ds-fieldset {
@@ -193,6 +200,9 @@
193
200
  @apply col-span-12;
194
201
  }
195
202
  }
203
+ .ds-body {
204
+ @apply mb-4;
205
+ }
196
206
  }
197
207
  .ds-label {
198
208
  .ds-heading-xs,
@@ -1,4 +1,4 @@
1
1
  .ds-full-page-background {
2
2
  @apply flex justify-center items-center content-center bg-opacity-50 bg-base-1000
3
3
  fixed z-10 left-0 top-0 w-full h-full;
4
- }
4
+ }