@digigov/css 2.0.0-rc.21 → 2.0.0-rc.22
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/components.js +1 -1
- package/dist/digigov.css +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
- package/src/components/button.common.css +1 -1
- package/src/components/button.css +1 -1
- package/src/components/button.native.css +0 -1
- package/src/components/copy-to-clipboard.css +1 -1
- package/src/components/drawer.css +23 -3
- package/src/components/filter.css +71 -22
- package/src/components/kitchensink.css +2 -2
- 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 +2 -2
- package/src/components/modal.css +9 -9
- package/src/components/modal.native.css +3 -3
- package/src/components/pagination.css +19 -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/typography.css +5 -1
- package/src/index.native.css +2 -0
- package/tailwind.config.js +1 -0
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.22",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
]
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@digigov/cli": "
|
|
42
|
+
"@digigov/cli": "2.0.0-rc.22",
|
|
43
43
|
"autoprefixer": "10.4.16",
|
|
44
44
|
"cssnano": "4.1.10",
|
|
45
45
|
"postcss-cli": "8.3.0",
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
"tailwindcss": "3.3.5",
|
|
50
50
|
"nodemon": "2.0.7",
|
|
51
51
|
"next": "13.1.1",
|
|
52
|
-
"@digigov/postcss-banner": "1.0.5-rc.
|
|
53
|
-
"@digigov/cli-build-tailwind": "
|
|
52
|
+
"@digigov/postcss-banner": "1.0.5-rc.22",
|
|
53
|
+
"@digigov/cli-build-tailwind": "2.0.0-rc.22",
|
|
54
54
|
"rimraf": "3.0.2",
|
|
55
55
|
"publint": "0.1.8",
|
|
56
56
|
"stylelint": "15.11.0",
|
|
57
|
-
"stylelint-plugin-digigov": "1.1.0-rc.
|
|
57
|
+
"stylelint-plugin-digigov": "1.1.0-rc.22",
|
|
58
58
|
"prettier": "3.2.5",
|
|
59
59
|
"postcss-sort-media-queries": "5.2.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@digigov/theme-default": "1.0.0-rc.
|
|
62
|
+
"@digigov/theme-default": "1.0.0-rc.22",
|
|
63
63
|
"@fontsource/roboto": "4.4.0",
|
|
64
64
|
"publint": "0.1.8",
|
|
65
65
|
"postcss": "8.4.4",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.ds-btn[type='submit'],
|
|
4
4
|
.ds-btn[type='button'],
|
|
5
5
|
.ds-btn[type='reset'] {
|
|
6
|
-
@apply util-btn util-btn-text min-h-10 md:min-h-12 w-max cursor-pointer
|
|
6
|
+
@apply util-btn util-btn-text min-h-10 md:min-h-12 w-max cursor-pointer;
|
|
7
7
|
&:focus {
|
|
8
8
|
box-shadow:
|
|
9
9
|
0 0 0 2px var(--color-white),
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
.ds-copy-to-clipboard__message {
|
|
38
|
-
@apply bg-success py-4 px-6 absolute mt-4 text-center z-
|
|
38
|
+
@apply bg-success py-4 px-6 absolute mt-4 text-center z-40 w-fit md:w-max;
|
|
39
39
|
&::before {
|
|
40
40
|
@apply w-4 h-4 border-t-8 border-l-8 border-success transform rotate-45
|
|
41
41
|
absolute -top-1;
|
|
@@ -1,16 +1,33 @@
|
|
|
1
|
+
.ds-drawer-container {
|
|
2
|
+
@apply justify-center items-center content-center
|
|
3
|
+
left-0 top-0 w-full h-full overflow-auto
|
|
4
|
+
flex fixed z-50 bg-opacity-50 bg-base-700;
|
|
5
|
+
&.ds-drawer-container--relative-sm {
|
|
6
|
+
@apply sm:bg-transparent sm:z-0 sm:relative sm:block;
|
|
7
|
+
}
|
|
8
|
+
&.ds-drawer-container--relative-md {
|
|
9
|
+
@apply md:bg-transparent md:z-0 md:relative md:block;
|
|
10
|
+
}
|
|
11
|
+
&.ds-drawer-container--relative-lg {
|
|
12
|
+
@apply lg:bg-transparent lg:z-0 lg:relative lg:block;
|
|
13
|
+
}
|
|
14
|
+
&.ds-drawer-container--closed {
|
|
15
|
+
@apply hidden;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
1
18
|
.ds-drawer {
|
|
2
19
|
@apply border border-base-300 bg-base-100 p-4
|
|
3
20
|
h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md flex flex-col
|
|
4
21
|
fixed top-0 bottom-0 z-40;
|
|
5
22
|
@apply shadow-thick !important;
|
|
6
23
|
&.ds-drawer--relative-sm {
|
|
7
|
-
@apply sm:relative sm:w-full
|
|
24
|
+
@apply sm:relative sm:w-full sm:min-h-fit shadow-thick sm:shadow-none !important;
|
|
8
25
|
}
|
|
9
26
|
&.ds-drawer--relative-md {
|
|
10
|
-
@apply md:relative md:w-full
|
|
27
|
+
@apply md:relative md:w-full md:min-h-fit shadow-thick md:shadow-none !important;
|
|
11
28
|
}
|
|
12
29
|
&.ds-drawer--relative-lg {
|
|
13
|
-
@apply lg:relative lg:w-full
|
|
30
|
+
@apply lg:relative lg:w-full lg:min-h-fit shadow-thick lg:shadow-none !important;
|
|
14
31
|
}
|
|
15
32
|
&.ds-drawer--right {
|
|
16
33
|
@apply right-0;
|
|
@@ -37,6 +54,9 @@
|
|
|
37
54
|
}
|
|
38
55
|
.ds-drawer__heading {
|
|
39
56
|
@apply p-0 mb-2 md:mb-4 flex justify-between align-baseline;
|
|
57
|
+
&:has(.ds-close-btn:only-child) {
|
|
58
|
+
@apply justify-end;
|
|
59
|
+
}
|
|
40
60
|
.ds--drawer__close-icon {
|
|
41
61
|
@apply m-0;
|
|
42
62
|
}
|
|
@@ -1,40 +1,63 @@
|
|
|
1
|
+
.ds-filter-container {
|
|
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
|
+
}
|
|
8
|
+
&.ds-filter-container--position-relative-sm {
|
|
9
|
+
@apply sm:bg-transparent sm:h-fit sm:z-2 sm:overflow-visible sm:relative;
|
|
10
|
+
@apply sm:block !important;
|
|
11
|
+
}
|
|
12
|
+
&.ds-filter-container--position-relative-md {
|
|
13
|
+
@apply md:bg-transparent md:h-fit md:z-2 md:overflow-visible md:relative;
|
|
14
|
+
@apply md:block !important;
|
|
15
|
+
}
|
|
16
|
+
&.ds-filter-container--position-relative-lg {
|
|
17
|
+
@apply lg:bg-transparent lg:h-fit lg:z-2 lg:overflow-visible lg:relative;
|
|
18
|
+
@apply lg:block !important;
|
|
19
|
+
}
|
|
20
|
+
&.ds-filter-container--closed {
|
|
21
|
+
@apply hidden;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
1
24
|
.ds-filter {
|
|
2
|
-
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll
|
|
25
|
+
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll w-4/5 max-w-md p-4;
|
|
3
26
|
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
4
27
|
&.ds-filter--position-relative-always {
|
|
5
|
-
@apply
|
|
6
|
-
&.ds-filter--closed {
|
|
7
|
-
@apply block !important;
|
|
8
|
-
}
|
|
28
|
+
@apply relative w-full max-w-full shadow-none mb-4 md:mb-8;
|
|
9
29
|
}
|
|
10
30
|
&.ds-filter--position-relative-sm {
|
|
11
|
-
@apply sm:
|
|
12
|
-
|
|
13
|
-
@apply sm:
|
|
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;
|
|
14
34
|
}
|
|
15
35
|
}
|
|
16
36
|
&.ds-filter--position-relative-md {
|
|
17
|
-
@apply md:
|
|
18
|
-
|
|
19
|
-
@apply md:
|
|
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;
|
|
20
40
|
}
|
|
21
41
|
}
|
|
22
42
|
&.ds-filter--position-relative-lg {
|
|
23
|
-
@apply lg:
|
|
24
|
-
|
|
25
|
-
|
|
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;
|
|
26
47
|
}
|
|
27
48
|
}
|
|
28
49
|
&.ds-filter--border {
|
|
29
|
-
@apply border border-base-300
|
|
30
|
-
}
|
|
31
|
-
&.ds-filter--closed {
|
|
32
|
-
@apply hidden;
|
|
50
|
+
@apply border border-base-300;
|
|
33
51
|
}
|
|
34
52
|
}
|
|
35
53
|
.ds-filter__content {
|
|
36
54
|
@apply flex flex-col gap-8 p-0;
|
|
37
55
|
}
|
|
56
|
+
.ds-filter__options {
|
|
57
|
+
.ds-btn:last-child {
|
|
58
|
+
@apply mb-0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
38
61
|
.ds-filter__options--horizontal {
|
|
39
62
|
@apply flex gap-4 flex-col;
|
|
40
63
|
@apply md:flex-row md:flex-wrap;
|
|
@@ -51,13 +74,13 @@
|
|
|
51
74
|
@apply p-0;
|
|
52
75
|
}
|
|
53
76
|
.ds-filter__heading {
|
|
54
|
-
@apply mb-
|
|
77
|
+
@apply mb-4 md:mb-8 flex justify-between align-baseline items-baseline;
|
|
55
78
|
}
|
|
56
79
|
.ds-filter__selected {
|
|
57
80
|
@apply bg-base-200 p-4 m-0 rounded;
|
|
58
81
|
}
|
|
59
82
|
.ds-filter__selected-heading {
|
|
60
|
-
@apply flex flex-wrap
|
|
83
|
+
@apply flex flex-wrap mb-4 md:mb-8 justify-between gap-x-2 gap-y-4;
|
|
61
84
|
}
|
|
62
85
|
.ds-input__search-btn {
|
|
63
86
|
@apply shadow-none mb-0 !important;
|
|
@@ -85,8 +108,34 @@
|
|
|
85
108
|
/* overrides */
|
|
86
109
|
|
|
87
110
|
.ds-filter {
|
|
88
|
-
|
|
89
|
-
|
|
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
|
+
}
|
|
90
139
|
.ds-select {
|
|
91
140
|
@apply w-full;
|
|
92
141
|
}
|
package/src/components/modal.css
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
@import './modal.common.css';
|
|
2
2
|
|
|
3
|
-
.ds-modal {
|
|
3
|
+
.ds-modal-container {
|
|
4
4
|
@apply hidden justify-center items-center content-center text-left
|
|
5
5
|
text-base-content bg-opacity-50 bg-base-700
|
|
6
6
|
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
7
7
|
|
|
8
|
-
&.ds-modal--open {
|
|
8
|
+
&.ds-modal-container--open {
|
|
9
9
|
@apply flex;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
&.ds-modal--dense,
|
|
12
|
+
&.ds-modal-container--dense,
|
|
13
13
|
&.ds-dense & {
|
|
14
|
-
.ds-
|
|
14
|
+
.ds-modal {
|
|
15
15
|
@apply px-4 py-0;
|
|
16
16
|
}
|
|
17
|
-
.ds-
|
|
17
|
+
.ds-modal__body {
|
|
18
18
|
@apply gap-4 my-0;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
.ds-
|
|
23
|
-
@apply util-
|
|
22
|
+
.ds-modal {
|
|
23
|
+
@apply util-modal w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
24
24
|
h-fit md:h-auto overflow-y-auto;
|
|
25
25
|
max-height: 95vh;
|
|
26
26
|
}
|
|
27
|
-
.ds-
|
|
28
|
-
@apply grid util-
|
|
27
|
+
.ds-modal__body {
|
|
28
|
+
@apply grid util-modal__body;
|
|
29
29
|
.ds-modal__action {
|
|
30
30
|
@apply mb-0;
|
|
31
31
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@import './modal.common.css';
|
|
2
2
|
|
|
3
|
-
.ds-modal {
|
|
3
|
+
.ds-modal-container {
|
|
4
4
|
@apply absolute justify-center items-center top-0 left-0 right-0 bottom-0;
|
|
5
5
|
background-color: rgba(var(--color-black-rgb), 0.5);
|
|
6
6
|
}
|
|
7
|
-
.ds-
|
|
7
|
+
.ds-modal {
|
|
8
8
|
@apply util-modal__body;
|
|
9
9
|
}
|
|
10
|
-
.ds-
|
|
10
|
+
.ds-modal__body {
|
|
11
11
|
@apply util-modal__container;
|
|
12
12
|
}
|
|
13
13
|
.ds-modal__content__text {
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
&:last-child {
|
|
130
130
|
@apply mb-0;
|
|
131
131
|
}
|
|
132
|
+
> button.ds-link:only-child {
|
|
133
|
+
display: inline-flex;
|
|
134
|
+
}
|
|
132
135
|
}
|
|
133
136
|
}
|
|
134
137
|
.ds-list__item > .ds-list--bullet:nth-child(1) {
|
|
@@ -174,7 +177,7 @@
|
|
|
174
177
|
}
|
|
175
178
|
|
|
176
179
|
.ds-link {
|
|
177
|
-
@apply focus:text-link-active util-link util-link-text cursor-pointer;
|
|
180
|
+
@apply focus:text-link-active util-link util-link-text cursor-pointer text-left;
|
|
178
181
|
letter-spacing: var(--link-letter-spacing);
|
|
179
182
|
&:hover {
|
|
180
183
|
text-decoration-thickness: 2px;
|
|
@@ -278,6 +281,7 @@
|
|
|
278
281
|
}
|
|
279
282
|
}
|
|
280
283
|
button.ds-link {
|
|
284
|
+
@apply text-left;
|
|
281
285
|
.ds-svg-icon {
|
|
282
286
|
@apply ml-1;
|
|
283
287
|
}
|