@economic/taco 0.0.1-alpha.1533 → 0.0.1-alpha.8

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 (111) hide show
  1. package/dist/components/Backdrop/Backdrop.d.ts +3 -0
  2. package/dist/components/Button/Button.d.ts +39 -1
  3. package/dist/components/Button/util.d.ts +2 -0
  4. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  5. package/dist/components/Dialog/Context.d.ts +1 -0
  6. package/dist/components/Dialog/Dialog.d.ts +14 -12
  7. package/dist/components/Hanger/Hanger.d.ts +4 -9
  8. package/dist/components/Icon/components/MatchEntries.d.ts +3 -0
  9. package/dist/components/Icon/components/index.d.ts +1 -1
  10. package/dist/components/IconButton/IconButton.d.ts +38 -1
  11. package/dist/components/Input/Input.d.ts +1 -1
  12. package/dist/components/Menu/Menu.d.ts +2 -2
  13. package/dist/components/Menu/components/Item.d.ts +1 -1
  14. package/dist/components/Menu/components/Link.d.ts +1 -1
  15. package/dist/components/Navigation/Navigation.d.ts +4 -4
  16. package/dist/components/Popover/Popover.d.ts +5 -9
  17. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
  18. package/dist/components/Select/Select.d.ts +4 -0
  19. package/dist/components/Select/useSelect.d.ts +1 -1
  20. package/dist/components/Table/Table.storyexample.d.ts +1 -1
  21. package/dist/components/Table/components/PaginatedTable.d.ts +2 -2
  22. package/dist/components/Table/components/Table.d.ts +2 -2
  23. package/dist/components/Table/components/WindowedTable.d.ts +2 -2
  24. package/dist/components/Table/types.d.ts +2 -2
  25. package/dist/components/Tabs/Tabs.d.ts +2 -2
  26. package/dist/components/Tooltip/Tooltip.d.ts +11 -1
  27. package/dist/components/Treeview/Treeview.d.ts +2 -2
  28. package/dist/esm/index.css +96 -119
  29. package/dist/esm/src/components/Backdrop/Backdrop.js +12 -0
  30. package/dist/esm/src/components/Backdrop/Backdrop.js.map +1 -0
  31. package/dist/esm/src/components/Button/Button.js +6 -9
  32. package/dist/esm/src/components/Button/Button.js.map +1 -1
  33. package/dist/esm/src/components/Button/util.js +42 -1
  34. package/dist/esm/src/components/Button/util.js.map +1 -1
  35. package/dist/esm/src/components/Calendar/Calendar.js +1 -1
  36. package/dist/esm/src/components/Checkbox/Checkbox.js +9 -1
  37. package/dist/esm/src/components/Checkbox/Checkbox.js.map +1 -1
  38. package/dist/esm/src/components/Combobox/useCombobox.js +1 -1
  39. package/dist/esm/src/components/Datepicker/Datepicker.js +2 -2
  40. package/dist/esm/src/components/Dialog/Context.js +1 -0
  41. package/dist/esm/src/components/Dialog/Context.js.map +1 -1
  42. package/dist/esm/src/components/Dialog/Dialog.js +5 -4
  43. package/dist/esm/src/components/Dialog/Dialog.js.map +1 -1
  44. package/dist/esm/src/components/Dialog/components/Content.js +13 -13
  45. package/dist/esm/src/components/Dialog/components/Content.js.map +1 -1
  46. package/dist/esm/src/components/Dialog/components/Drawer.js +2 -1
  47. package/dist/esm/src/components/Dialog/components/Drawer.js.map +1 -1
  48. package/dist/esm/src/components/Dialog/components/Extra.js +2 -1
  49. package/dist/esm/src/components/Dialog/components/Extra.js.map +1 -1
  50. package/dist/esm/src/components/Dialog/components/Trigger.js +2 -1
  51. package/dist/esm/src/components/Dialog/components/Trigger.js.map +1 -1
  52. package/dist/esm/src/components/Hanger/Hanger.js +12 -9
  53. package/dist/esm/src/components/Hanger/Hanger.js.map +1 -1
  54. package/dist/esm/src/components/Icon/components/MatchEntries.js +18 -0
  55. package/dist/esm/src/components/Icon/components/MatchEntries.js.map +1 -0
  56. package/dist/esm/src/components/Icon/components/index.js +2 -0
  57. package/dist/esm/src/components/Icon/components/index.js.map +1 -1
  58. package/dist/esm/src/components/IconButton/IconButton.js +9 -11
  59. package/dist/esm/src/components/IconButton/IconButton.js.map +1 -1
  60. package/dist/esm/src/components/Input/util.js +6 -6
  61. package/dist/esm/src/components/Input/util.js.map +1 -1
  62. package/dist/esm/src/components/Listbox/ScrollableList.js +1 -1
  63. package/dist/esm/src/components/Navigation/Navigation.js +5 -4
  64. package/dist/esm/src/components/Navigation/Navigation.js.map +1 -1
  65. package/dist/esm/src/components/Pagination/PageNumbers.js +1 -1
  66. package/dist/esm/src/components/Pagination/Pagination.js +2 -1
  67. package/dist/esm/src/components/Pagination/Pagination.js.map +1 -1
  68. package/dist/esm/src/components/Popover/Popover.js +9 -6
  69. package/dist/esm/src/components/Popover/Popover.js.map +1 -1
  70. package/dist/esm/src/components/RadioGroup/RadioGroup.js.map +1 -1
  71. package/dist/esm/src/components/SearchInput/SearchInput.js +8 -7
  72. package/dist/esm/src/components/SearchInput/SearchInput.js.map +1 -1
  73. package/dist/esm/src/components/Select/Select.js +2 -1
  74. package/dist/esm/src/components/Select/Select.js.map +1 -1
  75. package/dist/esm/src/components/Select/useSelect.js +12 -5
  76. package/dist/esm/src/components/Select/useSelect.js.map +1 -1
  77. package/dist/esm/src/components/Table/components/PaginatedTable.js.map +1 -1
  78. package/dist/esm/src/components/Table/components/Table.js.map +1 -1
  79. package/dist/esm/src/components/Table/components/WindowedTable.js.map +1 -1
  80. package/dist/esm/src/components/Table/hooks/plugins/useRowActions.js +11 -5
  81. package/dist/esm/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  82. package/dist/esm/src/components/Table/hooks/plugins/useRowSelect.js +3 -3
  83. package/dist/esm/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  84. package/dist/esm/src/components/Table/util/renderColumn.js +4 -3
  85. package/dist/esm/src/components/Table/util/renderColumn.js.map +1 -1
  86. package/dist/esm/src/components/Table/util/renderRow.js +4 -3
  87. package/dist/esm/src/components/Table/util/renderRow.js.map +1 -1
  88. package/dist/esm/src/components/Tabs/Tabs.js.map +1 -1
  89. package/dist/esm/src/components/Toast/Toast.js +1 -1
  90. package/dist/esm/src/components/Tooltip/Tooltip.js +11 -10
  91. package/dist/esm/src/components/Tooltip/Tooltip.js.map +1 -1
  92. package/dist/esm/src/components/Tour/Tour.js +2 -2
  93. package/dist/esm/src/components/Treeview/Treeview.js.map +1 -1
  94. package/dist/esm/src/index.js +8 -7
  95. package/dist/esm/src/index.js.map +1 -1
  96. package/dist/esm/src/primitives/Button.js +2 -12
  97. package/dist/esm/src/primitives/Button.js.map +1 -1
  98. package/dist/esm/src/utils/mergeRefs.js +14 -0
  99. package/dist/esm/src/utils/mergeRefs.js.map +1 -0
  100. package/dist/index.css +96 -119
  101. package/dist/index.d.ts +1 -0
  102. package/dist/primitives/Button.d.ts +0 -4
  103. package/dist/taco.cjs.development.js +1660 -1570
  104. package/dist/taco.cjs.development.js.map +1 -1
  105. package/dist/taco.cjs.production.min.js +1 -1
  106. package/dist/taco.cjs.production.min.js.map +1 -1
  107. package/dist/utils/mergeRefs.d.ts +2 -0
  108. package/dist/utils/tailwind.d.ts +1 -1
  109. package/package.json +5 -3
  110. package/plugins/tailwindcss-aria-attributes.js +73 -0
  111. package/types.json +7310 -0
package/dist/index.css CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  body {
19
- @apply bg-white text-black text-sm leading-relaxed h-screen;
19
+ @apply h-screen bg-white text-sm leading-relaxed text-black;
20
20
  }
21
21
 
22
22
  blockquote,
@@ -74,7 +74,7 @@
74
74
  }
75
75
 
76
76
  hr {
77
- @apply bg-grey-light border-none flex h-px my-5;
77
+ @apply bg-grey-light my-5 flex h-px border-none;
78
78
  }
79
79
 
80
80
  h1,
@@ -87,24 +87,24 @@
87
87
  }
88
88
 
89
89
  h1 {
90
- @apply text-3xl mb-6;
90
+ @apply mb-6 text-3xl;
91
91
  }
92
92
 
93
93
  h2 {
94
- @apply text-2xl mb-2;
94
+ @apply mb-2 text-2xl;
95
95
  }
96
96
 
97
97
  h3 {
98
- @apply text-xl mb-2;
98
+ @apply mb-2 text-xl;
99
99
  }
100
100
 
101
101
  h4 {
102
- @apply text-base font-bold mb-1;
102
+ @apply mb-1 text-base font-bold;
103
103
  }
104
104
 
105
105
  h5,
106
106
  h6 {
107
- @apply font-bold mb-1;
107
+ @apply mb-1 font-bold;
108
108
  }
109
109
 
110
110
  b,
@@ -155,14 +155,6 @@
155
155
  @apply max-h-full p-0;
156
156
  }
157
157
 
158
- [data-taco='button'] > [data-taco='icon'] {
159
- @apply inline -ml-2 mr-1 -mt-2 -mb-2 pointer-events-none p-px;
160
- }
161
-
162
- [data-taco='button'] > span + [data-taco='icon'] {
163
- @apply ml-1 -mr-2;
164
- }
165
-
166
158
  [data-taco='spinner'] svg circle {
167
159
  @apply flex;
168
160
  fill: transparent;
@@ -231,11 +223,56 @@
231
223
  }
232
224
 
233
225
  [data-taco='toast'] > div [data-taco='button'] {
234
- @apply py-0 px-2 -mt-px;
226
+ @apply -mt-px py-0 px-2;
227
+ }
228
+
229
+ [data-taco='hanger'] a {
230
+ @apply text-grey underline;
231
+ }
232
+
233
+ [data-taco='hanger'] > *:last-child {
234
+ @apply mb-0;
235
+ }
236
+
237
+ .yt-dialog__drag::before,
238
+ .yt-dialog__drag::after {
239
+ @apply bg-grey-dark absolute rounded;
240
+ content: '';
241
+ left: theme('spacing.1');
242
+ height: 2px;
243
+ width: calc(100% - (2 * theme('spacing.1')));
244
+ }
245
+
246
+ .yt-dialog__drag::before {
247
+ top: 3px;
248
+ }
249
+
250
+ .yt-dialog__drag::after {
251
+ bottom: 3px;
252
+ }
253
+
254
+ [data-taco='dialog'] *:last-child {
255
+ @apply mb-0;
256
+ }
257
+
258
+ [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
259
+ @apply ml-1;
260
+ }
261
+
262
+ [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
263
+ @apply ml-2;
264
+ }
265
+
266
+ [data-taco='button'] > [data-taco='icon'] {
267
+ @apply pointer-events-none -ml-2 mr-1 -mt-2 -mb-2 inline p-px;
268
+ }
269
+
270
+ [data-taco='button'] > span + [data-taco='icon'] {
271
+ @apply ml-1 -mr-2;
235
272
  }
236
273
 
237
274
  [data-taco='calendar'] .DayPicker-wrapper {
238
- @apply relative flex-row select-none;
275
+ @apply relative select-none flex-row;
239
276
  }
240
277
 
241
278
  [data-taco='calendar'] .DayPicker-Months {
@@ -243,19 +280,19 @@
243
280
  }
244
281
 
245
282
  [data-taco='calendar'] .DayPicker-Month {
246
- @apply flex flex-col m-0 border-collapse select-none;
283
+ @apply m-0 flex border-collapse select-none flex-col;
247
284
  }
248
285
 
249
286
  [data-taco='calendar'] .DayPicker-Weekdays {
250
- @apply flex mt-2;
287
+ @apply mt-2 flex;
251
288
  }
252
289
 
253
290
  [data-taco='calendar'] .DayPicker-WeekdaysRow {
254
- @apply flex justify-between w-full mb-2;
291
+ @apply mb-2 flex w-full justify-between;
255
292
  }
256
293
 
257
294
  [data-taco='calendar'] .DayPicker-Weekday {
258
- @apply text-grey-darkest text-center uppercase flex-grow;
295
+ @apply text-grey-darkest flex-grow text-center uppercase;
259
296
  }
260
297
 
261
298
  [data-taco='calendar'] .DayPicker-Weekday abbr[title] {
@@ -267,11 +304,11 @@
267
304
  }
268
305
 
269
306
  [data-taco='calendar'] .DayPicker-Week {
270
- @apply flex justify-between w-full;
307
+ @apply flex w-full justify-between;
271
308
  }
272
309
 
273
310
  [data-taco='calendar'] .DayPicker-Day {
274
- @apply h-10 w-10 flex items-center justify-center cursor-pointer rounded-full;
311
+ @apply flex h-10 w-10 cursor-pointer items-center justify-center rounded-full;
275
312
  }
276
313
 
277
314
  [data-taco='calendar'] .DayPicker--interactionDisabled .DayPicker-Day {
@@ -283,7 +320,7 @@
283
320
  }
284
321
 
285
322
  [data-taco='calendar'] .DayPicker-TodayButton {
286
- @apply text-blue border-none bg-transparent text-xs cursor-pointer;
323
+ @apply text-blue cursor-pointer border-none bg-transparent text-xs;
287
324
  }
288
325
 
289
326
  [data-taco='calendar'] .DayPicker-TodayButton:hover {
@@ -301,11 +338,11 @@
301
338
  }
302
339
 
303
340
  [data-taco='calendar'] .DayPicker-Day--disabled {
304
- @apply text-grey-dark cursor-default w-4 pointer-events-none;
341
+ @apply text-grey-dark pointer-events-none w-4 cursor-default;
305
342
  }
306
343
 
307
344
  [data-taco='calendar'] .DayPicker-Day--disabled > span.dot {
308
- @apply bg-grey rounded-full inline-block p-2;
345
+ @apply bg-grey inline-block rounded-full p-2;
309
346
  }
310
347
 
311
348
  [data-taco='calendar'] .icon:hover,
@@ -377,7 +414,7 @@
377
414
  }
378
415
 
379
416
  .yt-combobox.yt-combobox--inline .yt-input__container > .yt-button {
380
- @apply yt-transparent border-0 text-grey-darkest shadow-none;
417
+ @apply yt-transparent text-grey-darkest border-0 shadow-none;
381
418
  }
382
419
 
383
420
  .yt-combobox.yt-combobox--inline .yt-input__container > .yt-button:hover,
@@ -395,41 +432,12 @@
395
432
  @apply border-blue;
396
433
  }
397
434
 
398
- .yt-dialog__drag::before,
399
- .yt-dialog__drag::after {
400
- @apply absolute bg-grey-dark rounded;
401
- content: '';
402
- left: theme('spacing.1');
403
- height: 2px;
404
- width: calc(100% - (2 * theme('spacing.1')));
405
- }
406
-
407
- .yt-dialog__drag::before {
408
- top: 3px;
409
- }
410
-
411
- .yt-dialog__drag::after {
412
- bottom: 3px;
413
- }
414
-
415
- .yt-dialog *:last-child {
416
- @apply mb-0;
417
- }
418
-
419
- [data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
420
- @apply ml-1;
421
- }
422
-
423
- [data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
424
- @apply ml-2;
425
- }
426
-
427
435
  .yt-form > [data-taco='button'] {
428
436
  @apply mr-3;
429
437
  }
430
438
 
431
439
  .yt-form.yt-form--horizontal > * {
432
- @apply inline-flex mr-3;
440
+ @apply mr-3 inline-flex;
433
441
  }
434
442
 
435
443
  .yt-form.yt-form--horizontal > *:last-child {
@@ -440,21 +448,13 @@
440
448
  @apply mt-6;
441
449
  }
442
450
 
443
- [data-taco='hanger'] a {
444
- @apply text-grey underline;
445
- }
446
-
447
- [data-taco='hanger'] > *:last-child {
448
- @apply mb-0;
449
- }
450
-
451
451
  /* label inside label is invalid html, but the client is littered with it */
452
452
  [data-taco='label'] [data-taco='label'] {
453
453
  min-height: 0;
454
454
  }
455
455
 
456
456
  .yt-listbox {
457
- @apply bg-white inline-flex relative w-full;
457
+ @apply relative inline-flex w-full bg-white;
458
458
  }
459
459
 
460
460
  .yt-listbox > input {
@@ -475,7 +475,7 @@
475
475
  }
476
476
 
477
477
  .yt-navigation__item .yt-navigation__item__prefix [data-taco='icon'] {
478
- @apply text-xs -mt-1 -mb-1;
478
+ @apply -mt-1 -mb-1 text-xs;
479
479
  margin-left: -0.375rem;
480
480
  margin-right: 0.15rem;
481
481
  }
@@ -509,15 +509,15 @@
509
509
  }
510
510
 
511
511
  [data-taco='select'] > button.yt-input {
512
- @apply inline-flex items-center relative w-full px-0;
512
+ @apply relative inline-flex w-full items-center px-0;
513
513
  }
514
514
 
515
515
  [data-taco='select'] > button.yt-input > span:first-child {
516
- @apply flex-grow text-left pl-2 truncate;
516
+ @apply flex-grow truncate pl-2 text-left;
517
517
  }
518
518
 
519
519
  [data-taco='select'] > button.yt-input .yt-icon {
520
- @apply pointer-events-none text-black;
520
+ @apply pointer-events-none;
521
521
  }
522
522
 
523
523
  [data-taco='select'] > button.yt-input[disabled] .yt-icon {
@@ -528,19 +528,13 @@
528
528
  @apply cursor-not-allowed;
529
529
  }
530
530
 
531
- [data-taco='select']:hover > button.yt-input .yt-icon,
532
- [data-taco='select'] > button.yt-input:hover .yt-icon,
533
- [data-taco='select'] > button.yt-input .yt-icon:hover {
534
- @apply text-grey-darkest;
535
- }
536
-
537
531
  [data-taco='select'] > button.yt-input[aria-expanded='true'],
538
532
  [data-taco='select'] > button.yt-input[aria-expanded='true']:hover {
539
533
  @apply border-blue;
540
534
  }
541
535
 
542
536
  [data-taco='select'] > button.yt-input[aria-expanded='true'] + .yt-listbox {
543
- @apply flex mt-1;
537
+ @apply mt-1 flex;
544
538
  }
545
539
 
546
540
  [data-taco='select'] [role='dialog'] {
@@ -584,81 +578,73 @@
584
578
  }
585
579
 
586
580
  .yt-table:focus {
587
- @apply rounded-sm yt-focus;
581
+ @apply yt-focus rounded-sm;
588
582
  }
589
583
 
590
584
  /* rows */
591
585
  .yt-table__row {
592
- @apply border-b border-grey-light flex;
586
+ @apply border-grey-light flex border-b;
593
587
  min-height: 2.5rem;
594
588
  }
595
589
 
596
590
  /* cells */
597
591
  .yt-table__cell {
598
- @apply flex-1 p-2 align-middle text-center truncate;
592
+ @apply flex-1 truncate p-2 text-center align-middle;
599
593
  }
600
594
 
601
- .yt-table__cell.yt-table__cell__actions {
602
- @apply flex justify-end px-1 overflow-visible;
603
- }
604
-
605
- .yt-table__cell > .yt-button,
606
- .yt-table__cell .yt-group > .yt-button {
607
- @apply -mt-1 -mb-1;
608
- }
609
-
610
- .yt-table__cell.yt-table__cell__actions .yt-group > *:not(:first-child):not(.yt-hanger):not(.yt-menu) {
611
- @apply ml-0;
595
+ .yt-table__cell > [data-taco='button'],
596
+ .yt-table__cell > [data-taco='icon-button'] {
597
+ @apply -mt-1 -mb-1 flex;
612
598
  }
613
599
 
614
600
  .yt-table__cell.yt-table__cell--draggable {
615
601
  @apply flex-col px-0;
616
602
  }
617
603
 
618
- .yt-table__cell.yt-table__cell--draggable .yt-icon {
619
- @apply cursor-grab invisible text-grey-darkest;
604
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
605
+ @apply text-grey-darkest invisible cursor-grab;
620
606
  width: 20px;
621
607
  }
622
608
 
623
- .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable .yt-icon {
609
+ .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
624
610
  @apply text-white;
625
611
  }
626
612
 
627
- .yt-table__cell.yt-table__cell--draggable .yt-icon:active {
613
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
628
614
  @apply cursor-grabbing;
629
615
  }
630
616
 
631
- .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable .yt-icon {
617
+ .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
632
618
  @apply visible;
633
619
  }
634
620
 
635
621
  /* head */
636
622
  .yt-table__head .yt-table__row {
637
- @apply border-t-0 border-b-2 font-bold h-auto w-full select-none;
623
+ @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
638
624
  }
639
625
 
640
626
  .yt-table__head .yt-table__head__group {
641
- @apply flex flex-wrap flex-1;
627
+ @apply flex flex-1 flex-wrap;
642
628
  }
643
629
 
644
630
  .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
645
- @apply border-b border-grey-light;
631
+ @apply border-grey-light border-b;
646
632
  flex-basis: 100%;
647
633
  }
648
634
 
649
635
  .yt-table__head .yt-table__head__group + .yt-table__head__group {
650
- @apply border-l border-grey-light;
636
+ @apply border-grey-light border-l;
651
637
  }
652
638
 
653
639
  .yt-table__head .yt-table__cell {
654
- @apply flex text-grey-darkest justify-center;
640
+ @apply text-grey-darkest flex justify-center;
655
641
  }
656
642
 
657
643
  .yt-table__head .yt-table__cell > span {
658
644
  @apply truncate;
659
645
  }
660
646
 
661
- .yt-table__head .yt-table__cell > .yt-icon {
647
+ .yt-table__head .yt-table__cell > [data-taco='icon'] {
662
648
  @apply flex-shrink-0;
663
649
  }
664
650
 
@@ -667,7 +653,7 @@
667
653
  }
668
654
 
669
655
  .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
670
- @apply border-l-2 border-grey-light;
656
+ @apply border-grey-light border-l-2;
671
657
  }
672
658
 
673
659
  .yt-table__head .yt-table__cell:not(.yt-table__cell--disable-sort) {
@@ -723,39 +709,30 @@
723
709
  overflow-wrap: normal;
724
710
  }
725
711
 
726
- .yt-table__cell .yt-label {
727
- @apply text-transparent pb-0 -my-2;
712
+ .yt-table__cell [data-taco='label'] {
713
+ @apply -my-2 pb-0 text-transparent;
728
714
  min-height: theme('spacing.10');
729
715
  }
730
716
 
731
- .yt-table__cell .yt-label > *:not(.yt-label__message) {
717
+ .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
732
718
  @apply mt-1;
733
719
  }
734
720
 
735
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell .yt-label > *:not(.yt-label__message) {
721
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
736
722
  @apply -mt-5;
737
723
  }
738
724
 
739
- .yt-table__cell .yt-label > .yt-label__message {
725
+ .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
740
726
  @apply mb-1;
741
727
  }
742
728
 
743
729
  /* drag */
744
730
  #yt-table__drag__placeholder {
745
- @apply bg-blue text-white rounded font-bold p-4 flex w-3/12;
746
- }
747
-
748
- /* cell alignment */
749
- .yt-table__cell.yt-table__cell--align-left {
750
- @apply justify-start text-left;
751
- }
752
-
753
- .yt-table__cell.yt-table__cell--align-right {
754
- @apply justify-end text-right;
731
+ @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
755
732
  }
756
733
 
757
734
  .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
758
- @apply flex-col m-0 mr-4 border-0 border-r;
735
+ @apply m-0 mr-4 flex-col border-0 border-r;
759
736
  }
760
737
 
761
738
  .yt-tabs .yt-tab__list .yt-tab[aria-selected='true'] {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import './css/global.css';
2
2
  export * from './components/Accordion/Accordion';
3
+ export * from './components/Backdrop/Backdrop';
3
4
  export * from './components/Badge/Badge';
4
5
  export * from './components/Banner/Banner';
5
6
  export * from './components/Button/Button';
@@ -6,8 +6,6 @@ declare type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement | HTMLAn
6
6
  href?: string;
7
7
  /** Provides target for buttons being used as a link */
8
8
  target?: '_self' | '_blank' | '_parent' | '_top';
9
- /** A tooltip to show when hovering over the button */
10
- tooltip?: string;
11
9
  };
12
10
  declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement | HTMLAnchorElement> & {
13
11
  /** Content should be a text */
@@ -16,7 +14,5 @@ declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes
16
14
  href?: string | undefined;
17
15
  /** Provides target for buttons being used as a link */
18
16
  target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
19
- /** A tooltip to show when hovering over the button */
20
- tooltip?: string | undefined;
21
17
  } & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
22
18
  export { Button, ButtonProps };