@astryxdesign/core 0.7.2-canary.f16dc9f → 0.7.2-canary.f2b60a0

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 (307) hide show
  1. package/dist/AppShell/AppShell.d.ts.map +1 -1
  2. package/dist/AppShell/AppShell.js +40 -1
  3. package/dist/AspectRatio/AspectRatio.d.ts +6 -8
  4. package/dist/AspectRatio/AspectRatio.d.ts.map +1 -1
  5. package/dist/AspectRatio/AspectRatio.js +44 -3
  6. package/dist/Breadcrumbs/BreadcrumbItem.d.ts.map +1 -1
  7. package/dist/Breadcrumbs/BreadcrumbItem.js +5 -2
  8. package/dist/CheckboxInput/CheckboxInput.d.ts +1 -1
  9. package/dist/CheckboxInput/CheckboxInput.d.ts.map +1 -1
  10. package/dist/CheckboxInput/CheckboxInput.js +3 -1
  11. package/dist/CheckboxList/CheckboxListItem.d.ts +9 -1
  12. package/dist/CheckboxList/CheckboxListItem.d.ts.map +1 -1
  13. package/dist/CheckboxList/CheckboxListItem.js +4 -2
  14. package/dist/CommandPalette/CommandPaletteInput.d.ts +1 -1
  15. package/dist/CommandPalette/CommandPaletteInput.d.ts.map +1 -1
  16. package/dist/CommandPalette/CommandPaletteInput.js +37 -5
  17. package/dist/ContextMenu/ContextMenu.d.ts.map +1 -1
  18. package/dist/ContextMenu/ContextMenu.js +5 -2
  19. package/dist/Dialog/Dialog.d.ts.map +1 -1
  20. package/dist/Dialog/Dialog.js +20 -8
  21. package/dist/Drawer/Drawer.d.ts +191 -0
  22. package/dist/Drawer/Drawer.d.ts.map +1 -0
  23. package/dist/Drawer/Drawer.js +382 -0
  24. package/dist/Drawer/DrawerHeader.d.ts +85 -0
  25. package/dist/Drawer/DrawerHeader.d.ts.map +1 -0
  26. package/dist/Drawer/DrawerHeader.js +134 -0
  27. package/dist/Drawer/index.d.ts +11 -0
  28. package/dist/Drawer/index.d.ts.map +1 -0
  29. package/dist/Drawer/index.js +11 -0
  30. package/dist/Drawer/useDrawerDialogPresence.d.ts +42 -0
  31. package/dist/Drawer/useDrawerDialogPresence.d.ts.map +1 -0
  32. package/dist/Drawer/useDrawerDialogPresence.js +236 -0
  33. package/dist/DropdownMenu/DropdownMenu.d.ts +1 -1
  34. package/dist/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  35. package/dist/DropdownMenu/DropdownMenu.js +83 -11
  36. package/dist/DropdownMenu/DropdownMenuContext.d.ts +17 -0
  37. package/dist/DropdownMenu/DropdownMenuContext.d.ts.map +1 -1
  38. package/dist/DropdownMenu/DropdownMenuContext.js +21 -0
  39. package/dist/DropdownMenu/DropdownMenuDivider.d.ts +5 -3
  40. package/dist/DropdownMenu/DropdownMenuDivider.d.ts.map +1 -1
  41. package/dist/DropdownMenu/DropdownMenuDivider.js +7 -3
  42. package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts.map +1 -1
  43. package/dist/DropdownMenu/DropdownMenuSubMenu.js +19 -8
  44. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +24 -0
  45. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts.map +1 -0
  46. package/dist/DropdownMenu/lazyMenuBottomSheet.js +46 -0
  47. package/dist/EmptyState/EmptyState.d.ts.map +1 -1
  48. package/dist/EmptyState/EmptyState.js +4 -10
  49. package/dist/Field/Field.d.ts +1 -1
  50. package/dist/Field/Field.d.ts.map +1 -1
  51. package/dist/Field/Field.js +8 -4
  52. package/dist/Grid/GridSpan.d.ts.map +1 -1
  53. package/dist/Grid/GridSpan.js +1 -0
  54. package/dist/Heading/Heading.d.ts.map +1 -1
  55. package/dist/Heading/Heading.js +4 -2
  56. package/dist/HoverCard/useHoverCard.d.ts.map +1 -1
  57. package/dist/HoverCard/useHoverCard.js +10 -2
  58. package/dist/Item/Item.d.ts +6 -2
  59. package/dist/Item/Item.d.ts.map +1 -1
  60. package/dist/Item/Item.js +19 -4
  61. package/dist/Layer/layerViewportInset.stylex.d.ts +6 -2
  62. package/dist/Layer/layerViewportInset.stylex.d.ts.map +1 -1
  63. package/dist/Layer/layerViewportInset.stylex.js +6 -2
  64. package/dist/Layer/useLayer.d.ts.map +1 -1
  65. package/dist/Layer/useLayer.js +13 -7
  66. package/dist/Layer/useLayerDismissal.d.ts +1 -1
  67. package/dist/Layer/useLayerDismissal.js +1 -1
  68. package/dist/Layout/container.stylex.d.ts +5 -5
  69. package/dist/Layout/container.stylex.js +4 -4
  70. package/dist/List/List.d.ts +46 -19
  71. package/dist/List/List.d.ts.map +1 -1
  72. package/dist/List/List.js +28 -10
  73. package/dist/List/ListContext.d.ts +8 -3
  74. package/dist/List/ListContext.d.ts.map +1 -1
  75. package/dist/List/ListContext.js +7 -2
  76. package/dist/List/ListItem.d.ts +13 -5
  77. package/dist/List/ListItem.d.ts.map +1 -1
  78. package/dist/List/ListItem.js +21 -8
  79. package/dist/List/index.d.ts +1 -1
  80. package/dist/List/index.d.ts.map +1 -1
  81. package/dist/Markdown/Markdown.d.ts.map +1 -1
  82. package/dist/Markdown/Markdown.js +8 -1
  83. package/dist/Markdown/plugins/frontmatter.d.ts.map +1 -1
  84. package/dist/Markdown/plugins/frontmatter.js +7 -3
  85. package/dist/MetadataList/MetadataList.d.ts.map +1 -1
  86. package/dist/MetadataList/MetadataList.js +5 -1
  87. package/dist/MetadataList/MetadataListContext.d.ts +1 -1
  88. package/dist/MetadataList/MetadataListContext.d.ts.map +1 -1
  89. package/dist/MobileNav/MobileNav.d.ts +9 -0
  90. package/dist/MobileNav/MobileNav.d.ts.map +1 -1
  91. package/dist/MobileNav/MobileNav.js +30 -3
  92. package/dist/MultiSelector/MultiSelector.d.ts.map +1 -1
  93. package/dist/MultiSelector/MultiSelector.js +22 -8
  94. package/dist/MultiSelector/OptionActions.a11y.chromium.spec.js +100 -2
  95. package/dist/Popover/Popover.js +2 -2
  96. package/dist/RadioList/RadioList.d.ts +1 -1
  97. package/dist/RadioList/RadioList.d.ts.map +1 -1
  98. package/dist/RadioList/RadioList.js +6 -2
  99. package/dist/RadioList/RadioListItem.d.ts +9 -1
  100. package/dist/RadioList/RadioListItem.d.ts.map +1 -1
  101. package/dist/RadioList/RadioListItem.js +2 -0
  102. package/dist/SideNav/SideNavItem.d.ts +8 -1
  103. package/dist/SideNav/SideNavItem.d.ts.map +1 -1
  104. package/dist/SideNav/SideNavItem.js +71 -9
  105. package/dist/TabList/TabMenu.d.ts +2 -2
  106. package/dist/TabList/TabMenu.d.ts.map +1 -1
  107. package/dist/TabList/TabMenu.js +6 -3
  108. package/dist/Text/Text.d.ts.map +1 -1
  109. package/dist/Text/Text.js +4 -2
  110. package/dist/Text/useTruncation.d.ts +7 -5
  111. package/dist/Text/useTruncation.d.ts.map +1 -1
  112. package/dist/Text/useTruncation.js +16 -5
  113. package/dist/ToggleButton/ToggleButton.d.ts +3 -2
  114. package/dist/ToggleButton/ToggleButton.d.ts.map +1 -1
  115. package/dist/ToggleButton/ToggleButton.js +12 -1
  116. package/dist/TopNav/TopNavMegaMenu.d.ts.map +1 -1
  117. package/dist/TopNav/TopNavMegaMenu.js +3 -3
  118. package/dist/TopNav/TopNavMenu.d.ts.map +1 -1
  119. package/dist/TopNav/TopNavMenu.js +3 -3
  120. package/dist/TreeList/TreeList.d.ts.map +1 -1
  121. package/dist/TreeList/TreeList.js +1 -0
  122. package/dist/TreeList/TreeListBranches.d.ts.map +1 -1
  123. package/dist/TreeList/TreeListBranches.js +2 -2
  124. package/dist/TreeList/TreeListItem.d.ts.map +1 -1
  125. package/dist/TreeList/TreeListItem.js +57 -9
  126. package/dist/astryx.css +46 -13
  127. package/dist/hooks/useEntryAnimation.d.ts +2 -1
  128. package/dist/hooks/useEntryAnimation.d.ts.map +1 -1
  129. package/dist/hooks/useEntryAnimation.js +14 -12
  130. package/dist/hooks/useIsHydrating.d.ts +6 -0
  131. package/dist/hooks/useIsHydrating.d.ts.map +1 -0
  132. package/dist/hooks/useIsHydrating.js +30 -0
  133. package/dist/hooks/useMenuHover.d.ts.map +1 -1
  134. package/dist/hooks/useMenuHover.js +18 -13
  135. package/dist/i18n/generated-locales/en.generated.d.ts.map +1 -1
  136. package/dist/i18n/generated-locales/en.generated.js +93 -1
  137. package/dist/i18n/generated-locales/pseudo.generated.d.ts.map +1 -1
  138. package/dist/i18n/generated-locales/pseudo.generated.js +93 -1
  139. package/dist/index.d.ts +1 -0
  140. package/dist/index.d.ts.map +1 -1
  141. package/dist/index.js +1 -0
  142. package/dist/theme/derivedVarRegistry.d.ts.map +1 -1
  143. package/dist/theme/derivedVarRegistry.js +0 -3
  144. package/dist/utils/focusOutline.stylex.d.ts +4 -0
  145. package/dist/utils/focusOutline.stylex.d.ts.map +1 -1
  146. package/dist/utils/focusOutline.stylex.js +4 -0
  147. package/dist/utils/plainDate.d.ts.map +1 -1
  148. package/dist/utils/plainDate.js +15 -9
  149. package/dist/utils/sharedMutationObserver.d.ts +21 -0
  150. package/dist/utils/sharedMutationObserver.d.ts.map +1 -0
  151. package/dist/utils/sharedMutationObserver.js +69 -0
  152. package/locales/en.json +368 -0
  153. package/locales/pseudo.json +276 -0
  154. package/package.json +8 -3
  155. package/scripts/agent-doc-state.mjs +38 -0
  156. package/scripts/postinstall.mjs +1 -1
  157. package/src/AppShell/AppShell.tsx +45 -1
  158. package/src/AspectRatio/AspectRatio.test.tsx +44 -43
  159. package/src/AspectRatio/AspectRatio.tsx +38 -18
  160. package/src/AspectRatio/__tests__/AspectRatioFitLayers.a11y.browser.spec.ts +157 -0
  161. package/src/Avatar/Avatar.doc.mjs +5 -3
  162. package/src/AvatarGroup/AvatarGroup.doc.mjs +3 -2
  163. package/src/Breadcrumbs/BreadcrumbItem.tsx +4 -1
  164. package/src/Breadcrumbs/Breadcrumbs.test.tsx +30 -1
  165. package/src/Card/Card.doc.mjs +1 -1
  166. package/src/Chat/__tests__/ChatMessageMetadata.a11y.chromium.spec.ts +3 -1
  167. package/src/CheckboxInput/CheckboxInput.test.tsx +34 -0
  168. package/src/CheckboxInput/CheckboxInput.tsx +3 -1
  169. package/src/CheckboxList/CheckboxList.test.tsx +22 -0
  170. package/src/CheckboxList/CheckboxListItem.doc.mjs +16 -0
  171. package/src/CheckboxList/CheckboxListItem.tsx +10 -0
  172. package/src/CommandPalette/CommandPaletteInput.test.tsx +53 -4
  173. package/src/CommandPalette/CommandPaletteInput.tsx +33 -3
  174. package/src/CommandPalette/__tests__/CommandPaletteInputAudit.a11y.chromium.spec.ts +335 -0
  175. package/src/CommandPalette/__tests__/CommandPaletteItemAudit.a11y.chromium.spec.ts +292 -0
  176. package/src/ContextMenu/ContextMenu.doc.mjs +2 -3
  177. package/src/ContextMenu/ContextMenu.tsx +4 -1
  178. package/src/ContextMenu/__tests__/ContextMenuAudit.a11y.chromium.spec.ts +438 -0
  179. package/src/Dialog/Dialog.test.tsx +46 -0
  180. package/src/Dialog/Dialog.tsx +20 -7
  181. package/src/Dialog/__tests__/Dialog.a11y.known-failures.ts +0 -14
  182. package/src/Drawer/Drawer.doc.mjs +472 -0
  183. package/src/Drawer/Drawer.spec.md +357 -0
  184. package/src/Drawer/Drawer.test.tsx +1300 -0
  185. package/src/Drawer/Drawer.tsx +613 -0
  186. package/src/Drawer/DrawerDirection.test.tsx +127 -0
  187. package/src/Drawer/DrawerHeader.doc.mjs +293 -0
  188. package/src/Drawer/DrawerHeader.test.tsx +102 -0
  189. package/src/Drawer/DrawerHeader.tsx +235 -0
  190. package/src/Drawer/__tests__/DrawerAudit.a11y.chromium.spec.ts +401 -0
  191. package/src/Drawer/__tests__/DrawerHeaderAudit.a11y.chromium.spec.ts +297 -0
  192. package/src/Drawer/index.ts +13 -0
  193. package/src/Drawer/useDrawerDialogPresence.ts +284 -0
  194. package/src/DropdownMenu/DropdownMenu.ssr.test.tsx +57 -0
  195. package/src/DropdownMenu/DropdownMenu.test.tsx +76 -14
  196. package/src/DropdownMenu/DropdownMenu.tsx +83 -12
  197. package/src/DropdownMenu/DropdownMenuContext.tsx +24 -0
  198. package/src/DropdownMenu/DropdownMenuDivider.doc.mjs +2 -2
  199. package/src/DropdownMenu/DropdownMenuDivider.spec.md +192 -0
  200. package/src/DropdownMenu/DropdownMenuDivider.tsx +9 -5
  201. package/src/DropdownMenu/DropdownMenuLazySheet.test.tsx +126 -0
  202. package/src/DropdownMenu/DropdownMenuSubMenu.test.tsx +185 -0
  203. package/src/DropdownMenu/DropdownMenuSubMenu.tsx +19 -5
  204. package/src/DropdownMenu/__tests__/DropdownMenuDividerAudit.a11y.chromium.spec.ts +280 -0
  205. package/src/DropdownMenu/__tests__/Menu.a11y.chromium.spec.ts +145 -0
  206. package/src/DropdownMenu/__tests__/Menu.a11y.known-failures.ts +26 -0
  207. package/src/DropdownMenu/__tests__/Menu.a11y.renders.tsx +65 -0
  208. package/src/DropdownMenu/__tests__/Menu.a11y.states.ts +138 -0
  209. package/src/DropdownMenu/__tests__/Menu.a11y.test.tsx +136 -0
  210. package/src/DropdownMenu/__tests__/warmMenuBottomSheet.tsx +43 -0
  211. package/src/DropdownMenu/lazyMenuBottomSheet.ts +71 -0
  212. package/src/EmptyState/EmptyState.doc.mjs +3 -2
  213. package/src/EmptyState/EmptyState.spec.md +189 -0
  214. package/src/EmptyState/EmptyState.test.tsx +74 -3
  215. package/src/EmptyState/EmptyState.tsx +4 -8
  216. package/src/Field/Field.doc.mjs +14 -8
  217. package/src/Field/Field.spec.md +217 -0
  218. package/src/Field/Field.test.tsx +60 -2
  219. package/src/Field/Field.tsx +17 -8
  220. package/src/Grid/GridSpan.tsx +3 -0
  221. package/src/Heading/Heading.test.tsx +57 -0
  222. package/src/Heading/Heading.tsx +6 -2
  223. package/src/HoverCard/HoverCard.test.tsx +58 -0
  224. package/src/HoverCard/useHoverCard.tsx +10 -2
  225. package/src/Item/Item.doc.mjs +12 -8
  226. package/src/Item/Item.spec.md +226 -0
  227. package/src/Item/Item.test.tsx +61 -0
  228. package/src/Item/Item.tsx +40 -4
  229. package/src/Layer/layerViewportInset.source-build.test.mjs +90 -0
  230. package/src/Layer/layerViewportInset.stylex.ts +6 -2
  231. package/src/Layer/layerViewportInset.test.ts +1 -0
  232. package/src/Layer/useLayer.tsx +24 -13
  233. package/src/Layer/useLayerDismissal.ts +1 -1
  234. package/src/Layout/container.stylex.ts +6 -6
  235. package/src/List/List.doc.mjs +14 -1
  236. package/src/List/List.spec.md +129 -77
  237. package/src/List/List.test.tsx +163 -94
  238. package/src/List/List.tsx +74 -18
  239. package/src/List/ListContext.tsx +9 -3
  240. package/src/List/ListItem.doc.mjs +16 -0
  241. package/src/List/ListItem.tsx +56 -27
  242. package/src/List/index.ts +1 -1
  243. package/src/Markdown/Markdown.tsx +14 -1
  244. package/src/Markdown/plugins/frontmatter.test.tsx +25 -0
  245. package/src/Markdown/plugins/frontmatter.ts +7 -3
  246. package/src/MetadataList/MetadataList.doc.mjs +2 -2
  247. package/src/MetadataList/MetadataList.test.tsx +38 -0
  248. package/src/MetadataList/MetadataList.tsx +8 -1
  249. package/src/MetadataList/MetadataListContext.tsx +1 -1
  250. package/src/MobileNav/MobileNav.tsx +30 -3
  251. package/src/MobileNav/MobileNavCloseEdgeCases.test.tsx +173 -15
  252. package/src/MoreMenu/MoreMenu.test.tsx +5 -1
  253. package/src/MultiSelector/MultiSelector.test.tsx +159 -0
  254. package/src/MultiSelector/MultiSelector.tsx +40 -7
  255. package/src/MultiSelector/OptionActions.a11y.chromium.spec.ts +112 -2
  256. package/src/Popover/Popover.test.tsx +2 -2
  257. package/src/Popover/Popover.tsx +4 -4
  258. package/src/RadioList/RadioList.fr10.test.tsx +45 -2
  259. package/src/RadioList/RadioList.test.tsx +22 -0
  260. package/src/RadioList/RadioList.tsx +4 -1
  261. package/src/RadioList/RadioListItem.doc.mjs +16 -0
  262. package/src/RadioList/RadioListItem.tsx +10 -1
  263. package/src/SideNav/SideNav.test.tsx +179 -0
  264. package/src/SideNav/SideNavItem.doc.mjs +2 -2
  265. package/src/SideNav/SideNavItem.tsx +96 -17
  266. package/src/Slider/Slider.spec.md +39 -18
  267. package/src/TabList/TabList.spec.md +57 -44
  268. package/src/TabList/TabList.test.tsx +67 -0
  269. package/src/TabList/TabMenu.doc.mjs +4 -3
  270. package/src/TabList/TabMenu.tsx +7 -4
  271. package/src/Text/Text.test.tsx +57 -0
  272. package/src/Text/Text.tsx +6 -2
  273. package/src/Text/useTruncation.test.tsx +69 -0
  274. package/src/Text/useTruncation.ts +16 -5
  275. package/src/TimeInput/TimeInput.fr10.test.tsx +15 -0
  276. package/src/ToggleButton/ToggleButton.test.tsx +95 -0
  277. package/src/ToggleButton/ToggleButton.tsx +12 -1
  278. package/src/Tooltip/Tooltip.test.tsx +31 -0
  279. package/src/TopNav/TopNavMegaMenu.test.tsx +22 -0
  280. package/src/TopNav/TopNavMegaMenu.tsx +7 -3
  281. package/src/TopNav/TopNavMenu.test.tsx +19 -0
  282. package/src/TopNav/TopNavMenu.tsx +11 -3
  283. package/src/TreeList/TreeList.doc.mjs +1 -0
  284. package/src/TreeList/TreeList.spec.md +29 -17
  285. package/src/TreeList/TreeList.test.tsx +327 -6
  286. package/src/TreeList/TreeList.tsx +5 -1
  287. package/src/TreeList/TreeListBranches.tsx +6 -0
  288. package/src/TreeList/TreeListItem.tsx +88 -13
  289. package/src/docPropLiterals.test.ts +36 -10
  290. package/src/hooks/useEntryAnimation.doc.mjs +4 -4
  291. package/src/hooks/useEntryAnimation.ssr.test.tsx +143 -0
  292. package/src/hooks/useEntryAnimation.ts +15 -16
  293. package/src/hooks/useIsHydrating.test.tsx +70 -0
  294. package/src/hooks/useIsHydrating.ts +31 -0
  295. package/src/hooks/useMenuHover.ts +18 -13
  296. package/src/i18n/generated-locales/en.generated.ts +100 -0
  297. package/src/i18n/generated-locales/pseudo.generated.ts +100 -0
  298. package/src/index.ts +1 -0
  299. package/src/postinstall.test.mjs +46 -0
  300. package/src/reset.css +0 -29
  301. package/src/theme/derivedVarRegistry.test.ts +7 -3
  302. package/src/theme/derivedVarRegistry.ts +0 -3
  303. package/src/utils/focusOutline.stylex.ts +4 -0
  304. package/src/utils/plainDate.test.ts +37 -1
  305. package/src/utils/plainDate.ts +15 -5
  306. package/src/utils/sharedMutationObserver.test.ts +53 -0
  307. package/src/utils/sharedMutationObserver.ts +78 -0
@@ -18,12 +18,12 @@ export const docs = {
18
18
  {
19
19
  name: 'entryStyle',
20
20
  type: 'StyleXStyles | null',
21
- description: 'A StyleX style object for the entry animation, or null if the element was rendered on initial page load (no animation needed).',
21
+ description: 'A StyleX style object for the entry animation, or null if the element was rendered on initial page load or hydrated from server HTML (no animation needed).',
22
22
  },
23
23
  ],
24
24
  usage: {
25
25
  description:
26
- 'Returns a StyleX style for animating an element on mount. Only animates when the element is dynamically inserted after the initial page paint; elements rendered on page load are not animated. Uses Astryx motion tokens (duration, easing) for consistent animation timing. Requires "use client"; does not support SSR.',
26
+ 'Returns a StyleX style for animating an element on mount. Only animates when the element is dynamically inserted after the initial page paint; elements rendered on page load are not animated. Uses Astryx motion tokens (duration, easing) for consistent animation timing. Server-rendered elements hydrate without the entry style and never animate; elements mounted after hydration animate.',
27
27
  bestPractices: [
28
28
  { guidance: true, description: 'Use for conditionally rendered elements like validation messages, toasts, or expanding sections.' },
29
29
  { guidance: true, description: 'Spread the returned style into stylex.props() alongside other styles.' },
@@ -39,7 +39,7 @@ export const docs = {
39
39
  /** @type {import('@astryxdesign/cli/authoring').HookTranslationDoc} */
40
40
  export const docsDense = {
41
41
  description:
42
- 'Returns StyleX style for animating element on mount. Only animates when element dynamically inserted after initial page paint; elements rendered on page load not animated. Uses Astryx motion tokens (duration, easing) for consistent timing. Requires "use client"; does not support SSR.',
42
+ 'Returns StyleX style for animating element on mount. Only animates when element dynamically inserted after initial page paint; elements rendered on page load not animated. Uses Astryx motion tokens (duration, easing) for consistent timing. Server-rendered elements hydrate without entry style, never animate; elements mounted after hydration animate.',
43
43
  paramDescriptions: {
44
44
  preset: 'animation preset applied on mount.',
45
45
  },
@@ -48,7 +48,7 @@ export const docsDense = {
48
48
  },
49
49
  usage: {
50
50
  description:
51
- 'Returns StyleX style for animating element on mount. Only animates when element dynamically inserted after initial page paint; elements rendered on page load not animated. Uses Astryx motion tokens (duration, easing) for consistent timing. Requires "use client"; does not support SSR.',
51
+ 'Returns StyleX style for animating element on mount. Only animates when element dynamically inserted after initial page paint; elements rendered on page load not animated. Uses Astryx motion tokens (duration, easing) for consistent timing. Server-rendered elements hydrate without entry style, never animate; elements mounted after hydration animate.',
52
52
  bestPractices: [
53
53
  { guidance: true, description: 'Use for conditionally rendered elements like validation messages, toasts, expanding sections.' },
54
54
  { guidance: true, description: 'Spread returned style into stylex.props() alongside other styles.' },
@@ -0,0 +1,143 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * @file useEntryAnimation.ssr.test.tsx
5
+ * @input FieldStatus server markup, React hydration, and client mounts
6
+ * @output Proves server-rendered entry-animated elements hydrate without mismatches
7
+ * @position SSR acceptance test for useEntryAnimation
8
+ */
9
+
10
+ import {act, useState} from 'react';
11
+ import {afterEach, describe, expect, it, vi} from 'vitest';
12
+ import {createRoot, hydrateRoot} from 'react-dom/client';
13
+ import {renderToString} from 'react-dom/server';
14
+
15
+ // Each test imports a fresh copy of FieldStatus with the hook's first-frame
16
+ // callback held back, so server markup renders before the page "paints" (as on
17
+ // a real server) and `paint()` then runs that frame.
18
+ async function importFieldStatus() {
19
+ const frames: FrameRequestCallback[] = [];
20
+ vi.stubGlobal('requestAnimationFrame', (callback: FrameRequestCallback) =>
21
+ frames.push(callback),
22
+ );
23
+ vi.resetModules();
24
+ const {FieldStatus} = await import('../FieldStatus');
25
+ vi.unstubAllGlobals();
26
+ const paint = () => {
27
+ frames.splice(0).forEach(callback => callback(performance.now()));
28
+ };
29
+ return {FieldStatus, paint};
30
+ }
31
+
32
+ function mountServerHTML(html: string): HTMLDivElement {
33
+ const container = document.createElement('div');
34
+ container.innerHTML = html;
35
+ document.body.appendChild(container);
36
+ return container;
37
+ }
38
+
39
+ function classesOf(element: Element | null): string[] {
40
+ return (element?.getAttribute('class') ?? '').split(/\s+/).filter(Boolean);
41
+ }
42
+
43
+ afterEach(() => {
44
+ vi.restoreAllMocks();
45
+ vi.unstubAllGlobals();
46
+ document.body.replaceChildren();
47
+ });
48
+
49
+ describe('useEntryAnimation — SSR', () => {
50
+ it('hydrates server-rendered FieldStatus after the first paint without a mismatch', async () => {
51
+ const {FieldStatus, paint} = await importFieldStatus();
52
+ const tree = <FieldStatus type="error" message="x" />;
53
+ const serverHTML = renderToString(tree);
54
+ const container = mountServerHTML(serverHTML);
55
+ const serverClassName = container.firstElementChild?.className;
56
+ paint();
57
+
58
+ const consoleError = vi
59
+ .spyOn(console, 'error')
60
+ .mockImplementation(() => {});
61
+ const recoverableErrors: unknown[] = [];
62
+ let root!: ReturnType<typeof hydrateRoot>;
63
+ await act(async () => {
64
+ root = hydrateRoot(container, tree, {
65
+ onRecoverableError: error => recoverableErrors.push(error),
66
+ });
67
+ });
68
+
69
+ expect(
70
+ consoleError.mock.calls.filter(call =>
71
+ String(call[0] ?? '')
72
+ .toLowerCase()
73
+ .includes('hydrat'),
74
+ ),
75
+ ).toEqual([]);
76
+ expect(recoverableErrors).toEqual([]);
77
+ expect(container.firstElementChild?.className).toBe(serverClassName);
78
+
79
+ await act(async () => {
80
+ root.unmount();
81
+ });
82
+ });
83
+
84
+ it('still animates a client-only mount after the first paint', async () => {
85
+ const {FieldStatus, paint} = await importFieldStatus();
86
+ const staticClasses = classesOf(
87
+ mountServerHTML(renderToString(<FieldStatus type="error" message="x" />))
88
+ .firstElementChild,
89
+ );
90
+ paint();
91
+
92
+ const container = document.createElement('div');
93
+ document.body.appendChild(container);
94
+ const root = createRoot(container);
95
+ await act(async () => {
96
+ root.render(<FieldStatus type="error" message="x" />);
97
+ });
98
+
99
+ const clientClasses = classesOf(container.firstElementChild);
100
+ expect(clientClasses).toEqual(expect.arrayContaining(staticClasses));
101
+ expect(clientClasses.length).toBeGreaterThan(staticClasses.length);
102
+
103
+ await act(async () => {
104
+ root.unmount();
105
+ });
106
+ });
107
+
108
+ it('animates a FieldStatus mounted after hydration', async () => {
109
+ const {FieldStatus, paint} = await importFieldStatus();
110
+ let showSecond!: () => void;
111
+ function Form() {
112
+ const [second, setSecond] = useState(false);
113
+ showSecond = () => setSecond(true);
114
+ return (
115
+ <>
116
+ <FieldStatus type="error" message="first" />
117
+ {second ? <FieldStatus type="error" message="second" /> : null}
118
+ </>
119
+ );
120
+ }
121
+ const container = mountServerHTML(renderToString(<Form />));
122
+ const staticClasses = classesOf(container.firstElementChild);
123
+ paint();
124
+
125
+ let root!: ReturnType<typeof hydrateRoot>;
126
+ await act(async () => {
127
+ root = hydrateRoot(container, <Form />);
128
+ });
129
+ await act(async () => {
130
+ showSecond();
131
+ });
132
+
133
+ const mounted = container.children[1] ?? null;
134
+ expect(mounted).toHaveTextContent('second');
135
+ const mountedClasses = classesOf(mounted);
136
+ expect(mountedClasses).toEqual(expect.arrayContaining(staticClasses));
137
+ expect(mountedClasses.length).toBeGreaterThan(staticClasses.length);
138
+
139
+ await act(async () => {
140
+ root.unmount();
141
+ });
142
+ });
143
+ });
@@ -3,29 +3,27 @@
3
3
  'use client';
4
4
  /**
5
5
  * @file useEntryAnimation.ts
6
- * @input Uses React, StyleX, theme tokens
6
+ * @input Uses React, StyleX, theme tokens, useIsHydrating
7
7
  * @output Exports useEntryAnimation hook for mount-only entry animations
8
8
  * @position Hook utility; consumed by FieldStatus and available to consumers
9
9
  *
10
10
  * Provides entry animations for conditionally rendered elements.
11
11
  * Only animates when the element is dynamically mounted after the initial
12
12
  * page paint — statically rendered elements on page load are not animated.
13
+ * Server-rendered elements hydrate without the entry style and never play it
14
+ * (spec:AST-013 FR13).
13
15
  */
14
16
 
15
17
  import {useState} from 'react';
16
18
  import * as stylex from '@stylexjs/stylex';
17
19
  import type {StyleXStyles} from '@stylexjs/stylex';
18
20
  import {durationVars, easeVars, spacingVars} from '../theme/tokens.stylex';
21
+ import {useIsHydrating} from './useIsHydrating';
19
22
 
20
- // Track whether the initial page paint has completed.
21
- // Elements rendered on page load should not animate;
22
- // only dynamically inserted ones should.
23
- //
24
- // NOTE: This module is marked 'use client' so it never runs on the server.
25
- // If the directive is removed, this flag will always be false during SSR,
26
- // and useState(() => initialPaintComplete) will capture false — meaning
27
- // animations won't run after hydration. Keep 'use client' or add an
28
- // effect-based fallback if SSR support is needed.
23
+ // Track whether the initial page paint has completed, so elements a
24
+ // client-only root renders on page load do not animate; only dynamically
25
+ // inserted ones should. Server-rendered elements are covered by
26
+ // useIsHydrating instead: hydration can run after this flag turns true.
29
27
  let initialPaintComplete = false;
30
28
  if (typeof window !== 'undefined') {
31
29
  requestAnimationFrame(() => {
@@ -99,16 +97,14 @@ const styles = stylex.create({
99
97
  });
100
98
 
101
99
  export type EntryAnimationPreset =
102
- | 'slideDown'
103
- | 'slideUp'
104
- | 'fadeIn'
105
- | 'scaleIn';
100
+ 'slideDown' | 'slideUp' | 'fadeIn' | 'scaleIn';
106
101
 
107
102
  /**
108
103
  * Returns a StyleX style for animating an element on mount.
109
104
  *
110
105
  * Only animates when the element is dynamically inserted after the initial
111
- * page paint. Elements rendered on page load are not animated.
106
+ * page paint. Elements rendered on page load, including server-rendered
107
+ * elements while they hydrate, are not animated.
112
108
  *
113
109
  * @example
114
110
  * ```
@@ -119,6 +115,9 @@ export type EntryAnimationPreset =
119
115
  export function useEntryAnimation(
120
116
  preset: EntryAnimationPreset = 'slideDown',
121
117
  ): StyleXStyles | null {
122
- const [animate] = useState(() => initialPaintComplete);
118
+ const isHydrating = useIsHydrating();
119
+ // Captured once: a hydrated element must not start animating when React
120
+ // re-renders it with the client snapshot after hydration.
121
+ const [animate] = useState(() => !isHydrating && initialPaintComplete);
123
122
  return animate ? styles[preset] : null;
124
123
  }
@@ -0,0 +1,70 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * @file useIsHydrating.test.tsx
5
+ * @input useIsHydrating, React server render, hydration, and client roots
6
+ * @output Proves the hook is true only on the server and while hydrating
7
+ * @position Unit test for the internal hydration-state utility
8
+ */
9
+
10
+ import {act, useState} from 'react';
11
+ import {afterEach, describe, expect, it} from 'vitest';
12
+ import {createRoot, hydrateRoot} from 'react-dom/client';
13
+ import {renderToString} from 'react-dom/server';
14
+ import {useIsHydrating} from './useIsHydrating';
15
+
16
+ const seen: boolean[] = [];
17
+
18
+ function Probe() {
19
+ const isHydrating = useIsHydrating();
20
+ seen.push(isHydrating);
21
+ return <span data-hydrating={String(isHydrating)} />;
22
+ }
23
+
24
+ afterEach(() => {
25
+ seen.length = 0;
26
+ document.body.replaceChildren();
27
+ });
28
+
29
+ describe('useIsHydrating', () => {
30
+ it('is true on the server', () => {
31
+ expect(renderToString(<Probe />)).toContain('data-hydrating="true"');
32
+ });
33
+
34
+ it('is true while hydrating, then false after hydration', async () => {
35
+ const container = document.createElement('div');
36
+ container.innerHTML = renderToString(<Probe />);
37
+ document.body.appendChild(container);
38
+ seen.length = 0;
39
+
40
+ let root!: ReturnType<typeof hydrateRoot>;
41
+ await act(async () => {
42
+ root = hydrateRoot(container, <Probe />);
43
+ });
44
+
45
+ expect(seen[0]).toBe(true);
46
+ expect(seen.at(-1)).toBe(false);
47
+ expect(container.querySelector('span')).toHaveAttribute(
48
+ 'data-hydrating',
49
+ 'false',
50
+ );
51
+ await act(async () => root.unmount());
52
+ });
53
+
54
+ it('is false in a client-only root and for elements mounted after hydration', async () => {
55
+ let show!: () => void;
56
+ function Later() {
57
+ const [isShown, setIsShown] = useState(false);
58
+ show = () => setIsShown(true);
59
+ return isShown ? <Probe /> : null;
60
+ }
61
+ const container = document.createElement('div');
62
+ document.body.appendChild(container);
63
+ const root = createRoot(container);
64
+ await act(async () => root.render(<Later />));
65
+ await act(async () => show());
66
+
67
+ expect(seen).toEqual([false]);
68
+ await act(async () => root.unmount());
69
+ });
70
+ });
@@ -0,0 +1,31 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ 'use client';
4
+
5
+ /**
6
+ * @file useIsHydrating.ts
7
+ * @input Uses React useSyncExternalStore
8
+ * @output Exports useIsHydrating (internal; not re-exported from hooks/index.ts)
9
+ * @position Internal utility; read by useEntryAnimation so markup that
10
+ * hydrates server HTML matches the server (spec:AST-013 FR9, FR13)
11
+ *
12
+ * React renders with the server snapshot on the server and again in the
13
+ * client render that hydrates server HTML, then re-renders with the client
14
+ * snapshot. Code that must render the server's markup while hydrating reads
15
+ * this instead of a first-paint flag, timer, animation frame, or mount Effect.
16
+ */
17
+
18
+ import {useSyncExternalStore} from 'react';
19
+
20
+ // Nothing ever changes, so there is nothing to subscribe to.
21
+ const subscribe = () => () => {};
22
+ const getSnapshot = () => false;
23
+ const getServerSnapshot = () => true;
24
+
25
+ /**
26
+ * Returns `true` during server render and during the client render that
27
+ * hydrates server HTML; `false` in every other client render.
28
+ */
29
+ export function useIsHydrating(): boolean {
30
+ return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
31
+ }
@@ -230,19 +230,6 @@ export function useMenuHover<T extends HTMLElement = HTMLElement>(
230
230
  const hoverOpenedAtRef = useRef(0);
231
231
  const prevIsOpenRef = useRef(isOpen);
232
232
 
233
- // Catches every close, whatever caused it. A layout effect, not render: it
234
- // must land before the browser hit-tests the vanished panel and fires the
235
- // mouseenter REOPEN_SUPPRESS_MS exists to swallow.
236
- useIsomorphicLayoutEffect(() => {
237
- const wasOpen = prevIsOpenRef.current;
238
- prevIsOpenRef.current = isOpen;
239
- if (wasOpen && !isOpen) {
240
- hoverModeRef.current = false;
241
- hoverOpenedAtRef.current = 0;
242
- closedAtRef.current = Date.now();
243
- }
244
- }, [isOpen]);
245
-
246
233
  const clearTimeouts = useCallback(() => {
247
234
  if (showTimerRef.current) {
248
235
  clearTimeout(showTimerRef.current);
@@ -256,6 +243,24 @@ export function useMenuHover<T extends HTMLElement = HTMLElement>(
256
243
  safeTriangleCleanupRef.current = null;
257
244
  }, []);
258
245
 
246
+ // Catches every close, whatever caused it. A layout effect, not render: it
247
+ // must land before the browser hit-tests the vanished panel and fires the
248
+ // mouseenter REOPEN_SUPPRESS_MS exists to swallow.
249
+ useIsomorphicLayoutEffect(() => {
250
+ const wasOpen = prevIsOpenRef.current;
251
+ prevIsOpenRef.current = isOpen;
252
+ if (wasOpen && !isOpen) {
253
+ // A hover-open scheduled before the close must not fire afterwards and
254
+ // reopen what just closed from elsewhere — e.g. the root menu's light
255
+ // dismiss closing a submenu flyout mid hover-intent (#6893). A fresh
256
+ // mouseenter still opens; only the stale timer is cancelled.
257
+ clearTimeouts();
258
+ hoverModeRef.current = false;
259
+ hoverOpenedAtRef.current = 0;
260
+ closedAtRef.current = Date.now();
261
+ }
262
+ }, [isOpen, clearTimeouts]);
263
+
259
264
  // useListFocus needs an onEscape that is defined in terms of its own listRef;
260
265
  // the indirection avoids the use-before-declare.
261
266
  const escapeHandlerRef = useRef<() => void>(() => {});
@@ -480,6 +480,106 @@ const runtimeCatalog: Readonly<Record<string, string>> = {
480
480
  '@astryx.transferListSelector.apply': 'Apply',
481
481
  '@astryx.transferListSelector.cancel': 'Cancel',
482
482
  '@astryx.transferListSelector.triggerLabel': '{count, number} selected',
483
+ '@astryx.emojiPicker.label': 'Emoji',
484
+ '@astryx.emojiPicker.searchLabel': 'Search emoji',
485
+ '@astryx.emojiPicker.frequentlyUsed': 'Frequently used',
486
+ '@astryx.emojiPicker.searchResults': 'Search results',
487
+ '@astryx.emojiPicker.noResults': 'No emoji match “{query}”',
488
+ '@astryx.emojiPicker.loading': 'Loading emoji',
489
+ '@astryx.emojiPicker.loadFailed': "More emoji couldn't be loaded.",
490
+ '@astryx.emojiPicker.groupSmileysEmotion': 'Smileys & emotion',
491
+ '@astryx.emojiPicker.groupPeopleBody': 'People & body',
492
+ '@astryx.emojiPicker.groupAnimalsNature': 'Animals & nature',
493
+ '@astryx.emojiPicker.groupFoodDrink': 'Food & drink',
494
+ '@astryx.emojiPicker.groupTravelPlaces': 'Travel & places',
495
+ '@astryx.emojiPicker.groupActivities': 'Activities',
496
+ '@astryx.emojiPicker.groupObjects': 'Objects',
497
+ '@astryx.emojiPicker.groupSymbols': 'Symbols',
498
+ '@astryx.emojiPicker.groupFlags': 'Flags',
499
+ '@astryx.comments.retry': 'Retry',
500
+ '@astryx.commentComposer.placeholder': 'Write a comment…',
501
+ '@astryx.commentComposer.noAgents': 'No agents',
502
+ '@astryx.commentComposer.agents': 'Agents',
503
+ '@astryx.commentComposer.uploadFailed': "Images couldn't be added",
504
+ '@astryx.commentComposer.imagesOnly': 'Only image files can be added',
505
+ '@astryx.commentComposer.chooseImages': 'Choose images',
506
+ '@astryx.commentComposer.imageAlt': 'Image attachment',
507
+ '@astryx.commentComposer.removeQuote': 'Remove quoted text',
508
+ '@astryx.commentComposer.attachImages': 'Attach images',
509
+ '@astryx.commentComposer.addEmoji': 'Add emoji',
510
+ '@astryx.commentComposer.cancel': 'Cancel',
511
+ '@astryx.comments.actionsLabel': "Actions for {name}'s comment",
512
+ '@astryx.comments.addReaction': 'Add reaction',
513
+ '@astryx.comments.agentBadge': 'Agent',
514
+ '@astryx.comments.agentLogo': '{name} logo',
515
+ '@astryx.comments.chooseReaction': 'Choose a reaction',
516
+ '@astryx.comments.copyLink': 'Copy comment link',
517
+ '@astryx.comments.currentVersion': 'Current version',
518
+ '@astryx.comments.delete': 'Delete',
519
+ '@astryx.comments.deleteDescription':
520
+ "Delete {name}'s comment? This action cannot be undone.",
521
+ '@astryx.comments.deleteFailed': "This comment couldn't be deleted.",
522
+ '@astryx.comments.deleteFailedRetry':
523
+ "This comment couldn't be deleted. Try again.",
524
+ '@astryx.comments.deleteTitle': 'Delete comment?',
525
+ '@astryx.comments.edit': 'Edit',
526
+ '@astryx.comments.editFailed': "Your edit couldn't be saved.",
527
+ '@astryx.comments.editPlaceholder': 'Edit comment',
528
+ '@astryx.comments.edited': 'Edited',
529
+ '@astryx.comments.editingContext': 'Editing comment',
530
+ '@astryx.comments.hideReplies': 'Hide replies',
531
+ '@astryx.comments.historyEmptyDescription':
532
+ 'This comment has no earlier versions.',
533
+ '@astryx.comments.historyEmptyTitle': 'No edit history',
534
+ '@astryx.comments.historyFailed': "Edit history couldn't load",
535
+ '@astryx.comments.historyLoadFailed':
536
+ "The comment's edit history couldn't be loaded. Try again.",
537
+ '@astryx.comments.historyLoading': 'Loading edit history',
538
+ '@astryx.comments.historySubtitle': 'Comment by {name}',
539
+ '@astryx.comments.historyTitle': 'Edit history',
540
+ '@astryx.comments.linkCopied': 'Comment link copied',
541
+ '@astryx.comments.otherReactors':
542
+ '{count, plural, one {# other} other {# others}}',
543
+ '@astryx.comments.outdated': 'Outdated',
544
+ '@astryx.comments.reactionCelebrate': 'Celebrate',
545
+ '@astryx.comments.reactionCount': '{reaction}: {count, number}',
546
+ '@astryx.comments.reactionFailed': "Your reaction couldn't be saved.",
547
+ '@astryx.comments.reactionLaugh': 'Haha',
548
+ '@astryx.comments.reactionLike': 'Like',
549
+ '@astryx.comments.reactionLove': 'Love',
550
+ '@astryx.comments.reactionSad': 'Sad',
551
+ '@astryx.comments.reactionWow': 'Wow',
552
+ '@astryx.comments.reopen': 'Reopen',
553
+ '@astryx.comments.reopenFailed': "This thread couldn't be reopened.",
554
+ '@astryx.comments.reply': 'Reply',
555
+ '@astryx.comments.replyFailed': "Your reply couldn't be posted.",
556
+ '@astryx.comments.replyPlaceholder': 'Reply to {name}…',
557
+ '@astryx.comments.replyingContext': 'Replying to {name}',
558
+ '@astryx.comments.resolve': 'Mark as resolved',
559
+ '@astryx.comments.resolveFailed': "This thread couldn't be resolved.",
560
+ '@astryx.comments.resolved': 'Resolved',
561
+ '@astryx.comments.resolvedBy': 'Resolved by {name}',
562
+ '@astryx.comments.retryFailed': "Retrying didn't work.",
563
+ '@astryx.comments.sendFailed': "Couldn't send this comment.",
564
+ '@astryx.comments.threadLabel': 'Thread by {name}',
565
+ '@astryx.comments.unread': 'New',
566
+ '@astryx.comments.unsavedDraft':
567
+ 'Unsaved draft. Dismiss again to discard it.',
568
+ '@astryx.comments.versionAuthor': 'by {name}',
569
+ '@astryx.comments.viewHistory': 'View edit history',
570
+ '@astryx.comments.viewReplies':
571
+ 'View {count, plural, one {# reply} other {# replies}}',
572
+ '@astryx.comments.commentsLabel': 'Threads in {label}',
573
+ '@astryx.comments.emptyDescription': 'Start the discussion with a comment.',
574
+ '@astryx.comments.emptyReadOnlyDescription':
575
+ 'There is no discussion on this item.',
576
+ '@astryx.comments.emptyTitle': 'No comments yet',
577
+ '@astryx.comments.label': 'Comments',
578
+ '@astryx.comments.loadFailed': "Comments couldn't load",
579
+ '@astryx.comments.loadOlder': 'Load earlier comments',
580
+ '@astryx.comments.loading': 'Loading comments',
581
+ '@astryx.comments.olderFailed': "Earlier comments couldn't load",
582
+ '@astryx.comments.postFailed': "Your comment couldn't be posted.",
483
583
  };
484
584
 
485
585
  export default runtimeCatalog;
@@ -489,6 +489,106 @@ const runtimeCatalog: Readonly<Record<string, string>> = {
489
489
  '@astryx.transferListSelector.apply': '⟦Àþþłý⟧',
490
490
  '@astryx.transferListSelector.cancel': '⟦Çàñçéł⟧',
491
491
  '@astryx.transferListSelector.triggerLabel': '⟦{count, number} šéłéçţéð⟧',
492
+ '@astryx.emojiPicker.label': '⟦Éɱóĵí⟧',
493
+ '@astryx.emojiPicker.searchLabel': '⟦Šéàřçĥ éɱóĵí⟧',
494
+ '@astryx.emojiPicker.frequentlyUsed': '⟦Ƒřéɋúéñţłý úšéð⟧',
495
+ '@astryx.emojiPicker.searchResults': '⟦Šéàřçĥ řéšúłţš⟧',
496
+ '@astryx.emojiPicker.noResults': '⟦Ñó éɱóĵí ɱàţçĥ “{query}”⟧',
497
+ '@astryx.emojiPicker.loading': '⟦Łóàðíñĝ éɱóĵí⟧',
498
+ '@astryx.emojiPicker.loadFailed': "⟦Ṁóřé éɱóĵí çóúłðñ'ţ ƀé łóàðéð.⟧",
499
+ '@astryx.emojiPicker.groupSmileysEmotion': '⟦Šɱíłéýš & éɱóţíóñ⟧',
500
+ '@astryx.emojiPicker.groupPeopleBody': '⟦Þéóþłé & ƀóðý⟧',
501
+ '@astryx.emojiPicker.groupAnimalsNature': '⟦Àñíɱàłš & ñàţúřé⟧',
502
+ '@astryx.emojiPicker.groupFoodDrink': '⟦Ƒóóð & ðříñķ⟧',
503
+ '@astryx.emojiPicker.groupTravelPlaces': '⟦Ţřàṽéł & þłàçéš⟧',
504
+ '@astryx.emojiPicker.groupActivities': '⟦Àçţíṽíţíéš⟧',
505
+ '@astryx.emojiPicker.groupObjects': '⟦Óƀĵéçţš⟧',
506
+ '@astryx.emojiPicker.groupSymbols': '⟦Šýɱƀółš⟧',
507
+ '@astryx.emojiPicker.groupFlags': '⟦Ƒłàĝš⟧',
508
+ '@astryx.comments.retry': '⟦Řéţřý⟧',
509
+ '@astryx.commentComposer.placeholder': '⟦Ŵříţé à çóɱɱéñţ…⟧',
510
+ '@astryx.commentComposer.noAgents': '⟦Ñó àĝéñţš⟧',
511
+ '@astryx.commentComposer.agents': '⟦Àĝéñţš⟧',
512
+ '@astryx.commentComposer.uploadFailed': "⟦Íɱàĝéš çóúłðñ'ţ ƀé àððéð⟧",
513
+ '@astryx.commentComposer.imagesOnly': '⟦Óñłý íɱàĝé ƒíłéš çàñ ƀé àððéð⟧',
514
+ '@astryx.commentComposer.chooseImages': '⟦Çĥóóšé íɱàĝéš⟧',
515
+ '@astryx.commentComposer.imageAlt': '⟦Íɱàĝé àţţàçĥɱéñţ⟧',
516
+ '@astryx.commentComposer.removeQuote': '⟦Řéɱóṽé ɋúóţéð ţéẋţ⟧',
517
+ '@astryx.commentComposer.attachImages': '⟦Àţţàçĥ íɱàĝéš⟧',
518
+ '@astryx.commentComposer.addEmoji': '⟦Àðð éɱóĵí⟧',
519
+ '@astryx.commentComposer.cancel': '⟦Çàñçéł⟧',
520
+ '@astryx.comments.actionsLabel': "⟦Àçţíóñš ƒóř {name}'š çóɱɱéñţ⟧",
521
+ '@astryx.comments.addReaction': '⟦Àðð řéàçţíóñ⟧',
522
+ '@astryx.comments.agentBadge': '⟦Àĝéñţ⟧',
523
+ '@astryx.comments.agentLogo': '⟦{name} łóĝó⟧',
524
+ '@astryx.comments.chooseReaction': '⟦Çĥóóšé à řéàçţíóñ⟧',
525
+ '@astryx.comments.copyLink': '⟦Çóþý çóɱɱéñţ łíñķ⟧',
526
+ '@astryx.comments.currentVersion': '⟦Çúřřéñţ ṽéřšíóñ⟧',
527
+ '@astryx.comments.delete': '⟦Ðéłéţé⟧',
528
+ '@astryx.comments.deleteDescription':
529
+ "⟦Ðéłéţé {name}'š çóɱɱéñţ? Ţĥíš àçţíóñ çàññóţ ƀé úñðóñé.⟧",
530
+ '@astryx.comments.deleteFailed': "⟦Ţĥíš çóɱɱéñţ çóúłðñ'ţ ƀé ðéłéţéð.⟧",
531
+ '@astryx.comments.deleteFailedRetry':
532
+ "⟦Ţĥíš çóɱɱéñţ çóúłðñ'ţ ƀé ðéłéţéð. Ţřý àĝàíñ.⟧",
533
+ '@astryx.comments.deleteTitle': '⟦Ðéłéţé çóɱɱéñţ?⟧',
534
+ '@astryx.comments.edit': '⟦Éðíţ⟧',
535
+ '@astryx.comments.editFailed': "⟦Ýóúř éðíţ çóúłðñ'ţ ƀé šàṽéð.⟧",
536
+ '@astryx.comments.editPlaceholder': '⟦Éðíţ çóɱɱéñţ⟧',
537
+ '@astryx.comments.edited': '⟦Éðíţéð⟧',
538
+ '@astryx.comments.editingContext': '⟦Éðíţíñĝ çóɱɱéñţ⟧',
539
+ '@astryx.comments.hideReplies': '⟦Ĥíðé řéþłíéš⟧',
540
+ '@astryx.comments.historyEmptyDescription':
541
+ '⟦Ţĥíš çóɱɱéñţ ĥàš ñó éàřłíéř ṽéřšíóñš.⟧',
542
+ '@astryx.comments.historyEmptyTitle': '⟦Ñó éðíţ ĥíšţóřý⟧',
543
+ '@astryx.comments.historyFailed': "⟦Éðíţ ĥíšţóřý çóúłðñ'ţ łóàð⟧",
544
+ '@astryx.comments.historyLoadFailed':
545
+ "⟦Ţĥé çóɱɱéñţ'š éðíţ ĥíšţóřý çóúłðñ'ţ ƀé łóàðéð. Ţřý àĝàíñ.⟧",
546
+ '@astryx.comments.historyLoading': '⟦Łóàðíñĝ éðíţ ĥíšţóřý⟧',
547
+ '@astryx.comments.historySubtitle': '⟦Çóɱɱéñţ ƀý {name}⟧',
548
+ '@astryx.comments.historyTitle': '⟦Éðíţ ĥíšţóřý⟧',
549
+ '@astryx.comments.linkCopied': '⟦Çóɱɱéñţ łíñķ çóþíéð⟧',
550
+ '@astryx.comments.otherReactors':
551
+ '⟦{count, plural, one {# other} other {# others}}⟧',
552
+ '@astryx.comments.outdated': '⟦Óúţðàţéð⟧',
553
+ '@astryx.comments.reactionCelebrate': '⟦Çéłéƀřàţé⟧',
554
+ '@astryx.comments.reactionCount': '⟦{reaction}: {count, number}⟧',
555
+ '@astryx.comments.reactionFailed': "⟦Ýóúř řéàçţíóñ çóúłðñ'ţ ƀé šàṽéð.⟧",
556
+ '@astryx.comments.reactionLaugh': '⟦Ĥàĥà⟧',
557
+ '@astryx.comments.reactionLike': '⟦Łíķé⟧',
558
+ '@astryx.comments.reactionLove': '⟦Łóṽé⟧',
559
+ '@astryx.comments.reactionSad': '⟦Šàð⟧',
560
+ '@astryx.comments.reactionWow': '⟦Ŵóŵ⟧',
561
+ '@astryx.comments.reopen': '⟦Řéóþéñ⟧',
562
+ '@astryx.comments.reopenFailed': "⟦Ţĥíš ţĥřéàð çóúłðñ'ţ ƀé řéóþéñéð.⟧",
563
+ '@astryx.comments.reply': '⟦Řéþłý⟧',
564
+ '@astryx.comments.replyFailed': "⟦Ýóúř řéþłý çóúłðñ'ţ ƀé þóšţéð.⟧",
565
+ '@astryx.comments.replyPlaceholder': '⟦Řéþłý ţó {name}…⟧',
566
+ '@astryx.comments.replyingContext': '⟦Řéþłýíñĝ ţó {name}⟧',
567
+ '@astryx.comments.resolve': '⟦Ṁàřķ àš řéšółṽéð⟧',
568
+ '@astryx.comments.resolveFailed': "⟦Ţĥíš ţĥřéàð çóúłðñ'ţ ƀé řéšółṽéð.⟧",
569
+ '@astryx.comments.resolved': '⟦Řéšółṽéð⟧',
570
+ '@astryx.comments.resolvedBy': '⟦Řéšółṽéð ƀý {name}⟧',
571
+ '@astryx.comments.retryFailed': "⟦Řéţřýíñĝ ðíðñ'ţ ŵóřķ.⟧",
572
+ '@astryx.comments.sendFailed': "⟦Çóúłðñ'ţ šéñð ţĥíš çóɱɱéñţ.⟧",
573
+ '@astryx.comments.threadLabel': '⟦Ţĥřéàð ƀý {name}⟧',
574
+ '@astryx.comments.unread': '⟦Ñéŵ⟧',
575
+ '@astryx.comments.unsavedDraft':
576
+ '⟦Úñšàṽéð ðřàƒţ. Ðíšɱíšš àĝàíñ ţó ðíšçàřð íţ.⟧',
577
+ '@astryx.comments.versionAuthor': '⟦ƀý {name}⟧',
578
+ '@astryx.comments.viewHistory': '⟦Ṽíéŵ éðíţ ĥíšţóřý⟧',
579
+ '@astryx.comments.viewReplies':
580
+ '⟦Ṽíéŵ {count, plural, one {# reply} other {# replies}}⟧',
581
+ '@astryx.comments.commentsLabel': '⟦Ţĥřéàðš íñ {label}⟧',
582
+ '@astryx.comments.emptyDescription': '⟦Šţàřţ ţĥé ðíšçúššíóñ ŵíţĥ à çóɱɱéñţ.⟧',
583
+ '@astryx.comments.emptyReadOnlyDescription':
584
+ '⟦Ţĥéřé íš ñó ðíšçúššíóñ óñ ţĥíš íţéɱ.⟧',
585
+ '@astryx.comments.emptyTitle': '⟦Ñó çóɱɱéñţš ýéţ⟧',
586
+ '@astryx.comments.label': '⟦Çóɱɱéñţš⟧',
587
+ '@astryx.comments.loadFailed': "⟦Çóɱɱéñţš çóúłðñ'ţ łóàð⟧",
588
+ '@astryx.comments.loadOlder': '⟦Łóàð éàřłíéř çóɱɱéñţš⟧',
589
+ '@astryx.comments.loading': '⟦Łóàðíñĝ çóɱɱéñţš⟧',
590
+ '@astryx.comments.olderFailed': "⟦Éàřłíéř çóɱɱéñţš çóúłðñ'ţ łóàð⟧",
591
+ '@astryx.comments.postFailed': "⟦Ýóúř çóɱɱéñţ çóúłðñ'ţ ƀé þóšţéð.⟧",
492
592
  };
493
593
 
494
594
  export default runtimeCatalog;
package/src/index.ts CHANGED
@@ -95,6 +95,7 @@ export * from './AlertDialog';
95
95
  export * from './Dialog';
96
96
  export * from './ContextMenu';
97
97
  export * from './DropdownMenu';
98
+ export * from './Drawer';
98
99
  export * from './MoreMenu';
99
100
  export * from './InteractiveRoleContext';
100
101
  export * from './SizeContext';