@pathscale/ui 1.2.6 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +59 -59
  3. package/dist/components/_shared/index.js +1 -3
  4. package/dist/components/_shared/overlayPosition.js +6 -6
  5. package/dist/components/accordion/Accordion.css +158 -158
  6. package/dist/components/accordion/Accordion.js +46 -45
  7. package/dist/components/accordion/index.js +3 -9
  8. package/dist/components/alert/Alert.css +116 -116
  9. package/dist/components/alert/Alert.js +34 -33
  10. package/dist/components/alert/index.js +1 -8
  11. package/dist/components/auth-card/AuthCard.js +21 -21
  12. package/dist/components/auth-card/index.js +1 -3
  13. package/dist/components/auth-error-message/AuthErrorMessage.js +10 -10
  14. package/dist/components/auth-error-message/index.js +1 -3
  15. package/dist/components/auth-field-group/AuthFieldGroup.js +9 -9
  16. package/dist/components/auth-field-group/index.js +1 -3
  17. package/dist/components/auth-footer-links/AuthFooterLinks.js +21 -21
  18. package/dist/components/auth-footer-links/index.js +1 -3
  19. package/dist/components/auth-form/AuthForm.js +11 -11
  20. package/dist/components/auth-form/index.js +1 -3
  21. package/dist/components/auth-powered-by/AuthPoweredBy.js +15 -15
  22. package/dist/components/auth-powered-by/index.js +1 -3
  23. package/dist/components/auth-submit-button/AuthSubmitButton.js +10 -10
  24. package/dist/components/auth-submit-button/index.js +1 -3
  25. package/dist/components/auth-success-message/AuthSuccessMessage.js +12 -12
  26. package/dist/components/auth-success-message/index.js +1 -3
  27. package/dist/components/avatar/Avatar.css +124 -124
  28. package/dist/components/avatar/Avatar.js +28 -27
  29. package/dist/components/avatar/AvatarGroup.js +11 -11
  30. package/dist/components/avatar/index.js +1 -6
  31. package/dist/components/badge/Badge.css +164 -164
  32. package/dist/components/badge/Badge.js +19 -19
  33. package/dist/components/badge/index.js +7 -9
  34. package/dist/components/breadcrumbs/Breadcrumbs.css +63 -63
  35. package/dist/components/breadcrumbs/Breadcrumbs.js +27 -26
  36. package/dist/components/breadcrumbs/index.js +1 -5
  37. package/dist/components/button/Button.css +194 -194
  38. package/dist/components/button/Button.js +23 -23
  39. package/dist/components/button/index.js +1 -3
  40. package/dist/components/button-group/ButtonGroup.css +117 -117
  41. package/dist/components/button-group/ButtonGroup.js +16 -15
  42. package/dist/components/button-group/context.js +2 -2
  43. package/dist/components/button-group/index.js +3 -6
  44. package/dist/components/calendar/Calendar.css +258 -258
  45. package/dist/components/calendar/Calendar.js +88 -88
  46. package/dist/components/calendar/index.js +1 -3
  47. package/dist/components/card/Card.css +110 -110
  48. package/dist/components/card/Card.js +23 -22
  49. package/dist/components/card/index.js +3 -8
  50. package/dist/components/chatbubble/ChatBubble.css +164 -164
  51. package/dist/components/chatbubble/ChatBubble.js +20 -20
  52. package/dist/components/chatbubble/ChatBubbleAvatar.js +9 -9
  53. package/dist/components/chatbubble/ChatBubbleFooter.js +9 -9
  54. package/dist/components/chatbubble/ChatBubbleHeader.js +11 -11
  55. package/dist/components/chatbubble/ChatBubbleMessage.js +12 -12
  56. package/dist/components/chatbubble/ChatBubbleTime.js +9 -9
  57. package/dist/components/chatbubble/index.js +1 -3
  58. package/dist/components/checkbox/Checkbox.css +183 -183
  59. package/dist/components/checkbox/Checkbox.js +32 -32
  60. package/dist/components/checkbox/index.js +1 -3
  61. package/dist/components/checkbox-group/CheckboxGroup.css +10 -10
  62. package/dist/components/checkbox-group/CheckboxGroup.js +14 -14
  63. package/dist/components/checkbox-group/context.js +2 -2
  64. package/dist/components/checkbox-group/index.js +4 -4
  65. package/dist/components/chip/Chip.css +197 -197
  66. package/dist/components/chip/Chip.js +32 -32
  67. package/dist/components/chip/index.js +6 -7
  68. package/dist/components/close-button/CloseButton.css +81 -81
  69. package/dist/components/close-button/CloseButton.js +22 -22
  70. package/dist/components/close-button/index.js +1 -3
  71. package/dist/components/color-area/ColorArea.css +54 -54
  72. package/dist/components/color-area/ColorArea.js +16 -16
  73. package/dist/components/color-area/index.js +3 -3
  74. package/dist/components/color-field/ColorField.css +88 -88
  75. package/dist/components/color-field/ColorField.js +21 -21
  76. package/dist/components/color-field/index.js +3 -3
  77. package/dist/components/color-picker/ColorPicker.css +28 -28
  78. package/dist/components/color-picker/ColorPicker.js +46 -45
  79. package/dist/components/color-picker/index.js +3 -8
  80. package/dist/components/color-slider/ColorSlider.css +57 -57
  81. package/dist/components/color-slider/ColorSlider.js +19 -19
  82. package/dist/components/color-slider/index.js +3 -3
  83. package/dist/components/color-swatch/ColorSwatch.css +84 -84
  84. package/dist/components/color-swatch/ColorSwatch.js +12 -12
  85. package/dist/components/color-swatch/index.js +3 -3
  86. package/dist/components/color-swatch-picker/ColorSwatchPicker.css +12 -12
  87. package/dist/components/color-swatch-picker/ColorSwatchPicker.js +16 -15
  88. package/dist/components/color-swatch-picker/index.js +1 -5
  89. package/dist/components/color-wheel-flower/ColorWheelFlower.css +147 -147
  90. package/dist/components/color-wheel-flower/ColorWheelFlower.js +84 -84
  91. package/dist/components/color-wheel-flower/colorWheelFlowerContext.js +3 -3
  92. package/dist/components/color-wheel-flower/index.js +2 -6
  93. package/dist/components/combo-box/ComboBox.css +344 -344
  94. package/dist/components/combo-box/ComboBox.js +92 -91
  95. package/dist/components/combo-box/index.js +3 -10
  96. package/dist/components/date-field/DateField.css +215 -215
  97. package/dist/components/date-field/DateField.js +45 -44
  98. package/dist/components/date-field/index.js +3 -11
  99. package/dist/components/date-picker/DatePicker.css +143 -143
  100. package/dist/components/date-picker/DatePicker.js +38 -38
  101. package/dist/components/date-picker/index.js +1 -3
  102. package/dist/components/date-range-picker/DateRangePicker.css +149 -149
  103. package/dist/components/date-range-picker/DateRangePicker.js +53 -53
  104. package/dist/components/date-range-picker/index.js +1 -3
  105. package/dist/components/description/Description.css +10 -10
  106. package/dist/components/description/Description.js +11 -10
  107. package/dist/components/description/index.js +3 -5
  108. package/dist/components/disclosure/Disclosure.css +84 -84
  109. package/dist/components/disclosure/Disclosure.js +44 -43
  110. package/dist/components/disclosure/index.js +4 -9
  111. package/dist/components/disclosure-group/DisclosureGroup.css +9 -9
  112. package/dist/components/disclosure-group/DisclosureGroup.js +15 -14
  113. package/dist/components/disclosure-group/index.js +5 -6
  114. package/dist/components/disclosure-group/useDisclosureGroupNavigation.js +4 -4
  115. package/dist/components/drawer/Drawer.context.js +3 -3
  116. package/dist/components/drawer/Drawer.css +463 -463
  117. package/dist/components/drawer/Drawer.js +109 -108
  118. package/dist/components/drawer/index.js +1 -15
  119. package/dist/components/dropdown/Dropdown.css +211 -211
  120. package/dist/components/dropdown/Dropdown.js +68 -67
  121. package/dist/components/dropdown/index.js +3 -4
  122. package/dist/components/empty-state/EmptyState.css +39 -39
  123. package/dist/components/empty-state/EmptyState.js +27 -26
  124. package/dist/components/empty-state/index.js +1 -8
  125. package/dist/components/error-message/ErrorMessage.css +20 -20
  126. package/dist/components/error-message/ErrorMessage.js +13 -12
  127. package/dist/components/error-message/index.js +1 -5
  128. package/dist/components/field-error/FieldError.css +27 -27
  129. package/dist/components/field-error/FieldError.js +18 -17
  130. package/dist/components/field-error/index.js +1 -5
  131. package/dist/components/fieldset/Fieldset.css +30 -30
  132. package/dist/components/fieldset/Fieldset.js +23 -22
  133. package/dist/components/fieldset/index.js +3 -8
  134. package/dist/components/flex/Flex.css +5 -5
  135. package/dist/components/flex/Flex.js +14 -14
  136. package/dist/components/flex/index.js +1 -3
  137. package/dist/components/floating-dock/FloatingDock.css +208 -208
  138. package/dist/components/floating-dock/FloatingDock.js +78 -78
  139. package/dist/components/floating-dock/index.js +1 -3
  140. package/dist/components/footer/Footer.js +12 -12
  141. package/dist/components/footer/FooterTitle.js +9 -9
  142. package/dist/components/footer/footer.css +51 -51
  143. package/dist/components/footer/index.js +1 -3
  144. package/dist/components/form/FieldErrorMessage.js +10 -9
  145. package/dist/components/form/Form.css +5 -5
  146. package/dist/components/form/Form.js +18 -17
  147. package/dist/components/form/FormField.js +21 -20
  148. package/dist/components/form/FormSubmitButton.js +12 -11
  149. package/dist/components/form/index.js +6 -12
  150. package/dist/components/glass-panel/GlassPanel.classes.d.ts +3 -0
  151. package/dist/components/glass-panel/GlassPanel.classes.js +3 -0
  152. package/dist/components/glass-panel/GlassPanel.css +359 -282
  153. package/dist/components/glass-panel/GlassPanel.d.ts +3 -0
  154. package/dist/components/glass-panel/GlassPanel.js +30 -27
  155. package/dist/components/glass-panel/index.js +1 -3
  156. package/dist/components/glow-card/GlowCard.css +100 -100
  157. package/dist/components/glow-card/GlowCard.js +11 -11
  158. package/dist/components/glow-card/index.js +1 -3
  159. package/dist/components/grid/Grid.css +5 -5
  160. package/dist/components/grid/Grid.js +15 -15
  161. package/dist/components/grid/index.js +1 -3
  162. package/dist/components/header/Header.css +13 -13
  163. package/dist/components/header/Header.js +11 -10
  164. package/dist/components/header/index.js +3 -5
  165. package/dist/components/icon/Icon.css +10 -10
  166. package/dist/components/icon/Icon.js +9 -9
  167. package/dist/components/icon/index.js +1 -3
  168. package/dist/components/immersive-landing/ImmersiveLanding.css +565 -565
  169. package/dist/components/immersive-landing/ImmersiveLanding.js +45 -45
  170. package/dist/components/immersive-landing/ImmersiveLandingArrows.js +18 -18
  171. package/dist/components/immersive-landing/ImmersiveLandingContext.js +3 -3
  172. package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +34 -34
  173. package/dist/components/immersive-landing/ImmersiveLandingPage.js +16 -16
  174. package/dist/components/immersive-landing/components/CookieConsent.js +71 -71
  175. package/dist/components/immersive-landing/components/FirefoxPWABanner.js +42 -42
  176. package/dist/components/immersive-landing/components/PWAInstallPrompt.js +40 -40
  177. package/dist/components/immersive-landing/index.js +6 -14
  178. package/dist/components/immersive-landing/useImmersiveLanding.js +8 -8
  179. package/dist/components/input/Input.css +155 -155
  180. package/dist/components/input/Input.js +46 -46
  181. package/dist/components/input/index.js +3 -3
  182. package/dist/components/input-group/InputGroup.css +172 -172
  183. package/dist/components/input-group/InputGroup.js +32 -31
  184. package/dist/components/input-group/index.js +3 -9
  185. package/dist/components/input-otp/InputOTP.css +170 -170
  186. package/dist/components/input-otp/InputOTP.js +52 -51
  187. package/dist/components/input-otp/index.js +1 -11
  188. package/dist/components/join/Join.js +15 -15
  189. package/dist/components/join/index.js +1 -3
  190. package/dist/components/kbd/Kbd.css +60 -60
  191. package/dist/components/kbd/Kbd.js +39 -38
  192. package/dist/components/kbd/index.js +1 -8
  193. package/dist/components/label/Label.css +30 -30
  194. package/dist/components/label/Label.js +11 -10
  195. package/dist/components/label/index.js +3 -5
  196. package/dist/components/language-switcher/LanguageSwitcher.css +56 -56
  197. package/dist/components/language-switcher/LanguageSwitcher.js +24 -24
  198. package/dist/components/language-switcher/createI18n.js +10 -10
  199. package/dist/components/language-switcher/index.js +2 -8
  200. package/dist/components/link/Link.css +131 -131
  201. package/dist/components/link/Link.js +21 -20
  202. package/dist/components/link/index.js +1 -5
  203. package/dist/components/list-box/ListBox.css +148 -148
  204. package/dist/components/list-box/ListBox.js +19 -18
  205. package/dist/components/list-box/ListBoxItem.js +31 -30
  206. package/dist/components/list-box/ListBoxSection.js +15 -14
  207. package/dist/components/list-box/context.js +2 -2
  208. package/dist/components/list-box/index.js +11 -16
  209. package/dist/components/live-chat/LiveChat.css +324 -324
  210. package/dist/components/live-chat/LiveChatBubble.js +28 -28
  211. package/dist/components/live-chat/LiveChatPanel.js +67 -67
  212. package/dist/components/live-chat/index.js +2 -5
  213. package/dist/components/menu/Menu.css +199 -199
  214. package/dist/components/menu/Menu.js +24 -28
  215. package/dist/components/menu/MenuItem.js +37 -36
  216. package/dist/components/menu/MenuSection.js +15 -14
  217. package/dist/components/menu/context.js +2 -2
  218. package/dist/components/menu/index.js +4 -12
  219. package/dist/components/meter/Meter.css +89 -89
  220. package/dist/components/meter/Meter.js +35 -34
  221. package/dist/components/meter/index.js +1 -8
  222. package/dist/components/modal/Modal.css +320 -320
  223. package/dist/components/modal/Modal.js +79 -78
  224. package/dist/components/modal/index.js +1 -13
  225. package/dist/components/navbar/Navbar.classes.d.ts +9 -0
  226. package/dist/components/navbar/Navbar.classes.js +9 -0
  227. package/dist/components/navbar/Navbar.css +110 -110
  228. package/dist/components/navbar/Navbar.js +16 -16
  229. package/dist/components/navbar/NavbarRow.js +11 -11
  230. package/dist/components/navbar/NavbarSection.js +10 -10
  231. package/dist/components/navbar/NavbarStack.js +11 -11
  232. package/dist/components/navbar/index.js +1 -3
  233. package/dist/components/noise-background/NoiseBackground.css +66 -66
  234. package/dist/components/noise-background/NoiseBackground.js +33 -33
  235. package/dist/components/noise-background/index.js +1 -3
  236. package/dist/components/number-field/NumberField.css +198 -198
  237. package/dist/components/number-field/NumberField.js +43 -42
  238. package/dist/components/number-field/index.js +1 -9
  239. package/dist/components/pagination/Pagination.css +121 -121
  240. package/dist/components/pagination/Pagination.js +32 -32
  241. package/dist/components/pagination/index.js +1 -3
  242. package/dist/components/password-field/PasswordField.js +18 -17
  243. package/dist/components/password-field/index.js +1 -3
  244. package/dist/components/password-requirements/PasswordRequirements.js +22 -22
  245. package/dist/components/password-requirements/index.js +1 -3
  246. package/dist/components/password-rules/index.js +1 -4
  247. package/dist/components/popover/Popover.css +117 -117
  248. package/dist/components/popover/Popover.js +52 -51
  249. package/dist/components/popover/index.js +4 -9
  250. package/dist/components/progress-bar/ProgressBar.css +104 -104
  251. package/dist/components/progress-bar/ProgressBar.js +28 -28
  252. package/dist/components/progress-bar/index.js +1 -3
  253. package/dist/components/progress-circle/ProgressCircle.css +82 -82
  254. package/dist/components/progress-circle/ProgressCircle.js +30 -30
  255. package/dist/components/progress-circle/index.js +1 -3
  256. package/dist/components/radio/Radio.css +129 -129
  257. package/dist/components/radio/Radio.js +28 -28
  258. package/dist/components/radio/index.js +1 -3
  259. package/dist/components/radio-group/RadioGroup.css +58 -58
  260. package/dist/components/radio-group/RadioGroup.js +31 -31
  261. package/dist/components/radio-group/context.js +2 -2
  262. package/dist/components/radio-group/index.js +4 -4
  263. package/dist/components/range-calendar/RangeCalendar.css +51 -51
  264. package/dist/components/range-calendar/RangeCalendar.js +18 -18
  265. package/dist/components/range-calendar/index.js +1 -3
  266. package/dist/components/scroll-shadow/ScrollShadow.css +93 -93
  267. package/dist/components/scroll-shadow/ScrollShadow.js +17 -17
  268. package/dist/components/scroll-shadow/index.js +1 -3
  269. package/dist/components/scroll-shadow/useScrollShadow.js +4 -4
  270. package/dist/components/search-field/SearchField.css +183 -183
  271. package/dist/components/search-field/SearchField.js +42 -41
  272. package/dist/components/search-field/index.js +1 -9
  273. package/dist/components/select/Select.css +284 -284
  274. package/dist/components/select/Select.js +130 -130
  275. package/dist/components/select/index.js +1 -3
  276. package/dist/components/separator/Separator.css +35 -35
  277. package/dist/components/separator/Separator.js +12 -11
  278. package/dist/components/separator/index.js +1 -4
  279. package/dist/components/size-picker/SizePicker.js +17 -17
  280. package/dist/components/size-picker/index.js +2 -6
  281. package/dist/components/size-picker/sizeStore.js +5 -5
  282. package/dist/components/skeleton/Skeleton.css +95 -95
  283. package/dist/components/skeleton/Skeleton.js +9 -9
  284. package/dist/components/skeleton/index.js +1 -3
  285. package/dist/components/slider/Slider.css +122 -122
  286. package/dist/components/slider/Slider.js +27 -27
  287. package/dist/components/slider/index.js +1 -3
  288. package/dist/components/spinner/Spinner.css +131 -131
  289. package/dist/components/spinner/Spinner.js +17 -17
  290. package/dist/components/spinner/index.js +1 -5
  291. package/dist/components/surface/Surface.css +37 -37
  292. package/dist/components/surface/Surface.js +11 -10
  293. package/dist/components/surface/index.js +1 -4
  294. package/dist/components/table/ExpandToggle.js +14 -14
  295. package/dist/components/table/InlineConfirm.js +12 -12
  296. package/dist/components/table/MobileListView.js +24 -24
  297. package/dist/components/table/SortIcon.js +11 -11
  298. package/dist/components/table/Table.css +426 -426
  299. package/dist/components/table/Table.js +82 -81
  300. package/dist/components/table/VirtualSpacerRow.js +9 -9
  301. package/dist/components/table/index.js +7 -38
  302. package/dist/components/tabs/Tabs.css +203 -203
  303. package/dist/components/tabs/Tabs.js +62 -61
  304. package/dist/components/tabs/index.js +1 -4
  305. package/dist/components/tag/Tag.css +121 -121
  306. package/dist/components/tag/Tag.js +41 -40
  307. package/dist/components/tag/index.js +3 -6
  308. package/dist/components/tag-group/TagGroup.css +22 -22
  309. package/dist/components/tag-group/TagGroup.js +24 -23
  310. package/dist/components/tag-group/context.js +2 -2
  311. package/dist/components/tag-group/index.js +1 -6
  312. package/dist/components/text/Text.css +66 -66
  313. package/dist/components/text/Text.js +11 -10
  314. package/dist/components/text/index.js +1 -5
  315. package/dist/components/text-area/TextArea.css +95 -95
  316. package/dist/components/text-area/TextArea.js +14 -13
  317. package/dist/components/text-area/index.js +1 -5
  318. package/dist/components/text-field/TextField.css +33 -33
  319. package/dist/components/text-field/TextField.js +14 -13
  320. package/dist/components/text-field/index.js +3 -7
  321. package/dist/components/textarea/Textarea.js +10 -11
  322. package/dist/components/textarea/index.js +1 -6
  323. package/dist/components/theme-color-picker/ThemeColorPicker.js +52 -52
  324. package/dist/components/theme-color-picker/hueShift.js +8 -8
  325. package/dist/components/theme-color-picker/index.js +2 -7
  326. package/dist/components/time-field/TimeField.css +215 -215
  327. package/dist/components/time-field/TimeField.js +43 -42
  328. package/dist/components/time-field/index.js +3 -11
  329. package/dist/components/toast/Toast.css +344 -344
  330. package/dist/components/toast/Toast.js +101 -100
  331. package/dist/components/toast/index.js +1 -19
  332. package/dist/components/toggle/Toggle.css +237 -237
  333. package/dist/components/toggle/Toggle.js +31 -31
  334. package/dist/components/toggle/index.js +1 -3
  335. package/dist/components/toolbar/Toolbar.css +55 -55
  336. package/dist/components/toolbar/Toolbar.js +12 -11
  337. package/dist/components/toolbar/index.js +1 -5
  338. package/dist/components/tooltip/Tooltip.css +153 -153
  339. package/dist/components/tooltip/Tooltip.js +40 -39
  340. package/dist/components/tooltip/index.js +1 -7
  341. package/dist/components/utils.js +6 -7
  342. package/dist/components/video-preview/VideoPreview.js +14 -13
  343. package/dist/components/video-preview/index.js +1 -3
  344. package/dist/hooks/date/useCalendarNavigation.js +18 -18
  345. package/dist/hooks/date/useCalendarState.js +19 -19
  346. package/dist/hooks/date/useDateSelection.js +7 -7
  347. package/dist/hooks/date/usePickerOpenState.js +8 -8
  348. package/dist/hooks/date/useRangeSelection.js +16 -16
  349. package/dist/hooks/form/FormContext.js +3 -3
  350. package/dist/hooks/form/createForm.js +4 -4
  351. package/dist/hooks/form/index.js +4 -10
  352. package/dist/hooks/form/useFieldNew.js +10 -10
  353. package/dist/hooks/layout/index.js +1 -3
  354. package/dist/hooks/layout/useDesktop.js +4 -4
  355. package/dist/hooks/table/index.js +8 -18
  356. package/dist/hooks/table/useAnchoredOverlayPosition.js +5 -5
  357. package/dist/hooks/table/useTableExpansion.js +4 -4
  358. package/dist/hooks/table/useTableFiltering.js +8 -8
  359. package/dist/hooks/table/useTableModel.js +10 -10
  360. package/dist/hooks/table/useTablePagination.js +4 -4
  361. package/dist/hooks/table/useTableSelection.js +4 -4
  362. package/dist/hooks/table/useTableSorting.js +6 -6
  363. package/dist/index.css +74 -74
  364. package/dist/index.js +108 -398
  365. package/dist/lib/refs/index.js +1 -3
  366. package/dist/lib/refs/mergeRefs.js +2 -2
  367. package/dist/lib/style/index.js +1 -4
  368. package/dist/lib/tag/createIsButton.js +4 -4
  369. package/dist/lib/tag/createTagName.js +2 -2
  370. package/dist/lib/tag/index.js +2 -7
  371. package/dist/motion/engine.js +4 -4
  372. package/dist/motion/index.js +10 -39
  373. package/dist/motion/popmotion.js +2 -2
  374. package/dist/motion/presets.js +4 -4
  375. package/dist/motion/route.js +7 -7
  376. package/dist/motion/solid/AnimatedCollapse.js +27 -26
  377. package/dist/motion/solid/MotionDiv.js +17 -16
  378. package/dist/motion/solid/Presence.js +13 -12
  379. package/dist/motion/solid/index.js +3 -10
  380. package/dist/motion/system.js +9 -9
  381. package/dist/primitives/streaming/index.js +2 -5
  382. package/dist/primitives/streaming/useStreamingBuffer.js +2 -2
  383. package/dist/primitives/streaming/useStreamingSubscription.js +7 -7
  384. package/dist/primitives/virtualizer/index.js +1 -3
  385. package/dist/primitives/virtualizer/useVirtualRows.js +7 -7
  386. package/dist/purge-manifest.json +15350 -15141
  387. package/dist/styles/base/index.css +43 -43
  388. package/dist/styles/icons/generated-icons.css +1 -173
  389. package/dist/styles/themes/dark.css +141 -141
  390. package/dist/styles/themes/light.css +143 -143
  391. package/package.json +31 -31
@@ -1,324 +1,324 @@
1
- @layer components {
2
- .live-chat-bubble {
3
- position: fixed;
4
- bottom: 1.25rem;
5
- z-index: 50;
6
- width: 3rem;
7
- height: 3rem;
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- border-radius: 9999px;
12
- border: 0;
13
- background: var(--color-primary);
14
- color: var(--color-primary-content);
15
- box-shadow: 0 10px 20px color-mix(in oklab, var(--color-base-content) 16%, transparent);
16
- transition:
17
- transform 200ms ease,
18
- box-shadow 200ms ease,
19
- opacity 200ms ease;
20
- }
21
-
22
- .live-chat-bubble:hover {
23
- box-shadow: 0 14px 28px color-mix(in oklab, var(--color-base-content) 22%, transparent);
24
- }
25
-
26
- .live-chat-bubble:active {
27
- transform: scale(0.95);
28
- }
29
-
30
- .live-chat-bubble:focus-visible {
31
- outline: 2px solid color-mix(in oklab, var(--color-primary) 72%, transparent);
32
- outline-offset: 2px;
33
- }
34
-
35
- .live-chat-bubble--right {
36
- right: 1rem;
37
- }
38
-
39
- .live-chat-bubble--left {
40
- left: 1rem;
41
- }
42
-
43
- .live-chat-bubble__icon {
44
- width: 1.25rem;
45
- height: 1.25rem;
46
- }
47
-
48
- .live-chat-bubble__badge {
49
- position: absolute;
50
- top: -0.25rem;
51
- right: -0.25rem;
52
- width: 1.25rem;
53
- height: 1.25rem;
54
- border-radius: 9999px;
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- background: var(--color-error);
59
- color: var(--color-error-content);
60
- font-size: 0.75rem;
61
- font-weight: 700;
62
- animation: live-chat-pulse 1s ease-in-out infinite;
63
- }
64
-
65
- .live-chat-bubble__ping {
66
- pointer-events: none;
67
- position: absolute;
68
- inset: 0;
69
- border-radius: 9999px;
70
- background: var(--color-primary);
71
- opacity: 0.2;
72
- animation: live-chat-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
73
- transition: opacity 200ms ease;
74
- }
75
-
76
- .live-chat-bubble:hover .live-chat-bubble__ping {
77
- opacity: 0;
78
- }
79
-
80
- .live-chat-panel {
81
- position: fixed;
82
- inset: 0;
83
- z-index: 51;
84
- width: 100%;
85
- height: 100%;
86
- display: flex;
87
- flex-direction: column;
88
- overflow: hidden;
89
- background: var(--color-base-100);
90
- box-shadow: 0 30px 70px color-mix(in oklab, var(--color-base-content) 18%, transparent);
91
- }
92
-
93
- .live-chat-panel__header {
94
- flex-shrink: 0;
95
- display: flex;
96
- align-items: center;
97
- justify-content: space-between;
98
- padding: 1rem;
99
- background: var(--color-primary);
100
- color: var(--color-primary-content);
101
- }
102
-
103
- .live-chat-panel__header-title-wrap {
104
- display: flex;
105
- align-items: center;
106
- gap: 0.5rem;
107
- }
108
-
109
- .live-chat-panel__header-icon,
110
- .live-chat-panel__close-icon {
111
- width: 1.25rem;
112
- height: 1.25rem;
113
- }
114
-
115
- .live-chat-panel__header-title {
116
- font-weight: 600;
117
- font-size: 1.125rem;
118
- }
119
-
120
- .live-chat-panel__close-button {
121
- display: inline-flex;
122
- align-items: center;
123
- justify-content: center;
124
- border-radius: 0.5rem;
125
- padding: 0.25rem;
126
- transition: background-color 150ms ease;
127
- }
128
-
129
- .live-chat-panel__close-button:hover {
130
- background: color-mix(in oklab, var(--color-primary-content) 10%, transparent);
131
- }
132
-
133
- .live-chat-panel__messages {
134
- flex: 1;
135
- overflow-y: auto;
136
- padding: 1rem;
137
- display: flex;
138
- flex-direction: column;
139
- gap: 1rem;
140
- }
141
-
142
- .live-chat-panel__row {
143
- width: 100%;
144
- display: flex;
145
- gap: 0.5rem;
146
- }
147
-
148
- .live-chat-panel__row--user {
149
- flex-direction: row-reverse;
150
- }
151
-
152
- .live-chat-panel__row--agent {
153
- flex-direction: row;
154
- }
155
-
156
- .live-chat-panel__avatar {
157
- flex-shrink: 0;
158
- width: 2rem;
159
- height: 2rem;
160
- border-radius: 9999px;
161
- display: flex;
162
- align-items: center;
163
- justify-content: center;
164
- font-size: 0.75rem;
165
- font-weight: 600;
166
- }
167
-
168
- .live-chat-panel__avatar--user {
169
- background: var(--color-primary);
170
- color: var(--color-primary-content);
171
- }
172
-
173
- .live-chat-panel__avatar--agent {
174
- background: var(--color-base-300);
175
- color: var(--color-base-content);
176
- }
177
-
178
- .live-chat-panel__message-column {
179
- max-width: 75%;
180
- display: flex;
181
- flex-direction: column;
182
- }
183
-
184
- .live-chat-panel__message-column--user {
185
- align-items: flex-end;
186
- }
187
-
188
- .live-chat-panel__message-column--agent {
189
- align-items: flex-start;
190
- }
191
-
192
- .live-chat-panel__message-bubble {
193
- padding: 0.5rem 0.75rem;
194
- border-radius: 1rem;
195
- }
196
-
197
- .live-chat-panel__message-bubble--user {
198
- background: var(--color-primary);
199
- color: var(--color-primary-content);
200
- border-top-right-radius: 0.125rem;
201
- }
202
-
203
- .live-chat-panel__message-bubble--agent {
204
- background: var(--color-base-200);
205
- color: var(--color-base-content);
206
- border-top-left-radius: 0.125rem;
207
- }
208
-
209
- .live-chat-panel__message-text {
210
- font-size: 0.875rem;
211
- line-height: 1.5;
212
- white-space: pre-wrap;
213
- word-break: break-word;
214
- }
215
-
216
- .live-chat-panel__timestamp {
217
- margin-top: 0.25rem;
218
- padding-inline: 0.25rem;
219
- color: color-mix(in oklab, var(--color-base-content) 50%, transparent);
220
- font-size: 0.75rem;
221
- }
222
-
223
- .live-chat-panel__empty {
224
- height: 100%;
225
- display: flex;
226
- align-items: center;
227
- justify-content: center;
228
- color: color-mix(in oklab, var(--color-base-content) 50%, transparent);
229
- font-size: 0.875rem;
230
- }
231
-
232
- .live-chat-panel__input-area {
233
- flex-shrink: 0;
234
- border-top: 1px solid var(--color-base-300);
235
- background: var(--color-base-100);
236
- padding: 0.75rem;
237
- display: flex;
238
- gap: 0.5rem;
239
- }
240
-
241
- .live-chat-panel__input {
242
- flex: 1;
243
- }
244
-
245
- .live-chat-panel__send-button {
246
- padding: 0.5rem 1rem;
247
- }
248
-
249
- .live-chat-panel__spinner {
250
- width: 1rem;
251
- height: 1rem;
252
- border-radius: 9999px;
253
- display: inline-block;
254
- border: 2px solid color-mix(in oklab, var(--color-primary-content) 30%, transparent);
255
- border-top-color: var(--color-primary-content);
256
- animation: live-chat-spin 0.7s linear infinite;
257
- }
258
-
259
- @media (min-width: 640px) {
260
- .live-chat-bubble {
261
- width: 3.5rem;
262
- height: 3.5rem;
263
- }
264
-
265
- .live-chat-bubble--right {
266
- right: 1rem;
267
- }
268
-
269
- .live-chat-bubble--left {
270
- left: 1rem;
271
- }
272
-
273
- .live-chat-bubble__icon {
274
- width: 1.5rem;
275
- height: 1.5rem;
276
- }
277
-
278
- .live-chat-panel {
279
- inset: auto;
280
- bottom: 5rem;
281
- right: 1rem;
282
- width: 24rem;
283
- height: 70vh;
284
- max-height: 50rem;
285
- min-height: 26.25rem;
286
- border-radius: 1rem;
287
- }
288
- }
289
-
290
- @media (min-width: 768px) {
291
- .live-chat-panel {
292
- bottom: 6rem;
293
- right: 1.5rem;
294
- width: 25rem;
295
- height: 75vh;
296
- }
297
- }
298
-
299
- @media (min-width: 1024px) {
300
- .live-chat-panel {
301
- height: 80vh;
302
- }
303
- }
304
-
305
- @keyframes live-chat-spin {
306
- to {
307
- transform: rotate(360deg);
308
- }
309
- }
310
-
311
- @keyframes live-chat-ping {
312
- 75%,
313
- 100% {
314
- transform: scale(1.7);
315
- opacity: 0;
316
- }
317
- }
318
-
319
- @keyframes live-chat-pulse {
320
- 50% {
321
- opacity: 0.8;
322
- }
323
- }
324
- }
1
+ @layer components {
2
+ .live-chat-bubble {
3
+ position: fixed;
4
+ bottom: 1.25rem;
5
+ z-index: 50;
6
+ width: 3rem;
7
+ height: 3rem;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ border-radius: 9999px;
12
+ border: 0;
13
+ background: var(--color-primary);
14
+ color: var(--color-primary-content);
15
+ box-shadow: 0 10px 20px color-mix(in oklab, var(--color-base-content) 16%, transparent);
16
+ transition:
17
+ transform 200ms ease,
18
+ box-shadow 200ms ease,
19
+ opacity 200ms ease;
20
+ }
21
+
22
+ .live-chat-bubble:hover {
23
+ box-shadow: 0 14px 28px color-mix(in oklab, var(--color-base-content) 22%, transparent);
24
+ }
25
+
26
+ .live-chat-bubble:active {
27
+ transform: scale(0.95);
28
+ }
29
+
30
+ .live-chat-bubble:focus-visible {
31
+ outline: 2px solid color-mix(in oklab, var(--color-primary) 72%, transparent);
32
+ outline-offset: 2px;
33
+ }
34
+
35
+ .live-chat-bubble--right {
36
+ right: 1rem;
37
+ }
38
+
39
+ .live-chat-bubble--left {
40
+ left: 1rem;
41
+ }
42
+
43
+ .live-chat-bubble__icon {
44
+ width: 1.25rem;
45
+ height: 1.25rem;
46
+ }
47
+
48
+ .live-chat-bubble__badge {
49
+ position: absolute;
50
+ top: -0.25rem;
51
+ right: -0.25rem;
52
+ width: 1.25rem;
53
+ height: 1.25rem;
54
+ border-radius: 9999px;
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ background: var(--color-error);
59
+ color: var(--color-error-content);
60
+ font-size: 0.75rem;
61
+ font-weight: 700;
62
+ animation: live-chat-pulse 1s ease-in-out infinite;
63
+ }
64
+
65
+ .live-chat-bubble__ping {
66
+ pointer-events: none;
67
+ position: absolute;
68
+ inset: 0;
69
+ border-radius: 9999px;
70
+ background: var(--color-primary);
71
+ opacity: 0.2;
72
+ animation: live-chat-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
73
+ transition: opacity 200ms ease;
74
+ }
75
+
76
+ .live-chat-bubble:hover .live-chat-bubble__ping {
77
+ opacity: 0;
78
+ }
79
+
80
+ .live-chat-panel {
81
+ position: fixed;
82
+ inset: 0;
83
+ z-index: 51;
84
+ width: 100%;
85
+ height: 100%;
86
+ display: flex;
87
+ flex-direction: column;
88
+ overflow: hidden;
89
+ background: var(--color-base-100);
90
+ box-shadow: 0 30px 70px color-mix(in oklab, var(--color-base-content) 18%, transparent);
91
+ }
92
+
93
+ .live-chat-panel__header {
94
+ flex-shrink: 0;
95
+ display: flex;
96
+ align-items: center;
97
+ justify-content: space-between;
98
+ padding: 1rem;
99
+ background: var(--color-primary);
100
+ color: var(--color-primary-content);
101
+ }
102
+
103
+ .live-chat-panel__header-title-wrap {
104
+ display: flex;
105
+ align-items: center;
106
+ gap: 0.5rem;
107
+ }
108
+
109
+ .live-chat-panel__header-icon,
110
+ .live-chat-panel__close-icon {
111
+ width: 1.25rem;
112
+ height: 1.25rem;
113
+ }
114
+
115
+ .live-chat-panel__header-title {
116
+ font-weight: 600;
117
+ font-size: 1.125rem;
118
+ }
119
+
120
+ .live-chat-panel__close-button {
121
+ display: inline-flex;
122
+ align-items: center;
123
+ justify-content: center;
124
+ border-radius: 0.5rem;
125
+ padding: 0.25rem;
126
+ transition: background-color 150ms ease;
127
+ }
128
+
129
+ .live-chat-panel__close-button:hover {
130
+ background: color-mix(in oklab, var(--color-primary-content) 10%, transparent);
131
+ }
132
+
133
+ .live-chat-panel__messages {
134
+ flex: 1;
135
+ overflow-y: auto;
136
+ padding: 1rem;
137
+ display: flex;
138
+ flex-direction: column;
139
+ gap: 1rem;
140
+ }
141
+
142
+ .live-chat-panel__row {
143
+ width: 100%;
144
+ display: flex;
145
+ gap: 0.5rem;
146
+ }
147
+
148
+ .live-chat-panel__row--user {
149
+ flex-direction: row-reverse;
150
+ }
151
+
152
+ .live-chat-panel__row--agent {
153
+ flex-direction: row;
154
+ }
155
+
156
+ .live-chat-panel__avatar {
157
+ flex-shrink: 0;
158
+ width: 2rem;
159
+ height: 2rem;
160
+ border-radius: 9999px;
161
+ display: flex;
162
+ align-items: center;
163
+ justify-content: center;
164
+ font-size: 0.75rem;
165
+ font-weight: 600;
166
+ }
167
+
168
+ .live-chat-panel__avatar--user {
169
+ background: var(--color-primary);
170
+ color: var(--color-primary-content);
171
+ }
172
+
173
+ .live-chat-panel__avatar--agent {
174
+ background: var(--color-base-300);
175
+ color: var(--color-base-content);
176
+ }
177
+
178
+ .live-chat-panel__message-column {
179
+ max-width: 75%;
180
+ display: flex;
181
+ flex-direction: column;
182
+ }
183
+
184
+ .live-chat-panel__message-column--user {
185
+ align-items: flex-end;
186
+ }
187
+
188
+ .live-chat-panel__message-column--agent {
189
+ align-items: flex-start;
190
+ }
191
+
192
+ .live-chat-panel__message-bubble {
193
+ padding: 0.5rem 0.75rem;
194
+ border-radius: 1rem;
195
+ }
196
+
197
+ .live-chat-panel__message-bubble--user {
198
+ background: var(--color-primary);
199
+ color: var(--color-primary-content);
200
+ border-top-right-radius: 0.125rem;
201
+ }
202
+
203
+ .live-chat-panel__message-bubble--agent {
204
+ background: var(--color-base-200);
205
+ color: var(--color-base-content);
206
+ border-top-left-radius: 0.125rem;
207
+ }
208
+
209
+ .live-chat-panel__message-text {
210
+ font-size: 0.875rem;
211
+ line-height: 1.5;
212
+ white-space: pre-wrap;
213
+ word-break: break-word;
214
+ }
215
+
216
+ .live-chat-panel__timestamp {
217
+ margin-top: 0.25rem;
218
+ padding-inline: 0.25rem;
219
+ color: color-mix(in oklab, var(--color-base-content) 50%, transparent);
220
+ font-size: 0.75rem;
221
+ }
222
+
223
+ .live-chat-panel__empty {
224
+ height: 100%;
225
+ display: flex;
226
+ align-items: center;
227
+ justify-content: center;
228
+ color: color-mix(in oklab, var(--color-base-content) 50%, transparent);
229
+ font-size: 0.875rem;
230
+ }
231
+
232
+ .live-chat-panel__input-area {
233
+ flex-shrink: 0;
234
+ border-top: 1px solid var(--color-base-300);
235
+ background: var(--color-base-100);
236
+ padding: 0.75rem;
237
+ display: flex;
238
+ gap: 0.5rem;
239
+ }
240
+
241
+ .live-chat-panel__input {
242
+ flex: 1;
243
+ }
244
+
245
+ .live-chat-panel__send-button {
246
+ padding: 0.5rem 1rem;
247
+ }
248
+
249
+ .live-chat-panel__spinner {
250
+ width: 1rem;
251
+ height: 1rem;
252
+ border-radius: 9999px;
253
+ display: inline-block;
254
+ border: 2px solid color-mix(in oklab, var(--color-primary-content) 30%, transparent);
255
+ border-top-color: var(--color-primary-content);
256
+ animation: live-chat-spin 0.7s linear infinite;
257
+ }
258
+
259
+ @media (min-width: 640px) {
260
+ .live-chat-bubble {
261
+ width: 3.5rem;
262
+ height: 3.5rem;
263
+ }
264
+
265
+ .live-chat-bubble--right {
266
+ right: 1rem;
267
+ }
268
+
269
+ .live-chat-bubble--left {
270
+ left: 1rem;
271
+ }
272
+
273
+ .live-chat-bubble__icon {
274
+ width: 1.5rem;
275
+ height: 1.5rem;
276
+ }
277
+
278
+ .live-chat-panel {
279
+ inset: auto;
280
+ bottom: 5rem;
281
+ right: 1rem;
282
+ width: 24rem;
283
+ height: 70vh;
284
+ max-height: 50rem;
285
+ min-height: 26.25rem;
286
+ border-radius: 1rem;
287
+ }
288
+ }
289
+
290
+ @media (min-width: 768px) {
291
+ .live-chat-panel {
292
+ bottom: 6rem;
293
+ right: 1.5rem;
294
+ width: 25rem;
295
+ height: 75vh;
296
+ }
297
+ }
298
+
299
+ @media (min-width: 1024px) {
300
+ .live-chat-panel {
301
+ height: 80vh;
302
+ }
303
+ }
304
+
305
+ @keyframes live-chat-spin {
306
+ to {
307
+ transform: rotate(360deg);
308
+ }
309
+ }
310
+
311
+ @keyframes live-chat-ping {
312
+ 75%,
313
+ 100% {
314
+ transform: scale(1.7);
315
+ opacity: 0;
316
+ }
317
+ }
318
+
319
+ @keyframes live-chat-pulse {
320
+ 50% {
321
+ opacity: 0.8;
322
+ }
323
+ }
324
+ }