@economic/taco 1.1.4 → 1.1.5-alpha.102

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 (160) hide show
  1. package/README.md +82 -82
  2. package/dist/components/Icon/components/LogOut.d.ts +3 -0
  3. package/dist/components/Icon/components/Menu.d.ts +3 -0
  4. package/dist/components/Icon/components/Numbers.d.ts +3 -0
  5. package/dist/components/Icon/components/Profile.d.ts +3 -0
  6. package/dist/components/Icon/components/index.d.ts +1 -1
  7. package/dist/components/Input/Input.d.ts +1 -1
  8. package/dist/components/Menu/Menu.d.ts +2 -2
  9. package/dist/components/Menu/components/Item.d.ts +1 -1
  10. package/dist/components/Menu/components/Link.d.ts +1 -1
  11. package/dist/components/Tour/Tour.d.ts +2 -0
  12. package/dist/esm/components/Banner/util.js +1 -1
  13. package/dist/esm/components/Banner/util.js.map +1 -1
  14. package/dist/esm/components/Button/util.js +18 -23
  15. package/dist/esm/components/Button/util.js.map +1 -1
  16. package/dist/esm/components/Card/Card.js +3 -0
  17. package/dist/esm/components/Card/Card.js.map +1 -1
  18. package/dist/esm/components/Combobox/Combobox.js +1 -0
  19. package/dist/esm/components/Combobox/Combobox.js.map +1 -1
  20. package/dist/esm/components/Combobox/useCombobox.js +67 -87
  21. package/dist/esm/components/Combobox/useCombobox.js.map +1 -1
  22. package/dist/esm/components/Datepicker/useDatepicker.js +27 -34
  23. package/dist/esm/components/Datepicker/useDatepicker.js.map +1 -1
  24. package/dist/esm/components/Dialog/Context.js +4 -4
  25. package/dist/esm/components/Dialog/Context.js.map +1 -1
  26. package/dist/esm/components/Dialog/components/Content.js +39 -44
  27. package/dist/esm/components/Dialog/components/Content.js.map +1 -1
  28. package/dist/esm/components/Dialog/components/Drawer.js +3 -3
  29. package/dist/esm/components/Dialog/components/Drawer.js.map +1 -1
  30. package/dist/esm/components/Dialog/components/Extra.js +2 -2
  31. package/dist/esm/components/Dialog/components/Extra.js.map +1 -1
  32. package/dist/esm/components/Dialog/components/Trigger.js +3 -3
  33. package/dist/esm/components/Dialog/components/Trigger.js.map +1 -1
  34. package/dist/esm/components/Hanger/Hanger.js +1 -1
  35. package/dist/esm/components/Hanger/Hanger.js.map +1 -1
  36. package/dist/esm/components/Icon/components/LogOut.js +20 -0
  37. package/dist/esm/components/Icon/components/LogOut.js.map +1 -0
  38. package/dist/esm/components/Icon/components/Menu.js +18 -0
  39. package/dist/esm/components/Icon/components/Menu.js.map +1 -0
  40. package/dist/esm/components/Icon/components/Numbers.js +18 -0
  41. package/dist/esm/components/Icon/components/Numbers.js.map +1 -0
  42. package/dist/esm/components/Icon/components/Profile.js +20 -0
  43. package/dist/esm/components/Icon/components/Profile.js.map +1 -0
  44. package/dist/esm/components/Icon/components/index.js +12 -4
  45. package/dist/esm/components/Icon/components/index.js.map +1 -1
  46. package/dist/esm/components/Input/util.js +2 -2
  47. package/dist/esm/components/Input/util.js.map +1 -1
  48. package/dist/esm/components/Listbox/ScrollableList.js +64 -83
  49. package/dist/esm/components/Listbox/ScrollableList.js.map +1 -1
  50. package/dist/esm/components/Listbox/useListbox.js +51 -60
  51. package/dist/esm/components/Listbox/useListbox.js.map +1 -1
  52. package/dist/esm/components/Listbox/useMultiListbox.js +64 -91
  53. package/dist/esm/components/Listbox/useMultiListbox.js.map +1 -1
  54. package/dist/esm/components/Listbox/useTypeahead.js +10 -9
  55. package/dist/esm/components/Listbox/useTypeahead.js.map +1 -1
  56. package/dist/esm/components/Listbox/util.js +48 -85
  57. package/dist/esm/components/Listbox/util.js.map +1 -1
  58. package/dist/esm/components/Menu/Context.js +2 -2
  59. package/dist/esm/components/Menu/Context.js.map +1 -1
  60. package/dist/esm/components/Menu/components/Checkbox.js +9 -10
  61. package/dist/esm/components/Menu/components/Checkbox.js.map +1 -1
  62. package/dist/esm/components/Menu/components/Content.js +9 -11
  63. package/dist/esm/components/Menu/components/Content.js.map +1 -1
  64. package/dist/esm/components/Menu/components/Header.js +3 -3
  65. package/dist/esm/components/Menu/components/Header.js.map +1 -1
  66. package/dist/esm/components/Menu/components/Item.js +30 -31
  67. package/dist/esm/components/Menu/components/Item.js.map +1 -1
  68. package/dist/esm/components/Menu/components/Link.js +10 -11
  69. package/dist/esm/components/Menu/components/Link.js.map +1 -1
  70. package/dist/esm/components/Menu/components/RadioGroup.js +17 -19
  71. package/dist/esm/components/Menu/components/RadioGroup.js.map +1 -1
  72. package/dist/esm/components/Menu/components/Separator.js +1 -1
  73. package/dist/esm/components/Menu/components/Separator.js.map +1 -1
  74. package/dist/esm/components/Menu/components/Trigger.js +4 -4
  75. package/dist/esm/components/Menu/components/Trigger.js.map +1 -1
  76. package/dist/esm/components/Pagination/PageNumbers.js +23 -28
  77. package/dist/esm/components/Pagination/PageNumbers.js.map +1 -1
  78. package/dist/esm/components/Pagination/usePagination.js +7 -21
  79. package/dist/esm/components/Pagination/usePagination.js.map +1 -1
  80. package/dist/esm/components/Pagination/usePaginationShortcuts.js +9 -9
  81. package/dist/esm/components/Pagination/usePaginationShortcuts.js.map +1 -1
  82. package/dist/esm/components/Popover/Popover.js +1 -1
  83. package/dist/esm/components/Popover/Popover.js.map +1 -1
  84. package/dist/esm/components/Popover/Primitives.js +7 -8
  85. package/dist/esm/components/Popover/Primitives.js.map +1 -1
  86. package/dist/esm/components/SearchInput/SearchInput.js +4 -1
  87. package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
  88. package/dist/esm/components/Select/useSelect.js +63 -81
  89. package/dist/esm/components/Select/useSelect.js.map +1 -1
  90. package/dist/esm/components/Table/components/BaseTable.js +23 -30
  91. package/dist/esm/components/Table/components/BaseTable.js.map +1 -1
  92. package/dist/esm/components/Table/components/PaginatedTable.js +3 -7
  93. package/dist/esm/components/Table/components/PaginatedTable.js.map +1 -1
  94. package/dist/esm/components/Table/components/Table.js +18 -25
  95. package/dist/esm/components/Table/components/Table.js.map +1 -1
  96. package/dist/esm/components/Table/components/WindowedTable.js +89 -109
  97. package/dist/esm/components/Table/components/WindowedTable.js.map +1 -1
  98. package/dist/esm/components/Table/hooks/plugins/useRowActions.js +122 -146
  99. package/dist/esm/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  100. package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js +57 -61
  101. package/dist/esm/components/Table/hooks/plugins/useRowDraggable.js.map +1 -1
  102. package/dist/esm/components/Table/hooks/plugins/useRowEditing.js +39 -36
  103. package/dist/esm/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
  104. package/dist/esm/components/Table/hooks/plugins/useRowSelect.js +79 -89
  105. package/dist/esm/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  106. package/dist/esm/components/Table/hooks/useRowCreation.js +29 -64
  107. package/dist/esm/components/Table/hooks/useRowCreation.js.map +1 -1
  108. package/dist/esm/components/Table/hooks/useTable.js +119 -141
  109. package/dist/esm/components/Table/hooks/useTable.js.map +1 -1
  110. package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js +13 -16
  111. package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
  112. package/dist/esm/components/Table/util/renderColumn.js +10 -10
  113. package/dist/esm/components/Table/util/renderColumn.js.map +1 -1
  114. package/dist/esm/components/Table/util/renderRow.js +37 -46
  115. package/dist/esm/components/Table/util/renderRow.js.map +1 -1
  116. package/dist/esm/components/Table/util/rowIndexPath.js +14 -16
  117. package/dist/esm/components/Table/util/rowIndexPath.js.map +1 -1
  118. package/dist/esm/components/Table/util/sortTypes.js +23 -31
  119. package/dist/esm/components/Table/util/sortTypes.js.map +1 -1
  120. package/dist/esm/components/Table/util.js +29 -41
  121. package/dist/esm/components/Table/util.js.map +1 -1
  122. package/dist/esm/components/Toast/Toast.js +21 -22
  123. package/dist/esm/components/Toast/Toast.js.map +1 -1
  124. package/dist/esm/components/Toast/util.js +2 -2
  125. package/dist/esm/components/Toast/util.js.map +1 -1
  126. package/dist/esm/components/Tour/Tour.js +3 -1
  127. package/dist/esm/components/Tour/Tour.js.map +1 -1
  128. package/dist/esm/index.css +661 -661
  129. package/dist/esm/index.js +4 -1
  130. package/dist/esm/index.js.map +1 -1
  131. package/dist/esm/primitives/Button.js +9 -13
  132. package/dist/esm/primitives/Button.js.map +1 -1
  133. package/dist/esm/utils/date.js.map +1 -1
  134. package/dist/esm/utils/hooks/useBoundingClientRectListener.js.map +1 -1
  135. package/dist/esm/utils/hooks/useDraggable.js +16 -17
  136. package/dist/esm/utils/hooks/useDraggable.js.map +1 -1
  137. package/dist/esm/utils/hooks/useDropTarget.js.map +1 -1
  138. package/dist/esm/utils/hooks/useListKeyboardNavigation.js.map +1 -1
  139. package/dist/esm/utils/hooks/useListScrollTo.js.map +1 -1
  140. package/dist/esm/utils/hooks/useOnClickOutside.js.map +1 -1
  141. package/dist/esm/utils/hooks/useProxiedRef.js.map +1 -1
  142. package/dist/esm/utils/hooks/useTimer.js +9 -17
  143. package/dist/esm/utils/hooks/useTimer.js.map +1 -1
  144. package/dist/esm/utils/input.js +7 -11
  145. package/dist/esm/utils/input.js.map +1 -1
  146. package/dist/esm/utils/mergeRefs.js +1 -1
  147. package/dist/esm/utils/mergeRefs.js.map +1 -1
  148. package/dist/esm/utils/taillwind.js +2 -2
  149. package/dist/esm/utils/taillwind.js.map +1 -1
  150. package/dist/index.css +661 -661
  151. package/dist/index.d.ts +4 -1
  152. package/dist/taco.cjs.development.js +1566 -1823
  153. package/dist/taco.cjs.development.js.map +1 -1
  154. package/dist/taco.cjs.production.min.js +1 -1
  155. package/dist/taco.cjs.production.min.js.map +1 -1
  156. package/dist/utils/mergeRefs.d.ts +1 -1
  157. package/package.json +6 -7
  158. package/plugins/tailwindcss-aria-attributes.js +73 -73
  159. package/tailwind.config.js +9 -0
  160. package/types.json +2612 -7006
@@ -1,661 +1,661 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer base {
6
- *,
7
- *::before,
8
- *::after {
9
- box-sizing: border-box;
10
- }
11
-
12
- html {
13
- @apply font-display h-screen;
14
- -moz-osx-font-smoothing: grayscale;
15
- -webkit-font-smoothing: antialiased;
16
- }
17
-
18
- body {
19
- @apply h-screen bg-white text-sm leading-5 text-black;
20
- }
21
-
22
- blockquote,
23
- dl,
24
- dd,
25
- hr,
26
- figure,
27
- p,
28
- pre,
29
- ol,
30
- ul,
31
- h1,
32
- h2,
33
- h3,
34
- h4,
35
- h5,
36
- h6 {
37
- max-width: 100ch;
38
- }
39
-
40
- blockquote,
41
- dl,
42
- dd,
43
- hr,
44
- figure,
45
- p,
46
- pre,
47
- ol,
48
- ul {
49
- @apply mb-10;
50
- }
51
-
52
- ol ol,
53
- ul ul,
54
- ol ul,
55
- ul ol {
56
- @apply mb-0;
57
- }
58
-
59
- ul.list-disc,
60
- ul.list-decimal,
61
- ul.list-circle,
62
- ol.list-disc,
63
- ol.list-decimal,
64
- ol.list-circle {
65
- @apply pl-4;
66
- }
67
-
68
- dt {
69
- @apply font-bold;
70
- }
71
-
72
- blockquote {
73
- @apply pl-8;
74
- }
75
-
76
- hr {
77
- @apply bg-grey-light my-5 flex h-px border-none;
78
- }
79
-
80
- h1,
81
- h2,
82
- h3,
83
- h4,
84
- h5,
85
- h6 {
86
- @apply font-normal;
87
- }
88
-
89
- h1 {
90
- @apply mb-5 text-3xl;
91
- }
92
-
93
- h2 {
94
- @apply mb-2 text-2xl;
95
- }
96
-
97
- h3 {
98
- @apply mb-2 text-xl;
99
- }
100
-
101
- h4 {
102
- @apply mb-1 text-base font-bold;
103
- }
104
-
105
- h5 {
106
- @apply mb-1 text-sm font-bold;
107
- }
108
-
109
- h6 {
110
- @apply mb-1 text-xs font-bold;
111
- }
112
-
113
- b,
114
- strong {
115
- @apply font-bold;
116
- }
117
-
118
- a {
119
- @apply text-blue no-underline;
120
- }
121
-
122
- a:hover,
123
- a:focus {
124
- @apply text-blue-light;
125
- }
126
-
127
- a:active {
128
- @apply text-blue-dark;
129
- }
130
-
131
- button::-moz-focus-inner {
132
- @apply border-none;
133
- }
134
-
135
- input[type='search']::-webkit-search-decoration,
136
- input[type='search']::-webkit-search-cancel-button,
137
- input[type='search']::-webkit-search-results-button,
138
- input[type='search']::-webkit-search-results-decoration {
139
- -webkit-appearance: none;
140
- }
141
-
142
- table.yt-table {
143
- @apply focus:yt-focus flex flex-col focus:rounded-sm;
144
- }
145
- table.yt-table thead.yt-table__head tr.yt-table__row {
146
- @apply border-grey-light flex h-auto min-h-[2.5rem] w-full select-none border-t-0 border-b-2 font-bold;
147
- }
148
-
149
- table.yt-table thead.yt-table__head tr.yt-table__row th.yt-table__cell {
150
- @apply text-grey-darkest flex flex-1 justify-center truncate p-2 text-center align-middle hover:text-black;
151
- }
152
-
153
- table.yt-table tbody.yt-table__body tr.yt-table__row {
154
- @apply border-grey-light hover:bg-grey-light flex min-h-[2.5rem] border-b;
155
- }
156
-
157
- table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
158
- @apply flex-1 truncate p-2 text-center align-middle;
159
- }
160
-
161
- [data-radix-portal][aria-hidden] [data-taco='menu'],
162
- [data-radix-portal][aria-hidden] [data-taco='hanger'] {
163
- display: none;
164
- opacity: 0;
165
- }
166
-
167
- @keyframes fade-in {
168
- from {
169
- @apply opacity-0;
170
- }
171
- to {
172
- @apply opacity-100;
173
- }
174
- }
175
- }
176
-
177
- [data-taco='badge'] > [data-taco='spinner'] {
178
- @apply h-3 w-3 ml-2;
179
- }
180
-
181
- [data-taco='badge'] > [data-taco='spinner'] svg circle {
182
- stroke-width: 15px;
183
- }
184
-
185
- [data-taco='badge'] > * {
186
- @apply max-h-full p-0;
187
- }
188
-
189
- [data-taco='button'] > [data-taco='icon'] {
190
- @apply pointer-events-none -ml-2 -mt-2 -mb-2 inline p-px;
191
- }
192
-
193
- [data-taco='button'] > * + [data-taco='icon'] {
194
- @apply -mr-2 ml-0;
195
- }
196
-
197
- [data-taco='spinner'] svg circle {
198
- @apply flex;
199
- fill: transparent;
200
- stroke-width: 10px;
201
- animation: spinnerAnimation 1.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite both;
202
- transform-origin: 50% 50%;
203
- stroke-linecap: round;
204
- stroke-dasharray: 282.743343;
205
- stroke-dashoffset: 67.85840232;
206
- stroke: theme('colors.blue.DEFAULT');
207
- }
208
-
209
- @keyframes spinnerAnimation {
210
- 0% {
211
- stroke-dashoffset: 237.50440812;
212
- transform: rotate(0);
213
- }
214
- 50% {
215
- stroke-dashoffset: 67.85840232;
216
- transform: rotate(45deg);
217
- }
218
- 100% {
219
- stroke-dashoffset: 237.50440812;
220
- transform: rotate(1turn);
221
- }
222
- }
223
-
224
- @keyframes spinnerRotation {
225
- 0% {
226
- transform: rotate(0deg);
227
- }
228
- 100% {
229
- transform: rotate(1turn);
230
- }
231
- }
232
-
233
- .yt-grey-solid [data-taco='spinner'] svg circle,
234
- .yt-yellow-solid [data-taco='spinner'] svg circle {
235
- stroke: theme('colors.grey.darkest');
236
- }
237
-
238
- .yt-blue-solid [data-taco='spinner'] svg circle,
239
- .yt-green-solid [data-taco='spinner'] svg circle,
240
- .yt-red-solid [data-taco='spinner'] svg circle {
241
- stroke: theme('colors.white');
242
- }
243
-
244
- .yt-blue-inverted svg circle {
245
- stroke: theme('colors.blue.DEFAULT');
246
- }
247
-
248
- .yt-yellow-inverted svg circle {
249
- stroke: theme('colors.yellow.DEFAULT');
250
- }
251
-
252
- .yt-red-inverted svg circle {
253
- stroke: theme('colors.red.DEFAULT');
254
- }
255
-
256
- .yt-green-inverted svg circle {
257
- stroke: theme('colors.green.DEFAULT');
258
- }
259
-
260
- .yt-grey-inverted svg circle {
261
- stroke: theme('colors.grey.darkest');
262
- }
263
-
264
- [data-taco='toast'] > div [data-taco='button'] {
265
- @apply -mt-px py-0 px-2;
266
- }
267
-
268
- [data-taco='calendar'] .DayPicker-wrapper {
269
- @apply relative select-none flex-row;
270
- }
271
-
272
- [data-taco='calendar'] .DayPicker-Months {
273
- @apply flex flex-wrap justify-center;
274
- }
275
-
276
- [data-taco='calendar'] .DayPicker-Month {
277
- @apply m-0 flex border-collapse select-none flex-col;
278
- }
279
-
280
- [data-taco='calendar'] .DayPicker-Weekdays {
281
- @apply flex h-10 items-center;
282
- }
283
-
284
- [data-taco='calendar'] .DayPicker-WeekdaysRow {
285
- @apply flex w-full justify-between;
286
- }
287
-
288
- [data-taco='calendar'] .DayPicker-Weekday {
289
- @apply text-grey-darkest flex-grow text-center uppercase;
290
- }
291
-
292
- [data-taco='calendar'] .DayPicker-Weekday abbr[title] {
293
- @apply no-underline;
294
- }
295
-
296
- [data-taco='calendar'] .DayPicker-Body {
297
- @apply flex flex-col;
298
- }
299
-
300
- [data-taco='calendar'] .DayPicker-Week {
301
- @apply flex w-full justify-between;
302
- }
303
-
304
- [data-taco='calendar'] .DayPicker-Day {
305
- @apply flex h-10 w-10 cursor-pointer items-center justify-center rounded-full;
306
- }
307
-
308
- [data-taco='calendar'] .DayPicker--interactionDisabled .DayPicker-Day {
309
- @apply cursor-default;
310
- }
311
-
312
- [data-taco='calendar'] .DayPicker-Footer {
313
- @apply pt-2 text-center;
314
- }
315
-
316
- [data-taco='calendar'] .DayPicker-TodayButton {
317
- @apply text-blue cursor-pointer border-none bg-transparent text-xs;
318
- }
319
-
320
- [data-taco='calendar'] .DayPicker-TodayButton:hover {
321
- @apply text-blue-light;
322
- }
323
-
324
- /* Default modifiers */
325
-
326
- [data-taco='calendar'] .DayPicker-Day--today {
327
- @apply text-blue font-bold;
328
- }
329
-
330
- [data-taco='calendar'] .DayPicker-Day--outside {
331
- @apply text-grey-dark cursor-default;
332
- }
333
-
334
- [data-taco='calendar'] .DayPicker-Day--disabled {
335
- @apply text-grey-dark pointer-events-none w-4 cursor-default;
336
- }
337
-
338
- [data-taco='calendar'] .DayPicker-Day--disabled > span.dot {
339
- @apply bg-grey inline-block rounded-full p-2;
340
- }
341
-
342
- [data-taco='calendar'] .icon:hover,
343
- [data-taco='calendar']:not(.DayPicker--interactionDisabled)
344
- .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover,
345
- [data-taco='calendar'] .DayPicker-Day--highlighted,
346
- [data-taco='calendar'] .DayPicker-Day--selected {
347
- @apply bg-grey-light text-black;
348
- }
349
-
350
- [data-taco='calendar'] .calendar-caption {
351
- @apply font-semibold;
352
- }
353
-
354
- [data-taco='scrollable-list'].yt-list--multiselect li:first-child {
355
- @apply border-grey-light border-b-2 pl-4; /* Listbox max-height is dependant on this border-bottom-width value! */
356
- }
357
-
358
- [data-taco='scrollable-list'] li > [data-taco='icon'] {
359
- @apply mr-2;
360
- }
361
-
362
- [data-taco='scrollable-list']:not([readonly]) li:hover {
363
- @apply wcag-blue-light;
364
- }
365
-
366
- [data-taco='scrollable-list']:not([readonly]) li:hover [data-taco='icon'] {
367
- @apply wcag-blue-light;
368
- }
369
-
370
- [data-taco='scrollable-list'] li:focus,
371
- [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'],
372
- [data-taco='scrollable-list'] li[data-focused='true'] {
373
- @apply wcag-blue;
374
- }
375
-
376
- [data-taco='scrollable-list'] li:focus [data-taco='icon'],
377
- [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'] [data-taco='icon'],
378
- [data-taco='scrollable-list'] li[data-focused='true'] [data-taco='icon'] {
379
- @apply wcag-blue;
380
- }
381
-
382
- [data-taco='scrollable-list'][readonly] li {
383
- @apply cursor-not-allowed;
384
- }
385
-
386
- [data-taco='scrollable-list'] li[disabled],
387
- [data-taco='scrollable-list'][disabled] li[aria-selected='true'] {
388
- @apply cursor-not-allowed text-black text-opacity-25;
389
- }
390
-
391
- [data-taco='scrollable-list'] li.yt-list__empty,
392
- [data-taco='scrollable-list'] li.yt-list__empty:hover,
393
- [data-taco='scrollable-list'] li.yt-list__empty:focus {
394
- @apply text-grey-darkest flex w-full items-center overflow-hidden bg-white px-3 italic;
395
- }
396
-
397
- [data-taco='scrollable-list'] li.yt-list__empty [data-taco='spinner'] {
398
- @apply mr-2 mt-2 h-5 w-5 opacity-75;
399
- }
400
-
401
- [data-taco='combobox'] [role='dialog'] {
402
- @apply z-50;
403
- }
404
-
405
- [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul,
406
- [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul:hover {
407
- @apply border-blue;
408
- }
409
-
410
- .yt-dialog__drag::before,
411
- .yt-dialog__drag::after {
412
- @apply bg-grey-dark absolute rounded;
413
- content: '';
414
- left: theme('spacing.1');
415
- height: 2px;
416
- width: calc(100% - (2 * theme('spacing.1')));
417
- }
418
-
419
- .yt-dialog__drag::before {
420
- top: 3px;
421
- }
422
-
423
- .yt-dialog__drag::after {
424
- bottom: 3px;
425
- }
426
-
427
- /* label inside label is invalid html, but the client is littered with it */
428
- [data-taco='label'] [data-taco='label'] {
429
- min-height: 0;
430
- }
431
-
432
- .yt-form.yt-form--horizontal {
433
- @apply gap-4;
434
- }
435
-
436
- .yt-form.yt-form--horizontal > * {
437
- @apply inline-flex;
438
- }
439
-
440
- .yt-form.yt-form--horizontal > [data-taco='button'] {
441
- @apply mt-6;
442
- }
443
-
444
- [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
445
- @apply ml-1;
446
- }
447
-
448
- [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
449
- @apply ml-2;
450
- }
451
-
452
- [data-taco='hanger'] a {
453
- @apply text-grey underline;
454
- }
455
-
456
- [data-taco='hanger'] > *:last-child {
457
- @apply mb-0;
458
- }
459
-
460
- .yt-navigation__item a,
461
- .yt-navigation__item .yt-navigation__item__postfix {
462
- @apply text-black;
463
- }
464
-
465
- .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
466
- @apply -mt-1 -mb-1 text-xs;
467
- margin-left: -0.375rem;
468
- margin-right: 0.15rem;
469
- }
470
-
471
- .yt-navigation__item:hover,
472
- .yt-navigation__item:hover a,
473
- .yt-navigation__item:hover .yt-navigation__item__postfix,
474
- .yt-navigation__item--active,
475
- .yt-navigation__item--active a,
476
- .yt-navigation__item--active .yt-navigation__item__postfix {
477
- @apply text-blue;
478
- }
479
-
480
- .yt-navigation__item--dropping,
481
- .yt-navigation__item--dropping a,
482
- .yt-navigation__item--dropping .yt-navigation__item__postfix {
483
- @apply text-white;
484
- }
485
-
486
- .yt-navigation__item:hover .yt-navigation__item__postfix [data-taco='badge']:not(.h-2),
487
- .yt-navigation__item--active .yt-navigation__item__postfix [data-taco='badge']:not(.h-2) {
488
- @apply yt-blue-inverted;
489
- }
490
-
491
- .yt-navigation__item--dropping > * {
492
- @apply pointer-events-none;
493
- }
494
-
495
- .yt-navigation__item--dropping .yt-navigation__item__postfix [data-taco='badge'] {
496
- @apply border-white text-white;
497
- }
498
-
499
- .yt-toast:hover [data-taco='progress-bar'] {
500
- animation-play-state: paused;
501
- }
502
-
503
- @keyframes progress {
504
- from {
505
- width: 100%;
506
- }
507
- to {
508
- width: 0%;
509
- }
510
- }
511
-
512
- @keyframes progress-indeterminate {
513
- 0% {
514
- margin-left: 0px;
515
- margin-right: 100%;
516
- }
517
- 50% {
518
- margin-left: 25%;
519
- margin-right: 0%;
520
- }
521
- 100% {
522
- margin-left: 100%;
523
- margin-right: 0;
524
- }
525
- }
526
-
527
- /* rows */
528
- .yt-table__row {
529
- @apply border-grey-light flex border-b;
530
- min-height: 2.5rem;
531
- }
532
-
533
- /* cells */
534
- .yt-table__cell > [data-taco='button'],
535
- .yt-table__cell > [data-taco='icon-button'] {
536
- @apply -mt-1 -mb-1 flex;
537
- }
538
-
539
- .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
540
- @apply text-white;
541
- }
542
-
543
- .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
544
- @apply cursor-grabbing;
545
- }
546
-
547
- .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
548
- @apply visible;
549
- }
550
-
551
- /* head */
552
- .yt-table__head .yt-table__row {
553
- @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
554
- }
555
-
556
- .yt-table__head .yt-table__head__group {
557
- @apply flex flex-1 flex-wrap;
558
- }
559
-
560
- .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
561
- @apply border-grey-light border-b;
562
- flex-basis: 100%;
563
- }
564
-
565
- .yt-table__head .yt-table__head__group + .yt-table__head__group {
566
- @apply border-grey-light border-l;
567
- }
568
-
569
- .yt-table__head .yt-table__cell > [data-taco='icon'] {
570
- @apply flex-shrink-0;
571
- }
572
-
573
- .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
574
- @apply border-grey-light border-l-2;
575
- }
576
-
577
- .yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
578
- padding-right: 14px;
579
- }
580
-
581
- /* body */
582
-
583
- .yt-table__body .yt-table__row:first-child {
584
- @apply border-t-0;
585
- }
586
-
587
- .yt-table__body .yt-table__row.yt-table__row--clickable:hover,
588
- .yt-table__body .yt-table__row.yt-table__row--clickable.yt-table__row--active:hover {
589
- @apply cursor-pointer;
590
- }
591
-
592
- .yt-table__body .yt-table__row.yt-table__row__unselectable:hover,
593
- .yt-table__body .yt-table__row.yt-table__row__unselectable.yt-table__row--active:hover {
594
- @apply cursor-default;
595
- }
596
-
597
- .yt-table__body .yt-table__row.yt-table__row--active {
598
- @apply bg-grey-light;
599
- }
600
-
601
- .yt-table__body .yt-table__row.yt-table__row--dragging,
602
- .yt-table__body .yt-table__row.yt-table__row--dragging:hover {
603
- @apply bg-blue text-white;
604
- }
605
-
606
- /* edit */
607
- .yt-table__body .yt-table__row.yt-table__row--editing {
608
- @apply border-grey border-t;
609
- }
610
-
611
- .yt-table__body .yt-table__row.yt-table__row--editing,
612
- .yt-table__body .yt-table__row.yt-table__row--editing:hover {
613
- @apply wcag-grey-lightest;
614
- }
615
-
616
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell {
617
- @apply overflow-visible;
618
- overflow-wrap: normal;
619
- }
620
-
621
- .yt-table__cell [data-taco='label'] {
622
- @apply -my-2 pb-0 text-transparent;
623
- min-height: theme('spacing.10');
624
- }
625
-
626
- .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
627
- @apply mt-1;
628
- }
629
-
630
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
631
- @apply -mt-5;
632
- }
633
-
634
- .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
635
- @apply mb-1;
636
- }
637
-
638
- /* drag */
639
- #yt-table__drag__placeholder {
640
- @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
641
- }
642
-
643
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
644
- @apply m-0 mr-4 flex-col border-0 border-r;
645
- }
646
-
647
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
648
- @apply h-8 py-0;
649
- }
650
-
651
- .yt-tabs.yt-tabs--vertical .yt-tab__list {
652
- @apply flex-initial;
653
- }
654
-
655
- .yt-tabs.yt-tabs--vertical .yt-tab__panel {
656
- @apply flex-grow;
657
- }
658
-
659
- .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
660
- @apply rounded-none rounded-l border-0 border-r-2;
661
- }
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ *,
7
+ *::before,
8
+ *::after {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ html {
13
+ @apply font-display h-screen;
14
+ -moz-osx-font-smoothing: grayscale;
15
+ -webkit-font-smoothing: antialiased;
16
+ }
17
+
18
+ body {
19
+ @apply h-screen bg-white text-sm leading-5 text-black;
20
+ }
21
+
22
+ blockquote,
23
+ dl,
24
+ dd,
25
+ hr,
26
+ figure,
27
+ p,
28
+ pre,
29
+ ol,
30
+ ul,
31
+ h1,
32
+ h2,
33
+ h3,
34
+ h4,
35
+ h5,
36
+ h6 {
37
+ max-width: 100ch;
38
+ }
39
+
40
+ blockquote,
41
+ dl,
42
+ dd,
43
+ hr,
44
+ figure,
45
+ p,
46
+ pre,
47
+ ol,
48
+ ul {
49
+ @apply mb-10;
50
+ }
51
+
52
+ ol ol,
53
+ ul ul,
54
+ ol ul,
55
+ ul ol {
56
+ @apply mb-0;
57
+ }
58
+
59
+ ul.list-disc,
60
+ ul.list-decimal,
61
+ ul.list-circle,
62
+ ol.list-disc,
63
+ ol.list-decimal,
64
+ ol.list-circle {
65
+ @apply pl-4;
66
+ }
67
+
68
+ dt {
69
+ @apply font-bold;
70
+ }
71
+
72
+ blockquote {
73
+ @apply pl-8;
74
+ }
75
+
76
+ hr {
77
+ @apply bg-grey-light my-5 flex h-px border-none;
78
+ }
79
+
80
+ h1,
81
+ h2,
82
+ h3,
83
+ h4,
84
+ h5,
85
+ h6 {
86
+ @apply font-normal;
87
+ }
88
+
89
+ h1 {
90
+ @apply mb-5 text-3xl;
91
+ }
92
+
93
+ h2 {
94
+ @apply mb-2 text-2xl;
95
+ }
96
+
97
+ h3 {
98
+ @apply mb-2 text-xl;
99
+ }
100
+
101
+ h4 {
102
+ @apply mb-1 text-base font-bold;
103
+ }
104
+
105
+ h5 {
106
+ @apply mb-1 text-sm font-bold;
107
+ }
108
+
109
+ h6 {
110
+ @apply mb-1 text-xs font-bold;
111
+ }
112
+
113
+ b,
114
+ strong {
115
+ @apply font-bold;
116
+ }
117
+
118
+ a {
119
+ @apply text-blue no-underline;
120
+ }
121
+
122
+ a:hover,
123
+ a:focus {
124
+ @apply text-blue-light;
125
+ }
126
+
127
+ a:active {
128
+ @apply text-blue-dark;
129
+ }
130
+
131
+ button::-moz-focus-inner {
132
+ @apply border-none;
133
+ }
134
+
135
+ input[type='search']::-webkit-search-decoration,
136
+ input[type='search']::-webkit-search-cancel-button,
137
+ input[type='search']::-webkit-search-results-button,
138
+ input[type='search']::-webkit-search-results-decoration {
139
+ -webkit-appearance: none;
140
+ }
141
+
142
+ table.yt-table {
143
+ @apply focus:yt-focus flex flex-col focus:rounded-sm;
144
+ }
145
+ table.yt-table thead.yt-table__head tr.yt-table__row {
146
+ @apply border-grey-light flex h-auto min-h-[2.5rem] w-full select-none border-t-0 border-b-2 font-bold;
147
+ }
148
+
149
+ table.yt-table thead.yt-table__head tr.yt-table__row th.yt-table__cell {
150
+ @apply text-grey-darkest flex flex-1 justify-center truncate p-2 text-center align-middle hover:text-black;
151
+ }
152
+
153
+ table.yt-table tbody.yt-table__body tr.yt-table__row {
154
+ @apply border-grey-light hover:bg-grey-light flex min-h-[2.5rem] border-b;
155
+ }
156
+
157
+ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
158
+ @apply flex-1 truncate p-2 text-center align-middle;
159
+ }
160
+
161
+ [data-radix-portal][aria-hidden] [data-taco='menu'],
162
+ [data-radix-portal][aria-hidden] [data-taco='hanger'] {
163
+ display: none;
164
+ opacity: 0;
165
+ }
166
+
167
+ @keyframes fade-in {
168
+ from {
169
+ @apply opacity-0;
170
+ }
171
+ to {
172
+ @apply opacity-100;
173
+ }
174
+ }
175
+ }
176
+
177
+ [data-taco='badge'] > [data-taco='spinner'] {
178
+ @apply h-3 w-3 ml-2;
179
+ }
180
+
181
+ [data-taco='badge'] > [data-taco='spinner'] svg circle {
182
+ stroke-width: 15px;
183
+ }
184
+
185
+ [data-taco='badge'] > * {
186
+ @apply max-h-full p-0;
187
+ }
188
+
189
+ [data-taco='button'] > [data-taco='icon'] {
190
+ @apply pointer-events-none -ml-2 -mt-2 -mb-2 inline p-px;
191
+ }
192
+
193
+ [data-taco='button'] > * + [data-taco='icon'] {
194
+ @apply -mr-2 ml-0;
195
+ }
196
+
197
+ [data-taco='spinner'] svg circle {
198
+ @apply flex;
199
+ fill: transparent;
200
+ stroke-width: 10px;
201
+ animation: spinnerAnimation 1.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite both;
202
+ transform-origin: 50% 50%;
203
+ stroke-linecap: round;
204
+ stroke-dasharray: 282.743343;
205
+ stroke-dashoffset: 67.85840232;
206
+ stroke: theme('colors.blue.DEFAULT');
207
+ }
208
+
209
+ @keyframes spinnerAnimation {
210
+ 0% {
211
+ stroke-dashoffset: 237.50440812;
212
+ transform: rotate(0);
213
+ }
214
+ 50% {
215
+ stroke-dashoffset: 67.85840232;
216
+ transform: rotate(45deg);
217
+ }
218
+ 100% {
219
+ stroke-dashoffset: 237.50440812;
220
+ transform: rotate(1turn);
221
+ }
222
+ }
223
+
224
+ @keyframes spinnerRotation {
225
+ 0% {
226
+ transform: rotate(0deg);
227
+ }
228
+ 100% {
229
+ transform: rotate(1turn);
230
+ }
231
+ }
232
+
233
+ .yt-grey-solid [data-taco='spinner'] svg circle,
234
+ .yt-yellow-solid [data-taco='spinner'] svg circle {
235
+ stroke: theme('colors.grey.darkest');
236
+ }
237
+
238
+ .yt-blue-solid [data-taco='spinner'] svg circle,
239
+ .yt-green-solid [data-taco='spinner'] svg circle,
240
+ .yt-red-solid [data-taco='spinner'] svg circle {
241
+ stroke: theme('colors.white');
242
+ }
243
+
244
+ .yt-blue-inverted svg circle {
245
+ stroke: theme('colors.blue.DEFAULT');
246
+ }
247
+
248
+ .yt-yellow-inverted svg circle {
249
+ stroke: theme('colors.yellow.DEFAULT');
250
+ }
251
+
252
+ .yt-red-inverted svg circle {
253
+ stroke: theme('colors.red.DEFAULT');
254
+ }
255
+
256
+ .yt-green-inverted svg circle {
257
+ stroke: theme('colors.green.DEFAULT');
258
+ }
259
+
260
+ .yt-grey-inverted svg circle {
261
+ stroke: theme('colors.grey.darkest');
262
+ }
263
+
264
+ [data-taco='toast'] > div [data-taco='button'] {
265
+ @apply -mt-px py-0 px-2;
266
+ }
267
+
268
+ [data-taco='calendar'] .DayPicker-wrapper {
269
+ @apply relative select-none flex-row;
270
+ }
271
+
272
+ [data-taco='calendar'] .DayPicker-Months {
273
+ @apply flex flex-wrap justify-center;
274
+ }
275
+
276
+ [data-taco='calendar'] .DayPicker-Month {
277
+ @apply m-0 flex border-collapse select-none flex-col;
278
+ }
279
+
280
+ [data-taco='calendar'] .DayPicker-Weekdays {
281
+ @apply flex h-10 items-center;
282
+ }
283
+
284
+ [data-taco='calendar'] .DayPicker-WeekdaysRow {
285
+ @apply flex w-full justify-between;
286
+ }
287
+
288
+ [data-taco='calendar'] .DayPicker-Weekday {
289
+ @apply text-grey-darkest flex-grow text-center uppercase;
290
+ }
291
+
292
+ [data-taco='calendar'] .DayPicker-Weekday abbr[title] {
293
+ @apply no-underline;
294
+ }
295
+
296
+ [data-taco='calendar'] .DayPicker-Body {
297
+ @apply flex flex-col;
298
+ }
299
+
300
+ [data-taco='calendar'] .DayPicker-Week {
301
+ @apply flex w-full justify-between;
302
+ }
303
+
304
+ [data-taco='calendar'] .DayPicker-Day {
305
+ @apply flex h-10 w-10 cursor-pointer items-center justify-center rounded-full;
306
+ }
307
+
308
+ [data-taco='calendar'] .DayPicker--interactionDisabled .DayPicker-Day {
309
+ @apply cursor-default;
310
+ }
311
+
312
+ [data-taco='calendar'] .DayPicker-Footer {
313
+ @apply pt-2 text-center;
314
+ }
315
+
316
+ [data-taco='calendar'] .DayPicker-TodayButton {
317
+ @apply text-blue cursor-pointer border-none bg-transparent text-xs;
318
+ }
319
+
320
+ [data-taco='calendar'] .DayPicker-TodayButton:hover {
321
+ @apply text-blue-light;
322
+ }
323
+
324
+ /* Default modifiers */
325
+
326
+ [data-taco='calendar'] .DayPicker-Day--today {
327
+ @apply text-blue font-bold;
328
+ }
329
+
330
+ [data-taco='calendar'] .DayPicker-Day--outside {
331
+ @apply text-grey-dark cursor-default;
332
+ }
333
+
334
+ [data-taco='calendar'] .DayPicker-Day--disabled {
335
+ @apply text-grey-dark pointer-events-none w-4 cursor-default;
336
+ }
337
+
338
+ [data-taco='calendar'] .DayPicker-Day--disabled > span.dot {
339
+ @apply bg-grey inline-block rounded-full p-2;
340
+ }
341
+
342
+ [data-taco='calendar'] .icon:hover,
343
+ [data-taco='calendar']:not(.DayPicker--interactionDisabled)
344
+ .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover,
345
+ [data-taco='calendar'] .DayPicker-Day--highlighted,
346
+ [data-taco='calendar'] .DayPicker-Day--selected {
347
+ @apply bg-grey-light text-black;
348
+ }
349
+
350
+ [data-taco='calendar'] .calendar-caption {
351
+ @apply font-semibold;
352
+ }
353
+
354
+ [data-taco='scrollable-list'].yt-list--multiselect li:first-child {
355
+ @apply border-grey-light border-b-2 pl-4; /* Listbox max-height is dependant on this border-bottom-width value! */
356
+ }
357
+
358
+ [data-taco='scrollable-list'] li > [data-taco='icon'] {
359
+ @apply mr-2;
360
+ }
361
+
362
+ [data-taco='scrollable-list']:not([readonly]) li:hover {
363
+ @apply wcag-blue-light;
364
+ }
365
+
366
+ [data-taco='scrollable-list']:not([readonly]) li:hover [data-taco='icon'] {
367
+ @apply wcag-blue-light;
368
+ }
369
+
370
+ [data-taco='scrollable-list'] li:focus,
371
+ [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'],
372
+ [data-taco='scrollable-list'] li[data-focused='true'] {
373
+ @apply wcag-blue;
374
+ }
375
+
376
+ [data-taco='scrollable-list'] li:focus [data-taco='icon'],
377
+ [data-taco='scrollable-list']:not(.yt-list--multiselect) li[aria-selected='true'] [data-taco='icon'],
378
+ [data-taco='scrollable-list'] li[data-focused='true'] [data-taco='icon'] {
379
+ @apply wcag-blue;
380
+ }
381
+
382
+ [data-taco='scrollable-list'][readonly] li {
383
+ @apply cursor-not-allowed;
384
+ }
385
+
386
+ [data-taco='scrollable-list'] li[disabled],
387
+ [data-taco='scrollable-list'][disabled] li[aria-selected='true'] {
388
+ @apply cursor-not-allowed text-black text-opacity-25;
389
+ }
390
+
391
+ [data-taco='scrollable-list'] li.yt-list__empty,
392
+ [data-taco='scrollable-list'] li.yt-list__empty:hover,
393
+ [data-taco='scrollable-list'] li.yt-list__empty:focus {
394
+ @apply text-grey-darkest flex w-full items-center overflow-hidden bg-white px-3 italic;
395
+ }
396
+
397
+ [data-taco='scrollable-list'] li.yt-list__empty [data-taco='spinner'] {
398
+ @apply mr-2 mt-2 h-5 w-5 opacity-75;
399
+ }
400
+
401
+ [data-taco='combobox'] [role='dialog'] {
402
+ @apply z-50;
403
+ }
404
+
405
+ [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul,
406
+ [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul:hover {
407
+ @apply border-blue;
408
+ }
409
+
410
+ .yt-dialog__drag::before,
411
+ .yt-dialog__drag::after {
412
+ @apply bg-grey-dark absolute rounded;
413
+ content: '';
414
+ left: theme('spacing.1');
415
+ height: 2px;
416
+ width: calc(100% - (2 * theme('spacing.1')));
417
+ }
418
+
419
+ .yt-dialog__drag::before {
420
+ top: 3px;
421
+ }
422
+
423
+ .yt-dialog__drag::after {
424
+ bottom: 3px;
425
+ }
426
+
427
+ /* label inside label is invalid html, but the client is littered with it */
428
+ [data-taco='label'] [data-taco='label'] {
429
+ min-height: 0;
430
+ }
431
+
432
+ .yt-form.yt-form--horizontal {
433
+ @apply gap-4;
434
+ }
435
+
436
+ .yt-form.yt-form--horizontal > * {
437
+ @apply inline-flex;
438
+ }
439
+
440
+ .yt-form.yt-form--horizontal > [data-taco='button'] {
441
+ @apply mt-6;
442
+ }
443
+
444
+ [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
445
+ @apply ml-1;
446
+ }
447
+
448
+ [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
449
+ @apply ml-2;
450
+ }
451
+
452
+ [data-taco='hanger'] a {
453
+ @apply text-grey underline;
454
+ }
455
+
456
+ [data-taco='hanger'] > *:last-child {
457
+ @apply mb-0;
458
+ }
459
+
460
+ .yt-navigation__item a,
461
+ .yt-navigation__item .yt-navigation__item__postfix {
462
+ @apply text-black;
463
+ }
464
+
465
+ .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
466
+ @apply -mt-1 -mb-1 text-xs;
467
+ margin-left: -0.375rem;
468
+ margin-right: 0.15rem;
469
+ }
470
+
471
+ .yt-navigation__item:hover,
472
+ .yt-navigation__item:hover a,
473
+ .yt-navigation__item:hover .yt-navigation__item__postfix,
474
+ .yt-navigation__item--active,
475
+ .yt-navigation__item--active a,
476
+ .yt-navigation__item--active .yt-navigation__item__postfix {
477
+ @apply text-blue;
478
+ }
479
+
480
+ .yt-navigation__item--dropping,
481
+ .yt-navigation__item--dropping a,
482
+ .yt-navigation__item--dropping .yt-navigation__item__postfix {
483
+ @apply text-white;
484
+ }
485
+
486
+ .yt-navigation__item:hover .yt-navigation__item__postfix [data-taco='badge']:not(.h-2),
487
+ .yt-navigation__item--active .yt-navigation__item__postfix [data-taco='badge']:not(.h-2) {
488
+ @apply yt-blue-inverted;
489
+ }
490
+
491
+ .yt-navigation__item--dropping > * {
492
+ @apply pointer-events-none;
493
+ }
494
+
495
+ .yt-navigation__item--dropping .yt-navigation__item__postfix [data-taco='badge'] {
496
+ @apply border-white text-white;
497
+ }
498
+
499
+ .yt-toast:hover [data-taco='progress-bar'] {
500
+ animation-play-state: paused;
501
+ }
502
+
503
+ @keyframes progress {
504
+ from {
505
+ width: 100%;
506
+ }
507
+ to {
508
+ width: 0%;
509
+ }
510
+ }
511
+
512
+ @keyframes progress-indeterminate {
513
+ 0% {
514
+ margin-left: 0px;
515
+ margin-right: 100%;
516
+ }
517
+ 50% {
518
+ margin-left: 25%;
519
+ margin-right: 0%;
520
+ }
521
+ 100% {
522
+ margin-left: 100%;
523
+ margin-right: 0;
524
+ }
525
+ }
526
+
527
+ /* rows */
528
+ .yt-table__row {
529
+ @apply border-grey-light flex border-b;
530
+ min-height: 2.5rem;
531
+ }
532
+
533
+ /* cells */
534
+ .yt-table__cell > [data-taco='button'],
535
+ .yt-table__cell > [data-taco='icon-button'] {
536
+ @apply -mt-1 -mb-1 flex;
537
+ }
538
+
539
+ .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
540
+ @apply text-white;
541
+ }
542
+
543
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
544
+ @apply cursor-grabbing;
545
+ }
546
+
547
+ .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
548
+ @apply visible;
549
+ }
550
+
551
+ /* head */
552
+ .yt-table__head .yt-table__row {
553
+ @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
554
+ }
555
+
556
+ .yt-table__head .yt-table__head__group {
557
+ @apply flex flex-1 flex-wrap;
558
+ }
559
+
560
+ .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
561
+ @apply border-grey-light border-b;
562
+ flex-basis: 100%;
563
+ }
564
+
565
+ .yt-table__head .yt-table__head__group + .yt-table__head__group {
566
+ @apply border-grey-light border-l;
567
+ }
568
+
569
+ .yt-table__head .yt-table__cell > [data-taco='icon'] {
570
+ @apply flex-shrink-0;
571
+ }
572
+
573
+ .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
574
+ @apply border-grey-light border-l-2;
575
+ }
576
+
577
+ .yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
578
+ padding-right: 14px;
579
+ }
580
+
581
+ /* body */
582
+
583
+ .yt-table__body .yt-table__row:first-child {
584
+ @apply border-t-0;
585
+ }
586
+
587
+ .yt-table__body .yt-table__row.yt-table__row--clickable:hover,
588
+ .yt-table__body .yt-table__row.yt-table__row--clickable.yt-table__row--active:hover {
589
+ @apply cursor-pointer;
590
+ }
591
+
592
+ .yt-table__body .yt-table__row.yt-table__row__unselectable:hover,
593
+ .yt-table__body .yt-table__row.yt-table__row__unselectable.yt-table__row--active:hover {
594
+ @apply cursor-default;
595
+ }
596
+
597
+ .yt-table__body .yt-table__row.yt-table__row--active {
598
+ @apply bg-grey-light;
599
+ }
600
+
601
+ .yt-table__body .yt-table__row.yt-table__row--dragging,
602
+ .yt-table__body .yt-table__row.yt-table__row--dragging:hover {
603
+ @apply bg-blue text-white;
604
+ }
605
+
606
+ /* edit */
607
+ .yt-table__body .yt-table__row.yt-table__row--editing {
608
+ @apply border-grey border-t;
609
+ }
610
+
611
+ .yt-table__body .yt-table__row.yt-table__row--editing,
612
+ .yt-table__body .yt-table__row.yt-table__row--editing:hover {
613
+ @apply wcag-grey-lightest;
614
+ }
615
+
616
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell {
617
+ @apply overflow-visible;
618
+ overflow-wrap: normal;
619
+ }
620
+
621
+ .yt-table__cell [data-taco='label'] {
622
+ @apply -my-2 pb-0 text-transparent;
623
+ min-height: theme('spacing.10');
624
+ }
625
+
626
+ .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
627
+ @apply mt-1;
628
+ }
629
+
630
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
631
+ @apply -mt-5;
632
+ }
633
+
634
+ .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
635
+ @apply mb-1;
636
+ }
637
+
638
+ /* drag */
639
+ #yt-table__drag__placeholder {
640
+ @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
641
+ }
642
+
643
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
644
+ @apply m-0 mr-4 flex-col border-0 border-r;
645
+ }
646
+
647
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
648
+ @apply h-8 py-0;
649
+ }
650
+
651
+ .yt-tabs.yt-tabs--vertical .yt-tab__list {
652
+ @apply flex-initial;
653
+ }
654
+
655
+ .yt-tabs.yt-tabs--vertical .yt-tab__panel {
656
+ @apply flex-grow;
657
+ }
658
+
659
+ .yt-tabs .yt-tab__list[aria-orientation='vertical'] .yt-tab {
660
+ @apply rounded-none rounded-l border-0 border-r-2;
661
+ }