@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.
- package/dist/AppShell/AppShell.d.ts.map +1 -1
- package/dist/AppShell/AppShell.js +183 -5
- package/dist/AppShell/observeMainOverflow.d.ts +9 -0
- package/dist/AppShell/observeMainOverflow.d.ts.map +1 -0
- package/dist/AppShell/observeMainOverflow.js +125 -0
- package/dist/Carousel/Carousel.d.ts +3 -1
- package/dist/Carousel/Carousel.d.ts.map +1 -1
- package/dist/Carousel/Carousel.js +12 -3
- package/dist/ComplexSelector/ComplexSelector.d.ts.map +1 -1
- package/dist/ComplexSelector/ComplexSelector.js +41 -4
- package/dist/DateInput/Wheel.d.ts.map +1 -1
- package/dist/DateInput/Wheel.js +11 -7
- package/dist/DateInput/usePointerDragScroll.d.ts +10 -1
- package/dist/DateInput/usePointerDragScroll.d.ts.map +1 -1
- package/dist/DateInput/usePointerDragScroll.js +25 -9
- package/dist/DateInput/useScrollSettle.d.ts +3 -1
- package/dist/DateInput/useScrollSettle.d.ts.map +1 -1
- package/dist/DateInput/useScrollSettle.js +37 -8
- package/dist/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/DropdownMenu/DropdownMenu.js +28 -19
- package/dist/Item/Item.d.ts.map +1 -1
- package/dist/Item/Item.js +19 -6
- package/dist/Layer/useLayer.d.ts.map +1 -1
- package/dist/Layer/useLayer.js +27 -6
- package/dist/Link/Link.d.ts.map +1 -1
- package/dist/Link/Link.js +8 -3
- package/dist/Markdown/plugins/headingLinks.a11y.chromium.spec.js +1 -1
- package/dist/NavMenu/NavHeadingMenuItem.d.ts.map +1 -1
- package/dist/NavMenu/NavHeadingMenuItem.js +5 -29
- package/dist/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/NumberInput/NumberInput.js +23 -2
- package/dist/Outline/Outline.d.ts.map +1 -1
- package/dist/Outline/Outline.js +27 -0
- package/dist/Popover/Popover.d.ts.map +1 -1
- package/dist/Popover/Popover.js +32 -12
- package/dist/Popover/usePopover.d.ts.map +1 -1
- package/dist/Popover/usePopover.js +10 -3
- package/dist/PowerSearch/PowerSearch.d.ts.map +1 -1
- package/dist/PowerSearch/PowerSearch.js +37 -30
- package/dist/RadioList/RadioListItem.d.ts.map +1 -1
- package/dist/RadioList/RadioListItem.js +11 -3
- package/dist/SideNav/SideNavItem.d.ts +2 -2
- package/dist/SideNav/SideNavItem.d.ts.map +1 -1
- package/dist/SideNav/SideNavItem.js +18 -7
- package/dist/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/Skeleton/Skeleton.js +1 -1
- package/dist/Spinner/Spinner.d.ts.map +1 -1
- package/dist/Spinner/Spinner.js +1 -1
- package/dist/Stepper/Step.d.ts.map +1 -1
- package/dist/Stepper/Step.js +26 -6
- package/dist/Switch/Switch.d.ts.map +1 -1
- package/dist/Switch/Switch.js +10 -3
- package/dist/Table/Table.d.ts.map +1 -1
- package/dist/Table/Table.js +36 -10
- package/dist/Table/plugins/sortable/useTableSortable.d.ts.map +1 -1
- package/dist/Table/plugins/sortable/useTableSortable.js +46 -58
- package/dist/Toast/ToastViewport.d.ts.map +1 -1
- package/dist/Toast/ToastViewport.js +19 -3
- package/dist/ToggleButton/ToggleButtonGroup.d.ts +7 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.ts.map +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.js +16 -2
- package/dist/Token/Token.d.ts.map +1 -1
- package/dist/Token/Token.js +37 -5
- package/dist/Token/TokenLink.d.ts.map +1 -1
- package/dist/Token/TokenLink.js +14 -2
- package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
- package/dist/Tokenizer/Tokenizer.js +15 -4
- package/dist/Tokenizer/TokenizerClearAllMessageContext.d.ts +2 -0
- package/dist/Tokenizer/TokenizerClearAllMessageContext.d.ts.map +1 -0
- package/dist/Tokenizer/TokenizerClearAllMessageContext.js +17 -0
- package/dist/TreeList/TreeListItem.d.ts.map +1 -1
- package/dist/TreeList/TreeListItem.js +27 -4
- package/dist/Typeahead/BaseTypeahead.d.ts +4 -4
- package/dist/Typeahead/BaseTypeahead.d.ts.map +1 -1
- package/dist/Typeahead/BaseTypeahead.js +43 -7
- package/dist/astryx.css +10 -3
- package/dist/gestures/GestureArena.d.ts +26 -1
- package/dist/gestures/GestureArena.d.ts.map +1 -1
- package/dist/gestures/GestureArena.js +71 -9
- package/dist/gestures/GestureHost.d.ts +2 -3
- package/dist/gestures/GestureHost.d.ts.map +1 -1
- package/dist/gestures/GestureHost.js +7 -7
- package/dist/gestures/GestureRecognizer.d.ts +3 -1
- package/dist/gestures/GestureRecognizer.d.ts.map +1 -1
- package/dist/gestures/GestureRecognizer.js +3 -1
- package/dist/gestures/PressTracker.d.ts +112 -0
- package/dist/gestures/PressTracker.d.ts.map +1 -0
- package/dist/gestures/PressTracker.js +267 -0
- package/dist/gestures/index.d.ts +37 -0
- package/dist/gestures/index.d.ts.map +1 -0
- package/dist/gestures/index.js +25 -0
- package/dist/gestures/useGestureRecognizer.d.ts +56 -0
- package/dist/gestures/useGestureRecognizer.d.ts.map +1 -0
- package/dist/gestures/useGestureRecognizer.js +226 -0
- package/dist/hooks/scrollKeyboardDelegation.d.ts.map +1 -1
- package/dist/hooks/scrollKeyboardDelegation.js +7 -3
- package/dist/hooks/useScrollOverflow.d.ts +2 -1
- package/dist/hooks/useScrollOverflow.d.ts.map +1 -1
- package/dist/hooks/useScrollOverflow.js +56 -10
- package/dist/i18n/generated-locales/af-ZA.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/af-ZA.generated.js +0 -5
- package/dist/i18n/generated-locales/ar-SA.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/ar-SA.generated.js +0 -5
- package/dist/i18n/generated-locales/ca-ES.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/ca-ES.generated.js +0 -5
- package/dist/i18n/generated-locales/cs-CZ.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/cs-CZ.generated.js +0 -5
- package/dist/i18n/generated-locales/da-DK.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/da-DK.generated.js +0 -5
- package/dist/i18n/generated-locales/de-DE.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/de-DE.generated.js +0 -5
- package/dist/i18n/generated-locales/el-GR.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/el-GR.generated.js +0 -5
- package/dist/i18n/generated-locales/en.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/en.generated.js +3 -5
- package/dist/i18n/generated-locales/es-ES.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/es-ES.generated.js +0 -5
- package/dist/i18n/generated-locales/fi-FI.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/fi-FI.generated.js +0 -5
- package/dist/i18n/generated-locales/fr-FR.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/fr-FR.generated.js +0 -5
- package/dist/i18n/generated-locales/he-IL.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/he-IL.generated.js +0 -5
- package/dist/i18n/generated-locales/hu-HU.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/hu-HU.generated.js +0 -5
- package/dist/i18n/generated-locales/it-IT.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/it-IT.generated.js +0 -5
- package/dist/i18n/generated-locales/ja-JP.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/ja-JP.generated.js +0 -5
- package/dist/i18n/generated-locales/ko-KR.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/ko-KR.generated.js +0 -5
- package/dist/i18n/generated-locales/nl-NL.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/nl-NL.generated.js +0 -5
- package/dist/i18n/generated-locales/no-NO.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/no-NO.generated.js +0 -5
- package/dist/i18n/generated-locales/pl-PL.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/pl-PL.generated.js +0 -5
- package/dist/i18n/generated-locales/pseudo.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/pseudo.generated.js +3 -5
- package/dist/i18n/generated-locales/pt-BR.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/pt-BR.generated.js +0 -5
- package/dist/i18n/generated-locales/pt-PT.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/pt-PT.generated.js +0 -5
- package/dist/i18n/generated-locales/ro-RO.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/ro-RO.generated.js +0 -5
- package/dist/i18n/generated-locales/ru-RU.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/ru-RU.generated.js +0 -5
- package/dist/i18n/generated-locales/sr-SP.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/sr-SP.generated.js +0 -5
- package/dist/i18n/generated-locales/sv-SE.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/sv-SE.generated.js +0 -5
- package/dist/i18n/generated-locales/tr-TR.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/tr-TR.generated.js +0 -5
- package/dist/i18n/generated-locales/uk-UA.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/uk-UA.generated.js +0 -5
- package/dist/i18n/generated-locales/vi-VN.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/vi-VN.generated.js +0 -5
- package/dist/i18n/generated-locales/zh-CN.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/zh-CN.generated.js +0 -5
- package/dist/i18n/generated-locales/zh-TW.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/zh-TW.generated.js +0 -5
- package/dist/motion/animator.d.ts +76 -7
- package/dist/motion/animator.d.ts.map +1 -1
- package/dist/motion/animator.js +589 -99
- package/dist/motion/coast.d.ts +4 -1
- package/dist/motion/coast.d.ts.map +1 -1
- package/dist/motion/coast.js +4 -2
- package/dist/motion/reducedMotion.d.ts.map +1 -1
- package/dist/motion/reducedMotion.js +6 -2
- package/dist/motion/reducedMotionPlan.d.ts +7 -0
- package/dist/motion/reducedMotionPlan.d.ts.map +1 -1
- package/dist/motion/reducedMotionPlan.js +14 -1
- package/dist/motion/resolveMotion.d.ts +42 -0
- package/dist/motion/resolveMotion.d.ts.map +1 -0
- package/dist/motion/resolveMotion.js +43 -0
- package/dist/motion/roleValue.d.ts +2 -1
- package/dist/motion/roleValue.d.ts.map +1 -1
- package/dist/motion/roleValue.js +2 -1
- package/dist/motion/uikit/timing.d.ts +7 -1
- package/dist/motion/uikit/timing.d.ts.map +1 -1
- package/dist/motion/uikit/timing.js +19 -1
- package/dist/theme/defineTheme.d.ts +19 -5
- package/dist/theme/defineTheme.d.ts.map +1 -1
- package/dist/theme/defineTheme.js +63 -3
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/motionKnobs.d.ts +56 -0
- package/dist/theme/motionKnobs.d.ts.map +1 -0
- package/dist/theme/motionKnobs.js +48 -0
- package/dist/theme/resolveThemeValues.d.ts +11 -4
- package/dist/theme/resolveThemeValues.d.ts.map +1 -1
- package/dist/theme/resolveThemeValues.js +40 -4
- package/dist/theme/themeAdaptations.d.ts +7 -3
- package/dist/theme/themeAdaptations.d.ts.map +1 -1
- package/dist/theme/themeAdaptations.js +36 -7
- package/dist/theme/themeMotion.d.ts +96 -0
- package/dist/theme/themeMotion.d.ts.map +1 -0
- package/dist/theme/themeMotion.js +177 -0
- package/dist/theme/tokenReferences.d.ts +31 -0
- package/dist/theme/tokenReferences.d.ts.map +1 -0
- package/dist/theme/tokenReferences.js +132 -0
- package/dist/theme/tokens.d.ts +1 -0
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/theme/tokens.js +9 -129
- package/dist/theme/tokens.stylex.d.ts +12 -0
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +12 -0
- package/dist/utils/focusOutline.stylex.d.ts +6 -0
- package/dist/utils/focusOutline.stylex.d.ts.map +1 -1
- package/dist/utils/focusOutline.stylex.js +7 -0
- package/dist/utils/interactionOverlay.stylex.d.ts.map +1 -1
- package/dist/utils/interactionOverlay.stylex.js +17 -8
- package/dist/utils/pressFeedback.d.ts.map +1 -1
- package/dist/utils/pressFeedback.js +20 -1
- package/dist/utils/sharedMutationObserver.d.ts +19 -11
- package/dist/utils/sharedMutationObserver.d.ts.map +1 -1
- package/dist/utils/sharedMutationObserver.js +66 -26
- package/dist/utils/touchPresentation.d.ts +2 -2
- package/dist/utils/touchPresentation.d.ts.map +1 -1
- package/dist/utils/touchPresentation.js +8 -5
- package/dist/utils/touchQueries.d.ts +13 -0
- package/dist/utils/touchQueries.d.ts.map +1 -0
- package/dist/utils/touchQueries.js +15 -0
- package/dist/utils/useFocusAcrossSwap.d.ts +19 -0
- package/dist/utils/useFocusAcrossSwap.d.ts.map +1 -0
- package/dist/utils/useFocusAcrossSwap.js +41 -0
- package/locales/af-ZA.json +0 -21
- package/locales/ar-SA.json +0 -21
- package/locales/ca-ES.json +0 -21
- package/locales/cs-CZ.json +0 -21
- package/locales/da-DK.json +0 -21
- package/locales/de-DE.json +0 -21
- package/locales/el-GR.json +0 -21
- package/locales/en.json +12 -20
- package/locales/es-ES.json +0 -21
- package/locales/fi-FI.json +0 -21
- package/locales/fr-FR.json +0 -21
- package/locales/he-IL.json +0 -21
- package/locales/hu-HU.json +0 -21
- package/locales/it-IT.json +0 -21
- package/locales/ja-JP.json +0 -21
- package/locales/ko-KR.json +0 -21
- package/locales/nl-NL.json +0 -21
- package/locales/no-NO.json +0 -21
- package/locales/pl-PL.json +0 -21
- package/locales/pseudo.json +8 -14
- package/locales/pt-BR.json +0 -21
- package/locales/pt-PT.json +0 -21
- package/locales/ro-RO.json +0 -21
- package/locales/ru-RU.json +0 -21
- package/locales/sr-SP.json +0 -21
- package/locales/sv-SE.json +0 -21
- package/locales/tr-TR.json +0 -21
- package/locales/uk-UA.json +0 -21
- package/locales/vi-VN.json +0 -21
- package/locales/zh-CN.json +0 -21
- package/locales/zh-TW.json +0 -21
- package/package.json +4 -4
- package/src/AppShell/AppShell.doc.mjs +1 -1
- package/src/AppShell/AppShell.spec.md +9 -12
- package/src/AppShell/AppShell.test.tsx +164 -2
- package/src/AppShell/AppShell.tsx +225 -5
- package/src/AppShell/__tests__/AppShellMainKeyboard.a11y.browser.spec.ts +534 -0
- package/src/AppShell/observeMainOverflow.test.ts +173 -0
- package/src/AppShell/observeMainOverflow.ts +143 -0
- package/src/Carousel/Carousel.doc.mjs +1 -1
- package/src/Carousel/Carousel.spec.md +9 -9
- package/src/Carousel/Carousel.test.tsx +124 -3
- package/src/Carousel/Carousel.tsx +10 -2
- package/src/Carousel/__tests__/Carousel.a11y.known-failures.ts +1 -16
- package/src/Chat/ChatComposer.spec.md +75 -59
- package/src/Chat/ChatComposerTokenElement.spec.md +45 -33
- package/src/Chat/ChatDictationButton.spec.md +126 -81
- package/src/Chat/ChatLayout.spec.md +41 -36
- package/src/Chat/ChatLayoutScrollButton.spec.md +87 -103
- package/src/Chat/ChatSendButton.spec.md +78 -67
- package/src/CodeBlock/__tests__/CodeBlockCopyClearance.a11y.chromium.spec.ts +38 -3
- package/src/ComplexSelector/ComplexSelector.test.tsx +111 -0
- package/src/ComplexSelector/ComplexSelector.tsx +41 -4
- package/src/ContextMenu/ContextMenu.spec.md +84 -56
- package/src/ContextMenu/ContextMenuItem.spec.md +132 -0
- package/src/DateInput/DateInputTouch.test.tsx +44 -0
- package/src/DateInput/Wheel.tsx +9 -6
- package/src/DateInput/usePointerDragScroll.ts +34 -10
- package/src/DateInput/useScrollSettle.ts +38 -7
- package/src/DropdownMenu/DropdownMenu.spec.md +198 -218
- package/src/DropdownMenu/DropdownMenu.test.tsx +117 -0
- package/src/DropdownMenu/DropdownMenu.tsx +33 -18
- package/src/DropdownMenu/DropdownMenuCheckboxItem.spec.md +192 -0
- package/src/DropdownMenu/DropdownMenuDivider.spec.md +25 -31
- package/src/DropdownMenu/DropdownMenuGroup.spec.md +145 -0
- package/src/DropdownMenu/DropdownMenuItem.spec.md +48 -42
- package/src/DropdownMenu/DropdownMenuRadioGroup.spec.md +34 -37
- package/src/DropdownMenu/DropdownMenuRadioItem.spec.md +54 -53
- package/src/DropdownMenu/DropdownMenuSubMenu.spec.md +47 -41
- package/src/EmptyState/EmptyState.spec.md +35 -29
- package/src/Item/Item.test.tsx +60 -0
- package/src/Item/Item.tsx +14 -7
- package/src/Layer/useLayer.test.tsx +78 -3
- package/src/Layer/useLayer.tsx +27 -6
- package/src/Link/Link.spec.md +3 -2
- package/src/Link/Link.tsx +11 -0
- package/src/Link/__tests__/Link.truncation.a11y.chromium.spec.ts +58 -0
- package/src/Markdown/plugins/headingLinks.a11y.chromium.spec.ts +1 -1
- package/src/NavMenu/NavHeadingMenuItem.tsx +5 -39
- package/src/NumberInput/NumberInput.test.tsx +68 -7
- package/src/NumberInput/NumberInput.tsx +31 -1
- package/src/Outline/Outline.spec.md +165 -69
- package/src/Outline/Outline.test.tsx +67 -2
- package/src/Outline/Outline.tsx +23 -0
- package/src/Outline/modules/parseOutlineFromMarkdown.spec.md +3 -4
- package/src/OverflowList/OverflowList.spec.md +102 -55
- package/src/Pagination/Pagination.spec.md +158 -84
- package/src/Popover/Popover.test.tsx +84 -0
- package/src/Popover/Popover.tsx +34 -14
- package/src/Popover/__tests__/PopoverSecondDocument.a11y.chromium.spec.ts +70 -8
- package/src/Popover/usePopover.tsx +10 -3
- package/src/PowerSearch/PowerSearch.test.tsx +24 -0
- package/src/PowerSearch/PowerSearch.tsx +42 -31
- package/src/RadioList/RadioList.spec.md +1 -1
- package/src/RadioList/RadioList.test.tsx +84 -0
- package/src/RadioList/RadioListItem.tsx +11 -2
- package/src/Resizable/Resizable.spec.md +144 -124
- package/src/SideNav/SideNav.test.tsx +124 -4
- package/src/SideNav/SideNavItem.spec.md +14 -24
- package/src/SideNav/SideNavItem.tsx +27 -10
- package/src/Skeleton/Skeleton.tsx +3 -1
- package/src/Spinner/Spinner.tsx +3 -1
- package/src/Stepper/Step.spec.md +36 -42
- package/src/Stepper/Step.tsx +33 -6
- package/src/Stepper/Stepper.doc.mjs +1 -1
- package/src/Stepper/Stepper.test.tsx +69 -7
- package/src/Switch/Switch.spec.md +1 -1
- package/src/Switch/Switch.test.tsx +66 -1
- package/src/Switch/Switch.tsx +11 -3
- package/src/Table/Table.spec.md +1 -1
- package/src/Table/Table.test.tsx +32 -0
- package/src/Table/Table.tsx +43 -11
- package/src/Table/__tests__/Table.a11y.states.ts +1 -5
- package/src/Table/plugins/sortable/useTableSortable.test.tsx +73 -144
- package/src/Table/plugins/sortable/useTableSortable.tsx +44 -73
- package/src/Table/plugins/sortable/useTableSortableState.test.tsx +9 -21
- package/src/TimeInput/TimeInput.spec.md +13 -13
- package/src/Toast/Toast.spec.md +2 -5
- package/src/Toast/ToastViewport.test.tsx +79 -0
- package/src/Toast/ToastViewport.tsx +21 -3
- package/src/ToggleButton/ToggleButton.test.tsx +27 -0
- package/src/ToggleButton/ToggleButtonGroup.tsx +20 -1
- package/src/Token/Token.doc.mjs +2 -2
- package/src/Token/Token.spec.md +41 -51
- package/src/Token/Token.test.tsx +67 -0
- package/src/Token/Token.tsx +60 -5
- package/src/Token/TokenLink.tsx +21 -7
- package/src/Tokenizer/Tokenizer.spec.md +13 -1
- package/src/Tokenizer/Tokenizer.test.tsx +27 -0
- package/src/Tokenizer/Tokenizer.tsx +24 -10
- package/src/Tokenizer/TokenizerBottomSheet.test.tsx +8 -0
- package/src/Tokenizer/TokenizerClearAllMessageContext.ts +21 -0
- package/src/TreeList/TreeList.test.tsx +26 -0
- package/src/TreeList/TreeListItem.tsx +26 -4
- package/src/Typeahead/BaseTypeahead.doc.mjs +3 -3
- package/src/Typeahead/BaseTypeahead.spec.md +45 -45
- package/src/Typeahead/BaseTypeahead.tsx +48 -9
- package/src/Typeahead/Typeahead.test.tsx +120 -0
- package/src/__tests__/internalModulesNotExperimental.test.ts +88 -0
- package/src/__tests__/pressState.ts +8 -4
- package/src/gestures/GestureArena.ts +76 -11
- package/src/gestures/GestureHost.ts +6 -7
- package/src/gestures/GestureRecognizer.ts +3 -1
- package/src/gestures/PressTracker.ts +386 -0
- package/src/gestures/README.md +420 -0
- package/src/gestures/__tests__/GestureHost.test.ts +50 -1
- package/src/gestures/__tests__/PressTracker.test.ts +275 -0
- package/src/gestures/__tests__/arena.test.ts +35 -0
- package/src/gestures/__tests__/harness.ts +31 -2
- package/src/gestures/__tests__/pressTrackerFactory.test.ts +59 -0
- package/src/gestures/__tests__/useGestureRecognizer.test.tsx +570 -0
- package/src/gestures/index.ts +79 -0
- package/src/gestures/useGestureRecognizer.ts +305 -0
- package/src/hooks/scrollKeyboardDelegation.test.ts +33 -0
- package/src/hooks/scrollKeyboardDelegation.ts +9 -3
- package/src/hooks/useScrollOverflow.doc.mjs +1 -1
- package/src/hooks/useScrollOverflow.test.tsx +102 -1
- package/src/hooks/useScrollOverflow.ts +59 -10
- package/src/i18n/generated-locales/af-ZA.generated.ts +0 -7
- package/src/i18n/generated-locales/ar-SA.generated.ts +0 -6
- package/src/i18n/generated-locales/ca-ES.generated.ts +0 -7
- package/src/i18n/generated-locales/cs-CZ.generated.ts +0 -6
- package/src/i18n/generated-locales/da-DK.generated.ts +0 -6
- package/src/i18n/generated-locales/de-DE.generated.ts +0 -6
- package/src/i18n/generated-locales/el-GR.generated.ts +0 -7
- package/src/i18n/generated-locales/en.generated.ts +3 -6
- package/src/i18n/generated-locales/es-ES.generated.ts +0 -7
- package/src/i18n/generated-locales/fi-FI.generated.ts +0 -6
- package/src/i18n/generated-locales/fr-FR.generated.ts +0 -7
- package/src/i18n/generated-locales/he-IL.generated.ts +0 -6
- package/src/i18n/generated-locales/hu-HU.generated.ts +0 -6
- package/src/i18n/generated-locales/it-IT.generated.ts +0 -7
- package/src/i18n/generated-locales/ja-JP.generated.ts +0 -6
- package/src/i18n/generated-locales/ko-KR.generated.ts +0 -6
- package/src/i18n/generated-locales/nl-NL.generated.ts +0 -6
- package/src/i18n/generated-locales/no-NO.generated.ts +0 -6
- package/src/i18n/generated-locales/pl-PL.generated.ts +0 -7
- package/src/i18n/generated-locales/pseudo.generated.ts +3 -6
- package/src/i18n/generated-locales/pt-BR.generated.ts +0 -7
- package/src/i18n/generated-locales/pt-PT.generated.ts +0 -7
- package/src/i18n/generated-locales/ro-RO.generated.ts +0 -6
- package/src/i18n/generated-locales/ru-RU.generated.ts +0 -7
- package/src/i18n/generated-locales/sr-SP.generated.ts +0 -6
- package/src/i18n/generated-locales/sv-SE.generated.ts +0 -6
- package/src/i18n/generated-locales/tr-TR.generated.ts +0 -7
- package/src/i18n/generated-locales/uk-UA.generated.ts +0 -7
- package/src/i18n/generated-locales/vi-VN.generated.ts +0 -6
- package/src/i18n/generated-locales/zh-CN.generated.ts +0 -6
- package/src/i18n/generated-locales/zh-TW.generated.ts +0 -6
- package/src/motion/MEASUREMENTS.md +2 -1
- package/src/motion/README.md +102 -32
- package/src/motion/__tests__/animator.interaction.browser.spec.ts +843 -0
- package/src/motion/__tests__/motionBundle.ts +14 -0
- package/src/motion/animator.test.ts +978 -33
- package/src/motion/animator.ts +790 -104
- package/src/motion/coast.ts +10 -3
- package/src/motion/reducedMotion.ts +12 -2
- package/src/motion/reducedMotionPlan.test.ts +26 -0
- package/src/motion/reducedMotionPlan.ts +20 -1
- package/src/motion/resolveMotion.test.ts +123 -0
- package/src/motion/resolveMotion.ts +68 -0
- package/src/motion/roleValue.ts +2 -1
- package/src/motion/roles.test.ts +21 -4
- package/src/motion/uikit/tableImports.test.ts +293 -0
- package/src/motion/uikit/timing.ts +15 -1
- package/src/motion/uikit/values.test.ts +23 -12
- package/src/theme/Theme.doc.mjs +1 -1
- package/src/theme/defineTheme.ts +116 -7
- package/src/theme/expandMotionScale.test.ts +1 -1
- package/src/theme/index.ts +5 -0
- package/src/theme/motionKnobs.ts +82 -0
- package/src/theme/resolveThemeValues.ts +68 -6
- package/src/theme/themeAdaptations.ts +52 -12
- package/src/theme/themeMotion.test.ts +620 -0
- package/src/theme/themeMotion.ts +221 -0
- package/src/theme/tokenReferences.ts +149 -0
- package/src/theme/tokens.stylex.ts +10 -0
- package/src/theme/tokens.ts +15 -158
- package/src/utils/focusOutline.stylex.ts +28 -0
- package/src/utils/interactionOverlay.stylex.ts +12 -3
- package/src/utils/pressFeedback.test.ts +138 -0
- package/src/utils/pressFeedback.ts +34 -11
- package/src/utils/pressGesture.test.ts +9 -0
- package/src/utils/sharedMutationObserver.test.ts +54 -1
- package/src/utils/sharedMutationObserver.ts +87 -29
- package/src/utils/touchPresentation.ts +8 -5
- package/src/utils/touchQueries.ts +15 -0
- 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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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.
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
204
|
-
* hold keeps the end state on screen through such
|
|
205
|
-
*
|
|
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 =
|
|
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
|
-
*
|
|
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);
|
|
242
311
|
* animator.stop(['y']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animator.d.ts","sourceRoot":"","sources":["../../src/motion/animator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"animator.d.ts","sourceRoot":"","sources":["../../src/motion/animator.ts"],"names":[],"mappings":"AAkLA,OAAO,EAAwB,KAAK,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAQvE;;GAEG;AACH,MAAM,MAAM,cAAc,GACxB,GAAG,GAAG,GAAG,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,4DAA4D;IAC5D,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAClC;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC/B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,iBAAiB;IACjB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,4DAA4D;IAC5D,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,qDAAqD;IACrD,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,sCAAsC;AACtC,MAAM,WAAW,UAAU;IACzB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,wDAAwD;IACxD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,uCAAuC;IACvC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IACnD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,gEAAgE;IAChE,KAAK,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvD,8DAA8D;IAC9D,QAAQ,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1D;;;;;;OAMG;IACH,KAAK,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,GAAG,WAAW,GAAG,IAAI,CAAC;IAC9D,sEAAsE;IACtE,QAAQ,CACN,EAAE,EAAE,YAAY,EAChB,UAAU,CAAC,EAAE,gBAAgB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,YAAY,CAAC;IAChB,mEAAmE;IACnE,IAAI,IAAI,IAAI,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;;;OAMG;IACH,aAAa,CAAC,OAAO,CAAC,EAAE;QACtB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,CAAC;IACpC,uDAAuD;IACvD,QAAQ,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IACrC;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1C,kEAAkE;IAClE,GAAG,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/D,8DAA8D;IAC9D,WAAW,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvE;;;;OAIG;IACH,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IACtD,oDAAoD;IACpD,OAAO,CACL,EAAE,EAAE,YAAY,EAChB,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,YAAY,CAAC;IAChB;;;;;;;;OAQG;IACH,IAAI,CACF,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,OAAO,EAAE,WAAW,CAAC,CAAC,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,YAAY,CAAC;IAChB;;;;;;;;;;;;OAYG;IACH,KAAK,CACH,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE,WAAW,CAAC,CAAC,EAC/C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,cAAc,CAAC,GACpD,YAAY,CAAC;IAChB;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;IACzE,wEAAwE;IACxE,IAAI,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,IAAI,CAAC;IACjE;;;OAGG;IACH,MAAM,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,uCAAuC;IACvC,OAAO,IAAI,IAAI,CAAC;CACjB;AAsJD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAO3D,CAAC;AAkEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,WAAW,QAAS,CAAC;AAalC,oEAAoE;AACpE,eAAO,MAAM,mBAAmB,MAAM,CAAC;AA0CvC;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,WAAW,EACpB,OAAO,GAAE,eAAoB,GAC5B,QAAQ,CAaV;AAyED;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,IAAI,OAAO,CAMrD;AAED,kEAAkE;AAClE,wBAAgB,sBAAsB,IAAI,OAAO,CAMhD;AAWD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,WAAW,GAAG,IAAI,EAC3B,OAAO,GAAE,eAAoB,GAC5B,QAAQ,CA+mFV"}
|