@yuno-payments/dashboard-design-system 0.0.8-beta.6 → 0.0.9

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 (551) hide show
  1. package/README.md +296 -66
  2. package/dist/_virtual/index.js +5 -0
  3. package/dist/_virtual/index2.js +4 -0
  4. package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
  5. package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
  6. package/dist/components/atoms/alert/alert.d.ts +10 -0
  7. package/dist/components/atoms/alert/index.d.ts +1 -0
  8. package/dist/components/atoms/avatar/avatar-group.d.ts +9 -0
  9. package/dist/components/atoms/avatar/avatar.d.ts +14 -0
  10. package/dist/components/atoms/avatar/avatar.js +76 -0
  11. package/dist/components/atoms/avatar/avatar.utils.d.ts +2 -0
  12. package/dist/components/atoms/avatar/avatar.utils.js +11 -0
  13. package/dist/components/atoms/avatar/index.d.ts +2 -13
  14. package/dist/components/atoms/badge/badge.d.ts +12 -0
  15. package/dist/components/atoms/badge/badge.js +15 -0
  16. package/dist/components/atoms/badge/index.d.ts +1 -0
  17. package/dist/components/atoms/button/button.d.ts +13 -0
  18. package/dist/components/atoms/button/button.js +19 -0
  19. package/dist/components/atoms/button/index.d.ts +1 -14
  20. package/dist/components/atoms/checkbox/checkbox.d.ts +8 -0
  21. package/dist/components/atoms/checkbox/checkbox.js +35 -0
  22. package/dist/components/atoms/checkbox/index.d.ts +1 -10
  23. package/dist/components/atoms/icon/icon-list.d.ts +194 -0
  24. package/dist/components/atoms/icon/icon-list.js +384 -0
  25. package/dist/components/atoms/icon/icon.d.ts +13 -0
  26. package/dist/components/atoms/icon/icon.js +38 -0
  27. package/dist/components/atoms/icon/index.d.ts +2 -0
  28. package/dist/components/atoms/index.d.ts +6 -0
  29. package/dist/components/atoms/input/index.d.ts +1 -3
  30. package/dist/components/atoms/input/input.d.ts +14 -0
  31. package/dist/components/atoms/label/index.d.ts +1 -0
  32. package/dist/components/atoms/radio-group/index.d.ts +1 -0
  33. package/dist/components/atoms/radio-group/radio-group.d.ts +13 -0
  34. package/dist/components/atoms/separator/index.d.ts +1 -0
  35. package/dist/components/atoms/separator/separator.d.ts +14 -0
  36. package/dist/components/atoms/skeleton/index.d.ts +1 -14
  37. package/dist/components/atoms/switch/index.d.ts +1 -0
  38. package/dist/components/atoms/switch/switch.d.ts +10 -0
  39. package/dist/components/atoms/tabs/index.d.ts +1 -0
  40. package/dist/components/atoms/tooltip/index.d.ts +1 -0
  41. package/dist/components/atoms/tooltip/tooltip.d.ts +14 -0
  42. package/dist/components/atoms/tooltip/tooltip.js +23 -0
  43. package/dist/components/atoms/typography/index.d.ts +1 -11
  44. package/dist/components/atoms/typography/typography.d.ts +11 -0
  45. package/dist/components/index.d.ts +3 -19
  46. package/dist/components/molecules/breadcrumb/breadcrumb.d.ts +17 -0
  47. package/dist/components/molecules/breadcrumb/breadcrumb.js +47 -0
  48. package/dist/components/molecules/breadcrumb/index.d.ts +1 -0
  49. package/dist/components/molecules/index.d.ts +1 -0
  50. package/dist/components/organisms/dialog/dialog.d.ts +24 -0
  51. package/dist/components/organisms/dialog/dialog.js +137 -0
  52. package/dist/components/organisms/dialog/index.d.ts +1 -34
  53. package/dist/components/organisms/index.d.ts +1 -0
  54. package/dist/index.css +1 -0
  55. package/dist/index.d.ts +1 -2
  56. package/dist/index.js +19 -0
  57. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
  58. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
  59. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
  60. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  61. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
  62. package/dist/node_modules/@phosphor-icons/react/dist/csr/Archive.es.js +8 -0
  63. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowBendUpLeft.es.js +8 -0
  64. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowBendUpRight.es.js +8 -0
  65. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleLeft.es.js +8 -0
  66. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleRight.es.js +8 -0
  67. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleUp.es.js +8 -0
  68. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleUpLeft.es.js +8 -0
  69. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowClockwise.es.js +8 -0
  70. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCounterClockwise.es.js +8 -0
  71. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowElbowDownRight.es.js +8 -0
  72. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowLeft.es.js +8 -0
  73. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowRight.es.js +8 -0
  74. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowSquareIn.es.js +8 -0
  75. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowUp.es.js +8 -0
  76. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowUpRight.es.js +8 -0
  77. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsClockwise.es.js +8 -0
  78. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsDownUp.es.js +8 -0
  79. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsInSimple.es.js +8 -0
  80. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsLeftRight.es.js +8 -0
  81. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsOutSimple.es.js +8 -0
  82. package/dist/node_modules/@phosphor-icons/react/dist/csr/Bank.es.js +8 -0
  83. package/dist/node_modules/@phosphor-icons/react/dist/csr/BellRinging.es.js +8 -0
  84. package/dist/node_modules/@phosphor-icons/react/dist/csr/BellSimple.es.js +8 -0
  85. package/dist/node_modules/@phosphor-icons/react/dist/csr/BellSimpleSlash.es.js +8 -0
  86. package/dist/node_modules/@phosphor-icons/react/dist/csr/Binoculars.es.js +8 -0
  87. package/dist/node_modules/@phosphor-icons/react/dist/csr/BoundingBox.es.js +8 -0
  88. package/dist/node_modules/@phosphor-icons/react/dist/csr/BracketsAngle.es.js +8 -0
  89. package/dist/node_modules/@phosphor-icons/react/dist/csr/BracketsCurly.es.js +8 -0
  90. package/dist/node_modules/@phosphor-icons/react/dist/csr/BracketsSquare.es.js +8 -0
  91. package/dist/node_modules/@phosphor-icons/react/dist/csr/BugBeetle.es.js +8 -0
  92. package/dist/node_modules/@phosphor-icons/react/dist/csr/Buildings.es.js +8 -0
  93. package/dist/node_modules/@phosphor-icons/react/dist/csr/Calendar.es.js +8 -0
  94. package/dist/node_modules/@phosphor-icons/react/dist/csr/CalendarBlank.es.js +8 -0
  95. package/dist/node_modules/@phosphor-icons/react/dist/csr/Camera.es.js +8 -0
  96. package/dist/node_modules/@phosphor-icons/react/dist/csr/Cards.es.js +8 -0
  97. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretCircleRight.es.js +8 -0
  98. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDoubleLeft.es.js +8 -0
  99. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDoubleRight.es.js +8 -0
  100. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDown.es.js +8 -0
  101. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretLeft.es.js +8 -0
  102. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretRight.es.js +8 -0
  103. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js +8 -0
  104. package/dist/node_modules/@phosphor-icons/react/dist/csr/ChartBar.es.js +8 -0
  105. package/dist/node_modules/@phosphor-icons/react/dist/csr/ChartLine.es.js +8 -0
  106. package/dist/node_modules/@phosphor-icons/react/dist/csr/ChartPie.es.js +8 -0
  107. package/dist/node_modules/@phosphor-icons/react/dist/csr/Check.es.js +8 -0
  108. package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckCircle.es.js +8 -0
  109. package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckSquare.es.js +8 -0
  110. package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckSquareOffset.es.js +8 -0
  111. package/dist/node_modules/@phosphor-icons/react/dist/csr/Circle.es.js +8 -0
  112. package/dist/node_modules/@phosphor-icons/react/dist/csr/CircleNotch.es.js +8 -0
  113. package/dist/node_modules/@phosphor-icons/react/dist/csr/Clock.es.js +8 -0
  114. package/dist/node_modules/@phosphor-icons/react/dist/csr/ClockClockwise.es.js +8 -0
  115. package/dist/node_modules/@phosphor-icons/react/dist/csr/ClockCountdown.es.js +8 -0
  116. package/dist/node_modules/@phosphor-icons/react/dist/csr/CloudSlash.es.js +8 -0
  117. package/dist/node_modules/@phosphor-icons/react/dist/csr/Code.es.js +8 -0
  118. package/dist/node_modules/@phosphor-icons/react/dist/csr/Columns.es.js +8 -0
  119. package/dist/node_modules/@phosphor-icons/react/dist/csr/Copy.es.js +8 -0
  120. package/dist/node_modules/@phosphor-icons/react/dist/csr/CopySimple.es.js +8 -0
  121. package/dist/node_modules/@phosphor-icons/react/dist/csr/CreditCard.es.js +8 -0
  122. package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyCircleDollar.es.js +8 -0
  123. package/dist/node_modules/@phosphor-icons/react/dist/csr/Desktop.es.js +8 -0
  124. package/dist/node_modules/@phosphor-icons/react/dist/csr/Detective.es.js +8 -0
  125. package/dist/node_modules/@phosphor-icons/react/dist/csr/DeviceMobileCamera.es.js +8 -0
  126. package/dist/node_modules/@phosphor-icons/react/dist/csr/DeviceMobileSpeaker.es.js +8 -0
  127. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsNine.es.js +8 -0
  128. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsSixVertical.es.js +8 -0
  129. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThree.es.js +8 -0
  130. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThreeCircleVertical.es.js +8 -0
  131. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThreeVertical.es.js +8 -0
  132. package/dist/node_modules/@phosphor-icons/react/dist/csr/Download.es.js +8 -0
  133. package/dist/node_modules/@phosphor-icons/react/dist/csr/DownloadSimple.es.js +8 -0
  134. package/dist/node_modules/@phosphor-icons/react/dist/csr/Envelope.es.js +8 -0
  135. package/dist/node_modules/@phosphor-icons/react/dist/csr/Equals.es.js +8 -0
  136. package/dist/node_modules/@phosphor-icons/react/dist/csr/Eraser.es.js +8 -0
  137. package/dist/node_modules/@phosphor-icons/react/dist/csr/Export.es.js +8 -0
  138. package/dist/node_modules/@phosphor-icons/react/dist/csr/Eye.es.js +8 -0
  139. package/dist/node_modules/@phosphor-icons/react/dist/csr/EyeClosed.es.js +8 -0
  140. package/dist/node_modules/@phosphor-icons/react/dist/csr/EyeSlash.es.js +8 -0
  141. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileArchive.es.js +8 -0
  142. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileArrowUp.es.js +8 -0
  143. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileCsv.es.js +8 -0
  144. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileDoc.es.js +8 -0
  145. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileMagnifyingGlass.es.js +9 -0
  146. package/dist/node_modules/@phosphor-icons/react/dist/csr/FilePdf.es.js +8 -0
  147. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileTxt.es.js +8 -0
  148. package/dist/node_modules/@phosphor-icons/react/dist/csr/FileZip.es.js +8 -0
  149. package/dist/node_modules/@phosphor-icons/react/dist/csr/Flag.es.js +8 -0
  150. package/dist/node_modules/@phosphor-icons/react/dist/csr/FlagBanner.es.js +8 -0
  151. package/dist/node_modules/@phosphor-icons/react/dist/csr/FunnelSimple.es.js +8 -0
  152. package/dist/node_modules/@phosphor-icons/react/dist/csr/Gear.es.js +8 -0
  153. package/dist/node_modules/@phosphor-icons/react/dist/csr/GearFine.es.js +8 -0
  154. package/dist/node_modules/@phosphor-icons/react/dist/csr/GearSix.es.js +8 -0
  155. package/dist/node_modules/@phosphor-icons/react/dist/csr/GitBranch.es.js +8 -0
  156. package/dist/node_modules/@phosphor-icons/react/dist/csr/GitFork.es.js +8 -0
  157. package/dist/node_modules/@phosphor-icons/react/dist/csr/Hash.es.js +8 -0
  158. package/dist/node_modules/@phosphor-icons/react/dist/csr/Headset.es.js +8 -0
  159. package/dist/node_modules/@phosphor-icons/react/dist/csr/IdentificationCard.es.js +8 -0
  160. package/dist/node_modules/@phosphor-icons/react/dist/csr/Image.es.js +8 -0
  161. package/dist/node_modules/@phosphor-icons/react/dist/csr/ImageSquare.es.js +8 -0
  162. package/dist/node_modules/@phosphor-icons/react/dist/csr/Info.es.js +8 -0
  163. package/dist/node_modules/@phosphor-icons/react/dist/csr/Intersect.es.js +8 -0
  164. package/dist/node_modules/@phosphor-icons/react/dist/csr/Key.es.js +8 -0
  165. package/dist/node_modules/@phosphor-icons/react/dist/csr/Lightbulb.es.js +8 -0
  166. package/dist/node_modules/@phosphor-icons/react/dist/csr/Lightning.es.js +8 -0
  167. package/dist/node_modules/@phosphor-icons/react/dist/csr/LinkBreak.es.js +8 -0
  168. package/dist/node_modules/@phosphor-icons/react/dist/csr/LinkSimple.es.js +8 -0
  169. package/dist/node_modules/@phosphor-icons/react/dist/csr/LinkSimpleHorizontal.es.js +8 -0
  170. package/dist/node_modules/@phosphor-icons/react/dist/csr/List.es.js +8 -0
  171. package/dist/node_modules/@phosphor-icons/react/dist/csr/ListBullets.es.js +8 -0
  172. package/dist/node_modules/@phosphor-icons/react/dist/csr/ListNumbers.es.js +8 -0
  173. package/dist/node_modules/@phosphor-icons/react/dist/csr/ListPlus.es.js +8 -0
  174. package/dist/node_modules/@phosphor-icons/react/dist/csr/Lock.es.js +8 -0
  175. package/dist/node_modules/@phosphor-icons/react/dist/csr/MagicWand.es.js +8 -0
  176. package/dist/node_modules/@phosphor-icons/react/dist/csr/MagnifyingGlass.es.js +8 -0
  177. package/dist/node_modules/@phosphor-icons/react/dist/csr/MapPin.es.js +8 -0
  178. package/dist/node_modules/@phosphor-icons/react/dist/csr/MinusCircle.es.js +8 -0
  179. package/dist/node_modules/@phosphor-icons/react/dist/csr/Money.es.js +8 -0
  180. package/dist/node_modules/@phosphor-icons/react/dist/csr/Monitor.es.js +8 -0
  181. package/dist/node_modules/@phosphor-icons/react/dist/csr/Moon.es.js +8 -0
  182. package/dist/node_modules/@phosphor-icons/react/dist/csr/Network.es.js +8 -0
  183. package/dist/node_modules/@phosphor-icons/react/dist/csr/NetworkSlash.es.js +8 -0
  184. package/dist/node_modules/@phosphor-icons/react/dist/csr/Notepad.es.js +8 -0
  185. package/dist/node_modules/@phosphor-icons/react/dist/csr/Notification.es.js +8 -0
  186. package/dist/node_modules/@phosphor-icons/react/dist/csr/NumberCircleOne.es.js +8 -0
  187. package/dist/node_modules/@phosphor-icons/react/dist/csr/Package.es.js +8 -0
  188. package/dist/node_modules/@phosphor-icons/react/dist/csr/Palette.es.js +8 -0
  189. package/dist/node_modules/@phosphor-icons/react/dist/csr/Password.es.js +8 -0
  190. package/dist/node_modules/@phosphor-icons/react/dist/csr/Pause.es.js +8 -0
  191. package/dist/node_modules/@phosphor-icons/react/dist/csr/PauseCircle.es.js +8 -0
  192. package/dist/node_modules/@phosphor-icons/react/dist/csr/Pencil.es.js +8 -0
  193. package/dist/node_modules/@phosphor-icons/react/dist/csr/PencilSimple.es.js +8 -0
  194. package/dist/node_modules/@phosphor-icons/react/dist/csr/PencilSimpleLine.es.js +8 -0
  195. package/dist/node_modules/@phosphor-icons/react/dist/csr/Percent.es.js +8 -0
  196. package/dist/node_modules/@phosphor-icons/react/dist/csr/Phone.es.js +8 -0
  197. package/dist/node_modules/@phosphor-icons/react/dist/csr/Play.es.js +8 -0
  198. package/dist/node_modules/@phosphor-icons/react/dist/csr/PlayCircle.es.js +8 -0
  199. package/dist/node_modules/@phosphor-icons/react/dist/csr/Plug.es.js +8 -0
  200. package/dist/node_modules/@phosphor-icons/react/dist/csr/Plugs.es.js +8 -0
  201. package/dist/node_modules/@phosphor-icons/react/dist/csr/Plus.es.js +8 -0
  202. package/dist/node_modules/@phosphor-icons/react/dist/csr/PlusCircle.es.js +8 -0
  203. package/dist/node_modules/@phosphor-icons/react/dist/csr/Prohibit.es.js +8 -0
  204. package/dist/node_modules/@phosphor-icons/react/dist/csr/PushPin.es.js +8 -0
  205. package/dist/node_modules/@phosphor-icons/react/dist/csr/Question.es.js +8 -0
  206. package/dist/node_modules/@phosphor-icons/react/dist/csr/Queue.es.js +8 -0
  207. package/dist/node_modules/@phosphor-icons/react/dist/csr/RadioButton.es.js +8 -0
  208. package/dist/node_modules/@phosphor-icons/react/dist/csr/Repeat.es.js +8 -0
  209. package/dist/node_modules/@phosphor-icons/react/dist/csr/Rows.es.js +8 -0
  210. package/dist/node_modules/@phosphor-icons/react/dist/csr/SelectionInverse.es.js +8 -0
  211. package/dist/node_modules/@phosphor-icons/react/dist/csr/ShareNetwork.es.js +8 -0
  212. package/dist/node_modules/@phosphor-icons/react/dist/csr/ShieldCheck.es.js +8 -0
  213. package/dist/node_modules/@phosphor-icons/react/dist/csr/ShieldSlash.es.js +8 -0
  214. package/dist/node_modules/@phosphor-icons/react/dist/csr/ShieldWarning.es.js +8 -0
  215. package/dist/node_modules/@phosphor-icons/react/dist/csr/ShoppingCart.es.js +8 -0
  216. package/dist/node_modules/@phosphor-icons/react/dist/csr/SignOut.es.js +8 -0
  217. package/dist/node_modules/@phosphor-icons/react/dist/csr/SortAscending.es.js +8 -0
  218. package/dist/node_modules/@phosphor-icons/react/dist/csr/Sparkle.es.js +8 -0
  219. package/dist/node_modules/@phosphor-icons/react/dist/csr/Square.es.js +8 -0
  220. package/dist/node_modules/@phosphor-icons/react/dist/csr/SquaresFour.es.js +8 -0
  221. package/dist/node_modules/@phosphor-icons/react/dist/csr/Star.es.js +8 -0
  222. package/dist/node_modules/@phosphor-icons/react/dist/csr/Sun.es.js +8 -0
  223. package/dist/node_modules/@phosphor-icons/react/dist/csr/Swap.es.js +8 -0
  224. package/dist/node_modules/@phosphor-icons/react/dist/csr/Swatches.es.js +8 -0
  225. package/dist/node_modules/@phosphor-icons/react/dist/csr/TerminalWindow.es.js +8 -0
  226. package/dist/node_modules/@phosphor-icons/react/dist/csr/TextColumns.es.js +8 -0
  227. package/dist/node_modules/@phosphor-icons/react/dist/csr/TextT.es.js +8 -0
  228. package/dist/node_modules/@phosphor-icons/react/dist/csr/Textbox.es.js +8 -0
  229. package/dist/node_modules/@phosphor-icons/react/dist/csr/ThumbsDown.es.js +8 -0
  230. package/dist/node_modules/@phosphor-icons/react/dist/csr/ThumbsUp.es.js +8 -0
  231. package/dist/node_modules/@phosphor-icons/react/dist/csr/ToggleLeft.es.js +8 -0
  232. package/dist/node_modules/@phosphor-icons/react/dist/csr/ToggleRight.es.js +8 -0
  233. package/dist/node_modules/@phosphor-icons/react/dist/csr/TrafficSignal.es.js +8 -0
  234. package/dist/node_modules/@phosphor-icons/react/dist/csr/Translate.es.js +8 -0
  235. package/dist/node_modules/@phosphor-icons/react/dist/csr/Trash.es.js +8 -0
  236. package/dist/node_modules/@phosphor-icons/react/dist/csr/TreeStructure.es.js +8 -0
  237. package/dist/node_modules/@phosphor-icons/react/dist/csr/TrendDown.es.js +8 -0
  238. package/dist/node_modules/@phosphor-icons/react/dist/csr/TrendUp.es.js +8 -0
  239. package/dist/node_modules/@phosphor-icons/react/dist/csr/Upload.es.js +8 -0
  240. package/dist/node_modules/@phosphor-icons/react/dist/csr/UploadSimple.es.js +8 -0
  241. package/dist/node_modules/@phosphor-icons/react/dist/csr/User.es.js +8 -0
  242. package/dist/node_modules/@phosphor-icons/react/dist/csr/UserCircle.es.js +8 -0
  243. package/dist/node_modules/@phosphor-icons/react/dist/csr/UserPlus.es.js +8 -0
  244. package/dist/node_modules/@phosphor-icons/react/dist/csr/UserSwitch.es.js +8 -0
  245. package/dist/node_modules/@phosphor-icons/react/dist/csr/Vault.es.js +8 -0
  246. package/dist/node_modules/@phosphor-icons/react/dist/csr/Wallet.es.js +8 -0
  247. package/dist/node_modules/@phosphor-icons/react/dist/csr/Warning.es.js +8 -0
  248. package/dist/node_modules/@phosphor-icons/react/dist/csr/WarningCircle.es.js +8 -0
  249. package/dist/node_modules/@phosphor-icons/react/dist/csr/X.es.js +8 -0
  250. package/dist/node_modules/@phosphor-icons/react/dist/csr/XCircle.es.js +8 -0
  251. package/dist/node_modules/@phosphor-icons/react/dist/defs/Archive.es.js +30 -0
  252. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowBendUpLeft.es.js +30 -0
  253. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowBendUpRight.es.js +30 -0
  254. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleLeft.es.js +30 -0
  255. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleRight.es.js +30 -0
  256. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleUp.es.js +30 -0
  257. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleUpLeft.es.js +30 -0
  258. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowClockwise.es.js +30 -0
  259. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCounterClockwise.es.js +30 -0
  260. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowElbowDownRight.es.js +30 -0
  261. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowLeft.es.js +30 -0
  262. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowRight.es.js +30 -0
  263. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowSquareIn.es.js +36 -0
  264. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowUp.es.js +30 -0
  265. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowUpRight.es.js +30 -0
  266. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsClockwise.es.js +30 -0
  267. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsDownUp.es.js +30 -0
  268. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsInSimple.es.js +36 -0
  269. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsLeftRight.es.js +30 -0
  270. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsOutSimple.es.js +36 -0
  271. package/dist/node_modules/@phosphor-icons/react/dist/defs/Bank.es.js +30 -0
  272. package/dist/node_modules/@phosphor-icons/react/dist/defs/BellRinging.es.js +36 -0
  273. package/dist/node_modules/@phosphor-icons/react/dist/defs/BellSimple.es.js +36 -0
  274. package/dist/node_modules/@phosphor-icons/react/dist/defs/BellSimpleSlash.es.js +36 -0
  275. package/dist/node_modules/@phosphor-icons/react/dist/defs/Binoculars.es.js +36 -0
  276. package/dist/node_modules/@phosphor-icons/react/dist/defs/BoundingBox.es.js +36 -0
  277. package/dist/node_modules/@phosphor-icons/react/dist/defs/BracketsAngle.es.js +30 -0
  278. package/dist/node_modules/@phosphor-icons/react/dist/defs/BracketsCurly.es.js +36 -0
  279. package/dist/node_modules/@phosphor-icons/react/dist/defs/BracketsSquare.es.js +30 -0
  280. package/dist/node_modules/@phosphor-icons/react/dist/defs/BugBeetle.es.js +36 -0
  281. package/dist/node_modules/@phosphor-icons/react/dist/defs/Buildings.es.js +36 -0
  282. package/dist/node_modules/@phosphor-icons/react/dist/defs/Calendar.es.js +36 -0
  283. package/dist/node_modules/@phosphor-icons/react/dist/defs/CalendarBlank.es.js +36 -0
  284. package/dist/node_modules/@phosphor-icons/react/dist/defs/Camera.es.js +36 -0
  285. package/dist/node_modules/@phosphor-icons/react/dist/defs/Cards.es.js +36 -0
  286. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretCircleRight.es.js +30 -0
  287. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDoubleLeft.es.js +30 -0
  288. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDoubleRight.es.js +30 -0
  289. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDown.es.js +30 -0
  290. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretLeft.es.js +30 -0
  291. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretRight.es.js +30 -0
  292. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretUp.es.js +30 -0
  293. package/dist/node_modules/@phosphor-icons/react/dist/defs/ChartBar.es.js +30 -0
  294. package/dist/node_modules/@phosphor-icons/react/dist/defs/ChartLine.es.js +30 -0
  295. package/dist/node_modules/@phosphor-icons/react/dist/defs/ChartPie.es.js +30 -0
  296. package/dist/node_modules/@phosphor-icons/react/dist/defs/Check.es.js +36 -0
  297. package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckCircle.es.js +30 -0
  298. package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckSquare.es.js +36 -0
  299. package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckSquareOffset.es.js +36 -0
  300. package/dist/node_modules/@phosphor-icons/react/dist/defs/Circle.es.js +30 -0
  301. package/dist/node_modules/@phosphor-icons/react/dist/defs/CircleNotch.es.js +30 -0
  302. package/dist/node_modules/@phosphor-icons/react/dist/defs/Clock.es.js +30 -0
  303. package/dist/node_modules/@phosphor-icons/react/dist/defs/ClockClockwise.es.js +30 -0
  304. package/dist/node_modules/@phosphor-icons/react/dist/defs/ClockCountdown.es.js +30 -0
  305. package/dist/node_modules/@phosphor-icons/react/dist/defs/CloudSlash.es.js +36 -0
  306. package/dist/node_modules/@phosphor-icons/react/dist/defs/Code.es.js +30 -0
  307. package/dist/node_modules/@phosphor-icons/react/dist/defs/Columns.es.js +36 -0
  308. package/dist/node_modules/@phosphor-icons/react/dist/defs/Copy.es.js +30 -0
  309. package/dist/node_modules/@phosphor-icons/react/dist/defs/CopySimple.es.js +30 -0
  310. package/dist/node_modules/@phosphor-icons/react/dist/defs/CreditCard.es.js +30 -0
  311. package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyCircleDollar.es.js +30 -0
  312. package/dist/node_modules/@phosphor-icons/react/dist/defs/Desktop.es.js +36 -0
  313. package/dist/node_modules/@phosphor-icons/react/dist/defs/Detective.es.js +36 -0
  314. package/dist/node_modules/@phosphor-icons/react/dist/defs/DeviceMobileCamera.es.js +36 -0
  315. package/dist/node_modules/@phosphor-icons/react/dist/defs/DeviceMobileSpeaker.es.js +36 -0
  316. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsNine.es.js +36 -0
  317. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsSixVertical.es.js +36 -0
  318. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThree.es.js +36 -0
  319. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThreeCircleVertical.es.js +30 -0
  320. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThreeVertical.es.js +36 -0
  321. package/dist/node_modules/@phosphor-icons/react/dist/defs/Download.es.js +36 -0
  322. package/dist/node_modules/@phosphor-icons/react/dist/defs/DownloadSimple.es.js +36 -0
  323. package/dist/node_modules/@phosphor-icons/react/dist/defs/Envelope.es.js +30 -0
  324. package/dist/node_modules/@phosphor-icons/react/dist/defs/Equals.es.js +36 -0
  325. package/dist/node_modules/@phosphor-icons/react/dist/defs/Eraser.es.js +36 -0
  326. package/dist/node_modules/@phosphor-icons/react/dist/defs/Export.es.js +30 -0
  327. package/dist/node_modules/@phosphor-icons/react/dist/defs/Eye.es.js +36 -0
  328. package/dist/node_modules/@phosphor-icons/react/dist/defs/EyeClosed.es.js +36 -0
  329. package/dist/node_modules/@phosphor-icons/react/dist/defs/EyeSlash.es.js +36 -0
  330. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileArchive.es.js +30 -0
  331. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileArrowUp.es.js +30 -0
  332. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileCsv.es.js +30 -0
  333. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileDoc.es.js +30 -0
  334. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileMagnifyingGlass.es.js +30 -0
  335. package/dist/node_modules/@phosphor-icons/react/dist/defs/FilePdf.es.js +30 -0
  336. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileTxt.es.js +30 -0
  337. package/dist/node_modules/@phosphor-icons/react/dist/defs/FileZip.es.js +30 -0
  338. package/dist/node_modules/@phosphor-icons/react/dist/defs/Flag.es.js +36 -0
  339. package/dist/node_modules/@phosphor-icons/react/dist/defs/FlagBanner.es.js +30 -0
  340. package/dist/node_modules/@phosphor-icons/react/dist/defs/FunnelSimple.es.js +36 -0
  341. package/dist/node_modules/@phosphor-icons/react/dist/defs/Gear.es.js +36 -0
  342. package/dist/node_modules/@phosphor-icons/react/dist/defs/GearFine.es.js +30 -0
  343. package/dist/node_modules/@phosphor-icons/react/dist/defs/GearSix.es.js +36 -0
  344. package/dist/node_modules/@phosphor-icons/react/dist/defs/GitBranch.es.js +30 -0
  345. package/dist/node_modules/@phosphor-icons/react/dist/defs/GitFork.es.js +36 -0
  346. package/dist/node_modules/@phosphor-icons/react/dist/defs/Hash.es.js +30 -0
  347. package/dist/node_modules/@phosphor-icons/react/dist/defs/Headset.es.js +36 -0
  348. package/dist/node_modules/@phosphor-icons/react/dist/defs/IdentificationCard.es.js +36 -0
  349. package/dist/node_modules/@phosphor-icons/react/dist/defs/Image.es.js +36 -0
  350. package/dist/node_modules/@phosphor-icons/react/dist/defs/ImageSquare.es.js +36 -0
  351. package/dist/node_modules/@phosphor-icons/react/dist/defs/Info.es.js +30 -0
  352. package/dist/node_modules/@phosphor-icons/react/dist/defs/Intersect.es.js +36 -0
  353. package/dist/node_modules/@phosphor-icons/react/dist/defs/Key.es.js +36 -0
  354. package/dist/node_modules/@phosphor-icons/react/dist/defs/Lightbulb.es.js +36 -0
  355. package/dist/node_modules/@phosphor-icons/react/dist/defs/Lightning.es.js +30 -0
  356. package/dist/node_modules/@phosphor-icons/react/dist/defs/LinkBreak.es.js +36 -0
  357. package/dist/node_modules/@phosphor-icons/react/dist/defs/LinkSimple.es.js +36 -0
  358. package/dist/node_modules/@phosphor-icons/react/dist/defs/LinkSimpleHorizontal.es.js +36 -0
  359. package/dist/node_modules/@phosphor-icons/react/dist/defs/List.es.js +30 -0
  360. package/dist/node_modules/@phosphor-icons/react/dist/defs/ListBullets.es.js +30 -0
  361. package/dist/node_modules/@phosphor-icons/react/dist/defs/ListNumbers.es.js +30 -0
  362. package/dist/node_modules/@phosphor-icons/react/dist/defs/ListPlus.es.js +30 -0
  363. package/dist/node_modules/@phosphor-icons/react/dist/defs/Lock.es.js +36 -0
  364. package/dist/node_modules/@phosphor-icons/react/dist/defs/MagicWand.es.js +36 -0
  365. package/dist/node_modules/@phosphor-icons/react/dist/defs/MagnifyingGlass.es.js +30 -0
  366. package/dist/node_modules/@phosphor-icons/react/dist/defs/MapPin.es.js +36 -0
  367. package/dist/node_modules/@phosphor-icons/react/dist/defs/MinusCircle.es.js +30 -0
  368. package/dist/node_modules/@phosphor-icons/react/dist/defs/Money.es.js +36 -0
  369. package/dist/node_modules/@phosphor-icons/react/dist/defs/Monitor.es.js +36 -0
  370. package/dist/node_modules/@phosphor-icons/react/dist/defs/Moon.es.js +36 -0
  371. package/dist/node_modules/@phosphor-icons/react/dist/defs/Network.es.js +36 -0
  372. package/dist/node_modules/@phosphor-icons/react/dist/defs/NetworkSlash.es.js +36 -0
  373. package/dist/node_modules/@phosphor-icons/react/dist/defs/Notepad.es.js +36 -0
  374. package/dist/node_modules/@phosphor-icons/react/dist/defs/Notification.es.js +30 -0
  375. package/dist/node_modules/@phosphor-icons/react/dist/defs/NumberCircleOne.es.js +30 -0
  376. package/dist/node_modules/@phosphor-icons/react/dist/defs/Package.es.js +36 -0
  377. package/dist/node_modules/@phosphor-icons/react/dist/defs/Palette.es.js +36 -0
  378. package/dist/node_modules/@phosphor-icons/react/dist/defs/Password.es.js +36 -0
  379. package/dist/node_modules/@phosphor-icons/react/dist/defs/Pause.es.js +36 -0
  380. package/dist/node_modules/@phosphor-icons/react/dist/defs/PauseCircle.es.js +30 -0
  381. package/dist/node_modules/@phosphor-icons/react/dist/defs/Pencil.es.js +36 -0
  382. package/dist/node_modules/@phosphor-icons/react/dist/defs/PencilSimple.es.js +36 -0
  383. package/dist/node_modules/@phosphor-icons/react/dist/defs/PencilSimpleLine.es.js +36 -0
  384. package/dist/node_modules/@phosphor-icons/react/dist/defs/Percent.es.js +36 -0
  385. package/dist/node_modules/@phosphor-icons/react/dist/defs/Phone.es.js +36 -0
  386. package/dist/node_modules/@phosphor-icons/react/dist/defs/Play.es.js +36 -0
  387. package/dist/node_modules/@phosphor-icons/react/dist/defs/PlayCircle.es.js +36 -0
  388. package/dist/node_modules/@phosphor-icons/react/dist/defs/Plug.es.js +36 -0
  389. package/dist/node_modules/@phosphor-icons/react/dist/defs/Plugs.es.js +36 -0
  390. package/dist/node_modules/@phosphor-icons/react/dist/defs/Plus.es.js +36 -0
  391. package/dist/node_modules/@phosphor-icons/react/dist/defs/PlusCircle.es.js +30 -0
  392. package/dist/node_modules/@phosphor-icons/react/dist/defs/Prohibit.es.js +30 -0
  393. package/dist/node_modules/@phosphor-icons/react/dist/defs/PushPin.es.js +36 -0
  394. package/dist/node_modules/@phosphor-icons/react/dist/defs/Question.es.js +30 -0
  395. package/dist/node_modules/@phosphor-icons/react/dist/defs/Queue.es.js +30 -0
  396. package/dist/node_modules/@phosphor-icons/react/dist/defs/RadioButton.es.js +30 -0
  397. package/dist/node_modules/@phosphor-icons/react/dist/defs/Repeat.es.js +36 -0
  398. package/dist/node_modules/@phosphor-icons/react/dist/defs/Rows.es.js +36 -0
  399. package/dist/node_modules/@phosphor-icons/react/dist/defs/SelectionInverse.es.js +36 -0
  400. package/dist/node_modules/@phosphor-icons/react/dist/defs/ShareNetwork.es.js +36 -0
  401. package/dist/node_modules/@phosphor-icons/react/dist/defs/ShieldCheck.es.js +36 -0
  402. package/dist/node_modules/@phosphor-icons/react/dist/defs/ShieldSlash.es.js +36 -0
  403. package/dist/node_modules/@phosphor-icons/react/dist/defs/ShieldWarning.es.js +36 -0
  404. package/dist/node_modules/@phosphor-icons/react/dist/defs/ShoppingCart.es.js +36 -0
  405. package/dist/node_modules/@phosphor-icons/react/dist/defs/SignOut.es.js +36 -0
  406. package/dist/node_modules/@phosphor-icons/react/dist/defs/SortAscending.es.js +30 -0
  407. package/dist/node_modules/@phosphor-icons/react/dist/defs/Sparkle.es.js +36 -0
  408. package/dist/node_modules/@phosphor-icons/react/dist/defs/Square.es.js +36 -0
  409. package/dist/node_modules/@phosphor-icons/react/dist/defs/SquaresFour.es.js +36 -0
  410. package/dist/node_modules/@phosphor-icons/react/dist/defs/Star.es.js +36 -0
  411. package/dist/node_modules/@phosphor-icons/react/dist/defs/Sun.es.js +30 -0
  412. package/dist/node_modules/@phosphor-icons/react/dist/defs/Swap.es.js +36 -0
  413. package/dist/node_modules/@phosphor-icons/react/dist/defs/Swatches.es.js +36 -0
  414. package/dist/node_modules/@phosphor-icons/react/dist/defs/TerminalWindow.es.js +36 -0
  415. package/dist/node_modules/@phosphor-icons/react/dist/defs/TextColumns.es.js +30 -0
  416. package/dist/node_modules/@phosphor-icons/react/dist/defs/TextT.es.js +36 -0
  417. package/dist/node_modules/@phosphor-icons/react/dist/defs/Textbox.es.js +36 -0
  418. package/dist/node_modules/@phosphor-icons/react/dist/defs/ThumbsDown.es.js +30 -0
  419. package/dist/node_modules/@phosphor-icons/react/dist/defs/ThumbsUp.es.js +30 -0
  420. package/dist/node_modules/@phosphor-icons/react/dist/defs/ToggleLeft.es.js +30 -0
  421. package/dist/node_modules/@phosphor-icons/react/dist/defs/ToggleRight.es.js +30 -0
  422. package/dist/node_modules/@phosphor-icons/react/dist/defs/TrafficSignal.es.js +36 -0
  423. package/dist/node_modules/@phosphor-icons/react/dist/defs/Translate.es.js +36 -0
  424. package/dist/node_modules/@phosphor-icons/react/dist/defs/Trash.es.js +30 -0
  425. package/dist/node_modules/@phosphor-icons/react/dist/defs/TreeStructure.es.js +36 -0
  426. package/dist/node_modules/@phosphor-icons/react/dist/defs/TrendDown.es.js +30 -0
  427. package/dist/node_modules/@phosphor-icons/react/dist/defs/TrendUp.es.js +30 -0
  428. package/dist/node_modules/@phosphor-icons/react/dist/defs/Upload.es.js +36 -0
  429. package/dist/node_modules/@phosphor-icons/react/dist/defs/UploadSimple.es.js +36 -0
  430. package/dist/node_modules/@phosphor-icons/react/dist/defs/User.es.js +30 -0
  431. package/dist/node_modules/@phosphor-icons/react/dist/defs/UserCircle.es.js +36 -0
  432. package/dist/node_modules/@phosphor-icons/react/dist/defs/UserPlus.es.js +30 -0
  433. package/dist/node_modules/@phosphor-icons/react/dist/defs/UserSwitch.es.js +36 -0
  434. package/dist/node_modules/@phosphor-icons/react/dist/defs/Vault.es.js +36 -0
  435. package/dist/node_modules/@phosphor-icons/react/dist/defs/Wallet.es.js +36 -0
  436. package/dist/node_modules/@phosphor-icons/react/dist/defs/Warning.es.js +36 -0
  437. package/dist/node_modules/@phosphor-icons/react/dist/defs/WarningCircle.es.js +30 -0
  438. package/dist/node_modules/@phosphor-icons/react/dist/defs/X.es.js +36 -0
  439. package/dist/node_modules/@phosphor-icons/react/dist/defs/XCircle.es.js +30 -0
  440. package/dist/node_modules/@phosphor-icons/react/dist/lib/IconBase.es.js +43 -0
  441. package/dist/node_modules/@phosphor-icons/react/dist/lib/context.es.js +10 -0
  442. package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
  443. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  444. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +76 -0
  445. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +252 -0
  446. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
  447. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +10 -6
  448. package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
  449. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
  450. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  451. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +208 -0
  452. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
  453. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
  454. package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
  455. package/dist/node_modules/@radix-ui/react-label/dist/index.js +19 -0
  456. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +608 -0
  457. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
  458. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  459. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  460. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  461. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
  462. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +40 -34
  463. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +338 -0
  464. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
  465. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  466. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  467. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +15 -0
  468. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  469. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +8 -0
  470. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
  471. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +32 -0
  472. package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
  473. package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
  474. package/dist/node_modules/lucide-react/dist/esm/icons/{circle.js → check.js} +2 -2
  475. package/dist/node_modules/lucide-react/dist/esm/icons/{chevron-down.js → chevron-right.js} +2 -2
  476. package/dist/node_modules/lucide-react/dist/esm/icons/{circle-check-big.js → ellipsis.js} +5 -4
  477. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +4 -4
  478. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  479. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  480. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
  481. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
  482. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
  483. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  484. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  485. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
  486. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
  487. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
  488. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
  489. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
  490. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
  491. package/dist/node_modules/tslib/tslib.es6.js +27 -0
  492. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
  493. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
  494. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
  495. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
  496. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
  497. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
  498. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
  499. package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
  500. package/dist/vendor/shadcn/avatar.js +54 -0
  501. package/dist/vendor/shadcn/badge.js +41 -0
  502. package/dist/vendor/shadcn/breadcrumb.js +105 -0
  503. package/dist/{components/atoms/button/index.js → vendor/shadcn/button.js} +25 -36
  504. package/dist/vendor/shadcn/checkbox.js +32 -0
  505. package/dist/vendor/shadcn/dropdown-menu.js +64 -0
  506. package/dist/vendor/shadcn/label.js +23 -0
  507. package/dist/vendor/shadcn/tooltip.js +26 -0
  508. package/package.json +40 -22
  509. package/dist/components/atoms/avatar/index.js +0 -89
  510. package/dist/components/atoms/box/index.d.ts +0 -21
  511. package/dist/components/atoms/box/index.js +0 -141
  512. package/dist/components/atoms/checkbox/index.js +0 -94
  513. package/dist/components/atoms/chip/index.d.ts +0 -12
  514. package/dist/components/atoms/chip/index.js +0 -86
  515. package/dist/components/atoms/divider/index.d.ts +0 -12
  516. package/dist/components/atoms/divider/index.js +0 -56
  517. package/dist/components/atoms/input/index.js +0 -22
  518. package/dist/components/atoms/link/index.d.ts +0 -15
  519. package/dist/components/atoms/link/index.js +0 -66
  520. package/dist/components/atoms/radiobutton/index.d.ts +0 -10
  521. package/dist/components/atoms/radiobutton/index.js +0 -94
  522. package/dist/components/atoms/skeleton/index.js +0 -65
  523. package/dist/components/atoms/tag/index.d.ts +0 -15
  524. package/dist/components/atoms/tag/index.js +0 -175
  525. package/dist/components/atoms/typography/index.js +0 -51
  526. package/dist/components/index.js +0 -40
  527. package/dist/components/molecules/announcement/index.d.ts +0 -20
  528. package/dist/components/molecules/announcement/index.js +0 -162
  529. package/dist/components/molecules/notification-alert/index.d.ts +0 -22
  530. package/dist/components/molecules/notification-alert/index.js +0 -190
  531. package/dist/components/molecules/popover/index.d.ts +0 -14
  532. package/dist/components/molecules/popover/index.js +0 -105
  533. package/dist/components/molecules/textfield/index.d.ts +0 -20
  534. package/dist/components/molecules/textfield/index.js +0 -113
  535. package/dist/components/molecules/tooltip/index.d.ts +0 -22
  536. package/dist/components/molecules/tooltip/index.js +0 -154
  537. package/dist/components/organisms/dialog/index.js +0 -166
  538. package/dist/components/organisms/dropdown/index.d.ts +0 -41
  539. package/dist/components/organisms/dropdown/index.js +0 -395
  540. package/dist/lib/color-utils.d.ts +0 -49
  541. package/dist/lib/string-avatar.d.ts +0 -1
  542. package/dist/lib/string-avatar.js +0 -11
  543. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -12
  544. package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +0 -16
  545. package/dist/node_modules/lucide-react/dist/esm/icons/circle-dot.js +0 -15
  546. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -16
  547. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +0 -15
  548. package/dist/node_modules/lucide-react/dist/esm/icons/square-check-big.js +0 -18
  549. package/dist/node_modules/lucide-react/dist/esm/icons/square.js +0 -14
  550. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -22
  551. package/dist/vite.svg +0 -1
package/README.md CHANGED
@@ -1,69 +1,299 @@
1
- # React + TypeScript + Vite
2
-
3
- This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
-
5
- Currently, two official plugins are available:
6
-
7
- - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
8
- - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
-
10
- ## Expanding the ESLint configuration
11
-
12
- If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
13
-
14
- ```js
15
- export default tseslint.config([
16
- globalIgnores(['dist']),
17
- {
18
- files: ['**/*.{ts,tsx}'],
19
- extends: [
20
- // Other configs...
21
-
22
- // Remove tseslint.configs.recommended and replace with this
23
- ...tseslint.configs.recommendedTypeChecked,
24
- // Alternatively, use this for stricter rules
25
- ...tseslint.configs.strictTypeChecked,
26
- // Optionally, add this for stylistic rules
27
- ...tseslint.configs.stylisticTypeChecked,
28
-
29
- // Other configs...
30
- ],
31
- languageOptions: {
32
- parserOptions: {
33
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
34
- tsconfigRootDir: import.meta.dirname,
35
- },
36
- // other options...
37
- },
38
- },
39
- ])
1
+ # Dashboard Design System
2
+
3
+ A design component library for Yuno's dashboard, built with React, TypeScript, and based on the shadcn/ui design system.
4
+
5
+ ## Project Description
6
+
7
+ This library provides a complete set of reusable components that follow Atomic Design principles and are aligned with Yuno's design system. All components are built on a solid foundation of shadcn/ui components and extended with specific functionalities for dashboard needs.
8
+
9
+ ## Motivation and Objective
10
+
11
+ The primary **motivation** of this design system is to be perfectly aligned with our Figma design system to **facilitate AI-powered interface generation** and optimize our development workflow. By maintaining strict consistency between our component library and Figma designs, we enable:
12
+
13
+ - 🤖 **AI-assisted development**: Seamless code generation from Figma designs
14
+ - ⚡ **Accelerated development**: Faster prototyping and implementation
15
+ - 🎯 **Design-to-code consistency**: Perfect alignment between design and implementation
16
+ - 🔄 **Streamlined workflow**: Reduced friction between design and development teams
17
+
18
+ ## Figma Design System
19
+
20
+ All components in this library must correspond exactly in **name and design** with the components defined in our Figma design system:
21
+
22
+ **🎨 [Figma Design System - shadcn UI Kit for Yuno](https://www.figma.com/design/fcHm3yuz9KiqdRHM7oWneG/shadcn-ui-kit-for-Figma---Pro-Blocks---August-2025--Yuno-)**
23
+
24
+ This Figma system is based on **[shadcndesign.com](https://www.shadcndesign.com/)**, ensuring industry-standard design patterns and AI compatibility.
25
+
26
+ ⚠️ **IMPORTANT:** It is **mandatory** that any new component or modification follows exactly the design specifications, nomenclature, and behavior defined in Figma.
27
+
28
+ ## Technology Foundation
29
+
30
+ ### Shadcn/ui Base
31
+ This design system is primarily based on **[shadcn/ui](https://ui.shadcn.com/docs)**, a collection of beautifully designed components built using Radix UI and Tailwind CSS. Shadcn/ui provides:
32
+
33
+ - **Accessibility-first**: Full ARIA support and keyboard navigation
34
+ - ✅ **Customizable**: Built with CSS variables and utility classes
35
+ - ✅ **Copy & paste**: Simple integration without package dependencies
36
+ - **TypeScript**: Full type safety and IntelliSense support
37
+
38
+ **📚 [Shadcn/ui Documentation](https://ui.shadcn.com/docs)**
39
+
40
+ ### Tailwind CSS Integration
41
+ All components use **Tailwind CSS** utility classes for styling. Developers must be familiar with Tailwind's utility-first approach:
42
+
43
+ - 🎨 **Utility-first**: Use utility classes for rapid UI development
44
+ - 📱 **Responsive design**: Built-in responsive design utilities
45
+ - 🌙 **Dark mode**: Native dark mode support
46
+ - ⚡ **Performance**: Optimized CSS output with purging
47
+
48
+ **📚 [Tailwind CSS Documentation](https://tailwindcss.com/docs/installation/using-vite)**
49
+
50
+ ## Vendors Folder
51
+
52
+ The `src/vendor/` folder contains the **base components** that we use to create our custom components:
53
+
54
+ ```
55
+ src/vendor/shadcn/
56
+ ├── alert.tsx # Base alert component
57
+ ├── avatar.tsx # Base avatar component
58
+ ├── badge.tsx # Base badge component
59
+ ├── breadcrumb.tsx # Base breadcrumb component
60
+ ├── button.tsx # Base button component
61
+ ├── checkbox.tsx # Base checkbox component
62
+ ├── dropdown-menu.tsx # Base dropdown component
63
+ ├── input.tsx # Base input component
64
+ ├── label.tsx # Base label component
65
+ ├── radio-group.tsx # Base radio group component
66
+ ├── separator.tsx # Base separator component
67
+ ├── skeleton.tsx # Base skeleton component
68
+ ├── switch.tsx # Base switch component
69
+ ├── tabs.tsx # Base tabs component
70
+ └── tooltip.tsx # Base tooltip component
40
71
  ```
41
72
 
42
- You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
43
-
44
- ```js
45
- // eslint.config.js
46
- import reactX from 'eslint-plugin-react-x'
47
- import reactDom from 'eslint-plugin-react-dom'
48
-
49
- export default tseslint.config([
50
- globalIgnores(['dist']),
51
- {
52
- files: ['**/*.{ts,tsx}'],
53
- extends: [
54
- // Other configs...
55
- // Enable lint rules for React
56
- reactX.configs['recommended-typescript'],
57
- // Enable lint rules for React DOM
58
- reactDom.configs.recommended,
59
- ],
60
- languageOptions: {
61
- parserOptions: {
62
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
63
- tsconfigRootDir: import.meta.dirname,
64
- },
65
- // other options...
66
- },
67
- },
68
- ])
73
+ These shadcn/ui base components provide:
74
+ - ✅ Complete accessibility (ARIA, keyboard navigation)
75
+ - ✅ Base styles with Tailwind CSS
76
+ - ✅ Predefined variants and states
77
+ - Radix UI primitives compatibility
78
+
79
+ ## Atomic Design Structure
80
+
81
+ The library strictly follows the **Atomic Design** methodology with the following structure:
82
+
69
83
  ```
84
+ src/components/
85
+ ├── atoms/ # Basic and indivisible components
86
+ │ ├── alert/
87
+ │ ├── avatar/
88
+ │ ├── badge/
89
+ │ ├── button/
90
+ │ ├── checkbox/
91
+ │ ├── icon/
92
+ │ ├── input/
93
+ │ ├── label/
94
+ │ ├── radio-group/
95
+ │ ├── separator/
96
+ │ ├── skeleton/
97
+ │ ├── switch/
98
+ │ ├── tabs/
99
+ │ ├── tooltip/
100
+ │ └── typography/
101
+ ├── molecules/ # Combinations of atoms
102
+ │ └── breadcrumb/
103
+ └── organisms/ # Complex components
104
+ └── dialog/
105
+ ```
106
+
107
+ ### Atomic Design Rules
108
+
109
+ 1. **Atoms**: Basic components that cannot be divided further (Button, Input, Icon)
110
+ 2. **Molecules**: Simple combinations of atoms that work together (Breadcrumb, SearchBox)
111
+ 3. **Organisms**: Complex components that combine molecules and atoms (Dialog, DataTable, Navigation)
112
+
113
+ **⚠️ IMPORTANT**: All new components MUST follow this structure and be classified correctly according to their complexity.
114
+
115
+ ## Project Rules
116
+
117
+ ### 📋 Mandatory Requirements for Components
118
+
119
+ Every component added to the library **MUST** include:
120
+
121
+ 1. **📄 Main file** (`component.tsx`)
122
+ 2. **📖 Storybook story** (`component.stories.tsx`)
123
+ 3. **🧪 Unit test** (`component.test.tsx`)
124
+ 4. **📤 Export file** (`index.tsx`)
125
+
126
+ ### 📁 Component Folder Structure
127
+
128
+ ```
129
+ src/components/[atomic-level]/[component-name]/
130
+ ├── index.tsx # Component exports
131
+ ├── [component-name].tsx # Main implementation
132
+ ├── [component-name].stories.tsx # Storybook documentation
133
+ └── [component-name].test.tsx # Unit tests
134
+ ```
135
+
136
+ ### 📖 Story Requirements
137
+
138
+ Each story must include:
139
+ - ✅ Complete documentation with description, when to use, best practices
140
+ - ✅ Examples of all variants and states
141
+ - ✅ Common use cases
142
+ - ✅ Accessibility examples
143
+ - ✅ Reference to Figma component
144
+ - ✅ Interactive controls for all props
145
+
146
+ ### 🧪 Test Requirements
147
+
148
+ Each test must cover:
149
+ - ✅ Basic component rendering
150
+ - ✅ All variants and states
151
+ - ✅ User interactions
152
+ - ✅ Accessibility (ARIA roles, keyboard navigation)
153
+ - ✅ Props and callbacks
154
+ - ✅ Edge cases and error handling
155
+
156
+ ## Best Practices
157
+
158
+ ### 🎯 Component Development
159
+
160
+ 1. **Extend base components**: Always start from components in `src/vendor/shadcn/`
161
+ 2. **Follow naming conventions**: PascalCase for components, camelCase for props
162
+ 3. **Use strict TypeScript**: Define clear interfaces for all props
163
+ 4. **Implement forwardRef**: For components that need DOM access
164
+ 5. **Use class-variance-authority**: To handle style variants
165
+ 6. **Apply cn() utility**: To combine Tailwind CSS classes
166
+
167
+ ### 🎨 Styling and Design
168
+
169
+ 1. **Use design tokens**: CSS variables defined in the theme
170
+ 2. **Maintain consistency**: Follow spacing and typography system
171
+ 3. **Responsive design**: Consider all breakpoints
172
+ 4. **Dark mode**: Support light and dark themes
173
+ 5. **Accessibility**: Comply with WCAG 2.1 AA
174
+
175
+ ### 📚 Documentation
176
+
177
+ 1. **Complete JSDoc**: Document all props and methods
178
+ 2. **Clear examples**: Show real use cases
179
+ 3. **Best practices**: Explain when and how to use each component
180
+ 4. **Accessibility**: Document accessibility features
181
+
182
+ ## Important Scripts
183
+
184
+ ```bash
185
+ # 🔨 Build and development
186
+ npm run build # Build library for production
187
+ npm run storybook # Run Storybook in development mode (port 6006)
188
+ npm run build-storybook # Build static Storybook
189
+
190
+ # 🧪 Testing and quality
191
+ npm run test # Run unit tests with Vitest
192
+ npm run lint # Run ESLint to verify code quality
193
+
194
+ # 📦 Publishing
195
+ npm run publish # Publish library to npm (public access)
196
+ ```
197
+
198
+ ### 🔧 Development Scripts
199
+
200
+ - **`storybook`**: Starts Storybook development server to document and test components
201
+ - **`build`**: Uses Vite to build the library optimized for production
202
+ - **`test`**: Runs the test suite with Vitest in single-run mode
203
+ - **`lint`**: Verifies code with ESLint according to configured rules
204
+
205
+ ## Component Dependencies
206
+
207
+ ### 🔗 Dependency Hierarchy
208
+
209
+ ```
210
+ Organisms
211
+
212
+ Molecules
213
+
214
+ Atoms
215
+
216
+ Vendor (shadcn)
217
+ ```
218
+
219
+ ### 📊 Specific Dependency Mapping
220
+
221
+ #### Atoms → Vendor + External Libraries
222
+ - **`Button`** → `@/vendor/shadcn/button` + `Icon` (atom) + `react`
223
+ - Uses specific icons: `CircleNotch` (loading), `startIcon`, `endIcon`
224
+ - **`Typography`** → `class-variance-authority` + `@/lib/utils` (cn)
225
+ - **`Icon`** → `@phosphor-icons/react` (100+ icons available)
226
+ - **`Tooltip`** → `@/vendor/shadcn/tooltip`
227
+ - **`Badge`** → `@/vendor/shadcn/badge`
228
+ - **`Avatar`** → `@/vendor/shadcn/avatar`
229
+ - **`Checkbox`** → `@/vendor/shadcn/checkbox`
230
+ - **`Input`** → `@/vendor/shadcn/input`
231
+ - **`Switch`** → `@/vendor/shadcn/switch`
232
+ - **`Alert`** → `@/vendor/shadcn/alert`
233
+ - **`Separator`** → `@/vendor/shadcn/separator`
234
+
235
+ #### Molecules → Atoms + Vendor
236
+ - **`Breadcrumb`** → Multiple dependencies:
237
+ - `Icon` (atom) - uses `CaretDown` for dropdowns
238
+ - `@/vendor/shadcn/breadcrumb` (6 base components)
239
+ - `@/vendor/shadcn/dropdown-menu` (4 components)
240
+ - `react` (Fragment, ReactNode, forwardRef)
241
+
242
+ #### Organisms → Atoms + Libraries
243
+ - **`Dialog`** → Complex dependencies:
244
+ - `Button` + `ButtonProps` (atom)
245
+ - `@/lib/utils` (cn utility)
246
+ - `class-variance-authority` (style variants)
247
+ - `lucide-react` (X, ArrowLeft icons)
248
+ - `react` (forwardRef, useState, useEffect)
249
+
250
+ ### 🛠️ Shared Utilities
251
+
252
+ ```typescript
253
+ // src/lib/utils.ts
254
+ export function cn(...inputs: ClassValue[]) {
255
+ return twMerge(clsx(inputs))
256
+ }
257
+ ```
258
+
259
+ This utility is fundamental and used in **all components** for:
260
+ - ✅ Combining Tailwind CSS classes
261
+ - ✅ Resolving style conflicts
262
+ - ✅ Applying conditional styles
263
+
264
+ ## Project Structure
265
+
266
+ ```
267
+ dashboard-design-system/
268
+ ├── .storybook/ # Storybook configuration
269
+ ├── src/
270
+ │ ├── components/ # Components organized by Atomic Design
271
+ │ │ ├── atoms/ # Basic components
272
+ │ │ ├── molecules/ # Combinations of atoms
273
+ │ │ └── organisms/ # Complex components
274
+ │ ├── lib/ # Utilities and helpers
275
+ │ ├── types/ # TypeScript type definitions
276
+ │ ├── vendor/ # Base components (shadcn)
277
+ │ ├── global.css # Global styles and CSS variables
278
+ │ └── index.ts # Main entry point
279
+ ├── package.json # Dependencies and scripts
280
+ ├── vite.config.ts # Vite configuration
281
+ ├── vitest.config.ts # Test configuration
282
+ └── tsconfig.json # TypeScript configuration
283
+ ```
284
+
285
+ ## Contributing
286
+
287
+ To contribute to this library:
288
+
289
+ 1. 🔍 **Review Figma**: Verify that the component exists in the design system
290
+ 2. 🏗️ **Follow Atomic Design**: Classify the component correctly
291
+ 3. 📝 **Create documentation**: Complete story with examples and best practices
292
+ 4. 🧪 **Write tests**: Complete coverage of functionality and accessibility
293
+ 5. ✅ **Verify quality**: Run lint and tests before commit
294
+ 6. 📦 **Export correctly**: Update corresponding index.ts files
295
+
296
+ ---
297
+
298
+ **Current version**: `0.0.8-beta.6`
299
+ **Maintained by**: Dashboard Frontend Team - Yuno Payments
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "../node_modules/use-sync-external-store/shim/index.js";
2
+ var i = r();
3
+ export {
4
+ i as s
5
+ };
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,10 @@
1
+ import { Alert as ShadcnAlert } from '../../../vendor/shadcn/alert';
2
+ import { ComponentProps } from 'react';
3
+ import { IconName } from '../icon';
4
+ interface AlertProps extends Omit<ComponentProps<typeof ShadcnAlert>, "children"> {
5
+ icon?: IconName;
6
+ title?: string;
7
+ description?: string;
8
+ }
9
+ declare const Alert: import('react').ForwardRefExoticComponent<Omit<AlertProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
10
+ export { Alert, type AlertProps };
@@ -0,0 +1 @@
1
+ export * from './alert';
@@ -0,0 +1,9 @@
1
+ import { AvatarProps } from './avatar';
2
+ import * as React from "react";
3
+ export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ children: React.ReactNode;
5
+ max?: number;
6
+ size?: AvatarProps["size"];
7
+ }
8
+ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ export { AvatarGroup };
@@ -0,0 +1,14 @@
1
+ import { ComponentProps, ReactNode } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { Avatar as ShadcnAvatar } from '../../../vendor/shadcn/avatar';
4
+ declare const avatarVariants: (props?: ({
5
+ size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface AvatarProps extends ComponentProps<typeof ShadcnAvatar>, VariantProps<typeof avatarVariants> {
8
+ src?: string;
9
+ alt?: string;
10
+ name?: string;
11
+ fallback?: string | ReactNode;
12
+ }
13
+ declare const Avatar: import('react').ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
14
+ export { Avatar };
@@ -0,0 +1,76 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ import { forwardRef as n } from "react";
3
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
4
+ import { cn as s } from "../../../lib/utils.js";
5
+ import { getNameInitials as u } from "./avatar.utils.js";
6
+ import { Avatar as c, AvatarImage as x, AvatarFallback as v } from "../../../vendor/shadcn/avatar.js";
7
+ import p from "../../../node_modules/lucide-react/dist/esm/icons/user.js";
8
+ const g = r(
9
+ "relative flex shrink-0 overflow-hidden rounded-full",
10
+ {
11
+ variants: {
12
+ size: {
13
+ xs: "size-5",
14
+ sm: "size-6",
15
+ default: "size-8",
16
+ lg: "size-10",
17
+ xl: "size-12"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ size: "default"
22
+ }
23
+ }
24
+ ), z = r("aspect-square h-full w-full object-cover"), j = r(
25
+ "flex h-full w-full items-center justify-center rounded-full bg-muted text-muted-foreground font-medium uppercase",
26
+ {
27
+ variants: {
28
+ size: {
29
+ xs: "text-[10px]",
30
+ sm: "text-xs",
31
+ default: "text-sm",
32
+ lg: "text-base",
33
+ xl: "text-lg"
34
+ }
35
+ },
36
+ defaultVariants: {
37
+ size: "default"
38
+ }
39
+ }
40
+ ), b = n(
41
+ ({ size: l, src: i, alt: f, name: e, ...m }, d) => {
42
+ const o = e ? u(e) : void 0;
43
+ let a;
44
+ return !a && o && (a = o), a || (a = /* @__PURE__ */ t.jsx(p, { className: "size-1/2" })), /* @__PURE__ */ t.jsxs(
45
+ c,
46
+ {
47
+ ref: d,
48
+ className: s(g({ size: l })),
49
+ ...m,
50
+ children: [
51
+ i && /* @__PURE__ */ t.jsx(
52
+ x,
53
+ {
54
+ src: i,
55
+ alt: f || e || "Avatar",
56
+ className: s(z()),
57
+ "data-testid": "avatar-image"
58
+ }
59
+ ),
60
+ /* @__PURE__ */ t.jsx(
61
+ v,
62
+ {
63
+ className: s(j({ size: l })),
64
+ "data-testid": "avatar-fallback",
65
+ children: a
66
+ }
67
+ )
68
+ ]
69
+ }
70
+ );
71
+ }
72
+ );
73
+ b.displayName = "Avatar";
74
+ export {
75
+ b as Avatar
76
+ };
@@ -0,0 +1,2 @@
1
+ declare const getNameInitials: (name: string) => string | undefined;
2
+ export { getNameInitials };
@@ -0,0 +1,11 @@
1
+ const n = (r) => {
2
+ const t = r.replace(/[^\w\s]/gi, "").replace(/\d+/g, "").replace(/\s+/g, " ").trim();
3
+ if (!t)
4
+ return;
5
+ const e = t.split(" ").filter((i) => i.length > 0);
6
+ if (e.length !== 0)
7
+ return e.length === 1 ? e[0].charAt(0).toUpperCase() : (e[0].charAt(0) + e[e.length - 1].charAt(0)).toUpperCase();
8
+ };
9
+ export {
10
+ n as getNameInitials
11
+ };
@@ -1,13 +1,2 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const avatarVariants: (props?: ({
4
- size?: "sm" | "md" | "lg" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
7
- src?: string;
8
- alt?: string;
9
- name?: string;
10
- fallback?: React.ReactNode;
11
- }
12
- declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
13
- export { Avatar };
1
+ export * from './avatar';
2
+ export * from './avatar-group';
@@ -0,0 +1,12 @@
1
+ import { ComponentProps } from 'react';
2
+ import { Badge as ShadcnBadge } from '../../../vendor/shadcn/badge';
3
+ import { Icon, IconName } from '../icon';
4
+ interface BadgeProps extends ComponentProps<typeof ShadcnBadge> {
5
+ startIcon?: IconName;
6
+ endIcon?: IconName;
7
+ startIconProps?: ComponentProps<typeof Icon>;
8
+ endIconProps?: ComponentProps<typeof Icon>;
9
+ children?: string;
10
+ }
11
+ declare const Badge: import('react').ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
12
+ export { Badge, type BadgeProps };
@@ -0,0 +1,15 @@
1
+ import { j as r } from "../../../_virtual/jsx-runtime.js";
2
+ import { forwardRef as t } from "react";
3
+ import { Badge as d } from "../../../vendor/shadcn/badge.js";
4
+ import { Icon as m } from "../icon/icon.js";
5
+ const f = t(
6
+ ({ children: o, startIcon: e, endIcon: s, startIconProps: a, endIconProps: i, ...x }, p) => /* @__PURE__ */ r.jsxs(d, { ref: p, ...x, children: [
7
+ e && /* @__PURE__ */ r.jsx(m, { name: e, size: "xs", ...a }),
8
+ o,
9
+ s && /* @__PURE__ */ r.jsx(m, { name: s, size: "xs", ...i })
10
+ ] })
11
+ );
12
+ f.displayName = "Badge";
13
+ export {
14
+ f as Badge
15
+ };
@@ -0,0 +1 @@
1
+ export { Badge, type BadgeProps } from './badge';
@@ -0,0 +1,13 @@
1
+ import { ComponentProps } from 'react';
2
+ import { Button as ShadcnButton } from '../../../vendor/shadcn/button';
3
+ import { Icon, IconName } from '../icon';
4
+ interface ButtonProps extends ComponentProps<typeof ShadcnButton> {
5
+ startIcon?: IconName;
6
+ endIcon?: IconName;
7
+ startIconProps?: ComponentProps<typeof Icon>;
8
+ endIconProps?: ComponentProps<typeof Icon>;
9
+ isLoading?: boolean;
10
+ children?: string;
11
+ }
12
+ declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
13
+ export { Button, type ButtonProps };
@@ -0,0 +1,19 @@
1
+ import { j as m } from "../../../_virtual/jsx-runtime.js";
2
+ import { forwardRef as x } from "react";
3
+ import { Button as j } from "../../../vendor/shadcn/button.js";
4
+ import { Icon as t } from "../icon/icon.js";
5
+ const u = x(
6
+ ({ children: o, startIcon: e, endIcon: r, startIconProps: a, endIconProps: i, isLoading: s = !1, disabled: n, ...p }, f) => {
7
+ const l = n || s;
8
+ return /* @__PURE__ */ m.jsxs(j, { ref: f, disabled: l, ...p, children: [
9
+ s && /* @__PURE__ */ m.jsx(t, { name: "CircleNotch", size: "sm", className: "animate-spin" }),
10
+ e && !s && /* @__PURE__ */ m.jsx(t, { name: e, size: "sm", ...a }),
11
+ o,
12
+ r && !s && /* @__PURE__ */ m.jsx(t, { name: r, size: "sm", ...i })
13
+ ] });
14
+ }
15
+ );
16
+ u.displayName = "Button";
17
+ export {
18
+ u as Button
19
+ };
@@ -1,14 +1 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const buttonVariants: (props?: ({
4
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
- size?: "sm" | "lg" | "default" | "icon" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
- asChild?: boolean;
9
- label?: React.ReactNode;
10
- startIcon?: React.ReactNode;
11
- endIcon?: React.ReactNode;
12
- }
13
- export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
14
- export {};
1
+ export { Button, type ButtonProps } from './button';
@@ -0,0 +1,8 @@
1
+ import { ComponentProps } from 'react';
2
+ import { Checkbox as ShadcnCheckbox } from '../../../vendor/shadcn/checkbox';
3
+ export interface CheckboxProps extends Omit<ComponentProps<typeof ShadcnCheckbox>, "children"> {
4
+ label: string;
5
+ description?: string;
6
+ }
7
+ declare const Checkbox: import('react').ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
8
+ export { Checkbox };