@digigov/css 2.0.0-b4cd6916 → 2.0.0-d0adc9fb
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 +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/index.js +99 -69
- package/package.json +13 -13
- package/postcss.config.js +4 -4
- package/src/base/index.css +1 -0
- package/src/base/index.native.css +0 -0
- package/src/base/postcss.config.js +11 -10
- package/src/base/tailwind.config.js +4 -11
- package/src/components/accordion.css +1 -5
- 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 +6 -7
- 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 +4 -3
- package/src/components/copy-to-clipboard.css +1 -1
- package/src/components/details.common.css +23 -23
- package/src/components/details.native.css +8 -0
- package/src/components/drawer.css +21 -4
- package/src/components/dropdown.common.css +19 -19
- package/src/components/dropdown.native.css +10 -11
- package/src/components/fillable.css +1 -1
- package/src/components/filter.css +74 -25
- package/src/components/footer.css +7 -7
- package/src/components/form.common.css +75 -76
- package/src/components/form.css +1 -1
- package/src/components/form.native.css +102 -53
- package/src/components/header.common.css +32 -33
- package/src/components/header.css +8 -12
- package/src/components/header.native.css +5 -10
- package/src/components/kitchensink.css +2 -2
- package/src/components/layout.common.css +2 -2
- package/src/components/layout.css +1 -1
- package/src/components/layout.native.css +1 -0
- package/src/components/loader.common.css +7 -0
- package/src/components/loader.css +3 -1
- package/src/components/loader.native.css +5 -0
- package/src/components/modal.common.css +3 -4
- package/src/components/modal.css +10 -10
- package/src/components/modal.native.css +5 -5
- package/src/components/nav.common.css +18 -18
- package/src/components/nav.native.css +4 -6
- package/src/components/notification-banner.common.css +2 -2
- package/src/components/notification-banner.css +1 -1
- package/src/components/pagination.css +19 -3
- 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/postcss.config.js +7 -6
- package/src/components/radios.common.css +1 -1
- package/src/components/radios.native.css +2 -3
- package/src/components/stack.common.css +67 -0
- package/src/components/stack.css +23 -21
- package/src/components/stack.native.css +68 -0
- package/src/components/stepnav.css +3 -2
- package/src/components/summary-list.common.css +3 -5
- package/src/components/summary-list.css +3 -3
- 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 +8 -8
- 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 +3 -4
- package/src/components/typography.css +7 -3
- package/src/components/typography.native.css +31 -0
- package/src/components/warning-text.common.css +1 -1
- package/src/components/warning-text.css +1 -4
- 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/postcss.config.js +7 -6
- package/src/utilities/print.css +1 -1
- package/src/utilities/utilities.css +3 -4
- package/tailwind.config.js +102 -106
- package/theming.js +121 -0
- package/defaultTheme/accordion.json +0 -16
- package/defaultTheme/back-to-top.json +0 -27
- package/defaultTheme/brandConfig.json +0 -147
- package/defaultTheme/breadcrumbs.json +0 -8
- package/defaultTheme/button.json +0 -94
- package/defaultTheme/card.json +0 -23
- package/defaultTheme/form.json +0 -132
- package/defaultTheme/globals.json +0 -81
- package/defaultTheme/index.js +0 -27
- package/defaultTheme/layout.json +0 -55
- package/defaultTheme/misc.json +0 -68
- package/defaultTheme/panel.json +0 -48
- package/defaultTheme/phase-banner.json +0 -8
- package/defaultTheme/radios.json +0 -8
- package/defaultTheme/summary-list.json +0 -8
- package/defaultTheme/typography.json +0 -295
- package/themes.plugin.js +0 -148
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.ds-pagination {
|
|
2
|
-
@apply flex flex-wrap items-center justify-items-center justify-between
|
|
2
|
+
@apply flex flex-wrap items-center justify-items-center justify-between
|
|
3
|
+
gap-y-2 md:gap-y-4 gap-x-6 mb-4 md:mb-8;
|
|
3
4
|
&.ds-pagination--sm {
|
|
4
5
|
.ds-pagination__label,
|
|
5
6
|
.ds-pagination__item--current {
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
@apply text-base-content md:leading-normal;
|
|
18
19
|
}
|
|
19
20
|
.ds-pagination__list {
|
|
20
|
-
@apply flex items-center;
|
|
21
|
+
@apply flex items-center flex-wrap;
|
|
21
22
|
}
|
|
22
23
|
.ds-pagination__item {
|
|
23
24
|
@apply inline-block p-2 m-0;
|
|
@@ -32,6 +33,14 @@
|
|
|
32
33
|
@apply font-bold;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
36
|
+
@media (max-width: 639.9px) {
|
|
37
|
+
.ds-pagination__item {
|
|
38
|
+
@apply py-0;
|
|
39
|
+
&.ds-pagination__item--current {
|
|
40
|
+
@apply flex items-center justify-center min-h-12 min-w-12;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
35
44
|
|
|
36
45
|
/* overrides */
|
|
37
46
|
|
|
@@ -69,6 +78,13 @@
|
|
|
69
78
|
}
|
|
70
79
|
}
|
|
71
80
|
.ds-link {
|
|
72
|
-
@apply flex items-center no-underline;
|
|
81
|
+
@apply flex items-center justify-center no-underline;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
@media (max-width: 639.9px) {
|
|
85
|
+
.ds-pagination__item {
|
|
86
|
+
.ds-link {
|
|
87
|
+
@apply min-h-12 min-w-12;
|
|
88
|
+
}
|
|
73
89
|
}
|
|
74
90
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
@tailwind utilities;
|
|
2
2
|
|
|
3
3
|
@layer utilities {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
.util-panel {
|
|
5
|
+
@apply mb-4 p-8 border-5 border-transparent
|
|
6
6
|
print:p-4 print:border-4 print:text-base-content print:bg-white;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
7
|
+
border-radius: var(--panel-border-radius);
|
|
8
|
+
}
|
|
9
|
+
.util-panel-text {
|
|
10
|
+
@apply text-white text-center;
|
|
11
|
+
}
|
|
12
|
+
.util-panel--success {
|
|
13
|
+
@apply bg-success print:border-success;
|
|
14
|
+
}
|
|
15
|
+
.util-panel__title {
|
|
16
|
+
@apply mx-auto mt-0;
|
|
17
|
+
margin-bottom: var(--panel__title-margin-bottom);
|
|
18
|
+
}
|
|
19
|
+
.util-panel__title-text {
|
|
20
|
+
font-size: var(--panel__title-font-size);
|
|
21
|
+
line-height: var(--panel__title-line-height);
|
|
22
|
+
font-weight: var(--panel__title-font-weight);
|
|
23
|
+
letter-spacing: var(--panel__title-letter-spacing);
|
|
24
|
+
}
|
|
25
|
+
.util-panel__body-text {
|
|
26
|
+
font-size: var(--panel__body-font-size);
|
|
27
|
+
line-height: var(--panel__body-line-height);
|
|
28
|
+
letter-spacing: var(--panel__body-letter-spacing);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -13,8 +13,14 @@
|
|
|
13
13
|
@apply util-panel__title;
|
|
14
14
|
}
|
|
15
15
|
.ds-panel__title__text {
|
|
16
|
-
@apply util-panel-text util-panel__title-text
|
|
16
|
+
@apply util-panel-text util-panel__title-text;
|
|
17
|
+
line-height: calc(
|
|
18
|
+
var(--panel__title-line-height) * var(--panel__title-font-size)
|
|
19
|
+
);
|
|
17
20
|
}
|
|
18
21
|
.ds-panel__body__text {
|
|
19
22
|
@apply util-panel-text util-panel__body-text;
|
|
20
|
-
|
|
23
|
+
line-height: calc(
|
|
24
|
+
var(--panel__body-line-height) * var(--panel__body-font-size)
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/** @type {import('postcss-load-config').Config} */
|
|
2
2
|
const config = {
|
|
3
3
|
plugins: [
|
|
4
|
-
require(
|
|
5
|
-
require(
|
|
6
|
-
require(
|
|
7
|
-
require(
|
|
8
|
-
require(
|
|
4
|
+
require('postcss-import'),
|
|
5
|
+
require('tailwindcss/nesting'),
|
|
6
|
+
require('tailwindcss')('./src/components/tailwind.config.js'),
|
|
7
|
+
require('autoprefixer'),
|
|
8
|
+
require('postcss-sort-media-queries'),
|
|
9
|
+
require('cssnano')({
|
|
9
10
|
preset: [
|
|
10
|
-
|
|
11
|
+
'default',
|
|
11
12
|
{
|
|
12
13
|
mergeRules: false,
|
|
13
14
|
},
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
}
|
|
6
6
|
.ds-radios__label {
|
|
7
7
|
@apply pl-14;
|
|
8
|
-
|
|
9
8
|
}
|
|
10
9
|
.ds-radios__input {
|
|
11
10
|
@apply util-radios__input justify-center items-center;
|
|
@@ -20,5 +19,5 @@
|
|
|
20
19
|
.ds-radios__label__text {
|
|
21
20
|
font-size: var(--label-font-size);
|
|
22
21
|
line-height: 2rem;
|
|
23
|
-
letter-spacing:
|
|
24
|
-
}
|
|
22
|
+
letter-spacing: 0;
|
|
23
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@tailwind utilities;
|
|
2
|
+
|
|
3
|
+
@layer utilities {
|
|
4
|
+
.util-stack {
|
|
5
|
+
@apply flex flex-col flex-wrap;
|
|
6
|
+
}
|
|
7
|
+
.util-stack--row {
|
|
8
|
+
@apply flex-row;
|
|
9
|
+
}
|
|
10
|
+
.util-stack--reverse-row {
|
|
11
|
+
@apply flex-row-reverse;
|
|
12
|
+
}
|
|
13
|
+
.util-stack--col-reverse {
|
|
14
|
+
@apply flex-col-reverse;
|
|
15
|
+
}
|
|
16
|
+
.util-stack--nowrap {
|
|
17
|
+
@apply flex-nowrap;
|
|
18
|
+
}
|
|
19
|
+
.util-stack--justify-flex-start {
|
|
20
|
+
@apply justify-start;
|
|
21
|
+
}
|
|
22
|
+
.util-stack--justify-flex-end {
|
|
23
|
+
@apply justify-end;
|
|
24
|
+
}
|
|
25
|
+
.util-stack--justify-center {
|
|
26
|
+
@apply justify-center;
|
|
27
|
+
}
|
|
28
|
+
.util-stack--justify-space-between {
|
|
29
|
+
@apply justify-between;
|
|
30
|
+
}
|
|
31
|
+
.util-stack--justify-space-around {
|
|
32
|
+
@apply justify-around;
|
|
33
|
+
}
|
|
34
|
+
.util-stack--justify-space-evenly {
|
|
35
|
+
@apply justify-evenly;
|
|
36
|
+
}
|
|
37
|
+
.util-stack--align-stretch {
|
|
38
|
+
@apply items-stretch;
|
|
39
|
+
}
|
|
40
|
+
.util-stack--align-flex-start {
|
|
41
|
+
@apply items-start;
|
|
42
|
+
}
|
|
43
|
+
.util-stack--align-flex-end {
|
|
44
|
+
@apply items-end;
|
|
45
|
+
}
|
|
46
|
+
.util-stack--align-center {
|
|
47
|
+
@apply items-center;
|
|
48
|
+
}
|
|
49
|
+
.util-stack--align-baseline {
|
|
50
|
+
@apply items-baseline;
|
|
51
|
+
}
|
|
52
|
+
.util-stack--content-flex-start {
|
|
53
|
+
@apply content-start;
|
|
54
|
+
}
|
|
55
|
+
.util-stack--content-flex-end {
|
|
56
|
+
@apply content-end;
|
|
57
|
+
}
|
|
58
|
+
.util-stack--content-center {
|
|
59
|
+
@apply content-center;
|
|
60
|
+
}
|
|
61
|
+
.util-stack--content-space-between {
|
|
62
|
+
@apply content-between;
|
|
63
|
+
}
|
|
64
|
+
.util-stack--content-space-around {
|
|
65
|
+
@apply content-around;
|
|
66
|
+
}
|
|
67
|
+
}
|
package/src/components/stack.css
CHANGED
|
@@ -1,64 +1,66 @@
|
|
|
1
|
+
@import './stack.common.css';
|
|
2
|
+
|
|
1
3
|
.ds-stack {
|
|
2
|
-
@apply
|
|
4
|
+
@apply util-stack;
|
|
3
5
|
&.ds-stack--row {
|
|
4
|
-
@apply
|
|
6
|
+
@apply util-stack--row;
|
|
5
7
|
}
|
|
6
8
|
&.ds-stack--reverse-row {
|
|
7
|
-
@apply
|
|
9
|
+
@apply util-stack--reverse-row;
|
|
8
10
|
}
|
|
9
11
|
&.ds-stack--col-reverse {
|
|
10
|
-
@apply
|
|
12
|
+
@apply util-stack--col-reverse;
|
|
11
13
|
}
|
|
12
14
|
&.ds-stack--nowrap {
|
|
13
|
-
@apply
|
|
15
|
+
@apply util-stack--nowrap;
|
|
14
16
|
}
|
|
15
17
|
&.ds-stack--justify-flex-start {
|
|
16
|
-
@apply justify-start;
|
|
18
|
+
@apply util-stack--justify-flex-start;
|
|
17
19
|
}
|
|
18
20
|
&.ds-stack--justify-flex-end {
|
|
19
|
-
@apply justify-end;
|
|
21
|
+
@apply util-stack--justify-flex-end;
|
|
20
22
|
}
|
|
21
23
|
&.ds-stack--justify-center {
|
|
22
|
-
@apply justify-center;
|
|
24
|
+
@apply util-stack--justify-center;
|
|
23
25
|
}
|
|
24
26
|
&.ds-stack--justify-space-between {
|
|
25
|
-
@apply justify-between;
|
|
27
|
+
@apply util-stack--justify-space-between;
|
|
26
28
|
}
|
|
27
29
|
&.ds-stack--justify-space-around {
|
|
28
|
-
@apply justify-around;
|
|
30
|
+
@apply util-stack--justify-space-around;
|
|
29
31
|
}
|
|
30
32
|
&.ds-stack--justify-space-evenly {
|
|
31
|
-
@apply justify-evenly;
|
|
33
|
+
@apply util-stack--justify-space-evenly;
|
|
32
34
|
}
|
|
33
35
|
&.ds-stack--align-stretch {
|
|
34
|
-
@apply
|
|
36
|
+
@apply util-stack--align-stretch;
|
|
35
37
|
}
|
|
36
38
|
&.ds-stack--align-flex-start {
|
|
37
|
-
@apply
|
|
39
|
+
@apply util-stack--align-flex-start;
|
|
38
40
|
}
|
|
39
41
|
&.ds-stack--align-flex-end {
|
|
40
|
-
@apply
|
|
42
|
+
@apply util-stack--align-flex-end;
|
|
41
43
|
}
|
|
42
44
|
&.ds-stack--align-center {
|
|
43
|
-
@apply
|
|
45
|
+
@apply util-stack--align-center;
|
|
44
46
|
}
|
|
45
47
|
&.ds-stack--align-baseline {
|
|
46
|
-
@apply
|
|
48
|
+
@apply util-stack--align-baseline;
|
|
47
49
|
}
|
|
48
50
|
&.ds-stack--content-flex-start {
|
|
49
|
-
@apply content-start;
|
|
51
|
+
@apply util-stack--content-flex-start;
|
|
50
52
|
}
|
|
51
53
|
&.ds-stack--content-flex-end {
|
|
52
|
-
@apply content-end;
|
|
54
|
+
@apply util-stack--content-flex-end;
|
|
53
55
|
}
|
|
54
56
|
&.ds-stack--content-center {
|
|
55
|
-
@apply content-center;
|
|
57
|
+
@apply util-stack--content-center;
|
|
56
58
|
}
|
|
57
59
|
&.ds-stack--content-space-between {
|
|
58
|
-
@apply content-between;
|
|
60
|
+
@apply util-stack--content-space-between;
|
|
59
61
|
}
|
|
60
62
|
&.ds-stack--content-space-around {
|
|
61
|
-
@apply content-around;
|
|
63
|
+
@apply util-stack--content-space-around;
|
|
62
64
|
}
|
|
63
65
|
&.ds-stack--content-space-evenly {
|
|
64
66
|
@apply content-evenly;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@import './stack.common.css';
|
|
2
|
+
|
|
3
|
+
.ds-stack {
|
|
4
|
+
@apply util-stack;
|
|
5
|
+
}
|
|
6
|
+
.ds-stack--row {
|
|
7
|
+
@apply util-stack--row;
|
|
8
|
+
}
|
|
9
|
+
.ds-stack--reverse-row {
|
|
10
|
+
@apply util-stack--reverse-row;
|
|
11
|
+
}
|
|
12
|
+
.ds-stack--col-reverse {
|
|
13
|
+
@apply util-stack--col-reverse;
|
|
14
|
+
}
|
|
15
|
+
.ds-stack--nowrap {
|
|
16
|
+
@apply util-stack--nowrap;
|
|
17
|
+
}
|
|
18
|
+
.ds-stack--justify-flex-start {
|
|
19
|
+
@apply util-stack--justify-flex-start;
|
|
20
|
+
}
|
|
21
|
+
.ds-stack--justify-flex-end {
|
|
22
|
+
@apply util-stack--justify-flex-end;
|
|
23
|
+
}
|
|
24
|
+
.ds-stack--justify-center {
|
|
25
|
+
@apply util-stack--justify-center;
|
|
26
|
+
}
|
|
27
|
+
.ds-stack--justify-space-between {
|
|
28
|
+
@apply util-stack--justify-space-between;
|
|
29
|
+
}
|
|
30
|
+
.ds-stack--justify-space-around {
|
|
31
|
+
@apply util-stack--justify-space-around;
|
|
32
|
+
}
|
|
33
|
+
.ds-stack--justify-space-evenly {
|
|
34
|
+
@apply util-stack--justify-space-evenly;
|
|
35
|
+
}
|
|
36
|
+
.ds-stack--align-stretch {
|
|
37
|
+
@apply util-stack--align-stretch;
|
|
38
|
+
}
|
|
39
|
+
.ds-stack--align-flex-start {
|
|
40
|
+
@apply util-stack--align-flex-start;
|
|
41
|
+
}
|
|
42
|
+
.ds-stack--align-flex-end {
|
|
43
|
+
@apply util-stack--align-flex-end;
|
|
44
|
+
}
|
|
45
|
+
.ds-stack--align-center {
|
|
46
|
+
@apply util-stack--align-center;
|
|
47
|
+
}
|
|
48
|
+
.ds-stack--align-baseline {
|
|
49
|
+
@apply util-stack--align-baseline;
|
|
50
|
+
}
|
|
51
|
+
.ds-stack--content-flex-start {
|
|
52
|
+
@apply util-stack--content-flex-start;
|
|
53
|
+
}
|
|
54
|
+
.ds-stack--content-flex-end {
|
|
55
|
+
@apply util-stack--content-flex-end;
|
|
56
|
+
}
|
|
57
|
+
.ds-stack--content-center {
|
|
58
|
+
@apply util-stack--content-center;
|
|
59
|
+
}
|
|
60
|
+
.ds-stack--content-space-between {
|
|
61
|
+
@apply util-stack--content-space-between;
|
|
62
|
+
}
|
|
63
|
+
.ds-stack--content-space-around {
|
|
64
|
+
@apply util-stack--content-space-around;
|
|
65
|
+
}
|
|
66
|
+
.ds-stack--content-space-evenly {
|
|
67
|
+
justify-content: 'space-evenly';
|
|
68
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.ds-step-nav {
|
|
2
|
-
@apply mb-
|
|
2
|
+
@apply mb-8 md:mb-12;
|
|
3
3
|
&.ds-step-nav--dense,
|
|
4
4
|
.ds-dense & {
|
|
5
|
+
@apply mb-4 md:mb-8;
|
|
5
6
|
.ds-step-nav__circle {
|
|
6
7
|
@apply md:w-8 md:h-8;
|
|
7
8
|
margin-left: 0.1rem;
|
|
@@ -150,7 +151,7 @@
|
|
|
150
151
|
-0.1em 0 0 var(--color-white);
|
|
151
152
|
}
|
|
152
153
|
.ds-nav-step__accordion__content {
|
|
153
|
-
@apply md:pt-2 mb-
|
|
154
|
+
@apply md:pt-2 mb-6 pt-1 mx-0;
|
|
154
155
|
> *:last-child {
|
|
155
156
|
@apply mb-0;
|
|
156
157
|
}
|
|
@@ -3,15 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
@layer utilities {
|
|
5
5
|
.util-summary-list {
|
|
6
|
-
@apply m-0 mb-
|
|
6
|
+
@apply m-0 mb-6 sm:mb-8 w-full sm:w-full;
|
|
7
7
|
}
|
|
8
8
|
.util-summary-list-text {
|
|
9
9
|
font-size: var(--summary-list-font-size);
|
|
10
10
|
}
|
|
11
11
|
.util-summary-list__row {
|
|
12
|
-
@apply sm:flex pb-4 mb-4 border-b border-solid border-base-300
|
|
13
|
-
sm:pb-0 sm:mb-0 sm:border-0
|
|
14
|
-
print:flex print:flex-row print:flex-nowrap;
|
|
12
|
+
@apply sm:flex pb-4 mb-4 border-b border-solid border-base-300 sm:pb-0 sm:mb-0 sm:border-0 print:flex print:flex-row print:flex-nowrap;
|
|
15
13
|
}
|
|
16
14
|
.util-summary-list__key {
|
|
17
15
|
@apply mb-1 sm:w-3/12;
|
|
@@ -25,7 +23,7 @@
|
|
|
25
23
|
.util-summary-list__actions {
|
|
26
24
|
@apply sm:w-3/12 sm:pr-0 sm:text-right;
|
|
27
25
|
}
|
|
28
|
-
|
|
26
|
+
|
|
29
27
|
.util-summary-list__key--sm-3 {
|
|
30
28
|
@apply sm:w-3/12;
|
|
31
29
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.ds-summary-list__row {
|
|
29
|
-
@apply
|
|
29
|
+
@apply util-summary-list__row sm:flex block pb-4 mb-4 sm:pb-0 sm:mb-0 sm:border-0;
|
|
30
30
|
&.ds-summary-list__row--no-border {
|
|
31
31
|
.ds-summary-list__key,
|
|
32
32
|
.ds-summary-list__value,
|
|
@@ -118,7 +118,6 @@
|
|
|
118
118
|
@apply sm:flex-1;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
122
121
|
/* When there is only one child */
|
|
123
122
|
.ds-summary-list__key:only-child,
|
|
124
123
|
.ds-summary-list__value:only-child,
|
|
@@ -127,7 +126,8 @@
|
|
|
127
126
|
}
|
|
128
127
|
.ds-summary-list__key,
|
|
129
128
|
.ds-summary-list__value {
|
|
130
|
-
@apply break-words;
|
|
129
|
+
/* @apply break-all break-words; */
|
|
130
|
+
overflow-wrap: anywhere;
|
|
131
131
|
}
|
|
132
132
|
.ds-summary-list__key,
|
|
133
133
|
.ds-summary-list__value,
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
@apply util-summary-list-text;
|
|
9
9
|
}
|
|
10
10
|
.ds-summary-list__row {
|
|
11
|
-
@apply
|
|
11
|
+
@apply border-b border-base-300 pb-2 flex mb-2;
|
|
12
|
+
row-gap: 0.5rem;
|
|
13
|
+
}
|
|
14
|
+
.ds-summary-list__row--no-border {
|
|
15
|
+
@apply util-summary-list__row--no-border;
|
|
12
16
|
}
|
|
13
17
|
.ds-summary-list__key {
|
|
14
18
|
@apply util-summary-list__key;
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.ds-svg-icon {
|
|
4
4
|
@apply util-svg-icon;
|
|
5
|
-
flex-
|
|
6
|
-
flex-wrap:'wrap';
|
|
5
|
+
flex-flow: 'row' 'wrap';
|
|
7
6
|
}
|
|
8
7
|
.ds-svg-icon--base-content {
|
|
9
8
|
@apply util-svg-icon--base-content;
|
|
@@ -52,4 +51,4 @@
|
|
|
52
51
|
}
|
|
53
52
|
.ds-svg-icon--xl {
|
|
54
53
|
@apply util-svg-icon--xl;
|
|
55
|
-
}
|
|
54
|
+
}
|
package/src/components/table.css
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.ds-table__caption {
|
|
2
|
-
@apply table-caption text-left font-bold
|
|
2
|
+
@apply table-caption text-left font-bold;
|
|
3
3
|
&.ds-table__caption--sm {
|
|
4
|
-
@apply text-
|
|
4
|
+
@apply md:text-2xl text-lg font-bold mx-0 md:mb-6 mb-4 antialiased;
|
|
5
5
|
}
|
|
6
6
|
&.ds-table__caption--md {
|
|
7
|
-
@apply text-
|
|
7
|
+
@apply md:text-3xl text-xl font-bold mx-0 md:mb-8 mb-6 antialiased;
|
|
8
8
|
}
|
|
9
9
|
&.ds-table__caption--lg {
|
|
10
|
-
@apply
|
|
10
|
+
@apply md:text-4xl text-2xl font-bold mx-0 md:mb-9 mb-7 antialiased;
|
|
11
11
|
}
|
|
12
12
|
&.ds-table__caption--xl {
|
|
13
|
-
@apply
|
|
13
|
+
@apply md:text-5xl md:leading-tight text-3xl leading-tight font-bold mx-0 md:mb-10 mb-8 max-w-2xl antialiased;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
.ds-table-container {
|
|
17
|
-
@apply w-full overflow-x-auto mb-
|
|
17
|
+
@apply w-full overflow-x-auto md:mb-10 mb-6;
|
|
18
18
|
&.ds-table-container--border {
|
|
19
19
|
@apply border border-base-300 p-2;
|
|
20
20
|
}
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
.ds-table {
|
|
26
|
-
@apply w-full border-collapse table
|
|
27
|
-
|
|
26
|
+
@apply w-full border-collapse table;
|
|
27
|
+
@apply md:mb-10 mb-6 text-base-content md:text-lg text-base font-normal antialiased;
|
|
28
28
|
border-spacing: 0;
|
|
29
29
|
&.ds-table--vertical-lines {
|
|
30
30
|
.ds-table__cell,
|
package/src/components/tabs.css
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
1
|
.ds-task-list {
|
|
2
|
-
@apply mb-4
|
|
3
|
-
&.ds-task-list--dense,
|
|
4
|
-
.ds-dense & {
|
|
5
|
-
.ds-task-list__item {
|
|
6
|
-
@apply mb-3 md:mb-6;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
2
|
+
@apply mb-4 pl-6 pb-2;
|
|
9
3
|
}
|
|
10
4
|
.ds-task-list__item {
|
|
11
|
-
@apply mb-
|
|
5
|
+
@apply mb-8 md:mb-10;
|
|
12
6
|
}
|
|
13
7
|
.ds-task-list__heading {
|
|
14
|
-
@apply
|
|
8
|
+
@apply md:text-3xl text-2xl font-bold mx-0 md:mb-4 mb-2;
|
|
15
9
|
&.ds-task-list__heading--md {
|
|
16
|
-
@apply
|
|
10
|
+
@apply md:text-2xl text-xl md:mb-4 mb-2;
|
|
17
11
|
}
|
|
18
12
|
&.ds-task-list__heading--sm {
|
|
19
|
-
@apply
|
|
13
|
+
@apply md:text-lg text-base md:mb-3 mb-1;
|
|
20
14
|
}
|
|
21
15
|
}
|
|
22
16
|
.ds-task-list__content {
|
|
23
|
-
@apply mb-
|
|
17
|
+
@apply mb-4;
|
|
24
18
|
}
|
|
25
19
|
.ds-task-list__content__tag {
|
|
26
20
|
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest print:border-2 print:bg-white print:mr-4;
|
|
@@ -39,6 +33,7 @@
|
|
|
39
33
|
|
|
40
34
|
.ds-task-list--dense {
|
|
41
35
|
.ds-task-list__item {
|
|
36
|
+
@apply mb-4 md:mb-6;
|
|
42
37
|
.ds-summary-list {
|
|
43
38
|
@apply mb-4 md:mb-6;
|
|
44
39
|
}
|
package/src/components/test.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.ds-timeline {
|
|
2
|
-
@apply mb-4
|
|
2
|
+
@apply mb-4 pl-6 pb-2 border-l-4 border-secondary;
|
|
3
3
|
&.ds-timeline--dense,
|
|
4
4
|
.ds-dense & {
|
|
5
5
|
@apply pb-0 border-l-3;
|
|
6
6
|
.ds-timeline__item {
|
|
7
|
-
@apply mb-
|
|
7
|
+
@apply mb-4 md:mb-6;
|
|
8
8
|
}
|
|
9
9
|
.ds-timeline__heading {
|
|
10
10
|
@apply mb-2;
|
|
@@ -20,30 +20,30 @@
|
|
|
20
20
|
@apply mb-10 md:mb-12;
|
|
21
21
|
}
|
|
22
22
|
.ds-timeline__heading {
|
|
23
|
-
@apply
|
|
23
|
+
@apply md:text-3xl text-2xl font-bold mx-0 md:mb-4 mb-2 relative;
|
|
24
24
|
&::before {
|
|
25
25
|
@apply block absolute top-4 -left-6 w-4
|
|
26
26
|
border-b-4 border-secondary;
|
|
27
27
|
content: '';
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
}
|
|
30
|
+
.ds-timeline__heading-md {
|
|
31
|
+
@apply md:text-2xl text-xl md:mb-4 mb-2;
|
|
32
|
+
&::before {
|
|
33
|
+
@apply top-3 w-3;
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
}
|
|
36
|
+
.ds-timeline__heading-sm {
|
|
37
|
+
@apply md:text-lg text-base md:mb-3 mb-1;
|
|
38
|
+
&::before {
|
|
39
|
+
@apply top-2.5 w-3;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
.ds-timeline__content {
|
|
43
|
-
@apply mb-
|
|
43
|
+
@apply mb-4;
|
|
44
44
|
}
|
|
45
45
|
.ds-timeline__actions {
|
|
46
|
-
@apply flex flex-wrap items-center gap-4 mb-
|
|
46
|
+
@apply flex flex-wrap items-center gap-4 mb-6;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* overrides */
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
.ds-timeline__actions {
|
|
57
|
-
.ds-btn-group,
|
|
58
57
|
.ds-btn,
|
|
59
58
|
.ds-link {
|
|
60
59
|
@apply mb-0;
|