@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
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
|
|
3
|
+
'use client';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file useGestureRecognizer.ts
|
|
7
|
+
* @input An element ref, a recognizer factory and a gesture listener; or an
|
|
8
|
+
* element ref and press tracker options
|
|
9
|
+
* @output Exports useGestureRecognizer and usePressTracker
|
|
10
|
+
* @position React face of packages/core/src/gestures
|
|
11
|
+
*
|
|
12
|
+
* The recognizer is created once and keeps its identity for the life of the
|
|
13
|
+
* component, so relationships set up at creation (`requireToFail`,
|
|
14
|
+
* `recognizeSimultaneouslyWith`) hold. The listener is read through a ref:
|
|
15
|
+
* passing a new function each render re-attaches nothing, and a gesture
|
|
16
|
+
* costs no React render at all — the listener runs inside the input event
|
|
17
|
+
* and writes to the DOM itself. The recognizer attaches in a layout effect,
|
|
18
|
+
* so its `touch-action` is in place before the browser can see a finger.
|
|
19
|
+
*
|
|
20
|
+
* SYNC: When modified, update useGestureRecognizer.test.tsx and README.md.
|
|
21
|
+
*/
|
|
22
|
+
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
23
|
+
import { useIsomorphicLayoutEffect } from "../hooks/useIsomorphicLayoutEffect.js";
|
|
24
|
+
import { getGestureHost } from "./GestureHost.js";
|
|
25
|
+
import { createPressTracker, vetoesSingleTap } from "./PressTracker.js";
|
|
26
|
+
/**
|
|
27
|
+
* How many Effects are driving the gesture system right now (an `isEnabled`
|
|
28
|
+
* sync, a detach, a press tracker's release or host update). While one runs
|
|
29
|
+
* no hook calls its caller back (react-component-runtime INV2, INV3): the
|
|
30
|
+
* recognizer it stops is cancelled silently, and what that stop unblocks (a
|
|
31
|
+
* recognizer that required it to fail) resolves in the arena's next pass, a
|
|
32
|
+
* microtask later, where its listener reports as usual
|
|
33
|
+
* (`deferringResolution`).
|
|
34
|
+
*/
|
|
35
|
+
let effectDepth = 0;
|
|
36
|
+
|
|
37
|
+
/** Runs `drive` as an Effect's work on the gesture system (see effectDepth). */
|
|
38
|
+
function driveFromEffect(drive) {
|
|
39
|
+
effectDepth += 1;
|
|
40
|
+
try {
|
|
41
|
+
drive();
|
|
42
|
+
} finally {
|
|
43
|
+
effectDepth -= 1;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Runs `body`, which stops `recognizer` from an Effect, with its arena leaving
|
|
49
|
+
* what the stop unblocks to a pass a microtask later
|
|
50
|
+
* (GestureArena.deferResolution): a recognizer that required the stopped one
|
|
51
|
+
* to fail recognizes there, outside the Effect, and its listener reports as
|
|
52
|
+
* usual. A recognizer that has met no touch has no arena, and nothing waits on
|
|
53
|
+
* it.
|
|
54
|
+
*/
|
|
55
|
+
function deferringResolution(recognizer, body) {
|
|
56
|
+
const arena = recognizer.arena;
|
|
57
|
+
if (arena == null) {
|
|
58
|
+
body();
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
arena.deferResolution(body);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Attach a recognizer to the element behind `ref`.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```
|
|
69
|
+
* const pan = useGestureRecognizer(
|
|
70
|
+
* ref,
|
|
71
|
+
* () => new PanGestureRecognizer({direction: 'vertical'}),
|
|
72
|
+
* recognizer => {
|
|
73
|
+
* ref.current.style.transform = `translateY(${recognizer.translation().y}px)`;
|
|
74
|
+
* },
|
|
75
|
+
* );
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export function useGestureRecognizer(ref, create, onGesture, options = {}) {
|
|
79
|
+
const [recognizer] = useState(create);
|
|
80
|
+
const onGestureRef = useRef(onGesture);
|
|
81
|
+
useIsomorphicLayoutEffect(() => {
|
|
82
|
+
onGestureRef.current = onGesture;
|
|
83
|
+
});
|
|
84
|
+
const {
|
|
85
|
+
isEnabled = true,
|
|
86
|
+
manageStyle = true
|
|
87
|
+
} = options;
|
|
88
|
+
|
|
89
|
+
// Syncs the recognizer's target-action listeners with the caller's
|
|
90
|
+
// callback (read through a ref, so a new function re-subscribes nothing).
|
|
91
|
+
useEffect(() => recognizer.addListener(current => {
|
|
92
|
+
if (effectDepth === 0) {
|
|
93
|
+
onGestureRef.current?.(current);
|
|
94
|
+
}
|
|
95
|
+
}), [recognizer]);
|
|
96
|
+
|
|
97
|
+
// Syncs the recognizer's `isEnabled` (UIKit's). It runs first, so disabling
|
|
98
|
+
// cancels a gesture in flight before its attachment goes, and that cancel,
|
|
99
|
+
// with whatever it settles in the arena, reaches no caller callback.
|
|
100
|
+
useIsomorphicLayoutEffect(() => {
|
|
101
|
+
driveFromEffect(() => deferringResolution(recognizer, () => recognizer.setEnabled(isEnabled)));
|
|
102
|
+
}, [recognizer, isEnabled]);
|
|
103
|
+
|
|
104
|
+
// Syncs the document's gesture host with the element behind `ref`: attached
|
|
105
|
+
// while enabled, re-attached when the node is replaced. A disabled gesture
|
|
106
|
+
// is not attached at all: no listener and no `touch-action` of its own on
|
|
107
|
+
// the element (spec:AST-094 FR24). Detaching (an unmount, a replaced node)
|
|
108
|
+
// cancels a gesture in flight, and that cancel, run in an Effect, reaches
|
|
109
|
+
// no caller callback (react-component-runtime INV2).
|
|
110
|
+
useNodeAttachment(ref, element => {
|
|
111
|
+
if (!isEnabled) {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
const detach = getGestureHost(element.ownerDocument).attach(element, recognizer, {
|
|
115
|
+
manageStyle
|
|
116
|
+
});
|
|
117
|
+
return () => driveFromEffect(() => deferringResolution(recognizer, detach));
|
|
118
|
+
}, [recognizer, manageStyle, isEnabled]);
|
|
119
|
+
return recognizer;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Track presses on the element behind `ref` with UIControl semantics. The
|
|
123
|
+
* callbacks are read through a ref, like a recognizer's listener. Releasing
|
|
124
|
+
* the element (unmount, or a replaced node) ends any press without calling
|
|
125
|
+
* them: that release runs in an Effect, which never calls a caller's
|
|
126
|
+
* callback (react-component-runtime INV2, INV3).
|
|
127
|
+
*/
|
|
128
|
+
export function usePressTracker(ref, options = {}) {
|
|
129
|
+
const optionsRef = useRef(options);
|
|
130
|
+
useIsomorphicLayoutEffect(() => {
|
|
131
|
+
optionsRef.current = options;
|
|
132
|
+
});
|
|
133
|
+
const {
|
|
134
|
+
trackingExpansion,
|
|
135
|
+
highlightDelay,
|
|
136
|
+
cancelTravel,
|
|
137
|
+
quickTapFlash
|
|
138
|
+
} = options;
|
|
139
|
+
// The tracker reads these four when it is built: a change rebuilds it (the
|
|
140
|
+
// attachment below moves to the new one and disposes the old), and the new
|
|
141
|
+
// values apply from the next touch. The callbacks, the brake included, are
|
|
142
|
+
// read through the ref on every touch.
|
|
143
|
+
const tracker = useMemo(() => createPressTracker({
|
|
144
|
+
getBounds: () => ref.current?.getBoundingClientRect() ?? null,
|
|
145
|
+
get view() {
|
|
146
|
+
return ref.current;
|
|
147
|
+
},
|
|
148
|
+
onControlEvent: (event, touch) => {
|
|
149
|
+
if (effectDepth === 0) {
|
|
150
|
+
optionsRef.current.onControlEvent?.(event, touch);
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
onHighlightChange: isHighlighted => {
|
|
154
|
+
if (effectDepth === 0) {
|
|
155
|
+
optionsRef.current.onHighlightChange?.(isHighlighted);
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
trackingExpansion,
|
|
159
|
+
highlightDelay,
|
|
160
|
+
cancelTravel,
|
|
161
|
+
quickTapFlash,
|
|
162
|
+
// The caller's veto, read on every touch, else the tracker's own.
|
|
163
|
+
vetoesAncestorRecognizer: recognizer => (optionsRef.current.vetoesAncestorRecognizer ?? vetoesSingleTap)(recognizer),
|
|
164
|
+
isEnabled: () => optionsRef.current.isEnabled?.() ?? true,
|
|
165
|
+
// A finger that brakes a scroll it set moving presses nothing
|
|
166
|
+
// (GestureHost.isScrollBraking), unless the caller decides; the tracker
|
|
167
|
+
// asks only for a finger (spec:AST-094 FR11).
|
|
168
|
+
isBraking: touch => {
|
|
169
|
+
const element = ref.current;
|
|
170
|
+
return optionsRef.current.isBraking?.(touch) ?? (element != null && getGestureHost(element.ownerDocument).isScrollBraking(element));
|
|
171
|
+
}
|
|
172
|
+
}), [ref, trackingExpansion, highlightDelay, cancelTravel, quickTapFlash]);
|
|
173
|
+
|
|
174
|
+
// Syncs the document's gesture host with the element behind `ref`: the
|
|
175
|
+
// tracker is its press consumer, moved when the node is replaced, and a
|
|
176
|
+
// press in progress ends with it.
|
|
177
|
+
useNodeAttachment(ref, element => {
|
|
178
|
+
const detach = getGestureHost(element.ownerDocument).attachConsumer(element, tracker);
|
|
179
|
+
return () => driveFromEffect(() => {
|
|
180
|
+
detach();
|
|
181
|
+
tracker.dispose();
|
|
182
|
+
});
|
|
183
|
+
}, [tracker]);
|
|
184
|
+
|
|
185
|
+
// Syncs the host's listeners with the tracker's enabled state, which can
|
|
186
|
+
// change with any render: the host listens only while an enabled control
|
|
187
|
+
// is attached (spec:AST-094 FR24).
|
|
188
|
+
useIsomorphicLayoutEffect(() => {
|
|
189
|
+
const element = ref.current;
|
|
190
|
+
if (element != null) {
|
|
191
|
+
driveFromEffect(() => getGestureHost(element.ownerDocument).update(element));
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
return tracker;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Keeps `attach` applied to the element behind `ref`: checked after every
|
|
199
|
+
* render, so a replaced node (a re-keyed or swapped element) is detached and
|
|
200
|
+
* the new one attached, a removed one detached, and a change in `deps`
|
|
201
|
+
* re-attaches (`architecture:react-component-runtime` INV6). Costs no render.
|
|
202
|
+
* `attach` returns its detach, or null for nothing attached.
|
|
203
|
+
*/
|
|
204
|
+
function useNodeAttachment(ref, attach, deps) {
|
|
205
|
+
const attachedRef = useRef(null);
|
|
206
|
+
// Syncs the attachment with the DOM node the caller's ref holds after
|
|
207
|
+
// this commit.
|
|
208
|
+
useIsomorphicLayoutEffect(() => {
|
|
209
|
+
const element = ref.current;
|
|
210
|
+
const current = attachedRef.current;
|
|
211
|
+
if (current != null && current.element === element && current.deps.length === deps.length && current.deps.every((dep, index) => Object.is(dep, deps[index]))) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
current?.detach?.();
|
|
215
|
+
attachedRef.current = element == null ? null : {
|
|
216
|
+
element,
|
|
217
|
+
deps,
|
|
218
|
+
detach: attach(element)
|
|
219
|
+
};
|
|
220
|
+
});
|
|
221
|
+
// Detaches at unmount.
|
|
222
|
+
useIsomorphicLayoutEffect(() => () => {
|
|
223
|
+
attachedRef.current?.detach?.();
|
|
224
|
+
attachedRef.current = null;
|
|
225
|
+
}, []);
|
|
226
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scrollKeyboardDelegation.d.ts","sourceRoot":"","sources":["../../src/hooks/scrollKeyboardDelegation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scrollKeyboardDelegation.d.ts","sourceRoot":"","sources":["../../src/hooks/scrollKeyboardDelegation.ts"],"names":[],"mappings":"AAwIA,0EAA0E;AAC1E,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE,WAAW,GACnB,MAAM,IAAI,CAkGZ"}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @file scrollKeyboardDelegation.ts
|
|
5
|
-
* @input A named, overflowing viewport and its real content box
|
|
5
|
+
* @input A named, overflowing viewport and its real content box (the viewport
|
|
6
|
+
* itself when it has no separate content box)
|
|
6
7
|
* @output Focus-time delegation with native forward and reverse Tab traversal
|
|
7
|
-
* @position Private
|
|
8
|
+
* @position Private keyboard behavior of useScrollableArea and of AppShell's main
|
|
9
|
+
* region; no DOM observers or scrolling
|
|
8
10
|
*/
|
|
9
11
|
|
|
10
12
|
import { FOCUSABLE_SELECTOR } from "./focusableSelector.js";
|
|
@@ -22,7 +24,9 @@ function isSequential(element) {
|
|
|
22
24
|
}
|
|
23
25
|
function firstDelegationTarget(viewport, content) {
|
|
24
26
|
const candidates = content.querySelectorAll(FOCUSABLE_SELECTOR);
|
|
25
|
-
|
|
27
|
+
// A viewport that is its own content box is the stop being entered, never
|
|
28
|
+
// the target it delegates to.
|
|
29
|
+
let first = content !== viewport && content.matches(FOCUSABLE_SELECTOR) && isSequential(content) ? content : null;
|
|
26
30
|
for (const candidate of candidates) {
|
|
27
31
|
// After finding the first target, only positive tabindex can precede it.
|
|
28
32
|
// Ordinary trailing controls need no visibility or layout reads.
|
|
@@ -10,7 +10,8 @@ export interface ScrollOverflowState {
|
|
|
10
10
|
* Tracks scroll overflow state for a horizontally scrollable container.
|
|
11
11
|
*
|
|
12
12
|
* Returns a ref callback to attach to the scroll container and a state
|
|
13
|
-
* object that updates as the user scrolls
|
|
13
|
+
* object that updates as the user scrolls, the container resizes, or its
|
|
14
|
+
* content changes.
|
|
14
15
|
*
|
|
15
16
|
* @example
|
|
16
17
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollOverflow.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollOverflow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useScrollOverflow.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollOverflow.ts"],"names":[],"mappings":"AAmCA,MAAM,WAAW,mBAAmB;IAClC,8DAA8D;IAC9D,aAAa,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,WAAW,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,WAAW,EAAE,OAAO,CAAC;CACtB;AA4DD;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB;IA/E/B,8DAA8D;mBAC/C,OAAO;IACtB,4DAA4D;iBAC/C,OAAO;IACpB,oDAAoD;iBACvC,OAAO;oBAgIb,WAAW,GAAG,IAAI;EA+B1B"}
|
|
@@ -10,12 +10,15 @@
|
|
|
10
10
|
* state
|
|
11
11
|
*
|
|
12
12
|
* Observes a scroll container and reports whether content overflows at the
|
|
13
|
-
* start, end, or both edges. Updates on every scroll, and
|
|
14
|
-
*
|
|
13
|
+
* start, end, or both edges. Updates on every scroll, and while the container
|
|
14
|
+
* is rendered on what else changes the overflow with or without the
|
|
15
|
+
* container resizing: its own size, a child's size (a slide's content
|
|
16
|
+
* growing), a child added or removed, and its class or style (a new gap or
|
|
17
|
+
* padding). A layout read on an element the browser is not
|
|
15
18
|
* rendering (an ancestor with `display: none`, or a `content-visibility:
|
|
16
19
|
* hidden` subtree) either answers zeros or makes the browser lay out that
|
|
17
|
-
* whole hidden subtree for the answer, so
|
|
18
|
-
*
|
|
20
|
+
* whole hidden subtree for the answer, so an observation delivered for a
|
|
21
|
+
* hidden container, and the measurement at registration inside one, are
|
|
19
22
|
* skipped; the hook keeps its last state until the resize observation that
|
|
20
23
|
* follows the reveal (one frame after it paints). A scroll is measured
|
|
21
24
|
* whether or not the container is rendered: a scroll of a hidden container
|
|
@@ -41,11 +44,54 @@ function isRendered(el) {
|
|
|
41
44
|
return typeof el.checkVisibility !== 'function' || el.checkVisibility();
|
|
42
45
|
}
|
|
43
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Observes what changes `el`'s overflow besides its scroll: its own size,
|
|
49
|
+
* each child's size, the children added or removed, and its class or style.
|
|
50
|
+
* Returns the teardown, which ends every observation.
|
|
51
|
+
*/
|
|
52
|
+
function observeContent(el, measure) {
|
|
53
|
+
const unobserveContainer = observeResize(el, measure);
|
|
54
|
+
const unobserveChildren = new Map();
|
|
55
|
+
const followChildren = () => {
|
|
56
|
+
const children = new Set(el.children);
|
|
57
|
+
for (const [child, unobserve] of unobserveChildren) {
|
|
58
|
+
if (!children.has(child)) {
|
|
59
|
+
unobserve();
|
|
60
|
+
unobserveChildren.delete(child);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
for (const child of children) {
|
|
64
|
+
if (!unobserveChildren.has(child)) {
|
|
65
|
+
unobserveChildren.set(child, observeResize(child, measure));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
followChildren();
|
|
70
|
+
const mutations = typeof MutationObserver === 'function' ? new MutationObserver(() => {
|
|
71
|
+
followChildren();
|
|
72
|
+
measure();
|
|
73
|
+
}) : null;
|
|
74
|
+
mutations?.observe(el, {
|
|
75
|
+
childList: true,
|
|
76
|
+
attributes: true,
|
|
77
|
+
attributeFilter: ['class', 'style']
|
|
78
|
+
});
|
|
79
|
+
return () => {
|
|
80
|
+
mutations?.disconnect();
|
|
81
|
+
for (const unobserve of unobserveChildren.values()) {
|
|
82
|
+
unobserve();
|
|
83
|
+
}
|
|
84
|
+
unobserveChildren.clear();
|
|
85
|
+
unobserveContainer();
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
44
89
|
/**
|
|
45
90
|
* Tracks scroll overflow state for a horizontally scrollable container.
|
|
46
91
|
*
|
|
47
92
|
* Returns a ref callback to attach to the scroll container and a state
|
|
48
|
-
* object that updates as the user scrolls
|
|
93
|
+
* object that updates as the user scrolls, the container resizes, or its
|
|
94
|
+
* content changes.
|
|
49
95
|
*
|
|
50
96
|
* @example
|
|
51
97
|
* ```
|
|
@@ -84,10 +130,10 @@ export function useScrollOverflow() {
|
|
|
84
130
|
});
|
|
85
131
|
}, []);
|
|
86
132
|
|
|
87
|
-
// Registration and
|
|
88
|
-
// edges to report, and reading its layout would make the
|
|
89
|
-
// the hidden subtree it sits in; the resize observation that
|
|
90
|
-
// reveal measures again.
|
|
133
|
+
// Registration, resize and content changes: only a rendered container. A
|
|
134
|
+
// hidden one has no edges to report, and reading its layout would make the
|
|
135
|
+
// browser render the hidden subtree it sits in; the resize observation that
|
|
136
|
+
// follows the reveal measures again.
|
|
91
137
|
const measure = useCallback(() => {
|
|
92
138
|
const el = elRef.current;
|
|
93
139
|
if (el && isRendered(el)) {
|
|
@@ -116,7 +162,7 @@ export function useScrollOverflow() {
|
|
|
116
162
|
el.addEventListener('scroll', measureOnScroll, {
|
|
117
163
|
passive: true
|
|
118
164
|
});
|
|
119
|
-
unobserveRef.current =
|
|
165
|
+
unobserveRef.current = observeContent(el, measure);
|
|
120
166
|
}
|
|
121
167
|
}, [measure, measureOnScroll]);
|
|
122
168
|
useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"af-ZA.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/af-ZA.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"af-ZA.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/af-ZA.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA4ZpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -166,11 +166,6 @@ const runtimeCatalog = {
|
|
|
166
166
|
'@astryx.table.sort.ascending': 'Sorteer opgaande',
|
|
167
167
|
'@astryx.table.sort.descending': 'Sorteer afgaande',
|
|
168
168
|
'@astryx.table.sort.clear': 'Vee sortering uit',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'opgaande',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'afgaande',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Sorteer volgens {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Sorteer volgens {label}, gesorteer {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Sorteer volgens {label}, gesorteer {direction}, prioriteit {rank, number} van {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Maak kennisgewing toe',
|
|
175
170
|
'@astryx.toast.viewport': 'Kennisgewings',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Vee alles uit',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ar-SA.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ar-SA.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"ar-SA.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ar-SA.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"}
|
|
@@ -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":"ca-ES.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ca-ES.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"ca-ES.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/ca-ES.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"}
|
|
@@ -166,11 +166,6 @@ const runtimeCatalog = {
|
|
|
166
166
|
'@astryx.table.sort.ascending': 'Ordena ascendentment',
|
|
167
167
|
'@astryx.table.sort.descending': 'Ordena descendentment',
|
|
168
168
|
'@astryx.table.sort.clear': 'Esborra l’ordenació',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'ascendent',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'descendent',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Ordena per {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Ordena per {label}, ordenat de manera {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Ordena per {label}, ordenat de manera {direction}, prioritat {rank, number} de {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Descarta la notificació',
|
|
175
170
|
'@astryx.toast.viewport': 'Notificacions',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Esborra-ho tot',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cs-CZ.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/cs-CZ.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"cs-CZ.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/cs-CZ.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': 'Seřadit vzestupně',
|
|
167
167
|
'@astryx.table.sort.descending': 'Seřadit sestupně',
|
|
168
168
|
'@astryx.table.sort.clear': 'Vymazat řazení',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'vzestupně',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'sestupně',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Seřadit podle {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Seřadit podle {label}, seřazeno {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Seřadit podle {label}, seřazeno {direction}, priorita {rank, number} z {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Zavřít oznámení',
|
|
175
170
|
'@astryx.toast.viewport': 'Oznámení',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Vymazat vše',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"da-DK.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/da-DK.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"da-DK.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/da-DK.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': 'Sortér stigende',
|
|
167
167
|
'@astryx.table.sort.descending': 'Sortér faldende',
|
|
168
168
|
'@astryx.table.sort.clear': 'Ryd sortering',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'stigende',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'faldende',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Sortér efter {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Sortér efter {label}, sorteret {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Sortér efter {label}, sorteret {direction}, prioritet {rank, number} af {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Luk notifikation',
|
|
175
170
|
'@astryx.toast.viewport': 'Notifikationer',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Ryd alle',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-DE.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/de-DE.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"de-DE.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/de-DE.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"}
|
|
@@ -166,11 +166,6 @@ const runtimeCatalog = {
|
|
|
166
166
|
'@astryx.table.sort.ascending': 'Aufsteigend sortieren',
|
|
167
167
|
'@astryx.table.sort.descending': 'Absteigend sortieren',
|
|
168
168
|
'@astryx.table.sort.clear': 'Sortierung aufheben',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'aufsteigend',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'absteigend',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Nach {label} sortieren',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Nach {label} sortieren, sortiert {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Nach {label} sortieren, sortiert {direction}, Priorität {rank, number} von {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Benachrichtigung schließen',
|
|
175
170
|
'@astryx.toast.viewport': 'Benachrichtigungen',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Alle löschen',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"el-GR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/el-GR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"el-GR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/el-GR.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': 'Αύξουσα ταξινόμηση',
|
|
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":"en.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/en.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"en.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/en.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAqmBpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -224,11 +224,7 @@ const runtimeCatalog = {
|
|
|
224
224
|
'@astryx.table.sort.ascending': 'Sort ascending',
|
|
225
225
|
'@astryx.table.sort.descending': 'Sort descending',
|
|
226
226
|
'@astryx.table.sort.clear': 'Clear sort',
|
|
227
|
-
'@astryx.table.sort.
|
|
228
|
-
'@astryx.table.sort.direction.descending': 'descending',
|
|
229
|
-
'@astryx.table.sort.sortBy': 'Sort by {label}',
|
|
230
|
-
'@astryx.table.sort.sortedBy': 'Sort by {label}, sorted {direction}',
|
|
231
|
-
'@astryx.table.sort.sortedByWithPriority': 'Sort by {label}, sorted {direction}, priority {rank, number} of {total, number}',
|
|
227
|
+
'@astryx.table.sort.priority': 'Priority {rank, number} of {total, number}',
|
|
232
228
|
'@astryx.toast.dismiss': 'Dismiss notification',
|
|
233
229
|
'@astryx.toast.viewport': 'Notifications',
|
|
234
230
|
'@astryx.tokenizer.clearAll': 'Clear all',
|
|
@@ -288,6 +284,7 @@ const runtimeCatalog = {
|
|
|
288
284
|
'@astryx.outline.label': 'Table of contents',
|
|
289
285
|
'@astryx.powersearch.label': 'Search',
|
|
290
286
|
'@astryx.powersearch.placeholder': 'Search…',
|
|
287
|
+
'@astryx.powersearch.allFiltersRemoved': 'All filters removed',
|
|
291
288
|
'@astryx.resizable.collapsed': 'Collapsed',
|
|
292
289
|
'@astryx.resizable.handle.label': 'Resize handle',
|
|
293
290
|
'@astryx.selector.placeholder': 'Select…',
|
|
@@ -550,6 +547,7 @@ const runtimeCatalog = {
|
|
|
550
547
|
'@astryx.comments.resolveFailed': "This thread couldn't be resolved.",
|
|
551
548
|
'@astryx.comments.resolved': 'Resolved',
|
|
552
549
|
'@astryx.comments.resolvedBy': 'Resolved by {name}',
|
|
550
|
+
'@astryx.comments.errorAnnouncement': '{title} {description}',
|
|
553
551
|
'@astryx.comments.retryFailed': "Retrying didn't work.",
|
|
554
552
|
'@astryx.comments.sendFailed': "Couldn't send this comment.",
|
|
555
553
|
'@astryx.comments.threadLabel': 'Thread by {name}',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-ES.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/es-ES.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"es-ES.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/es-ES.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': 'Ordenar ascendente',
|
|
167
167
|
'@astryx.table.sort.descending': 'Ordenar descendente',
|
|
168
168
|
'@astryx.table.sort.clear': 'Quitar el orden',
|
|
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 en orden {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Ordenar por {label}, ordenado en orden {direction}, prioridad {rank, number} de {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Descartar la notificación',
|
|
175
170
|
'@astryx.toast.viewport': 'Notificaciones',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Borrar todo',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fi-FI.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/fi-FI.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"fi-FI.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/fi-FI.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': 'Järjestä nousevasti',
|
|
167
167
|
'@astryx.table.sort.descending': 'Järjestä laskevasti',
|
|
168
168
|
'@astryx.table.sort.clear': 'Tyhjennä järjestys',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'nouseva',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'laskeva',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Järjestä: {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Järjestä: {label}, järjestys {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Järjestä: {label}, järjestys {direction}, prioriteetti {rank, number} / {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Hylkää ilmoitus',
|
|
175
170
|
'@astryx.toast.viewport': 'Ilmoitukset',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Tyhjennä kaikki',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr-FR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/fr-FR.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"fr-FR.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/fr-FR.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': 'Trier par ordre croissant',
|
|
167
167
|
'@astryx.table.sort.descending': 'Trier par ordre décroissant',
|
|
168
168
|
'@astryx.table.sort.clear': 'Effacer le tri',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'croissant',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'décroissant',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Trier par {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Trier par {label}, trié par ordre {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Trier par {label}, trié par ordre {direction}, priorité {rank, number} sur {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Ignorer la notification',
|
|
175
170
|
'@astryx.toast.viewport': 'Notifications',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Tout effacer',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"he-IL.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/he-IL.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"he-IL.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/he-IL.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAsZpD,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":"hu-HU.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/hu-HU.generated.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"hu-HU.generated.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated-locales/hu-HU.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': 'Növekvő rendezés',
|
|
167
167
|
'@astryx.table.sort.descending': 'Csökkenő rendezés',
|
|
168
168
|
'@astryx.table.sort.clear': 'Rendezés törlése',
|
|
169
|
-
'@astryx.table.sort.direction.ascending': 'növekvő',
|
|
170
|
-
'@astryx.table.sort.direction.descending': 'csökkenő',
|
|
171
|
-
'@astryx.table.sort.sortBy': 'Rendezés: {label}',
|
|
172
|
-
'@astryx.table.sort.sortedBy': 'Rendezés: {label}, rendezve: {direction}',
|
|
173
|
-
'@astryx.table.sort.sortedByWithPriority': 'Rendezés: {label}, rendezve: {direction}, prioritás: {rank, number} / {total, number}',
|
|
174
169
|
'@astryx.toast.dismiss': 'Értesítés elvetése',
|
|
175
170
|
'@astryx.toast.viewport': 'Értesítések',
|
|
176
171
|
'@astryx.tokenizer.clearAll': 'Összes törlése',
|