@digigov/css 2.0.0-298cfc51 → 2.0.0-32ae417f

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 (76) hide show
  1. package/dist/components.js +1 -1
  2. package/dist/digigov.css +1 -1
  3. package/package.json +7 -7
  4. package/src/base/index.native.css +0 -2
  5. package/src/components/accordion.common.css +29 -0
  6. package/src/components/accordion.css +32 -10
  7. package/src/components/accordion.native.css +27 -0
  8. package/src/components/autocomplete.css +6 -4
  9. package/src/components/blockquote.common.css +11 -11
  10. package/src/components/blockquote.css +6 -6
  11. package/src/components/blockquote.native.css +4 -2
  12. package/src/components/breadcrumbs.css +1 -1
  13. package/src/components/button.css +1 -1
  14. package/src/components/button.native.css +4 -4
  15. package/src/components/card.common.css +30 -30
  16. package/src/components/card.css +1 -1
  17. package/src/components/checkboxes.common.css +13 -13
  18. package/src/components/checkboxes.native.css +2 -3
  19. package/src/components/chip.common.css +1 -1
  20. package/src/components/chip.css +1 -1
  21. package/src/components/chip.native.css +1 -4
  22. package/src/components/code.css +7 -7
  23. package/src/components/copy-to-clipboard.native.css +2 -4
  24. package/src/components/details.common.css +23 -23
  25. package/src/components/details.css +4 -0
  26. package/src/components/details.native.css +5 -3
  27. package/src/components/drawer.css +0 -3
  28. package/src/components/dropdown.common.css +19 -19
  29. package/src/components/dropdown.native.css +10 -11
  30. package/src/components/filter.css +1 -1
  31. package/src/components/footer.css +8 -7
  32. package/src/components/form.common.css +75 -76
  33. package/src/components/form.css +8 -4
  34. package/src/components/form.native.css +91 -59
  35. package/src/components/header.css +1 -1
  36. package/src/components/layout.common.css +1 -1
  37. package/src/components/layout.native.css +1 -2
  38. package/src/components/loader.common.css +1 -1
  39. package/src/components/loader.native.css +1 -1
  40. package/src/components/modal.common.css +1 -2
  41. package/src/components/modal.css +5 -1
  42. package/src/components/modal.native.css +1 -1
  43. package/src/components/nav.common.css +18 -18
  44. package/src/components/nav.native.css +1 -4
  45. package/src/components/notification-banner.common.css +2 -2
  46. package/src/components/notification-banner.css +20 -2
  47. package/src/components/pagination.css +1 -1
  48. package/src/components/panel.common.css +26 -26
  49. package/src/components/panel.native.css +7 -3
  50. package/src/components/phase-banner.native.css +0 -1
  51. package/src/components/radios.common.css +1 -1
  52. package/src/components/radios.native.css +2 -3
  53. package/src/components/skeleton.common.css +20 -0
  54. package/src/components/skeleton.css +7 -10
  55. package/src/components/skeleton.native.css +53 -0
  56. package/src/components/stack.common.css +1 -1
  57. package/src/components/summary-list.common.css +1 -1
  58. package/src/components/summary-list.css +8 -6
  59. package/src/components/svg-icons.common.css +1 -1
  60. package/src/components/svg-icons.native.css +2 -3
  61. package/src/components/table.css +44 -11
  62. package/src/components/test.css +2 -2
  63. package/src/components/typography.common.css +1 -3
  64. package/src/components/typography.css +15 -17
  65. package/src/components/warning-text.common.css +1 -1
  66. package/src/components/warning-text.css +8 -6
  67. package/src/index.native.css +2 -0
  68. package/src/utilities/gap.css +1 -1
  69. package/src/utilities/index.css +6 -6
  70. package/src/utilities/index.native.css +6 -6
  71. package/src/utilities/layout.css +1 -1
  72. package/src/utilities/layout.native.css +1 -1
  73. package/src/utilities/margin.css +35 -35
  74. package/src/utilities/padding.css +1 -1
  75. package/src/utilities/print.css +1 -1
  76. package/src/utilities/utilities.css +3 -4
@@ -1,22 +1,22 @@
1
1
  @tailwind utilities;
2
2
 
3
3
  @layer utilities {
4
- .util-nav {
5
- @apply relative w-full bg-base-100 text-base-content;
6
- }
4
+ .util-nav {
5
+ @apply relative w-full bg-base-100 text-base-content;
6
+ }
7
7
 
8
- .util-nav__list {
9
- @apply w-full m-0 max-w-5xl flex flex-wrap flex-col;
10
- }
11
- .util-nav__list--full-width {
12
- @apply max-w-none;
13
- }
14
- .util-nav__list-item-badge {
15
- @apply items-center justify-center p-1 bg-error relative bottom-1 rounded-3xl;
16
- min-width: 24px;
17
- min-height: 24px;
18
- }
19
- .util-nav__list-item-badge-text {
20
- @apply text-white text-xs md:text-xs font-semibold no-underline;
21
- }
22
- }
8
+ .util-nav__list {
9
+ @apply w-full m-0 max-w-5xl flex flex-wrap flex-col;
10
+ }
11
+ .util-nav__list--full-width {
12
+ @apply max-w-none;
13
+ }
14
+ .util-nav__list-item-badge {
15
+ @apply items-center justify-center p-1 bg-error relative bottom-1 rounded-3xl;
16
+ min-width: 24px;
17
+ min-height: 24px;
18
+ }
19
+ .util-nav__list-item-badge-text {
20
+ @apply text-white text-xs md:text-xs font-semibold no-underline;
21
+ }
22
+ }
@@ -7,7 +7,6 @@
7
7
  @apply border-b border-base-400;
8
8
  }
9
9
 
10
-
11
10
  .ds-nav__list {
12
11
  @apply util-nav__list;
13
12
  }
@@ -20,10 +19,8 @@
20
19
  }
21
20
  .ds-nav__list--full-width {
22
21
  @apply util-nav__list--full-width;
23
-
24
22
  }
25
23
 
26
-
27
24
  .ds-nav__list-item-badge {
28
25
  @apply util-nav__list-item-badge -ml-5;
29
26
  }
@@ -39,4 +36,4 @@
39
36
  }
40
37
  .ds-nav__list-item--border-bottom {
41
38
  @apply border-b border-base-300 pb-3 px-4;
42
- }
39
+ }
@@ -29,7 +29,7 @@
29
29
  print:text-base-content print:pt-2;
30
30
  }
31
31
  .util-notification-banner__content {
32
- @apply bg-base-100 p-4 md:p-5;
32
+ @apply bg-base-100 px-4 py-4 md:px-5 md:py-5;
33
33
  }
34
34
  .util-notification-banner__content-text {
35
35
  @apply text-base-content;
@@ -43,4 +43,4 @@
43
43
  .util-notification-banner_link--error-text {
44
44
  @apply text-error;
45
45
  }
46
- }
46
+ }
@@ -1,7 +1,7 @@
1
1
  @import './notification-banner.common.css';
2
2
 
3
3
  .ds-notification-banner {
4
- @apply util-notification-banner util-notification-banner-text ;
4
+ @apply util-notification-banner util-notification-banner-text;
5
5
  border-radius: var(--notification-banner-border-radius);
6
6
  &.ds-notification-banner--dense,
7
7
  .ds-dense & {
@@ -24,7 +24,8 @@
24
24
  }
25
25
  }
26
26
  }
27
- &.ds-notification-banner--error {
27
+ &.ds-notification-banner--error,
28
+ &.ds-notification-banner--error-group {
28
29
  @apply util-notification-banner--error;
29
30
  .ds-notification-banner__link {
30
31
  &:link:not(:focus) {
@@ -32,6 +33,23 @@
32
33
  }
33
34
  }
34
35
  }
36
+ &.ds-notification-banner--error-group {
37
+ @apply border-0 border-l-5;
38
+ .ds-notification-error-group-banner__content {
39
+ @apply flex gap-3 w-full p-3 md:p-4 bg-base-200 print:bg-white;
40
+ .ds-notification-banner__icon--error-group {
41
+ @apply text-base-content-invert font-bold bg-error text-3xl leading-10 text-center
42
+ rounded-3xl md:min-h-10 min-w-10 h-fit
43
+ print:bg-white print:border-2 print:border-base-content print:text-base-content;
44
+ }
45
+ }
46
+ .ds-notification-banner__text-error-group {
47
+ @apply mt-1;
48
+ .ds-list {
49
+ @apply mb-2;
50
+ }
51
+ }
52
+ }
35
53
  }
36
54
  .ds-notification-banner__header {
37
55
  @apply text-white p-0 m-0 text-base md:text-lg
@@ -1,5 +1,5 @@
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
3
  gap-y-2 md:gap-y-4 gap-x-6 mb-4 md:mb-8;
4
4
  &.ds-pagination--sm {
5
5
  .ds-pagination__label,
@@ -1,30 +1,30 @@
1
1
  @tailwind utilities;
2
2
 
3
3
  @layer utilities {
4
- .util-panel {
5
- @apply mb-4 p-8 border-5 border-transparent
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
- 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
- }
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
+ }
@@ -14,9 +14,13 @@
14
14
  }
15
15
  .ds-panel__title__text {
16
16
  @apply util-panel-text util-panel__title-text;
17
- line-height: calc(var(--panel__title-line-height) * var(--panel__title-font-size));
17
+ line-height: calc(
18
+ var(--panel__title-line-height) * var(--panel__title-font-size)
19
+ );
18
20
  }
19
21
  .ds-panel__body__text {
20
22
  @apply util-panel-text util-panel__body-text;
21
- line-height: calc(var(--panel__body-line-height) * var(--panel__body-font-size));
22
- }
23
+ line-height: calc(
24
+ var(--panel__body-line-height) * var(--panel__body-font-size)
25
+ );
26
+ }
@@ -28,4 +28,3 @@
28
28
  @apply util-phase-banner__text;
29
29
  font-size: var(--phase-banner__content-font-size);
30
30
  }
31
-
@@ -13,4 +13,4 @@
13
13
  height: 40px;
14
14
  border: 2px solid currentcolor;
15
15
  }
16
- }
16
+ }
@@ -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: 0rem;
24
- }
22
+ letter-spacing: 0;
23
+ }
@@ -0,0 +1,20 @@
1
+ @tailwind utilities;
2
+
3
+ @layer utilities {
4
+ .util-skeleton {
5
+ @apply bg-base-300 w-full max-w-full;
6
+ }
7
+ .util-skeleton--circular {
8
+ @apply rounded-full;
9
+ }
10
+ .util-skeleton--rectangular {
11
+ @apply h-4;
12
+ }
13
+ .util-skeleton--button {
14
+ @apply mb-8 min-h-10 md:min-h-12 px-6
15
+ border-b-2 border-gray-400 flex items-center justify-center;
16
+ }
17
+ .util-skeleton__line {
18
+ @apply bg-base-400 w-full max-w-full max-h-full;
19
+ }
20
+ }
@@ -1,9 +1,8 @@
1
- .ds-skeleton {
2
- @apply block bg-base-300 h-auto w-full max-w-full rounded-sm;
1
+ @import './skeleton.common.css';
3
2
 
4
- /* max-width: 105ch; */
3
+ .ds-skeleton {
4
+ @apply util-skeleton block h-auto rounded-sm;
5
5
  &.ds-skeleton--text {
6
- /* @apply text-lg; */
7
6
  &::before {
8
7
  content: '\00a0';
9
8
  visibility: hidden;
@@ -26,16 +25,15 @@
26
25
  }
27
26
  }
28
27
  &.ds-skeleton--circular {
29
- border-radius: 50%;
28
+ @apply util-skeleton--circular;
30
29
  }
31
30
  &.ds-skeleton--rectangular {
31
+ @apply util-skeleton--rectangular;
32
32
  }
33
33
  &.ds-skeleton--button {
34
- @apply mb-8 w-fit min-h-10 md:min-h-12 px-6 py-3
35
- border-b-2 border-gray-400
36
- flex items-center justify-center;
34
+ @apply util-skeleton--button py-3 w-fit;
37
35
  .ds-skeleton__line {
38
- @apply block bg-base-400 w-full max-w-full max-h-full visible;
36
+ @apply util-skeleton__line visible;
39
37
  &::before {
40
38
  content: '\00a0';
41
39
  }
@@ -50,7 +48,6 @@
50
48
  @apply w-fit;
51
49
  }
52
50
  &.ds-skeleton--animate {
53
- /* @apply animate-pulse; */
54
51
  position: relative;
55
52
  overflow: hidden;
56
53
  mask-image: radial-gradient(white, black);
@@ -0,0 +1,53 @@
1
+ @import './skeleton.common.css';
2
+
3
+ .ds-skeleton {
4
+ @apply util-skeleton min-h-8 flex-1 rounded-md;
5
+ }
6
+ .ds-skeleton--text {
7
+ @apply flex-1 h-4;
8
+ }
9
+ .ds-skeleton--font-xs {
10
+ @apply h-4 mb-3 !important;
11
+ }
12
+ .ds-skeleton--font-sm {
13
+ @apply h-6 mb-4 !important;
14
+ }
15
+ .ds-skeleton--font-md {
16
+ @apply h-10 mb-5 !important;
17
+ }
18
+ .ds-skeleton--font-lg {
19
+ @apply h-14 mb-6 !important;
20
+ }
21
+ .ds-skeleton--font-xl {
22
+ @apply h-16 mb-8 !important;
23
+ }
24
+ .ds-skeleton--circular {
25
+ @apply util-skeleton--circular;
26
+ }
27
+ .ds-skeleton--rectangular {
28
+ @apply util-skeleton--rectangular;
29
+ }
30
+ .ds-skeleton--button {
31
+ @apply util-skeleton--button py-6;
32
+ }
33
+ .ds-skeleton__line {
34
+ @apply util-skeleton__line h-4;
35
+ }
36
+ .ds-skeleton__line--size-default {
37
+ @apply h-4 w-36;
38
+ }
39
+ .ds-skeleton--width-fit-content {
40
+ @apply flex-1;
41
+ }
42
+ .ds-skeleton--animate {
43
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
44
+ }
45
+ @keyframes pulse {
46
+ 0%,
47
+ 100% {
48
+ @apply opacity-100;
49
+ }
50
+ 50% {
51
+ @apply opacity-50;
52
+ }
53
+ }
@@ -64,4 +64,4 @@
64
64
  .util-stack--content-space-around {
65
65
  @apply content-around;
66
66
  }
67
- }
67
+ }
@@ -26,7 +26,7 @@
26
26
  .util-summary-list__actions {
27
27
  @apply sm:w-3/12 sm:pr-0 sm:text-right;
28
28
  }
29
-
29
+
30
30
  .util-summary-list__key--sm-3 {
31
31
  @apply sm:w-3/12;
32
32
  }
@@ -4,13 +4,16 @@
4
4
  .ds-summary-list {
5
5
  @apply util-summary-list sm:table sm:table-fixed util-summary-list-text;
6
6
  &.ds-summary-list--no-border {
7
- > .ds-summary-list__row:last-child {
8
- @apply border-b-0 pb-0 mb-0;
7
+ > .ds-summary-list__row {
8
+ @apply border-0 pb-0;
9
+ &:last-child {
10
+ @apply mb-0;
11
+ }
9
12
  }
10
13
  .ds-summary-list__key,
11
14
  .ds-summary-list__value,
12
15
  .ds-summary-list__actions {
13
- @apply sm:border-0 pb-2;
16
+ @apply border-0 pb-0 sm:pb-2;
14
17
  }
15
18
  }
16
19
  &.ds-summary-list--no-last-border {
@@ -26,12 +29,12 @@
26
29
  }
27
30
 
28
31
  .ds-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 ;
32
+ @apply util-summary-list__row sm:flex block pb-4 mb-4 sm:pb-0 sm:mb-0 sm:border-0;
30
33
  &.ds-summary-list__row--no-border {
31
34
  .ds-summary-list__key,
32
35
  .ds-summary-list__value,
33
36
  .ds-summary-list__actions {
34
- @apply sm:border-0 pb-2;
37
+ @apply border-0 pb-0 sm:pb-2;
35
38
  }
36
39
  }
37
40
  }
@@ -118,7 +121,6 @@
118
121
  @apply sm:flex-1;
119
122
  }
120
123
 
121
-
122
124
  /* When there is only one child */
123
125
  .ds-summary-list__key:only-child,
124
126
  .ds-summary-list__value:only-child,
@@ -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
+ }
@@ -27,7 +27,7 @@
27
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
- .ds-table__cell,
30
+ .ds-table__cell.ds-table__cell--border,
31
31
  .ds-table__header {
32
32
  @apply border-l border-r border-solid border-base-300 px-4;
33
33
  }
@@ -79,12 +79,15 @@
79
79
  }
80
80
  &.ds-table--stacked-always {
81
81
  .ds-table__header,
82
- .ds-table__cell {
82
+ .ds-table__cell.ds-table__cell--border {
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
  }
87
86
  }
87
+ .ds-table__header--numeric,
88
+ .ds-table__cell--numeric {
89
+ @apply text-left;
90
+ }
88
91
  .ds-table__head {
89
92
  .ds-table__header {
90
93
  @apply hidden;
@@ -106,11 +109,15 @@
106
109
  }
107
110
  }
108
111
  .ds-table__header,
109
- .ds-table__cell {
112
+ .ds-table__cell.ds-table__cell--border {
110
113
  &:last-child {
111
- @apply border-b-2 sm:border-b border-b-base-content sm:border-b-base-300;
114
+ @apply xsOnly:border-b-2 xsOnly:border-b-base-content;
112
115
  }
113
116
  }
117
+ .ds-table__header--numeric,
118
+ .ds-table__cell--numeric {
119
+ @apply xsOnly:text-left;
120
+ }
114
121
  .ds-table__head {
115
122
  .ds-table__header {
116
123
  @apply hidden sm:table-cell;
@@ -132,11 +139,16 @@
132
139
  }
133
140
  }
134
141
  .ds-table__header,
135
- .ds-table__cell {
142
+ .ds-table__cell.ds-table__cell--border {
136
143
  &:last-child {
137
- @apply border-b-2 md:border-b border-b-base-content md:border-b-base-300;
144
+ @apply xsOnly:border-b-2 smOnly:border-b-2
145
+ xsOnly:border-b-base-content smOnly:border-b-base-content;
138
146
  }
139
147
  }
148
+ .ds-table__header--numeric,
149
+ .ds-table__cell--numeric {
150
+ @apply smOnly:text-left mdOnly:text-left;
151
+ }
140
152
  .ds-table__head {
141
153
  .ds-table__header {
142
154
  @apply hidden md:table-cell;
@@ -151,6 +163,16 @@
151
163
  content: attr(data-label);
152
164
  }
153
165
  }
166
+ &.ds-table--align-top {
167
+ .ds-table__cell {
168
+ @apply align-top;
169
+ }
170
+ }
171
+ &.ds-table--align-bottom {
172
+ .ds-table__cell {
173
+ @apply align-bottom;
174
+ }
175
+ }
154
176
  .ds-table__cell {
155
177
  .ds-body:last-child {
156
178
  @apply mb-0;
@@ -174,7 +196,7 @@
174
196
  @apply border-r border-solid border-base-300 px-4 !important;
175
197
  }
176
198
  }
177
- .ds-table__cell {
199
+ .ds-table__cell.ds-table__cell--border {
178
200
  @apply border-r-0 !important;
179
201
  &:last-child {
180
202
  @apply border-r border-solid border-base-300 px-4 !important;
@@ -212,13 +234,24 @@
212
234
  }
213
235
  }
214
236
  }
215
- .ds-table__header,
216
- .ds-table__cell {
237
+ .ds-table__header {
217
238
  @apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
218
239
  &:last-child {
219
240
  @apply pr-0;
220
241
  }
221
242
  }
243
+ .ds-table__cell {
244
+ @apply pr-5 py-2.5 pl-0 text-left align-middle;
245
+ &:last-child {
246
+ @apply pr-0;
247
+ }
248
+ &.ds-table__cell--border {
249
+ @apply border-b border-solid border-base-300;
250
+ }
251
+ &.ds-table__cell--break-all {
252
+ @apply break-all;
253
+ }
254
+ }
222
255
  .ds-table__header--numeric,
223
256
  .ds-table__cell--numeric {
224
257
  @apply text-right;
@@ -3,5 +3,5 @@
3
3
  }
4
4
 
5
5
  .ds-button:focus {
6
- @apply ds-underline;
7
- }
6
+ @apply ds-underline;
7
+ }
@@ -112,9 +112,7 @@
112
112
 
113
113
  /* List */
114
114
  .util-list {
115
- @apply mt-4;
116
-
117
- @apply md:mb-8 mb-4 text-base-content;
115
+ @apply md:mb-8 mb-4 mt-4 text-base-content;
118
116
  }
119
117
  .util-list-bullet {
120
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,8 +91,7 @@
106
91
  @apply util-font-weight-bold-text;
107
92
  }
108
93
  .ds-list {
109
- @apply list-none list-outside mt-4;
110
- @apply md:mb-8 mb-4 text-base-content;
94
+ @apply list-none list-outside md:mb-8 mb-4 text-base-content;
111
95
  font-size: var(--list-font-size);
112
96
  line-height: var(--list-line-height);
113
97
  &.ds-list--bullet {
@@ -195,6 +179,20 @@
195
179
  &.ds-link--no-underline {
196
180
  @apply no-underline hover:underline;
197
181
  }
182
+ &.ds-link--disabled {
183
+ @apply cursor-not-allowed !important;
184
+ color: var(--color-base-content);
185
+ &:hover {
186
+ color: var(--color-base-content);
187
+ }
188
+ }
189
+ &.ds-link-warning {
190
+ @apply focus:text-link-active;
191
+ color: var(--color-error-text);
192
+ &:hover {
193
+ color: var(--color-error-hover);
194
+ }
195
+ }
198
196
  .ds-heading-xl &,
199
197
  .ds-heading-lg &,
200
198
  .ds-heading-md &,
@@ -4,7 +4,7 @@
4
4
 
5
5
  @layer utilities {
6
6
  .util-warning-text {
7
- @apply flex pb-0;
7
+ @apply flex;
8
8
  }
9
9
  .util-warning-text-text {
10
10
  font-size: var(--warning-text-font-size);
@@ -1,5 +1,7 @@
1
+ @import './warning-text.common.css';
2
+
1
3
  .ds-warning-text {
2
- @apply flex py-4 px-0;
4
+ @apply util-warning-text py-4 px-0;
3
5
  font-size: var(--warning-text-font-size);
4
6
  &.ds-warning-text--dense,
5
7
  .ds-dense & {
@@ -15,9 +17,9 @@
15
17
  .ds-warning-text__content {
16
18
  @apply flex items-center;
17
19
  }
18
- .ds-warning-text__assistive {
19
- @apply absolute w-px h-px m-0 p-0 border-0 overflow-hidden whitespace-nowrap !important;
20
- clip: rect(0 0 0 0) !important;
21
- clip-path: inset(50%) !important;
22
- }
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;
23
25
  }
@@ -22,3 +22,5 @@
22
22
  @import './components/loader.native';
23
23
  @import './components/stack.native';
24
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
+ }