@dododog/ui 0.8.0 → 0.9.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 (153) hide show
  1. package/dist/{chunk-S26SN3WK.js → chunk-3JM2X4I2.js} +44 -40
  2. package/dist/{chunk-QTW2FJUJ.mjs → chunk-BFGRWOQM.mjs} +44 -40
  3. package/dist/chunk-P2SGBTKS.mjs +138 -0
  4. package/dist/chunk-ZCQJN4IT.js +160 -0
  5. package/dist/components/FloatingDock/index.js +2 -2
  6. package/dist/components/FloatingDock/index.mjs +1 -1
  7. package/dist/components/RoomTypeCard/index.js +3 -3
  8. package/dist/components/RoomTypeCard/index.mjs +1 -1
  9. package/dist/index.js +38 -38
  10. package/dist/index.mjs +9 -9
  11. package/package.json +11 -11
  12. package/dist/chunk-PBDPZTHK.mjs +0 -53
  13. package/dist/chunk-S732LTPT.js +0 -75
  14. package/dist/components/Accordion/index.d.mts +0 -24
  15. package/dist/components/Accordion/index.d.ts +0 -24
  16. package/dist/components/Alert/index.d.mts +0 -40
  17. package/dist/components/Alert/index.d.ts +0 -40
  18. package/dist/components/AnchorTabs/index.d.mts +0 -59
  19. package/dist/components/AnchorTabs/index.d.ts +0 -59
  20. package/dist/components/Autocomplete/index.d.mts +0 -27
  21. package/dist/components/Autocomplete/index.d.ts +0 -27
  22. package/dist/components/Avatar/index.d.mts +0 -13
  23. package/dist/components/Avatar/index.d.ts +0 -13
  24. package/dist/components/Badge/index.d.mts +0 -13
  25. package/dist/components/Badge/index.d.ts +0 -13
  26. package/dist/components/Banner/index.d.mts +0 -19
  27. package/dist/components/Banner/index.d.ts +0 -19
  28. package/dist/components/BottomNavBar/index.d.mts +0 -17
  29. package/dist/components/BottomNavBar/index.d.ts +0 -17
  30. package/dist/components/Breadcrumb/index.d.mts +0 -23
  31. package/dist/components/Breadcrumb/index.d.ts +0 -23
  32. package/dist/components/Button/index.d.mts +0 -17
  33. package/dist/components/Button/index.d.ts +0 -17
  34. package/dist/components/Card/index.d.mts +0 -30
  35. package/dist/components/Card/index.d.ts +0 -30
  36. package/dist/components/CardList/index.d.mts +0 -30
  37. package/dist/components/CardList/index.d.ts +0 -30
  38. package/dist/components/Carousel/index.d.mts +0 -15
  39. package/dist/components/Carousel/index.d.ts +0 -15
  40. package/dist/components/Checkbox/index.d.mts +0 -16
  41. package/dist/components/Checkbox/index.d.ts +0 -16
  42. package/dist/components/Counter/index.d.mts +0 -14
  43. package/dist/components/Counter/index.d.ts +0 -14
  44. package/dist/components/DateRangePicker/index.d.mts +0 -26
  45. package/dist/components/DateRangePicker/index.d.ts +0 -26
  46. package/dist/components/DetailList/index.d.mts +0 -23
  47. package/dist/components/DetailList/index.d.ts +0 -23
  48. package/dist/components/Divider/index.d.mts +0 -10
  49. package/dist/components/Divider/index.d.ts +0 -10
  50. package/dist/components/Drawer/index.d.mts +0 -13
  51. package/dist/components/Drawer/index.d.ts +0 -13
  52. package/dist/components/DropdownMenu/index.d.mts +0 -19
  53. package/dist/components/DropdownMenu/index.d.ts +0 -19
  54. package/dist/components/DualRangeSlider/index.d.mts +0 -26
  55. package/dist/components/DualRangeSlider/index.d.ts +0 -26
  56. package/dist/components/EmptyState/index.d.mts +0 -12
  57. package/dist/components/EmptyState/index.d.ts +0 -12
  58. package/dist/components/ErrorBoundary/index.d.mts +0 -21
  59. package/dist/components/ErrorBoundary/index.d.ts +0 -21
  60. package/dist/components/FilterAccordion/index.d.mts +0 -16
  61. package/dist/components/FilterAccordion/index.d.ts +0 -16
  62. package/dist/components/FilterPill/index.d.mts +0 -19
  63. package/dist/components/FilterPill/index.d.ts +0 -19
  64. package/dist/components/FloatingDock/index.d.mts +0 -44
  65. package/dist/components/FloatingDock/index.d.ts +0 -44
  66. package/dist/components/Footer/index.d.mts +0 -46
  67. package/dist/components/Footer/index.d.ts +0 -46
  68. package/dist/components/GuestPicker/index.d.mts +0 -31
  69. package/dist/components/GuestPicker/index.d.ts +0 -31
  70. package/dist/components/Header/index.d.mts +0 -37
  71. package/dist/components/Header/index.d.ts +0 -37
  72. package/dist/components/HotelCard/index.d.mts +0 -45
  73. package/dist/components/HotelCard/index.d.ts +0 -45
  74. package/dist/components/IconBadge/index.d.mts +0 -14
  75. package/dist/components/IconBadge/index.d.ts +0 -14
  76. package/dist/components/ImageGallery/index.d.mts +0 -16
  77. package/dist/components/ImageGallery/index.d.ts +0 -16
  78. package/dist/components/ImageWithFallback/index.d.mts +0 -17
  79. package/dist/components/ImageWithFallback/index.d.ts +0 -17
  80. package/dist/components/Input/index.d.mts +0 -18
  81. package/dist/components/Input/index.d.ts +0 -18
  82. package/dist/components/Lightbox/index.d.mts +0 -15
  83. package/dist/components/Lightbox/index.d.ts +0 -15
  84. package/dist/components/LinkCard/index.d.mts +0 -12
  85. package/dist/components/LinkCard/index.d.ts +0 -12
  86. package/dist/components/LoadingOverlay/index.d.mts +0 -12
  87. package/dist/components/LoadingOverlay/index.d.ts +0 -12
  88. package/dist/components/MegaMenu/index.d.mts +0 -52
  89. package/dist/components/MegaMenu/index.d.ts +0 -52
  90. package/dist/components/MobileMenu/index.d.mts +0 -35
  91. package/dist/components/MobileMenu/index.d.ts +0 -35
  92. package/dist/components/Modal/index.d.mts +0 -12
  93. package/dist/components/Modal/index.d.ts +0 -12
  94. package/dist/components/Pagination/index.d.mts +0 -13
  95. package/dist/components/Pagination/index.d.ts +0 -13
  96. package/dist/components/PriceDisplay/index.d.mts +0 -14
  97. package/dist/components/PriceDisplay/index.d.ts +0 -14
  98. package/dist/components/ProgressBar/index.d.mts +0 -19
  99. package/dist/components/ProgressBar/index.d.ts +0 -19
  100. package/dist/components/PromoBanner/index.d.mts +0 -39
  101. package/dist/components/PromoBanner/index.d.ts +0 -39
  102. package/dist/components/RadioGroup/index.d.mts +0 -21
  103. package/dist/components/RadioGroup/index.d.ts +0 -21
  104. package/dist/components/Rating/index.d.mts +0 -12
  105. package/dist/components/Rating/index.d.ts +0 -12
  106. package/dist/components/RoomTypeCard/index.d.mts +0 -102
  107. package/dist/components/RoomTypeCard/index.d.ts +0 -102
  108. package/dist/components/SearchBar/index.d.mts +0 -20
  109. package/dist/components/SearchBar/index.d.ts +0 -20
  110. package/dist/components/SegmentedControl/index.d.mts +0 -15
  111. package/dist/components/SegmentedControl/index.d.ts +0 -15
  112. package/dist/components/Select/index.d.mts +0 -26
  113. package/dist/components/Select/index.d.ts +0 -26
  114. package/dist/components/Sidebar/index.d.mts +0 -19
  115. package/dist/components/Sidebar/index.d.ts +0 -19
  116. package/dist/components/SignInCallout/index.d.mts +0 -26
  117. package/dist/components/SignInCallout/index.d.ts +0 -26
  118. package/dist/components/Skeleton/index.d.mts +0 -31
  119. package/dist/components/Skeleton/index.d.ts +0 -31
  120. package/dist/components/Spinner/index.d.mts +0 -13
  121. package/dist/components/Spinner/index.d.ts +0 -13
  122. package/dist/components/StatCard/index.d.mts +0 -15
  123. package/dist/components/StatCard/index.d.ts +0 -15
  124. package/dist/components/StatusBadge/index.d.mts +0 -16
  125. package/dist/components/StatusBadge/index.d.ts +0 -16
  126. package/dist/components/Stepper/index.d.mts +0 -16
  127. package/dist/components/Stepper/index.d.ts +0 -16
  128. package/dist/components/Switch/index.d.mts +0 -22
  129. package/dist/components/Switch/index.d.ts +0 -22
  130. package/dist/components/Tabs/index.d.mts +0 -18
  131. package/dist/components/Tabs/index.d.ts +0 -18
  132. package/dist/components/Tag/index.d.mts +0 -15
  133. package/dist/components/Tag/index.d.ts +0 -15
  134. package/dist/components/Textarea/index.d.mts +0 -16
  135. package/dist/components/Textarea/index.d.ts +0 -16
  136. package/dist/components/Toast/index.d.mts +0 -16
  137. package/dist/components/Toast/index.d.ts +0 -16
  138. package/dist/components/Toggle/index.d.mts +0 -13
  139. package/dist/components/Toggle/index.d.ts +0 -13
  140. package/dist/components/Tooltip/index.d.mts +0 -11
  141. package/dist/components/Tooltip/index.d.ts +0 -11
  142. package/dist/components/VerticalMarquee/index.d.mts +0 -16
  143. package/dist/components/VerticalMarquee/index.d.ts +0 -16
  144. package/dist/index.d.mts +0 -189
  145. package/dist/index.d.ts +0 -189
  146. package/dist/tailwind-preset.d.mts +0 -170
  147. package/dist/tailwind-preset.d.ts +0 -170
  148. package/dist/tokens/index.d.mts +0 -219
  149. package/dist/tokens/index.d.ts +0 -219
  150. package/dist/typography-BUlhEnfy.d.mts +0 -16
  151. package/dist/typography-BUlhEnfy.d.ts +0 -16
  152. package/dist/utils/index.d.mts +0 -5
  153. package/dist/utils/index.d.ts +0 -5
package/dist/index.js CHANGED
@@ -12,22 +12,22 @@ var chunk3VU6TPAT_js = require('./chunk-3VU6TPAT.js');
12
12
  var chunkI4S3R6C6_js = require('./chunk-I4S3R6C6.js');
13
13
  var chunk762LQMWP_js = require('./chunk-762LQMWP.js');
14
14
  var chunk7IJOHVNJ_js = require('./chunk-7IJOHVNJ.js');
15
- var chunkPG4I4NWO_js = require('./chunk-PG4I4NWO.js');
15
+ var chunkTZHT7NZU_js = require('./chunk-TZHT7NZU.js');
16
16
  var chunkGXKON34B_js = require('./chunk-GXKON34B.js');
17
- var chunkS26SN3WK_js = require('./chunk-S26SN3WK.js');
17
+ var chunk3JM2X4I2_js = require('./chunk-3JM2X4I2.js');
18
18
  var chunkNCU5PY34_js = require('./chunk-NCU5PY34.js');
19
19
  var chunkHS3MAW3G_js = require('./chunk-HS3MAW3G.js');
20
20
  var chunkQWDKSY6Y_js = require('./chunk-QWDKSY6Y.js');
21
21
  var chunk3R7PT3JG_js = require('./chunk-3R7PT3JG.js');
22
22
  var chunkDS4LM7OS_js = require('./chunk-DS4LM7OS.js');
23
23
  var chunkWXSBKARZ_js = require('./chunk-WXSBKARZ.js');
24
- var chunkTE4WHZ4Q_js = require('./chunk-TE4WHZ4Q.js');
25
24
  var chunkHN6B4TAW_js = require('./chunk-HN6B4TAW.js');
26
- var chunkKZSGVMUG_js = require('./chunk-KZSGVMUG.js');
25
+ var chunkW7DZZS6L_js = require('./chunk-W7DZZS6L.js');
27
26
  var chunkNBDPT3XQ_js = require('./chunk-NBDPT3XQ.js');
28
- var chunkSCGN5H6D_js = require('./chunk-SCGN5H6D.js');
27
+ var chunkKZSGVMUG_js = require('./chunk-KZSGVMUG.js');
29
28
  var chunkB4LR4H6R_js = require('./chunk-B4LR4H6R.js');
30
- var chunkTZHT7NZU_js = require('./chunk-TZHT7NZU.js');
29
+ var chunkSCGN5H6D_js = require('./chunk-SCGN5H6D.js');
30
+ var chunkPG4I4NWO_js = require('./chunk-PG4I4NWO.js');
31
31
  var chunkPRDIS2VR_js = require('./chunk-PRDIS2VR.js');
32
32
  var chunkIRKM5UF4_js = require('./chunk-IRKM5UF4.js');
33
33
  var chunkECVKFE6U_js = require('./chunk-ECVKFE6U.js');
@@ -36,20 +36,20 @@ var chunkMKOKWME3_js = require('./chunk-MKOKWME3.js');
36
36
  var chunkDLOHAW74_js = require('./chunk-DLOHAW74.js');
37
37
  var chunk77WKG2D7_js = require('./chunk-77WKG2D7.js');
38
38
  var chunkU3XWNFHH_js = require('./chunk-U3XWNFHH.js');
39
- var chunkW7DZZS6L_js = require('./chunk-W7DZZS6L.js');
39
+ var chunkTE4WHZ4Q_js = require('./chunk-TE4WHZ4Q.js');
40
40
  var chunkTDGU5Y2P_js = require('./chunk-TDGU5Y2P.js');
41
41
  var chunkIEHX4DU6_js = require('./chunk-IEHX4DU6.js');
42
42
  var chunkS5TLUDNM_js = require('./chunk-S5TLUDNM.js');
43
43
  var chunk7W3TFPIF_js = require('./chunk-7W3TFPIF.js');
44
44
  var chunkTJDHGNMR_js = require('./chunk-TJDHGNMR.js');
45
- var chunkS732LTPT_js = require('./chunk-S732LTPT.js');
45
+ var chunkZCQJN4IT_js = require('./chunk-ZCQJN4IT.js');
46
46
  var chunkC4RZBOKH_js = require('./chunk-C4RZBOKH.js');
47
47
  var chunkKOO5ZXLD_js = require('./chunk-KOO5ZXLD.js');
48
48
  var chunkP7GAKOCX_js = require('./chunk-P7GAKOCX.js');
49
+ var chunkIJIUUBFT_js = require('./chunk-IJIUUBFT.js');
49
50
  var chunkT4AT3YCT_js = require('./chunk-T4AT3YCT.js');
50
51
  var chunkAIA3NHCK_js = require('./chunk-AIA3NHCK.js');
51
52
  var chunkE24VNM6S_js = require('./chunk-E24VNM6S.js');
52
- var chunkIJIUUBFT_js = require('./chunk-IJIUUBFT.js');
53
53
  var chunkXXC2YD3D_js = require('./chunk-XXC2YD3D.js');
54
54
  var chunkVWFY24XF_js = require('./chunk-VWFY24XF.js');
55
55
  var chunkT5FLQQP6_js = require('./chunk-T5FLQQP6.js');
@@ -561,17 +561,9 @@ Object.defineProperty(exports, "tagVariants", {
561
561
  enumerable: true,
562
562
  get: function () { return chunk7IJOHVNJ_js.tagVariants; }
563
563
  });
564
- Object.defineProperty(exports, "ProgressBar", {
565
- enumerable: true,
566
- get: function () { return chunkPG4I4NWO_js.ProgressBar; }
567
- });
568
- Object.defineProperty(exports, "progressBarVariants", {
569
- enumerable: true,
570
- get: function () { return chunkPG4I4NWO_js.progressBarVariants; }
571
- });
572
- Object.defineProperty(exports, "progressFillVariants", {
564
+ Object.defineProperty(exports, "Rating", {
573
565
  enumerable: true,
574
- get: function () { return chunkPG4I4NWO_js.progressFillVariants; }
566
+ get: function () { return chunkTZHT7NZU_js.Rating; }
575
567
  });
576
568
  Object.defineProperty(exports, "RadioGroup", {
577
569
  enumerable: true,
@@ -579,11 +571,11 @@ Object.defineProperty(exports, "RadioGroup", {
579
571
  });
580
572
  Object.defineProperty(exports, "RoomTypeCard", {
581
573
  enumerable: true,
582
- get: function () { return chunkS26SN3WK_js.RoomTypeCard; }
574
+ get: function () { return chunk3JM2X4I2_js.RoomTypeCard; }
583
575
  });
584
576
  Object.defineProperty(exports, "RoomTypeCardSkeleton", {
585
577
  enumerable: true,
586
- get: function () { return chunkS26SN3WK_js.RoomTypeCardSkeleton; }
578
+ get: function () { return chunk3JM2X4I2_js.RoomTypeCardSkeleton; }
587
579
  });
588
580
  Object.defineProperty(exports, "Skeleton", {
589
581
  enumerable: true,
@@ -629,33 +621,41 @@ Object.defineProperty(exports, "signInCalloutVariants", {
629
621
  enumerable: true,
630
622
  get: function () { return chunkWXSBKARZ_js.signInCalloutVariants; }
631
623
  });
632
- Object.defineProperty(exports, "LoadingOverlay", {
633
- enumerable: true,
634
- get: function () { return chunkTE4WHZ4Q_js.LoadingOverlay; }
635
- });
636
624
  Object.defineProperty(exports, "MegaMenu", {
637
625
  enumerable: true,
638
626
  get: function () { return chunkHN6B4TAW_js.MegaMenu; }
639
627
  });
640
- Object.defineProperty(exports, "MobileMenu", {
628
+ Object.defineProperty(exports, "LinkCard", {
641
629
  enumerable: true,
642
- get: function () { return chunkKZSGVMUG_js.MobileMenu; }
630
+ get: function () { return chunkW7DZZS6L_js.LinkCard; }
643
631
  });
644
632
  Object.defineProperty(exports, "Modal", {
645
633
  enumerable: true,
646
634
  get: function () { return chunkNBDPT3XQ_js.Modal; }
647
635
  });
648
- Object.defineProperty(exports, "Pagination", {
636
+ Object.defineProperty(exports, "MobileMenu", {
649
637
  enumerable: true,
650
- get: function () { return chunkSCGN5H6D_js.Pagination; }
638
+ get: function () { return chunkKZSGVMUG_js.MobileMenu; }
651
639
  });
652
640
  Object.defineProperty(exports, "PriceDisplay", {
653
641
  enumerable: true,
654
642
  get: function () { return chunkB4LR4H6R_js.PriceDisplay; }
655
643
  });
656
- Object.defineProperty(exports, "Rating", {
644
+ Object.defineProperty(exports, "Pagination", {
657
645
  enumerable: true,
658
- get: function () { return chunkTZHT7NZU_js.Rating; }
646
+ get: function () { return chunkSCGN5H6D_js.Pagination; }
647
+ });
648
+ Object.defineProperty(exports, "ProgressBar", {
649
+ enumerable: true,
650
+ get: function () { return chunkPG4I4NWO_js.ProgressBar; }
651
+ });
652
+ Object.defineProperty(exports, "progressBarVariants", {
653
+ enumerable: true,
654
+ get: function () { return chunkPG4I4NWO_js.progressBarVariants; }
655
+ });
656
+ Object.defineProperty(exports, "progressFillVariants", {
657
+ enumerable: true,
658
+ get: function () { return chunkPG4I4NWO_js.progressFillVariants; }
659
659
  });
660
660
  Object.defineProperty(exports, "PromoBanner", {
661
661
  enumerable: true,
@@ -701,9 +701,9 @@ Object.defineProperty(exports, "Lightbox", {
701
701
  enumerable: true,
702
702
  get: function () { return chunkU3XWNFHH_js.Lightbox; }
703
703
  });
704
- Object.defineProperty(exports, "LinkCard", {
704
+ Object.defineProperty(exports, "LoadingOverlay", {
705
705
  enumerable: true,
706
- get: function () { return chunkW7DZZS6L_js.LinkCard; }
706
+ get: function () { return chunkTE4WHZ4Q_js.LoadingOverlay; }
707
707
  });
708
708
  Object.defineProperty(exports, "DualRangeSlider", {
709
709
  enumerable: true,
@@ -727,7 +727,7 @@ Object.defineProperty(exports, "FilterPill", {
727
727
  });
728
728
  Object.defineProperty(exports, "FloatingDock", {
729
729
  enumerable: true,
730
- get: function () { return chunkS732LTPT_js.FloatingDock; }
730
+ get: function () { return chunkZCQJN4IT_js.FloatingDock; }
731
731
  });
732
732
  Object.defineProperty(exports, "Footer", {
733
733
  enumerable: true,
@@ -741,6 +741,10 @@ Object.defineProperty(exports, "Carousel", {
741
741
  enumerable: true,
742
742
  get: function () { return chunkP7GAKOCX_js.Carousel; }
743
743
  });
744
+ Object.defineProperty(exports, "Checkbox", {
745
+ enumerable: true,
746
+ get: function () { return chunkIJIUUBFT_js.Checkbox; }
747
+ });
744
748
  Object.defineProperty(exports, "Counter", {
745
749
  enumerable: true,
746
750
  get: function () { return chunkT4AT3YCT_js.Counter; }
@@ -757,10 +761,6 @@ Object.defineProperty(exports, "DetailList", {
757
761
  enumerable: true,
758
762
  get: function () { return chunkE24VNM6S_js.DetailList; }
759
763
  });
760
- Object.defineProperty(exports, "Checkbox", {
761
- enumerable: true,
762
- get: function () { return chunkIJIUUBFT_js.Checkbox; }
763
- });
764
764
  Object.defineProperty(exports, "Divider", {
765
765
  enumerable: true,
766
766
  get: function () { return chunkXXC2YD3D_js.Divider; }
package/dist/index.mjs CHANGED
@@ -10,22 +10,22 @@ export { Stepper } from './chunk-2ASKBL63.mjs';
10
10
  export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-DMCMWOBJ.mjs';
11
11
  export { Tabs } from './chunk-VOZPGXQD.mjs';
12
12
  export { Tag, tagVariants } from './chunk-WOG6V7OW.mjs';
13
- export { ProgressBar, progressBarVariants, progressFillVariants } from './chunk-UGYMWWKT.mjs';
13
+ export { Rating } from './chunk-SGDC4IVX.mjs';
14
14
  export { RadioGroup } from './chunk-F2BUMJYW.mjs';
15
- export { RoomTypeCard, RoomTypeCardSkeleton } from './chunk-QTW2FJUJ.mjs';
15
+ export { RoomTypeCard, RoomTypeCardSkeleton } from './chunk-BFGRWOQM.mjs';
16
16
  export { Skeleton, SkeletonCircle, SkeletonImage, SkeletonText } from './chunk-PAHSQMXV.mjs';
17
17
  export { SearchBar } from './chunk-KQK7LFWM.mjs';
18
18
  export { SegmentedControl } from './chunk-36Y7UU32.mjs';
19
19
  export { Select, selectVariants } from './chunk-333YD5QI.mjs';
20
20
  export { Sidebar } from './chunk-MPL35D5G.mjs';
21
21
  export { SignInCallout, signInCalloutVariants } from './chunk-Z3KRMKHP.mjs';
22
- export { LoadingOverlay } from './chunk-WVEJS2J2.mjs';
23
22
  export { MegaMenu } from './chunk-EUEM2D5M.mjs';
24
- export { MobileMenu } from './chunk-R4DC7XPP.mjs';
23
+ export { LinkCard } from './chunk-UYDZKAGZ.mjs';
25
24
  export { Modal } from './chunk-74B2EGKT.mjs';
26
- export { Pagination } from './chunk-XQVODPHL.mjs';
25
+ export { MobileMenu } from './chunk-R4DC7XPP.mjs';
27
26
  export { PriceDisplay } from './chunk-REXLQTNE.mjs';
28
- export { Rating } from './chunk-SGDC4IVX.mjs';
27
+ export { Pagination } from './chunk-XQVODPHL.mjs';
28
+ export { ProgressBar, progressBarVariants, progressFillVariants } from './chunk-UGYMWWKT.mjs';
29
29
  export { PromoBanner, promoBannerVariants } from './chunk-FNDR3WOZ.mjs';
30
30
  export { Header } from './chunk-PPDKQ3FF.mjs';
31
31
  export { HotelCard } from './chunk-XSSRFA5O.mjs';
@@ -34,20 +34,20 @@ export { ImageGallery } from './chunk-QU6ZRLKO.mjs';
34
34
  export { ImageWithFallback } from './chunk-BUXVK2HE.mjs';
35
35
  export { Input, inputVariants } from './chunk-GRG4USTC.mjs';
36
36
  export { Lightbox } from './chunk-GBWVIY3C.mjs';
37
- export { LinkCard } from './chunk-UYDZKAGZ.mjs';
37
+ export { LoadingOverlay } from './chunk-WVEJS2J2.mjs';
38
38
  export { DualRangeSlider } from './chunk-ERL3WXNY.mjs';
39
39
  export { EmptyState } from './chunk-OCUHCDAQ.mjs';
40
40
  export { ErrorBoundary } from './chunk-5257MWFI.mjs';
41
41
  export { FilterAccordion } from './chunk-VQVRKRSM.mjs';
42
42
  export { FilterPill } from './chunk-YKBASX5A.mjs';
43
- export { FloatingDock } from './chunk-PBDPZTHK.mjs';
43
+ export { FloatingDock } from './chunk-P2SGBTKS.mjs';
44
44
  export { Footer } from './chunk-SZ3SV4SJ.mjs';
45
45
  export { GuestPicker } from './chunk-EJ7LDW7E.mjs';
46
46
  export { Carousel } from './chunk-OOPP4ES2.mjs';
47
+ export { Checkbox } from './chunk-EEIPCJQ2.mjs';
47
48
  export { Counter } from './chunk-LRNSVRUN.mjs';
48
49
  export { DatePickerInput, DateRangePicker } from './chunk-FL3GD5FJ.mjs';
49
50
  export { DetailList } from './chunk-N6THLJIG.mjs';
50
- export { Checkbox } from './chunk-EEIPCJQ2.mjs';
51
51
  export { Divider } from './chunk-E4B6LXK7.mjs';
52
52
  export { Drawer } from './chunk-ZLF7IL3Y.mjs';
53
53
  export { DropdownMenu } from './chunk-Q7BKR6O7.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dododog/ui",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "React UI component library for DodoDog — pet-friendly travel platform",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -367,19 +367,25 @@
367
367
  "main": "./dist/index.js",
368
368
  "module": "./dist/index.mjs",
369
369
  "types": "./dist/index.d.ts",
370
+ "scripts": {
371
+ "build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
372
+ "dev": "tsup --watch",
373
+ "lint": "eslint . --max-warnings 0",
374
+ "clean": "rm -rf .turbo node_modules dist"
375
+ },
370
376
  "peerDependencies": {
371
377
  "react": ">=18",
372
378
  "tailwindcss": ">=3"
373
379
  },
374
380
  "devDependencies": {
381
+ "@dododog/eslint-config": "workspace:*",
382
+ "@dododog/typescript-config": "workspace:*",
375
383
  "@types/react": "^18.2.61",
376
384
  "@types/react-dom": "^18.2.19",
377
385
  "eslint": "^8.57.0",
378
386
  "react": "^18.2.0",
379
387
  "tsup": "^8.0.2",
380
- "typescript": "5.5.4",
381
- "@dododog/eslint-config": "0.0.0",
382
- "@dododog/typescript-config": "0.0.0"
388
+ "typescript": "5.5.4"
383
389
  },
384
390
  "publishConfig": {
385
391
  "access": "public"
@@ -389,11 +395,5 @@
389
395
  "class-variance-authority": "^0.7.1",
390
396
  "clsx": "^2.1.1",
391
397
  "tailwind-merge": "^2.6.1"
392
- },
393
- "scripts": {
394
- "build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
395
- "dev": "tsup --watch",
396
- "lint": "eslint . --max-warnings 0",
397
- "clean": "rm -rf .turbo node_modules dist"
398
398
  }
399
- }
399
+ }
@@ -1,53 +0,0 @@
1
- import { cn } from './chunk-IMKLN273.mjs';
2
- import * as React from 'react';
3
- import { jsx, jsxs } from 'react/jsx-runtime';
4
-
5
- var FloatingDock = React.forwardRef(
6
- ({ items, className, ariaLabel = "Navigation rapide", onNavigate }, ref) => {
7
- return /* @__PURE__ */ jsx(
8
- "nav",
9
- {
10
- ref,
11
- "aria-label": ariaLabel,
12
- className: cn(
13
- "inline-flex items-center gap-1 rounded-full border border-black/5 bg-white/95 px-2 py-2 shadow-[0_8px_30px_rgba(0,0,0,0.12)] backdrop-blur",
14
- className
15
- ),
16
- children: items.map((item) => /* @__PURE__ */ jsxs(
17
- "a",
18
- {
19
- href: item.href,
20
- "aria-label": item.label,
21
- "aria-current": item.isActive ? "page" : void 0,
22
- title: item.label,
23
- onClick: onNavigate ? (event) => {
24
- event.preventDefault();
25
- onNavigate(item);
26
- } : void 0,
27
- className: cn(
28
- "flex min-h-[44px] items-center justify-center rounded-full outline-none transition-colors focus-visible:ring-2 focus-visible:ring-secondary focus-visible:ring-offset-2",
29
- item.isActive ? "bg-secondary px-4 text-white" : "w-11 text-primary/70 hover:bg-secondary/5 hover:text-secondary"
30
- ),
31
- children: [
32
- /* @__PURE__ */ jsx("span", { className: "shrink-0", "aria-hidden": "true", children: item.icon }),
33
- /* @__PURE__ */ jsx(
34
- "span",
35
- {
36
- className: cn(
37
- "overflow-hidden whitespace-nowrap text-sm font-medium transition-all duration-300",
38
- item.isActive ? "ml-2 max-w-[8rem] opacity-100" : "ml-0 max-w-0 opacity-0"
39
- ),
40
- children: item.label
41
- }
42
- )
43
- ]
44
- },
45
- item.key
46
- ))
47
- }
48
- );
49
- }
50
- );
51
- FloatingDock.displayName = "FloatingDock";
52
-
53
- export { FloatingDock };
@@ -1,75 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
- var React = require('react');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n.default = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
26
-
27
- var FloatingDock = React__namespace.forwardRef(
28
- ({ items, className, ariaLabel = "Navigation rapide", onNavigate }, ref) => {
29
- return /* @__PURE__ */ jsxRuntime.jsx(
30
- "nav",
31
- {
32
- ref,
33
- "aria-label": ariaLabel,
34
- className: chunkADIDI7AJ_js.cn(
35
- "inline-flex items-center gap-1 rounded-full border border-black/5 bg-white/95 px-2 py-2 shadow-[0_8px_30px_rgba(0,0,0,0.12)] backdrop-blur",
36
- className
37
- ),
38
- children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
39
- "a",
40
- {
41
- href: item.href,
42
- "aria-label": item.label,
43
- "aria-current": item.isActive ? "page" : void 0,
44
- title: item.label,
45
- onClick: onNavigate ? (event) => {
46
- event.preventDefault();
47
- onNavigate(item);
48
- } : void 0,
49
- className: chunkADIDI7AJ_js.cn(
50
- "flex min-h-[44px] items-center justify-center rounded-full outline-none transition-colors focus-visible:ring-2 focus-visible:ring-secondary focus-visible:ring-offset-2",
51
- item.isActive ? "bg-secondary px-4 text-white" : "w-11 text-primary/70 hover:bg-secondary/5 hover:text-secondary"
52
- ),
53
- children: [
54
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", "aria-hidden": "true", children: item.icon }),
55
- /* @__PURE__ */ jsxRuntime.jsx(
56
- "span",
57
- {
58
- className: chunkADIDI7AJ_js.cn(
59
- "overflow-hidden whitespace-nowrap text-sm font-medium transition-all duration-300",
60
- item.isActive ? "ml-2 max-w-[8rem] opacity-100" : "ml-0 max-w-0 opacity-0"
61
- ),
62
- children: item.label
63
- }
64
- )
65
- ]
66
- },
67
- item.key
68
- ))
69
- }
70
- );
71
- }
72
- );
73
- FloatingDock.displayName = "FloatingDock";
74
-
75
- exports.FloatingDock = FloatingDock;
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface AccordionItemData {
4
- key: string;
5
- title: string;
6
- content: React.ReactNode;
7
- }
8
- interface AccordionProps {
9
- items: AccordionItemData[];
10
- defaultOpenIndex?: number | null;
11
- /** Open multiple items by default (requires `allowMultiple`). Takes precedence over `defaultOpenIndex`. */
12
- defaultOpenIndexes?: number[];
13
- allowMultiple?: boolean;
14
- className?: string;
15
- }
16
- declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
17
- interface AccordionItemProps {
18
- title: string;
19
- isOpen: boolean;
20
- onToggle: () => void;
21
- children: React.ReactNode;
22
- }
23
-
24
- export { Accordion, type AccordionItemData, type AccordionItemProps, type AccordionProps };
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface AccordionItemData {
4
- key: string;
5
- title: string;
6
- content: React.ReactNode;
7
- }
8
- interface AccordionProps {
9
- items: AccordionItemData[];
10
- defaultOpenIndex?: number | null;
11
- /** Open multiple items by default (requires `allowMultiple`). Takes precedence over `defaultOpenIndex`. */
12
- defaultOpenIndexes?: number[];
13
- allowMultiple?: boolean;
14
- className?: string;
15
- }
16
- declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
17
- interface AccordionItemProps {
18
- title: string;
19
- isOpen: boolean;
20
- onToggle: () => void;
21
- children: React.ReactNode;
22
- }
23
-
24
- export { Accordion, type AccordionItemData, type AccordionItemProps, type AccordionProps };
@@ -1,40 +0,0 @@
1
- import * as React from 'react';
2
-
3
- declare const variantStyles: {
4
- warning: {
5
- container: string;
6
- icon: string;
7
- dismiss: string;
8
- retry: string;
9
- };
10
- error: {
11
- container: string;
12
- icon: string;
13
- dismiss: string;
14
- retry: string;
15
- };
16
- success: {
17
- container: string;
18
- icon: string;
19
- dismiss: string;
20
- retry: string;
21
- };
22
- info: {
23
- container: string;
24
- icon: string;
25
- dismiss: string;
26
- retry: string;
27
- };
28
- };
29
- interface AlertProps {
30
- message: string;
31
- variant?: keyof typeof variantStyles;
32
- onDismiss?: () => void;
33
- onRetry?: () => void;
34
- retryLabel?: string;
35
- isRetrying?: boolean;
36
- className?: string;
37
- }
38
- declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
39
-
40
- export { Alert, type AlertProps };
@@ -1,40 +0,0 @@
1
- import * as React from 'react';
2
-
3
- declare const variantStyles: {
4
- warning: {
5
- container: string;
6
- icon: string;
7
- dismiss: string;
8
- retry: string;
9
- };
10
- error: {
11
- container: string;
12
- icon: string;
13
- dismiss: string;
14
- retry: string;
15
- };
16
- success: {
17
- container: string;
18
- icon: string;
19
- dismiss: string;
20
- retry: string;
21
- };
22
- info: {
23
- container: string;
24
- icon: string;
25
- dismiss: string;
26
- retry: string;
27
- };
28
- };
29
- interface AlertProps {
30
- message: string;
31
- variant?: keyof typeof variantStyles;
32
- onDismiss?: () => void;
33
- onRetry?: () => void;
34
- retryLabel?: string;
35
- isRetrying?: boolean;
36
- className?: string;
37
- }
38
- declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
39
-
40
- export { Alert, type AlertProps };
@@ -1,59 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface AnchorTabItem {
4
- /**
5
- * Identifiant de la section cible : doit correspondre à l'attribut `id` de
6
- * l'élément de section dans le DOM (le lien pointe sur `#{key}`).
7
- */
8
- key: string;
9
- /** Libellé affiché de l'onglet. */
10
- label: string;
11
- }
12
- interface AnchorTabsProps {
13
- /** Onglets d'ancrage, dans l'ordre d'apparition des sections. */
14
- items: AnchorTabItem[];
15
- /** Classes supplémentaires appliquées à la barre `<nav>`. */
16
- className?: string;
17
- /** Libellé ARIA de la navigation. */
18
- ariaLabel?: string;
19
- /**
20
- * Décalage (px) réservé en haut de page pour le scroll-spy ET le défilement
21
- * au clic (barre sticky / header). Défaut : 96.
22
- */
23
- offsetTop?: number;
24
- /** Notifié à chaque changement de section active (scroll ou clic). */
25
- onActiveChange?: (key: string) => void;
26
- /**
27
- * Épingle la barre (position fixed) tant qu'au moins une des sections
28
- * ancrées reste dans le viewport — au-delà de la portée d'un simple
29
- * `position: sticky` limité au parent. Un espace réservé conserve la
30
- * hauteur de la barre (aucun layout shift).
31
- */
32
- pinWhileSectionsVisible?: boolean;
33
- /** Ordonnée (px) de l'épinglage sous le header. Défaut : 72. */
34
- pinTop?: number;
35
- /** Classes du conteneur/sentinelle (ex. `hidden lg:block`). */
36
- containerClassName?: string;
37
- /**
38
- * Présentation de la barre :
39
- * - `underline` (défaut) : rangée d'onglets sur fond blanc, actif souligné ;
40
- * - `pills` : chips arrondies posées sur le fond de page (pattern
41
- * FilterPill) — actif rempli `primary`, inactifs en pill blanche bordée.
42
- */
43
- variant?: "underline" | "pills";
44
- }
45
- /**
46
- * Barre d'onglets d'ancrage (desktop) avec scroll-spy.
47
- *
48
- * Présente une rangée de liens `<a href="#{key}">` ; l'onglet dont la section
49
- * est actuellement en haut du viewport (au-delà de `offsetTop`) est souligné.
50
- * Le composant observe le défilement de la fenêtre (via `requestAnimationFrame`)
51
- * pour déterminer la section courante et défile en douceur au clic.
52
- *
53
- * Les sections cibles doivent porter l'`id` correspondant à chaque `key`. Le
54
- * positionnement (sticky, largeur, visibilité responsive) reste à la charge de
55
- * l'appelant via `className`.
56
- */
57
- declare const AnchorTabs: React.ForwardRefExoticComponent<AnchorTabsProps & React.RefAttributes<HTMLElement>>;
58
-
59
- export { type AnchorTabItem, AnchorTabs, type AnchorTabsProps };
@@ -1,59 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface AnchorTabItem {
4
- /**
5
- * Identifiant de la section cible : doit correspondre à l'attribut `id` de
6
- * l'élément de section dans le DOM (le lien pointe sur `#{key}`).
7
- */
8
- key: string;
9
- /** Libellé affiché de l'onglet. */
10
- label: string;
11
- }
12
- interface AnchorTabsProps {
13
- /** Onglets d'ancrage, dans l'ordre d'apparition des sections. */
14
- items: AnchorTabItem[];
15
- /** Classes supplémentaires appliquées à la barre `<nav>`. */
16
- className?: string;
17
- /** Libellé ARIA de la navigation. */
18
- ariaLabel?: string;
19
- /**
20
- * Décalage (px) réservé en haut de page pour le scroll-spy ET le défilement
21
- * au clic (barre sticky / header). Défaut : 96.
22
- */
23
- offsetTop?: number;
24
- /** Notifié à chaque changement de section active (scroll ou clic). */
25
- onActiveChange?: (key: string) => void;
26
- /**
27
- * Épingle la barre (position fixed) tant qu'au moins une des sections
28
- * ancrées reste dans le viewport — au-delà de la portée d'un simple
29
- * `position: sticky` limité au parent. Un espace réservé conserve la
30
- * hauteur de la barre (aucun layout shift).
31
- */
32
- pinWhileSectionsVisible?: boolean;
33
- /** Ordonnée (px) de l'épinglage sous le header. Défaut : 72. */
34
- pinTop?: number;
35
- /** Classes du conteneur/sentinelle (ex. `hidden lg:block`). */
36
- containerClassName?: string;
37
- /**
38
- * Présentation de la barre :
39
- * - `underline` (défaut) : rangée d'onglets sur fond blanc, actif souligné ;
40
- * - `pills` : chips arrondies posées sur le fond de page (pattern
41
- * FilterPill) — actif rempli `primary`, inactifs en pill blanche bordée.
42
- */
43
- variant?: "underline" | "pills";
44
- }
45
- /**
46
- * Barre d'onglets d'ancrage (desktop) avec scroll-spy.
47
- *
48
- * Présente une rangée de liens `<a href="#{key}">` ; l'onglet dont la section
49
- * est actuellement en haut du viewport (au-delà de `offsetTop`) est souligné.
50
- * Le composant observe le défilement de la fenêtre (via `requestAnimationFrame`)
51
- * pour déterminer la section courante et défile en douceur au clic.
52
- *
53
- * Les sections cibles doivent porter l'`id` correspondant à chaque `key`. Le
54
- * positionnement (sticky, largeur, visibilité responsive) reste à la charge de
55
- * l'appelant via `className`.
56
- */
57
- declare const AnchorTabs: React.ForwardRefExoticComponent<AnchorTabsProps & React.RefAttributes<HTMLElement>>;
58
-
59
- export { type AnchorTabItem, AnchorTabs, type AnchorTabsProps };