@digigov/css 2.0.0-b3ec0588 → 2.0.0-d57821ba

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 (82) hide show
  1. package/defaultTheme/accordion.json +8 -0
  2. package/defaultTheme/brandConfig.json +14 -2
  3. package/defaultTheme/button.json +9 -0
  4. package/defaultTheme/card.json +16 -5
  5. package/defaultTheme/form.json +15 -0
  6. package/defaultTheme/globals.json +11 -1
  7. package/defaultTheme/index.js +1 -1
  8. package/defaultTheme/layout.json +55 -0
  9. package/defaultTheme/misc.json +20 -0
  10. package/defaultTheme/panel.json +5 -0
  11. package/defaultTheme/typography.json +12 -12
  12. package/dist/base/index.css +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/components.js +1 -1
  15. package/dist/digigov.css +3 -3
  16. package/dist/utilities/index.css +1 -1
  17. package/dist/utilities.js +1 -1
  18. package/package.json +9 -5
  19. package/src/base/base.css +1 -1
  20. package/src/base/index.css +5 -5
  21. package/src/components/accordion.css +56 -53
  22. package/src/components/admin-header.css +2 -19
  23. package/src/components/admin-layout.css +13 -22
  24. package/src/components/autocomplete.css +89 -46
  25. package/src/components/back-to-top.css +3 -4
  26. package/src/components/bottom-info.css +2 -1
  27. package/src/components/breadcrumbs.css +16 -7
  28. package/src/components/button.css +49 -48
  29. package/src/components/card.css +63 -50
  30. package/src/components/checkboxes.css +20 -23
  31. package/src/components/chip.css +28 -29
  32. package/src/components/code.css +136 -0
  33. package/src/components/components.css +2 -2
  34. package/src/components/copy-to-clipboard.css +27 -26
  35. package/src/components/details.css +11 -9
  36. package/src/components/dev-theme.css +2 -3
  37. package/src/components/drawer.css +46 -47
  38. package/src/components/dropdown.css +57 -46
  39. package/src/components/experimental.css +12 -12
  40. package/src/components/fillable.css +4 -4
  41. package/src/components/filter.css +10 -15
  42. package/src/components/footer.css +35 -21
  43. package/src/components/form.css +56 -43
  44. package/src/components/full-page-background.css +1 -1
  45. package/src/components/header.css +40 -35
  46. package/src/components/hidden.css +17 -17
  47. package/src/components/index.css +48 -47
  48. package/src/components/kitchensink.css +33 -33
  49. package/src/components/layout.css +34 -36
  50. package/src/components/loader.css +28 -28
  51. package/src/components/masthead.css +56 -55
  52. package/src/components/misc.css +37 -15
  53. package/src/components/modal.css +21 -14
  54. package/src/components/nav.css +72 -65
  55. package/src/components/notification-banner.css +18 -16
  56. package/src/components/pagination.css +29 -30
  57. package/src/components/panel.css +9 -8
  58. package/src/components/phase-banner.css +5 -5
  59. package/src/components/radios.css +24 -21
  60. package/src/components/skeleton.css +85 -0
  61. package/src/components/skiplink.css +2 -2
  62. package/src/components/stack.css +63 -63
  63. package/src/components/stepnav.css +33 -29
  64. package/src/components/summary-list.css +30 -16
  65. package/src/components/svg-icons.css +78 -77
  66. package/src/components/table.css +159 -178
  67. package/src/components/tabs.css +51 -67
  68. package/src/components/task-list.css +18 -18
  69. package/src/components/timeline.css +4 -3
  70. package/src/components/typography.css +87 -107
  71. package/src/components/warning-text.css +7 -7
  72. package/src/pages/index.js +1 -1
  73. package/src/utilities/index.css +1407 -164
  74. package/src/utilities/utilities.css +1305 -189
  75. package/tailwind.config.js +2 -0
  76. package/defaultTheme/footer.json +0 -8
  77. package/src/pages/admin-filtering-data.js +0 -160
  78. package/src/pages/admin.js +0 -61
  79. package/src/pages/dropdown.js +0 -249
  80. package/src/pages/form.js +0 -400
  81. package/src/pages/pagination.js +0 -124
  82. package/src/pages/table.js +0 -308
@@ -1,62 +1,59 @@
1
1
  .ds-nav {
2
2
  @apply relative block w-full h-auto bg-base-100 text-base-content;
3
- /* .ds-nav__list {
4
- @apply px-3;
5
- } */
6
- .ds-nav__list-item-link,
7
- .ds-nav__list-item-btn {
8
- @apply md:no-underline !important;
3
+ &.ds-nav--hidden {
4
+ @apply hidden;
9
5
  }
10
- }
11
- .ds-nav--hidden {
12
- @apply hidden;
13
- }
14
- .ds-nav--drawer {
15
- @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4;
16
- @apply shadow-thick !important;
17
- .ds-nav__list--horizontal {
18
- @apply px-0;
6
+ &.ds-nav--drawer {
7
+ @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4;
8
+ @apply shadow-thick !important;
9
+ .ds-nav__list--horizontal {
10
+ @apply px-0;
11
+ }
19
12
  }
20
- }
21
- .ds-nav--drawer-smDown {
22
- @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
13
+ &.ds-nav--drawer-smDown {
14
+ @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
23
15
  sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible sm:p-0;
24
- @apply shadow-thick sm:shadow-none !important;
25
- .ds-nav__list--horizontal {
26
- @apply px-0 sm:px-4;
16
+ @apply shadow-thick sm:shadow-none !important;
17
+ .ds-nav__list--horizontal {
18
+ @apply px-0 sm:px-4;
19
+ }
27
20
  }
28
- }
29
- .ds-nav--drawer-mdDown {
30
- @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
21
+ &.ds-nav--drawer-mdDown {
22
+ @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
31
23
  md:relative md:block md:w-full md:h-auto md:z-auto md:top-auto md:overflow-visible md:p-0;
32
- @apply shadow-thick md:shadow-none !important;
33
- .ds-nav__list--horizontal {
34
- @apply px-0 md:px-4;
24
+ @apply shadow-thick md:shadow-none !important;
25
+ .ds-nav__list--horizontal {
26
+ @apply px-0 md:px-4;
27
+ }
35
28
  }
36
- }
37
29
 
38
- .ds-nav--drawer-lgDown {
39
- @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
30
+ &.ds-nav--drawer-lgDown {
31
+ @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
40
32
  lg:relative lg:block lg:w-full lg:h-auto lg:z-auto lg:top-auto lg:overflow-visible lg:p-0;
41
- @apply shadow-thick lg:shadow-none !important;
42
- .ds-nav__list--horizontal {
43
- @apply px-0 lg:px-4;
33
+ @apply shadow-thick lg:shadow-none !important;
34
+ .ds-nav__list--horizontal {
35
+ @apply px-0 lg:px-4;
36
+ }
37
+ }
38
+ &.ds-nav--border {
39
+ @apply sm:border-b sm:border-base-400;
40
+ }
41
+ .ds-nav__list-item-link,
42
+ .ds-nav__list-item-btn {
43
+ @apply md:no-underline !important;
44
44
  }
45
- }
46
- .ds-nav--border {
47
- @apply sm:border-b sm:border-base-400;
48
45
  }
49
46
  .ds-nav__list {
50
47
  @apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
51
- }
52
- .ds-nav__list--horizontal {
53
- @apply sm:mx-auto sm:gap-x-6 sm:py-1 px-4 sm:flex-row;
54
- .ds-nav__list-item {
55
- @apply sm:gap-x-6;
48
+ &.ds-nav__list--horizontal {
49
+ @apply sm:mx-auto sm:gap-x-6 sm:py-1 px-4 sm:flex-row;
50
+ .ds-nav__list-item {
51
+ @apply sm:gap-x-6;
52
+ }
53
+ }
54
+ &.ds-nav__list--full-width {
55
+ @apply max-w-none;
56
56
  }
57
- }
58
- .ds-nav__list--full-width {
59
- @apply max-w-none;
60
57
  }
61
58
  .ds-nav__list-item {
62
59
  @apply text-base-content font-normal py-1;
@@ -66,7 +63,9 @@
66
63
  @apply text-left;
67
64
  &:focus {
68
65
  @apply bg-focus text-base-content outline-none;
69
- box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
66
+ box-shadow:
67
+ 0 -2px var(--color-focus),
68
+ 0 4px var(--color-base-content);
70
69
  }
71
70
  &:hover:not(:focus) {
72
71
  @apply underline !important;
@@ -78,30 +77,37 @@
78
77
  @apply font-semibold;
79
78
  }
80
79
 
80
+ .ds-nav__list-item-badge {
81
+ @apply inline-flex w-fit items-center justify-center p-1 ml-2
82
+ bg-error text-white text-xs md:text-xs font-semibold no-underline rounded-3xl
83
+ relative bottom-1;
84
+ min-width: 24px;
85
+ min-height: 24px;
86
+ }
81
87
  .ds-nav-menu {
82
88
  @apply flex w-full;
83
- }
84
- .ds-nav-menu--hidden {
85
- @apply hidden;
86
- }
87
- .ds-nav-menu--horizontal {
88
- @apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
89
- .ds-nav-menu__content-list {
90
- @apply sm:grid-rows-1 sm:grid-cols-3;
91
- }
92
- .ds-nav-menu__title {
93
- @apply hidden sm:block;
94
- + .ds-nav-menu__content > .ds-nav-menu__content-list {
95
- @apply sm:grid-cols-2;
96
- }
97
- }
98
- }
99
- .ds-nav-menu--vertical {
100
- .ds-nav-menu__title {
89
+ &.ds-nav-menu--hidden {
101
90
  @apply hidden;
102
91
  }
103
- .ds-nav-menu__content-list {
104
- @apply py-2 sm:py-4;
92
+ &.ds-nav-menu--horizontal {
93
+ @apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
94
+ .ds-nav-menu__content-list {
95
+ @apply sm:grid-rows-1 sm:grid-cols-3;
96
+ }
97
+ .ds-nav-menu__title {
98
+ @apply hidden sm:block;
99
+ + .ds-nav-menu__content > .ds-nav-menu__content-list {
100
+ @apply sm:grid-cols-2;
101
+ }
102
+ }
103
+ }
104
+ &.ds-nav-menu--vertical {
105
+ .ds-nav-menu__title {
106
+ @apply hidden;
107
+ }
108
+ .ds-nav-menu__content-list {
109
+ @apply py-2 sm:py-4;
110
+ }
105
111
  }
106
112
  }
107
113
  .ds-nav-menu__content-list {
@@ -121,6 +127,7 @@
121
127
  @apply mb-2 md:mb-0;
122
128
  }
123
129
  }
130
+
124
131
  /* .ds-nav__list,
125
132
  .ds-grid {
126
133
  .ds-drawer__heading {
@@ -1,6 +1,8 @@
1
1
  .ds-notification-banner {
2
2
  @apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
3
- &.ds-notification-banner--dense, .ds-dense & {
3
+ border-radius: var(--notification-banner-border-radius);
4
+ &.ds-notification-banner--dense,
5
+ .ds-dense & {
4
6
  @apply border-4 mb-4 md:mb-5;
5
7
  .ds-notification-banner__title {
6
8
  @apply px-2 sm:px-3 pb-1;
@@ -9,23 +11,23 @@
9
11
  @apply p-3 md:p-4;
10
12
  }
11
13
  }
12
- }
13
- .ds-notification-banner--info {
14
- @apply bg-info border-info;
15
- }
16
- .ds-notification-banner--success {
17
- @apply bg-success border-success;
18
- .ds-notification-banner__link {
19
- &:link:not(:focus) {
20
- @apply text-success;
14
+ &.ds-notification-banner--info {
15
+ @apply bg-info border-info;
16
+ }
17
+ &.ds-notification-banner--success {
18
+ @apply bg-success border-success;
19
+ .ds-notification-banner__link {
20
+ &:link:not(:focus) {
21
+ @apply text-success;
22
+ }
21
23
  }
22
24
  }
23
- }
24
- .ds-notification-banner--error {
25
- @apply bg-error border-error;
26
- .ds-notification-banner__link {
27
- &:link:not(:focus) {
28
- @apply text-error;
25
+ &.ds-notification-banner--error {
26
+ @apply bg-error border-error;
27
+ .ds-notification-banner__link {
28
+ &:link:not(:focus) {
29
+ @apply text-error;
30
+ }
29
31
  }
30
32
  }
31
33
  }
@@ -1,5 +1,11 @@
1
1
  .ds-pagination {
2
2
  @apply flex flex-wrap items-center justify-items-center justify-between;
3
+ &.ds-pagination--sm {
4
+ .ds-pagination__label,
5
+ .ds-pagination__item--current {
6
+ @apply md:text-base text-sm;
7
+ }
8
+ }
3
9
  .ds-pagination__label {
4
10
  @apply md:text-lg text-base;
5
11
  }
@@ -7,12 +13,6 @@
7
13
  @apply md:text-lg text-base;
8
14
  }
9
15
  }
10
- .ds-pagination--sm {
11
- .ds-pagination__label,
12
- .ds-pagination__item--current {
13
- @apply md:text-base text-sm;
14
- }
15
- }
16
16
  .ds-pagination__label {
17
17
  @apply text-base-content md:leading-normal;
18
18
  }
@@ -27,49 +27,48 @@
27
27
  &:last-child {
28
28
  @apply pr-0;
29
29
  }
30
- }
31
- .ds-pagination__item--current,
32
- .ds-pagination__item--dots {
33
- @apply font-bold;
30
+ &.ds-pagination__item--current,
31
+ &.ds-pagination__item--dots {
32
+ @apply font-bold;
33
+ }
34
34
  }
35
35
 
36
36
  /* overrides */
37
37
 
38
38
  .ds-pagination {
39
+ &.ds-pagination--sm {
40
+ .ds-label,
41
+ .ds-select {
42
+ @apply md:text-base text-sm;
43
+ }
44
+ .ds-pagination__list {
45
+ .ds-link {
46
+ @apply md:text-base text-sm !important;
47
+ }
48
+ }
49
+ }
39
50
  .ds-label {
40
51
  @apply text-base-content md:leading-normal flex-row items-center gap-2 md:text-lg text-base;
41
52
  }
42
53
  .ds-select {
43
- text-indent: 0px;
44
54
  @apply flex text-base-content md:leading-normal border md:text-lg text-base;
55
+ text-indent: 0;
45
56
  &:focus {
46
- -webkit-box-shadow: inset 0 0 0 1px;
47
57
  box-shadow: inset 0 0 0 1px;
48
58
  }
49
59
  }
50
60
  }
51
- .ds-pagination--sm {
52
- .ds-label,
53
- .ds-select {
54
- @apply md:text-base text-sm;
55
- }
56
- .ds-pagination__list {
61
+ .ds-pagination__item {
62
+ &.ds-pagination__item--inactive {
57
63
  .ds-link {
58
- @apply md:text-base text-sm !important;
64
+ @apply text-base-800;
65
+ pointer-events: none;
66
+ .ds-svg-icon {
67
+ fill: var(--color-base-800);
68
+ }
59
69
  }
60
70
  }
61
- }
62
- .ds-pagination__item {
63
71
  .ds-link {
64
72
  @apply flex items-center no-underline;
65
73
  }
66
74
  }
67
- .ds-pagination__item--inactive {
68
- .ds-link {
69
- pointer-events: none;
70
- @apply text-base-800;
71
- .ds-svg-icon {
72
- fill: var(--color-base-800);
73
- }
74
- }
75
- }
@@ -2,22 +2,23 @@
2
2
  @apply box-border mb-4 p-8 border-5 border-transparent text-center
3
3
  print:p-4 text-white
4
4
  print:border-4 print:text-base-content print:bg-white;
5
- }
6
- .ds-panel--success {
7
- @apply bg-success print:border-success;
5
+ border-radius: var(--panel-border-radius);
6
+ &.ds-panel--success {
7
+ @apply bg-success print:border-success;
8
+ }
8
9
  }
9
10
  .ds-panel__title {
10
11
  @apply mx-auto mt-0;
11
12
  font-size: var(--panel__title-font-size);
12
- line-height:var(--panel__title-line-height);
13
- margin-bottom:var(--panel__title-margin-bottom);
13
+ line-height: var(--panel__title-line-height);
14
+ margin-bottom: var(--panel__title-margin-bottom);
14
15
  font-weight: var(--panel__title-font-weight);
15
16
  letter-spacing: var(--panel__title-letter-spacing);
16
17
  }
17
18
  .ds-panel__body {
18
19
  @apply break-words;
19
20
  font-size: var(--panel__body-font-size);
20
- line-height:var(--panel__body-line-height);
21
- margin:var(--panel__body-margin);
21
+ line-height: var(--panel__body-line-height);
22
+ margin: var(--panel__body-margin);
22
23
  letter-spacing: var(--panel__body-letter-spacing);
23
- }
24
+ }
@@ -1,4 +1,4 @@
1
- .ds-phase-banner__header {
1
+ .ds-phase-banner-header {
2
2
  @apply bg-focus top-0 z-30
3
3
  print:bg-white print:border-focus print:border-2 print:px-4;
4
4
  .ds-phase-banner {
@@ -7,13 +7,13 @@
7
7
  }
8
8
  .ds-phase-banner {
9
9
  @apply py-2 mb-4;
10
- }
11
- .ds-phase-banner--underline {
12
- @apply border-base-500 border-b;
10
+ &.ds-phase-banner--underline {
11
+ @apply border-base-500 border-b;
12
+ }
13
13
  }
14
14
  .ds-phase-banner__content {
15
- font-size: var(--phase-banner__content-font-size);
16
15
  @apply table;
16
+ font-size: var(--phase-banner__content-font-size);
17
17
  }
18
18
  .ds-phase-banner__tag {
19
19
  @apply px-2 py-1 mr-2 inline-block bg-info font-sans text-white text-sm uppercase tracking-widest
@@ -1,5 +1,6 @@
1
1
  .ds-radios {
2
- &.ds-radios--dense, ds-dense & {
2
+ &.ds-radios--dense,
3
+ ds-dense & {
3
4
  .ds-radios__item {
4
5
  @apply mb-2 pl-9 min-h-8;
5
6
  }
@@ -10,21 +11,17 @@
10
11
  }
11
12
  }
12
13
  }
13
- }
14
- .ds-radios__item {
15
- @apply block relative mb-4 pl-12;
16
- min-height: 40px;
17
- }
18
- .ds-radios--horizontal {
19
- @apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
14
+ &.ds-radios--horizontal {
15
+ @apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
16
+ }
20
17
  }
21
18
  .ds-radios__item {
22
19
  @apply block relative mb-4 pl-12;
23
20
  min-height: 40px;
24
21
  }
25
22
  .ds-radios__label {
26
- font-size: var(--radios__label-font-size);
27
23
  @apply inline-block py-1 px-2 cursor-pointer;
24
+ font-size: var(--radios__label-font-size);
28
25
  }
29
26
  .ds-radios__input {
30
27
  @apply absolute z-1 left-0.5 -top-1 m-0
@@ -33,12 +30,17 @@
33
30
  appearance: none;
34
31
  width: 40px;
35
32
  height: 40px;
36
- border: 2px solid currentColor;
33
+ border: 2px solid currentcolor;
37
34
  border-radius: 50%;
38
35
  &:checked {
39
- box-shadow: inset 0 0 0px 6px var(--color-base-100), inset 0 0 0 20px var(--color-base-content);
36
+ box-shadow:
37
+ inset 0 0 0 6px var(--color-base-100),
38
+ inset 0 0 0 20px var(--color-base-content);
40
39
  &:focus {
41
- box-shadow: 0 0 0 4px var(--color-focus), inset 0 0 0px 4px var(--color-base-100), inset 0 0 0 20px var(--color-base-content);
40
+ box-shadow:
41
+ 0 0 0 4px var(--color-focus),
42
+ inset 0 0 0 4px var(--color-base-100),
43
+ inset 0 0 0 20px var(--color-base-content);
42
44
  }
43
45
  }
44
46
  &:focus {
@@ -49,20 +51,21 @@
49
51
  }
50
52
  }
51
53
  .ds-radios__conditional {
52
- @apply border-l-4 border-base-500 ml-4 pl-6;
54
+ @apply border-l-4 border-base-500 ml-4 pl-6;
53
55
  }
54
56
 
55
57
  /* overrides */
56
-
57
- .ds-radios--horizontal {
58
- .ds-choice-divider-text {
59
- @apply min-w-max mx-2;
60
- }
61
- }
62
58
  .ds-radios {
63
- &.ds-radios--dense, .ds-dense & {
59
+ &.ds-radios--dense,
60
+ .ds-dense & {
64
61
  .ds-field {
65
62
  @apply mb-4 md:mb-6;
66
63
  }
67
64
  }
68
- }
65
+
66
+ &.ds-radios--horizontal {
67
+ .ds-choice-divider-text {
68
+ @apply min-w-max mx-2;
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,85 @@
1
+ .ds-skeleton {
2
+ @apply block bg-base-300 h-auto w-full max-w-full rounded-sm;
3
+
4
+ /* max-width: 105ch; */
5
+ &.ds-skeleton--text {
6
+ /* @apply text-lg; */
7
+ &::before {
8
+ content: '\00a0';
9
+ visibility: hidden;
10
+ }
11
+ &.ds-skeleton--font-xs {
12
+ @apply text-sm md:text-base mb-2 md:mb-4;
13
+ line-height: 1rem;
14
+ }
15
+ &.ds-skeleton--font-sm {
16
+ @apply text-base md:text-lg mb-3 md:mb-5;
17
+ }
18
+ &.ds-skeleton--font-md {
19
+ @apply text-xl md:text-2xl mb-5 md:mb-6;
20
+ }
21
+ &.ds-skeleton--font-lg {
22
+ @apply text-2xl md:text-3xl mb-6 md:mb-7;
23
+ }
24
+ &.ds-skeleton--font-xl {
25
+ @apply text-3xl md:text-4xl mb-8 md:mb-10;
26
+ }
27
+ }
28
+ &.ds-skeleton--circular {
29
+ border-radius: 50%;
30
+ }
31
+ &.ds-skeleton--rectangular {
32
+ }
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;
37
+ .ds-skeleton__line {
38
+ @apply block bg-base-400 w-full max-w-full max-h-full visible;
39
+ &::before {
40
+ content: '\00a0';
41
+ }
42
+ &.ds-skeleton__line--size-default {
43
+ @apply h-4 w-20;
44
+ }
45
+ }
46
+ }
47
+
48
+ /* Skeleton with a child. */
49
+ &.ds-skeleton--width-fit-content {
50
+ @apply w-fit;
51
+ }
52
+ &.ds-skeleton--animate {
53
+ /* @apply animate-pulse; */
54
+ position: relative;
55
+ overflow: hidden;
56
+ mask-image: radial-gradient(white, black);
57
+ &::after {
58
+ @apply absolute top-0 bottom-0 left-0 right-0;
59
+ animation: wave 2s linear 0.5s infinite;
60
+ background: linear-gradient(
61
+ 90deg,
62
+ transparent,
63
+ rgba(0, 0, 0, 0.05),
64
+ transparent
65
+ );
66
+ content: '';
67
+ transform: translateX(-100%);
68
+ }
69
+ }
70
+ > * {
71
+ @apply invisible;
72
+ }
73
+ }
74
+
75
+ @keyframes wave {
76
+ 0% {
77
+ transform: translateX(-100%);
78
+ }
79
+ 50% {
80
+ transform: translateX(100%);
81
+ }
82
+ 100% {
83
+ transform: translateX(100%);
84
+ }
85
+ }
@@ -2,7 +2,7 @@
2
2
  @apply absolute w-px h-px underline overflow-hidden top-auto;
3
3
  &:focus {
4
4
  @apply z-0 overflow-auto bg-focus static py-2 px-4 top-auto left-auto w-auto h-auto;
5
- outline-offset: 0px;
6
- outline: 0px solid var(--color-focus);
5
+ outline-offset: 0;
6
+ outline: 0 solid var(--color-focus);
7
7
  }
8
8
  }
@@ -1,66 +1,66 @@
1
1
  .ds-stack {
2
2
  @apply flex flex-col flex-wrap;
3
- }
4
- .ds-stack--row {
5
- @apply flex-row;
6
- }
7
- .ds-stack--reverse-row {
8
- @apply flex-row-reverse;
9
- }
10
- .ds-stack--col-reverse {
11
- @apply flex-col-reverse;
12
- }
13
- .ds-stack--nowrap {
14
- @apply flex-nowrap;
15
- }
16
- .ds-stack--justify-flex-start {
17
- @apply justify-start;
18
- }
19
- .ds-stack--justify-flex-end {
20
- @apply justify-end;
21
- }
22
- .ds-stack--justify-center {
23
- @apply justify-center;
24
- }
25
- .ds-stack--justify-space-between {
26
- @apply justify-between;
27
- }
28
- .ds-stack--justify-space-around {
29
- @apply justify-around;
30
- }
31
- .ds-stack--justify-space-evenly {
32
- @apply justify-evenly;
33
- }
34
- .ds-stack--align-stretch {
35
- @apply items-stretch;
36
- }
37
- .ds-stack--align-flex-start {
38
- @apply items-start;
39
- }
40
- .ds-stack--align-flex-end {
41
- @apply items-end;
42
- }
43
- .ds-stack--align-center {
44
- @apply items-center;
45
- }
46
- .ds-stack--align-baseline {
47
- @apply items-baseline;
48
- }
49
- .ds-stack--content-flex-start {
50
- @apply content-start;
51
- }
52
- .ds-stack--content-flex-end {
53
- @apply content-end;
54
- }
55
- .ds-stack--content-center {
56
- @apply content-center;
57
- }
58
- .ds-stack--content-space-between {
59
- @apply content-between;
60
- }
61
- .ds-stack--content-space-around {
62
- @apply content-around;
63
- }
64
- .ds-stack--content-space-evenly {
65
- @apply content-evenly;
3
+ &.ds-stack--row {
4
+ @apply flex-row;
5
+ }
6
+ &.ds-stack--reverse-row {
7
+ @apply flex-row-reverse;
8
+ }
9
+ &.ds-stack--col-reverse {
10
+ @apply flex-col-reverse;
11
+ }
12
+ &.ds-stack--nowrap {
13
+ @apply flex-nowrap;
14
+ }
15
+ &.ds-stack--justify-flex-start {
16
+ @apply justify-start;
17
+ }
18
+ &.ds-stack--justify-flex-end {
19
+ @apply justify-end;
20
+ }
21
+ &.ds-stack--justify-center {
22
+ @apply justify-center;
23
+ }
24
+ &.ds-stack--justify-space-between {
25
+ @apply justify-between;
26
+ }
27
+ &.ds-stack--justify-space-around {
28
+ @apply justify-around;
29
+ }
30
+ &.ds-stack--justify-space-evenly {
31
+ @apply justify-evenly;
32
+ }
33
+ &.ds-stack--align-stretch {
34
+ @apply items-stretch;
35
+ }
36
+ &.ds-stack--align-flex-start {
37
+ @apply items-start;
38
+ }
39
+ &.ds-stack--align-flex-end {
40
+ @apply items-end;
41
+ }
42
+ &.ds-stack--align-center {
43
+ @apply items-center;
44
+ }
45
+ &.ds-stack--align-baseline {
46
+ @apply items-baseline;
47
+ }
48
+ &.ds-stack--content-flex-start {
49
+ @apply content-start;
50
+ }
51
+ &.ds-stack--content-flex-end {
52
+ @apply content-end;
53
+ }
54
+ &.ds-stack--content-center {
55
+ @apply content-center;
56
+ }
57
+ &.ds-stack--content-space-between {
58
+ @apply content-between;
59
+ }
60
+ &.ds-stack--content-space-around {
61
+ @apply content-around;
62
+ }
63
+ &.ds-stack--content-space-evenly {
64
+ @apply content-evenly;
65
+ }
66
66
  }