@economic/taco 0.0.1-alpha.1543 → 0.0.2-alpha.0

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 (108) 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/Combobox/useCombobox.d.ts +3 -3
  6. package/dist/components/Dialog/Context.d.ts +1 -0
  7. package/dist/components/Dialog/Dialog.d.ts +14 -12
  8. package/dist/components/Hanger/Hanger.d.ts +4 -9
  9. package/dist/components/IconButton/IconButton.d.ts +38 -1
  10. package/dist/components/Listbox/Listbox.d.ts +0 -1
  11. package/dist/components/Navigation/Navigation.d.ts +4 -4
  12. package/dist/components/Popover/Popover.d.ts +5 -9
  13. package/dist/components/RadioGroup/RadioGroup.d.ts +5 -5
  14. package/dist/components/Select/Select.d.ts +0 -1
  15. package/dist/components/Select/useSelect.d.ts +5 -4
  16. package/dist/components/Table/Table.storyexample.d.ts +1 -1
  17. package/dist/components/Table/components/PaginatedTable.d.ts +2 -2
  18. package/dist/components/Table/components/Table.d.ts +2 -2
  19. package/dist/components/Table/components/WindowedTable.d.ts +2 -2
  20. package/dist/components/Table/types.d.ts +2 -2
  21. package/dist/components/Tabs/Tabs.d.ts +2 -2
  22. package/dist/components/Tooltip/Tooltip.d.ts +11 -1
  23. package/dist/components/Treeview/Treeview.d.ts +2 -2
  24. package/dist/esm/index.css +75 -170
  25. package/dist/esm/src/components/Backdrop/Backdrop.js +12 -0
  26. package/dist/esm/src/components/Backdrop/Backdrop.js.map +1 -0
  27. package/dist/esm/src/components/Button/Button.js +6 -9
  28. package/dist/esm/src/components/Button/Button.js.map +1 -1
  29. package/dist/esm/src/components/Button/util.js +42 -1
  30. package/dist/esm/src/components/Button/util.js.map +1 -1
  31. package/dist/esm/src/components/Calendar/Calendar.js +1 -1
  32. package/dist/esm/src/components/Checkbox/Checkbox.js +9 -1
  33. package/dist/esm/src/components/Checkbox/Checkbox.js.map +1 -1
  34. package/dist/esm/src/components/Combobox/Combobox.js +28 -24
  35. package/dist/esm/src/components/Combobox/Combobox.js.map +1 -1
  36. package/dist/esm/src/components/Combobox/useCombobox.js +32 -38
  37. package/dist/esm/src/components/Combobox/useCombobox.js.map +1 -1
  38. package/dist/esm/src/components/Datepicker/Datepicker.js +2 -2
  39. package/dist/esm/src/components/Dialog/Context.js +1 -0
  40. package/dist/esm/src/components/Dialog/Context.js.map +1 -1
  41. package/dist/esm/src/components/Dialog/Dialog.js +5 -4
  42. package/dist/esm/src/components/Dialog/Dialog.js.map +1 -1
  43. package/dist/esm/src/components/Dialog/components/Content.js +13 -13
  44. package/dist/esm/src/components/Dialog/components/Content.js.map +1 -1
  45. package/dist/esm/src/components/Dialog/components/Drawer.js +2 -1
  46. package/dist/esm/src/components/Dialog/components/Drawer.js.map +1 -1
  47. package/dist/esm/src/components/Dialog/components/Extra.js +2 -1
  48. package/dist/esm/src/components/Dialog/components/Extra.js.map +1 -1
  49. package/dist/esm/src/components/Dialog/components/Trigger.js +2 -1
  50. package/dist/esm/src/components/Dialog/components/Trigger.js.map +1 -1
  51. package/dist/esm/src/components/Hanger/Hanger.js +12 -9
  52. package/dist/esm/src/components/Hanger/Hanger.js.map +1 -1
  53. package/dist/esm/src/components/IconButton/IconButton.js +9 -11
  54. package/dist/esm/src/components/IconButton/IconButton.js.map +1 -1
  55. package/dist/esm/src/components/Input/util.js +6 -6
  56. package/dist/esm/src/components/Input/util.js.map +1 -1
  57. package/dist/esm/src/components/Listbox/Listbox.js +21 -5
  58. package/dist/esm/src/components/Listbox/Listbox.js.map +1 -1
  59. package/dist/esm/src/components/Listbox/ScrollableList.js +7 -5
  60. package/dist/esm/src/components/Listbox/ScrollableList.js.map +1 -1
  61. package/dist/esm/src/components/Navigation/Navigation.js +5 -4
  62. package/dist/esm/src/components/Navigation/Navigation.js.map +1 -1
  63. package/dist/esm/src/components/Pagination/PageNumbers.js +1 -1
  64. package/dist/esm/src/components/Pagination/Pagination.js +2 -1
  65. package/dist/esm/src/components/Pagination/Pagination.js.map +1 -1
  66. package/dist/esm/src/components/Popover/Popover.js +9 -6
  67. package/dist/esm/src/components/Popover/Popover.js.map +1 -1
  68. package/dist/esm/src/components/RadioGroup/RadioGroup.js +17 -16
  69. package/dist/esm/src/components/RadioGroup/RadioGroup.js.map +1 -1
  70. package/dist/esm/src/components/SearchInput/SearchInput.js +8 -7
  71. package/dist/esm/src/components/SearchInput/SearchInput.js.map +1 -1
  72. package/dist/esm/src/components/Select/Select.js +27 -25
  73. package/dist/esm/src/components/Select/Select.js.map +1 -1
  74. package/dist/esm/src/components/Select/useSelect.js +77 -37
  75. package/dist/esm/src/components/Select/useSelect.js.map +1 -1
  76. package/dist/esm/src/components/Table/components/PaginatedTable.js.map +1 -1
  77. package/dist/esm/src/components/Table/components/Table.js.map +1 -1
  78. package/dist/esm/src/components/Table/components/WindowedTable.js.map +1 -1
  79. package/dist/esm/src/components/Table/hooks/plugins/useRowActions.js +11 -5
  80. package/dist/esm/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  81. package/dist/esm/src/components/Table/hooks/plugins/useRowSelect.js +3 -3
  82. package/dist/esm/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  83. package/dist/esm/src/components/Table/util/renderColumn.js +4 -3
  84. package/dist/esm/src/components/Table/util/renderColumn.js.map +1 -1
  85. package/dist/esm/src/components/Table/util/renderRow.js +4 -3
  86. package/dist/esm/src/components/Table/util/renderRow.js.map +1 -1
  87. package/dist/esm/src/components/Tabs/Tabs.js.map +1 -1
  88. package/dist/esm/src/components/Toast/Toast.js +1 -1
  89. package/dist/esm/src/components/Tooltip/Tooltip.js +11 -10
  90. package/dist/esm/src/components/Tooltip/Tooltip.js.map +1 -1
  91. package/dist/esm/src/components/Tour/Tour.js +2 -2
  92. package/dist/esm/src/components/Treeview/Treeview.js.map +1 -1
  93. package/dist/esm/src/index.js +8 -7
  94. package/dist/esm/src/index.js.map +1 -1
  95. package/dist/esm/src/primitives/Button.js +2 -12
  96. package/dist/esm/src/primitives/Button.js.map +1 -1
  97. package/dist/esm/src/utils/mergeRefs.js +14 -0
  98. package/dist/esm/src/utils/mergeRefs.js.map +1 -0
  99. package/dist/index.css +75 -170
  100. package/dist/index.d.ts +1 -0
  101. package/dist/primitives/Button.d.ts +0 -4
  102. package/dist/taco.cjs.development.js +1688 -1561
  103. package/dist/taco.cjs.development.js.map +1 -1
  104. package/dist/taco.cjs.production.min.js +1 -1
  105. package/dist/taco.cjs.production.min.js.map +1 -1
  106. package/dist/utils/mergeRefs.d.ts +2 -0
  107. package/package.json +4 -4
  108. package/types.json +7297 -0
package/dist/index.css CHANGED
@@ -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 pointer-events-none -ml-2 mr-1 -mt-2 -mb-2 inline 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;
@@ -234,6 +226,51 @@
234
226
  @apply -mt-px py-0 px-2;
235
227
  }
236
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;
272
+ }
273
+
237
274
  [data-taco='calendar'] .DayPicker-wrapper {
238
275
  @apply relative select-none flex-row;
239
276
  }
@@ -320,20 +357,11 @@
320
357
  @apply font-semibold;
321
358
  }
322
359
 
323
- [data-taco='scrollable-list'][disabled] {
324
- @apply pointer-events-none;
325
- }
326
-
327
- [data-taco='scrollable-list'][disabled],
328
- [data-taco='scrollable-list'][readonly] {
329
- @apply cursor-not-allowed;
330
- }
331
-
332
360
  [data-taco='scrollable-list'].yt-list--multiselect li:first-child {
333
- @apply pl-4 border-b-2 border-grey-light; /* Listbox max-height is dependant on this border-bottom-width value! */
361
+ @apply border-grey-light border-b-2 pl-4; /* Listbox max-height is dependant on this border-bottom-width value! */
334
362
  }
335
363
 
336
- [data-taco='scrollable-list'] li [data-taco='icon'] {
364
+ [data-taco='scrollable-list'] li > [data-taco='icon'] {
337
365
  @apply mr-2;
338
366
  }
339
367
 
@@ -369,61 +397,22 @@
369
397
  [data-taco='scrollable-list'] li.yt-list__empty,
370
398
  [data-taco='scrollable-list'] li.yt-list__empty:hover,
371
399
  [data-taco='scrollable-list'] li.yt-list__empty:focus {
372
- @apply bg-white text-grey-darkest italic overflow-hidden;
400
+ @apply text-grey-darkest overflow-hidden bg-white italic;
373
401
  }
374
402
 
375
403
  [data-taco='scrollable-list'] li.yt-list__empty [data-taco='spinner'] {
376
404
  @apply mr-2 mt-2 h-5 w-5 opacity-75;
377
405
  }
378
406
 
379
- .yt-combobox.yt-combobox--inline .yt-input__container > .yt-button {
380
- @apply yt-transparent text-grey-darkest border-0 shadow-none;
381
- }
382
-
383
- .yt-combobox.yt-combobox--inline .yt-input__container > .yt-button:hover,
384
- .yt-combobox.yt-combobox--inline .yt-input__container > .yt-button:active,
385
- .yt-combobox.yt-combobox--inline .yt-input__container > .yt-button:focus {
386
- @apply yt-transparent text-black;
387
- }
388
-
389
- .yt-combobox [role='dialog'] {
407
+ [data-taco='combobox'] [role='dialog'] {
390
408
  @apply z-50;
391
409
  }
392
410
 
393
- .yt-combobox > [aria-expanded='true'] + [role='dialog'] > ul,
394
- .yt-combobox > [aria-expanded='true'] + [role='dialog'] > ul:hover {
411
+ [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul,
412
+ [data-taco='combobox'] > [aria-expanded='true'] + [role='dialog'] > ul:hover {
395
413
  @apply border-blue;
396
414
  }
397
415
 
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
416
  .yt-form > [data-taco='button'] {
428
417
  @apply mr-3;
429
418
  }
@@ -440,35 +429,11 @@
440
429
  @apply mt-6;
441
430
  }
442
431
 
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
432
  /* label inside label is invalid html, but the client is littered with it */
452
433
  [data-taco='label'] [data-taco='label'] {
453
434
  min-height: 0;
454
435
  }
455
436
 
456
- .yt-listbox {
457
- @apply relative inline-flex w-full bg-white;
458
- }
459
-
460
- .yt-listbox > input {
461
- display: none;
462
- }
463
-
464
- .yt-listbox [data-taco='scrollable-list'] {
465
- max-height: calc(12rem + 2px); /* (6 * option height) + listbox border */
466
- }
467
-
468
- .yt-listbox [data-taco='scrollable-list'].yt-list--multiselect {
469
- max-height: calc(12rem + 2px + 2px); /* (6 * option height) + listbox border + ALL_OPTIONS bottom border */
470
- }
471
-
472
437
  .yt-navigation__item a,
473
438
  .yt-navigation__item .yt-navigation__item__postfix {
474
439
  @apply text-black;
@@ -508,49 +473,6 @@
508
473
  @apply border-white text-white;
509
474
  }
510
475
 
511
- [data-taco='select'] > button.yt-input {
512
- @apply relative inline-flex w-full items-center px-0;
513
- }
514
-
515
- [data-taco='select'] > button.yt-input > span:first-child {
516
- @apply flex-grow truncate pl-2 text-left;
517
- }
518
-
519
- [data-taco='select'] > button.yt-input .yt-icon {
520
- @apply pointer-events-none text-black;
521
- }
522
-
523
- [data-taco='select'] > button.yt-input[disabled] .yt-icon {
524
- @apply text-grey-dark;
525
- }
526
-
527
- [data-taco='select'][data-taco='select']--readonly > button.yt-input {
528
- @apply cursor-not-allowed;
529
- }
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
- [data-taco='select'] > button.yt-input[aria-expanded='true'],
538
- [data-taco='select'] > button.yt-input[aria-expanded='true']:hover {
539
- @apply border-blue;
540
- }
541
-
542
- [data-taco='select'] > button.yt-input[aria-expanded='true'] + .yt-listbox {
543
- @apply mt-1 flex;
544
- }
545
-
546
- [data-taco='select'] [role='dialog'] {
547
- @apply z-50;
548
- }
549
-
550
- [data-taco='select'] .yt-list {
551
- max-width: theme('spacing.96');
552
- }
553
-
554
476
  .yt-toast:hover [data-taco='progress-bar'] {
555
477
  animation-play-state: paused;
556
478
  }
@@ -584,81 +506,73 @@
584
506
  }
585
507
 
586
508
  .yt-table:focus {
587
- @apply rounded-sm yt-focus;
509
+ @apply yt-focus rounded-sm;
588
510
  }
589
511
 
590
512
  /* rows */
591
513
  .yt-table__row {
592
- @apply border-b border-grey-light flex;
514
+ @apply border-grey-light flex border-b;
593
515
  min-height: 2.5rem;
594
516
  }
595
517
 
596
518
  /* cells */
597
519
  .yt-table__cell {
598
- @apply flex-1 p-2 align-middle text-center truncate;
520
+ @apply flex-1 truncate p-2 text-center align-middle;
599
521
  }
600
522
 
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;
523
+ .yt-table__cell > [data-taco='button'],
524
+ .yt-table__cell > [data-taco='icon-button'] {
525
+ @apply -mt-1 -mb-1 flex;
612
526
  }
613
527
 
614
528
  .yt-table__cell.yt-table__cell--draggable {
615
529
  @apply flex-col px-0;
616
530
  }
617
531
 
618
- .yt-table__cell.yt-table__cell--draggable .yt-icon {
619
- @apply cursor-grab invisible text-grey-darkest;
532
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
533
+ @apply text-grey-darkest invisible cursor-grab;
620
534
  width: 20px;
621
535
  }
622
536
 
623
- .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable .yt-icon {
537
+ .yt-table__row.yt-table__row--dragging .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
624
538
  @apply text-white;
625
539
  }
626
540
 
627
- .yt-table__cell.yt-table__cell--draggable .yt-icon:active {
541
+ .yt-table__cell.yt-table__cell--draggable [data-taco='icon']:active {
628
542
  @apply cursor-grabbing;
629
543
  }
630
544
 
631
- .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable .yt-icon {
545
+ .yt-table__row:hover .yt-table__cell.yt-table__cell--draggable [data-taco='icon'] {
632
546
  @apply visible;
633
547
  }
634
548
 
635
549
  /* head */
636
550
  .yt-table__head .yt-table__row {
637
- @apply border-t-0 border-b-2 font-bold h-auto w-full select-none;
551
+ @apply h-auto w-full select-none border-t-0 border-b-2 font-bold;
638
552
  }
639
553
 
640
554
  .yt-table__head .yt-table__head__group {
641
- @apply flex flex-wrap flex-1;
555
+ @apply flex flex-1 flex-wrap;
642
556
  }
643
557
 
644
558
  .yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
645
- @apply border-b border-grey-light;
559
+ @apply border-grey-light border-b;
646
560
  flex-basis: 100%;
647
561
  }
648
562
 
649
563
  .yt-table__head .yt-table__head__group + .yt-table__head__group {
650
- @apply border-l border-grey-light;
564
+ @apply border-grey-light border-l;
651
565
  }
652
566
 
653
567
  .yt-table__head .yt-table__cell {
654
- @apply flex text-grey-darkest justify-center;
568
+ @apply text-grey-darkest flex justify-center;
655
569
  }
656
570
 
657
571
  .yt-table__head .yt-table__cell > span {
658
572
  @apply truncate;
659
573
  }
660
574
 
661
- .yt-table__head .yt-table__cell > .yt-icon {
575
+ .yt-table__head .yt-table__cell > [data-taco='icon'] {
662
576
  @apply flex-shrink-0;
663
577
  }
664
578
 
@@ -667,7 +581,7 @@
667
581
  }
668
582
 
669
583
  .yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
670
- @apply border-l-2 border-grey-light;
584
+ @apply border-grey-light border-l-2;
671
585
  }
672
586
 
673
587
  .yt-table__head .yt-table__cell:not(.yt-table__cell--disable-sort) {
@@ -723,35 +637,26 @@
723
637
  overflow-wrap: normal;
724
638
  }
725
639
 
726
- .yt-table__cell .yt-label {
727
- @apply text-transparent pb-0 -my-2;
640
+ .yt-table__cell [data-taco='label'] {
641
+ @apply -my-2 pb-0 text-transparent;
728
642
  min-height: theme('spacing.10');
729
643
  }
730
644
 
731
- .yt-table__cell .yt-label > *:not(.yt-label__message) {
645
+ .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
732
646
  @apply mt-1;
733
647
  }
734
648
 
735
- .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell .yt-label > *:not(.yt-label__message) {
649
+ .yt-table__body .yt-table__row.yt-table__row--editing .yt-table__cell [data-taco='label'] > *:not([data-taco='label']__message) {
736
650
  @apply -mt-5;
737
651
  }
738
652
 
739
- .yt-table__cell .yt-label > .yt-label__message {
653
+ .yt-table__cell [data-taco='label'] > [data-taco='label']__message {
740
654
  @apply mb-1;
741
655
  }
742
656
 
743
657
  /* drag */
744
658
  #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;
659
+ @apply bg-blue flex w-3/12 rounded p-4 font-bold text-white;
755
660
  }
756
661
 
757
662
  .yt-tabs .yt-tab__list[aria-orientation='vertical'] {
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 };