@digigov/css 2.0.0-113e6661 → 2.0.0-298cfc51
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 +12 -12
- package/postcss.config.js +4 -4
- package/src/base/index.css +1 -0
- package/src/base/index.native.css +2 -0
- package/src/base/postcss.config.js +11 -10
- package/src/base/tailwind.config.js +4 -11
- package/src/components/blockquote.native.css +1 -0
- package/src/components/button.css +1 -1
- package/src/components/button.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 +18 -0
- package/src/components/copy-to-clipboard.css +1 -1
- package/src/components/details.native.css +8 -2
- package/src/components/drawer.css +23 -3
- package/src/components/filter.css +71 -22
- package/src/components/form.native.css +42 -25
- 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 +1 -1
- package/src/components/layout.css +1 -1
- package/src/components/layout.native.css +2 -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 +17 -0
- package/src/components/modal.css +14 -14
- package/src/components/modal.native.css +18 -0
- package/src/components/nav.native.css +3 -2
- package/src/components/pagination.css +19 -3
- package/src/components/panel.native.css +3 -1
- package/src/components/postcss.config.js +7 -6
- 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/summary-list.common.css +4 -1
- package/src/components/summary-list.css +3 -2
- package/src/components/summary-list.native.css +5 -1
- package/src/components/typography.common.css +1 -4
- package/src/components/typography.css +5 -1
- package/src/components/typography.native.css +31 -0
- package/src/index.native.css +5 -1
- package/src/utilities/gap.css +141 -0
- package/src/utilities/index.css +4 -1
- package/src/utilities/index.native.css +5 -1
- package/src/utilities/margin.css +4299 -0
- package/src/utilities/padding.css +4299 -0
- package/src/utilities/postcss.config.js +7 -6
- package/src/utilities/utilities.css +3 -2377
- 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/src/utilities/spacing.css +0 -2133
- package/themes.plugin.js +0 -148
|
@@ -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
|
},
|
|
@@ -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
|
+
}
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
font-size: var(--summary-list-font-size);
|
|
10
10
|
}
|
|
11
11
|
.util-summary-list__row {
|
|
12
|
-
@apply
|
|
12
|
+
@apply border-b border-base-300 print:flex print:flex-row print:flex-nowrap;
|
|
13
|
+
}
|
|
14
|
+
.util-summary-list__row--no-border {
|
|
15
|
+
@apply border-0;
|
|
13
16
|
}
|
|
14
17
|
.util-summary-list__key {
|
|
15
18
|
@apply mb-1 sm:w-3/12;
|
|
@@ -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,
|
|
@@ -127,7 +127,8 @@
|
|
|
127
127
|
}
|
|
128
128
|
.ds-summary-list__key,
|
|
129
129
|
.ds-summary-list__value {
|
|
130
|
-
@apply break-words;
|
|
130
|
+
/* @apply break-all break-words; */
|
|
131
|
+
overflow-wrap: anywhere;
|
|
131
132
|
}
|
|
132
133
|
.ds-summary-list__key,
|
|
133
134
|
.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;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
.util-link {
|
|
53
53
|
@apply focus:bg-focus;
|
|
54
|
-
padding: var(--link-padding);
|
|
54
|
+
padding: var(--link-padding-y) var(--link-padding-x);
|
|
55
55
|
}
|
|
56
56
|
.util-link-text {
|
|
57
57
|
/* @apply focus:text-link-active underline; */
|
|
@@ -59,9 +59,6 @@
|
|
|
59
59
|
color: var(--link-color);
|
|
60
60
|
font-size: var(--link-font-size);
|
|
61
61
|
line-height: var(--link-line-height);
|
|
62
|
-
/* &:focus {
|
|
63
|
-
text-decoration: none !important;
|
|
64
|
-
} */
|
|
65
62
|
}
|
|
66
63
|
|
|
67
64
|
.util-caption-xl {
|
|
@@ -130,6 +130,9 @@
|
|
|
130
130
|
&:last-child {
|
|
131
131
|
@apply mb-0;
|
|
132
132
|
}
|
|
133
|
+
> button.ds-link:only-child {
|
|
134
|
+
display: inline-flex;
|
|
135
|
+
}
|
|
133
136
|
}
|
|
134
137
|
}
|
|
135
138
|
.ds-list__item > .ds-list--bullet:nth-child(1) {
|
|
@@ -175,7 +178,7 @@
|
|
|
175
178
|
}
|
|
176
179
|
|
|
177
180
|
.ds-link {
|
|
178
|
-
@apply focus:text-link-active util-link util-link-text cursor-pointer;
|
|
181
|
+
@apply focus:text-link-active util-link util-link-text cursor-pointer text-left;
|
|
179
182
|
letter-spacing: var(--link-letter-spacing);
|
|
180
183
|
&:hover {
|
|
181
184
|
text-decoration-thickness: 2px;
|
|
@@ -279,6 +282,7 @@
|
|
|
279
282
|
}
|
|
280
283
|
}
|
|
281
284
|
button.ds-link {
|
|
285
|
+
@apply text-left;
|
|
282
286
|
.ds-svg-icon {
|
|
283
287
|
@apply ml-1;
|
|
284
288
|
}
|
|
@@ -12,33 +12,51 @@
|
|
|
12
12
|
.ds-heading-xl__text {
|
|
13
13
|
@apply util-heading-xl-text;
|
|
14
14
|
margin-bottom: var(--heading-xl-margin-bottom);
|
|
15
|
+
line-height: calc(
|
|
16
|
+
var(--heading-xl-line-height) * var(--heading-xl-font-size)
|
|
17
|
+
);
|
|
15
18
|
}
|
|
16
19
|
.ds-heading-lg__text {
|
|
17
20
|
@apply util-heading-lg-text;
|
|
18
21
|
margin-bottom: var(--heading-lg-margin-bottom);
|
|
22
|
+
line-height: calc(
|
|
23
|
+
var(--heading-lg-line-height) * var(--heading-lg-font-size)
|
|
24
|
+
);
|
|
19
25
|
}
|
|
20
26
|
.ds-heading-md__text {
|
|
21
27
|
@apply util-heading-md-text;
|
|
22
28
|
margin-bottom: var(--heading-md-margin-bottom);
|
|
29
|
+
line-height: calc(
|
|
30
|
+
var(--heading-md-line-height) * var(--heading-md-font-size)
|
|
31
|
+
);
|
|
23
32
|
}
|
|
24
33
|
.ds-heading-sm__text {
|
|
25
34
|
@apply util-heading-sm-text;
|
|
26
35
|
margin-bottom: var(--heading-sm-margin-bottom);
|
|
36
|
+
line-height: calc(
|
|
37
|
+
var(--heading-sm-line-height) * var(--heading-sm-font-size)
|
|
38
|
+
);
|
|
27
39
|
}
|
|
28
40
|
.ds-heading-xs__text {
|
|
29
41
|
@apply util-heading-xs-text;
|
|
30
42
|
margin-bottom: var(--heading-xs-margin-bottom);
|
|
43
|
+
line-height: calc(
|
|
44
|
+
var(--heading-xs-line-height) * var(--heading-xs-font-size)
|
|
45
|
+
);
|
|
31
46
|
}
|
|
32
47
|
|
|
33
48
|
/* Paragraph */
|
|
34
49
|
.ds-body__text {
|
|
35
50
|
@apply util-body-text;
|
|
51
|
+
line-height: calc(var(--body-line-height) * var(--body-font-size));
|
|
36
52
|
}
|
|
37
53
|
.ds-body--lg__text {
|
|
38
54
|
@apply util-body-lg-text;
|
|
55
|
+
line-height: calc(var(--body--lg-line-height) * var(--body--lg-font-size));
|
|
39
56
|
}
|
|
40
57
|
.ds-body--sm__text {
|
|
41
58
|
@apply util-body-sm-text;
|
|
59
|
+
line-height: calc(var(--body__sm-line-height) * var(--body__sm-font-size));
|
|
42
60
|
}
|
|
43
61
|
|
|
44
62
|
/* Hint */
|
|
@@ -47,12 +65,15 @@
|
|
|
47
65
|
}
|
|
48
66
|
.ds-hint__text {
|
|
49
67
|
@apply util-hint-text;
|
|
68
|
+
line-height: calc(var(--hint-line-height) * var(--hint-font-size));
|
|
50
69
|
}
|
|
51
70
|
.ds-hint--lg__text {
|
|
52
71
|
@apply util-hint-lg-text;
|
|
72
|
+
line-height: calc(var(--hint--lg-line-height) * var(--hint--lg-font-size));
|
|
53
73
|
}
|
|
54
74
|
.ds-hint--sm__text {
|
|
55
75
|
@apply util-hint-sm-text;
|
|
76
|
+
line-height: calc(var(--hint--sm-line-height) * var(--hint--sm-font-size));
|
|
56
77
|
}
|
|
57
78
|
|
|
58
79
|
/* Link */
|
|
@@ -61,6 +82,7 @@
|
|
|
61
82
|
}
|
|
62
83
|
.ds-link__text {
|
|
63
84
|
@apply util-link-text;
|
|
85
|
+
line-height: calc(var(--link-line-height) * var(--link-font-size));
|
|
64
86
|
}
|
|
65
87
|
|
|
66
88
|
/* HeadingCaption */
|
|
@@ -69,18 +91,27 @@
|
|
|
69
91
|
}
|
|
70
92
|
.ds-caption-xl__text {
|
|
71
93
|
@apply util-caption-xl-text;
|
|
94
|
+
line-height: calc(
|
|
95
|
+
var(--caption-xl-line-height) * var(--caption-xl-font-size)
|
|
96
|
+
);
|
|
72
97
|
}
|
|
73
98
|
.ds-caption-lg {
|
|
74
99
|
@apply util-caption-lg;
|
|
75
100
|
}
|
|
76
101
|
.ds-caption-lg__text {
|
|
77
102
|
@apply util-caption-lg-text;
|
|
103
|
+
line-height: calc(
|
|
104
|
+
var(--caption-lg-line-height) * var(--caption-lg-font-size)
|
|
105
|
+
);
|
|
78
106
|
}
|
|
79
107
|
.ds-caption-md {
|
|
80
108
|
@apply util-caption-md;
|
|
81
109
|
}
|
|
82
110
|
.ds-caption-md__text {
|
|
83
111
|
@apply util-caption-md-text;
|
|
112
|
+
line-height: calc(
|
|
113
|
+
var(--caption-md-line-height) * var(--caption-md-font-size)
|
|
114
|
+
);
|
|
84
115
|
}
|
|
85
116
|
|
|
86
117
|
.ds-list {
|
package/src/index.native.css
CHANGED
|
@@ -17,4 +17,8 @@
|
|
|
17
17
|
@import './components/warning-text.native';
|
|
18
18
|
@import './components/form.native';
|
|
19
19
|
@import './components/checkboxes.native';
|
|
20
|
-
@import './components/radios.native';
|
|
20
|
+
@import './components/radios.native';
|
|
21
|
+
@import './components/modal.native';
|
|
22
|
+
@import './components/loader.native';
|
|
23
|
+
@import './components/stack.native';
|
|
24
|
+
@import './components/chip.native';
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.ds-gap-1 {
|
|
2
|
+
@apply gap-1;
|
|
3
|
+
}
|
|
4
|
+
.ds-gap-2 {
|
|
5
|
+
@apply gap-2;
|
|
6
|
+
}
|
|
7
|
+
.ds-gap-4 {
|
|
8
|
+
@apply gap-4;
|
|
9
|
+
}
|
|
10
|
+
.ds-gap-6 {
|
|
11
|
+
@apply gap-6;
|
|
12
|
+
}
|
|
13
|
+
.ds-gap-8 {
|
|
14
|
+
@apply gap-8;
|
|
15
|
+
}
|
|
16
|
+
.ds-gap-10 {
|
|
17
|
+
@apply gap-10;
|
|
18
|
+
}
|
|
19
|
+
.ds-gap-12 {
|
|
20
|
+
@apply gap-12;
|
|
21
|
+
}
|
|
22
|
+
.ds-gap-xs-1 {
|
|
23
|
+
@apply gap-1;
|
|
24
|
+
}
|
|
25
|
+
.ds-gap-xs-2 {
|
|
26
|
+
@apply gap-2;
|
|
27
|
+
}
|
|
28
|
+
.ds-gap-xs-4 {
|
|
29
|
+
@apply gap-4;
|
|
30
|
+
}
|
|
31
|
+
.ds-gap-xs-5 {
|
|
32
|
+
@apply gap-5;
|
|
33
|
+
}
|
|
34
|
+
.ds-gap-xs-6 {
|
|
35
|
+
@apply gap-6;
|
|
36
|
+
}
|
|
37
|
+
.ds-gap-xs-8 {
|
|
38
|
+
@apply gap-8;
|
|
39
|
+
}
|
|
40
|
+
.ds-gap-xs-10 {
|
|
41
|
+
@apply gap-10;
|
|
42
|
+
}
|
|
43
|
+
.ds-gap-xs-12 {
|
|
44
|
+
@apply gap-12;
|
|
45
|
+
}
|
|
46
|
+
.ds-gap-sm-1 {
|
|
47
|
+
@apply sm:gap-1;
|
|
48
|
+
}
|
|
49
|
+
.ds-gap-sm-2 {
|
|
50
|
+
@apply sm:gap-2;
|
|
51
|
+
}
|
|
52
|
+
.ds-gap-sm-4 {
|
|
53
|
+
@apply sm:gap-4;
|
|
54
|
+
}
|
|
55
|
+
.ds-gap-sm-5 {
|
|
56
|
+
@apply sm:gap-5;
|
|
57
|
+
}
|
|
58
|
+
.ds-gap-sm-6 {
|
|
59
|
+
@apply sm:gap-6;
|
|
60
|
+
}
|
|
61
|
+
.ds-gap-sm-8 {
|
|
62
|
+
@apply sm:gap-8;
|
|
63
|
+
}
|
|
64
|
+
.ds-gap-sm-10 {
|
|
65
|
+
@apply sm:gap-10;
|
|
66
|
+
}
|
|
67
|
+
.ds-gap-sm-12 {
|
|
68
|
+
@apply sm:gap-12;
|
|
69
|
+
}
|
|
70
|
+
.ds-gap-md-1 {
|
|
71
|
+
@apply md:gap-1;
|
|
72
|
+
}
|
|
73
|
+
.ds-gap-md-2 {
|
|
74
|
+
@apply md:gap-2;
|
|
75
|
+
}
|
|
76
|
+
.ds-gap-md-4 {
|
|
77
|
+
@apply md:gap-4;
|
|
78
|
+
}
|
|
79
|
+
.ds-gap-md-5 {
|
|
80
|
+
@apply md:gap-5;
|
|
81
|
+
}
|
|
82
|
+
.ds-gap-md-6 {
|
|
83
|
+
@apply md:gap-6;
|
|
84
|
+
}
|
|
85
|
+
.ds-gap-md-8 {
|
|
86
|
+
@apply md:gap-8;
|
|
87
|
+
}
|
|
88
|
+
.ds-gap-md-10 {
|
|
89
|
+
@apply md:gap-10;
|
|
90
|
+
}
|
|
91
|
+
.ds-gap-md-12 {
|
|
92
|
+
@apply md:gap-12;
|
|
93
|
+
}
|
|
94
|
+
.ds-gap-lg-1 {
|
|
95
|
+
@apply lg:gap-1;
|
|
96
|
+
}
|
|
97
|
+
.ds-gap-lg-2 {
|
|
98
|
+
@apply lg:gap-2;
|
|
99
|
+
}
|
|
100
|
+
.ds-gap-lg-4 {
|
|
101
|
+
@apply lg:gap-4;
|
|
102
|
+
}
|
|
103
|
+
.ds-gap-lg-5 {
|
|
104
|
+
@apply lg:gap-5;
|
|
105
|
+
}
|
|
106
|
+
.ds-gap-lg-6 {
|
|
107
|
+
@apply lg:gap-6;
|
|
108
|
+
}
|
|
109
|
+
.ds-gap-lg-8 {
|
|
110
|
+
@apply lg:gap-8;
|
|
111
|
+
}
|
|
112
|
+
.ds-gap-lg-10 {
|
|
113
|
+
@apply lg:gap-10;
|
|
114
|
+
}
|
|
115
|
+
.ds-gap-lg-12 {
|
|
116
|
+
@apply lg:gap-12;
|
|
117
|
+
}
|
|
118
|
+
.ds-gap-xl-1 {
|
|
119
|
+
@apply xl:gap-1;
|
|
120
|
+
}
|
|
121
|
+
.ds-gap-xl-2 {
|
|
122
|
+
@apply xl:gap-2;
|
|
123
|
+
}
|
|
124
|
+
.ds-gap-xl-4 {
|
|
125
|
+
@apply xl:gap-4;
|
|
126
|
+
}
|
|
127
|
+
.ds-gap-xl-5 {
|
|
128
|
+
@apply xl:gap-5;
|
|
129
|
+
}
|
|
130
|
+
.ds-gap-xl-6 {
|
|
131
|
+
@apply xl:gap-6;
|
|
132
|
+
}
|
|
133
|
+
.ds-gap-xl-8 {
|
|
134
|
+
@apply xl:gap-8;
|
|
135
|
+
}
|
|
136
|
+
.ds-gap-xl-10 {
|
|
137
|
+
@apply xl:gap-10;
|
|
138
|
+
}
|
|
139
|
+
.ds-gap-xl-12 {
|
|
140
|
+
@apply xl:gap-12;
|
|
141
|
+
}
|
package/src/utilities/index.css
CHANGED