periplo-ui 4.23.2 → 4.24.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 (520) hide show
  1. package/dist/base.css +254 -0
  2. package/dist/components/data-display/Avatar/Avatar.js +8 -9
  3. package/dist/components/data-display/Avatar/Avatar.js.map +1 -1
  4. package/dist/components/data-display/Avatar/index.js +1 -2
  5. package/dist/components/data-display/Badge/Badge.d.ts +1 -1
  6. package/dist/components/data-display/Badge/Badge.js +10 -11
  7. package/dist/components/data-display/Badge/Badge.js.map +1 -1
  8. package/dist/components/data-display/Badge/index.js +1 -2
  9. package/dist/components/data-display/Carousel/Carousel.js +3 -4
  10. package/dist/components/data-display/Carousel/Carousel.js.map +1 -1
  11. package/dist/components/data-display/Carousel/index.js +1 -2
  12. package/dist/components/data-display/Chip/Chip.d.ts +1 -1
  13. package/dist/components/data-display/Chip/Chip.js +29 -33
  14. package/dist/components/data-display/Chip/Chip.js.map +1 -1
  15. package/dist/components/data-display/Chip/index.js +1 -2
  16. package/dist/components/data-display/DataTable/DataTable.js +11 -10
  17. package/dist/components/data-display/DataTable/DataTable.js.map +1 -1
  18. package/dist/components/data-display/DataTable/components/DataTableBody.js +15 -14
  19. package/dist/components/data-display/DataTable/components/DataTableBody.js.map +1 -1
  20. package/dist/components/data-display/DataTable/components/DataTableCell.js +2 -3
  21. package/dist/components/data-display/DataTable/components/DataTableCheckbox.js +2 -3
  22. package/dist/components/data-display/DataTable/components/DataTableCheckbox.js.map +1 -1
  23. package/dist/components/data-display/DataTable/components/DataTableColumnHeader.js +4 -5
  24. package/dist/components/data-display/DataTable/components/DataTableColumnHeader.js.map +1 -1
  25. package/dist/components/data-display/DataTable/components/DataTableGroupRow.js +8 -8
  26. package/dist/components/data-display/DataTable/components/DataTableGroupRow.js.map +1 -1
  27. package/dist/components/data-display/DataTable/components/DataTablePagination.js +9 -10
  28. package/dist/components/data-display/DataTable/components/DataTablePagination.js.map +1 -1
  29. package/dist/components/data-display/DataTable/components/DataTableSelectCells.js +1 -2
  30. package/dist/components/data-display/DataTable/components/DataTableToolbar.js +8 -9
  31. package/dist/components/data-display/DataTable/components/DataTableToolbar.js.map +1 -1
  32. package/dist/components/data-display/DataTable/components/DataTableToolbarButton.js +2 -3
  33. package/dist/components/data-display/DataTable/components/dataTableCellStyles.js +3 -4
  34. package/dist/components/data-display/DataTable/components/dataTableCellStyles.js.map +1 -1
  35. package/dist/components/data-display/DataTable/data.js +1 -2
  36. package/dist/components/data-display/DataTable/hooks/useGroupExpansion.js +1 -2
  37. package/dist/components/data-display/DataTable/hooks/useSelectColumn.js +1 -2
  38. package/dist/components/data-display/DataTable/hooks/useSelection.js +1 -2
  39. package/dist/components/data-display/DataTable/hooks/useSorting.js +1 -2
  40. package/dist/components/data-display/DataTable/index.js +1 -1
  41. package/dist/components/data-display/DataTable/utils.js +1 -2
  42. package/dist/components/data-display/Flag/Flag.js +3 -4
  43. package/dist/components/data-display/Flag/Flag.js.map +1 -1
  44. package/dist/components/data-display/Flag/index.js +1 -2
  45. package/dist/components/data-display/Label/Label.js +2 -3
  46. package/dist/components/data-display/Label/Label.js.map +1 -1
  47. package/dist/components/data-display/Label/index.js +1 -2
  48. package/dist/components/data-display/Marquee/Marquee.js +2 -3
  49. package/dist/components/data-display/Marquee/Marquee.js.map +1 -1
  50. package/dist/components/data-display/Marquee/index.js +1 -2
  51. package/dist/components/data-display/NotificationBadge/NotificationBadge.js +13 -15
  52. package/dist/components/data-display/NotificationBadge/NotificationBadge.js.map +1 -1
  53. package/dist/components/data-display/NotificationBadge/index.js +1 -2
  54. package/dist/components/data-display/Popover/Popover.js +4 -5
  55. package/dist/components/data-display/Popover/Popover.js.map +1 -1
  56. package/dist/components/data-display/Popover/index.js +1 -2
  57. package/dist/components/data-display/Separator/Separator.js +2 -3
  58. package/dist/components/data-display/Separator/Separator.js.map +1 -1
  59. package/dist/components/data-display/Separator/index.js +1 -2
  60. package/dist/components/data-display/Table/Table.js +5 -6
  61. package/dist/components/data-display/Table/Table.js.map +1 -1
  62. package/dist/components/data-display/Table/index.js +1 -2
  63. package/dist/components/data-display/Tooltip/Tooltip.js +22 -6
  64. package/dist/components/data-display/Tooltip/Tooltip.js.map +1 -1
  65. package/dist/components/data-display/Tooltip/index.js +1 -2
  66. package/dist/components/data-display/TruncatedTypographyWithTooltip/TruncatedTypographyWithTooltip.js +2 -3
  67. package/dist/components/data-display/TruncatedTypographyWithTooltip/index.js +1 -2
  68. package/dist/components/data-display/Typography/Typography.d.ts +4 -4
  69. package/dist/components/data-display/Typography/Typography.js +27 -31
  70. package/dist/components/data-display/Typography/Typography.js.map +1 -1
  71. package/dist/components/data-display/Typography/index.js +1 -2
  72. package/dist/components/feedback/Dialog/Dialog.js +8 -9
  73. package/dist/components/feedback/Dialog/Dialog.js.map +1 -1
  74. package/dist/components/feedback/Dialog/index.js +1 -2
  75. package/dist/components/feedback/Progress/Progress.d.ts +2 -2
  76. package/dist/components/feedback/Progress/Progress.js +7 -8
  77. package/dist/components/feedback/Progress/Progress.js.map +1 -1
  78. package/dist/components/feedback/Progress/hooks/useFakeProgress.js +1 -2
  79. package/dist/components/feedback/Progress/index.js +1 -2
  80. package/dist/components/feedback/Skeleton/Skeleton.js +2 -3
  81. package/dist/components/feedback/Skeleton/Skeleton.js.map +1 -1
  82. package/dist/components/feedback/Skeleton/index.js +1 -2
  83. package/dist/components/feedback/Toaster/Toaster.js +11 -12
  84. package/dist/components/feedback/Toaster/Toaster.js.map +1 -1
  85. package/dist/components/feedback/Toaster/index.js +1 -2
  86. package/dist/components/inputs/Button/Button.d.ts +1 -1
  87. package/dist/components/inputs/Button/Button.js +62 -58
  88. package/dist/components/inputs/Button/Button.js.map +1 -1
  89. package/dist/components/inputs/Button/index.js +1 -2
  90. package/dist/components/inputs/Calendar/Calendar.js +38 -36
  91. package/dist/components/inputs/Calendar/Calendar.js.map +1 -1
  92. package/dist/components/inputs/Calendar/index.js +1 -2
  93. package/dist/components/inputs/Checkbox/Checkbox.js +14 -13
  94. package/dist/components/inputs/Checkbox/Checkbox.js.map +1 -1
  95. package/dist/components/inputs/Checkbox/index.js +1 -2
  96. package/dist/components/inputs/Combobox/Combobox.d.ts +1 -1
  97. package/dist/components/inputs/Combobox/Combobox.js +6 -6
  98. package/dist/components/inputs/Combobox/Combobox.js.map +1 -1
  99. package/dist/components/inputs/Combobox/ComboboxOptionWithTooltip.js +1 -2
  100. package/dist/components/inputs/Combobox/ComboboxTrigger.js +7 -5
  101. package/dist/components/inputs/Combobox/ComboboxTrigger.js.map +1 -1
  102. package/dist/components/inputs/Combobox/StaticComboboxList.js +10 -22
  103. package/dist/components/inputs/Combobox/StaticComboboxList.js.map +1 -1
  104. package/dist/components/inputs/Combobox/VirtualizedComboboxList.js +6 -7
  105. package/dist/components/inputs/Combobox/VirtualizedComboboxList.js.map +1 -1
  106. package/dist/components/inputs/Combobox/hooks/index.js +1 -1
  107. package/dist/components/inputs/Combobox/hooks/useComboboxOpenState.js +1 -2
  108. package/dist/components/inputs/Combobox/hooks/useComboboxSelection.js +1 -2
  109. package/dist/components/inputs/Combobox/hooks/useDebouncedState.js +5 -6
  110. package/dist/components/inputs/Combobox/hooks/useDebouncedState.js.map +1 -1
  111. package/dist/components/inputs/Combobox/hooks/useDisplayValue.js +1 -2
  112. package/dist/components/inputs/Combobox/index.js +1 -1
  113. package/dist/components/inputs/Combobox/types.d.ts +1 -1
  114. package/dist/components/inputs/Combobox/useCombobox.js +1 -2
  115. package/dist/components/inputs/Command/Command.js +25 -21
  116. package/dist/components/inputs/Command/Command.js.map +1 -1
  117. package/dist/components/inputs/Command/index.js +1 -2
  118. package/dist/components/inputs/CountrySelect/CountrySelect.js +7 -9
  119. package/dist/components/inputs/CountrySelect/CountrySelect.js.map +1 -1
  120. package/dist/components/inputs/CountrySelect/index.js +1 -2
  121. package/dist/components/inputs/DatePicker/DatePicker.js +7 -8
  122. package/dist/components/inputs/DatePicker/DatePicker.js.map +1 -1
  123. package/dist/components/inputs/DatePicker/hooks/useLocale.js +1 -2
  124. package/dist/components/inputs/DatePicker/index.js +1 -2
  125. package/dist/components/inputs/Field/Field.js +15 -13
  126. package/dist/components/inputs/Field/Field.js.map +1 -1
  127. package/dist/components/inputs/Field/index.js +1 -2
  128. package/dist/components/inputs/Form/Form.d.ts +1 -1
  129. package/dist/components/inputs/Form/Form.js +5 -6
  130. package/dist/components/inputs/Form/Form.js.map +1 -1
  131. package/dist/components/inputs/Form/Page.js +1 -2
  132. package/dist/components/inputs/Form/index.js +1 -2
  133. package/dist/components/inputs/InlineMultiSelect/InlineMultiSelect.d.ts +7 -1
  134. package/dist/components/inputs/InlineMultiSelect/InlineMultiSelect.js +80 -29
  135. package/dist/components/inputs/InlineMultiSelect/InlineMultiSelect.js.map +1 -1
  136. package/dist/components/inputs/InlineMultiSelect/index.js +1 -2
  137. package/dist/components/inputs/Input/Input.js +22 -15
  138. package/dist/components/inputs/Input/Input.js.map +1 -1
  139. package/dist/components/inputs/Input/index.js +1 -2
  140. package/dist/components/inputs/InputDate/InputDate.js +16 -17
  141. package/dist/components/inputs/InputDate/InputDate.js.map +1 -1
  142. package/dist/components/inputs/InputDate/index.js +1 -2
  143. package/dist/components/inputs/InputOTP/InputOTP.js +5 -6
  144. package/dist/components/inputs/InputOTP/InputOTP.js.map +1 -1
  145. package/dist/components/inputs/InputOTP/index.js +1 -2
  146. package/dist/components/inputs/LazyDatePicker/LazyDatePicker.js +14 -14
  147. package/dist/components/inputs/LazyDatePicker/LazyDatePicker.js.map +1 -1
  148. package/dist/components/inputs/LazyDatePicker/index.js +1 -2
  149. package/dist/components/inputs/MultiSelect/MultiSelect.js +9 -14
  150. package/dist/components/inputs/MultiSelect/MultiSelect.js.map +1 -1
  151. package/dist/components/inputs/MultiSelect/Page.js +1 -2
  152. package/dist/components/inputs/MultiSelect/index.js +1 -2
  153. package/dist/components/inputs/PhoneInput/PhoneInput.js +18 -21
  154. package/dist/components/inputs/PhoneInput/PhoneInput.js.map +1 -1
  155. package/dist/components/inputs/PhoneInput/hooks/index.js +1 -2
  156. package/dist/components/inputs/PhoneInput/hooks/usePhoneField.js +7 -8
  157. package/dist/components/inputs/PhoneInput/hooks/usePhoneField.js.map +1 -1
  158. package/dist/components/inputs/PhoneInput/index.js +1 -1
  159. package/dist/components/inputs/PhoneInput/phone.js +1 -2
  160. package/dist/components/inputs/RadioGroup/Page.js +1 -2
  161. package/dist/components/inputs/RadioGroup/RadioGroup.js +14 -14
  162. package/dist/components/inputs/RadioGroup/RadioGroup.js.map +1 -1
  163. package/dist/components/inputs/RadioGroup/index.js +1 -2
  164. package/dist/components/inputs/Select/Select.js +22 -21
  165. package/dist/components/inputs/Select/Select.js.map +1 -1
  166. package/dist/components/inputs/Select/index.js +1 -2
  167. package/dist/components/inputs/StarRating/StarRating.js +10 -11
  168. package/dist/components/inputs/StarRating/StarRating.js.map +1 -1
  169. package/dist/components/inputs/StarRating/index.js +1 -2
  170. package/dist/components/inputs/Textarea/Textarea.js +11 -11
  171. package/dist/components/inputs/Textarea/Textarea.js.map +1 -1
  172. package/dist/components/inputs/Textarea/index.js +1 -2
  173. package/dist/components/inputs/Toggle/Toggle.js +19 -15
  174. package/dist/components/inputs/Toggle/Toggle.js.map +1 -1
  175. package/dist/components/inputs/Toggle/index.js +1 -2
  176. package/dist/components/inputs/ToggleGroup/ToggleGroup.js +2 -3
  177. package/dist/components/inputs/ToggleGroup/index.js +1 -2
  178. package/dist/components/inputs/shared/ClearButton.js +9 -10
  179. package/dist/components/inputs/shared/ClearButton.js.map +1 -1
  180. package/dist/components/inputs/shared/InputGroup.js +15 -12
  181. package/dist/components/inputs/shared/InputGroup.js.map +1 -1
  182. package/dist/components/inputs/shared/calendarDayContext.js +1 -2
  183. package/dist/components/inputs/shared/fieldInvalid.js +1 -2
  184. package/dist/components/navigation/Breadcrumb/Breadcrumb.js +8 -9
  185. package/dist/components/navigation/Breadcrumb/Breadcrumb.js.map +1 -1
  186. package/dist/components/navigation/Breadcrumb/index.js +1 -2
  187. package/dist/components/navigation/DropdownMenu/DropdownMenu.js +31 -35
  188. package/dist/components/navigation/DropdownMenu/DropdownMenu.js.map +1 -1
  189. package/dist/components/navigation/DropdownMenu/index.js +1 -2
  190. package/dist/components/navigation/Pagination/Pagination.js +6 -7
  191. package/dist/components/navigation/Pagination/Pagination.js.map +1 -1
  192. package/dist/components/navigation/Pagination/index.js +1 -2
  193. package/dist/components/navigation/Sheet/Sheet.js +9 -12
  194. package/dist/components/navigation/Sheet/Sheet.js.map +1 -1
  195. package/dist/components/navigation/Sheet/index.js +1 -2
  196. package/dist/components/navigation/Sidebar/Sidebar.d.ts +2 -2
  197. package/dist/components/navigation/Sidebar/Sidebar.js +30 -31
  198. package/dist/components/navigation/Sidebar/Sidebar.js.map +1 -1
  199. package/dist/components/navigation/Sidebar/SidebarMenu.d.ts +5 -5
  200. package/dist/components/navigation/Sidebar/SidebarMenu.js +46 -53
  201. package/dist/components/navigation/Sidebar/SidebarMenu.js.map +1 -1
  202. package/dist/components/navigation/Sidebar/SidebarPage.js +9 -10
  203. package/dist/components/navigation/Sidebar/SidebarPage.js.map +1 -1
  204. package/dist/components/navigation/Sidebar/SidebarUser.js +23 -25
  205. package/dist/components/navigation/Sidebar/SidebarUser.js.map +1 -1
  206. package/dist/components/navigation/Sidebar/context.js +1 -2
  207. package/dist/components/navigation/Sidebar/index.js +1 -1
  208. package/dist/components/navigation/Tabs/Tabs.js +21 -7
  209. package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
  210. package/dist/components/navigation/Tabs/index.js +1 -2
  211. package/dist/components/shared/CloseButton.js +1 -2
  212. package/dist/components/shared/OptionCheck.d.ts +14 -0
  213. package/dist/components/shared/OptionCheck.js +22 -0
  214. package/dist/components/shared/OptionCheck.js.map +1 -0
  215. package/dist/components/shared/Spinner.d.ts +7 -0
  216. package/dist/components/shared/Spinner.js +19 -0
  217. package/dist/components/shared/Spinner.js.map +1 -0
  218. package/dist/components/shared/index.d.ts +2 -0
  219. package/dist/components/shared/index.js +3 -1
  220. package/dist/components/surface/Accordion/Accordion.js +5 -6
  221. package/dist/components/surface/Accordion/Accordion.js.map +1 -1
  222. package/dist/components/surface/Accordion/index.js +1 -2
  223. package/dist/components/surface/Card/Card.js +2 -3
  224. package/dist/components/surface/Card/Card.js.map +1 -1
  225. package/dist/components/surface/Card/index.js +1 -2
  226. package/dist/components/surface/Collapsible/Collapsible.js +1 -2
  227. package/dist/components/surface/Collapsible/index.js +1 -2
  228. package/dist/foundations/shared.d.ts +22 -0
  229. package/dist/foundations/shared.js +63 -0
  230. package/dist/foundations/shared.js.map +1 -0
  231. package/dist/lib/countries.js +1 -2
  232. package/dist/lib/dateUtils.js +1 -2
  233. package/dist/lib/flagSvg.js +1 -2
  234. package/dist/lib/inputModality.js +1 -2
  235. package/dist/lib/marquee.js +1 -2
  236. package/dist/lib/useListScroll.js +1 -2
  237. package/dist/lib/useLocale.js +1 -2
  238. package/dist/lib/useMobile.js +1 -2
  239. package/dist/lib/useSlidingIndicator.js +1 -2
  240. package/dist/lib/useTouchDevice.js +1 -2
  241. package/dist/lib/utils.js +66 -3
  242. package/dist/lib/utils.js.map +1 -1
  243. package/dist/node_modules/country-flag-icons/3x2/AC.js +1 -2
  244. package/dist/node_modules/country-flag-icons/3x2/AD.js +1 -2
  245. package/dist/node_modules/country-flag-icons/3x2/AE.js +1 -2
  246. package/dist/node_modules/country-flag-icons/3x2/AF.js +1 -2
  247. package/dist/node_modules/country-flag-icons/3x2/AG.js +1 -2
  248. package/dist/node_modules/country-flag-icons/3x2/AI.js +1 -2
  249. package/dist/node_modules/country-flag-icons/3x2/AL.js +1 -2
  250. package/dist/node_modules/country-flag-icons/3x2/AM.js +1 -2
  251. package/dist/node_modules/country-flag-icons/3x2/AO.js +1 -2
  252. package/dist/node_modules/country-flag-icons/3x2/AQ.js +1 -2
  253. package/dist/node_modules/country-flag-icons/3x2/AR.js +1 -2
  254. package/dist/node_modules/country-flag-icons/3x2/AS.js +1 -2
  255. package/dist/node_modules/country-flag-icons/3x2/AT.js +1 -2
  256. package/dist/node_modules/country-flag-icons/3x2/AU.js +1 -2
  257. package/dist/node_modules/country-flag-icons/3x2/AW.js +1 -2
  258. package/dist/node_modules/country-flag-icons/3x2/AX.js +1 -2
  259. package/dist/node_modules/country-flag-icons/3x2/AZ.js +1 -2
  260. package/dist/node_modules/country-flag-icons/3x2/BA.js +1 -2
  261. package/dist/node_modules/country-flag-icons/3x2/BB.js +1 -2
  262. package/dist/node_modules/country-flag-icons/3x2/BD.js +1 -2
  263. package/dist/node_modules/country-flag-icons/3x2/BE.js +1 -2
  264. package/dist/node_modules/country-flag-icons/3x2/BF.js +1 -2
  265. package/dist/node_modules/country-flag-icons/3x2/BG.js +1 -2
  266. package/dist/node_modules/country-flag-icons/3x2/BH.js +1 -2
  267. package/dist/node_modules/country-flag-icons/3x2/BI.js +1 -2
  268. package/dist/node_modules/country-flag-icons/3x2/BJ.js +1 -2
  269. package/dist/node_modules/country-flag-icons/3x2/BL.js +1 -2
  270. package/dist/node_modules/country-flag-icons/3x2/BM.js +1 -2
  271. package/dist/node_modules/country-flag-icons/3x2/BN.js +1 -2
  272. package/dist/node_modules/country-flag-icons/3x2/BO.js +1 -2
  273. package/dist/node_modules/country-flag-icons/3x2/BQ-BO.js +1 -2
  274. package/dist/node_modules/country-flag-icons/3x2/BQ-SA.js +1 -2
  275. package/dist/node_modules/country-flag-icons/3x2/BQ-SE.js +1 -2
  276. package/dist/node_modules/country-flag-icons/3x2/BQ.js +1 -2
  277. package/dist/node_modules/country-flag-icons/3x2/BR.js +1 -2
  278. package/dist/node_modules/country-flag-icons/3x2/BS.js +1 -2
  279. package/dist/node_modules/country-flag-icons/3x2/BT.js +1 -2
  280. package/dist/node_modules/country-flag-icons/3x2/BV.js +1 -2
  281. package/dist/node_modules/country-flag-icons/3x2/BW.js +1 -2
  282. package/dist/node_modules/country-flag-icons/3x2/BY.js +1 -2
  283. package/dist/node_modules/country-flag-icons/3x2/BZ.js +1 -2
  284. package/dist/node_modules/country-flag-icons/3x2/CA.js +1 -2
  285. package/dist/node_modules/country-flag-icons/3x2/CC.js +1 -2
  286. package/dist/node_modules/country-flag-icons/3x2/CD.js +1 -2
  287. package/dist/node_modules/country-flag-icons/3x2/CF.js +1 -2
  288. package/dist/node_modules/country-flag-icons/3x2/CG.js +1 -2
  289. package/dist/node_modules/country-flag-icons/3x2/CH.js +1 -2
  290. package/dist/node_modules/country-flag-icons/3x2/CI.js +1 -2
  291. package/dist/node_modules/country-flag-icons/3x2/CK.js +1 -2
  292. package/dist/node_modules/country-flag-icons/3x2/CL.js +1 -2
  293. package/dist/node_modules/country-flag-icons/3x2/CM.js +1 -2
  294. package/dist/node_modules/country-flag-icons/3x2/CN.js +1 -2
  295. package/dist/node_modules/country-flag-icons/3x2/CO.js +1 -2
  296. package/dist/node_modules/country-flag-icons/3x2/CR.js +1 -2
  297. package/dist/node_modules/country-flag-icons/3x2/CU.js +1 -2
  298. package/dist/node_modules/country-flag-icons/3x2/CV.js +1 -2
  299. package/dist/node_modules/country-flag-icons/3x2/CW.js +1 -2
  300. package/dist/node_modules/country-flag-icons/3x2/CX.js +1 -2
  301. package/dist/node_modules/country-flag-icons/3x2/CY.js +1 -2
  302. package/dist/node_modules/country-flag-icons/3x2/CZ.js +1 -2
  303. package/dist/node_modules/country-flag-icons/3x2/DE.js +1 -2
  304. package/dist/node_modules/country-flag-icons/3x2/DJ.js +1 -2
  305. package/dist/node_modules/country-flag-icons/3x2/DK.js +1 -2
  306. package/dist/node_modules/country-flag-icons/3x2/DM.js +1 -2
  307. package/dist/node_modules/country-flag-icons/3x2/DO.js +1 -2
  308. package/dist/node_modules/country-flag-icons/3x2/DZ.js +1 -2
  309. package/dist/node_modules/country-flag-icons/3x2/EC.js +1 -2
  310. package/dist/node_modules/country-flag-icons/3x2/EE.js +1 -2
  311. package/dist/node_modules/country-flag-icons/3x2/EG.js +1 -2
  312. package/dist/node_modules/country-flag-icons/3x2/EH.js +1 -2
  313. package/dist/node_modules/country-flag-icons/3x2/ER.js +1 -2
  314. package/dist/node_modules/country-flag-icons/3x2/ES-CT.js +1 -2
  315. package/dist/node_modules/country-flag-icons/3x2/ES.js +1 -2
  316. package/dist/node_modules/country-flag-icons/3x2/ET.js +1 -2
  317. package/dist/node_modules/country-flag-icons/3x2/EU.js +1 -2
  318. package/dist/node_modules/country-flag-icons/3x2/FI.js +1 -2
  319. package/dist/node_modules/country-flag-icons/3x2/FJ.js +1 -2
  320. package/dist/node_modules/country-flag-icons/3x2/FK.js +1 -2
  321. package/dist/node_modules/country-flag-icons/3x2/FM.js +1 -2
  322. package/dist/node_modules/country-flag-icons/3x2/FO.js +1 -2
  323. package/dist/node_modules/country-flag-icons/3x2/FR.js +1 -2
  324. package/dist/node_modules/country-flag-icons/3x2/GA.js +1 -2
  325. package/dist/node_modules/country-flag-icons/3x2/GB-ENG.js +1 -2
  326. package/dist/node_modules/country-flag-icons/3x2/GB-NIR.js +1 -2
  327. package/dist/node_modules/country-flag-icons/3x2/GB-SCT.js +1 -2
  328. package/dist/node_modules/country-flag-icons/3x2/GB-WLS.js +1 -2
  329. package/dist/node_modules/country-flag-icons/3x2/GB.js +1 -2
  330. package/dist/node_modules/country-flag-icons/3x2/GD.js +1 -2
  331. package/dist/node_modules/country-flag-icons/3x2/GE.js +1 -2
  332. package/dist/node_modules/country-flag-icons/3x2/GF.js +1 -2
  333. package/dist/node_modules/country-flag-icons/3x2/GG.js +1 -2
  334. package/dist/node_modules/country-flag-icons/3x2/GH.js +1 -2
  335. package/dist/node_modules/country-flag-icons/3x2/GI.js +1 -2
  336. package/dist/node_modules/country-flag-icons/3x2/GL.js +1 -2
  337. package/dist/node_modules/country-flag-icons/3x2/GM.js +1 -2
  338. package/dist/node_modules/country-flag-icons/3x2/GN.js +1 -2
  339. package/dist/node_modules/country-flag-icons/3x2/GP.js +1 -2
  340. package/dist/node_modules/country-flag-icons/3x2/GQ.js +1 -2
  341. package/dist/node_modules/country-flag-icons/3x2/GR.js +1 -2
  342. package/dist/node_modules/country-flag-icons/3x2/GS.js +1 -2
  343. package/dist/node_modules/country-flag-icons/3x2/GT.js +1 -2
  344. package/dist/node_modules/country-flag-icons/3x2/GU.js +1 -2
  345. package/dist/node_modules/country-flag-icons/3x2/GW.js +1 -2
  346. package/dist/node_modules/country-flag-icons/3x2/GY.js +1 -2
  347. package/dist/node_modules/country-flag-icons/3x2/HK.js +1 -2
  348. package/dist/node_modules/country-flag-icons/3x2/HM.js +1 -2
  349. package/dist/node_modules/country-flag-icons/3x2/HN.js +1 -2
  350. package/dist/node_modules/country-flag-icons/3x2/HR.js +1 -2
  351. package/dist/node_modules/country-flag-icons/3x2/HT.js +1 -2
  352. package/dist/node_modules/country-flag-icons/3x2/HU.js +1 -2
  353. package/dist/node_modules/country-flag-icons/3x2/IC.js +1 -2
  354. package/dist/node_modules/country-flag-icons/3x2/ID.js +1 -2
  355. package/dist/node_modules/country-flag-icons/3x2/IE.js +1 -2
  356. package/dist/node_modules/country-flag-icons/3x2/IL.js +1 -2
  357. package/dist/node_modules/country-flag-icons/3x2/IM.js +1 -2
  358. package/dist/node_modules/country-flag-icons/3x2/IN.js +1 -2
  359. package/dist/node_modules/country-flag-icons/3x2/IO.js +1 -2
  360. package/dist/node_modules/country-flag-icons/3x2/IQ.js +1 -2
  361. package/dist/node_modules/country-flag-icons/3x2/IR.js +1 -2
  362. package/dist/node_modules/country-flag-icons/3x2/IS.js +1 -2
  363. package/dist/node_modules/country-flag-icons/3x2/IT.js +1 -2
  364. package/dist/node_modules/country-flag-icons/3x2/JE.js +1 -2
  365. package/dist/node_modules/country-flag-icons/3x2/JM.js +1 -2
  366. package/dist/node_modules/country-flag-icons/3x2/JO.js +1 -2
  367. package/dist/node_modules/country-flag-icons/3x2/JP.js +1 -2
  368. package/dist/node_modules/country-flag-icons/3x2/KE.js +1 -2
  369. package/dist/node_modules/country-flag-icons/3x2/KG.js +1 -2
  370. package/dist/node_modules/country-flag-icons/3x2/KH.js +1 -2
  371. package/dist/node_modules/country-flag-icons/3x2/KI.js +1 -2
  372. package/dist/node_modules/country-flag-icons/3x2/KM.js +1 -2
  373. package/dist/node_modules/country-flag-icons/3x2/KN.js +1 -2
  374. package/dist/node_modules/country-flag-icons/3x2/KP.js +1 -2
  375. package/dist/node_modules/country-flag-icons/3x2/KR.js +1 -2
  376. package/dist/node_modules/country-flag-icons/3x2/KW.js +1 -2
  377. package/dist/node_modules/country-flag-icons/3x2/KY.js +1 -2
  378. package/dist/node_modules/country-flag-icons/3x2/KZ.js +1 -2
  379. package/dist/node_modules/country-flag-icons/3x2/LA.js +1 -2
  380. package/dist/node_modules/country-flag-icons/3x2/LB.js +1 -2
  381. package/dist/node_modules/country-flag-icons/3x2/LC.js +1 -2
  382. package/dist/node_modules/country-flag-icons/3x2/LI.js +1 -2
  383. package/dist/node_modules/country-flag-icons/3x2/LK.js +1 -2
  384. package/dist/node_modules/country-flag-icons/3x2/LR.js +1 -2
  385. package/dist/node_modules/country-flag-icons/3x2/LS.js +1 -2
  386. package/dist/node_modules/country-flag-icons/3x2/LT.js +1 -2
  387. package/dist/node_modules/country-flag-icons/3x2/LU.js +1 -2
  388. package/dist/node_modules/country-flag-icons/3x2/LV.js +1 -2
  389. package/dist/node_modules/country-flag-icons/3x2/LY.js +1 -2
  390. package/dist/node_modules/country-flag-icons/3x2/MA.js +1 -2
  391. package/dist/node_modules/country-flag-icons/3x2/MC.js +1 -2
  392. package/dist/node_modules/country-flag-icons/3x2/MD.js +1 -2
  393. package/dist/node_modules/country-flag-icons/3x2/ME.js +1 -2
  394. package/dist/node_modules/country-flag-icons/3x2/MF.js +1 -2
  395. package/dist/node_modules/country-flag-icons/3x2/MG.js +1 -2
  396. package/dist/node_modules/country-flag-icons/3x2/MH.js +1 -2
  397. package/dist/node_modules/country-flag-icons/3x2/MK.js +1 -2
  398. package/dist/node_modules/country-flag-icons/3x2/ML.js +1 -2
  399. package/dist/node_modules/country-flag-icons/3x2/MM.js +1 -2
  400. package/dist/node_modules/country-flag-icons/3x2/MN.js +1 -2
  401. package/dist/node_modules/country-flag-icons/3x2/MO.js +1 -2
  402. package/dist/node_modules/country-flag-icons/3x2/MP.js +1 -2
  403. package/dist/node_modules/country-flag-icons/3x2/MQ.js +1 -2
  404. package/dist/node_modules/country-flag-icons/3x2/MR.js +1 -2
  405. package/dist/node_modules/country-flag-icons/3x2/MS.js +1 -2
  406. package/dist/node_modules/country-flag-icons/3x2/MT.js +1 -2
  407. package/dist/node_modules/country-flag-icons/3x2/MU.js +1 -2
  408. package/dist/node_modules/country-flag-icons/3x2/MV.js +1 -2
  409. package/dist/node_modules/country-flag-icons/3x2/MW.js +1 -2
  410. package/dist/node_modules/country-flag-icons/3x2/MX.js +1 -2
  411. package/dist/node_modules/country-flag-icons/3x2/MY.js +1 -2
  412. package/dist/node_modules/country-flag-icons/3x2/MZ.js +1 -2
  413. package/dist/node_modules/country-flag-icons/3x2/NA.js +1 -2
  414. package/dist/node_modules/country-flag-icons/3x2/NC.js +1 -2
  415. package/dist/node_modules/country-flag-icons/3x2/NE.js +1 -2
  416. package/dist/node_modules/country-flag-icons/3x2/NF.js +1 -2
  417. package/dist/node_modules/country-flag-icons/3x2/NG.js +1 -2
  418. package/dist/node_modules/country-flag-icons/3x2/NI.js +1 -2
  419. package/dist/node_modules/country-flag-icons/3x2/NL.js +1 -2
  420. package/dist/node_modules/country-flag-icons/3x2/NO.js +1 -2
  421. package/dist/node_modules/country-flag-icons/3x2/NP.js +1 -2
  422. package/dist/node_modules/country-flag-icons/3x2/NR.js +1 -2
  423. package/dist/node_modules/country-flag-icons/3x2/NU.js +1 -2
  424. package/dist/node_modules/country-flag-icons/3x2/NZ.js +1 -2
  425. package/dist/node_modules/country-flag-icons/3x2/OM.js +1 -2
  426. package/dist/node_modules/country-flag-icons/3x2/PA.js +1 -2
  427. package/dist/node_modules/country-flag-icons/3x2/PE.js +1 -2
  428. package/dist/node_modules/country-flag-icons/3x2/PF.js +1 -2
  429. package/dist/node_modules/country-flag-icons/3x2/PG.js +1 -2
  430. package/dist/node_modules/country-flag-icons/3x2/PH.js +1 -2
  431. package/dist/node_modules/country-flag-icons/3x2/PK.js +1 -2
  432. package/dist/node_modules/country-flag-icons/3x2/PL.js +1 -2
  433. package/dist/node_modules/country-flag-icons/3x2/PM.js +1 -2
  434. package/dist/node_modules/country-flag-icons/3x2/PN.js +1 -2
  435. package/dist/node_modules/country-flag-icons/3x2/PR.js +1 -2
  436. package/dist/node_modules/country-flag-icons/3x2/PS.js +1 -2
  437. package/dist/node_modules/country-flag-icons/3x2/PT.js +1 -2
  438. package/dist/node_modules/country-flag-icons/3x2/PW.js +1 -2
  439. package/dist/node_modules/country-flag-icons/3x2/PY.js +1 -2
  440. package/dist/node_modules/country-flag-icons/3x2/QA.js +1 -2
  441. package/dist/node_modules/country-flag-icons/3x2/RE.js +1 -2
  442. package/dist/node_modules/country-flag-icons/3x2/RO.js +1 -2
  443. package/dist/node_modules/country-flag-icons/3x2/RS.js +1 -2
  444. package/dist/node_modules/country-flag-icons/3x2/RU.js +1 -2
  445. package/dist/node_modules/country-flag-icons/3x2/RW.js +1 -2
  446. package/dist/node_modules/country-flag-icons/3x2/SA.js +1 -2
  447. package/dist/node_modules/country-flag-icons/3x2/SB.js +1 -2
  448. package/dist/node_modules/country-flag-icons/3x2/SC.js +1 -2
  449. package/dist/node_modules/country-flag-icons/3x2/SD.js +1 -2
  450. package/dist/node_modules/country-flag-icons/3x2/SE.js +1 -2
  451. package/dist/node_modules/country-flag-icons/3x2/SG.js +1 -2
  452. package/dist/node_modules/country-flag-icons/3x2/SH.js +1 -2
  453. package/dist/node_modules/country-flag-icons/3x2/SI.js +1 -2
  454. package/dist/node_modules/country-flag-icons/3x2/SJ.js +1 -2
  455. package/dist/node_modules/country-flag-icons/3x2/SK.js +1 -2
  456. package/dist/node_modules/country-flag-icons/3x2/SL.js +1 -2
  457. package/dist/node_modules/country-flag-icons/3x2/SM.js +1 -2
  458. package/dist/node_modules/country-flag-icons/3x2/SN.js +1 -2
  459. package/dist/node_modules/country-flag-icons/3x2/SO.js +1 -2
  460. package/dist/node_modules/country-flag-icons/3x2/SR.js +1 -2
  461. package/dist/node_modules/country-flag-icons/3x2/SS.js +1 -2
  462. package/dist/node_modules/country-flag-icons/3x2/ST.js +1 -2
  463. package/dist/node_modules/country-flag-icons/3x2/SV.js +1 -2
  464. package/dist/node_modules/country-flag-icons/3x2/SX.js +1 -2
  465. package/dist/node_modules/country-flag-icons/3x2/SY.js +1 -2
  466. package/dist/node_modules/country-flag-icons/3x2/SZ.js +1 -2
  467. package/dist/node_modules/country-flag-icons/3x2/TA.js +1 -2
  468. package/dist/node_modules/country-flag-icons/3x2/TC.js +1 -2
  469. package/dist/node_modules/country-flag-icons/3x2/TD.js +1 -2
  470. package/dist/node_modules/country-flag-icons/3x2/TF.js +1 -2
  471. package/dist/node_modules/country-flag-icons/3x2/TG.js +1 -2
  472. package/dist/node_modules/country-flag-icons/3x2/TH.js +1 -2
  473. package/dist/node_modules/country-flag-icons/3x2/TJ.js +1 -2
  474. package/dist/node_modules/country-flag-icons/3x2/TK.js +1 -2
  475. package/dist/node_modules/country-flag-icons/3x2/TL.js +1 -2
  476. package/dist/node_modules/country-flag-icons/3x2/TM.js +1 -2
  477. package/dist/node_modules/country-flag-icons/3x2/TN.js +1 -2
  478. package/dist/node_modules/country-flag-icons/3x2/TO.js +1 -2
  479. package/dist/node_modules/country-flag-icons/3x2/TR.js +1 -2
  480. package/dist/node_modules/country-flag-icons/3x2/TT.js +1 -2
  481. package/dist/node_modules/country-flag-icons/3x2/TV.js +1 -2
  482. package/dist/node_modules/country-flag-icons/3x2/TW.js +1 -2
  483. package/dist/node_modules/country-flag-icons/3x2/TZ.js +1 -2
  484. package/dist/node_modules/country-flag-icons/3x2/UA.js +1 -2
  485. package/dist/node_modules/country-flag-icons/3x2/UG.js +1 -2
  486. package/dist/node_modules/country-flag-icons/3x2/UM.js +1 -2
  487. package/dist/node_modules/country-flag-icons/3x2/US.js +1 -2
  488. package/dist/node_modules/country-flag-icons/3x2/UY.js +1 -2
  489. package/dist/node_modules/country-flag-icons/3x2/UZ.js +1 -2
  490. package/dist/node_modules/country-flag-icons/3x2/VA.js +1 -2
  491. package/dist/node_modules/country-flag-icons/3x2/VC.js +1 -2
  492. package/dist/node_modules/country-flag-icons/3x2/VE.js +1 -2
  493. package/dist/node_modules/country-flag-icons/3x2/VG.js +1 -2
  494. package/dist/node_modules/country-flag-icons/3x2/VI.js +1 -2
  495. package/dist/node_modules/country-flag-icons/3x2/VN.js +1 -2
  496. package/dist/node_modules/country-flag-icons/3x2/VU.js +1 -2
  497. package/dist/node_modules/country-flag-icons/3x2/WF.js +1 -2
  498. package/dist/node_modules/country-flag-icons/3x2/WS.js +1 -2
  499. package/dist/node_modules/country-flag-icons/3x2/XA.js +1 -2
  500. package/dist/node_modules/country-flag-icons/3x2/XC.js +1 -2
  501. package/dist/node_modules/country-flag-icons/3x2/XK.js +1 -2
  502. package/dist/node_modules/country-flag-icons/3x2/XO.js +1 -2
  503. package/dist/node_modules/country-flag-icons/3x2/YE.js +1 -2
  504. package/dist/node_modules/country-flag-icons/3x2/YT.js +1 -2
  505. package/dist/node_modules/country-flag-icons/3x2/ZA.js +1 -2
  506. package/dist/node_modules/country-flag-icons/3x2/ZM.js +1 -2
  507. package/dist/node_modules/country-flag-icons/3x2/ZW.js +1 -2
  508. package/dist/theme.css +3 -336
  509. package/dist/tokens.css +491 -0
  510. package/dist/utilities.css +642 -0
  511. package/package.json +86 -85
  512. package/dist/theme/control.css +0 -94
  513. package/dist/theme/fade-text.css +0 -7
  514. package/dist/theme/hit-area.css +0 -42
  515. package/dist/theme/motion.css +0 -3
  516. package/dist/theme/press.css +0 -22
  517. package/dist/theme/scrollbar.css +0 -3
  518. package/dist/theme/sliding-indicator.css +0 -7
  519. package/dist/theme/sticky-column.css +0 -11
  520. package/dist/theme/surface.css +0 -18
@@ -1,2 +1 @@
1
- import { NotificationBadge, notificationBadgeVariants } from "./NotificationBadge.js";
2
- export { NotificationBadge, notificationBadgeVariants };
1
+ export { NotificationBadge, notificationBadgeVariants } from "./NotificationBadge.js";
@@ -1,9 +1,9 @@
1
- import { cn } from "../../../lib/utils.js";
2
1
  import { restoreFocusWithoutRing, useTrackInputModality } from "../../../lib/inputModality.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  import * as React$1 from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import * as PopoverPrimitive from "@radix-ui/react-popover";
6
- //#region src/components/data-display/Popover/Popover.tsx
6
+ // src/components/data-display/Popover/Popover.tsx
7
7
  /**
8
8
  * Root component for the Popover.
9
9
  * Manages the state and accessibility of the popover dialog.
@@ -40,8 +40,8 @@ var PopoverContent = React$1.forwardRef(({ className, align = "center", sideOffs
40
40
  },
41
41
  className: cn(`
42
42
  z-50 max-h-(--radix-popover-content-available-height) w-(--radix-popover-trigger-width) min-w-50
43
- origin-(--radix-popover-content-transform-origin) scrollbar-subtle overflow-y-auto surface border bg-white
44
- p-4 text-center text-popover-foreground shadow-md outline-hidden ease-out-strong
43
+ origin-(--radix-popover-content-transform-origin) scrollbar-subtle overflow-y-auto surface border
44
+ bg-surface-primary p-4 text-center text-primary shadow-overlay outline-hidden motion-popover
45
45
  motion-reduce:data-[side=bottom]:slide-in-from-top-0
46
46
  motion-reduce:data-[side=left]:slide-in-from-right-0
47
47
  motion-reduce:data-[side=right]:slide-in-from-left-0
@@ -100,7 +100,6 @@ var Popover = ({ side, triggerElement, children, className, align = "center", si
100
100
  children
101
101
  })] });
102
102
  };
103
- //#endregion
104
103
  export { Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger };
105
104
 
106
105
  //# sourceMappingURL=Popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","names":["React"],"sources":["../../../../src/components/data-display/Popover/Popover.tsx"],"sourcesContent":["import * as PopoverPrimitive from '@radix-ui/react-popover'\nimport * as React from 'react'\n\nimport { restoreFocusWithoutRing, useTrackInputModality } from '@/lib/inputModality'\nimport { cn } from '@/lib/utils'\n\n/**\n * Root component for the Popover.\n * Manages the state and accessibility of the popover dialog.\n */\nconst PopoverRoot = (props: Readonly<React.ComponentProps<typeof PopoverPrimitive.Root>>) => {\n useTrackInputModality()\n return <PopoverPrimitive.Root {...props} />\n}\n\n/**\n * The button that triggers the popover to open/close.\n * Must be wrapped in a Popover component.\n */\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\n/**\n * Optional anchor element that positions the popover.\n * Useful when the trigger element is not where you want the popover to be anchored.\n */\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nexport type PopoverProps = {\n /**\n * Content to be displayed inside the popover.\n * Can be either a React element or a string.\n */\n children: React.ReactElement | string\n\n /**\n * Element that triggers the popover when interacted with.\n * Can be either a React element or a string.\n * @example <PopoverComponent triggerElement={<Button>Click me</Button>} />\n */\n triggerElement: React.ReactElement | string\n\n /**\n * Position of the popover relative to the trigger element.\n * @default bottom\n */\n side?: 'top' | 'right' | 'bottom' | 'left'\n\n /**\n * Additional CSS classes to be applied to the popover content.\n */\n className?: string\n\n /**\n * Alignment of the popover relative to the trigger element.\n * @default center\n */\n align?: 'start' | 'center' | 'end'\n\n /**\n * Distance in pixels between the trigger element and the popover.\n * @default 4\n */\n sideOffset?: number\n\n /**\n * Container element to position the popover relative to.\n * @default document.body\n */\n container?: HTMLElement\n\n /**\n * The minimum distance in pixels to keep between the popover and the boundary (usually the viewport) edges.\n * Can be a single number applied to all sides, or an object to configure each side individually.\n * @default 8\n */\n collisionPadding?: number | Partial<Record<'top' | 'right' | 'bottom' | 'left', number>>\n}\n\n/**\n * PopoverContent component that renders the actual popover content.\n * Handled internally by the PopoverComponent.\n */\nconst PopoverContent = React.forwardRef<\n React.ComponentRef<typeof PopoverPrimitive.Content>,\n Readonly<React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & { container?: HTMLElement }>\n>(\n (\n {\n className,\n align = 'center',\n sideOffset = 4,\n side = 'bottom',\n collisionPadding = 8,\n container,\n onCloseAutoFocus,\n ...props\n },\n ref,\n ) => (\n <PopoverPrimitive.Portal container={container}>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n side={side}\n collisionPadding={collisionPadding}\n onCloseAutoFocus={(event) => {\n onCloseAutoFocus?.(event)\n restoreFocusWithoutRing(event)\n }}\n className={cn(\n `\n z-50 max-h-(--radix-popover-content-available-height) w-(--radix-popover-trigger-width) min-w-50\n origin-(--radix-popover-content-transform-origin) scrollbar-subtle overflow-y-auto surface border bg-white\n p-4 text-center text-popover-foreground shadow-md outline-hidden ease-out-strong\n motion-reduce:data-[side=bottom]:slide-in-from-top-0\n motion-reduce:data-[side=left]:slide-in-from-right-0\n motion-reduce:data-[side=right]:slide-in-from-left-0\n motion-reduce:data-[side=top]:slide-in-from-bottom-0\n motion-reduce:data-[state=closed]:zoom-out-100\n motion-reduce:data-[state=open]:zoom-in-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\n data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95\n `,\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n)\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\n/**\n * A versatile Popover component that displays floating content when triggered.\n * Built on top of Radix UI's Popover primitives.\n *\n * @example\n * // Basic usage\n * <PopoverComponent\n * triggerElement={<Button>Click me</Button>}\n * side=\"bottom\"\n * >\n * Popover content\n * </PopoverComponent>\n *\n * // With custom alignment and offset\n * <PopoverComponent\n * triggerElement={<Button>Settings</Button>}\n * side=\"right\"\n * align=\"start\"\n * sideOffset={8}\n * >\n * <div>Custom content</div>\n * </PopoverComponent>\n */\nexport const Popover = ({\n side,\n triggerElement,\n children,\n className,\n align = 'center',\n sideOffset = 4,\n container,\n collisionPadding,\n}: Readonly<PopoverProps>) => {\n return (\n <PopoverRoot>\n <PopoverTrigger asChild>\n {typeof triggerElement === 'string' ? (\n <button type=\"button\" className=\"rounded-sm\">\n {triggerElement}\n </button>\n ) : (\n triggerElement\n )}\n </PopoverTrigger>\n <PopoverContent\n container={container}\n side={side}\n className={className}\n align={align}\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n >\n {children}\n </PopoverContent>\n </PopoverRoot>\n )\n}\n\nexport { PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger }\n"],"mappings":";;;;;;;;;;AAUA,IAAM,eAAe,UAAwE;CAC3F,sBAAsB;CACtB,OAAO,oBAAC,iBAAiB,MAAlB,EAAuB,GAAI,MAAQ,CAAA;AAC5C;;;;;AAMA,IAAM,iBAAiB,iBAAiB;;;;;AAMxC,IAAM,gBAAgB,iBAAiB;;;;;AAyDvC,IAAM,iBAAiBA,QAAM,YAKzB,EACE,WACA,QAAQ,UACR,aAAa,GACb,OAAO,UACP,mBAAmB,GACnB,WACA,kBACA,GAAG,SAEL,QAEA,oBAAC,iBAAiB,QAAlB;CAAoC;CAClC,UAAA,oBAAC,iBAAiB,SAAlB;EACO;EACE;EACK;EACN;EACY;EAClB,mBAAmB,UAAU;GAC3B,mBAAmB,KAAK;GACxB,wBAAwB,KAAK;EAC/B;EACA,WAAW,GACT;;;;;;;;;;;;;;;;aAiBA,SACF;EACA,GAAI;CACL,CAAA;AACsB,CAAA,CAE7B;AACA,eAAe,cAAc,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;AAyBtD,IAAa,WAAW,EACtB,MACA,gBACA,UACA,WACA,QAAQ,UACR,aAAa,GACb,WACA,uBAC4B;CAC5B,OACE,qBAAC,aAAD,EAAA,UAAA,CACE,oBAAC,gBAAD;EAAgB,SAAA;EACb,UAAA,OAAO,mBAAmB,WACzB,oBAAC,UAAD;GAAQ,MAAK;GAAS,WAAU;GAC7B,UAAA;EACK,CAAA,IAER;CAEY,CAAA,GAChB,oBAAC,gBAAD;EACa;EACL;EACK;EACJ;EACK;EACM;EAEjB;CACa,CAAA,CACL,EAAA,CAAA;AAEjB"}
1
+ {"version":3,"file":"Popover.js","names":["React"],"sources":["../../../../src/components/data-display/Popover/Popover.tsx"],"sourcesContent":["import * as PopoverPrimitive from '@radix-ui/react-popover'\nimport * as React from 'react'\n\nimport { restoreFocusWithoutRing, useTrackInputModality } from '@/lib/inputModality'\nimport { cn } from '@/lib/utils'\n\n/**\n * Root component for the Popover.\n * Manages the state and accessibility of the popover dialog.\n */\nconst PopoverRoot = (props: Readonly<React.ComponentProps<typeof PopoverPrimitive.Root>>) => {\n useTrackInputModality()\n return <PopoverPrimitive.Root {...props} />\n}\n\n/**\n * The button that triggers the popover to open/close.\n * Must be wrapped in a Popover component.\n */\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\n/**\n * Optional anchor element that positions the popover.\n * Useful when the trigger element is not where you want the popover to be anchored.\n */\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nexport type PopoverProps = {\n /**\n * Content to be displayed inside the popover.\n * Can be either a React element or a string.\n */\n children: React.ReactElement | string\n\n /**\n * Element that triggers the popover when interacted with.\n * Can be either a React element or a string.\n * @example <PopoverComponent triggerElement={<Button>Click me</Button>} />\n */\n triggerElement: React.ReactElement | string\n\n /**\n * Position of the popover relative to the trigger element.\n * @default bottom\n */\n side?: 'top' | 'right' | 'bottom' | 'left'\n\n /**\n * Additional CSS classes to be applied to the popover content.\n */\n className?: string\n\n /**\n * Alignment of the popover relative to the trigger element.\n * @default center\n */\n align?: 'start' | 'center' | 'end'\n\n /**\n * Distance in pixels between the trigger element and the popover.\n * @default 4\n */\n sideOffset?: number\n\n /**\n * Container element to position the popover relative to.\n * @default document.body\n */\n container?: HTMLElement\n\n /**\n * The minimum distance in pixels to keep between the popover and the boundary (usually the viewport) edges.\n * Can be a single number applied to all sides, or an object to configure each side individually.\n * @default 8\n */\n collisionPadding?: number | Partial<Record<'top' | 'right' | 'bottom' | 'left', number>>\n}\n\n/**\n * PopoverContent component that renders the actual popover content.\n * Handled internally by the PopoverComponent.\n */\nconst PopoverContent = React.forwardRef<\n React.ComponentRef<typeof PopoverPrimitive.Content>,\n Readonly<React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & { container?: HTMLElement }>\n>(\n (\n {\n className,\n align = 'center',\n sideOffset = 4,\n side = 'bottom',\n collisionPadding = 8,\n container,\n onCloseAutoFocus,\n ...props\n },\n ref,\n ) => (\n <PopoverPrimitive.Portal container={container}>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n side={side}\n collisionPadding={collisionPadding}\n onCloseAutoFocus={(event) => {\n onCloseAutoFocus?.(event)\n restoreFocusWithoutRing(event)\n }}\n className={cn(\n `\n z-50 max-h-(--radix-popover-content-available-height) w-(--radix-popover-trigger-width) min-w-50\n origin-(--radix-popover-content-transform-origin) scrollbar-subtle overflow-y-auto surface border\n bg-surface-primary p-4 text-center text-primary shadow-overlay outline-hidden motion-popover\n motion-reduce:data-[side=bottom]:slide-in-from-top-0\n motion-reduce:data-[side=left]:slide-in-from-right-0\n motion-reduce:data-[side=right]:slide-in-from-left-0\n motion-reduce:data-[side=top]:slide-in-from-bottom-0\n motion-reduce:data-[state=closed]:zoom-out-100\n motion-reduce:data-[state=open]:zoom-in-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\n data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95\n `,\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n)\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\n/**\n * A versatile Popover component that displays floating content when triggered.\n * Built on top of Radix UI's Popover primitives.\n *\n * @example\n * // Basic usage\n * <PopoverComponent\n * triggerElement={<Button>Click me</Button>}\n * side=\"bottom\"\n * >\n * Popover content\n * </PopoverComponent>\n *\n * // With custom alignment and offset\n * <PopoverComponent\n * triggerElement={<Button>Settings</Button>}\n * side=\"right\"\n * align=\"start\"\n * sideOffset={8}\n * >\n * <div>Custom content</div>\n * </PopoverComponent>\n */\nexport const Popover = ({\n side,\n triggerElement,\n children,\n className,\n align = 'center',\n sideOffset = 4,\n container,\n collisionPadding,\n}: Readonly<PopoverProps>) => {\n return (\n <PopoverRoot>\n <PopoverTrigger asChild>\n {typeof triggerElement === 'string' ? (\n <button type=\"button\" className=\"rounded-sm\">\n {triggerElement}\n </button>\n ) : (\n triggerElement\n )}\n </PopoverTrigger>\n <PopoverContent\n container={container}\n side={side}\n className={className}\n align={align}\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n >\n {children}\n </PopoverContent>\n </PopoverRoot>\n )\n}\n\nexport { PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger }\n"],"mappings":";;;;;;;;;;AAUA,IAAM,eAAe,UAAwE;CAC3F,sBAAsB;CACtB,OAAO,oBAAC,iBAAiB,MAAlB,EAAuB,GAAI,MAAQ,CAAA;AAC5C;;;;;AAMA,IAAM,iBAAiB,iBAAiB;;;;;AAMxC,IAAM,gBAAgB,iBAAiB;;;;;AAyDvC,IAAM,iBAAiBA,QAAM,YAKzB,EACE,WACA,QAAQ,UACR,aAAa,GACb,OAAO,UACP,mBAAmB,GACnB,WACA,kBACA,GAAG,SAEL,QAEA,oBAAC,iBAAiB,QAAlB;CAAoC;CAClC,UAAA,oBAAC,iBAAiB,SAAlB;EACO;EACE;EACK;EACN;EACY;EAClB,mBAAmB,UAAU;GAC3B,mBAAmB,KAAK;GACxB,wBAAwB,KAAK;EAC/B;EACA,WAAW,GACT;;;;;;;;;;;;;;;;aAiBA,SACF;EACA,GAAI;CACL,CAAA;AACsB,CAAA,CAE7B;AACA,eAAe,cAAc,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;AAyBtD,IAAa,WAAW,EACtB,MACA,gBACA,UACA,WACA,QAAQ,UACR,aAAa,GACb,WACA,uBAC4B;CAC5B,OACE,qBAAC,aAAD,EAAA,UAAA,CACE,oBAAC,gBAAD;EAAgB,SAAA;EACb,UAAA,OAAO,mBAAmB,WACzB,oBAAC,UAAD;GAAQ,MAAK;GAAS,WAAU;GAC7B,UAAA;EACK,CAAA,IAER;CAEY,CAAA,GAChB,oBAAC,gBAAD;EACa;EACL;EACK;EACJ;EACK;EACM;EAEjB;CACa,CAAA,CACL,EAAA,CAAA;AAEjB"}
@@ -1,2 +1 @@
1
- import { Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger } from "./Popover.js";
2
- export { Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger };
1
+ export { Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger } from "./Popover.js";
@@ -4,16 +4,15 @@ import { cn } from "../../../lib/utils.js";
4
4
  import * as React$1 from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
7
- //#region src/components/data-display/Separator/Separator.tsx
7
+ // src/components/data-display/Separator/Separator.tsx
8
8
  var Separator = React$1.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(SeparatorPrimitive.Root, {
9
9
  ref,
10
10
  decorative,
11
11
  orientation,
12
- className: cn("shrink-0 bg-neutral-100", orientation === "horizontal" ? "h-px w-full" : "h-full w-px", className),
12
+ className: cn("shrink-0 bg-surface-tertiary", orientation === "horizontal" ? "h-px w-full" : "h-full w-px", className),
13
13
  ...props
14
14
  }));
15
15
  Separator.displayName = SeparatorPrimitive.Root.displayName;
16
- //#endregion
17
16
  export { Separator };
18
17
 
19
18
  //# sourceMappingURL=Separator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.js","names":["React"],"sources":["../../../../src/components/data-display/Separator/Separator.tsx"],"sourcesContent":["'use client'\n\nimport * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\ntype SeparatorProps = {\n /** The orientation of the separator.\n * @default horizontal\n */\n orientation?: 'horizontal' | 'vertical'\n /** Whether the separator is decorative or semantic. Decorative separators are hidden from screen readers.\n * @default true\n */\n decorative?: boolean\n /** Change the default rendered element for the one passed as a child, merging their props and behavior. */\n asChild?: boolean\n} & React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n\nconst Separator = React.forwardRef<React.ComponentRef<typeof SeparatorPrimitive.Root>, Readonly<SeparatorProps>>(\n ({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn('shrink-0 bg-neutral-100', orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px', className)}\n {...props}\n />\n ),\n)\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\nexport type { SeparatorProps }\n"],"mappings":";;;;;;;AAoBA,IAAA,YAAA,QAAA,YAAA,EAAA,WAAA,cAAA,cAAA,aAAA,MAAA,GAAA,SAAA,QAAA,oBAAA,mBAAA,MAAA;CAGW;CACO;CACC;CACb,WAAA,GAAA,2BAAA,gBAAA,eAAA,gBAAA,eAAA,SAAA;CACA,GAAA;AACD,CAAA,CAAA;AAGL,UAAA,cAAA,mBAAA,KAAA"}
1
+ {"version":3,"file":"Separator.js","names":["React"],"sources":["../../../../src/components/data-display/Separator/Separator.tsx"],"sourcesContent":["'use client'\n\nimport * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\ntype SeparatorProps = {\n /** The orientation of the separator.\n * @default horizontal\n */\n orientation?: 'horizontal' | 'vertical'\n /** Whether the separator is decorative or semantic. Decorative separators are hidden from screen readers.\n * @default true\n */\n decorative?: boolean\n /** Change the default rendered element for the one passed as a child, merging their props and behavior. */\n asChild?: boolean\n} & React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n\nconst Separator = React.forwardRef<React.ComponentRef<typeof SeparatorPrimitive.Root>, Readonly<SeparatorProps>>(\n ({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-surface-tertiary',\n orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',\n className,\n )}\n {...props}\n />\n ),\n)\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\nexport type { SeparatorProps }\n"],"mappings":";;;;;;;AAoBA,IAAA,YAAA,QAAA,YAAA,EAAA,WAAA,cAAA,cAAA,aAAA,MAAA,GAAA,SAAA,QAAA,oBAAA,mBAAA,MAAA;CAGW;CACO;CACC;CACb,WAAA,GAAA,gCAAA,gBAAA,eAAA,gBAAA,eAAA,SAAA;CAKA,GAAA;AACD,CAAA,CAAA;AAGL,UAAA,cAAA,mBAAA,KAAA"}
@@ -1,2 +1 @@
1
- import { Separator } from "./Separator.js";
2
- export { Separator };
1
+ export { Separator } from "./Separator.js";
@@ -1,14 +1,14 @@
1
1
  import { cn } from "../../../lib/utils.js";
2
2
  import * as React$1 from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region src/components/data-display/Table/Table.tsx
4
+ // src/components/data-display/Table/Table.tsx
5
5
  /**
6
6
  * A reusable table component that provides a consistent styling and structure
7
7
  * for displaying tabular data.
8
8
  */
9
9
  var Table = React$1.forwardRef(({ className, tableClassName, ...props }, ref) => /* @__PURE__ */ jsx("table", {
10
10
  ref,
11
- className: cn("w-full caption-bottom text-sm", tableClassName, className),
11
+ className: cn("w-full caption-bottom text-body-md", tableClassName, className),
12
12
  ...props
13
13
  }));
14
14
  Table.displayName = "Table";
@@ -35,7 +35,7 @@ TableBody.displayName = "TableBody";
35
35
  */
36
36
  var TableFooter = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", {
37
37
  ref,
38
- className: cn("border-t bg-neutral-50 font-medium [&>tr]:last:border-b-0", className),
38
+ className: cn("border-t bg-surface-overlay font-medium [&>tr]:last:border-b-0", className),
39
39
  ...props
40
40
  }));
41
41
  TableFooter.displayName = "TableFooter";
@@ -44,7 +44,7 @@ TableFooter.displayName = "TableFooter";
44
44
  */
45
45
  var TableRow = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tr", {
46
46
  ref,
47
- className: cn("border-b transition-colors hover:bg-neutral-50 data-[state=selected]:bg-neutral-100", className),
47
+ className: cn(`border-b motion-hover hover:bg-surface-neutral-subtle-hovered data-[state=selected]:bg-surface-tertiary`, className),
48
48
  ...props
49
49
  }));
50
50
  TableRow.displayName = "TableRow";
@@ -71,11 +71,10 @@ TableCell.displayName = "TableCell";
71
71
  */
72
72
  var TableCaption = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", {
73
73
  ref,
74
- className: cn("mt-4 text-sm text-neutral-700", className),
74
+ className: cn("mt-4 text-body-md text-secondary", className),
75
75
  ...props
76
76
  }));
77
77
  TableCaption.displayName = "TableCaption";
78
- //#endregion
79
78
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
80
79
 
81
80
  //# sourceMappingURL=Table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","names":["React"],"sources":["../../../../src/components/data-display/Table/Table.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '../../../lib/utils'\n\n/**\n * Props for the Table component\n */\ntype TableProps = {\n /** Additional className for the table element */\n tableClassName?: string\n} & React.HTMLAttributes<HTMLTableElement>\n\n/**\n * A reusable table component that provides a consistent styling and structure\n * for displaying tabular data.\n */\nconst Table = React.forwardRef<HTMLTableElement, Readonly<TableProps>>(\n ({ className, tableClassName, ...props }, ref) => (\n <table ref={ref} className={cn('w-full caption-bottom text-sm', tableClassName, className)} {...props} />\n ),\n)\nTable.displayName = 'Table'\n\n/**\n * TableHeader component for grouping header cells\n */\nconst TableHeader = React.forwardRef<HTMLTableSectionElement, Readonly<React.HTMLAttributes<HTMLTableSectionElement>>>(\n ({ className, ...props }, ref) => <thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />,\n)\nTableHeader.displayName = 'TableHeader'\n\n/**\n * TableBody component for grouping table rows\n */\nconst TableBody = React.forwardRef<HTMLTableSectionElement, Readonly<React.HTMLAttributes<HTMLTableSectionElement>>>(\n ({ className, ...props }, ref) => (\n <tbody ref={ref} className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n ),\n)\nTableBody.displayName = 'TableBody'\n\n/**\n * TableFooter component for grouping footer cells\n */\nconst TableFooter = React.forwardRef<HTMLTableSectionElement, Readonly<React.HTMLAttributes<HTMLTableSectionElement>>>(\n ({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn('border-t bg-neutral-50 font-medium [&>tr]:last:border-b-0', className)}\n {...props}\n />\n ),\n)\nTableFooter.displayName = 'TableFooter'\n\n/**\n * TableRow component for table rows with hover and selection states\n */\nconst TableRow = React.forwardRef<HTMLTableRowElement, Readonly<React.HTMLAttributes<HTMLTableRowElement>>>(\n ({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn('border-b transition-colors hover:bg-neutral-50 data-[state=selected]:bg-neutral-100', className)}\n {...props}\n />\n ),\n)\nTableRow.displayName = 'TableRow'\n\n/**\n * TableHead component for table header cells\n */\nconst TableHead = React.forwardRef<HTMLTableCellElement, Readonly<React.ThHTMLAttributes<HTMLTableCellElement>>>(\n ({ className, ...props }, ref) => (\n <th ref={ref} className={cn('h-12 px-4 text-left align-middle font-medium', className)} {...props} />\n ),\n)\nTableHead.displayName = 'TableHead'\n\n/**\n * TableCell component for table data cells\n */\nconst TableCell = React.forwardRef<HTMLTableCellElement, Readonly<React.TdHTMLAttributes<HTMLTableCellElement>>>(\n ({ className, ...props }, ref) => <td ref={ref} className={cn('p-4 align-middle', className)} {...props} />,\n)\nTableCell.displayName = 'TableCell'\n\n/**\n * TableCaption component for table captions\n */\nconst TableCaption = React.forwardRef<HTMLTableCaptionElement, Readonly<React.HTMLAttributes<HTMLTableCaptionElement>>>(\n ({ className, ...props }, ref) => (\n <caption ref={ref} className={cn('mt-4 text-sm text-neutral-700', className)} {...props} />\n ),\n)\nTableCaption.displayName = 'TableCaption'\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableProps }\n"],"mappings":";;;;;;;;AAgBA,IAAM,QAAQA,QAAM,YACjB,EAAE,WAAW,gBAAgB,GAAG,SAAS,QACxC,oBAAC,SAAD;CAAY;CAAK,WAAW,GAAG,iCAAiC,gBAAgB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAE5G;AACA,MAAM,cAAc;;;;AAKpB,IAAM,cAAcA,QAAM,YACvB,EAAE,WAAW,GAAG,SAAS,QAAQ,oBAAC,SAAD;CAAY;CAAK,WAAW,GAAG,mBAAmB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC9G;AACA,YAAY,cAAc;;;;AAK1B,IAAM,YAAYA,QAAM,YACrB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,SAAD;CAAY;CAAK,WAAW,GAAG,8BAA8B,SAAS;CAAG,GAAI;AAAQ,CAAA,CAEzF;AACA,UAAU,cAAc;;;;AAKxB,IAAM,cAAcA,QAAM,YACvB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,SAAD;CACO;CACL,WAAW,GAAG,6DAA6D,SAAS;CACpF,GAAI;AACL,CAAA,CAEL;AACA,YAAY,cAAc;;;;AAK1B,IAAM,WAAWA,QAAM,YACpB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,MAAD;CACO;CACL,WAAW,GAAG,uFAAuF,SAAS;CAC9G,GAAI;AACL,CAAA,CAEL;AACA,SAAS,cAAc;;;;AAKvB,IAAM,YAAYA,QAAM,YACrB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,MAAD;CAAS;CAAK,WAAW,GAAG,gDAAgD,SAAS;CAAG,GAAI;AAAQ,CAAA,CAExG;AACA,UAAU,cAAc;;;;AAKxB,IAAM,YAAYA,QAAM,YACrB,EAAE,WAAW,GAAG,SAAS,QAAQ,oBAAC,MAAD;CAAS;CAAK,WAAW,GAAG,oBAAoB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC5G;AACA,UAAU,cAAc;;;;AAKxB,IAAM,eAAeA,QAAM,YACxB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,WAAD;CAAc;CAAK,WAAW,GAAG,iCAAiC,SAAS;CAAG,GAAI;AAAQ,CAAA,CAE9F;AACA,aAAa,cAAc"}
1
+ {"version":3,"file":"Table.js","names":["React"],"sources":["../../../../src/components/data-display/Table/Table.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '../../../lib/utils'\n\n/**\n * Props for the Table component\n */\ntype TableProps = {\n /** Additional className for the table element */\n tableClassName?: string\n} & React.HTMLAttributes<HTMLTableElement>\n\n/**\n * A reusable table component that provides a consistent styling and structure\n * for displaying tabular data.\n */\nconst Table = React.forwardRef<HTMLTableElement, Readonly<TableProps>>(\n ({ className, tableClassName, ...props }, ref) => (\n <table ref={ref} className={cn('w-full caption-bottom text-body-md', tableClassName, className)} {...props} />\n ),\n)\nTable.displayName = 'Table'\n\n/**\n * TableHeader component for grouping header cells\n */\nconst TableHeader = React.forwardRef<HTMLTableSectionElement, Readonly<React.HTMLAttributes<HTMLTableSectionElement>>>(\n ({ className, ...props }, ref) => <thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />,\n)\nTableHeader.displayName = 'TableHeader'\n\n/**\n * TableBody component for grouping table rows\n */\nconst TableBody = React.forwardRef<HTMLTableSectionElement, Readonly<React.HTMLAttributes<HTMLTableSectionElement>>>(\n ({ className, ...props }, ref) => (\n <tbody ref={ref} className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n ),\n)\nTableBody.displayName = 'TableBody'\n\n/**\n * TableFooter component for grouping footer cells\n */\nconst TableFooter = React.forwardRef<HTMLTableSectionElement, Readonly<React.HTMLAttributes<HTMLTableSectionElement>>>(\n ({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn('border-t bg-surface-overlay font-medium [&>tr]:last:border-b-0', className)}\n {...props}\n />\n ),\n)\nTableFooter.displayName = 'TableFooter'\n\n/**\n * TableRow component for table rows with hover and selection states\n */\nconst TableRow = React.forwardRef<HTMLTableRowElement, Readonly<React.HTMLAttributes<HTMLTableRowElement>>>(\n ({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n `border-b motion-hover hover:bg-surface-neutral-subtle-hovered data-[state=selected]:bg-surface-tertiary`,\n className,\n )}\n {...props}\n />\n ),\n)\nTableRow.displayName = 'TableRow'\n\n/**\n * TableHead component for table header cells\n */\nconst TableHead = React.forwardRef<HTMLTableCellElement, Readonly<React.ThHTMLAttributes<HTMLTableCellElement>>>(\n ({ className, ...props }, ref) => (\n <th ref={ref} className={cn('h-12 px-4 text-left align-middle font-medium', className)} {...props} />\n ),\n)\nTableHead.displayName = 'TableHead'\n\n/**\n * TableCell component for table data cells\n */\nconst TableCell = React.forwardRef<HTMLTableCellElement, Readonly<React.TdHTMLAttributes<HTMLTableCellElement>>>(\n ({ className, ...props }, ref) => <td ref={ref} className={cn('p-4 align-middle', className)} {...props} />,\n)\nTableCell.displayName = 'TableCell'\n\n/**\n * TableCaption component for table captions\n */\nconst TableCaption = React.forwardRef<HTMLTableCaptionElement, Readonly<React.HTMLAttributes<HTMLTableCaptionElement>>>(\n ({ className, ...props }, ref) => (\n <caption ref={ref} className={cn('mt-4 text-body-md text-secondary', className)} {...props} />\n ),\n)\nTableCaption.displayName = 'TableCaption'\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableProps }\n"],"mappings":";;;;;;;;AAgBA,IAAM,QAAQA,QAAM,YACjB,EAAE,WAAW,gBAAgB,GAAG,SAAS,QACxC,oBAAC,SAAD;CAAY;CAAK,WAAW,GAAG,sCAAsC,gBAAgB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAEjH;AACA,MAAM,cAAc;;;;AAKpB,IAAM,cAAcA,QAAM,YACvB,EAAE,WAAW,GAAG,SAAS,QAAQ,oBAAC,SAAD;CAAY;CAAK,WAAW,GAAG,mBAAmB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC9G;AACA,YAAY,cAAc;;;;AAK1B,IAAM,YAAYA,QAAM,YACrB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,SAAD;CAAY;CAAK,WAAW,GAAG,8BAA8B,SAAS;CAAG,GAAI;AAAQ,CAAA,CAEzF;AACA,UAAU,cAAc;;;;AAKxB,IAAM,cAAcA,QAAM,YACvB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,SAAD;CACO;CACL,WAAW,GAAG,kEAAkE,SAAS;CACzF,GAAI;AACL,CAAA,CAEL;AACA,YAAY,cAAc;;;;AAK1B,IAAM,WAAWA,QAAM,YACpB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,MAAD;CACO;CACL,WAAW,GACT,2GACA,SACF;CACA,GAAI;AACL,CAAA,CAEL;AACA,SAAS,cAAc;;;;AAKvB,IAAM,YAAYA,QAAM,YACrB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,MAAD;CAAS;CAAK,WAAW,GAAG,gDAAgD,SAAS;CAAG,GAAI;AAAQ,CAAA,CAExG;AACA,UAAU,cAAc;;;;AAKxB,IAAM,YAAYA,QAAM,YACrB,EAAE,WAAW,GAAG,SAAS,QAAQ,oBAAC,MAAD;CAAS;CAAK,WAAW,GAAG,oBAAoB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC5G;AACA,UAAU,cAAc;;;;AAKxB,IAAM,eAAeA,QAAM,YACxB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,WAAD;CAAc;CAAK,WAAW,GAAG,oCAAoC,SAAS;CAAG,GAAI;AAAQ,CAAA,CAEjG;AACA,aAAa,cAAc"}
@@ -1,2 +1 @@
1
- import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./Table.js";
2
- export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
1
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./Table.js";
@@ -1,10 +1,10 @@
1
- import { cn } from "../../../lib/utils.js";
2
1
  import { Popover } from "../Popover/Popover.js";
3
2
  import { useIsTouchDevice } from "../../../lib/useTouchDevice.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  import * as React$1 from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
7
- //#region src/components/data-display/Tooltip/Tooltip.tsx
7
+ // src/components/data-display/Tooltip/Tooltip.tsx
8
8
  /**
9
9
  * Provider component that wraps all tooltip instances.
10
10
  * Controls the delay duration and positioning of tooltips app-wide.
@@ -27,8 +27,8 @@ var TooltipContent = React$1.forwardRef(({ className, sideOffset = 4, collisionP
27
27
  sideOffset,
28
28
  collisionPadding,
29
29
  className: cn(`
30
- z-50 origin-(--radix-tooltip-content-transform-origin) animate-in rounded-lg bg-white px-3 py-1.5 text-sm
31
- shadow-tooltip ease-out-strong fade-in-0 zoom-in-95
30
+ z-50 origin-(--radix-tooltip-content-transform-origin) animate-in rounded-lg border bg-surface-primary px-3
31
+ py-1.5 text-body-md shadow-overlay motion-popover fade-in-0 zoom-in-95
32
32
  motion-reduce:zoom-in-100
33
33
  motion-reduce:data-[side=bottom]:slide-in-from-top-0
34
34
  motion-reduce:data-[side=left]:slide-in-from-right-0
@@ -42,7 +42,24 @@ var TooltipContent = React$1.forwardRef(({ className, sideOffset = 4, collisionP
42
42
  data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95
43
43
  `, className),
44
44
  ...props,
45
- children: [children, arrow && /* @__PURE__ */ jsx(TooltipPrimitive.Arrow, { fill: "white" })]
45
+ children: [children, arrow && /* @__PURE__ */ jsx(TooltipPrimitive.Arrow, {
46
+ asChild: true,
47
+ children: /* @__PURE__ */ jsxs("svg", {
48
+ "aria-hidden": true,
49
+ width: "10",
50
+ height: "5",
51
+ viewBox: "0 0 10 5",
52
+ className: "-translate-y-px overflow-visible",
53
+ children: [/* @__PURE__ */ jsx("polygon", {
54
+ points: "0,0 5,5 10,0",
55
+ className: "fill-surface-primary"
56
+ }), /* @__PURE__ */ jsx("polyline", {
57
+ points: "0,0 5,5 10,0",
58
+ fill: "none",
59
+ stroke: "var(--ds-border-subtle)"
60
+ })]
61
+ })
62
+ })]
46
63
  });
47
64
  if (container === null) return content;
48
65
  return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, {
@@ -98,7 +115,6 @@ function Tooltip({ triggerElement, children, side = "top", className, delayDurat
98
115
  })]
99
116
  }) });
100
117
  }
101
- //#endregion
102
118
  export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger };
103
119
 
104
120
  //# sourceMappingURL=Tooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","names":["React"],"sources":["../../../../src/components/data-display/Tooltip/Tooltip.tsx"],"sourcesContent":["import * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { Popover } from '../Popover'\n\nimport { useIsTouchDevice } from '@/lib/useTouchDevice'\nimport { cn } from '@/lib/utils'\n\n/**\n * Provider component that wraps all tooltip instances.\n * Controls the delay duration and positioning of tooltips app-wide.\n */\nconst TooltipProvider = TooltipPrimitive.Provider\n\n/**\n * The root component that wraps the trigger and content.\n * Manages the open state and hover interactions.\n */\nconst TooltipRoot = TooltipPrimitive.Root\n\n/**\n * The element that triggers the tooltip when hovered or focused.\n * Wrap with asChild to use custom components as triggers.\n */\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipPortal = TooltipPrimitive.Portal\n\ntype TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {\n arrow?: boolean\n /**\n * Container for the portal. When provided, the tooltip is portaled into this element instead of `document.body`.\n * Pass `null` to disable portaling and render inline (legacy behavior).\n */\n container?: React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Portal>['container'] | null\n}\n\nconst TooltipContent = React.forwardRef<\n React.ComponentRef<typeof TooltipPrimitive.Content>,\n Readonly<TooltipContentProps>\n>(({ className, sideOffset = 4, collisionPadding = 8, arrow, container, children, ...props }, ref) => {\n const content = (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n className={cn(\n `\n z-50 origin-(--radix-tooltip-content-transform-origin) animate-in rounded-lg bg-white px-3 py-1.5 text-sm\n shadow-tooltip ease-out-strong fade-in-0 zoom-in-95\n motion-reduce:zoom-in-100\n motion-reduce:data-[side=bottom]:slide-in-from-top-0\n motion-reduce:data-[side=left]:slide-in-from-right-0\n motion-reduce:data-[side=right]:slide-in-from-left-0\n motion-reduce:data-[side=top]:slide-in-from-bottom-0\n motion-reduce:data-[state=closed]:zoom-out-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\n `,\n className,\n )}\n {...props}\n >\n {children}\n {arrow && <TooltipPrimitive.Arrow fill=\"white\" />}\n </TooltipPrimitive.Content>\n )\n\n if (container === null) return content\n return <TooltipPrimitive.Portal container={container ?? undefined}>{content}</TooltipPrimitive.Portal>\n})\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport type TooltipProps = {\n /**\n * The content to be displayed inside the tooltip\n */\n children: React.ReactElement | string\n\n /**\n * The element that triggers the tooltip on hover\n */\n triggerElement: React.ReactElement | string\n\n /**\n * The preferred side of the trigger to render the tooltip\n */\n side?: 'top' | 'right' | 'bottom' | 'left'\n\n /**\n * Optional custom className for additional styling\n */\n className?: string\n\n /**\n * Delay duration for showing the tooltip in milliseconds\n * @default 300\n */\n delayDuration?: number\n\n /**\n * Whether to show an arrow pointer on the tooltip\n * @default false\n */\n arrow?: boolean\n\n /**\n * The preferred side of the trigger to render the mobile\n */\n mobileSide?: 'top' | 'right' | 'bottom' | 'left'\n\n /**\n * The preferred alignment of the mobile\n */\n mobileAlign?: 'start' | 'center' | 'end'\n\n /**\n * The preferred side offset of the mobile\n */\n mobileSideOffset?: number\n\n /**\n * The container to position the mobile\n */\n container?: HTMLElement\n\n /**\n * The minimum distance in pixels to keep between the tooltip and the boundary (usually the viewport) edges.\n * Can be a single number applied to all sides, or an object to configure each side individually.\n * @default 8\n */\n collisionPadding?: number | Partial<Record<'top' | 'right' | 'bottom' | 'left', number>>\n}\n\n/**\n * A versatile tooltip component that shows additional information on hover.\n * Built on top of Radix UI's tooltip primitives with custom styling and animations.\n *\n * @example\n * // Basic usage\n * <Tooltip triggerElement={<button>Hover me</button>} side=\"top\">\n * Helpful information\n * </Tooltip>\n *\n * @example\n * // With custom delay and className\n * <Tooltip\n * triggerElement={<Icon />}\n * side=\"right\"\n * delayDuration={300}\n * className=\"custom-tooltip\"\n * >\n * Icon description\n * </Tooltip>\n */\nexport function Tooltip({\n triggerElement,\n children,\n side = 'top',\n className,\n delayDuration = 300,\n arrow = false,\n mobileSide,\n mobileAlign,\n mobileSideOffset,\n container,\n collisionPadding,\n ...props\n}: Readonly<TooltipProps>) {\n const isTouchDevice = useIsTouchDevice()\n\n return isTouchDevice ? (\n <Popover\n side={mobileSide}\n className={className}\n align={mobileAlign}\n sideOffset={mobileSideOffset}\n triggerElement={triggerElement}\n container={container}\n collisionPadding={collisionPadding}\n {...props}\n >\n {children}\n </Popover>\n ) : (\n <TooltipProvider>\n <TooltipRoot delayDuration={delayDuration}>\n <TooltipTrigger asChild>{triggerElement}</TooltipTrigger>\n <TooltipContent\n side={side}\n className={className}\n arrow={arrow}\n container={container}\n collisionPadding={collisionPadding}\n >\n {children}\n </TooltipContent>\n </TooltipRoot>\n </TooltipProvider>\n )\n}\n\n/**\n * Export primitive components for custom tooltip implementations.\n * Use these when you need more control over the tooltip behavior and styling.\n *\n * @example\n * // Custom implementation using primitives\n * <TooltipProvider>\n * <TooltipRoot>\n * <TooltipTrigger asChild>\n * <button>Hover</button>\n * </TooltipTrigger>\n * <TooltipContent>Custom tooltip</TooltipContent>\n * </TooltipRoot>\n * </TooltipProvider>\n */\nexport { TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger }\n"],"mappings":";;;;;;;;;;;AAYA,IAAM,kBAAkB,iBAAiB;;;;;AAMzC,IAAM,cAAc,iBAAiB;;;;;AAMrC,IAAM,iBAAiB,iBAAiB;AAExC,IAAM,gBAAgB,iBAAiB;AAWvC,IAAM,iBAAiBA,QAAM,YAG1B,EAAE,WAAW,aAAa,GAAG,mBAAmB,GAAG,OAAO,WAAW,UAAU,GAAG,SAAS,QAAQ;CACpG,MAAM,UACJ,qBAAC,iBAAiB,SAAlB;EACO;EACO;EACM;EAClB,WAAW,GACT;;;;;;;;;;;;;;WAeA,SACF;EACA,GAAI;EAtBN,UAAA,CAwBG,UACA,SAAS,oBAAC,iBAAiB,OAAlB,EAAwB,MAAK,QAAS,CAAA,CACxB;;CAG5B,IAAI,cAAc,MAAM,OAAO;CAC/B,OAAO,oBAAC,iBAAiB,QAAlB;EAAyB,WAAW,aAAa,KAAA;EAAY,UAAA;CAAiC,CAAA;AACvG,CAAC;AACD,eAAe,cAAc,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;AAoFtD,SAAgB,QAAQ,EACtB,gBACA,UACA,OAAO,OACP,WACA,gBAAgB,KAChB,QAAQ,OACR,YACA,aACA,kBACA,WACA,kBACA,GAAG,SACsB;CAGzB,OAFsB,iBAEf,IACL,oBAAC,SAAD;EACE,MAAM;EACK;EACX,OAAO;EACP,YAAY;EACI;EACL;EACO;EAClB,GAAI;EAEH;CACM,CAAA,IAET,oBAAC,iBAAD,EAAA,UACE,qBAAC,aAAD;EAA4B;EAA5B,UAAA,CACE,oBAAC,gBAAD;GAAgB,SAAA;GAAS,UAAA;EAA+B,CAAA,GACxD,oBAAC,gBAAD;GACQ;GACK;GACJ;GACI;GACO;GAEjB;EACa,CAAA,CACL;CACE,CAAA,EAAA,CAAA;AAErB"}
1
+ {"version":3,"file":"Tooltip.js","names":["React"],"sources":["../../../../src/components/data-display/Tooltip/Tooltip.tsx"],"sourcesContent":["import * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { Popover } from '../Popover'\n\nimport { useIsTouchDevice } from '@/lib/useTouchDevice'\nimport { cn } from '@/lib/utils'\n\n/**\n * Provider component that wraps all tooltip instances.\n * Controls the delay duration and positioning of tooltips app-wide.\n */\nconst TooltipProvider = TooltipPrimitive.Provider\n\n/**\n * The root component that wraps the trigger and content.\n * Manages the open state and hover interactions.\n */\nconst TooltipRoot = TooltipPrimitive.Root\n\n/**\n * The element that triggers the tooltip when hovered or focused.\n * Wrap with asChild to use custom components as triggers.\n */\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipPortal = TooltipPrimitive.Portal\n\ntype TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {\n arrow?: boolean\n /**\n * Container for the portal. When provided, the tooltip is portaled into this element instead of `document.body`.\n * Pass `null` to disable portaling and render inline (legacy behavior).\n */\n container?: React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Portal>['container'] | null\n}\n\nconst TooltipContent = React.forwardRef<\n React.ComponentRef<typeof TooltipPrimitive.Content>,\n Readonly<TooltipContentProps>\n>(({ className, sideOffset = 4, collisionPadding = 8, arrow, container, children, ...props }, ref) => {\n const content = (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n className={cn(\n `\n z-50 origin-(--radix-tooltip-content-transform-origin) animate-in rounded-lg border bg-surface-primary px-3\n py-1.5 text-body-md shadow-overlay motion-popover fade-in-0 zoom-in-95\n motion-reduce:zoom-in-100\n motion-reduce:data-[side=bottom]:slide-in-from-top-0\n motion-reduce:data-[side=left]:slide-in-from-right-0\n motion-reduce:data-[side=right]:slide-in-from-left-0\n motion-reduce:data-[side=top]:slide-in-from-bottom-0\n motion-reduce:data-[state=closed]:zoom-out-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\n `,\n className,\n )}\n {...props}\n >\n {children}\n {arrow && (\n <TooltipPrimitive.Arrow asChild>\n <svg aria-hidden width=\"10\" height=\"5\" viewBox=\"0 0 10 5\" className=\"-translate-y-px overflow-visible\">\n <polygon points=\"0,0 5,5 10,0\" className=\"fill-surface-primary\" />\n <polyline points=\"0,0 5,5 10,0\" fill=\"none\" stroke=\"var(--ds-border-subtle)\" />\n </svg>\n </TooltipPrimitive.Arrow>\n )}\n </TooltipPrimitive.Content>\n )\n\n if (container === null) return content\n return <TooltipPrimitive.Portal container={container ?? undefined}>{content}</TooltipPrimitive.Portal>\n})\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport type TooltipProps = {\n /**\n * The content to be displayed inside the tooltip\n */\n children: React.ReactElement | string\n\n /**\n * The element that triggers the tooltip on hover\n */\n triggerElement: React.ReactElement | string\n\n /**\n * The preferred side of the trigger to render the tooltip\n */\n side?: 'top' | 'right' | 'bottom' | 'left'\n\n /**\n * Optional custom className for additional styling\n */\n className?: string\n\n /**\n * Delay duration for showing the tooltip in milliseconds\n * @default 300\n */\n delayDuration?: number\n\n /**\n * Whether to show an arrow pointer on the tooltip\n * @default false\n */\n arrow?: boolean\n\n /**\n * The preferred side of the trigger to render the mobile\n */\n mobileSide?: 'top' | 'right' | 'bottom' | 'left'\n\n /**\n * The preferred alignment of the mobile\n */\n mobileAlign?: 'start' | 'center' | 'end'\n\n /**\n * The preferred side offset of the mobile\n */\n mobileSideOffset?: number\n\n /**\n * The container to position the mobile\n */\n container?: HTMLElement\n\n /**\n * The minimum distance in pixels to keep between the tooltip and the boundary (usually the viewport) edges.\n * Can be a single number applied to all sides, or an object to configure each side individually.\n * @default 8\n */\n collisionPadding?: number | Partial<Record<'top' | 'right' | 'bottom' | 'left', number>>\n}\n\n/**\n * A versatile tooltip component that shows additional information on hover.\n * Built on top of Radix UI's tooltip primitives with custom styling and animations.\n *\n * @example\n * // Basic usage\n * <Tooltip triggerElement={<button>Hover me</button>} side=\"top\">\n * Helpful information\n * </Tooltip>\n *\n * @example\n * // With custom delay and className\n * <Tooltip\n * triggerElement={<Icon />}\n * side=\"right\"\n * delayDuration={300}\n * className=\"custom-tooltip\"\n * >\n * Icon description\n * </Tooltip>\n */\nexport function Tooltip({\n triggerElement,\n children,\n side = 'top',\n className,\n delayDuration = 300,\n arrow = false,\n mobileSide,\n mobileAlign,\n mobileSideOffset,\n container,\n collisionPadding,\n ...props\n}: Readonly<TooltipProps>) {\n const isTouchDevice = useIsTouchDevice()\n\n return isTouchDevice ? (\n <Popover\n side={mobileSide}\n className={className}\n align={mobileAlign}\n sideOffset={mobileSideOffset}\n triggerElement={triggerElement}\n container={container}\n collisionPadding={collisionPadding}\n {...props}\n >\n {children}\n </Popover>\n ) : (\n <TooltipProvider>\n <TooltipRoot delayDuration={delayDuration}>\n <TooltipTrigger asChild>{triggerElement}</TooltipTrigger>\n <TooltipContent\n side={side}\n className={className}\n arrow={arrow}\n container={container}\n collisionPadding={collisionPadding}\n >\n {children}\n </TooltipContent>\n </TooltipRoot>\n </TooltipProvider>\n )\n}\n\n/**\n * Export primitive components for custom tooltip implementations.\n * Use these when you need more control over the tooltip behavior and styling.\n *\n * @example\n * // Custom implementation using primitives\n * <TooltipProvider>\n * <TooltipRoot>\n * <TooltipTrigger asChild>\n * <button>Hover</button>\n * </TooltipTrigger>\n * <TooltipContent>Custom tooltip</TooltipContent>\n * </TooltipRoot>\n * </TooltipProvider>\n */\nexport { TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger }\n"],"mappings":";;;;;;;;;;;AAYA,IAAM,kBAAkB,iBAAiB;;;;;AAMzC,IAAM,cAAc,iBAAiB;;;;;AAMrC,IAAM,iBAAiB,iBAAiB;AAExC,IAAM,gBAAgB,iBAAiB;AAWvC,IAAM,iBAAiBA,QAAM,YAG1B,EAAE,WAAW,aAAa,GAAG,mBAAmB,GAAG,OAAO,WAAW,UAAU,GAAG,SAAS,QAAQ;CACpG,MAAM,UACJ,qBAAC,iBAAiB,SAAlB;EACO;EACO;EACM;EAClB,WAAW,GACT;;;;;;;;;;;;;;WAeA,SACF;EACA,GAAI;EAtBN,UAAA,CAwBG,UACA,SACC,oBAAC,iBAAiB,OAAlB;GAAwB,SAAA;GACtB,UAAA,qBAAC,OAAD;IAAK,eAAA;IAAY,OAAM;IAAK,QAAO;IAAI,SAAQ;IAAW,WAAU;IAApE,UAAA,CACE,oBAAC,WAAD;KAAS,QAAO;KAAe,WAAU;IAAwB,CAAA,GACjE,oBAAC,YAAD;KAAU,QAAO;KAAe,MAAK;KAAO,QAAO;IAA2B,CAAA,CAC3E;;EACiB,CAAA,CAEF;;CAG5B,IAAI,cAAc,MAAM,OAAO;CAC/B,OAAO,oBAAC,iBAAiB,QAAlB;EAAyB,WAAW,aAAa,KAAA;EAAY,UAAA;CAAiC,CAAA;AACvG,CAAC;AACD,eAAe,cAAc,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;AAoFtD,SAAgB,QAAQ,EACtB,gBACA,UACA,OAAO,OACP,WACA,gBAAgB,KAChB,QAAQ,OACR,YACA,aACA,kBACA,WACA,kBACA,GAAG,SACsB;CAGzB,OAFsB,iBAEf,IACL,oBAAC,SAAD;EACE,MAAM;EACK;EACX,OAAO;EACP,YAAY;EACI;EACL;EACO;EAClB,GAAI;EAEH;CACM,CAAA,IAET,oBAAC,iBAAD,EAAA,UACE,qBAAC,aAAD;EAA4B;EAA5B,UAAA,CACE,oBAAC,gBAAD;GAAgB,SAAA;GAAS,UAAA;EAA+B,CAAA,GACxD,oBAAC,gBAAD;GACQ;GACK;GACJ;GACI;GACO;GAEjB;EACa,CAAA,CACL;CACE,CAAA,EAAA,CAAA;AAErB"}
@@ -1,2 +1 @@
1
- import { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger } from "./Tooltip.js";
2
- export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger };
1
+ export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger } from "./Tooltip.js";
@@ -1,11 +1,11 @@
1
1
  import { cn } from "../../../lib/utils.js";
2
- import { Typography } from "../Typography/Typography.js";
3
2
  import { Popover } from "../Popover/Popover.js";
4
3
  import { TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger } from "../Tooltip/Tooltip.js";
4
+ import { Typography } from "../Typography/Typography.js";
5
5
  import { useIsMobile } from "../../../lib/useMobile.js";
6
6
  import { useEffect, useRef, useState } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
- //#region src/components/data-display/TruncatedTypographyWithTooltip/TruncatedTypographyWithTooltip.tsx
8
+ // src/components/data-display/TruncatedTypographyWithTooltip/TruncatedTypographyWithTooltip.tsx
9
9
  var TruncatedTypographyWithTooltip = ({ label, ...props }) => {
10
10
  const textRef = useRef(null);
11
11
  const isMobile = useIsMobile();
@@ -44,7 +44,6 @@ var TruncatedTypographyWithTooltip = ({ label, ...props }) => {
44
44
  }), isTruncated && /* @__PURE__ */ jsx(TooltipContent, { children: label })]
45
45
  }) });
46
46
  };
47
- //#endregion
48
47
  export { TruncatedTypographyWithTooltip };
49
48
 
50
49
  //# sourceMappingURL=TruncatedTypographyWithTooltip.js.map
@@ -1,2 +1 @@
1
- import { TruncatedTypographyWithTooltip } from "./TruncatedTypographyWithTooltip.js";
2
- export { TruncatedTypographyWithTooltip };
1
+ export { TruncatedTypographyWithTooltip } from "./TruncatedTypographyWithTooltip.js";
@@ -2,17 +2,17 @@ import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  /**
4
4
  * Typography variants configuration using class-variance-authority
5
- * Updated with adjusted mobile/tablet breakpoints while preserving desktop (lg) sizes
5
+ * Sizes, line heights and tracking follow the design system (one mobile breakpoint at md)
6
6
  */
7
7
  declare const typographyVariants: (props?: ({
8
8
  variant?: "display-lg" | "display-md" | "display-sm" | "headline-lg" | "headline-md" | "headline-sm" | "title-lg" | "title-md" | "title-sm" | "label-lg" | "label-md" | "label-sm" | "body-lg" | "body-md" | "body-sm" | null | undefined;
9
- weight?: "regular" | "medium" | "semibold" | "bold" | null | undefined;
9
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
10
10
  family?: "onest" | null | undefined;
11
- color?: "accent" | "primary" | "success" | "warning" | "error" | "neutral" | "inverse" | "secondary" | null | undefined;
11
+ color?: "accent" | "primary" | "success" | "warning" | "error" | "neutral" | "inverse" | "secondary" | "tertiary" | null | undefined;
12
12
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
13
13
  export type TypographyProps = {
14
14
  component?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'p' | null;
15
- color?: 'neutral' | 'primary' | 'secondary' | 'inverse' | 'accent' | 'success' | 'warning' | 'error';
15
+ color?: 'neutral' | 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'accent' | 'success' | 'warning' | 'error';
16
16
  asChild?: boolean;
17
17
  } & React.BaseHTMLAttributes<HTMLParagraphElement> & VariantProps<typeof typographyVariants>;
18
18
  /**
@@ -3,33 +3,29 @@ import { cva } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
4
  import { Slot } from "@radix-ui/react-slot";
5
5
  import { jsx } from "react/jsx-runtime";
6
- //#region src/components/data-display/Typography/Typography.tsx
6
+ // src/components/data-display/Typography/Typography.tsx
7
7
  /**
8
8
  * Typography variants configuration using class-variance-authority
9
- * Updated with adjusted mobile/tablet breakpoints while preserving desktop (lg) sizes
9
+ * Sizes, line heights and tracking follow the design system (one mobile breakpoint at md)
10
10
  */
11
- var typographyVariants = cva("scroll-m-20 tracking-tight", {
11
+ var typographyVariants = cva("scroll-m-20", {
12
12
  variants: {
13
13
  variant: {
14
- "display-lg": [
15
- "text-[49px] md:text-[53px] lg:text-[57px]",
16
- "leading-14 md:leading-15 lg:leading-16",
17
- "tracking-[-0.14px]"
18
- ].join(" "),
19
- "display-md": ["text-[41px] md:text-[43px] lg:text-[45px]", "leading-12 md:leading-12.5 lg:leading-13"].join(" "),
20
- "display-sm": ["text-[32px] md:text-[34px] lg:text-[36px]", "leading-10 md:leading-10.5 lg:leading-11"].join(" "),
21
- "headline-lg": ["text-[28px] md:text-[30px] lg:text-[32px]", "leading-9 md:leading-9.5 lg:leading-10"].join(" "),
22
- "headline-md": ["text-[24px] md:text-[26px] lg:text-[28px]", "leading-8 md:leading-8.5 lg:leading-9"].join(" "),
23
- "headline-sm": ["text-[20px] md:text-[22px] lg:text-[24px]", "leading-7 md:leading-7.5 lg:leading-8"].join(" "),
24
- "title-lg": ["text-[18px] md:text-[20px] lg:text-[22px]", "leading-6 md:leading-6.5 lg:leading-7"].join(" "),
25
- "title-md": "text-[16px] leading-6 tracking-[0.024px]",
26
- "title-sm": "text-[14px] leading-5",
27
- "label-lg": "text-[14px] leading-5",
28
- "label-md": "text-[12px] leading-4",
29
- "label-sm": "text-[11px] leading-4",
30
- "body-lg": "text-[16px] leading-6 tracking-[0.08px]",
31
- "body-md": "text-[14px] leading-5 tracking-[0.035px]",
32
- "body-sm": "text-[12px] leading-4 tracking-[0.048px]"
14
+ "display-lg": "text-display-lg-mobile md:text-display-lg",
15
+ "display-md": "text-display-md-mobile md:text-display-md",
16
+ "display-sm": "text-display-sm-mobile md:text-display-sm",
17
+ "headline-lg": "text-headline-lg-mobile md:text-headline-lg",
18
+ "headline-md": "text-headline-md-mobile md:text-headline-md",
19
+ "headline-sm": "text-headline-sm",
20
+ "title-lg": "text-title-lg",
21
+ "title-md": "text-title-md",
22
+ "title-sm": "text-title-sm",
23
+ "label-lg": "text-label-lg",
24
+ "label-md": "text-label-md",
25
+ "label-sm": "text-label-sm",
26
+ "body-lg": "text-body-lg",
27
+ "body-md": "text-body-md",
28
+ "body-sm": "text-body-sm"
33
29
  },
34
30
  weight: {
35
31
  regular: "font-normal",
@@ -39,14 +35,15 @@ var typographyVariants = cva("scroll-m-20 tracking-tight", {
39
35
  },
40
36
  family: { onest: "" },
41
37
  color: {
42
- neutral: "text-neutral-950",
43
- inverse: "text-neutral-50",
44
- primary: "text-primary-600",
45
- secondary: "text-neutral-700",
46
- accent: "text-accent-500",
47
- success: "text-success-600",
48
- warning: "text-warning-500",
49
- error: "text-error-600"
38
+ neutral: "text-primary",
39
+ inverse: "text-inverse",
40
+ primary: "text-brand",
41
+ secondary: "text-secondary",
42
+ tertiary: "text-tertiary",
43
+ accent: "text-brand",
44
+ success: "text-success",
45
+ warning: "text-warning",
46
+ error: "text-danger"
50
47
  }
51
48
  },
52
49
  defaultVariants: {
@@ -79,7 +76,6 @@ var Typography = React$1.forwardRef(({ className, variant, weight, family, color
79
76
  });
80
77
  });
81
78
  Typography.displayName = "Typography";
82
- //#endregion
83
79
  export { Typography, typographyVariants };
84
80
 
85
81
  //# sourceMappingURL=Typography.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.js","names":["React"],"sources":["../../../../src/components/data-display/Typography/Typography.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '../../../lib/utils'\n\n/**\n * Typography variants configuration using class-variance-authority\n * Updated with adjusted mobile/tablet breakpoints while preserving desktop (lg) sizes\n */\nconst typographyVariants = cva('scroll-m-20 tracking-tight', {\n variants: {\n variant: {\n // Display family - Used for large, eye-catching elements in the interface\n 'display-lg': [\n 'text-[49px] md:text-[53px] lg:text-[57px]',\n 'leading-14 md:leading-15 lg:leading-16',\n 'tracking-[-0.14px]',\n ].join(' '), // Large headers or section titles\n 'display-md': ['text-[41px] md:text-[43px] lg:text-[45px]', 'leading-12 md:leading-12.5 lg:leading-13'].join(' '), // Medium-sized prominent headers\n 'display-sm': ['text-[32px] md:text-[34px] lg:text-[36px]', 'leading-10 md:leading-10.5 lg:leading-11'].join(' '), // Smaller display text for highlighted elements\n\n // Headline family - Used for article and section headers\n 'headline-lg': ['text-[28px] md:text-[30px] lg:text-[32px]', 'leading-9 md:leading-9.5 lg:leading-10'].join(' '), // Primary article headers\n 'headline-md': ['text-[24px] md:text-[26px] lg:text-[28px]', 'leading-8 md:leading-8.5 lg:leading-9'].join(' '), // Section headers\n 'headline-sm': ['text-[20px] md:text-[22px] lg:text-[24px]', 'leading-7 md:leading-7.5 lg:leading-8'].join(' '), // Subsection headers\n\n // Title family - Used for smaller sections and emphasized content\n 'title-lg': ['text-[18px] md:text-[20px] lg:text-[22px]', 'leading-6 md:leading-6.5 lg:leading-7'].join(' '), // Large titles for important sections\n 'title-md': 'text-[16px] leading-6 tracking-[0.024px]', // Medium titles for general use\n 'title-sm': 'text-[14px] leading-5', // Small titles for subsections\n\n // Label family - Used for form elements and navigation\n 'label-lg': 'text-[14px] leading-5', // Large labels for form fields\n 'label-md': 'text-[12px] leading-4', // Medium labels for general use\n 'label-sm': 'text-[11px] leading-4', // Small labels for compact UI elements\n\n // Body family - Used for main content and paragraphs\n 'body-lg': 'text-[16px] leading-6 tracking-[0.08px]', // Large body text for primary content\n 'body-md': 'text-[14px] leading-5 tracking-[0.035px]', // Medium body text for general content\n 'body-sm': 'text-[12px] leading-4 tracking-[0.048px]', // Small body text for secondary content\n },\n weight: {\n regular: 'font-normal', // Regular weight for general text\n medium: 'font-medium', // Medium weight for semi-emphasized text\n semibold: 'font-semibold', // Semibold for important elements\n bold: 'font-bold', // Bold for high emphasis\n },\n family: {\n onest: '', // Never applied a font (its class never existed); kept so `family=\"onest\"` compiles. Remove in periplo 5\n },\n color: {\n neutral: 'text-neutral-950', // Default text color\n inverse: 'text-neutral-50', // Inverted text color\n primary: 'text-primary-600', // Primary brand color\n secondary: 'text-neutral-700', // Secondary brand color\n accent: 'text-accent-500', // Accent color for emphasis\n success: 'text-success-600', // Success messages\n warning: 'text-warning-500', // Warning messages\n error: 'text-error-600', // Error messages\n },\n },\n defaultVariants: {\n variant: 'body-md',\n weight: 'regular',\n color: 'neutral',\n },\n})\n\nexport type TypographyProps = {\n component?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'p' | null\n color?: 'neutral' | 'primary' | 'secondary' | 'inverse' | 'accent' | 'success' | 'warning' | 'error'\n asChild?: boolean\n} & React.BaseHTMLAttributes<HTMLParagraphElement> &\n VariantProps<typeof typographyVariants>\n\n/**\n * Usage:\n * ```tsx\n * <Typography variant=\"display-lg\" weight=\"bold\">Large Display</Typography>\n *\n * <Typography variant=\"headline-md\" component=\"h2\">Section Header</Typography>\n *\n * <Typography variant=\"body-md\">Regular paragraph text</Typography>\n * ```\n */\nconst Typography = React.forwardRef<HTMLParagraphElement, Readonly<TypographyProps>>(\n ({ className, variant, weight, family, color, component, asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : (component ?? 'span')\n return (\n <Comp className={cn(typographyVariants({ variant, weight, family, color, className }))} ref={ref} {...props} />\n )\n },\n)\n\nTypography.displayName = 'Typography'\n\nexport { Typography, typographyVariants }\n"],"mappings":";;;;;;;;;;AAUA,IAAM,qBAAqB,IAAI,8BAA8B;CAC3D,UAAU;EACR,SAAS;GAEP,cAAc;IACZ;IACA;IACA;GACF,CAAC,CAAC,KAAK,GAAG;GACV,cAAc,CAAC,6CAA6C,0CAA0C,CAAC,CAAC,KAAK,GAAG;GAChH,cAAc,CAAC,6CAA6C,0CAA0C,CAAC,CAAC,KAAK,GAAG;GAGhH,eAAe,CAAC,6CAA6C,wCAAwC,CAAC,CAAC,KAAK,GAAG;GAC/G,eAAe,CAAC,6CAA6C,uCAAuC,CAAC,CAAC,KAAK,GAAG;GAC9G,eAAe,CAAC,6CAA6C,uCAAuC,CAAC,CAAC,KAAK,GAAG;GAG9G,YAAY,CAAC,6CAA6C,uCAAuC,CAAC,CAAC,KAAK,GAAG;GAC3G,YAAY;GACZ,YAAY;GAGZ,YAAY;GACZ,YAAY;GACZ,YAAY;GAGZ,WAAW;GACX,WAAW;GACX,WAAW;EACb;EACA,QAAQ;GACN,SAAS;GACT,QAAQ;GACR,UAAU;GACV,MAAM;EACR;EACA,QAAQ,EACN,OAAO,GACT;EACA,OAAO;GACL,SAAS;GACT,SAAS;GACT,SAAS;GACT,WAAW;GACX,QAAQ;GACR,SAAS;GACT,SAAS;GACT,OAAO;EACT;CACF;CACA,iBAAiB;EACf,SAAS;EACT,QAAQ;EACR,OAAO;CACT;AACF,CAAC;;;;;;;;;;;AAmBD,IAAM,aAAaA,QAAM,YACtB,EAAE,WAAW,SAAS,QAAQ,QAAQ,OAAO,WAAW,SAAS,GAAG,SAAS,QAAQ;CAEpF,OACE,oBAFW,UAAU,OAAQ,aAAa,QAE1C;EAAM,WAAW,GAAG,mBAAmB;GAAE;GAAS;GAAQ;GAAQ;GAAO;EAAU,CAAC,CAAC;EAAQ;EAAK,GAAI;CAAQ,CAAA;AAElH,CACF;AAEA,WAAW,cAAc"}
1
+ {"version":3,"file":"Typography.js","names":["React"],"sources":["../../../../src/components/data-display/Typography/Typography.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '../../../lib/utils'\n\n/**\n * Typography variants configuration using class-variance-authority\n * Sizes, line heights and tracking follow the design system (one mobile breakpoint at md)\n */\nconst typographyVariants = cva('scroll-m-20', {\n variants: {\n variant: {\n // Display family - Used for large, eye-catching elements in the interface\n 'display-lg': 'text-display-lg-mobile md:text-display-lg', // Large headers or section titles\n 'display-md': 'text-display-md-mobile md:text-display-md', // Medium-sized prominent headers\n 'display-sm': 'text-display-sm-mobile md:text-display-sm', // Smaller display text for highlighted elements\n\n // Headline family - Used for article and section headers\n 'headline-lg': 'text-headline-lg-mobile md:text-headline-lg', // Primary article headers\n 'headline-md': 'text-headline-md-mobile md:text-headline-md', // Section headers\n 'headline-sm': 'text-headline-sm', // Subsection headers\n\n // Title family - Used for smaller sections and emphasized content\n 'title-lg': 'text-title-lg', // Large titles for important sections\n 'title-md': 'text-title-md', // Medium titles for general use\n 'title-sm': 'text-title-sm', // Small titles for subsections\n\n // Label family - Used for form elements and navigation\n 'label-lg': 'text-label-lg', // Large labels for form fields\n 'label-md': 'text-label-md', // Medium labels for general use\n 'label-sm': 'text-label-sm', // Small labels for compact UI elements\n\n // Body family - Used for main content and paragraphs\n 'body-lg': 'text-body-lg', // Large body text for primary content\n 'body-md': 'text-body-md', // Medium body text for general content\n 'body-sm': 'text-body-sm', // Small body text for secondary content\n },\n weight: {\n regular: 'font-normal', // Regular weight for general text\n medium: 'font-medium', // Medium weight for semi-emphasized text\n semibold: 'font-semibold', // Semibold for important elements\n bold: 'font-bold', // Bold for high emphasis\n },\n family: {\n onest: '', // Never applied a font (its class never existed); kept so `family=\"onest\"` compiles. Remove in periplo 5\n },\n color: {\n neutral: 'text-primary', // Default text color\n inverse: 'text-inverse', // Inverted text color\n primary: 'text-brand', // Primary brand color\n secondary: 'text-secondary', // Secondary brand color\n tertiary: 'text-tertiary', // Tertiary text: placeholders and the quietest helper text\n accent: 'text-brand', // Accent color for emphasis\n success: 'text-success', // Success messages\n warning: 'text-warning', // Warning messages\n error: 'text-danger', // Error messages\n },\n },\n defaultVariants: {\n variant: 'body-md',\n weight: 'regular',\n color: 'neutral',\n },\n})\n\nexport type TypographyProps = {\n component?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'p' | null\n color?: 'neutral' | 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'accent' | 'success' | 'warning' | 'error'\n asChild?: boolean\n} & React.BaseHTMLAttributes<HTMLParagraphElement> &\n VariantProps<typeof typographyVariants>\n\n/**\n * Usage:\n * ```tsx\n * <Typography variant=\"display-lg\" weight=\"bold\">Large Display</Typography>\n *\n * <Typography variant=\"headline-md\" component=\"h2\">Section Header</Typography>\n *\n * <Typography variant=\"body-md\">Regular paragraph text</Typography>\n * ```\n */\nconst Typography = React.forwardRef<HTMLParagraphElement, Readonly<TypographyProps>>(\n ({ className, variant, weight, family, color, component, asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : (component ?? 'span')\n return (\n <Comp className={cn(typographyVariants({ variant, weight, family, color, className }))} ref={ref} {...props} />\n )\n },\n)\n\nTypography.displayName = 'Typography'\n\nexport { Typography, typographyVariants }\n"],"mappings":";;;;;;;;;;AAUA,IAAM,qBAAqB,IAAI,eAAe;CAC5C,UAAU;EACR,SAAS;GAEP,cAAc;GACd,cAAc;GACd,cAAc;GAGd,eAAe;GACf,eAAe;GACf,eAAe;GAGf,YAAY;GACZ,YAAY;GACZ,YAAY;GAGZ,YAAY;GACZ,YAAY;GACZ,YAAY;GAGZ,WAAW;GACX,WAAW;GACX,WAAW;EACb;EACA,QAAQ;GACN,SAAS;GACT,QAAQ;GACR,UAAU;GACV,MAAM;EACR;EACA,QAAQ,EACN,OAAO,GACT;EACA,OAAO;GACL,SAAS;GACT,SAAS;GACT,SAAS;GACT,WAAW;GACX,UAAU;GACV,QAAQ;GACR,SAAS;GACT,SAAS;GACT,OAAO;EACT;CACF;CACA,iBAAiB;EACf,SAAS;EACT,QAAQ;EACR,OAAO;CACT;AACF,CAAC;;;;;;;;;;;AAmBD,IAAM,aAAaA,QAAM,YACtB,EAAE,WAAW,SAAS,QAAQ,QAAQ,OAAO,WAAW,SAAS,GAAG,SAAS,QAAQ;CAEpF,OACE,oBAFW,UAAU,OAAQ,aAAa,QAE1C;EAAM,WAAW,GAAG,mBAAmB;GAAE;GAAS;GAAQ;GAAQ;GAAO;EAAU,CAAC,CAAC;EAAQ;EAAK,GAAI;CAAQ,CAAA;AAElH,CACF;AAEA,WAAW,cAAc"}
@@ -1,2 +1 @@
1
- import { Typography, typographyVariants } from "./Typography.js";
2
- export { Typography, typographyVariants };
1
+ export { Typography, typographyVariants } from "./Typography.js";
@@ -1,10 +1,10 @@
1
- import { cn } from "../../../lib/utils.js";
2
- import { restoreFocusWithoutRing, useTrackInputModality } from "../../../lib/inputModality.js";
3
1
  import { CloseButton } from "../../shared/CloseButton.js";
2
+ import { restoreFocusWithoutRing, useTrackInputModality } from "../../../lib/inputModality.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  import * as React$1 from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import * as DialogPrimitive from "@radix-ui/react-dialog";
7
- //#region src/components/feedback/Dialog/Dialog.tsx
7
+ // src/components/feedback/Dialog/Dialog.tsx
8
8
  var Dialog = (props) => {
9
9
  useTrackInputModality();
10
10
  return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...props });
@@ -15,7 +15,7 @@ var DialogClose = DialogPrimitive.Close;
15
15
  var DialogOverlay = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
16
16
  ref,
17
17
  className: cn(`
18
- fixed inset-0 z-50 bg-neutral-950/32 ease-out-strong
18
+ fixed inset-0 z-50 overlay-backdrop motion-modal
19
19
  data-[state=closed]:animate-out data-[state=closed]:fade-out-0
20
20
  data-[state=open]:animate-in data-[state=open]:fade-in-0
21
21
  `, className),
@@ -27,8 +27,8 @@ var DialogContent = React$1.forwardRef(({ className, children, closable = true,
27
27
  children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(DialogPrimitive.Content, {
28
28
  ref,
29
29
  className: cn(`
30
- fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border
31
- bg-background-100 p-6 shadow-lg outline-hidden duration-200 ease-out-strong
30
+ fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-1/2 gap-4 border bg-surface-secondary p-6
31
+ shadow-overlay outline-hidden motion-modal
32
32
  motion-reduce:data-[state=closed]:zoom-out-100
33
33
  motion-reduce:data-[state=open]:zoom-in-100
34
34
  sm:rounded-lg
@@ -62,17 +62,16 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
62
62
  DialogFooter.displayName = "DialogFooter";
63
63
  var DialogTitle = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Title, {
64
64
  ref,
65
- className: cn("text-lg leading-none font-semibold tracking-tight", className),
65
+ className: cn("text-title-lg font-medium", className),
66
66
  ...props
67
67
  }));
68
68
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
69
69
  var DialogDescription = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Description, {
70
70
  ref,
71
- className: cn("text-sm text-neutral-700", className),
71
+ className: cn("text-body-md text-secondary", className),
72
72
  ...props
73
73
  }));
74
74
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
75
- //#endregion
76
75
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
77
76
 
78
77
  //# sourceMappingURL=Dialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.js","names":["React"],"sources":["../../../../src/components/feedback/Dialog/Dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { CloseButton } from '../../shared'\n\nimport { restoreFocusWithoutRing, useTrackInputModality } from '@/lib/inputModality'\nimport { cn } from '@/lib/utils'\n\ntype DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {\n closable?: boolean\n container?: HTMLElement | null\n}\n\nconst Dialog = (props: Readonly<React.ComponentProps<typeof DialogPrimitive.Root>>) => {\n useTrackInputModality()\n return <DialogPrimitive.Root {...props} />\n}\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Overlay>,\n Readonly<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n `\n fixed inset-0 z-50 bg-neutral-950/32 ease-out-strong\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0\n data-[state=open]:animate-in data-[state=open]:fade-in-0\n `,\n className,\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Content>,\n Readonly<DialogContentProps>\n>(({ className, children, closable = true, container, onCloseAutoFocus, ...props }, ref) => (\n <DialogPortal container={container}>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n `\n fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border\n bg-background-100 p-6 shadow-lg outline-hidden duration-200 ease-out-strong\n motion-reduce:data-[state=closed]:zoom-out-100\n motion-reduce:data-[state=open]:zoom-in-100\n sm:rounded-lg\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\n data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95\n `,\n className,\n )}\n onPointerDownOutside={(event) => {\n if (!closable) {\n event.preventDefault()\n }\n }}\n onEscapeKeyDown={(event) => {\n if (!closable) {\n event.preventDefault()\n }\n }}\n onCloseAutoFocus={(event) => {\n onCloseAutoFocus?.(event)\n restoreFocusWithoutRing(event)\n }}\n {...props}\n >\n {children}\n {closable ? <CloseButton /> : null}\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: Readonly<React.HTMLAttributes<HTMLDivElement>>) => (\n <div className={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)} {...props} />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({ className, ...props }: Readonly<React.HTMLAttributes<HTMLDivElement>>) => (\n <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)} {...props} />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Title>,\n Readonly<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn('text-lg leading-none font-semibold tracking-tight', className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Description>,\n Readonly<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description ref={ref} className={cn('text-sm text-neutral-700', className)} {...props} />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"mappings":";;;;;;;AAaA,IAAM,UAAU,UAAuE;CACrF,sBAAsB;CACtB,OAAO,oBAAC,gBAAgB,MAAjB,EAAsB,GAAI,MAAQ,CAAA;AAC3C;AAEA,IAAM,gBAAgB,gBAAgB;AAEtC,IAAM,eAAe,gBAAgB;AAErC,IAAM,cAAc,gBAAgB;AAEpC,IAAM,gBAAgBA,QAAM,YAGzB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,SAAjB;CACO;CACL,WAAW,GACT;;;;SAKA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,cAAc,cAAc,gBAAgB,QAAQ;AAEpD,IAAM,gBAAgBA,QAAM,YAGzB,EAAE,WAAW,UAAU,WAAW,MAAM,WAAW,kBAAkB,GAAG,SAAS,QAClF,qBAAC,cAAD;CAAyB;CAAzB,UAAA,CACE,oBAAC,eAAD,CAAgB,CAAA,GAChB,qBAAC,gBAAgB,SAAjB;EACO;EACL,WAAW,GACT;;;;;;;;WASA,SACF;EACA,uBAAuB,UAAU;GAC/B,IAAI,CAAC,UACH,MAAM,eAAe;EAEzB;EACA,kBAAkB,UAAU;GAC1B,IAAI,CAAC,UACH,MAAM,eAAe;EAEzB;EACA,mBAAmB,UAAU;GAC3B,mBAAmB,KAAK;GACxB,wBAAwB,KAAK;EAC/B;EACA,GAAI;EA5BN,UAAA,CA8BG,UACA,WAAW,oBAAC,aAAD,CAAc,CAAA,IAAI,IACP;CACb,CAAA,CAAA;AACf,CAAA,CAAA;AACD,cAAc,cAAc,gBAAgB,QAAQ;AAEpD,IAAM,gBAAgB,EAAE,WAAW,GAAG,YACpC,oBAAC,OAAD;CAAK,WAAW,GAAG,sDAAsD,SAAS;CAAG,GAAI;AAAQ,CAAA;AAEnG,aAAa,cAAc;AAE3B,IAAM,gBAAgB,EAAE,WAAW,GAAG,YACpC,oBAAC,OAAD;CAAK,WAAW,GAAG,iEAAiE,SAAS;CAAG,GAAI;AAAQ,CAAA;AAE9G,aAAa,cAAc;AAE3B,IAAM,cAAcA,QAAM,YAGvB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,OAAjB;CACO;CACL,WAAW,GAAG,qDAAqD,SAAS;CAC5E,GAAI;AACL,CAAA,CACF;AACD,YAAY,cAAc,gBAAgB,MAAM;AAEhD,IAAM,oBAAoBA,QAAM,YAG7B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,aAAjB;CAAkC;CAAK,WAAW,GAAG,4BAA4B,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC1G;AACD,kBAAkB,cAAc,gBAAgB,YAAY"}
1
+ {"version":3,"file":"Dialog.js","names":["React"],"sources":["../../../../src/components/feedback/Dialog/Dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { CloseButton } from '../../shared'\n\nimport { restoreFocusWithoutRing, useTrackInputModality } from '@/lib/inputModality'\nimport { cn } from '@/lib/utils'\n\ntype DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {\n closable?: boolean\n container?: HTMLElement | null\n}\n\nconst Dialog = (props: Readonly<React.ComponentProps<typeof DialogPrimitive.Root>>) => {\n useTrackInputModality()\n return <DialogPrimitive.Root {...props} />\n}\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Overlay>,\n Readonly<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n `\n fixed inset-0 z-50 overlay-backdrop motion-modal\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0\n data-[state=open]:animate-in data-[state=open]:fade-in-0\n `,\n className,\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Content>,\n Readonly<DialogContentProps>\n>(({ className, children, closable = true, container, onCloseAutoFocus, ...props }, ref) => (\n <DialogPortal container={container}>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n `\n fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-1/2 gap-4 border bg-surface-secondary p-6\n shadow-overlay outline-hidden motion-modal\n motion-reduce:data-[state=closed]:zoom-out-100\n motion-reduce:data-[state=open]:zoom-in-100\n sm:rounded-lg\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95\n data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95\n `,\n className,\n )}\n onPointerDownOutside={(event) => {\n if (!closable) {\n event.preventDefault()\n }\n }}\n onEscapeKeyDown={(event) => {\n if (!closable) {\n event.preventDefault()\n }\n }}\n onCloseAutoFocus={(event) => {\n onCloseAutoFocus?.(event)\n restoreFocusWithoutRing(event)\n }}\n {...props}\n >\n {children}\n {closable ? <CloseButton /> : null}\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: Readonly<React.HTMLAttributes<HTMLDivElement>>) => (\n <div className={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)} {...props} />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({ className, ...props }: Readonly<React.HTMLAttributes<HTMLDivElement>>) => (\n <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)} {...props} />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Title>,\n Readonly<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title ref={ref} className={cn('text-title-lg font-medium', className)} {...props} />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Description>,\n Readonly<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description ref={ref} className={cn('text-body-md text-secondary', className)} {...props} />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"mappings":";;;;;;;AAaA,IAAM,UAAU,UAAuE;CACrF,sBAAsB;CACtB,OAAO,oBAAC,gBAAgB,MAAjB,EAAsB,GAAI,MAAQ,CAAA;AAC3C;AAEA,IAAM,gBAAgB,gBAAgB;AAEtC,IAAM,eAAe,gBAAgB;AAErC,IAAM,cAAc,gBAAgB;AAEpC,IAAM,gBAAgBA,QAAM,YAGzB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,SAAjB;CACO;CACL,WAAW,GACT;;;;SAKA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,cAAc,cAAc,gBAAgB,QAAQ;AAEpD,IAAM,gBAAgBA,QAAM,YAGzB,EAAE,WAAW,UAAU,WAAW,MAAM,WAAW,kBAAkB,GAAG,SAAS,QAClF,qBAAC,cAAD;CAAyB;CAAzB,UAAA,CACE,oBAAC,eAAD,CAAgB,CAAA,GAChB,qBAAC,gBAAgB,SAAjB;EACO;EACL,WAAW,GACT;;;;;;;;WASA,SACF;EACA,uBAAuB,UAAU;GAC/B,IAAI,CAAC,UACH,MAAM,eAAe;EAEzB;EACA,kBAAkB,UAAU;GAC1B,IAAI,CAAC,UACH,MAAM,eAAe;EAEzB;EACA,mBAAmB,UAAU;GAC3B,mBAAmB,KAAK;GACxB,wBAAwB,KAAK;EAC/B;EACA,GAAI;EA5BN,UAAA,CA8BG,UACA,WAAW,oBAAC,aAAD,CAAc,CAAA,IAAI,IACP;CACb,CAAA,CAAA;AACf,CAAA,CAAA;AACD,cAAc,cAAc,gBAAgB,QAAQ;AAEpD,IAAM,gBAAgB,EAAE,WAAW,GAAG,YACpC,oBAAC,OAAD;CAAK,WAAW,GAAG,sDAAsD,SAAS;CAAG,GAAI;AAAQ,CAAA;AAEnG,aAAa,cAAc;AAE3B,IAAM,gBAAgB,EAAE,WAAW,GAAG,YACpC,oBAAC,OAAD;CAAK,WAAW,GAAG,iEAAiE,SAAS;CAAG,GAAI;AAAQ,CAAA;AAE9G,aAAa,cAAc;AAE3B,IAAM,cAAcA,QAAM,YAGvB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,OAAjB;CAA4B;CAAK,WAAW,GAAG,6BAA6B,SAAS;CAAG,GAAI;AAAQ,CAAA,CACrG;AACD,YAAY,cAAc,gBAAgB,MAAM;AAEhD,IAAM,oBAAoBA,QAAM,YAG7B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,aAAjB;CAAkC;CAAK,WAAW,GAAG,+BAA+B,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC7G;AACD,kBAAkB,cAAc,gBAAgB,YAAY"}
@@ -1,2 +1 @@
1
- import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./Dialog.js";
2
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
1
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./Dialog.js";
@@ -3,7 +3,7 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
3
3
  import * as React from 'react';
4
4
  declare const progressVariants: (props?: ({
5
5
  size?: "sm" | "md" | "lg" | null | undefined;
6
- radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
6
+ radius?: "sm" | "md" | "lg" | "none" | "full" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export type ProgressProps = {
9
9
  /**
@@ -16,7 +16,7 @@ export type ProgressProps = {
16
16
  variant?: 'default' | 'fake' | 'indeterminate';
17
17
  /**
18
18
  * The color of the progress indicator. Should be a Tailwind CSS background color class.
19
- * @default 'bg-accent'
19
+ * @default 'bg-surface-progress-active'
20
20
  */
21
21
  indicatorColor?: string;
22
22
  /**