@digigov/css 1.3.0-dcbd7ded → 2.0.0-0edebf87
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/defaultTheme/accordion.json +8 -0
- package/defaultTheme/brandConfig.json +10 -0
- package/defaultTheme/button.json +9 -0
- package/defaultTheme/card.json +11 -0
- package/defaultTheme/form.json +15 -0
- package/defaultTheme/globals.json +11 -1
- package/defaultTheme/index.js +1 -1
- package/defaultTheme/layout.json +55 -0
- package/defaultTheme/misc.json +20 -0
- package/defaultTheme/panel.json +5 -0
- package/defaultTheme/typography.json +8 -8
- package/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +8 -4
- package/src/base/base.css +1 -1
- package/src/base/index.css +5 -5
- package/src/components/accordion.css +56 -53
- package/src/components/admin-header.css +6 -5
- package/src/components/admin-layout.css +10 -17
- package/src/components/autocomplete.css +89 -46
- package/src/components/back-to-top.css +3 -4
- package/src/components/bottom-info.css +2 -1
- package/src/components/breadcrumbs.css +8 -6
- package/src/components/button.css +49 -48
- package/src/components/card.css +56 -48
- package/src/components/checkboxes.css +20 -23
- package/src/components/chip.css +28 -29
- package/src/components/components.css +2 -2
- package/src/components/copy-to-clipboard.css +27 -26
- package/src/components/details.css +11 -9
- package/src/components/dev-theme.css +2 -3
- package/src/components/drawer.css +46 -47
- package/src/components/dropdown.css +57 -46
- package/src/components/experimental.css +12 -12
- package/src/components/fillable.css +4 -4
- package/src/components/filter.css +9 -14
- package/src/components/footer.css +35 -21
- package/src/components/form.css +33 -23
- package/src/components/full-page-background.css +1 -1
- package/src/components/header.css +40 -35
- package/src/components/hidden.css +6 -6
- package/src/components/index.css +47 -47
- package/src/components/kitchensink.css +33 -33
- package/src/components/layout.css +34 -36
- package/src/components/loader.css +28 -28
- package/src/components/masthead.css +56 -55
- package/src/components/misc.css +37 -15
- package/src/components/modal.css +21 -14
- package/src/components/nav.css +69 -65
- package/src/components/notification-banner.css +18 -16
- package/src/components/pagination.css +29 -30
- package/src/components/panel.css +9 -8
- package/src/components/phase-banner.css +5 -5
- package/src/components/radios.css +24 -21
- package/src/components/skeleton.css +85 -0
- package/src/components/skiplink.css +2 -2
- package/src/components/stack.css +63 -63
- package/src/components/stepnav.css +33 -29
- package/src/components/summary-list.css +25 -15
- package/src/components/svg-icons.css +78 -74
- package/src/components/table.css +159 -178
- package/src/components/tabs.css +40 -38
- package/src/components/task-list.css +18 -18
- package/src/components/timeline.css +4 -3
- package/src/components/typography.css +93 -102
- package/src/components/warning-text.css +7 -7
- package/src/pages/index.js +1 -1
- package/src/utilities/index.css +1234 -164
- package/src/utilities/utilities.css +451 -42
- package/tailwind.config.js +1 -0
- package/defaultTheme/footer.json +0 -8
- package/src/pages/admin-filtering-data.js +0 -160
- package/src/pages/admin.js +0 -61
- package/src/pages/dropdown.js +0 -249
- package/src/pages/form.js +0 -400
- package/src/pages/pagination.js +0 -124
- package/src/pages/table.js +0 -308
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
.ds-footer {
|
|
2
|
-
|
|
3
|
-
border-
|
|
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
|
-
|
|
13
|
-
|
|
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-
|
|
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,
|
|
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
|
-
|
|
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:
|
|
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:
|
|
51
|
-
|
|
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
|
-
|
|
64
|
+
@apply flex flex-wrap print:hidden;
|
|
57
65
|
}
|
|
58
66
|
.ds-footer__navigation-section {
|
|
59
|
-
|
|
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
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
}
|
package/src/components/form.css
CHANGED
|
@@ -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
|
|
41
|
-
.ds-
|
|
42
|
-
.ds-
|
|
43
|
-
.ds-
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
167
|
-
.ds-radios__input:disabled:checked
|
|
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,19 +1,24 @@
|
|
|
1
1
|
.ds-header {
|
|
2
|
-
@apply relative
|
|
3
|
-
|
|
2
|
+
@apply relative border-b-8 print:border-b-2 border-tertiary print:bg-white;
|
|
3
|
+
background: var(--header-background);
|
|
4
|
+
border: var(--header-border);
|
|
5
|
+
border-width: var(--header-border-width);
|
|
4
6
|
}
|
|
5
7
|
.ds-header__content {
|
|
6
|
-
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
|
|
8
|
+
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center flex-wrap sm:flex-nowrap
|
|
7
9
|
print:px-0 gap-3;
|
|
8
10
|
}
|
|
9
11
|
.ds-header__section {
|
|
10
12
|
@apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
|
|
11
13
|
print:gap-1;
|
|
14
|
+
&:last-child:not(:first-child) {
|
|
15
|
+
@apply flex-1 justify-end sm:flex-none sm:justify-start;
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
.ds-header__logo {
|
|
19
|
+
@apply h-12 print:hidden;
|
|
14
20
|
print-color-adjust: exact !important;
|
|
15
21
|
-webkit-print-color-adjust: exact !important;
|
|
16
|
-
@apply h-12 print:hidden;
|
|
17
22
|
}
|
|
18
23
|
.ds-header__logo-inverted {
|
|
19
24
|
@apply h-12 hidden print:block;
|
|
@@ -22,18 +27,18 @@
|
|
|
22
27
|
@apply h-10 print:hidden;
|
|
23
28
|
}
|
|
24
29
|
.ds-header__link:focus {
|
|
25
|
-
box-shadow:
|
|
26
|
-
-webkit-box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
27
|
-
-moz-box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
30
|
+
box-shadow: 0 0 0 4px var(--color-focus);
|
|
28
31
|
outline: none;
|
|
29
32
|
text-decoration: none;
|
|
30
33
|
}
|
|
31
34
|
.ds-header__title {
|
|
32
|
-
@apply
|
|
35
|
+
@apply font-bold text-2xl leading-10 tracking-wide no-underline
|
|
33
36
|
w-auto align-middle hover:no-underline
|
|
34
37
|
print:text-base-content;
|
|
38
|
+
color: var(--header__title-color);
|
|
35
39
|
&:hover {
|
|
36
|
-
@apply text-white;
|
|
40
|
+
/* @apply text-white; */
|
|
41
|
+
color: var(--header__title-color-hover);
|
|
37
42
|
}
|
|
38
43
|
&:focus {
|
|
39
44
|
text-decoration: none;
|
|
@@ -51,8 +56,22 @@
|
|
|
51
56
|
.ds-header__content,
|
|
52
57
|
.ds-header__section {
|
|
53
58
|
> .ds-link,
|
|
54
|
-
> .ds-dropdown .ds-dropdown__button.ds-link
|
|
55
|
-
@apply
|
|
59
|
+
> .ds-dropdown .ds-dropdown__button.ds-link {
|
|
60
|
+
@apply focus:text-link-active print:text-base-content;
|
|
61
|
+
color: var(--color-header-text);
|
|
62
|
+
}
|
|
63
|
+
> .ds-skeleton {
|
|
64
|
+
@apply bg-primary-100 w-80 max-w-xs;
|
|
65
|
+
&.ds-skeleton--animate {
|
|
66
|
+
&::after {
|
|
67
|
+
background: linear-gradient(
|
|
68
|
+
90deg,
|
|
69
|
+
transparent,
|
|
70
|
+
rgba(255, 255, 255, 0.05),
|
|
71
|
+
transparent
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
56
75
|
}
|
|
57
76
|
}
|
|
58
77
|
.ds-dropdown {
|
|
@@ -62,12 +81,9 @@
|
|
|
62
81
|
@apply sm:w-max;
|
|
63
82
|
}
|
|
64
83
|
.ds-link {
|
|
65
|
-
.ds-svg-icon {
|
|
66
|
-
fill: var(--color-white);
|
|
67
|
-
}
|
|
68
84
|
&:hover {
|
|
69
85
|
.ds-svg-icon {
|
|
70
|
-
fill: var(--color-
|
|
86
|
+
fill: var(--color-header-text-hover);
|
|
71
87
|
}
|
|
72
88
|
}
|
|
73
89
|
&:focus {
|
|
@@ -75,24 +91,13 @@
|
|
|
75
91
|
fill: var(--color-link-active);
|
|
76
92
|
}
|
|
77
93
|
}
|
|
78
|
-
}
|
|
79
|
-
.ds-phase-banner__text {
|
|
80
|
-
@apply text-white print:text-base-content;
|
|
81
|
-
}
|
|
82
|
-
.ds-link {
|
|
83
94
|
.ds-svg-icon {
|
|
84
95
|
fill: var(--color-white);
|
|
85
96
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
&:focus {
|
|
92
|
-
.ds-svg-icon {
|
|
93
|
-
fill: var(--color-link-active);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
97
|
+
}
|
|
98
|
+
.ds-phase-banner__text {
|
|
99
|
+
@apply print:text-base-content;
|
|
100
|
+
color: var(--color-header-text);
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
103
|
.ds-header__section {
|
|
@@ -104,13 +109,13 @@
|
|
|
104
109
|
.ds-header__content,
|
|
105
110
|
.ds-header__section {
|
|
106
111
|
> .ds-svg-icon--burger {
|
|
107
|
-
fill: var(--color-white);
|
|
108
112
|
@apply float-right focus:bg-focus;
|
|
113
|
+
fill: var(--color-header-text);
|
|
109
114
|
}
|
|
110
115
|
> .ds-close-btn {
|
|
111
116
|
@apply sm:hidden;
|
|
112
117
|
.ds-svg-icon--close {
|
|
113
|
-
fill: var(--color-
|
|
118
|
+
fill: var(--color-header-text) !important;
|
|
114
119
|
}
|
|
115
120
|
}
|
|
116
121
|
> .ds-nav__list {
|
|
@@ -118,16 +123,16 @@
|
|
|
118
123
|
> .ds-nav__list-item-link,
|
|
119
124
|
> .ds-nav__list-item-btn {
|
|
120
125
|
&:not(:focus) {
|
|
121
|
-
|
|
126
|
+
color: var(--color-header-text);
|
|
122
127
|
}
|
|
123
128
|
}
|
|
124
129
|
> .ds-nav__list-item-link--active,
|
|
125
130
|
> .ds-nav__list-item-btn--active {
|
|
126
131
|
&:not(:focus) {
|
|
127
|
-
|
|
132
|
+
color: var(--color-header-text) !important;
|
|
128
133
|
}
|
|
129
134
|
.ds-svg-icon {
|
|
130
|
-
fill: var(--color-
|
|
135
|
+
fill: var(--color-header-text);
|
|
131
136
|
}
|
|
132
137
|
}
|
|
133
138
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.ds-hidden {
|
|
2
2
|
@apply hidden;
|
|
3
3
|
}
|
|
4
|
-
.ds-hidden-xs
|
|
4
|
+
.ds-hidden-xs-up {
|
|
5
5
|
@apply xs:hidden;
|
|
6
6
|
}
|
|
7
|
-
.ds-hidden-sm
|
|
7
|
+
.ds-hidden-sm-up {
|
|
8
8
|
@apply sm:hidden;
|
|
9
9
|
}
|
|
10
|
-
.ds-hidden-md
|
|
10
|
+
.ds-hidden-md-up {
|
|
11
11
|
@apply md:hidden;
|
|
12
12
|
}
|
|
13
|
-
.ds-hidden-lg
|
|
13
|
+
.ds-hidden-lg-up {
|
|
14
14
|
@apply lg:hidden;
|
|
15
15
|
}
|
|
16
|
-
.ds-hidden-xl
|
|
16
|
+
.ds-hidden-xl-up {
|
|
17
17
|
@apply xl:hidden;
|
|
18
18
|
}
|
|
19
19
|
.ds-hidden-xs {
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
}
|
|
31
31
|
.ds-hidden-xl {
|
|
32
32
|
@apply xlOnly:hidden;
|
|
33
|
-
}
|
|
33
|
+
}
|
package/src/components/index.css
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
7
|
-
@import
|
|
8
|
-
@import
|
|
9
|
-
@import
|
|
10
|
-
@import
|
|
11
|
-
@import
|
|
12
|
-
@import
|
|
13
|
-
@import
|
|
14
|
-
@import
|
|
15
|
-
@import
|
|
16
|
-
@import
|
|
17
|
-
@import
|
|
18
|
-
@import
|
|
19
|
-
@import
|
|
20
|
-
@import
|
|
21
|
-
@import
|
|
22
|
-
@import
|
|
23
|
-
@import
|
|
24
|
-
@import
|
|
25
|
-
@import
|
|
26
|
-
@import
|
|
27
|
-
@import
|
|
28
|
-
@import
|
|
29
|
-
@import
|
|
30
|
-
@import
|
|
31
|
-
@import
|
|
32
|
-
@import
|
|
33
|
-
@import
|
|
34
|
-
@import
|
|
35
|
-
@import
|
|
36
|
-
@import
|
|
37
|
-
@import
|
|
38
|
-
@import
|
|
39
|
-
@import
|
|
40
|
-
@import
|
|
41
|
-
@import
|
|
42
|
-
@import
|
|
43
|
-
@import
|
|
44
|
-
@import
|
|
45
|
-
@import
|
|
46
|
-
@import
|
|
47
|
-
@import
|
|
1
|
+
@import './accordion.css';
|
|
2
|
+
@import './admin-header.css';
|
|
3
|
+
@import './admin-layout.css';
|
|
4
|
+
@import './autocomplete.css';
|
|
5
|
+
@import './back-to-top.css';
|
|
6
|
+
@import './bottom-info.css';
|
|
7
|
+
@import './breadcrumbs.css';
|
|
8
|
+
@import './button.css';
|
|
9
|
+
@import './card.css';
|
|
10
|
+
@import './form.css';
|
|
11
|
+
@import './checkboxes.css';
|
|
12
|
+
@import './chip.css';
|
|
13
|
+
@import './copy-to-clipboard.css';
|
|
14
|
+
@import './details.css';
|
|
15
|
+
@import './dev-theme.css';
|
|
16
|
+
@import './drawer.css';
|
|
17
|
+
@import './dropdown.css';
|
|
18
|
+
@import './fillable.css';
|
|
19
|
+
@import './filter.css';
|
|
20
|
+
@import './footer.css';
|
|
21
|
+
@import './full-page-background.css';
|
|
22
|
+
@import './header.css';
|
|
23
|
+
@import './hidden.css';
|
|
24
|
+
@import './layout.css';
|
|
25
|
+
@import './loader.css';
|
|
26
|
+
@import './masthead.css';
|
|
27
|
+
@import './misc.css';
|
|
28
|
+
@import './modal.css';
|
|
29
|
+
@import './nav.css';
|
|
30
|
+
@import './pagination.css';
|
|
31
|
+
@import './panel.css';
|
|
32
|
+
@import './phase-banner.css';
|
|
33
|
+
@import './radios.css';
|
|
34
|
+
@import './skeleton.css';
|
|
35
|
+
@import './skiplink.css';
|
|
36
|
+
@import './stack.css';
|
|
37
|
+
@import './stepnav.css';
|
|
38
|
+
@import './summary-list.css';
|
|
39
|
+
@import './svg-icons.css';
|
|
40
|
+
@import './table.css';
|
|
41
|
+
@import './tabs.css';
|
|
42
|
+
@import './task-list.css';
|
|
43
|
+
@import './timeline.css';
|
|
44
|
+
@import './typography.css';
|
|
45
|
+
@import './notification-banner.css';
|
|
46
|
+
@import './warning-text.css';
|
|
47
|
+
@import './kitchensink.css';
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
}
|
|
13
13
|
.ds-kitchensink-content {
|
|
14
14
|
@apply max-w-2xl w-2xl;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
&.ds-kitchensink-content--wide {
|
|
16
|
+
@apply max-w-4xl w-4xl;
|
|
17
|
+
}
|
|
18
18
|
}
|
|
19
19
|
.ds-kitchensink-content__info {
|
|
20
20
|
@apply max-w-2xl;
|
|
@@ -22,43 +22,43 @@
|
|
|
22
22
|
.ds-kitchensink-content__tags {
|
|
23
23
|
@apply flex flex-nowrap gap-2 h-16;
|
|
24
24
|
}
|
|
25
|
-
.ds-kitchensink-card {
|
|
26
|
-
border-style: dashed;
|
|
27
|
-
container-type: inline-size;
|
|
28
|
-
|
|
29
|
-
}
|
|
30
25
|
|
|
31
26
|
/* COMPONENTS */
|
|
32
|
-
.ds-kitchensink-card .ds-modal {
|
|
33
|
-
position: inherit;
|
|
34
|
-
}
|
|
35
|
-
.ds-kitchensink-card .ds-modal__body {
|
|
36
|
-
margin: 1rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ds-kitchensink-card .ds-dropdown {
|
|
40
|
-
margin-bottom: 20rem;
|
|
41
|
-
}
|
|
42
|
-
.ds-kitchensink-card .ds-dropdown.ds-dropdown--up {
|
|
43
|
-
margin-top: 20rem;
|
|
44
|
-
margin-bottom: 0rem;
|
|
45
|
-
}
|
|
46
27
|
.ds-kitchensink-card .ds-table__cell .ds-dropdown {
|
|
47
28
|
margin: 0 !important;
|
|
48
29
|
}
|
|
49
|
-
.ds-kitchensink-card
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
.ds-kitchensink-card .ds-drawer {
|
|
30
|
+
.ds-kitchensink-card {
|
|
31
|
+
border-style: dashed;
|
|
32
|
+
container-type: inline-size;
|
|
33
|
+
.ds-layout--full-height {
|
|
54
34
|
min-height: inherit;
|
|
55
|
-
width: 80%;
|
|
56
|
-
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
|
|
57
35
|
}
|
|
58
|
-
.ds-
|
|
59
|
-
|
|
36
|
+
.ds-dropdown.ds-dropdown--up {
|
|
37
|
+
margin-top: 20rem;
|
|
38
|
+
margin-bottom: 0;
|
|
60
39
|
}
|
|
61
|
-
.ds-
|
|
62
|
-
|
|
40
|
+
.ds-dropdown {
|
|
41
|
+
margin-bottom: 20rem;
|
|
42
|
+
}
|
|
43
|
+
.ds-modal__body {
|
|
44
|
+
margin: 1rem;
|
|
45
|
+
}
|
|
46
|
+
.ds-modal {
|
|
47
|
+
position: inherit;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@container (min-width: 400px) {
|
|
51
|
+
.ds-kitchensink-card {
|
|
52
|
+
.ds-close-btn {
|
|
53
|
+
@apply block;
|
|
54
|
+
}
|
|
55
|
+
.ds-drawer {
|
|
56
|
+
min-height: inherit;
|
|
57
|
+
width: 80%;
|
|
58
|
+
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
|
|
59
|
+
&.ds-drawer--closed {
|
|
60
|
+
@apply hidden;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
63
|
}
|
|
64
64
|
}
|