@agent-native/core 0.76.3 → 0.76.4

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 (421) hide show
  1. package/corpus/core/CHANGELOG.md +6 -0
  2. package/corpus/core/package.json +1 -1
  3. package/corpus/core/src/client/AgentPanel.tsx +3 -3
  4. package/corpus/core/src/client/AgentTaskCard.tsx +2 -1
  5. package/corpus/core/src/client/AppearancePicker.tsx +1 -1
  6. package/corpus/core/src/client/AssistantChat.tsx +3 -3
  7. package/corpus/core/src/client/CommandMenu.tsx +4 -4
  8. package/corpus/core/src/client/ErrorBoundary.tsx +1 -1
  9. package/corpus/core/src/client/MultiTabAssistantChat.tsx +11 -11
  10. package/corpus/core/src/client/NewWorkspaceAppFlow.tsx +5 -5
  11. package/corpus/core/src/client/components/ui/dropdown-menu.tsx +9 -9
  12. package/corpus/core/src/client/components/ui/sheet.tsx +1 -1
  13. package/corpus/core/src/client/composer/ComposerPlusMenu.tsx +6 -6
  14. package/corpus/core/src/client/composer/MentionPopover.tsx +4 -4
  15. package/corpus/core/src/client/composer/PastedTextChip.tsx +3 -3
  16. package/corpus/core/src/client/composer/PromptComposer.tsx +3 -3
  17. package/corpus/core/src/client/composer/TiptapComposer.tsx +16 -16
  18. package/corpus/core/src/client/guided-questions.tsx +6 -8
  19. package/corpus/core/src/client/i18n.tsx +2 -2
  20. package/corpus/core/src/client/integrations/IntegrationCard.tsx +2 -2
  21. package/corpus/core/src/client/integrations/IntegrationsPanel.tsx +4 -4
  22. package/corpus/core/src/client/notifications/NotificationsBell.tsx +3 -3
  23. package/corpus/core/src/client/onboarding/OnboardingBanner.tsx +3 -3
  24. package/corpus/core/src/client/onboarding/OnboardingPanel.tsx +17 -10
  25. package/corpus/core/src/client/org/OrgSwitcher.tsx +13 -11
  26. package/corpus/core/src/client/org/TeamPage.tsx +2 -2
  27. package/corpus/core/src/client/settings/AgentsSection.tsx +3 -3
  28. package/corpus/core/src/client/settings/AutomationsSection.tsx +3 -3
  29. package/corpus/core/src/client/settings/SecretsSection.tsx +2 -2
  30. package/corpus/core/src/client/settings/SettingsPanel.tsx +5 -7
  31. package/corpus/core/src/client/settings/SettingsSection.tsx +1 -1
  32. package/corpus/core/src/client/settings/UsageSection.tsx +3 -3
  33. package/corpus/core/src/client/settings/VoiceTranscriptionSection.tsx +3 -3
  34. package/corpus/core/src/client/sharing/ShareButton.tsx +7 -7
  35. package/corpus/core/src/client/sharing/ShareDialog.tsx +3 -3
  36. package/corpus/core/src/styles/agent-conversation.css +10 -10
  37. package/corpus/core/src/styles/blocks.css +2 -2
  38. package/corpus/core/src/styles/rich-markdown-editor.css +2 -2
  39. package/corpus/templates/analytics/app/components/layout/MobileNav.tsx +1 -1
  40. package/corpus/templates/analytics/app/components/ui/alert-dialog.tsx +1 -1
  41. package/corpus/templates/analytics/app/components/ui/alert.tsx +1 -1
  42. package/corpus/templates/analytics/app/components/ui/breadcrumb.tsx +1 -1
  43. package/corpus/templates/analytics/app/components/ui/calendar.tsx +6 -6
  44. package/corpus/templates/analytics/app/components/ui/carousel.tsx +6 -6
  45. package/corpus/templates/analytics/app/components/ui/command.tsx +2 -2
  46. package/corpus/templates/analytics/app/components/ui/context-menu.tsx +9 -9
  47. package/corpus/templates/analytics/app/components/ui/date-picker.tsx +1 -1
  48. package/corpus/templates/analytics/app/components/ui/dialog.tsx +2 -2
  49. package/corpus/templates/analytics/app/components/ui/drawer.tsx +1 -1
  50. package/corpus/templates/analytics/app/components/ui/dropdown-menu.tsx +9 -9
  51. package/corpus/templates/analytics/app/components/ui/input-otp.tsx +1 -1
  52. package/corpus/templates/analytics/app/components/ui/menubar.tsx +9 -9
  53. package/corpus/templates/analytics/app/components/ui/navigation-menu.tsx +3 -3
  54. package/corpus/templates/analytics/app/components/ui/pagination.tsx +4 -4
  55. package/corpus/templates/analytics/app/components/ui/scroll-area.tsx +1 -1
  56. package/corpus/templates/analytics/app/components/ui/select.tsx +3 -3
  57. package/corpus/templates/analytics/app/components/ui/sheet.tsx +2 -2
  58. package/corpus/templates/analytics/app/components/ui/sidebar.tsx +6 -6
  59. package/corpus/templates/analytics/app/components/ui/table.tsx +2 -2
  60. package/corpus/templates/analytics/app/components/ui/toast.tsx +3 -3
  61. package/corpus/templates/assets/app/components/layout/Layout.tsx +2 -2
  62. package/corpus/templates/assets/app/components/layout/Sidebar.tsx +12 -12
  63. package/corpus/templates/assets/app/components/ui/alert-dialog.tsx +1 -1
  64. package/corpus/templates/assets/app/components/ui/alert.tsx +1 -1
  65. package/corpus/templates/assets/app/components/ui/breadcrumb.tsx +1 -1
  66. package/corpus/templates/assets/app/components/ui/dialog.tsx +2 -2
  67. package/corpus/templates/assets/app/components/ui/dropdown-menu.tsx +9 -9
  68. package/corpus/templates/assets/app/components/ui/pagination.tsx +4 -4
  69. package/corpus/templates/assets/app/components/ui/scroll-area.tsx +1 -1
  70. package/corpus/templates/assets/app/components/ui/select.tsx +3 -3
  71. package/corpus/templates/assets/app/components/ui/sheet.tsx +2 -2
  72. package/corpus/templates/assets/app/components/ui/table.tsx +2 -2
  73. package/corpus/templates/assets/app/routes/library.tsx +3 -3
  74. package/corpus/templates/assets/app/routes/settings.tsx +1 -1
  75. package/corpus/templates/brain/app/components/layout/Sidebar.tsx +5 -5
  76. package/corpus/templates/brain/app/components/ui/dropdown-menu.tsx +9 -9
  77. package/corpus/templates/brain/app/components/ui/select.tsx +3 -3
  78. package/corpus/templates/brain/app/components/ui/sheet.tsx +2 -2
  79. package/corpus/templates/brain/app/components/ui/table.tsx +2 -2
  80. package/corpus/templates/calendar/app/components/calendar/GoogleConnectBanner.tsx +6 -6
  81. package/corpus/templates/calendar/app/components/calendar/GoogleSetupWizard.tsx +3 -3
  82. package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +11 -9
  83. package/corpus/templates/calendar/app/components/ui/alert-dialog.tsx +1 -1
  84. package/corpus/templates/calendar/app/components/ui/alert.tsx +1 -1
  85. package/corpus/templates/calendar/app/components/ui/breadcrumb.tsx +1 -1
  86. package/corpus/templates/calendar/app/components/ui/calendar.tsx +5 -5
  87. package/corpus/templates/calendar/app/components/ui/carousel.tsx +6 -6
  88. package/corpus/templates/calendar/app/components/ui/command.tsx +2 -2
  89. package/corpus/templates/calendar/app/components/ui/context-menu.tsx +9 -9
  90. package/corpus/templates/calendar/app/components/ui/dialog.tsx +2 -2
  91. package/corpus/templates/calendar/app/components/ui/drawer.tsx +1 -1
  92. package/corpus/templates/calendar/app/components/ui/dropdown-menu.tsx +9 -9
  93. package/corpus/templates/calendar/app/components/ui/input-otp.tsx +1 -1
  94. package/corpus/templates/calendar/app/components/ui/menubar.tsx +9 -9
  95. package/corpus/templates/calendar/app/components/ui/navigation-menu.tsx +3 -3
  96. package/corpus/templates/calendar/app/components/ui/pagination.tsx +4 -4
  97. package/corpus/templates/calendar/app/components/ui/scroll-area.tsx +1 -1
  98. package/corpus/templates/calendar/app/components/ui/select.tsx +3 -3
  99. package/corpus/templates/calendar/app/components/ui/sheet.tsx +2 -2
  100. package/corpus/templates/calendar/app/components/ui/sidebar.tsx +6 -6
  101. package/corpus/templates/calendar/app/components/ui/sonner.tsx +1 -1
  102. package/corpus/templates/calendar/app/components/ui/table.tsx +2 -2
  103. package/corpus/templates/calendar/app/components/ui/toast.tsx +3 -3
  104. package/corpus/templates/calendar/app/pages/Settings.tsx +5 -5
  105. package/corpus/templates/chat/app/components/layout/Sidebar.tsx +9 -9
  106. package/corpus/templates/chat/app/components/ui/alert-dialog.tsx +1 -1
  107. package/corpus/templates/chat/app/components/ui/alert.tsx +1 -1
  108. package/corpus/templates/chat/app/components/ui/breadcrumb.tsx +1 -1
  109. package/corpus/templates/chat/app/components/ui/calendar.tsx +5 -5
  110. package/corpus/templates/chat/app/components/ui/carousel.tsx +6 -6
  111. package/corpus/templates/chat/app/components/ui/command.tsx +2 -2
  112. package/corpus/templates/chat/app/components/ui/context-menu.tsx +9 -9
  113. package/corpus/templates/chat/app/components/ui/dialog.tsx +2 -2
  114. package/corpus/templates/chat/app/components/ui/drawer.tsx +1 -1
  115. package/corpus/templates/chat/app/components/ui/dropdown-menu.tsx +9 -9
  116. package/corpus/templates/chat/app/components/ui/input-otp.tsx +1 -1
  117. package/corpus/templates/chat/app/components/ui/menubar.tsx +9 -9
  118. package/corpus/templates/chat/app/components/ui/navigation-menu.tsx +3 -3
  119. package/corpus/templates/chat/app/components/ui/pagination.tsx +4 -4
  120. package/corpus/templates/chat/app/components/ui/scroll-area.tsx +1 -1
  121. package/corpus/templates/chat/app/components/ui/select.tsx +3 -3
  122. package/corpus/templates/chat/app/components/ui/sheet.tsx +2 -2
  123. package/corpus/templates/chat/app/components/ui/sidebar.tsx +6 -6
  124. package/corpus/templates/chat/app/components/ui/table.tsx +2 -2
  125. package/corpus/templates/chat/app/components/ui/toast.tsx +3 -3
  126. package/corpus/templates/clips/app/components/capture-install-options.tsx +3 -3
  127. package/corpus/templates/clips/app/components/editable-recording-title.tsx +1 -1
  128. package/corpus/templates/clips/app/components/library/bulk-action-toolbar.tsx +3 -3
  129. package/corpus/templates/clips/app/components/library/folder-tree.tsx +5 -5
  130. package/corpus/templates/clips/app/components/library/library-layout.tsx +3 -3
  131. package/corpus/templates/clips/app/components/library/organization-switcher.tsx +4 -4
  132. package/corpus/templates/clips/app/components/library/recording-card.tsx +11 -11
  133. package/corpus/templates/clips/app/components/library/search-bar.tsx +4 -4
  134. package/corpus/templates/clips/app/components/library/space-card.tsx +1 -1
  135. package/corpus/templates/clips/app/components/library/tag-input.tsx +1 -1
  136. package/corpus/templates/clips/app/components/meetings/quick-ask-sidebar.tsx +2 -2
  137. package/corpus/templates/clips/app/components/recorder/camera-visualizer.tsx +2 -2
  138. package/corpus/templates/clips/app/components/recorder/microphone-visualizer.tsx +1 -1
  139. package/corpus/templates/clips/app/components/recorder/pre-record-panel.tsx +4 -4
  140. package/corpus/templates/clips/app/components/recorder/storage-setup-card.tsx +1 -1
  141. package/corpus/templates/clips/app/components/sharing/share-ui.tsx +2 -2
  142. package/corpus/templates/clips/app/components/ui/alert-dialog.tsx +1 -1
  143. package/corpus/templates/clips/app/components/ui/alert.tsx +1 -1
  144. package/corpus/templates/clips/app/components/ui/breadcrumb.tsx +1 -1
  145. package/corpus/templates/clips/app/components/ui/calendar.tsx +5 -5
  146. package/corpus/templates/clips/app/components/ui/carousel.tsx +6 -6
  147. package/corpus/templates/clips/app/components/ui/command.tsx +2 -2
  148. package/corpus/templates/clips/app/components/ui/context-menu.tsx +9 -9
  149. package/corpus/templates/clips/app/components/ui/dialog.tsx +2 -2
  150. package/corpus/templates/clips/app/components/ui/drawer.tsx +1 -1
  151. package/corpus/templates/clips/app/components/ui/dropdown-menu.tsx +9 -9
  152. package/corpus/templates/clips/app/components/ui/input-otp.tsx +1 -1
  153. package/corpus/templates/clips/app/components/ui/menubar.tsx +9 -9
  154. package/corpus/templates/clips/app/components/ui/navigation-menu.tsx +3 -3
  155. package/corpus/templates/clips/app/components/ui/pagination.tsx +4 -4
  156. package/corpus/templates/clips/app/components/ui/scroll-area.tsx +1 -1
  157. package/corpus/templates/clips/app/components/ui/select.tsx +3 -3
  158. package/corpus/templates/clips/app/components/ui/sheet.tsx +2 -2
  159. package/corpus/templates/clips/app/components/ui/sidebar.tsx +6 -6
  160. package/corpus/templates/clips/app/components/ui/table.tsx +2 -2
  161. package/corpus/templates/clips/app/components/ui/toast.tsx +3 -3
  162. package/corpus/templates/clips/app/components/workspace/branding-editor.tsx +1 -1
  163. package/corpus/templates/clips/app/components/workspace/insights-hub.tsx +2 -2
  164. package/corpus/templates/clips/app/components/workspace/invite-dialog.tsx +2 -2
  165. package/corpus/templates/clips/app/components/workspace/top-creators-table.tsx +6 -6
  166. package/corpus/templates/clips/app/components/workspace/top-videos-table.tsx +2 -2
  167. package/corpus/templates/clips/app/routes/_app.dictate.tsx +4 -4
  168. package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +7 -7
  169. package/corpus/templates/clips/app/routes/_app.settings._index.tsx +1 -1
  170. package/corpus/templates/clips/app/routes/download.tsx +2 -2
  171. package/corpus/templates/clips/app/routes/invite.$token.tsx +2 -2
  172. package/corpus/templates/clips/app/routes/r.$recordingId.tsx +3 -3
  173. package/corpus/templates/clips/app/routes/record.tsx +5 -5
  174. package/corpus/templates/clips/app/routes/share.$shareId.tsx +7 -7
  175. package/corpus/templates/content/app/components/EmptyState.tsx +1 -1
  176. package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +17 -17
  177. package/corpus/templates/content/app/components/layout/Layout.tsx +2 -2
  178. package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +10 -9
  179. package/corpus/templates/content/app/components/sidebar/DocumentTreeItem.tsx +10 -6
  180. package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +3 -3
  181. package/corpus/templates/content/app/components/ui/alert-dialog.tsx +1 -1
  182. package/corpus/templates/content/app/components/ui/dialog.tsx +2 -2
  183. package/corpus/templates/content/app/components/ui/dropdown-menu.tsx +9 -9
  184. package/corpus/templates/content/app/components/ui/scroll-area.tsx +1 -1
  185. package/corpus/templates/content/app/components/ui/sheet.tsx +2 -2
  186. package/corpus/templates/content/app/components/ui/table.tsx +2 -2
  187. package/corpus/templates/content/app/components/ui/toast.tsx +3 -3
  188. package/corpus/templates/design/app/components/layout/Layout.tsx +3 -3
  189. package/corpus/templates/design/app/components/layout/Sidebar.tsx +3 -3
  190. package/corpus/templates/design/app/components/ui/alert-dialog.tsx +1 -1
  191. package/corpus/templates/design/app/components/ui/alert.tsx +1 -1
  192. package/corpus/templates/design/app/components/ui/breadcrumb.tsx +1 -1
  193. package/corpus/templates/design/app/components/ui/calendar.tsx +5 -5
  194. package/corpus/templates/design/app/components/ui/carousel.tsx +6 -6
  195. package/corpus/templates/design/app/components/ui/command.tsx +2 -2
  196. package/corpus/templates/design/app/components/ui/context-menu.tsx +9 -9
  197. package/corpus/templates/design/app/components/ui/dialog.tsx +2 -2
  198. package/corpus/templates/design/app/components/ui/drawer.tsx +1 -1
  199. package/corpus/templates/design/app/components/ui/dropdown-menu.tsx +9 -9
  200. package/corpus/templates/design/app/components/ui/input-otp.tsx +1 -1
  201. package/corpus/templates/design/app/components/ui/menubar.tsx +9 -9
  202. package/corpus/templates/design/app/components/ui/navigation-menu.tsx +3 -3
  203. package/corpus/templates/design/app/components/ui/pagination.tsx +4 -4
  204. package/corpus/templates/design/app/components/ui/scroll-area.tsx +1 -1
  205. package/corpus/templates/design/app/components/ui/select.tsx +3 -3
  206. package/corpus/templates/design/app/components/ui/sheet.tsx +2 -2
  207. package/corpus/templates/design/app/components/ui/sidebar.tsx +6 -6
  208. package/corpus/templates/design/app/components/ui/table.tsx +2 -2
  209. package/corpus/templates/design/app/components/ui/toast.tsx +3 -3
  210. package/corpus/templates/design/app/pages/DesignSystems.tsx +6 -8
  211. package/corpus/templates/design/app/pages/Index.tsx +8 -8
  212. package/corpus/templates/design/app/pages/NotFound.tsx +1 -1
  213. package/corpus/templates/design/app/pages/Templates.tsx +2 -2
  214. package/corpus/templates/forms/app/components/layout/Sidebar.tsx +3 -3
  215. package/corpus/templates/forms/app/components/ui/alert-dialog.tsx +1 -1
  216. package/corpus/templates/forms/app/components/ui/alert.tsx +1 -1
  217. package/corpus/templates/forms/app/components/ui/breadcrumb.tsx +1 -1
  218. package/corpus/templates/forms/app/components/ui/calendar.tsx +9 -6
  219. package/corpus/templates/forms/app/components/ui/carousel.tsx +6 -6
  220. package/corpus/templates/forms/app/components/ui/command.tsx +2 -2
  221. package/corpus/templates/forms/app/components/ui/context-menu.tsx +9 -9
  222. package/corpus/templates/forms/app/components/ui/dialog.tsx +2 -2
  223. package/corpus/templates/forms/app/components/ui/drawer.tsx +1 -1
  224. package/corpus/templates/forms/app/components/ui/dropdown-menu.tsx +9 -9
  225. package/corpus/templates/forms/app/components/ui/input-otp.tsx +1 -1
  226. package/corpus/templates/forms/app/components/ui/menubar.tsx +9 -9
  227. package/corpus/templates/forms/app/components/ui/navigation-menu.tsx +3 -3
  228. package/corpus/templates/forms/app/components/ui/pagination.tsx +4 -4
  229. package/corpus/templates/forms/app/components/ui/scroll-area.tsx +1 -1
  230. package/corpus/templates/forms/app/components/ui/select.tsx +3 -3
  231. package/corpus/templates/forms/app/components/ui/sheet.tsx +2 -2
  232. package/corpus/templates/forms/app/components/ui/sidebar.tsx +6 -6
  233. package/corpus/templates/forms/app/components/ui/table.tsx +2 -2
  234. package/corpus/templates/forms/app/components/ui/toast.tsx +3 -3
  235. package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +18 -18
  236. package/corpus/templates/forms/app/pages/FormsListPage.tsx +9 -9
  237. package/corpus/templates/macros/app/components/layout/AppLayout.tsx +4 -4
  238. package/corpus/templates/macros/app/components/ui/alert-dialog.tsx +1 -1
  239. package/corpus/templates/macros/app/components/ui/alert.tsx +1 -1
  240. package/corpus/templates/macros/app/components/ui/breadcrumb.tsx +1 -1
  241. package/corpus/templates/macros/app/components/ui/command.tsx +2 -2
  242. package/corpus/templates/macros/app/components/ui/context-menu.tsx +9 -9
  243. package/corpus/templates/macros/app/components/ui/dialog.tsx +2 -2
  244. package/corpus/templates/macros/app/components/ui/drawer.tsx +1 -1
  245. package/corpus/templates/macros/app/components/ui/dropdown-menu.tsx +9 -9
  246. package/corpus/templates/macros/app/components/ui/menubar.tsx +9 -9
  247. package/corpus/templates/macros/app/components/ui/navigation-menu.tsx +3 -3
  248. package/corpus/templates/macros/app/components/ui/pagination.tsx +4 -4
  249. package/corpus/templates/macros/app/components/ui/scroll-area.tsx +1 -1
  250. package/corpus/templates/macros/app/components/ui/select.tsx +3 -3
  251. package/corpus/templates/macros/app/components/ui/sheet.tsx +2 -2
  252. package/corpus/templates/macros/app/components/ui/table.tsx +2 -2
  253. package/corpus/templates/macros/app/components/ui/toast.tsx +3 -3
  254. package/corpus/templates/macros/app/routes/_index.tsx +2 -2
  255. package/corpus/templates/macros/app/routes/analytics.tsx +1 -1
  256. package/corpus/templates/mail/app/components/GoogleConnectBanner.tsx +6 -6
  257. package/corpus/templates/mail/app/components/email/AttachmentStrip.tsx +2 -2
  258. package/corpus/templates/mail/app/components/email/EmailListItem.tsx +5 -5
  259. package/corpus/templates/mail/app/components/email/IntegrationsSidebar.tsx +5 -5
  260. package/corpus/templates/mail/app/components/email/MobileActionBar.tsx +3 -3
  261. package/corpus/templates/mail/app/components/layout/AppLayout.tsx +10 -10
  262. package/corpus/templates/mail/app/components/layout/CommandPalette.tsx +1 -1
  263. package/corpus/templates/mail/app/components/layout/SearchBar.tsx +3 -3
  264. package/corpus/templates/mail/app/components/ui/alert-dialog.tsx +1 -1
  265. package/corpus/templates/mail/app/components/ui/alert.tsx +1 -1
  266. package/corpus/templates/mail/app/components/ui/breadcrumb.tsx +1 -1
  267. package/corpus/templates/mail/app/components/ui/calendar.tsx +4 -4
  268. package/corpus/templates/mail/app/components/ui/carousel.tsx +6 -6
  269. package/corpus/templates/mail/app/components/ui/command.tsx +2 -2
  270. package/corpus/templates/mail/app/components/ui/context-menu.tsx +9 -9
  271. package/corpus/templates/mail/app/components/ui/dialog.tsx +2 -2
  272. package/corpus/templates/mail/app/components/ui/drawer.tsx +1 -1
  273. package/corpus/templates/mail/app/components/ui/dropdown-menu.tsx +9 -9
  274. package/corpus/templates/mail/app/components/ui/input-otp.tsx +1 -1
  275. package/corpus/templates/mail/app/components/ui/menubar.tsx +9 -9
  276. package/corpus/templates/mail/app/components/ui/navigation-menu.tsx +3 -3
  277. package/corpus/templates/mail/app/components/ui/pagination.tsx +4 -4
  278. package/corpus/templates/mail/app/components/ui/scroll-area.tsx +1 -1
  279. package/corpus/templates/mail/app/components/ui/select.tsx +3 -3
  280. package/corpus/templates/mail/app/components/ui/sheet.tsx +2 -2
  281. package/corpus/templates/mail/app/components/ui/sidebar.tsx +6 -6
  282. package/corpus/templates/mail/app/components/ui/sonner.tsx +2 -2
  283. package/corpus/templates/mail/app/components/ui/table.tsx +2 -2
  284. package/corpus/templates/mail/app/components/ui/toast.tsx +3 -3
  285. package/corpus/templates/plan/app/components/layout/Sidebar.tsx +10 -10
  286. package/corpus/templates/plan/app/components/ui/alert-dialog.tsx +1 -1
  287. package/corpus/templates/plan/app/components/ui/alert.tsx +1 -1
  288. package/corpus/templates/plan/app/components/ui/breadcrumb.tsx +1 -1
  289. package/corpus/templates/plan/app/components/ui/calendar.tsx +5 -5
  290. package/corpus/templates/plan/app/components/ui/carousel.tsx +6 -6
  291. package/corpus/templates/plan/app/components/ui/command.tsx +2 -2
  292. package/corpus/templates/plan/app/components/ui/context-menu.tsx +9 -9
  293. package/corpus/templates/plan/app/components/ui/dialog.tsx +2 -2
  294. package/corpus/templates/plan/app/components/ui/drawer.tsx +1 -1
  295. package/corpus/templates/plan/app/components/ui/dropdown-menu.tsx +9 -9
  296. package/corpus/templates/plan/app/components/ui/input-otp.tsx +1 -1
  297. package/corpus/templates/plan/app/components/ui/menubar.tsx +9 -9
  298. package/corpus/templates/plan/app/components/ui/navigation-menu.tsx +3 -3
  299. package/corpus/templates/plan/app/components/ui/pagination.tsx +4 -4
  300. package/corpus/templates/plan/app/components/ui/scroll-area.tsx +1 -1
  301. package/corpus/templates/plan/app/components/ui/select.tsx +3 -3
  302. package/corpus/templates/plan/app/components/ui/sheet.tsx +2 -2
  303. package/corpus/templates/plan/app/components/ui/sidebar.tsx +6 -6
  304. package/corpus/templates/plan/app/components/ui/table.tsx +2 -2
  305. package/corpus/templates/plan/app/components/ui/toast.tsx +3 -3
  306. package/corpus/templates/slides/app/components/layout/Layout.tsx +1 -1
  307. package/corpus/templates/slides/app/components/ui/alert-dialog.tsx +1 -1
  308. package/corpus/templates/slides/app/components/ui/alert.tsx +1 -1
  309. package/corpus/templates/slides/app/components/ui/breadcrumb.tsx +1 -1
  310. package/corpus/templates/slides/app/components/ui/calendar.tsx +5 -5
  311. package/corpus/templates/slides/app/components/ui/carousel.tsx +6 -6
  312. package/corpus/templates/slides/app/components/ui/command.tsx +2 -2
  313. package/corpus/templates/slides/app/components/ui/context-menu.tsx +9 -9
  314. package/corpus/templates/slides/app/components/ui/dialog.tsx +2 -2
  315. package/corpus/templates/slides/app/components/ui/drawer.tsx +1 -1
  316. package/corpus/templates/slides/app/components/ui/dropdown-menu.tsx +9 -9
  317. package/corpus/templates/slides/app/components/ui/input-otp.tsx +1 -1
  318. package/corpus/templates/slides/app/components/ui/menubar.tsx +9 -9
  319. package/corpus/templates/slides/app/components/ui/navigation-menu.tsx +3 -3
  320. package/corpus/templates/slides/app/components/ui/pagination.tsx +4 -4
  321. package/corpus/templates/slides/app/components/ui/scroll-area.tsx +1 -1
  322. package/corpus/templates/slides/app/components/ui/select.tsx +3 -3
  323. package/corpus/templates/slides/app/components/ui/sheet.tsx +2 -2
  324. package/corpus/templates/slides/app/components/ui/sidebar.tsx +6 -6
  325. package/corpus/templates/slides/app/components/ui/table.tsx +2 -2
  326. package/corpus/templates/slides/app/components/ui/toast.tsx +3 -3
  327. package/corpus/templates/videos/app/components/ui/alert-dialog.tsx +1 -1
  328. package/corpus/templates/videos/app/components/ui/alert.tsx +1 -1
  329. package/corpus/templates/videos/app/components/ui/breadcrumb.tsx +1 -1
  330. package/corpus/templates/videos/app/components/ui/calendar.tsx +5 -5
  331. package/corpus/templates/videos/app/components/ui/carousel.tsx +6 -6
  332. package/corpus/templates/videos/app/components/ui/command.tsx +2 -2
  333. package/corpus/templates/videos/app/components/ui/context-menu.tsx +9 -9
  334. package/corpus/templates/videos/app/components/ui/dialog.tsx +2 -2
  335. package/corpus/templates/videos/app/components/ui/drawer.tsx +1 -1
  336. package/corpus/templates/videos/app/components/ui/dropdown-menu.tsx +9 -9
  337. package/corpus/templates/videos/app/components/ui/input-otp.tsx +1 -1
  338. package/corpus/templates/videos/app/components/ui/menubar.tsx +9 -9
  339. package/corpus/templates/videos/app/components/ui/navigation-menu.tsx +3 -3
  340. package/corpus/templates/videos/app/components/ui/pagination.tsx +4 -4
  341. package/corpus/templates/videos/app/components/ui/scroll-area.tsx +1 -1
  342. package/corpus/templates/videos/app/components/ui/select.tsx +3 -3
  343. package/corpus/templates/videos/app/components/ui/sheet.tsx +2 -2
  344. package/corpus/templates/videos/app/components/ui/sidebar.tsx +6 -6
  345. package/corpus/templates/videos/app/components/ui/table.tsx +2 -2
  346. package/corpus/templates/videos/app/components/ui/toast.tsx +3 -3
  347. package/dist/client/AgentPanel.js +3 -3
  348. package/dist/client/AgentPanel.js.map +1 -1
  349. package/dist/client/AgentTaskCard.d.ts.map +1 -1
  350. package/dist/client/AgentTaskCard.js +1 -1
  351. package/dist/client/AgentTaskCard.js.map +1 -1
  352. package/dist/client/AppearancePicker.js +1 -1
  353. package/dist/client/AppearancePicker.js.map +1 -1
  354. package/dist/client/AssistantChat.js +3 -3
  355. package/dist/client/AssistantChat.js.map +1 -1
  356. package/dist/client/CommandMenu.js +4 -4
  357. package/dist/client/CommandMenu.js.map +1 -1
  358. package/dist/client/ErrorBoundary.js +1 -1
  359. package/dist/client/ErrorBoundary.js.map +1 -1
  360. package/dist/client/MultiTabAssistantChat.js +9 -9
  361. package/dist/client/MultiTabAssistantChat.js.map +1 -1
  362. package/dist/client/NewWorkspaceAppFlow.js +5 -5
  363. package/dist/client/NewWorkspaceAppFlow.js.map +1 -1
  364. package/dist/client/components/ui/dropdown-menu.js +6 -6
  365. package/dist/client/components/ui/dropdown-menu.js.map +1 -1
  366. package/dist/client/components/ui/sheet.js +1 -1
  367. package/dist/client/components/ui/sheet.js.map +1 -1
  368. package/dist/client/composer/ComposerPlusMenu.js +5 -5
  369. package/dist/client/composer/ComposerPlusMenu.js.map +1 -1
  370. package/dist/client/composer/MentionPopover.js +4 -4
  371. package/dist/client/composer/MentionPopover.js.map +1 -1
  372. package/dist/client/composer/PastedTextChip.js +2 -2
  373. package/dist/client/composer/PastedTextChip.js.map +1 -1
  374. package/dist/client/composer/PromptComposer.js +3 -3
  375. package/dist/client/composer/PromptComposer.js.map +1 -1
  376. package/dist/client/composer/TiptapComposer.js +12 -12
  377. package/dist/client/composer/TiptapComposer.js.map +1 -1
  378. package/dist/client/guided-questions.d.ts.map +1 -1
  379. package/dist/client/guided-questions.js +5 -5
  380. package/dist/client/guided-questions.js.map +1 -1
  381. package/dist/client/i18n.js +2 -2
  382. package/dist/client/i18n.js.map +1 -1
  383. package/dist/client/integrations/IntegrationCard.js +1 -1
  384. package/dist/client/integrations/IntegrationCard.js.map +1 -1
  385. package/dist/client/integrations/IntegrationsPanel.js +4 -4
  386. package/dist/client/integrations/IntegrationsPanel.js.map +1 -1
  387. package/dist/client/notifications/NotificationsBell.js +3 -3
  388. package/dist/client/notifications/NotificationsBell.js.map +1 -1
  389. package/dist/client/onboarding/OnboardingBanner.js +3 -3
  390. package/dist/client/onboarding/OnboardingBanner.js.map +1 -1
  391. package/dist/client/onboarding/OnboardingPanel.d.ts.map +1 -1
  392. package/dist/client/onboarding/OnboardingPanel.js +15 -10
  393. package/dist/client/onboarding/OnboardingPanel.js.map +1 -1
  394. package/dist/client/org/OrgSwitcher.d.ts.map +1 -1
  395. package/dist/client/org/OrgSwitcher.js +7 -7
  396. package/dist/client/org/OrgSwitcher.js.map +1 -1
  397. package/dist/client/org/TeamPage.js +2 -2
  398. package/dist/client/org/TeamPage.js.map +1 -1
  399. package/dist/client/settings/AgentsSection.js +3 -3
  400. package/dist/client/settings/AgentsSection.js.map +1 -1
  401. package/dist/client/settings/AutomationsSection.js +2 -2
  402. package/dist/client/settings/AutomationsSection.js.map +1 -1
  403. package/dist/client/settings/SecretsSection.js +2 -2
  404. package/dist/client/settings/SecretsSection.js.map +1 -1
  405. package/dist/client/settings/SettingsPanel.d.ts.map +1 -1
  406. package/dist/client/settings/SettingsPanel.js +4 -4
  407. package/dist/client/settings/SettingsPanel.js.map +1 -1
  408. package/dist/client/settings/SettingsSection.js +1 -1
  409. package/dist/client/settings/SettingsSection.js.map +1 -1
  410. package/dist/client/settings/UsageSection.js +2 -2
  411. package/dist/client/settings/UsageSection.js.map +1 -1
  412. package/dist/client/settings/VoiceTranscriptionSection.js +3 -3
  413. package/dist/client/settings/VoiceTranscriptionSection.js.map +1 -1
  414. package/dist/client/sharing/ShareButton.js +6 -6
  415. package/dist/client/sharing/ShareButton.js.map +1 -1
  416. package/dist/client/sharing/ShareDialog.js +3 -3
  417. package/dist/client/sharing/ShareDialog.js.map +1 -1
  418. package/dist/styles/agent-conversation.css +10 -10
  419. package/dist/styles/blocks.css +2 -2
  420. package/dist/styles/rich-markdown-editor.css +2 -2
  421. package/package.json +1 -1
@@ -30,13 +30,13 @@ const DropdownMenuSubTrigger = React.forwardRef<
30
30
  ref={ref}
31
31
  className={cn(
32
32
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
33
- inset && "pl-8",
33
+ inset && "ps-8",
34
34
  className,
35
35
  )}
36
36
  {...props}
37
37
  >
38
38
  {children}
39
- <IconChevronRight className="ml-auto h-4 w-4" />
39
+ <IconChevronRight className="ms-auto h-4 w-4 rtl:-scale-x-100" />
40
40
  </DropdownMenuPrimitive.SubTrigger>
41
41
  ));
42
42
  DropdownMenuSubTrigger.displayName =
@@ -96,7 +96,7 @@ const DropdownMenuItem = React.forwardRef<
96
96
  ref={ref}
97
97
  className={cn(
98
98
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
99
- inset && "pl-8",
99
+ inset && "ps-8",
100
100
  className,
101
101
  )}
102
102
  {...props}
@@ -111,13 +111,13 @@ const DropdownMenuCheckboxItem = React.forwardRef<
111
111
  <DropdownMenuPrimitive.CheckboxItem
112
112
  ref={ref}
113
113
  className={cn(
114
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
114
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
115
115
  className,
116
116
  )}
117
117
  checked={checked}
118
118
  {...props}
119
119
  >
120
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
120
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
121
121
  <DropdownMenuPrimitive.ItemIndicator>
122
122
  <IconCheck className="h-4 w-4" />
123
123
  </DropdownMenuPrimitive.ItemIndicator>
@@ -135,12 +135,12 @@ const DropdownMenuRadioItem = React.forwardRef<
135
135
  <DropdownMenuPrimitive.RadioItem
136
136
  ref={ref}
137
137
  className={cn(
138
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
138
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
139
139
  className,
140
140
  )}
141
141
  {...props}
142
142
  >
143
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
143
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
144
144
  <DropdownMenuPrimitive.ItemIndicator>
145
145
  <IconCircleFilled className="h-2 w-2" />
146
146
  </DropdownMenuPrimitive.ItemIndicator>
@@ -160,7 +160,7 @@ const DropdownMenuLabel = React.forwardRef<
160
160
  ref={ref}
161
161
  className={cn(
162
162
  "px-2 py-1.5 text-sm font-semibold",
163
- inset && "pl-8",
163
+ inset && "ps-8",
164
164
  className,
165
165
  )}
166
166
  {...props}
@@ -186,7 +186,7 @@ const DropdownMenuShortcut = ({
186
186
  }: React.HTMLAttributes<HTMLSpanElement>) => {
187
187
  return (
188
188
  <span
189
- className={cn("ml-auto text-xs tracking-widest opacity-60", className)}
189
+ className={cn("ms-auto text-xs tracking-widest opacity-60", className)}
190
190
  {...props}
191
191
  />
192
192
  );
@@ -39,7 +39,7 @@ const InputOTPSlot = React.forwardRef<
39
39
  <div
40
40
  ref={ref}
41
41
  className={cn(
42
- "relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
42
+ "relative flex h-10 w-10 items-center justify-center border-y border-e border-input text-sm transition-all first:rounded-s-md first:border-s last:rounded-e-md",
43
43
  isActive && "z-10 ring-2 ring-ring ring-offset-background",
44
44
  className,
45
45
  )}
@@ -54,13 +54,13 @@ const MenubarSubTrigger = React.forwardRef<
54
54
  ref={ref}
55
55
  className={cn(
56
56
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
57
- inset && "pl-8",
57
+ inset && "ps-8",
58
58
  className,
59
59
  )}
60
60
  {...props}
61
61
  >
62
62
  {children}
63
- <IconChevronRight className="ml-auto h-4 w-4" />
63
+ <IconChevronRight className="ms-auto h-4 w-4 rtl:-scale-x-100" />
64
64
  </MenubarPrimitive.SubTrigger>
65
65
  ));
66
66
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
@@ -115,7 +115,7 @@ const MenubarItem = React.forwardRef<
115
115
  ref={ref}
116
116
  className={cn(
117
117
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
118
- inset && "pl-8",
118
+ inset && "ps-8",
119
119
  className,
120
120
  )}
121
121
  {...props}
@@ -130,13 +130,13 @@ const MenubarCheckboxItem = React.forwardRef<
130
130
  <MenubarPrimitive.CheckboxItem
131
131
  ref={ref}
132
132
  className={cn(
133
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
133
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
134
134
  className,
135
135
  )}
136
136
  checked={checked}
137
137
  {...props}
138
138
  >
139
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
139
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
140
140
  <MenubarPrimitive.ItemIndicator>
141
141
  <IconCheck className="h-4 w-4" />
142
142
  </MenubarPrimitive.ItemIndicator>
@@ -153,12 +153,12 @@ const MenubarRadioItem = React.forwardRef<
153
153
  <MenubarPrimitive.RadioItem
154
154
  ref={ref}
155
155
  className={cn(
156
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
156
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
157
157
  className,
158
158
  )}
159
159
  {...props}
160
160
  >
161
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
161
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
162
162
  <MenubarPrimitive.ItemIndicator>
163
163
  <IconCircle className="h-2 w-2 fill-current" />
164
164
  </MenubarPrimitive.ItemIndicator>
@@ -178,7 +178,7 @@ const MenubarLabel = React.forwardRef<
178
178
  ref={ref}
179
179
  className={cn(
180
180
  "px-2 py-1.5 text-sm font-semibold",
181
- inset && "pl-8",
181
+ inset && "ps-8",
182
182
  className,
183
183
  )}
184
184
  {...props}
@@ -205,7 +205,7 @@ const MenubarShortcut = ({
205
205
  return (
206
206
  <span
207
207
  className={cn(
208
- "ml-auto text-xs tracking-widest text-muted-foreground",
208
+ "ms-auto text-xs tracking-widest text-muted-foreground",
209
209
  className,
210
210
  )}
211
211
  {...props}
@@ -55,7 +55,7 @@ const NavigationMenuTrigger = React.forwardRef<
55
55
  >
56
56
  {children}{" "}
57
57
  <IconChevronDown
58
- className="relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"
58
+ className="relative top-[1px] ms-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"
59
59
  aria-hidden="true"
60
60
  />
61
61
  </NavigationMenuPrimitive.Trigger>
@@ -69,7 +69,7 @@ const NavigationMenuContent = React.forwardRef<
69
69
  <NavigationMenuPrimitive.Content
70
70
  ref={ref}
71
71
  className={cn(
72
- "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
72
+ "start-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
73
73
  className,
74
74
  )}
75
75
  {...props}
@@ -83,7 +83,7 @@ const NavigationMenuViewport = React.forwardRef<
83
83
  React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,
84
84
  React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>
85
85
  >(({ className, ...props }, ref) => (
86
- <div className={cn("absolute left-0 top-full flex justify-center")}>
86
+ <div className={cn("absolute start-0 top-full flex justify-center")}>
87
87
  <NavigationMenuPrimitive.Viewport
88
88
  className={cn(
89
89
  "origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
@@ -70,10 +70,10 @@ const PaginationPrevious = ({
70
70
  <PaginationLink
71
71
  aria-label="Go to previous page"
72
72
  size="default"
73
- className={cn("gap-1 pl-2.5", className)}
73
+ className={cn("gap-1 ps-2.5", className)}
74
74
  {...props}
75
75
  >
76
- <IconChevronLeft className="h-4 w-4" />
76
+ <IconChevronLeft className="h-4 w-4 rtl:-scale-x-100" />
77
77
  <span>Previous</span>
78
78
  </PaginationLink>
79
79
  );
@@ -86,11 +86,11 @@ const PaginationNext = ({
86
86
  <PaginationLink
87
87
  aria-label="Go to next page"
88
88
  size="default"
89
- className={cn("gap-1 pr-2.5", className)}
89
+ className={cn("gap-1 pe-2.5", className)}
90
90
  {...props}
91
91
  >
92
92
  <span>Next</span>
93
- <IconChevronRight className="h-4 w-4" />
93
+ <IconChevronRight className="h-4 w-4 rtl:-scale-x-100" />
94
94
  </PaginationLink>
95
95
  );
96
96
  PaginationNext.displayName = "PaginationNext";
@@ -31,7 +31,7 @@ const ScrollBar = React.forwardRef<
31
31
  className={cn(
32
32
  "flex touch-none select-none transition-colors",
33
33
  orientation === "vertical" &&
34
- "h-full w-2.5 border-l border-l-transparent p-[1px]",
34
+ "h-full w-2.5 border-s border-s-transparent p-[1px]",
35
35
  orientation === "horizontal" &&
36
36
  "h-2.5 flex-col border-t border-t-transparent p-[1px]",
37
37
  className,
@@ -103,7 +103,7 @@ const SelectLabel = React.forwardRef<
103
103
  >(({ className, ...props }, ref) => (
104
104
  <SelectPrimitive.Label
105
105
  ref={ref}
106
- className={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)}
106
+ className={cn("py-1.5 ps-8 pe-2 text-sm font-semibold", className)}
107
107
  {...props}
108
108
  />
109
109
  ));
@@ -116,12 +116,12 @@ const SelectItem = React.forwardRef<
116
116
  <SelectPrimitive.Item
117
117
  ref={ref}
118
118
  className={cn(
119
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
119
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
120
120
  className,
121
121
  )}
122
122
  {...props}
123
123
  >
124
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
124
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
125
125
  <SelectPrimitive.ItemIndicator>
126
126
  <IconCheck className="h-4 w-4" />
127
127
  </SelectPrimitive.ItemIndicator>
@@ -83,7 +83,7 @@ const SheetContent = React.forwardRef<
83
83
  >
84
84
  {children}
85
85
  {showClose ? (
86
- <SheetPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
86
+ <SheetPrimitive.Close className="absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
87
87
  <IconX className="h-4 w-4" />
88
88
  <span className="sr-only">Close</span>
89
89
  </SheetPrimitive.Close>
@@ -100,7 +100,7 @@ const SheetHeader = ({
100
100
  }: React.HTMLAttributes<HTMLDivElement>) => (
101
101
  <div
102
102
  className={cn(
103
- "flex flex-col space-y-2 text-center sm:text-left",
103
+ "flex flex-col space-y-2 text-center sm:text-start",
104
104
  className,
105
105
  )}
106
106
  {...props}
@@ -342,7 +342,7 @@ const SidebarInset = React.forwardRef<
342
342
  ref={ref}
343
343
  className={cn(
344
344
  "relative flex min-h-svh flex-1 flex-col bg-background",
345
- "peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
345
+ "peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ms-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
346
346
  className,
347
347
  )}
348
348
  {...props}
@@ -479,7 +479,7 @@ const SidebarGroupAction = React.forwardRef<
479
479
  ref={ref}
480
480
  data-sidebar="group-action"
481
481
  className={cn(
482
- "absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
482
+ "absolute end-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
483
483
  // Increases the hit area of the button on mobile.
484
484
  "after:absolute after:-inset-2 after:md:hidden",
485
485
  "group-data-[collapsible=icon]:hidden",
@@ -531,7 +531,7 @@ const SidebarMenuItem = React.forwardRef<
531
531
  SidebarMenuItem.displayName = "SidebarMenuItem";
532
532
 
533
533
  const sidebarMenuButtonVariants = cva(
534
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
534
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pe-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
535
535
  {
536
536
  variants: {
537
537
  variant: {
@@ -625,7 +625,7 @@ const SidebarMenuAction = React.forwardRef<
625
625
  ref={ref}
626
626
  data-sidebar="menu-action"
627
627
  className={cn(
628
- "absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
628
+ "absolute end-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
629
629
  // Increases the hit area of the button on mobile.
630
630
  "after:absolute after:-inset-2 after:md:hidden",
631
631
  "peer-data-[size=sm]/menu-button:top-1",
@@ -650,7 +650,7 @@ const SidebarMenuBadge = React.forwardRef<
650
650
  ref={ref}
651
651
  data-sidebar="menu-badge"
652
652
  className={cn(
653
- "absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none",
653
+ "absolute end-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none",
654
654
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
655
655
  "peer-data-[size=sm]/menu-button:top-1",
656
656
  "peer-data-[size=default]/menu-button:top-1.5",
@@ -709,7 +709,7 @@ const SidebarMenuSub = React.forwardRef<
709
709
  ref={ref}
710
710
  data-sidebar="menu-sub"
711
711
  className={cn(
712
- "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5",
712
+ "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-s border-sidebar-border px-2.5 py-0.5",
713
713
  "group-data-[collapsible=icon]:hidden",
714
714
  className,
715
715
  )}
@@ -73,7 +73,7 @@ const TableHead = React.forwardRef<
73
73
  <th
74
74
  ref={ref}
75
75
  className={cn(
76
- "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
76
+ "h-12 px-4 text-start align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pe-0",
77
77
  className,
78
78
  )}
79
79
  {...props}
@@ -87,7 +87,7 @@ const TableCell = React.forwardRef<
87
87
  >(({ className, ...props }, ref) => (
88
88
  <td
89
89
  ref={ref}
90
- className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
90
+ className={cn("p-4 align-middle [&:has([role=checkbox])]:pe-0", className)}
91
91
  {...props}
92
92
  />
93
93
  ));
@@ -14,7 +14,7 @@ const ToastViewport = React.forwardRef<
14
14
  <ToastPrimitives.Viewport
15
15
  ref={ref}
16
16
  className={cn(
17
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col sm:max-w-[36rem]",
17
+ "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:end-0 sm:top-auto sm:flex-col sm:max-w-[36rem]",
18
18
  className,
19
19
  )}
20
20
  {...props}
@@ -23,7 +23,7 @@ const ToastViewport = React.forwardRef<
23
23
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
24
24
 
25
25
  const toastVariants = cva(
26
- "group pointer-events-auto relative flex w-full items-center justify-between gap-3 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
26
+ "group pointer-events-auto relative flex w-full items-center justify-between gap-3 overflow-hidden rounded-md border p-6 pe-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
27
27
  {
28
28
  variants: {
29
29
  variant: {
@@ -75,7 +75,7 @@ const ToastClose = React.forwardRef<
75
75
  <ToastPrimitives.Close
76
76
  ref={ref}
77
77
  className={cn(
78
- "absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
78
+ "absolute end-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
79
79
  className,
80
80
  )}
81
81
  toast-close=""
@@ -446,7 +446,7 @@ export default function DesignSystems() {
446
446
  {/* New design system card */}
447
447
  <button
448
448
  onClick={() => navigate("/design-systems/setup")}
449
- className="group relative rounded-xl border border-dashed border-border bg-card hover:border-foreground/15 overflow-hidden text-left cursor-pointer"
449
+ className="group relative rounded-xl border border-dashed border-border bg-card hover:border-foreground/15 overflow-hidden text-start cursor-pointer"
450
450
  >
451
451
  <div className="aspect-video flex items-center justify-center bg-muted/30">
452
452
  <div className="w-12 h-12 rounded-xl bg-accent/50 flex items-center justify-center group-hover:bg-accent">
@@ -487,7 +487,7 @@ export default function DesignSystems() {
487
487
  openDesignSystemDetails(ds.id);
488
488
  }}
489
489
  aria-pressed={isSelectionMode ? isSelected : undefined}
490
- className="block w-full text-left cursor-pointer"
490
+ className="block w-full text-start cursor-pointer"
491
491
  >
492
492
  {/* Color preview */}
493
493
  <div className="aspect-video bg-muted/50 flex items-center justify-center gap-2 p-4">
@@ -545,7 +545,7 @@ export default function DesignSystems() {
545
545
  />
546
546
  </div>
547
547
  {isSelectionMode && ds.canManage ? (
548
- <div className="absolute top-2 left-2 z-10">
548
+ <div className="absolute top-2 start-2 z-10">
549
549
  <Tooltip>
550
550
  <TooltipTrigger asChild>
551
551
  <Checkbox
@@ -569,7 +569,7 @@ export default function DesignSystems() {
569
569
  <TooltipTrigger asChild>
570
570
  <button
571
571
  onClick={() => handleSetDefault(ds.id)}
572
- className="absolute top-2 right-2 opacity-0 group-hover:opacity-100 w-7 h-7 flex items-center justify-center rounded-md bg-black/60 hover:bg-black/80 cursor-pointer"
572
+ className="absolute top-2 end-2 opacity-0 group-hover:opacity-100 w-7 h-7 flex items-center justify-center rounded-md bg-black/60 hover:bg-black/80 cursor-pointer"
573
573
  >
574
574
  {ds.isDefault ? (
575
575
  <IconStarFilled className="w-3.5 h-3.5 text-yellow-400" />
@@ -588,9 +588,7 @@ export default function DesignSystems() {
588
588
  {ds.canManage && (
589
589
  <div
590
590
  className={`absolute top-2 z-10 opacity-0 group-hover:opacity-100 ${
591
- ds.accessRole === "owner"
592
- ? "right-10"
593
- : "right-2"
591
+ ds.accessRole === "owner" ? "end-10" : "end-2"
594
592
  }`}
595
593
  >
596
594
  <DropdownMenu>
@@ -609,7 +607,7 @@ export default function DesignSystems() {
609
607
  onClick={() => setDeleteId(ds.id)}
610
608
  className="text-red-400 focus:text-red-400 cursor-pointer"
611
609
  >
612
- <IconTrash className="w-3.5 h-3.5 mr-2" />
610
+ <IconTrash className="w-3.5 h-3.5 me-2" />
613
611
  Delete
614
612
  </DropdownMenuItem>
615
613
  </DropdownMenuContent>
@@ -399,12 +399,12 @@ export default function Index() {
399
399
  <div className="flex items-center gap-3">
400
400
  {designs.length > 0 ? (
401
401
  <div className="relative">
402
- <IconSearch className="absolute left-2.5 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-muted-foreground/70" />
402
+ <IconSearch className="absolute start-2.5 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-muted-foreground/70" />
403
403
  <Input
404
404
  value={search}
405
405
  onChange={(e) => setSearch(e.target.value)}
406
406
  placeholder="Search designs..."
407
- className="pl-8 h-8 w-48 bg-accent/50 border-border text-sm text-foreground/90 placeholder:text-muted-foreground/70"
407
+ className="ps-8 h-8 w-48 bg-accent/50 border-border text-sm text-foreground/90 placeholder:text-muted-foreground/70"
408
408
  />
409
409
  </div>
410
410
  ) : null}
@@ -489,7 +489,7 @@ export default function Index() {
489
489
  {/* New design card */}
490
490
  <button
491
491
  onClick={openNewDesign}
492
- className="group relative rounded-xl border border-dashed border-border bg-card hover:border-foreground/15 overflow-hidden text-left cursor-pointer"
492
+ className="group relative rounded-xl border border-dashed border-border bg-card hover:border-foreground/15 overflow-hidden text-start cursor-pointer"
493
493
  >
494
494
  <div className="aspect-video flex items-center justify-center bg-muted/30">
495
495
  <div className="w-12 h-12 rounded-xl bg-accent/50 flex items-center justify-center group-hover:bg-accent">
@@ -540,7 +540,7 @@ export default function Index() {
540
540
  {cardContent}
541
541
  </Link>
542
542
  <div
543
- className={`absolute left-2 top-2 z-10 transition-opacity ${
543
+ className={`absolute start-2 top-2 z-10 transition-opacity ${
544
544
  isSelected || isSelectingDesigns
545
545
  ? "pointer-events-auto opacity-100"
546
546
  : "pointer-events-none opacity-0 group-hover:pointer-events-auto group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:opacity-100"
@@ -562,7 +562,7 @@ export default function Index() {
562
562
  </Tooltip>
563
563
  </div>
564
564
  {/* Three-dot menu */}
565
- <div className="absolute top-2 right-2 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100">
565
+ <div className="absolute top-2 end-2 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100">
566
566
  <DropdownMenu>
567
567
  <DropdownMenuTrigger asChild>
568
568
  <Button
@@ -579,21 +579,21 @@ export default function Index() {
579
579
  onClick={() => startRename(design)}
580
580
  className="cursor-pointer"
581
581
  >
582
- <IconPencil className="w-3.5 h-3.5 mr-2" />
582
+ <IconPencil className="w-3.5 h-3.5 me-2" />
583
583
  Rename
584
584
  </DropdownMenuItem>
585
585
  <DropdownMenuItem
586
586
  onClick={() => handleDuplicate(design.id)}
587
587
  className="cursor-pointer"
588
588
  >
589
- <IconCopy className="w-3.5 h-3.5 mr-2" />
589
+ <IconCopy className="w-3.5 h-3.5 me-2" />
590
590
  Duplicate
591
591
  </DropdownMenuItem>
592
592
  <DropdownMenuItem
593
593
  onClick={() => setDeleteId(design.id)}
594
594
  className="text-red-400 focus:text-red-400 cursor-pointer"
595
595
  >
596
- <IconTrash className="w-3.5 h-3.5 mr-2" />
596
+ <IconTrash className="w-3.5 h-3.5 me-2" />
597
597
  Delete
598
598
  </DropdownMenuItem>
599
599
  </DropdownMenuContent>
@@ -11,7 +11,7 @@ export default function NotFound() {
11
11
  </p>
12
12
  <Button asChild variant="outline" className="cursor-pointer">
13
13
  <Link to="/">
14
- <IconArrowLeft className="w-4 h-4" />
14
+ <IconArrowLeft className="w-4 h-4 rtl:-scale-x-100" />
15
15
  Back to designs
16
16
  </Link>
17
17
  </Button>
@@ -225,7 +225,7 @@ export default function Templates() {
225
225
  title={template.title}
226
226
  html={previewHtmlById.get(template.id) ?? template.html}
227
227
  />
228
- <div className="absolute left-3 top-3 flex h-8 w-8 items-center justify-center rounded-md border border-white/70 bg-white/90 text-slate-900 shadow-sm dark:border-white/10 dark:bg-black/45 dark:text-white">
228
+ <div className="absolute start-3 top-3 flex h-8 w-8 items-center justify-center rounded-md border border-white/70 bg-white/90 text-slate-900 shadow-sm dark:border-white/10 dark:bg-black/45 dark:text-white">
229
229
  <Icon className="h-4 w-4" />
230
230
  </div>
231
231
  </div>
@@ -247,7 +247,7 @@ export default function Templates() {
247
247
  className="w-full cursor-pointer"
248
248
  >
249
249
  Use template
250
- <IconArrowRight className="h-3.5 w-3.5" />
250
+ <IconArrowRight className="h-3.5 w-3.5 rtl:-scale-x-100" />
251
251
  </Button>
252
252
  </div>
253
253
  </article>
@@ -172,7 +172,7 @@ export function Sidebar() {
172
172
  const sidebarContent = (
173
173
  <div
174
174
  className={cn(
175
- "flex h-screen w-60 min-w-0 shrink-0 flex-col overflow-hidden border-r border-border bg-muted/30",
175
+ "flex h-screen w-60 min-w-0 shrink-0 flex-col overflow-hidden border-e border-border bg-muted/30",
176
176
  isMobile && "w-full",
177
177
  )}
178
178
  >
@@ -346,7 +346,7 @@ export function Sidebar() {
346
346
  <Button
347
347
  variant="ghost"
348
348
  size="icon"
349
- className="fixed top-2 left-2 z-40 h-10 w-10 md:hidden"
349
+ className="fixed top-2 start-2 z-40 h-10 w-10 md:hidden"
350
350
  onClick={() => setMobileOpen(true)}
351
351
  aria-label={t("sidebar.openSidebar")}
352
352
  >
@@ -358,7 +358,7 @@ export function Sidebar() {
358
358
  className="fixed inset-0 z-40 bg-black/40"
359
359
  onClick={() => setMobileOpen(false)}
360
360
  />
361
- <div className="fixed inset-y-0 left-0 z-50 w-72 max-w-[85vw]">
361
+ <div className="fixed inset-y-0 start-0 z-50 w-72 max-w-[85vw]">
362
362
  {sidebarContent}
363
363
  </div>
364
364
  </>
@@ -49,7 +49,7 @@ const AlertDialogHeader = ({
49
49
  }: React.HTMLAttributes<HTMLDivElement>) => (
50
50
  <div
51
51
  className={cn(
52
- "flex flex-col space-y-2 text-center sm:text-left",
52
+ "flex flex-col space-y-2 text-center sm:text-start",
53
53
  className,
54
54
  )}
55
55
  {...props}
@@ -4,7 +4,7 @@ import { cva, type VariantProps } from "class-variance-authority";
4
4
  import { cn } from "@/lib/utils";
5
5
 
6
6
  const alertVariants = cva(
7
- "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
7
+ "relative w-full rounded-lg border p-4 [&>svg~*]:ps-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:start-4 [&>svg]:top-4 [&>svg]:text-foreground",
8
8
  {
9
9
  variants: {
10
10
  variant: {
@@ -83,7 +83,7 @@ const BreadcrumbSeparator = ({
83
83
  className={cn("[&>svg]:size-3.5", className)}
84
84
  {...props}
85
85
  >
86
- {children ?? <IconChevronRight />}
86
+ {children ?? <IconChevronRight className="rtl:-scale-x-100" />}
87
87
  </li>
88
88
  );
89
89
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
@@ -79,7 +79,7 @@ function Calendar({
79
79
  "select-none font-medium",
80
80
  captionLayout === "label"
81
81
  ? "text-sm"
82
- : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",
82
+ : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md ps-2 pe-1 text-sm [&>svg]:size-3.5",
83
83
  defaultClassNames.caption_label,
84
84
  ),
85
85
  table: "w-full border-collapse",
@@ -98,15 +98,15 @@ function Calendar({
98
98
  defaultClassNames.week_number,
99
99
  ),
100
100
  day: cn(
101
- "group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md",
101
+ "group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-s-md [&:last-child[data-selected=true]_button]:rounded-e-md",
102
102
  defaultClassNames.day,
103
103
  ),
104
104
  range_start: cn(
105
- "bg-accent rounded-l-md",
105
+ "bg-accent rounded-s-md",
106
106
  defaultClassNames.range_start,
107
107
  ),
108
108
  range_middle: cn("rounded-none", defaultClassNames.range_middle),
109
- range_end: cn("bg-accent rounded-r-md", defaultClassNames.range_end),
109
+ range_end: cn("bg-accent rounded-e-md", defaultClassNames.range_end),
110
110
  today: cn(
111
111
  "bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
112
112
  defaultClassNames.today,
@@ -136,14 +136,17 @@ function Calendar({
136
136
  Chevron: ({ className, orientation, ...props }) => {
137
137
  if (orientation === "left") {
138
138
  return (
139
- <IconChevronLeft className={cn("size-4", className)} {...props} />
139
+ <IconChevronLeft
140
+ className={cn("size-4 rtl:-scale-x-100", className)}
141
+ {...props}
142
+ />
140
143
  );
141
144
  }
142
145
 
143
146
  if (orientation === "right") {
144
147
  return (
145
148
  <IconChevronRight
146
- className={cn("size-4", className)}
149
+ className={cn("size-4 rtl:-scale-x-100", className)}
147
150
  {...props}
148
151
  />
149
152
  );