@digigov/css 2.0.0-b4cd6916 → 2.0.0-c6d0b3b8

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.
Files changed (122) hide show
  1. package/dist/base/index.css +1 -1
  2. package/dist/base.js +1 -1
  3. package/dist/components.js +1 -1
  4. package/dist/digigov.css +3 -3
  5. package/dist/utilities/index.css +1 -1
  6. package/dist/utilities.js +1 -1
  7. package/index.js +99 -69
  8. package/package.json +13 -13
  9. package/postcss.config.js +4 -4
  10. package/src/base/index.css +1 -0
  11. package/src/base/index.native.css +0 -0
  12. package/src/base/postcss.config.js +11 -10
  13. package/src/base/tailwind.config.js +4 -11
  14. package/src/components/accordion.common.css +29 -0
  15. package/src/components/accordion.css +10 -12
  16. package/src/components/accordion.native.css +27 -0
  17. package/src/components/autocomplete.css +1 -3
  18. package/src/components/blockquote.common.css +11 -11
  19. package/src/components/blockquote.css +6 -6
  20. package/src/components/blockquote.native.css +4 -1
  21. package/src/components/breadcrumbs.css +1 -1
  22. package/src/components/button.common.css +1 -1
  23. package/src/components/button.css +2 -2
  24. package/src/components/button.native.css +6 -7
  25. package/src/components/card.common.css +30 -30
  26. package/src/components/card.css +1 -1
  27. package/src/components/checkboxes.common.css +13 -13
  28. package/src/components/checkboxes.native.css +2 -3
  29. package/src/components/chip.common.css +19 -0
  30. package/src/components/chip.css +5 -4
  31. package/src/components/chip.native.css +15 -0
  32. package/src/components/code.css +8 -7
  33. package/src/components/copy-to-clipboard.css +1 -1
  34. package/src/components/copy-to-clipboard.native.css +2 -4
  35. package/src/components/details.common.css +23 -23
  36. package/src/components/details.native.css +8 -0
  37. package/src/components/drawer.css +21 -4
  38. package/src/components/dropdown.common.css +19 -19
  39. package/src/components/dropdown.native.css +10 -11
  40. package/src/components/fillable.css +1 -1
  41. package/src/components/filter.css +74 -25
  42. package/src/components/footer.css +8 -7
  43. package/src/components/form.common.css +75 -76
  44. package/src/components/form.css +7 -4
  45. package/src/components/form.native.css +102 -53
  46. package/src/components/header.common.css +32 -33
  47. package/src/components/header.css +9 -13
  48. package/src/components/header.native.css +5 -10
  49. package/src/components/kitchensink.css +2 -2
  50. package/src/components/layout.common.css +2 -2
  51. package/src/components/layout.css +1 -1
  52. package/src/components/layout.native.css +1 -0
  53. package/src/components/loader.common.css +7 -0
  54. package/src/components/loader.css +3 -1
  55. package/src/components/loader.native.css +5 -0
  56. package/src/components/modal.common.css +3 -4
  57. package/src/components/modal.css +10 -10
  58. package/src/components/modal.native.css +5 -5
  59. package/src/components/nav.common.css +18 -18
  60. package/src/components/nav.native.css +4 -6
  61. package/src/components/notification-banner.common.css +3 -3
  62. package/src/components/notification-banner.css +20 -2
  63. package/src/components/pagination.css +19 -3
  64. package/src/components/panel.common.css +26 -26
  65. package/src/components/panel.native.css +8 -2
  66. package/src/components/phase-banner.common.css +1 -1
  67. package/src/components/phase-banner.native.css +0 -1
  68. package/src/components/postcss.config.js +7 -6
  69. package/src/components/radios.common.css +1 -1
  70. package/src/components/radios.native.css +2 -3
  71. package/src/components/skeleton.common.css +20 -0
  72. package/src/components/skeleton.css +7 -10
  73. package/src/components/skeleton.native.css +53 -0
  74. package/src/components/stack.common.css +67 -0
  75. package/src/components/stack.css +23 -21
  76. package/src/components/stack.native.css +68 -0
  77. package/src/components/stepnav.css +3 -2
  78. package/src/components/summary-list.common.css +6 -5
  79. package/src/components/summary-list.css +3 -3
  80. package/src/components/summary-list.native.css +5 -1
  81. package/src/components/svg-icons.common.css +1 -1
  82. package/src/components/svg-icons.native.css +2 -3
  83. package/src/components/table.css +25 -12
  84. package/src/components/tabs.css +0 -1
  85. package/src/components/task-list.css +7 -12
  86. package/src/components/test.css +2 -2
  87. package/src/components/timeline.css +15 -16
  88. package/src/components/typography.common.css +2 -5
  89. package/src/components/typography.css +10 -18
  90. package/src/components/typography.native.css +31 -0
  91. package/src/components/warning-text.common.css +1 -1
  92. package/src/components/warning-text.css +5 -6
  93. package/src/index.native.css +5 -0
  94. package/src/utilities/gap.css +1 -1
  95. package/src/utilities/index.css +6 -6
  96. package/src/utilities/index.native.css +6 -6
  97. package/src/utilities/layout.css +1 -1
  98. package/src/utilities/layout.native.css +1 -1
  99. package/src/utilities/margin.css +35 -35
  100. package/src/utilities/padding.css +1 -1
  101. package/src/utilities/postcss.config.js +7 -6
  102. package/src/utilities/print.css +1 -1
  103. package/src/utilities/utilities.css +3 -4
  104. package/tailwind.config.js +102 -106
  105. package/theming.js +121 -0
  106. package/defaultTheme/accordion.json +0 -16
  107. package/defaultTheme/back-to-top.json +0 -27
  108. package/defaultTheme/brandConfig.json +0 -147
  109. package/defaultTheme/breadcrumbs.json +0 -8
  110. package/defaultTheme/button.json +0 -94
  111. package/defaultTheme/card.json +0 -23
  112. package/defaultTheme/form.json +0 -132
  113. package/defaultTheme/globals.json +0 -81
  114. package/defaultTheme/index.js +0 -27
  115. package/defaultTheme/layout.json +0 -55
  116. package/defaultTheme/misc.json +0 -68
  117. package/defaultTheme/panel.json +0 -48
  118. package/defaultTheme/phase-banner.json +0 -8
  119. package/defaultTheme/radios.json +0 -8
  120. package/defaultTheme/summary-list.json +0 -8
  121. package/defaultTheme/typography.json +0 -295
  122. package/themes.plugin.js +0 -148
@@ -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-4 md:mb-8;
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-4 md:mb-8 pt-1 mx-0;
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,16 @@
3
3
 
4
4
  @layer utilities {
5
5
  .util-summary-list {
6
- @apply m-0 mb-4 md:mb-8 w-full sm:w-full;
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 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;
15
16
  }
16
17
  .util-summary-list__key {
17
18
  @apply mb-1 sm:w-3/12;
@@ -25,7 +26,7 @@
25
26
  .util-summary-list__actions {
26
27
  @apply sm:w-3/12 sm:pr-0 sm:text-right;
27
28
  }
28
-
29
+
29
30
  .util-summary-list__key--sm-3 {
30
31
  @apply sm:w-3/12;
31
32
  }
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .ds-summary-list__row {
29
- @apply block util-summary-list__row;
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 util-summary-list__row gap-y-2;
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;
@@ -53,4 +53,4 @@
53
53
  .util-svg-icon--xl {
54
54
  @apply h-10 w-10 !important;
55
55
  }
56
- }
56
+ }
@@ -2,8 +2,7 @@
2
2
 
3
3
  .ds-svg-icon {
4
4
  @apply util-svg-icon;
5
- flex-direction:'row';
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
+ }
@@ -1,20 +1,20 @@
1
1
  .ds-table__caption {
2
- @apply table-caption text-left font-bold mx-0 antialiased;
2
+ @apply table-caption text-left font-bold;
3
3
  &.ds-table__caption--sm {
4
- @apply text-lg md:text-xl mb-3 md:mb-5;
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-xl md:text-2xl mb-6 md:mb-8;
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 text-2xl md:text-4xl mb-8 md:mb-10;
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 text-3xl md:text-5xl md:leading-tight leading-tight mb-8 md:mb-10 max-w-2xl;
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-4 md:mb-8;
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
- mb-4 md:mb-8 text-base-content text-base md:text-lg font-normal antialiased;
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,
@@ -81,9 +81,12 @@
81
81
  .ds-table__header,
82
82
  .ds-table__cell {
83
83
  &:last-child {
84
- @apply border-b-2;
85
- border-bottom-color: rgb(var(--color-base-content-rgb));
84
+ @apply border-b-2 border-b-base-content;
86
85
  }
86
+ }
87
+ .ds-table__header--numeric,
88
+ .ds-table__cell--numeric {
89
+ @apply text-left;
87
90
  }
88
91
  .ds-table__head {
89
92
  .ds-table__header {
@@ -98,6 +101,7 @@
98
101
  @apply block font-semibold mb-2;
99
102
  content: attr(data-label);
100
103
  }
104
+
101
105
  }
102
106
  &.ds-table--stacked-sm {
103
107
  @media (min-width: 640px) {
@@ -108,9 +112,13 @@
108
112
  .ds-table__header,
109
113
  .ds-table__cell {
110
114
  &:last-child {
111
- @apply border-b-2 sm:border-b border-b-base-content sm:border-b-base-300;
115
+ @apply xsOnly:border-b-2 xsOnly:border-b-base-content;
112
116
  }
113
117
  }
118
+ .ds-table__header--numeric,
119
+ .ds-table__cell--numeric {
120
+ @apply xsOnly:text-left;
121
+ }
114
122
  .ds-table__head {
115
123
  .ds-table__header {
116
124
  @apply hidden sm:table-cell;
@@ -134,9 +142,14 @@
134
142
  .ds-table__header,
135
143
  .ds-table__cell {
136
144
  &:last-child {
137
- @apply border-b-2 md:border-b border-b-base-content md:border-b-base-300;
145
+ @apply xsOnly:border-b-2 smOnly:border-b-2
146
+ xsOnly:border-b-base-content smOnly:border-b-base-content;
138
147
  }
139
148
  }
149
+ .ds-table__header--numeric,
150
+ .ds-table__cell--numeric {
151
+ @apply smOnly:text-left mdOnly:text-left;
152
+ }
140
153
  .ds-table__head {
141
154
  .ds-table__header {
142
155
  @apply hidden md:table-cell;
@@ -1,5 +1,4 @@
1
1
  .ds-tabs {
2
- @apply mb-4 md:mb-8;
3
2
  scroll-behavior: smooth;
4
3
  &.ds-tabs--dense,
5
4
  .ds-dense & {
@@ -1,26 +1,20 @@
1
1
  .ds-task-list {
2
- @apply mb-4 md:mb-8 pl-6 pb-2;
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-10 md:mb-12;
5
+ @apply mb-8 md:mb-10;
12
6
  }
13
7
  .ds-task-list__heading {
14
- @apply text-2xl md:text-3xl font-bold mx-0 mb-3 md:mb-6;
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 text-xl md:text-2xl mb-2 md:mb-4;
10
+ @apply md:text-2xl text-xl md:mb-4 mb-2;
17
11
  }
18
12
  &.ds-task-list__heading--sm {
19
- @apply text-base md:text-lg mb-1 md:mb-3;
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-2 md:mb-4;
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
  }
@@ -3,5 +3,5 @@
3
3
  }
4
4
 
5
5
  .ds-button:focus {
6
- @apply ds-underline;
7
- }
6
+ @apply ds-underline;
7
+ }
@@ -1,10 +1,10 @@
1
1
  .ds-timeline {
2
- @apply mb-4 md:mb-8 pl-6 pb-2 border-l-4 border-secondary;
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-3 md:mb-6;
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 text-2xl md:text-3xl font-bold mx-0 mb-3 md:mb-6 relative;
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
- &.ds-timeline__heading--md {
30
- @apply text-xl md:text-2xl mb-2 md:mb-4;
31
- &::before {
32
- @apply top-3 w-3;
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
- &.ds-timeline__heading--sm {
36
- @apply text-base md:text-lg mb-1 md:mb-3;
37
- &::before {
38
- @apply top-2.5 w-3;
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-2 md:mb-4;
43
+ @apply mb-4;
44
44
  }
45
45
  .ds-timeline__actions {
46
- @apply flex flex-wrap items-center gap-4 mb-0;
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;
@@ -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 {
@@ -115,7 +112,7 @@
115
112
 
116
113
  /* List */
117
114
  .util-list {
118
- @apply md:mb-8 mb-4 text-base-content;
115
+ @apply md:mb-8 mb-4 mt-4 text-base-content;
119
116
  }
120
117
  .util-list-bullet {
121
118
  @apply pl-4;
@@ -60,21 +60,6 @@
60
60
  @apply opacity-70 text-white print:text-base-content;
61
61
  }
62
62
  }
63
- .ds-code {
64
- @apply text-sm sm:text-base bg-base-100;
65
- &.ds-code--attr {
66
- @apply text-info;
67
- }
68
- &.ds-code--string {
69
- @apply text-success;
70
- }
71
- &.ds-code--keyword {
72
- @apply text-warning;
73
- }
74
- &.ds-code--name {
75
- @apply text-tertiary;
76
- }
77
- }
78
63
  .ds-\!-font-size-14 {
79
64
  @apply text-xs md:text-sm !important;
80
65
  }
@@ -106,7 +91,7 @@
106
91
  @apply util-font-weight-bold-text;
107
92
  }
108
93
  .ds-list {
109
- @apply list-none list-outside mb-4 md:mb-8 text-base-content;
94
+ @apply list-none list-outside md:mb-8 mb-4 text-base-content;
110
95
  font-size: var(--list-font-size);
111
96
  line-height: var(--list-line-height);
112
97
  &.ds-list--bullet {
@@ -129,6 +114,9 @@
129
114
  &:last-child {
130
115
  @apply mb-0;
131
116
  }
117
+ > button.ds-link:only-child {
118
+ display: inline-flex;
119
+ }
132
120
  }
133
121
  }
134
122
  .ds-list__item > .ds-list--bullet:nth-child(1) {
@@ -143,7 +131,7 @@
143
131
  @apply pl-10;
144
132
  }
145
133
  .ds-list__item > .ds-list {
146
- @apply mb-0;
134
+ @apply mb-0 mt-2;
147
135
  }
148
136
  .ds-list--spaced:not(.ds-list--horizontal) > .ds-list__item {
149
137
  @apply mb-4;
@@ -174,7 +162,7 @@
174
162
  }
175
163
 
176
164
  .ds-link {
177
- @apply focus:text-link-active util-link util-link-text cursor-pointer;
165
+ @apply focus:text-link-active util-link util-link-text cursor-pointer text-left;
178
166
  letter-spacing: var(--link-letter-spacing);
179
167
  &:hover {
180
168
  text-decoration-thickness: 2px;
@@ -191,6 +179,9 @@
191
179
  &.ds-link--no-underline {
192
180
  @apply no-underline hover:underline;
193
181
  }
182
+ &.ds-link-warning {
183
+ color: var(--color-error-text);
184
+ }
194
185
  .ds-heading-xl &,
195
186
  .ds-heading-lg &,
196
187
  .ds-heading-md &,
@@ -278,6 +269,7 @@
278
269
  }
279
270
  }
280
271
  button.ds-link {
272
+ @apply text-left;
281
273
  .ds-svg-icon {
282
274
  @apply ml-1;
283
275
  }
@@ -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 {
@@ -4,7 +4,7 @@
4
4
 
5
5
  @layer utilities {
6
6
  .util-warning-text {
7
- @apply flex pb-0 mb-4 md:mb-8;
7
+ @apply flex;
8
8
  }
9
9
  .util-warning-text-text {
10
10
  font-size: var(--warning-text-font-size);
@@ -5,7 +5,6 @@
5
5
  font-size: var(--warning-text-font-size);
6
6
  &.ds-warning-text--dense,
7
7
  .ds-dense & {
8
- @apply mb-3 md:mb-6;
9
8
  .ds-warning-text__icon {
10
9
  @apply mr-4 md:mr-5;
11
10
  }
@@ -18,9 +17,9 @@
18
17
  .ds-warning-text__content {
19
18
  @apply flex items-center;
20
19
  }
21
- .ds-warning-text__assistive {
22
- @apply absolute w-px h-px m-0 p-0 border-0 overflow-hidden whitespace-nowrap !important;
23
- clip: rect(0 0 0 0) !important;
24
- clip-path: inset(50%) !important;
25
- }
20
+ }
21
+ .ds-warning-text__assistive {
22
+ @apply absolute w-px h-px m-0 p-0 border-0 overflow-hidden whitespace-nowrap !important;
23
+ clip: rect(0 0 0 0) !important;
24
+ clip-path: inset(50%) !important;
26
25
  }
@@ -19,3 +19,8 @@
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';
24
+ @import './components/chip.native';
25
+ @import './components/skeleton.native';
26
+ @import './components/accordion.native';
@@ -138,4 +138,4 @@
138
138
  }
139
139
  .ds-gap-xl-12 {
140
140
  @apply xl:gap-12;
141
- }
141
+ }
@@ -1,6 +1,6 @@
1
- @import "./layout.css";
2
- @import "./gap.css";
3
- @import "./margin.css";
4
- @import "./padding.css";
5
- @import "./margin.css";
6
- @import "./print.css";
1
+ @import './layout.css';
2
+ @import './gap.css';
3
+ @import './margin.css';
4
+ @import './padding.css';
5
+ @import './margin.css';
6
+ @import './print.css';
@@ -1,6 +1,6 @@
1
- @import "./layout.native.css";
2
- @import "./gap.css";
3
- @import "./margin.css";
4
- @import "./padding.css";
5
- @import "./margin.css";
6
- @import "./print.css";
1
+ @import './layout.native.css';
2
+ @import './gap.css';
3
+ @import './margin.css';
4
+ @import './padding.css';
5
+ @import './margin.css';
6
+ @import './print.css';
@@ -228,4 +228,4 @@
228
228
  .lg\:ds-grid__col-span-12 {
229
229
  @apply col-span-12;
230
230
  }
231
- }
231
+ }