@digigov/css 2.0.0-0c4be34e → 2.0.0-107d908d

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.
@@ -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
  }
@@ -194,6 +179,20 @@
194
179
  &.ds-link--no-underline {
195
180
  @apply no-underline hover:underline;
196
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
+ }
197
196
  .ds-heading-xl &,
198
197
  .ds-heading-lg &,
199
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';