@astryxdesign/core 0.7.6-canary.ec128c4 → 0.7.6-canary.f73623d

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 (454) hide show
  1. package/dist/AppShell/AppShell.d.ts.map +1 -1
  2. package/dist/AppShell/AppShell.js +183 -5
  3. package/dist/AppShell/observeMainOverflow.d.ts +9 -0
  4. package/dist/AppShell/observeMainOverflow.d.ts.map +1 -0
  5. package/dist/AppShell/observeMainOverflow.js +125 -0
  6. package/dist/Carousel/Carousel.d.ts +3 -1
  7. package/dist/Carousel/Carousel.d.ts.map +1 -1
  8. package/dist/Carousel/Carousel.js +12 -3
  9. package/dist/ComplexSelector/ComplexSelector.d.ts.map +1 -1
  10. package/dist/ComplexSelector/ComplexSelector.js +41 -4
  11. package/dist/DateInput/Wheel.d.ts.map +1 -1
  12. package/dist/DateInput/Wheel.js +11 -7
  13. package/dist/DateInput/usePointerDragScroll.d.ts +10 -1
  14. package/dist/DateInput/usePointerDragScroll.d.ts.map +1 -1
  15. package/dist/DateInput/usePointerDragScroll.js +25 -9
  16. package/dist/DateInput/useScrollSettle.d.ts +3 -1
  17. package/dist/DateInput/useScrollSettle.d.ts.map +1 -1
  18. package/dist/DateInput/useScrollSettle.js +37 -8
  19. package/dist/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  20. package/dist/DropdownMenu/DropdownMenu.js +28 -19
  21. package/dist/Item/Item.d.ts.map +1 -1
  22. package/dist/Item/Item.js +19 -6
  23. package/dist/Layer/useLayer.d.ts.map +1 -1
  24. package/dist/Layer/useLayer.js +27 -6
  25. package/dist/Link/Link.d.ts.map +1 -1
  26. package/dist/Link/Link.js +8 -3
  27. package/dist/Markdown/plugins/headingLinks.a11y.chromium.spec.js +1 -1
  28. package/dist/NavMenu/NavHeadingMenuItem.d.ts.map +1 -1
  29. package/dist/NavMenu/NavHeadingMenuItem.js +5 -29
  30. package/dist/NumberInput/NumberInput.d.ts.map +1 -1
  31. package/dist/NumberInput/NumberInput.js +23 -2
  32. package/dist/Outline/Outline.d.ts.map +1 -1
  33. package/dist/Outline/Outline.js +27 -0
  34. package/dist/Popover/Popover.d.ts.map +1 -1
  35. package/dist/Popover/Popover.js +32 -12
  36. package/dist/Popover/usePopover.d.ts.map +1 -1
  37. package/dist/Popover/usePopover.js +10 -3
  38. package/dist/PowerSearch/PowerSearch.d.ts.map +1 -1
  39. package/dist/PowerSearch/PowerSearch.js +37 -30
  40. package/dist/RadioList/RadioListItem.d.ts.map +1 -1
  41. package/dist/RadioList/RadioListItem.js +11 -3
  42. package/dist/SideNav/SideNavItem.d.ts +2 -2
  43. package/dist/SideNav/SideNavItem.d.ts.map +1 -1
  44. package/dist/SideNav/SideNavItem.js +18 -7
  45. package/dist/Skeleton/Skeleton.d.ts.map +1 -1
  46. package/dist/Skeleton/Skeleton.js +1 -1
  47. package/dist/Spinner/Spinner.d.ts.map +1 -1
  48. package/dist/Spinner/Spinner.js +1 -1
  49. package/dist/Stepper/Step.d.ts.map +1 -1
  50. package/dist/Stepper/Step.js +26 -6
  51. package/dist/Switch/Switch.d.ts.map +1 -1
  52. package/dist/Switch/Switch.js +10 -3
  53. package/dist/Table/Table.d.ts.map +1 -1
  54. package/dist/Table/Table.js +36 -10
  55. package/dist/Table/plugins/sortable/useTableSortable.d.ts.map +1 -1
  56. package/dist/Table/plugins/sortable/useTableSortable.js +46 -58
  57. package/dist/Toast/ToastViewport.d.ts.map +1 -1
  58. package/dist/Toast/ToastViewport.js +19 -3
  59. package/dist/ToggleButton/ToggleButtonGroup.d.ts +7 -1
  60. package/dist/ToggleButton/ToggleButtonGroup.d.ts.map +1 -1
  61. package/dist/ToggleButton/ToggleButtonGroup.js +16 -2
  62. package/dist/Token/Token.d.ts.map +1 -1
  63. package/dist/Token/Token.js +37 -5
  64. package/dist/Token/TokenLink.d.ts.map +1 -1
  65. package/dist/Token/TokenLink.js +14 -2
  66. package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
  67. package/dist/Tokenizer/Tokenizer.js +15 -4
  68. package/dist/Tokenizer/TokenizerClearAllMessageContext.d.ts +2 -0
  69. package/dist/Tokenizer/TokenizerClearAllMessageContext.d.ts.map +1 -0
  70. package/dist/Tokenizer/TokenizerClearAllMessageContext.js +17 -0
  71. package/dist/TreeList/TreeListItem.d.ts.map +1 -1
  72. package/dist/TreeList/TreeListItem.js +27 -4
  73. package/dist/Typeahead/BaseTypeahead.d.ts +4 -4
  74. package/dist/Typeahead/BaseTypeahead.d.ts.map +1 -1
  75. package/dist/Typeahead/BaseTypeahead.js +43 -7
  76. package/dist/astryx.css +10 -3
  77. package/dist/gestures/GestureArena.d.ts +26 -1
  78. package/dist/gestures/GestureArena.d.ts.map +1 -1
  79. package/dist/gestures/GestureArena.js +71 -9
  80. package/dist/gestures/GestureHost.d.ts +2 -3
  81. package/dist/gestures/GestureHost.d.ts.map +1 -1
  82. package/dist/gestures/GestureHost.js +7 -7
  83. package/dist/gestures/GestureRecognizer.d.ts +3 -1
  84. package/dist/gestures/GestureRecognizer.d.ts.map +1 -1
  85. package/dist/gestures/GestureRecognizer.js +3 -1
  86. package/dist/gestures/PressTracker.d.ts +112 -0
  87. package/dist/gestures/PressTracker.d.ts.map +1 -0
  88. package/dist/gestures/PressTracker.js +267 -0
  89. package/dist/gestures/index.d.ts +37 -0
  90. package/dist/gestures/index.d.ts.map +1 -0
  91. package/dist/gestures/index.js +25 -0
  92. package/dist/gestures/useGestureRecognizer.d.ts +56 -0
  93. package/dist/gestures/useGestureRecognizer.d.ts.map +1 -0
  94. package/dist/gestures/useGestureRecognizer.js +226 -0
  95. package/dist/hooks/scrollKeyboardDelegation.d.ts.map +1 -1
  96. package/dist/hooks/scrollKeyboardDelegation.js +7 -3
  97. package/dist/hooks/useScrollOverflow.d.ts +2 -1
  98. package/dist/hooks/useScrollOverflow.d.ts.map +1 -1
  99. package/dist/hooks/useScrollOverflow.js +56 -10
  100. package/dist/i18n/generated-locales/af-ZA.generated.d.ts.map +1 -1
  101. package/dist/i18n/generated-locales/af-ZA.generated.js +0 -5
  102. package/dist/i18n/generated-locales/ar-SA.generated.d.ts.map +1 -1
  103. package/dist/i18n/generated-locales/ar-SA.generated.js +0 -5
  104. package/dist/i18n/generated-locales/ca-ES.generated.d.ts.map +1 -1
  105. package/dist/i18n/generated-locales/ca-ES.generated.js +0 -5
  106. package/dist/i18n/generated-locales/cs-CZ.generated.d.ts.map +1 -1
  107. package/dist/i18n/generated-locales/cs-CZ.generated.js +0 -5
  108. package/dist/i18n/generated-locales/da-DK.generated.d.ts.map +1 -1
  109. package/dist/i18n/generated-locales/da-DK.generated.js +0 -5
  110. package/dist/i18n/generated-locales/de-DE.generated.d.ts.map +1 -1
  111. package/dist/i18n/generated-locales/de-DE.generated.js +0 -5
  112. package/dist/i18n/generated-locales/el-GR.generated.d.ts.map +1 -1
  113. package/dist/i18n/generated-locales/el-GR.generated.js +0 -5
  114. package/dist/i18n/generated-locales/en.generated.d.ts.map +1 -1
  115. package/dist/i18n/generated-locales/en.generated.js +3 -5
  116. package/dist/i18n/generated-locales/es-ES.generated.d.ts.map +1 -1
  117. package/dist/i18n/generated-locales/es-ES.generated.js +0 -5
  118. package/dist/i18n/generated-locales/fi-FI.generated.d.ts.map +1 -1
  119. package/dist/i18n/generated-locales/fi-FI.generated.js +0 -5
  120. package/dist/i18n/generated-locales/fr-FR.generated.d.ts.map +1 -1
  121. package/dist/i18n/generated-locales/fr-FR.generated.js +0 -5
  122. package/dist/i18n/generated-locales/he-IL.generated.d.ts.map +1 -1
  123. package/dist/i18n/generated-locales/he-IL.generated.js +0 -5
  124. package/dist/i18n/generated-locales/hu-HU.generated.d.ts.map +1 -1
  125. package/dist/i18n/generated-locales/hu-HU.generated.js +0 -5
  126. package/dist/i18n/generated-locales/it-IT.generated.d.ts.map +1 -1
  127. package/dist/i18n/generated-locales/it-IT.generated.js +0 -5
  128. package/dist/i18n/generated-locales/ja-JP.generated.d.ts.map +1 -1
  129. package/dist/i18n/generated-locales/ja-JP.generated.js +0 -5
  130. package/dist/i18n/generated-locales/ko-KR.generated.d.ts.map +1 -1
  131. package/dist/i18n/generated-locales/ko-KR.generated.js +0 -5
  132. package/dist/i18n/generated-locales/nl-NL.generated.d.ts.map +1 -1
  133. package/dist/i18n/generated-locales/nl-NL.generated.js +0 -5
  134. package/dist/i18n/generated-locales/no-NO.generated.d.ts.map +1 -1
  135. package/dist/i18n/generated-locales/no-NO.generated.js +0 -5
  136. package/dist/i18n/generated-locales/pl-PL.generated.d.ts.map +1 -1
  137. package/dist/i18n/generated-locales/pl-PL.generated.js +0 -5
  138. package/dist/i18n/generated-locales/pseudo.generated.d.ts.map +1 -1
  139. package/dist/i18n/generated-locales/pseudo.generated.js +3 -5
  140. package/dist/i18n/generated-locales/pt-BR.generated.d.ts.map +1 -1
  141. package/dist/i18n/generated-locales/pt-BR.generated.js +0 -5
  142. package/dist/i18n/generated-locales/pt-PT.generated.d.ts.map +1 -1
  143. package/dist/i18n/generated-locales/pt-PT.generated.js +0 -5
  144. package/dist/i18n/generated-locales/ro-RO.generated.d.ts.map +1 -1
  145. package/dist/i18n/generated-locales/ro-RO.generated.js +0 -5
  146. package/dist/i18n/generated-locales/ru-RU.generated.d.ts.map +1 -1
  147. package/dist/i18n/generated-locales/ru-RU.generated.js +0 -5
  148. package/dist/i18n/generated-locales/sr-SP.generated.d.ts.map +1 -1
  149. package/dist/i18n/generated-locales/sr-SP.generated.js +0 -5
  150. package/dist/i18n/generated-locales/sv-SE.generated.d.ts.map +1 -1
  151. package/dist/i18n/generated-locales/sv-SE.generated.js +0 -5
  152. package/dist/i18n/generated-locales/tr-TR.generated.d.ts.map +1 -1
  153. package/dist/i18n/generated-locales/tr-TR.generated.js +0 -5
  154. package/dist/i18n/generated-locales/uk-UA.generated.d.ts.map +1 -1
  155. package/dist/i18n/generated-locales/uk-UA.generated.js +0 -5
  156. package/dist/i18n/generated-locales/vi-VN.generated.d.ts.map +1 -1
  157. package/dist/i18n/generated-locales/vi-VN.generated.js +0 -5
  158. package/dist/i18n/generated-locales/zh-CN.generated.d.ts.map +1 -1
  159. package/dist/i18n/generated-locales/zh-CN.generated.js +0 -5
  160. package/dist/i18n/generated-locales/zh-TW.generated.d.ts.map +1 -1
  161. package/dist/i18n/generated-locales/zh-TW.generated.js +0 -5
  162. package/dist/motion/animator.d.ts +76 -7
  163. package/dist/motion/animator.d.ts.map +1 -1
  164. package/dist/motion/animator.js +589 -99
  165. package/dist/motion/coast.d.ts +4 -1
  166. package/dist/motion/coast.d.ts.map +1 -1
  167. package/dist/motion/coast.js +4 -2
  168. package/dist/motion/reducedMotion.d.ts.map +1 -1
  169. package/dist/motion/reducedMotion.js +6 -2
  170. package/dist/motion/reducedMotionPlan.d.ts +7 -0
  171. package/dist/motion/reducedMotionPlan.d.ts.map +1 -1
  172. package/dist/motion/reducedMotionPlan.js +14 -1
  173. package/dist/motion/resolveMotion.d.ts +42 -0
  174. package/dist/motion/resolveMotion.d.ts.map +1 -0
  175. package/dist/motion/resolveMotion.js +43 -0
  176. package/dist/motion/roleValue.d.ts +2 -1
  177. package/dist/motion/roleValue.d.ts.map +1 -1
  178. package/dist/motion/roleValue.js +2 -1
  179. package/dist/motion/uikit/timing.d.ts +7 -1
  180. package/dist/motion/uikit/timing.d.ts.map +1 -1
  181. package/dist/motion/uikit/timing.js +19 -1
  182. package/dist/theme/defineTheme.d.ts +19 -5
  183. package/dist/theme/defineTheme.d.ts.map +1 -1
  184. package/dist/theme/defineTheme.js +63 -3
  185. package/dist/theme/index.d.ts +1 -0
  186. package/dist/theme/index.d.ts.map +1 -1
  187. package/dist/theme/motionKnobs.d.ts +56 -0
  188. package/dist/theme/motionKnobs.d.ts.map +1 -0
  189. package/dist/theme/motionKnobs.js +48 -0
  190. package/dist/theme/resolveThemeValues.d.ts +11 -4
  191. package/dist/theme/resolveThemeValues.d.ts.map +1 -1
  192. package/dist/theme/resolveThemeValues.js +40 -4
  193. package/dist/theme/themeAdaptations.d.ts +7 -3
  194. package/dist/theme/themeAdaptations.d.ts.map +1 -1
  195. package/dist/theme/themeAdaptations.js +36 -7
  196. package/dist/theme/themeMotion.d.ts +96 -0
  197. package/dist/theme/themeMotion.d.ts.map +1 -0
  198. package/dist/theme/themeMotion.js +177 -0
  199. package/dist/theme/tokenReferences.d.ts +31 -0
  200. package/dist/theme/tokenReferences.d.ts.map +1 -0
  201. package/dist/theme/tokenReferences.js +132 -0
  202. package/dist/theme/tokens.d.ts +1 -0
  203. package/dist/theme/tokens.d.ts.map +1 -1
  204. package/dist/theme/tokens.js +9 -129
  205. package/dist/theme/tokens.stylex.d.ts +12 -0
  206. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  207. package/dist/theme/tokens.stylex.js +12 -0
  208. package/dist/utils/focusOutline.stylex.d.ts +6 -0
  209. package/dist/utils/focusOutline.stylex.d.ts.map +1 -1
  210. package/dist/utils/focusOutline.stylex.js +7 -0
  211. package/dist/utils/interactionOverlay.stylex.d.ts.map +1 -1
  212. package/dist/utils/interactionOverlay.stylex.js +17 -8
  213. package/dist/utils/pressFeedback.d.ts.map +1 -1
  214. package/dist/utils/pressFeedback.js +20 -1
  215. package/dist/utils/sharedMutationObserver.d.ts +19 -11
  216. package/dist/utils/sharedMutationObserver.d.ts.map +1 -1
  217. package/dist/utils/sharedMutationObserver.js +66 -26
  218. package/dist/utils/touchPresentation.d.ts +2 -2
  219. package/dist/utils/touchPresentation.d.ts.map +1 -1
  220. package/dist/utils/touchPresentation.js +8 -5
  221. package/dist/utils/touchQueries.d.ts +13 -0
  222. package/dist/utils/touchQueries.d.ts.map +1 -0
  223. package/dist/utils/touchQueries.js +15 -0
  224. package/dist/utils/useFocusAcrossSwap.d.ts +19 -0
  225. package/dist/utils/useFocusAcrossSwap.d.ts.map +1 -0
  226. package/dist/utils/useFocusAcrossSwap.js +41 -0
  227. package/locales/af-ZA.json +0 -21
  228. package/locales/ar-SA.json +0 -21
  229. package/locales/ca-ES.json +0 -21
  230. package/locales/cs-CZ.json +0 -21
  231. package/locales/da-DK.json +0 -21
  232. package/locales/de-DE.json +0 -21
  233. package/locales/el-GR.json +0 -21
  234. package/locales/en.json +12 -20
  235. package/locales/es-ES.json +0 -21
  236. package/locales/fi-FI.json +0 -21
  237. package/locales/fr-FR.json +0 -21
  238. package/locales/he-IL.json +0 -21
  239. package/locales/hu-HU.json +0 -21
  240. package/locales/it-IT.json +0 -21
  241. package/locales/ja-JP.json +0 -21
  242. package/locales/ko-KR.json +0 -21
  243. package/locales/nl-NL.json +0 -21
  244. package/locales/no-NO.json +0 -21
  245. package/locales/pl-PL.json +0 -21
  246. package/locales/pseudo.json +8 -14
  247. package/locales/pt-BR.json +0 -21
  248. package/locales/pt-PT.json +0 -21
  249. package/locales/ro-RO.json +0 -21
  250. package/locales/ru-RU.json +0 -21
  251. package/locales/sr-SP.json +0 -21
  252. package/locales/sv-SE.json +0 -21
  253. package/locales/tr-TR.json +0 -21
  254. package/locales/uk-UA.json +0 -21
  255. package/locales/vi-VN.json +0 -21
  256. package/locales/zh-CN.json +0 -21
  257. package/locales/zh-TW.json +0 -21
  258. package/package.json +4 -4
  259. package/src/AppShell/AppShell.doc.mjs +1 -1
  260. package/src/AppShell/AppShell.spec.md +9 -12
  261. package/src/AppShell/AppShell.test.tsx +164 -2
  262. package/src/AppShell/AppShell.tsx +225 -5
  263. package/src/AppShell/__tests__/AppShellMainKeyboard.a11y.browser.spec.ts +534 -0
  264. package/src/AppShell/observeMainOverflow.test.ts +173 -0
  265. package/src/AppShell/observeMainOverflow.ts +143 -0
  266. package/src/Carousel/Carousel.doc.mjs +1 -1
  267. package/src/Carousel/Carousel.spec.md +9 -9
  268. package/src/Carousel/Carousel.test.tsx +124 -3
  269. package/src/Carousel/Carousel.tsx +10 -2
  270. package/src/Carousel/__tests__/Carousel.a11y.known-failures.ts +1 -16
  271. package/src/Chat/ChatComposer.spec.md +75 -59
  272. package/src/Chat/ChatComposerTokenElement.spec.md +45 -33
  273. package/src/Chat/ChatDictationButton.spec.md +126 -81
  274. package/src/Chat/ChatLayout.spec.md +41 -36
  275. package/src/Chat/ChatLayoutScrollButton.spec.md +87 -103
  276. package/src/Chat/ChatSendButton.spec.md +78 -67
  277. package/src/CodeBlock/__tests__/CodeBlockCopyClearance.a11y.chromium.spec.ts +38 -3
  278. package/src/ComplexSelector/ComplexSelector.test.tsx +111 -0
  279. package/src/ComplexSelector/ComplexSelector.tsx +41 -4
  280. package/src/ContextMenu/ContextMenu.spec.md +84 -56
  281. package/src/ContextMenu/ContextMenuItem.spec.md +132 -0
  282. package/src/DateInput/DateInputTouch.test.tsx +44 -0
  283. package/src/DateInput/Wheel.tsx +9 -6
  284. package/src/DateInput/usePointerDragScroll.ts +34 -10
  285. package/src/DateInput/useScrollSettle.ts +38 -7
  286. package/src/DropdownMenu/DropdownMenu.spec.md +198 -218
  287. package/src/DropdownMenu/DropdownMenu.test.tsx +117 -0
  288. package/src/DropdownMenu/DropdownMenu.tsx +33 -18
  289. package/src/DropdownMenu/DropdownMenuCheckboxItem.spec.md +192 -0
  290. package/src/DropdownMenu/DropdownMenuDivider.spec.md +25 -31
  291. package/src/DropdownMenu/DropdownMenuGroup.spec.md +145 -0
  292. package/src/DropdownMenu/DropdownMenuItem.spec.md +48 -42
  293. package/src/DropdownMenu/DropdownMenuRadioGroup.spec.md +34 -37
  294. package/src/DropdownMenu/DropdownMenuRadioItem.spec.md +54 -53
  295. package/src/DropdownMenu/DropdownMenuSubMenu.spec.md +47 -41
  296. package/src/EmptyState/EmptyState.spec.md +35 -29
  297. package/src/Item/Item.test.tsx +60 -0
  298. package/src/Item/Item.tsx +14 -7
  299. package/src/Layer/useLayer.test.tsx +78 -3
  300. package/src/Layer/useLayer.tsx +27 -6
  301. package/src/Link/Link.spec.md +3 -2
  302. package/src/Link/Link.tsx +11 -0
  303. package/src/Link/__tests__/Link.truncation.a11y.chromium.spec.ts +58 -0
  304. package/src/Markdown/plugins/headingLinks.a11y.chromium.spec.ts +1 -1
  305. package/src/NavMenu/NavHeadingMenuItem.tsx +5 -39
  306. package/src/NumberInput/NumberInput.test.tsx +68 -7
  307. package/src/NumberInput/NumberInput.tsx +31 -1
  308. package/src/Outline/Outline.spec.md +165 -69
  309. package/src/Outline/Outline.test.tsx +67 -2
  310. package/src/Outline/Outline.tsx +23 -0
  311. package/src/Outline/modules/parseOutlineFromMarkdown.spec.md +3 -4
  312. package/src/OverflowList/OverflowList.spec.md +102 -55
  313. package/src/Pagination/Pagination.spec.md +158 -84
  314. package/src/Popover/Popover.test.tsx +84 -0
  315. package/src/Popover/Popover.tsx +34 -14
  316. package/src/Popover/__tests__/PopoverSecondDocument.a11y.chromium.spec.ts +70 -8
  317. package/src/Popover/usePopover.tsx +10 -3
  318. package/src/PowerSearch/PowerSearch.test.tsx +24 -0
  319. package/src/PowerSearch/PowerSearch.tsx +42 -31
  320. package/src/RadioList/RadioList.spec.md +1 -1
  321. package/src/RadioList/RadioList.test.tsx +84 -0
  322. package/src/RadioList/RadioListItem.tsx +11 -2
  323. package/src/Resizable/Resizable.spec.md +144 -124
  324. package/src/SideNav/SideNav.test.tsx +124 -4
  325. package/src/SideNav/SideNavItem.spec.md +14 -24
  326. package/src/SideNav/SideNavItem.tsx +27 -10
  327. package/src/Skeleton/Skeleton.tsx +3 -1
  328. package/src/Spinner/Spinner.tsx +3 -1
  329. package/src/Stepper/Step.spec.md +36 -42
  330. package/src/Stepper/Step.tsx +33 -6
  331. package/src/Stepper/Stepper.doc.mjs +1 -1
  332. package/src/Stepper/Stepper.test.tsx +69 -7
  333. package/src/Switch/Switch.spec.md +1 -1
  334. package/src/Switch/Switch.test.tsx +66 -1
  335. package/src/Switch/Switch.tsx +11 -3
  336. package/src/Table/Table.spec.md +1 -1
  337. package/src/Table/Table.test.tsx +32 -0
  338. package/src/Table/Table.tsx +43 -11
  339. package/src/Table/__tests__/Table.a11y.states.ts +1 -5
  340. package/src/Table/plugins/sortable/useTableSortable.test.tsx +73 -144
  341. package/src/Table/plugins/sortable/useTableSortable.tsx +44 -73
  342. package/src/Table/plugins/sortable/useTableSortableState.test.tsx +9 -21
  343. package/src/TimeInput/TimeInput.spec.md +13 -13
  344. package/src/Toast/Toast.spec.md +2 -5
  345. package/src/Toast/ToastViewport.test.tsx +79 -0
  346. package/src/Toast/ToastViewport.tsx +21 -3
  347. package/src/ToggleButton/ToggleButton.test.tsx +27 -0
  348. package/src/ToggleButton/ToggleButtonGroup.tsx +20 -1
  349. package/src/Token/Token.doc.mjs +2 -2
  350. package/src/Token/Token.spec.md +41 -51
  351. package/src/Token/Token.test.tsx +67 -0
  352. package/src/Token/Token.tsx +60 -5
  353. package/src/Token/TokenLink.tsx +21 -7
  354. package/src/Tokenizer/Tokenizer.spec.md +13 -1
  355. package/src/Tokenizer/Tokenizer.test.tsx +27 -0
  356. package/src/Tokenizer/Tokenizer.tsx +24 -10
  357. package/src/Tokenizer/TokenizerBottomSheet.test.tsx +8 -0
  358. package/src/Tokenizer/TokenizerClearAllMessageContext.ts +21 -0
  359. package/src/TreeList/TreeList.test.tsx +26 -0
  360. package/src/TreeList/TreeListItem.tsx +26 -4
  361. package/src/Typeahead/BaseTypeahead.doc.mjs +3 -3
  362. package/src/Typeahead/BaseTypeahead.spec.md +45 -45
  363. package/src/Typeahead/BaseTypeahead.tsx +48 -9
  364. package/src/Typeahead/Typeahead.test.tsx +120 -0
  365. package/src/__tests__/internalModulesNotExperimental.test.ts +88 -0
  366. package/src/__tests__/pressState.ts +8 -4
  367. package/src/gestures/GestureArena.ts +76 -11
  368. package/src/gestures/GestureHost.ts +6 -7
  369. package/src/gestures/GestureRecognizer.ts +3 -1
  370. package/src/gestures/PressTracker.ts +386 -0
  371. package/src/gestures/README.md +420 -0
  372. package/src/gestures/__tests__/GestureHost.test.ts +50 -1
  373. package/src/gestures/__tests__/PressTracker.test.ts +275 -0
  374. package/src/gestures/__tests__/arena.test.ts +35 -0
  375. package/src/gestures/__tests__/harness.ts +31 -2
  376. package/src/gestures/__tests__/pressTrackerFactory.test.ts +59 -0
  377. package/src/gestures/__tests__/useGestureRecognizer.test.tsx +570 -0
  378. package/src/gestures/index.ts +79 -0
  379. package/src/gestures/useGestureRecognizer.ts +305 -0
  380. package/src/hooks/scrollKeyboardDelegation.test.ts +33 -0
  381. package/src/hooks/scrollKeyboardDelegation.ts +9 -3
  382. package/src/hooks/useScrollOverflow.doc.mjs +1 -1
  383. package/src/hooks/useScrollOverflow.test.tsx +102 -1
  384. package/src/hooks/useScrollOverflow.ts +59 -10
  385. package/src/i18n/generated-locales/af-ZA.generated.ts +0 -7
  386. package/src/i18n/generated-locales/ar-SA.generated.ts +0 -6
  387. package/src/i18n/generated-locales/ca-ES.generated.ts +0 -7
  388. package/src/i18n/generated-locales/cs-CZ.generated.ts +0 -6
  389. package/src/i18n/generated-locales/da-DK.generated.ts +0 -6
  390. package/src/i18n/generated-locales/de-DE.generated.ts +0 -6
  391. package/src/i18n/generated-locales/el-GR.generated.ts +0 -7
  392. package/src/i18n/generated-locales/en.generated.ts +3 -6
  393. package/src/i18n/generated-locales/es-ES.generated.ts +0 -7
  394. package/src/i18n/generated-locales/fi-FI.generated.ts +0 -6
  395. package/src/i18n/generated-locales/fr-FR.generated.ts +0 -7
  396. package/src/i18n/generated-locales/he-IL.generated.ts +0 -6
  397. package/src/i18n/generated-locales/hu-HU.generated.ts +0 -6
  398. package/src/i18n/generated-locales/it-IT.generated.ts +0 -7
  399. package/src/i18n/generated-locales/ja-JP.generated.ts +0 -6
  400. package/src/i18n/generated-locales/ko-KR.generated.ts +0 -6
  401. package/src/i18n/generated-locales/nl-NL.generated.ts +0 -6
  402. package/src/i18n/generated-locales/no-NO.generated.ts +0 -6
  403. package/src/i18n/generated-locales/pl-PL.generated.ts +0 -7
  404. package/src/i18n/generated-locales/pseudo.generated.ts +3 -6
  405. package/src/i18n/generated-locales/pt-BR.generated.ts +0 -7
  406. package/src/i18n/generated-locales/pt-PT.generated.ts +0 -7
  407. package/src/i18n/generated-locales/ro-RO.generated.ts +0 -6
  408. package/src/i18n/generated-locales/ru-RU.generated.ts +0 -7
  409. package/src/i18n/generated-locales/sr-SP.generated.ts +0 -6
  410. package/src/i18n/generated-locales/sv-SE.generated.ts +0 -6
  411. package/src/i18n/generated-locales/tr-TR.generated.ts +0 -7
  412. package/src/i18n/generated-locales/uk-UA.generated.ts +0 -7
  413. package/src/i18n/generated-locales/vi-VN.generated.ts +0 -6
  414. package/src/i18n/generated-locales/zh-CN.generated.ts +0 -6
  415. package/src/i18n/generated-locales/zh-TW.generated.ts +0 -6
  416. package/src/motion/MEASUREMENTS.md +2 -1
  417. package/src/motion/README.md +102 -32
  418. package/src/motion/__tests__/animator.interaction.browser.spec.ts +843 -0
  419. package/src/motion/__tests__/motionBundle.ts +14 -0
  420. package/src/motion/animator.test.ts +978 -33
  421. package/src/motion/animator.ts +790 -104
  422. package/src/motion/coast.ts +10 -3
  423. package/src/motion/reducedMotion.ts +12 -2
  424. package/src/motion/reducedMotionPlan.test.ts +26 -0
  425. package/src/motion/reducedMotionPlan.ts +20 -1
  426. package/src/motion/resolveMotion.test.ts +123 -0
  427. package/src/motion/resolveMotion.ts +68 -0
  428. package/src/motion/roleValue.ts +2 -1
  429. package/src/motion/roles.test.ts +21 -4
  430. package/src/motion/uikit/tableImports.test.ts +293 -0
  431. package/src/motion/uikit/timing.ts +15 -1
  432. package/src/motion/uikit/values.test.ts +23 -12
  433. package/src/theme/Theme.doc.mjs +1 -1
  434. package/src/theme/defineTheme.ts +116 -7
  435. package/src/theme/expandMotionScale.test.ts +1 -1
  436. package/src/theme/index.ts +5 -0
  437. package/src/theme/motionKnobs.ts +82 -0
  438. package/src/theme/resolveThemeValues.ts +68 -6
  439. package/src/theme/themeAdaptations.ts +52 -12
  440. package/src/theme/themeMotion.test.ts +620 -0
  441. package/src/theme/themeMotion.ts +221 -0
  442. package/src/theme/tokenReferences.ts +149 -0
  443. package/src/theme/tokens.stylex.ts +10 -0
  444. package/src/theme/tokens.ts +15 -158
  445. package/src/utils/focusOutline.stylex.ts +28 -0
  446. package/src/utils/interactionOverlay.stylex.ts +12 -3
  447. package/src/utils/pressFeedback.test.ts +138 -0
  448. package/src/utils/pressFeedback.ts +34 -11
  449. package/src/utils/pressGesture.test.ts +9 -0
  450. package/src/utils/sharedMutationObserver.test.ts +54 -1
  451. package/src/utils/sharedMutationObserver.ts +87 -29
  452. package/src/utils/touchPresentation.ts +8 -5
  453. package/src/utils/touchQueries.ts +15 -0
  454. package/src/utils/useFocusAcrossSwap.ts +55 -0
@@ -1 +1 @@
1
- {"version":3,"file":"it-IT.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/it-IT.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAuapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"it-IT.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/it-IT.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Ordina in modo crescente',
167
167
  '@astryx.table.sort.descending': 'Ordina in modo decrescente',
168
168
  '@astryx.table.sort.clear': 'Rimuovi l’ordinamento',
169
- '@astryx.table.sort.direction.ascending': 'crescente',
170
- '@astryx.table.sort.direction.descending': 'decrescente',
171
- '@astryx.table.sort.sortBy': 'Ordina per {label}',
172
- '@astryx.table.sort.sortedBy': 'Ordina per {label}, ordinato in modo {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Ordina per {label}, ordinato in modo {direction}, priorità {rank, number} di {total, number}',
174
169
  '@astryx.toast.dismiss': 'Ignora la notifica',
175
170
  '@astryx.toast.viewport': 'Notifiche',
176
171
  '@astryx.tokenizer.clearAll': 'Cancella tutto',
@@ -1 +1 @@
1
- {"version":3,"file":"ja-JP.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ja-JP.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAmapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ja-JP.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ja-JP.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA6ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': '昇順で並べ替え',
167
167
  '@astryx.table.sort.descending': '降順で並べ替え',
168
168
  '@astryx.table.sort.clear': '並べ替えをクリア',
169
- '@astryx.table.sort.direction.ascending': '昇順',
170
- '@astryx.table.sort.direction.descending': '降順',
171
- '@astryx.table.sort.sortBy': '{label} で並べ替え',
172
- '@astryx.table.sort.sortedBy': '{label} で並べ替え、{direction}',
173
- '@astryx.table.sort.sortedByWithPriority': '{label} で並べ替え、{direction}、優先度 {total, number} 中 {rank, number}',
174
169
  '@astryx.toast.dismiss': '通知を閉じる',
175
170
  '@astryx.toast.viewport': '通知',
176
171
  '@astryx.tokenizer.clearAll': 'すべてクリア',
@@ -1 +1 @@
1
- {"version":3,"file":"ko-KR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ko-KR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ko-KR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ko-KR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA2ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': '오름차순 정렬',
167
167
  '@astryx.table.sort.descending': '내림차순 정렬',
168
168
  '@astryx.table.sort.clear': '정렬 지우기',
169
- '@astryx.table.sort.direction.ascending': '오름차순',
170
- '@astryx.table.sort.direction.descending': '내림차순',
171
- '@astryx.table.sort.sortBy': '{label} 기준 정렬',
172
- '@astryx.table.sort.sortedBy': '{label} 기준 정렬, {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': '{label} 기준 정렬, {direction}, 우선순위 {total, number} 중 {rank, number}',
174
169
  '@astryx.toast.dismiss': '알림 닫기',
175
170
  '@astryx.toast.viewport': '알림',
176
171
  '@astryx.tokenizer.clearAll': '모두 지우기',
@@ -1 +1 @@
1
- {"version":3,"file":"nl-NL.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/nl-NL.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAyapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"nl-NL.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/nl-NL.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAmapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Oplopend sorteren',
167
167
  '@astryx.table.sort.descending': 'Aflopend sorteren',
168
168
  '@astryx.table.sort.clear': 'Sortering wissen',
169
- '@astryx.table.sort.direction.ascending': 'oplopend',
170
- '@astryx.table.sort.direction.descending': 'aflopend',
171
- '@astryx.table.sort.sortBy': 'Sorteren op {label}',
172
- '@astryx.table.sort.sortedBy': 'Sorteren op {label}, gesorteerd {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Sorteren op {label}, gesorteerd {direction}, prioriteit {rank, number} van {total, number}',
174
169
  '@astryx.toast.dismiss': 'Melding sluiten',
175
170
  '@astryx.toast.viewport': 'Meldingen',
176
171
  '@astryx.tokenizer.clearAll': 'Alles wissen',
@@ -1 +1 @@
1
- {"version":3,"file":"no-NO.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/no-NO.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"no-NO.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/no-NO.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA2ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Sorter stigende',
167
167
  '@astryx.table.sort.descending': 'Sorter synkende',
168
168
  '@astryx.table.sort.clear': 'Fjern sortering',
169
- '@astryx.table.sort.direction.ascending': 'stigende',
170
- '@astryx.table.sort.direction.descending': 'synkende',
171
- '@astryx.table.sort.sortBy': 'Sorter etter {label}',
172
- '@astryx.table.sort.sortedBy': 'Sorter etter {label}, sortert {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Sorter etter {label}, sortert {direction}, prioritet {rank, number} av {total, number}',
174
169
  '@astryx.toast.dismiss': 'Lukk varsel',
175
170
  '@astryx.toast.viewport': 'Varsler',
176
171
  '@astryx.tokenizer.clearAll': 'Fjern alle',
@@ -1 +1 @@
1
- {"version":3,"file":"pl-PL.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pl-PL.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"pl-PL.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pl-PL.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAyZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Sortuj rosnąco',
167
167
  '@astryx.table.sort.descending': 'Sortuj malejąco',
168
168
  '@astryx.table.sort.clear': 'Wyczyść sortowanie',
169
- '@astryx.table.sort.direction.ascending': 'rosnąco',
170
- '@astryx.table.sort.direction.descending': 'malejąco',
171
- '@astryx.table.sort.sortBy': 'Sortuj według {label}',
172
- '@astryx.table.sort.sortedBy': 'Sortuj według {label}, posortowano {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Sortuj według {label}, posortowano {direction}, priorytet {rank, number} z {total, number}',
174
169
  '@astryx.toast.dismiss': 'Zamknij powiadomienie',
175
170
  '@astryx.toast.viewport': 'Powiadomienia',
176
171
  '@astryx.tokenizer.clearAll': 'Wyczyść wszystko',
@@ -1 +1 @@
1
- {"version":3,"file":"pseudo.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pseudo.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAmnBpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"pseudo.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pseudo.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgnBpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -224,11 +224,7 @@ const runtimeCatalog = {
224
224
  '@astryx.table.sort.ascending': '⟦Šóřţ àšçéñðíñĝ⟧',
225
225
  '@astryx.table.sort.descending': '⟦Šóřţ ðéšçéñðíñĝ⟧',
226
226
  '@astryx.table.sort.clear': '⟦Çłéàř šóřţ⟧',
227
- '@astryx.table.sort.direction.ascending': '⟦àšçéñðíñĝ⟧',
228
- '@astryx.table.sort.direction.descending': '⟦ðéšçéñðíñĝ⟧',
229
- '@astryx.table.sort.sortBy': '⟦Šóřţ ƀý {label}⟧',
230
- '@astryx.table.sort.sortedBy': '⟦Šóřţ ƀý {label}, šóřţéð {direction}⟧',
231
- '@astryx.table.sort.sortedByWithPriority': '⟦Šóřţ ƀý {label}, šóřţéð {direction}, þříóříţý {rank, number} óƒ {total, number}⟧',
227
+ '@astryx.table.sort.priority': '⟦Þříóříţý {rank, number} óƒ {total, number}⟧',
232
228
  '@astryx.toast.dismiss': '⟦Ðíšɱíšš ñóţíƒíçàţíóñ⟧',
233
229
  '@astryx.toast.viewport': '⟦Ñóţíƒíçàţíóñš⟧',
234
230
  '@astryx.tokenizer.clearAll': '⟦Çłéàř àłł⟧',
@@ -288,6 +284,7 @@ const runtimeCatalog = {
288
284
  '@astryx.outline.label': '⟦Ţàƀłé óƒ çóñţéñţš⟧',
289
285
  '@astryx.powersearch.label': '⟦Šéàřçĥ⟧',
290
286
  '@astryx.powersearch.placeholder': '⟦Šéàřçĥ…⟧',
287
+ '@astryx.powersearch.allFiltersRemoved': '⟦Àłł ƒíłţéřš řéɱóṽéð⟧',
291
288
  '@astryx.resizable.collapsed': '⟦Çółłàþšéð⟧',
292
289
  '@astryx.resizable.handle.label': '⟦Řéšížé ĥàñðłé⟧',
293
290
  '@astryx.selector.placeholder': '⟦Šéłéçţ…⟧',
@@ -550,6 +547,7 @@ const runtimeCatalog = {
550
547
  '@astryx.comments.resolveFailed': "⟦Ţĥíš ţĥřéàð çóúłðñ'ţ ƀé řéšółṽéð.⟧",
551
548
  '@astryx.comments.resolved': '⟦Řéšółṽéð⟧',
552
549
  '@astryx.comments.resolvedBy': '⟦Řéšółṽéð ƀý {name}⟧',
550
+ '@astryx.comments.errorAnnouncement': '⟦{title} {description}⟧',
553
551
  '@astryx.comments.retryFailed': "⟦Řéţřýíñĝ ðíðñ'ţ ŵóřķ.⟧",
554
552
  '@astryx.comments.sendFailed': "⟦Çóúłðñ'ţ šéñð ţĥíš çóɱɱéñţ.⟧",
555
553
  '@astryx.comments.threadLabel': '⟦Ţĥřéàð ƀý {name}⟧',
@@ -1 +1 @@
1
- {"version":3,"file":"pt-BR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pt-BR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"pt-BR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pt-BR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA2ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Ordenar em ordem crescente',
167
167
  '@astryx.table.sort.descending': 'Ordenar em ordem decrescente',
168
168
  '@astryx.table.sort.clear': 'Limpar ordenação',
169
- '@astryx.table.sort.direction.ascending': 'crescente',
170
- '@astryx.table.sort.direction.descending': 'decrescente',
171
- '@astryx.table.sort.sortBy': 'Ordenar por {label}',
172
- '@astryx.table.sort.sortedBy': 'Ordenar por {label}, ordenado de forma {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Ordenar por {label}, ordenado de forma {direction}, prioridade {rank, number} de {total, number}',
174
169
  '@astryx.toast.dismiss': 'Dispensar notificação',
175
170
  '@astryx.toast.viewport': 'Notificações',
176
171
  '@astryx.tokenizer.clearAll': 'Limpar tudo',
@@ -1 +1 @@
1
- {"version":3,"file":"pt-PT.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pt-PT.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAsapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"pt-PT.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/pt-PT.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA+ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Ordenar ascendente',
167
167
  '@astryx.table.sort.descending': 'Ordenar descendente',
168
168
  '@astryx.table.sort.clear': 'Limpar ordenação',
169
- '@astryx.table.sort.direction.ascending': 'ascendente',
170
- '@astryx.table.sort.direction.descending': 'descendente',
171
- '@astryx.table.sort.sortBy': 'Ordenar por {label}',
172
- '@astryx.table.sort.sortedBy': 'Ordenar por {label}, ordenado de forma {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Ordenar por {label}, ordenado de forma {direction}, prioridade {rank, number} de {total, number}',
174
169
  '@astryx.toast.dismiss': 'Dispensar notificação',
175
170
  '@astryx.toast.viewport': 'Notificações',
176
171
  '@astryx.tokenizer.clearAll': 'Limpar tudo',
@@ -1 +1 @@
1
- {"version":3,"file":"ro-RO.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ro-RO.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAwapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ro-RO.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ro-RO.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Sortează crescător',
167
167
  '@astryx.table.sort.descending': 'Sortează descrescător',
168
168
  '@astryx.table.sort.clear': 'Șterge sortarea',
169
- '@astryx.table.sort.direction.ascending': 'crescător',
170
- '@astryx.table.sort.direction.descending': 'descrescător',
171
- '@astryx.table.sort.sortBy': 'Sortează după {label}',
172
- '@astryx.table.sort.sortedBy': 'Sortează după {label}, sortat {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Sortează după {label}, sortat {direction}, prioritatea {rank, number} din {total, number}',
174
169
  '@astryx.toast.dismiss': 'Închide notificarea',
175
170
  '@astryx.toast.viewport': 'Notificări',
176
171
  '@astryx.tokenizer.clearAll': 'Șterge tot',
@@ -1 +1 @@
1
- {"version":3,"file":"ru-RU.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ru-RU.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAuapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ru-RU.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ru-RU.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Сортировать по возрастанию',
167
167
  '@astryx.table.sort.descending': 'Сортировать по убыванию',
168
168
  '@astryx.table.sort.clear': 'Сбросить сортировку',
169
- '@astryx.table.sort.direction.ascending': 'по возрастанию',
170
- '@astryx.table.sort.direction.descending': 'по убыванию',
171
- '@astryx.table.sort.sortBy': 'Сортировать по {label}',
172
- '@astryx.table.sort.sortedBy': 'Сортировать по {label}, отсортировано {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Сортировать по {label}, отсортировано {direction}, приоритет {rank, number} из {total, number}',
174
169
  '@astryx.toast.dismiss': 'Закрыть уведомление',
175
170
  '@astryx.toast.viewport': 'Уведомления',
176
171
  '@astryx.tokenizer.clearAll': 'Очистить все',
@@ -1 +1 @@
1
- {"version":3,"file":"sr-SP.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/sr-SP.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAoapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"sr-SP.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/sr-SP.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA8ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Сортирај растуће',
167
167
  '@astryx.table.sort.descending': 'Сортирај опадајуће',
168
168
  '@astryx.table.sort.clear': 'Обриши сортирање',
169
- '@astryx.table.sort.direction.ascending': 'растуће',
170
- '@astryx.table.sort.direction.descending': 'опадајуће',
171
- '@astryx.table.sort.sortBy': 'Сортирај по {label}',
172
- '@astryx.table.sort.sortedBy': 'Сортирај по {label}, сортирано {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Сортирај по {label}, сортирано {direction}, приоритет {rank, number} од {total, number}',
174
169
  '@astryx.toast.dismiss': 'Одбаци обавештење',
175
170
  '@astryx.toast.viewport': 'Обавештења',
176
171
  '@astryx.tokenizer.clearAll': 'Обриши све',
@@ -1 +1 @@
1
- {"version":3,"file":"sv-SE.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/sv-SE.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAmapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"sv-SE.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/sv-SE.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA6ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Sortera stigande',
167
167
  '@astryx.table.sort.descending': 'Sortera fallande',
168
168
  '@astryx.table.sort.clear': 'Rensa sortering',
169
- '@astryx.table.sort.direction.ascending': 'stigande',
170
- '@astryx.table.sort.direction.descending': 'fallande',
171
- '@astryx.table.sort.sortBy': 'Sortera efter {label}',
172
- '@astryx.table.sort.sortedBy': 'Sortera efter {label}, sorterat {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Sortera efter {label}, sorterat {direction}, prioritet {rank, number} av {total, number}',
174
169
  '@astryx.toast.dismiss': 'Stäng avisering',
175
170
  '@astryx.toast.viewport': 'Aviseringar',
176
171
  '@astryx.tokenizer.clearAll': 'Rensa alla',
@@ -1 +1 @@
1
- {"version":3,"file":"tr-TR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/tr-TR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAqapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"tr-TR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/tr-TR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA8ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Artan sırada sırala',
167
167
  '@astryx.table.sort.descending': 'Azalan sırada sırala',
168
168
  '@astryx.table.sort.clear': 'Sıralamayı temizle',
169
- '@astryx.table.sort.direction.ascending': 'artan',
170
- '@astryx.table.sort.direction.descending': 'azalan',
171
- '@astryx.table.sort.sortBy': 'Şuna göre sırala: {label}',
172
- '@astryx.table.sort.sortedBy': 'Şuna göre sırala: {label}, sıralama: {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Şuna göre sırala: {label}, sıralama: {direction}, öncelik: {total, number} içinden {rank, number}',
174
169
  '@astryx.toast.dismiss': 'Bildirimi kapat',
175
170
  '@astryx.toast.viewport': 'Bildirimler',
176
171
  '@astryx.tokenizer.clearAll': 'Tümünü temizle',
@@ -1 +1 @@
1
- {"version":3,"file":"uk-UA.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/uk-UA.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAoapD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"uk-UA.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/uk-UA.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA6ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Сортувати за зростанням',
167
167
  '@astryx.table.sort.descending': 'Сортувати за спаданням',
168
168
  '@astryx.table.sort.clear': 'Очистити сортування',
169
- '@astryx.table.sort.direction.ascending': 'за зростанням',
170
- '@astryx.table.sort.direction.descending': 'за спаданням',
171
- '@astryx.table.sort.sortBy': 'Сортувати за {label}',
172
- '@astryx.table.sort.sortedBy': 'Сортувати за {label}, відсортовано {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Сортувати за {label}, відсортовано {direction}, пріоритет {rank, number} з {total, number}',
174
169
  '@astryx.toast.dismiss': 'Закрити сповіщення',
175
170
  '@astryx.toast.viewport': 'Сповіщення',
176
171
  '@astryx.tokenizer.clearAll': 'Очистити все',
@@ -1 +1 @@
1
- {"version":3,"file":"vi-VN.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/vi-VN.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA+ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"vi-VN.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/vi-VN.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAyZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': 'Sắp xếp tăng dần',
167
167
  '@astryx.table.sort.descending': 'Sắp xếp giảm dần',
168
168
  '@astryx.table.sort.clear': 'Xóa sắp xếp',
169
- '@astryx.table.sort.direction.ascending': 'tăng dần',
170
- '@astryx.table.sort.direction.descending': 'giảm dần',
171
- '@astryx.table.sort.sortBy': 'Sắp xếp theo {label}',
172
- '@astryx.table.sort.sortedBy': 'Sắp xếp theo {label}, {direction}',
173
- '@astryx.table.sort.sortedByWithPriority': 'Sắp xếp theo {label}, {direction}, ưu tiên {rank, number} trên {total, number}',
174
169
  '@astryx.toast.dismiss': 'Bỏ qua thông báo',
175
170
  '@astryx.toast.viewport': 'Thông báo',
176
171
  '@astryx.tokenizer.clearAll': 'Xóa tất cả',
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/zh-CN.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAwZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"zh-CN.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/zh-CN.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': '升序排序',
167
167
  '@astryx.table.sort.descending': '降序排序',
168
168
  '@astryx.table.sort.clear': '清除排序',
169
- '@astryx.table.sort.direction.ascending': '升序',
170
- '@astryx.table.sort.direction.descending': '降序',
171
- '@astryx.table.sort.sortBy': '按 {label} 排序',
172
- '@astryx.table.sort.sortedBy': '按 {label} 排序,{direction}',
173
- '@astryx.table.sort.sortedByWithPriority': '按 {label} 排序,{direction},优先级 {rank, number}/{total, number}',
174
169
  '@astryx.toast.dismiss': '关闭通知',
175
170
  '@astryx.toast.viewport': '通知',
176
171
  '@astryx.tokenizer.clearAll': '全部清除',
@@ -1 +1 @@
1
- {"version":3,"file":"zh-TW.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/zh-TW.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAwZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"zh-TW.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/zh-TW.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -166,11 +166,6 @@ const runtimeCatalog = {
166
166
  '@astryx.table.sort.ascending': '遞增排序',
167
167
  '@astryx.table.sort.descending': '遞減排序',
168
168
  '@astryx.table.sort.clear': '清除排序',
169
- '@astryx.table.sort.direction.ascending': '遞增',
170
- '@astryx.table.sort.direction.descending': '遞減',
171
- '@astryx.table.sort.sortBy': '依 {label} 排序',
172
- '@astryx.table.sort.sortedBy': '依 {label} 排序,{direction}',
173
- '@astryx.table.sort.sortedByWithPriority': '依 {label} 排序,{direction},優先順序 {rank, number}/{total, number}',
174
169
  '@astryx.toast.dismiss': '關閉通知',
175
170
  '@astryx.toast.viewport': '通知',
176
171
  '@astryx.tokenizer.clearAll': '全部清除',
@@ -48,6 +48,36 @@ export interface AnimateOptions {
48
48
  * changes nothing.
49
49
  */
50
50
  crossfadeAs?: 'entrance' | 'exit';
51
+ /**
52
+ * When the call's animations start. By default a call from rest starts
53
+ * when the browser commits it, and a call that continues motion on screen
54
+ * (a retarget) starts now, from the value on screen. Ignored with `at`.
55
+ * - `'commit'`: a call that continues motion also starts when the browser
56
+ * commits it, dated by the browser rather than by the main thread, as a
57
+ * call from rest is.
58
+ * - `'presented'`: a call from rest leaves its element at rest and creates
59
+ * its animations two frames later, once the frame that carries the
60
+ * element at rest has been presented; they then start at their commit. A
61
+ * busy UI process delays the motion instead of skipping into it, for two
62
+ * frames more before an idle start. Any other change to the animator
63
+ * before then creates the animations first, in call order. A call that
64
+ * continues motion on screen (a retarget) starts now, as by default.
65
+ */
66
+ start?: 'commit' | 'presented';
67
+ /**
68
+ * A call that retargets a curve on screen adds to it instead of replacing
69
+ * it, as UIKit's animations do: the old curve keeps going (past its end, at
70
+ * its target) and a spring of the difference between the two targets runs
71
+ * from 0 on top, in the same animation. Its value and velocity at the call
72
+ * are the old curve's, so whichever frame first shows it (WebKit can apply
73
+ * a new curve tens of ms late), nothing steps back. Ignored for a property
74
+ * at rest or still waiting for the browser's start, for a property given a
75
+ * velocity, and under Reduced Motion. Use it for a played curve that starts
76
+ * at rest (an eased reversal) while the property moves; a spring retarget
77
+ * on the same spring moves the same either way, and a curve that already
78
+ * continues the velocity on screen must not add to it.
79
+ */
80
+ additive?: boolean;
51
81
  }
52
82
  /**
53
83
  * Any closed-form curve to play on the compositor (`Animator.play`, and a
@@ -73,6 +103,20 @@ export interface MotionCurve {
73
103
  /**
74
104
  * Options of `createAnimator`.
75
105
  */
106
+ /** How `set` puts values in place. */
107
+ export interface SetOptions {
108
+ /**
109
+ * Whether the write promotes its channels to a compositing layer, as a
110
+ * drag's per-frame writes need so each is a composite only (default
111
+ * true). `false` writes the values and nothing else: a one-off switch that
112
+ * must not give its element a layer, such as a veil under a sticky header
113
+ * switched during a programmatic scroll (on iOS 26.2, a layer there blanks
114
+ * the header's painted items for about two frames). A channel another
115
+ * motion keeps promoted stays promoted, and a channel with other motion
116
+ * still running gets its animation's layer as usual.
117
+ */
118
+ promote?: boolean;
119
+ }
76
120
  export interface AnimatorOptions {
77
121
  /**
78
122
  * Animates a pseudo-element of the element instead (`'::backdrop'` of a
@@ -111,6 +155,14 @@ export interface MotionHandle {
111
155
  value(property: MotionProperty, time?: number): number;
112
156
  /** Presentation velocity of a property at `time`, units/s. */
113
157
  velocity(property: MotionProperty, time?: number): number;
158
+ /**
159
+ * The curve this call started on `property` (`scale` reads `scaleX`),
160
+ * in seconds from the call's start: what the keyframes play. Null for a
161
+ * property the call does not move, or moves without travel (Reduced
162
+ * Motion). Map it onto a companion property with `mapProgress`, and play
163
+ * that on the same clock.
164
+ */
165
+ curve(property: MotionProperty | 'scale'): MotionCurve | null;
114
166
  /** New targets for this call's properties, keeping their velocity. */
115
167
  retarget(to: MotionValues, transition?: SpringTransition, options?: AnimateOptions): MotionHandle;
116
168
  /** Freezes this call's properties at their presentation values. */
@@ -146,7 +198,7 @@ export interface Animator {
146
198
  * of a drag (one style write per channel, no animation when nothing else
147
199
  * on the channel is moving).
148
200
  */
149
- set(values: MotionValues): void;
201
+ set(values: MotionValues, options?: SetOptions): void;
150
202
  /** Springs to `to` from the presentation values. */
151
203
  animate(to: MotionValues, transition: SpringTransition, options?: AnimateOptions): MotionHandle;
152
204
  /**
@@ -200,11 +252,27 @@ export declare const SETTLE_THRESHOLD: Record<MotionProperty, number>;
200
252
  /**
201
253
  * The keyframes hold the end state this long after a curve ends. An engine
202
254
  * whose compositor ends an animation while the main thread is blocked falls
203
- * back to the value its main thread last committed, mid-flight (WebKit); the
204
- * hold keeps the end state on screen through such a block. The main thread
205
- * drops the animation as soon as it runs after the curve's end.
255
+ * back to the value its main thread last committed, the curve's start
256
+ * (WebKit on Linux); the hold keeps the end state on screen through any such
257
+ * block. It only stretches the last keyframe. The main thread retires the
258
+ * animation as soon as it runs after the curve's end.
259
+ *
260
+ * Why a tail inside the curve's own animation, with a bound (measured Oct 24
261
+ * 2026; do not replace it without these proofs):
262
+ * - WebKit on Linux (WebKitGTK and WPE) ignores `fill` on its compositor:
263
+ * a 400 ms move that ends during a 1 s main-thread block snaps back to the
264
+ * block-start position 13 ms after its end, with `fill: forwards` or with
265
+ * no fill, and holds with this tail. iOS 26.2 Mobile Safari holds the end
266
+ * in all three forms, so there the tail is unneeded but harmless (measured
267
+ * Oct 25 2026). The browser proof "a spring that ends inside the block
268
+ * keeps showing its end state" catches it.
269
+ * - A separate static animation of the end state under the curve would hold
270
+ * it without a bound, but two animations on one property push Chromium to
271
+ * run the curve on the main thread: the 1 s block proof moved in 0 of 57
272
+ * frames, the start-before-a-block proof failed, and seeking the curve
273
+ * broke.
206
274
  */
207
- export declare const END_HOLD_MS = 5000;
275
+ export declare const END_HOLD_MS = 60000;
208
276
  /** How long an element stays promoted after its last motion, ms. */
209
277
  export declare const PROMOTION_LINGER_MS = 500;
210
278
  /**
@@ -235,8 +303,9 @@ export declare function defaultIsCoarsePointer(): boolean;
235
303
  * @example
236
304
  * ```
237
305
  * const animator = createAnimator(sheet);
238
- * // finger lifts at 1200 px/s heading for the detent at 0:
239
- * animator.animate({y: 0}, {spring: springs.sheetDetent, velocity: {y: 1200}});
306
+ * // finger lifts at 1200 px/s heading for the detent at 0 (a component
307
+ * // passes the spring of its motion role):
308
+ * animator.animate({y: 0}, {spring: {response: 0.45, dampingRatio: 0.9}, velocity: {y: 1200}});
240
309
  * // the finger lands again: where is it right now?
241
310
  * const y = animator.get('y', event.timeStamp);
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