@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/index.js CHANGED
@@ -81,7 +81,7 @@ function mainFunction(options = {}) {
81
81
  if (logs) {
82
82
  console.log(
83
83
  '\x1b[32m%s\x1b[0m',
84
- '✔︎ Including:',
84
+ '🛠️ Including functions:',
85
85
  '\x1b[0m',
86
86
  '' + digigovCssIncludedItems.join(', ')
87
87
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/css",
3
- "version": "2.0.0-rc.21",
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": "1.1.1-rc.21",
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.21",
53
- "@digigov/cli-build-tailwind": "1.0.2-rc.21",
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.21",
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.21",
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",
@@ -5,7 +5,7 @@
5
5
 
6
6
  @layer utilities {
7
7
  .util-btn {
8
- @apply m-0 mb-4 md:mb-8 flex items-center;
8
+ @apply m-0 mb-4 md:mb-8 flex items-center gap-x-3;
9
9
  border-radius: var(--btn-border-radius);
10
10
  padding-right: var(--btn-padding-x);
11
11
  padding-left: var(--btn-padding-x);
@@ -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 gap-x-3;
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),
@@ -51,6 +51,5 @@
51
51
  @apply util-btn-cta-text;
52
52
  }
53
53
  .ds-btn-cta__icon {
54
- @apply ml-2;
55
54
  fill: var(--color-white) !important;
56
55
  }
@@ -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-50 w-fit md:w-max;
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 max-h-full shadow-thick sm:shadow-none !important;
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 max-h-full shadow-thick md:shadow-none !important;
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 max-h-full shadow-thick lg:shadow-none !important;
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 z-40 w-4/5;
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 block relative overflow-visible w-full shadow-none z-2 !important;
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:block sm:relative sm:overflow-visible sm:w-full sm:shadow-none sm:z-2;
12
- &.ds-filter--closed {
13
- @apply sm:block;
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:block md:relative md:overflow-visible md:w-full md:shadow-none md:z-2;
18
- &.ds-filter--closed {
19
- @apply md:block;
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:block lg:relative lg:overflow-visible lg:w-full lg:shadow-none lg:z-2;
24
- &.ds-filter--closed {
25
- @apply lg:block;
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 p-4;
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-2 md:mb-4;
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 sm:flex-nowrap mb-4 md:mb-8 justify-between gap-x-2 gap-y-4;
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
- @apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
89
- box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
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
  }
@@ -40,10 +40,10 @@
40
40
  .ds-dropdown {
41
41
  margin-bottom: 20rem;
42
42
  }
43
- .ds-modal__body {
43
+ .ds-modal {
44
44
  margin: 1rem;
45
45
  }
46
- .ds-modal {
46
+ .ds-modal-container {
47
47
  position: inherit;
48
48
  }
49
49
  }
@@ -0,0 +1,7 @@
1
+ @tailwind utilities;
2
+
3
+ @layer utilities {
4
+ .util-loader {
5
+ @apply m-auto overflow-hidden;
6
+ }
7
+ }
@@ -1,5 +1,7 @@
1
+ @import './loader.common.css';
2
+
1
3
  .ds-loader {
2
- @apply h-fit w-fit m-auto overflow-hidden print:hidden;
4
+ @apply util-loader h-fit w-fit print:hidden;
3
5
  }
4
6
  .ds-circular-progress {
5
7
  @apply w-fit h-10;
@@ -0,0 +1,5 @@
1
+ @import './loader.common.css';
2
+
3
+ .ds-loader {
4
+ @apply util-loader;
5
+ }
@@ -1,10 +1,10 @@
1
1
  @tailwind utilities;
2
2
 
3
3
  @layer utilities {
4
- .util-modal__body {
4
+ .util-modal {
5
5
  @apply bg-base-100 p-6 border border-solid border-base-500;
6
6
  }
7
- .util-modal__container {
7
+ .util-modal__body {
8
8
  @apply gap-6 -my-4;
9
9
  }
10
10
  .util-modal__content-text {
@@ -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-modal__body {
14
+ .ds-modal {
15
15
  @apply px-4 py-0;
16
16
  }
17
- .ds-modal__container {
17
+ .ds-modal__body {
18
18
  @apply gap-4 my-0;
19
19
  }
20
20
  }
21
21
  }
22
- .ds-modal__body {
23
- @apply util-modal__body w-full max-w-md md:max-w-lg lg:max-w-4xl
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-modal__container {
28
- @apply grid util-modal__container;
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-modal__body {
7
+ .ds-modal {
8
8
  @apply util-modal__body;
9
9
  }
10
- .ds-modal__container {
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 mb-4 md:mb-8;
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
+ }
@@ -1,64 +1,66 @@
1
+ @import './stack.common.css';
2
+
1
3
  .ds-stack {
2
- @apply flex flex-col flex-wrap;
4
+ @apply util-stack;
3
5
  &.ds-stack--row {
4
- @apply flex-row;
6
+ @apply util-stack--row;
5
7
  }
6
8
  &.ds-stack--reverse-row {
7
- @apply flex-row-reverse;
9
+ @apply util-stack--reverse-row;
8
10
  }
9
11
  &.ds-stack--col-reverse {
10
- @apply flex-col-reverse;
12
+ @apply util-stack--col-reverse;
11
13
  }
12
14
  &.ds-stack--nowrap {
13
- @apply flex-nowrap;
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 items-stretch;
36
+ @apply util-stack--align-stretch;
35
37
  }
36
38
  &.ds-stack--align-flex-start {
37
- @apply items-start;
39
+ @apply util-stack--align-flex-start;
38
40
  }
39
41
  &.ds-stack--align-flex-end {
40
- @apply items-end;
42
+ @apply util-stack--align-flex-end;
41
43
  }
42
44
  &.ds-stack--align-center {
43
- @apply items-center;
45
+ @apply util-stack--align-center;
44
46
  }
45
47
  &.ds-stack--align-baseline {
46
- @apply items-baseline;
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
  }
@@ -19,3 +19,5 @@
19
19
  @import './components/checkboxes.native';
20
20
  @import './components/radios.native';
21
21
  @import './components/modal.native';
22
+ @import './components/loader.native';
23
+ @import './components/stack.native';