@astryxdesign/core 0.7.7 → 0.7.8-canary.0588a13
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/AlertDialog/AlertDialog.d.ts +4 -1
- package/dist/AlertDialog/AlertDialog.d.ts.map +1 -1
- package/dist/AlertDialog/AlertDialog.js +46 -6
- package/dist/AppShell/AppShell.d.ts.map +1 -1
- package/dist/AppShell/AppShell.js +11 -3
- package/dist/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/BottomSheet/BottomSheet.js +1 -0
- package/dist/BottomSheet/BottomSheetPanel.d.ts +1 -1
- package/dist/BottomSheet/BottomSheetPanel.d.ts.map +1 -1
- package/dist/BottomSheet/BottomSheetPanel.js +55 -18
- package/dist/BottomSheet/BottomSheetSwitcher.d.ts.map +1 -1
- package/dist/BottomSheet/BottomSheetSwitcher.js +5 -0
- package/dist/BottomSheet/bottomSheetStack.js +1 -1
- package/dist/BottomSheet/useSheetGestures.d.ts +3 -1
- package/dist/BottomSheet/useSheetGestures.d.ts.map +1 -1
- package/dist/BottomSheet/useSheetGestures.js +16 -1
- package/dist/Button/Button.d.ts.map +1 -1
- package/dist/Button/Button.js +17 -1
- package/dist/Calendar/Calendar.d.ts.map +1 -1
- package/dist/Calendar/Calendar.js +18 -22
- package/dist/Calendar/getWeekdayHeaderNames.d.ts +16 -0
- package/dist/Calendar/getWeekdayHeaderNames.d.ts.map +1 -0
- package/dist/Calendar/getWeekdayHeaderNames.js +70 -0
- package/dist/Calendar/hooks/useCalendarDays.d.ts.map +1 -1
- package/dist/Calendar/hooks/useCalendarDays.js +2 -10
- package/dist/Calendar/{standaloneShortWeekdayNames.generated.d.ts → weekdayHeaderNames.generated.d.ts} +14 -14
- package/dist/Calendar/weekdayHeaderNames.generated.d.ts.map +1 -0
- package/dist/Calendar/{standaloneShortWeekdayNames.generated.js → weekdayHeaderNames.generated.js} +12 -12
- package/dist/Carousel/Carousel.d.ts.map +1 -1
- package/dist/Carousel/Carousel.js +2 -0
- package/dist/Chat/ChatComposerInput.d.ts.map +1 -1
- package/dist/Chat/ChatComposerInput.js +6 -1
- package/dist/Chat/ChatMessageList.d.ts.map +1 -1
- package/dist/Chat/ChatMessageList.js +2 -1
- package/dist/Chat/useChatDictation.d.ts.map +1 -1
- package/dist/Chat/useChatDictation.js +2 -0
- package/dist/Chat/useChatNewMessages.js +1 -1
- package/dist/Chat/useChatStreamScroll.d.ts.map +1 -1
- package/dist/Chat/useChatStreamScroll.js +2 -0
- package/dist/Chat/useSpeechRecognition.d.ts.map +1 -1
- package/dist/Chat/useSpeechRecognition.js +3 -0
- package/dist/Chat/useTriggerMenu.js +1 -1
- package/dist/CheckboxInput/CheckboxInput.d.ts.map +1 -1
- package/dist/CheckboxInput/CheckboxInput.js +17 -12
- package/dist/CheckboxList/CheckboxList.d.ts +20 -2
- package/dist/CheckboxList/CheckboxList.d.ts.map +1 -1
- package/dist/CheckboxList/CheckboxList.js +12 -4
- package/dist/CheckboxList/CheckboxListContext.d.ts +7 -0
- package/dist/CheckboxList/CheckboxListContext.d.ts.map +1 -1
- package/dist/CheckboxList/CheckboxListContext.js +2 -1
- package/dist/CheckboxList/CheckboxListItem.d.ts.map +1 -1
- package/dist/CheckboxList/CheckboxListItem.js +14 -2
- package/dist/CheckboxList/requiredGroup.d.ts +22 -0
- package/dist/CheckboxList/requiredGroup.d.ts.map +1 -0
- package/dist/CheckboxList/requiredGroup.js +52 -0
- package/dist/CodeBlock/CodeBlock.d.ts +10 -1
- package/dist/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/dist/CodeBlock/CodeBlock.js +28 -11
- package/dist/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/CommandPalette/CommandPalette.js +2 -0
- package/dist/CommandPalette/CommandPaletteItem.d.ts.map +1 -1
- package/dist/CommandPalette/CommandPaletteItem.js +2 -0
- package/dist/ComplexSelector/ComplexSelector.d.ts +4 -1
- package/dist/ComplexSelector/ComplexSelector.d.ts.map +1 -1
- package/dist/ComplexSelector/ComplexSelector.js +14 -4
- package/dist/ContextMenu/ContextMenu.js +2 -2
- package/dist/DateInput/MonthScroller.d.ts.map +1 -1
- package/dist/DateInput/MonthScroller.js +5 -2
- package/dist/DateInput/PickerWheel.d.ts +19 -0
- package/dist/DateInput/PickerWheel.d.ts.map +1 -0
- package/dist/DateInput/PickerWheel.js +646 -0
- package/dist/DateInput/TouchDateField.d.ts.map +1 -1
- package/dist/DateInput/TouchDateField.js +9 -30
- package/dist/DateInput/Wheel.d.ts +18 -37
- package/dist/DateInput/Wheel.d.ts.map +1 -1
- package/dist/DateInput/Wheel.js +133 -120
- package/dist/DateInput/datePickerTouch.d.ts +13 -0
- package/dist/DateInput/datePickerTouch.d.ts.map +1 -0
- package/dist/DateInput/datePickerTouch.js +14 -0
- package/dist/DateInput/useOwnScrollGesture.d.ts +10 -0
- package/dist/DateInput/useOwnScrollGesture.d.ts.map +1 -1
- package/dist/DateInput/useOwnScrollGesture.js +16 -3
- package/dist/DateInput/usePointerDragScroll.d.ts.map +1 -1
- package/dist/DateInput/usePointerDragScroll.js +2 -0
- package/dist/DateInput/useScrollSettle.d.ts.map +1 -1
- package/dist/DateInput/useScrollSettle.js +3 -0
- package/dist/DateInput/useWheelListbox.d.ts +59 -0
- package/dist/DateInput/useWheelListbox.d.ts.map +1 -0
- package/dist/DateInput/useWheelListbox.js +88 -0
- package/dist/DateInput/wheelOptions.d.ts +94 -0
- package/dist/DateInput/wheelOptions.d.ts.map +1 -0
- package/dist/DateInput/wheelOptions.js +110 -0
- package/dist/DateInput/wheelPhysics.d.ts +127 -0
- package/dist/DateInput/wheelPhysics.d.ts.map +1 -0
- package/dist/DateInput/wheelPhysics.js +341 -0
- package/dist/DateInput/wheelStrip.d.ts +92 -0
- package/dist/DateInput/wheelStrip.d.ts.map +1 -0
- package/dist/DateInput/wheelStrip.js +258 -0
- package/dist/DateTimeInput/TouchDateTimeField.d.ts.map +1 -1
- package/dist/DateTimeInput/TouchDateTimeField.js +70 -127
- package/dist/Dialog/Dialog.d.ts.map +1 -1
- package/dist/Dialog/Dialog.js +9 -32
- package/dist/Drawer/useDrawerDialogPresence.d.ts.map +1 -1
- package/dist/Drawer/useDrawerDialogPresence.js +3 -0
- package/dist/DropdownMenu/useMenuOverflow.d.ts.map +1 -1
- package/dist/DropdownMenu/useMenuOverflow.js +5 -0
- package/dist/Field/Field.js +2 -2
- package/dist/FieldStatus/useFieldStatusAnnouncement.d.ts.map +1 -1
- package/dist/FieldStatus/useFieldStatusAnnouncement.js +1 -0
- package/dist/FormLayout/FormLayout.d.ts +5 -1
- package/dist/FormLayout/FormLayout.d.ts.map +1 -1
- package/dist/HoverCard/HoverCard.d.ts +6 -4
- package/dist/HoverCard/HoverCard.d.ts.map +1 -1
- package/dist/HoverCard/HoverCard.js +48 -3
- package/dist/HoverCard/useHoverCard.d.ts +5 -4
- package/dist/HoverCard/useHoverCard.d.ts.map +1 -1
- package/dist/HoverCard/useHoverCard.js +26 -34
- package/dist/Icon/Icon.d.ts +5 -1
- package/dist/Icon/Icon.d.ts.map +1 -1
- package/dist/Icon/Icon.js +20 -3
- package/dist/InfoTip/InfoTip.d.ts +5 -5
- package/dist/InfoTip/InfoTip.d.ts.map +1 -1
- package/dist/InfoTip/InfoTip.js +58 -19
- package/dist/Item/useSwipeAction.d.ts.map +1 -1
- package/dist/Item/useSwipeAction.js +3 -0
- package/dist/Layer/modalOutlet.d.ts.map +1 -1
- package/dist/Layer/modalOutlet.js +2 -0
- package/dist/Layer/outsidePress.d.ts.map +1 -1
- package/dist/Layer/outsidePress.js +1 -0
- package/dist/Layer/useLayer.d.ts.map +1 -1
- package/dist/Layer/useLayer.js +4 -1
- package/dist/Layer/useLayerDismissal.d.ts.map +1 -1
- package/dist/Layer/useLayerDismissal.js +3 -0
- package/dist/Layer/useTouchTrigger.d.ts +13 -7
- package/dist/Layer/useTouchTrigger.d.ts.map +1 -1
- package/dist/Layer/useTouchTrigger.js +20 -6
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.d.ts.map +1 -1
- package/dist/Layout/index.js +1 -1
- package/dist/Layout/layoutReset.js +1 -1
- package/dist/Layout/overlayPaddingReset.stylex.d.ts +68 -0
- package/dist/Layout/overlayPaddingReset.stylex.d.ts.map +1 -0
- package/dist/Layout/overlayPaddingReset.stylex.js +72 -0
- package/dist/Layout/padding.stylex.d.ts +5 -129
- package/dist/Layout/padding.stylex.d.ts.map +1 -1
- package/dist/Layout/padding.stylex.js +9 -143
- package/dist/Layout/paddingStyles.stylex.d.ts +83 -0
- package/dist/Layout/paddingStyles.stylex.d.ts.map +1 -0
- package/dist/Layout/paddingStyles.stylex.js +99 -0
- package/dist/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/Lightbox/Lightbox.js +20 -1
- package/dist/MobileNav/MobileNav.d.ts +3 -2
- package/dist/MobileNav/MobileNav.d.ts.map +1 -1
- package/dist/MobileNav/MobileNav.js +10 -26
- package/dist/MultiSelector/MultiSelector.d.ts.map +1 -1
- package/dist/MultiSelector/MultiSelector.js +2 -1
- package/dist/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/NumberInput/NumberInput.js +2 -1
- package/dist/Outline/useOutlineFromDOM.d.ts.map +1 -1
- package/dist/Outline/useOutlineFromDOM.js +3 -0
- package/dist/Outline/useScrollSpy.d.ts.map +1 -1
- package/dist/Outline/useScrollSpy.js +3 -0
- package/dist/OverflowList/OverflowList.d.ts.map +1 -1
- package/dist/OverflowList/OverflowList.js +3 -0
- package/dist/Overlay/Overlay.d.ts.map +1 -1
- package/dist/Overlay/Overlay.js +7 -2
- package/dist/Popover/Popover.d.ts.map +1 -1
- package/dist/Popover/Popover.js +6 -0
- package/dist/Popover/usePopover.js +2 -2
- package/dist/PowerSearch/PowerSearch.d.ts +41 -4
- package/dist/PowerSearch/PowerSearch.d.ts.map +1 -1
- package/dist/PowerSearch/PowerSearch.js +441 -134
- package/dist/PowerSearch/PowerSearchBottomSheet.d.ts +125 -0
- package/dist/PowerSearch/PowerSearchBottomSheet.d.ts.map +1 -0
- package/dist/PowerSearch/PowerSearchBottomSheet.js +2041 -0
- package/dist/PowerSearch/PowerSearchEditPopover.d.ts +35 -2
- package/dist/PowerSearch/PowerSearchEditPopover.d.ts.map +1 -1
- package/dist/PowerSearch/PowerSearchEditPopover.js +43 -10
- package/dist/PowerSearch/PowerSearchFilterEditor.d.ts +1 -1
- package/dist/PowerSearch/PowerSearchFilterEditor.d.ts.map +1 -1
- package/dist/PowerSearch/PowerSearchFilterEditor.js +4 -2
- package/dist/PowerSearch/PowerSearchToken.d.ts +1 -1
- package/dist/PowerSearch/PowerSearchToken.d.ts.map +1 -1
- package/dist/PowerSearch/PowerSearchToken.js +3 -2
- package/dist/PowerSearch/PowerSearchValueEditor.d.ts +38 -3
- package/dist/PowerSearch/PowerSearchValueEditor.d.ts.map +1 -1
- package/dist/PowerSearch/PowerSearchValueEditor.js +273 -86
- package/dist/PowerSearch/formatFilterValue.d.ts +14 -7
- package/dist/PowerSearch/formatFilterValue.d.ts.map +1 -1
- package/dist/PowerSearch/formatFilterValue.js +31 -23
- package/dist/PowerSearch/formatTokenValue.d.ts +28 -0
- package/dist/PowerSearch/formatTokenValue.d.ts.map +1 -0
- package/dist/PowerSearch/formatTokenValue.js +161 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts.map +1 -1
- package/dist/PowerSearch/powerSearchDateZone.d.ts +25 -0
- package/dist/PowerSearch/powerSearchDateZone.d.ts.map +1 -0
- package/dist/PowerSearch/powerSearchDateZone.js +57 -0
- package/dist/PowerSearch/powerSearchSheetUtils.d.ts +65 -0
- package/dist/PowerSearch/powerSearchSheetUtils.d.ts.map +1 -0
- package/dist/PowerSearch/powerSearchSheetUtils.js +168 -0
- package/dist/PowerSearch/types.d.ts +8 -1
- package/dist/PowerSearch/types.d.ts.map +1 -1
- package/dist/ProgressBar/ProgressBarTouch.d.ts.map +1 -1
- package/dist/ProgressBar/ProgressBarTouch.js +2 -0
- package/dist/RadioList/RadioList.d.ts.map +1 -1
- package/dist/RadioList/RadioList.js +3 -2
- package/dist/RadioList/RadioListItem.d.ts +1 -1
- package/dist/RadioList/RadioListItem.d.ts.map +1 -1
- package/dist/RadioList/RadioListItem.js +5 -3
- package/dist/Resizable/ResizeHandle.d.ts +2 -1
- package/dist/Resizable/ResizeHandle.d.ts.map +1 -1
- package/dist/Resizable/ResizeHandle.js +116 -92
- package/dist/Resizable/createResizable.d.ts +199 -0
- package/dist/Resizable/createResizable.d.ts.map +1 -0
- package/dist/Resizable/createResizable.js +733 -0
- package/dist/Resizable/separatorAttributes.d.ts +45 -0
- package/dist/Resizable/separatorAttributes.d.ts.map +1 -0
- package/dist/Resizable/separatorAttributes.js +35 -0
- package/dist/Resizable/useResizable.d.ts +3 -3
- package/dist/Resizable/useResizable.d.ts.map +1 -1
- package/dist/Resizable/useResizable.js +252 -459
- package/dist/SegmentedControl/useSegmentedSelectionMotion.d.ts.map +1 -1
- package/dist/SegmentedControl/useSegmentedSelectionMotion.js +3 -3
- package/dist/SelectableCard/SelectableCard.d.ts +2 -0
- package/dist/SelectableCard/SelectableCard.d.ts.map +1 -1
- package/dist/SelectableCard/SelectableCard.js +36 -11
- package/dist/SelectableCard/selectableCardInput.d.ts +12 -0
- package/dist/SelectableCard/selectableCardInput.d.ts.map +1 -0
- package/dist/SelectableCard/selectableCardInput.js +20 -0
- package/dist/Selector/Selector.d.ts.map +1 -1
- package/dist/Selector/Selector.js +7 -9
- package/dist/SideNav/SideNav.d.ts.map +1 -1
- package/dist/SideNav/SideNav.js +36 -5
- package/dist/Slider/Slider.d.ts.map +1 -1
- package/dist/Slider/Slider.js +16 -11
- package/dist/Slider/sliderTouchController.js +2 -2
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Spinner/Spinner.d.ts.map +1 -1
- package/dist/Spinner/Spinner.js +60 -58
- package/dist/Stepper/Stepper.d.ts.map +1 -1
- package/dist/Stepper/Stepper.js +10 -15
- package/dist/Switch/Switch.d.ts.map +1 -1
- package/dist/Switch/Switch.js +4 -10
- package/dist/Switch/useSwitchTouch.js +4 -4
- package/dist/Table/BaseTable.d.ts.map +1 -1
- package/dist/Table/BaseTable.js +29 -8
- package/dist/Table/plugins/columnResize/useTableColumnResize.d.ts.map +1 -1
- package/dist/Table/plugins/columnResize/useTableColumnResize.js +3 -1
- package/dist/Table/plugins/filtering/useTableFiltering.d.ts.map +1 -1
- package/dist/Table/plugins/filtering/useTableFiltering.js +2 -1
- package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +12 -0
- package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts.map +1 -1
- package/dist/Table/plugins/rowExpansion/useTableRowExpansion.js +17 -3
- package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts.map +1 -1
- package/dist/Table/plugins/stickyColumns/useTableStickyColumns.js +2 -0
- package/dist/Table/plugins/tree/useTableTreeData.d.ts +11 -0
- package/dist/Table/plugins/tree/useTableTreeData.d.ts.map +1 -1
- package/dist/Table/plugins/tree/useTableTreeData.js +27 -14
- package/dist/TextArea/TextArea.d.ts.map +1 -1
- package/dist/TextArea/TextArea.js +2 -1
- package/dist/TextInput/TextInput.d.ts +2 -2
- package/dist/TextInput/TextInput.d.ts.map +1 -1
- package/dist/TextInput/TextInput.js +12 -8
- package/dist/TimeInput/TimeInput.d.ts.map +1 -1
- package/dist/TimeInput/TimeInput.js +2 -0
- package/dist/TimeInput/TimeWheels.d.ts +32 -0
- package/dist/TimeInput/TimeWheels.d.ts.map +1 -0
- package/dist/TimeInput/TimeWheels.js +144 -0
- package/dist/TimeInput/TouchTimeField.d.ts.map +1 -1
- package/dist/TimeInput/TouchTimeField.js +63 -116
- package/dist/TimeInput/timeWheelRules.d.ts +124 -0
- package/dist/TimeInput/timeWheelRules.d.ts.map +1 -0
- package/dist/TimeInput/timeWheelRules.js +277 -0
- package/dist/Timer/Timer.d.ts.map +1 -1
- package/dist/Timer/Timer.js +2 -0
- package/dist/Timestamp/Timestamp.js +1 -1
- package/dist/Timestamp/formatInstant.d.ts.map +1 -1
- package/dist/Timestamp/formatInstant.js +1 -23
- package/dist/Toast/Toast.d.ts +11 -1
- package/dist/Toast/Toast.d.ts.map +1 -1
- package/dist/Toast/Toast.js +25 -15
- package/dist/Toast/ToastViewport.d.ts.map +1 -1
- package/dist/Toast/ToastViewport.js +97 -34
- package/dist/Toast/types.d.ts +9 -3
- package/dist/Toast/types.d.ts.map +1 -1
- package/dist/Toast/useToast.d.ts.map +1 -1
- package/dist/Toast/useToast.js +1 -0
- package/dist/Tokenizer/Tokenizer.d.ts +44 -46
- package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
- package/dist/Tokenizer/Tokenizer.js +20 -21
- package/dist/Tokenizer/TokenizerBottomSheet.d.ts +1 -1
- package/dist/Tokenizer/TokenizerBottomSheet.js +12 -18
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts.map +1 -1
- package/dist/Tooltip/Tooltip.d.ts +2 -23
- package/dist/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/Tooltip/Tooltip.js +5 -29
- package/dist/Tooltip/useTooltip.d.ts +23 -30
- package/dist/Tooltip/useTooltip.d.ts.map +1 -1
- package/dist/Tooltip/useTooltip.js +200 -108
- package/dist/Typeahead/BaseTypeahead.d.ts.map +1 -1
- package/dist/Typeahead/BaseTypeahead.js +27 -18
- package/dist/Typeahead/TypeaheadItem.d.ts +2 -1
- package/dist/Typeahead/TypeaheadItem.d.ts.map +1 -1
- package/dist/animator/createAnimator.d.ts +98 -0
- package/dist/animator/createAnimator.d.ts.map +1 -0
- package/dist/animator/createAnimator.js +259 -0
- package/dist/astryx.css +53 -8
- package/dist/gestures/GestureHost.d.ts +16 -1
- package/dist/gestures/GestureHost.d.ts.map +1 -1
- package/dist/gestures/GestureHost.js +4 -1
- package/dist/gestures/PressTracker.d.ts.map +1 -1
- package/dist/gestures/PressTracker.js +4 -3
- package/dist/hooks/ModalAnnounceProvider.d.ts.map +1 -1
- package/dist/hooks/ModalAnnounceProvider.js +1 -0
- package/dist/hooks/actionGroupTracker.d.ts +4 -1
- package/dist/hooks/actionGroupTracker.d.ts.map +1 -1
- package/dist/hooks/actionGroupTracker.js +18 -7
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/longPressDetector.d.ts +66 -0
- package/dist/hooks/longPressDetector.d.ts.map +1 -0
- package/dist/hooks/longPressDetector.js +200 -0
- package/dist/hooks/pressGroupContext.d.ts +6 -0
- package/dist/hooks/pressGroupContext.d.ts.map +1 -0
- package/dist/hooks/pressGroupContext.js +20 -0
- package/dist/hooks/rootScrollStyles.d.ts +48 -0
- package/dist/hooks/rootScrollStyles.d.ts.map +1 -0
- package/dist/hooks/rootScrollStyles.js +207 -0
- package/dist/hooks/scrollLockTouchGuard.d.ts +13 -0
- package/dist/hooks/scrollLockTouchGuard.d.ts.map +1 -0
- package/dist/hooks/scrollLockTouchGuard.js +117 -0
- package/dist/hooks/scrollbarGutter.d.ts +4 -4
- package/dist/hooks/scrollbarGutter.d.ts.map +1 -1
- package/dist/hooks/scrollbarGutter.js +36 -23
- package/dist/hooks/useActionGroupTracking.d.ts +53 -0
- package/dist/hooks/useActionGroupTracking.d.ts.map +1 -0
- package/dist/hooks/useActionGroupTracking.js +174 -0
- package/dist/hooks/useAnimator.d.ts +41 -0
- package/dist/hooks/useAnimator.d.ts.map +1 -0
- package/dist/hooks/useAnimator.js +70 -0
- package/dist/hooks/useAnnounceRenderedText.d.ts.map +1 -1
- package/dist/hooks/useAnnounceRenderedText.js +1 -0
- package/dist/hooks/useAttachment.d.ts +1 -1
- package/dist/hooks/useAttachment.js +1 -1
- package/dist/hooks/useAutoMediaMode.d.ts.map +1 -1
- package/dist/hooks/useAutoMediaMode.js +1 -0
- package/dist/hooks/useBusyAnnouncement.d.ts.map +1 -1
- package/dist/hooks/useBusyAnnouncement.js +2 -0
- package/dist/hooks/useDevWarning.d.ts.map +1 -1
- package/dist/hooks/useDevWarning.js +2 -0
- package/dist/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/hooks/useFocusTrap.js +2 -0
- package/dist/hooks/useGridFocus.d.ts +8 -5
- package/dist/hooks/useGridFocus.d.ts.map +1 -1
- package/dist/hooks/useGridFocus.js +4 -3
- package/dist/hooks/useHotkeys.d.ts.map +1 -1
- package/dist/hooks/useHotkeys.js +3 -0
- package/dist/hooks/useImageMode.d.ts.map +1 -1
- package/dist/hooks/useImageMode.js +3 -0
- package/dist/hooks/useInputStatusIcon.d.ts +1 -1
- package/dist/hooks/useInputStatusIcon.d.ts.map +1 -1
- package/dist/hooks/useInputStatusIcon.js +2 -2
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -2
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -1
- package/dist/hooks/useKeyboardHint.js +1 -1
- package/dist/hooks/useLongPress.d.ts +8 -9
- package/dist/hooks/useLongPress.d.ts.map +1 -1
- package/dist/hooks/useLongPress.js +23 -106
- package/dist/hooks/useMenuHover.d.ts.map +1 -1
- package/dist/hooks/useMenuHover.js +2 -0
- package/dist/hooks/useMenuPress.d.ts.map +1 -1
- package/dist/hooks/useMenuPress.js +3 -0
- package/dist/hooks/useOverflow.d.ts.map +1 -1
- package/dist/hooks/useOverflow.js +2 -1
- package/dist/hooks/usePressFeedback.d.ts.map +1 -1
- package/dist/hooks/usePressFeedback.js +1 -0
- package/dist/hooks/useResolvedRequired.d.ts +3 -0
- package/dist/hooks/useResolvedRequired.d.ts.map +1 -1
- package/dist/hooks/useResolvedRequired.js +3 -0
- package/dist/hooks/useScrollLock.d.ts +8 -9
- package/dist/hooks/useScrollLock.d.ts.map +1 -1
- package/dist/hooks/useScrollLock.js +50 -48
- package/dist/hooks/useScrollableArea.d.ts.map +1 -1
- package/dist/hooks/useScrollableArea.js +5 -0
- package/dist/hooks/useStreamingText.d.ts.map +1 -1
- package/dist/hooks/useStreamingText.js +3 -0
- package/dist/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.d.ts +8 -0
- package/dist/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.d.ts.map +1 -0
- package/dist/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.js +45 -0
- package/dist/i18n/generated-english/PowerSearch/PowerSearchValueEditor.generated.d.ts.map +1 -1
- package/dist/i18n/generated-english/PowerSearch/PowerSearchValueEditor.generated.js +6 -0
- package/dist/i18n/generated-english/PowerSearch/formatTokenValue.generated.d.ts +8 -0
- package/dist/i18n/generated-english/PowerSearch/formatTokenValue.generated.d.ts.map +1 -0
- package/dist/i18n/generated-english/PowerSearch/formatTokenValue.generated.js +14 -0
- package/dist/i18n/generated-english/Resizable/createResizable.generated.d.ts +8 -0
- package/dist/i18n/generated-english/Resizable/createResizable.generated.d.ts.map +1 -0
- package/dist/i18n/generated-english/Resizable/createResizable.generated.js +13 -0
- package/dist/i18n/generated-english/Table/plugins/rowExpansion/useTableRowExpansion.generated.d.ts.map +1 -1
- package/dist/i18n/generated-english/Table/plugins/rowExpansion/useTableRowExpansion.generated.js +3 -1
- package/dist/i18n/generated-english/Table/plugins/tree/useTableTreeData.generated.d.ts.map +1 -1
- package/dist/i18n/generated-english/Table/plugins/tree/useTableTreeData.generated.js +3 -1
- package/dist/i18n/generated-english/TimeInput/TimeWheels.generated.d.ts +8 -0
- package/dist/i18n/generated-english/TimeInput/TimeWheels.generated.d.ts.map +1 -0
- package/dist/i18n/generated-english/TimeInput/TimeWheels.generated.js +17 -0
- package/dist/i18n/generated-locales/en.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/en.generated.js +37 -0
- package/dist/i18n/generated-locales/pseudo.generated.d.ts.map +1 -1
- package/dist/i18n/generated-locales/pseudo.generated.js +37 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/internal/indicatorPress.stylex.d.ts +20 -0
- package/dist/internal/indicatorPress.stylex.d.ts.map +1 -0
- package/dist/internal/indicatorPress.stylex.js +26 -0
- package/dist/internal/selectable-card.d.ts +21 -0
- package/dist/internal/selectable-card.d.ts.map +1 -0
- package/dist/internal/selectable-card.js +20 -0
- package/dist/internal/sheetDraft.d.ts +2 -2
- package/dist/internal/sheetDraft.js +2 -2
- package/dist/keyboard/index.d.ts +17 -0
- package/dist/keyboard/index.d.ts.map +1 -0
- package/dist/keyboard/index.js +19 -0
- package/dist/keyboard/keyboardHeight.d.ts +149 -0
- package/dist/keyboard/keyboardHeight.d.ts.map +1 -0
- package/dist/keyboard/keyboardHeight.js +432 -0
- package/dist/keyboard/keyboardLayoutGuide.d.ts +59 -0
- package/dist/keyboard/keyboardLayoutGuide.d.ts.map +1 -0
- package/dist/keyboard/keyboardLayoutGuide.js +207 -0
- package/dist/keyboard/keyboardModel.d.ts +93 -0
- package/dist/keyboard/keyboardModel.d.ts.map +1 -0
- package/dist/keyboard/keyboardModel.js +220 -0
- package/dist/keyboard/rideKeyboard.d.ts +42 -0
- package/dist/keyboard/rideKeyboard.d.ts.map +1 -0
- package/dist/keyboard/rideKeyboard.js +77 -0
- package/dist/keyboard/useMobileKeyboard.d.ts +61 -0
- package/dist/keyboard/useMobileKeyboard.d.ts.map +1 -0
- package/dist/keyboard/useMobileKeyboard.js +699 -0
- package/dist/motion/android/index.d.ts +16 -0
- package/dist/motion/android/index.d.ts.map +1 -0
- package/dist/motion/android/index.js +18 -0
- package/dist/motion/android/keyboard.d.ts +83 -0
- package/dist/motion/android/keyboard.d.ts.map +1 -0
- package/dist/motion/android/keyboard.js +96 -0
- package/dist/motion/animatedLayout.d.ts +8 -0
- package/dist/motion/animatedLayout.d.ts.map +1 -1
- package/dist/motion/animatedLayout.js +246 -53
- package/dist/motion/animator.d.ts +14 -14
- package/dist/motion/animator.d.ts.map +1 -1
- package/dist/motion/animator.js +45 -26
- package/dist/motion/frameBlock.d.ts +14 -0
- package/dist/motion/frameBlock.d.ts.map +1 -0
- package/dist/motion/frameBlock.js +16 -0
- package/dist/motion/progress.d.ts +88 -0
- package/dist/motion/progress.d.ts.map +1 -0
- package/dist/motion/progress.js +128 -0
- package/dist/motion/reducedMotion.d.ts.map +1 -1
- package/dist/motion/reducedMotion.js +3 -1
- package/dist/motion/uikit/alert.d.ts +41 -0
- package/dist/motion/uikit/alert.d.ts.map +1 -0
- package/dist/motion/uikit/alert.js +43 -0
- package/dist/motion/uikit/datePicker.d.ts +58 -0
- package/dist/motion/uikit/datePicker.d.ts.map +1 -0
- package/dist/motion/uikit/datePicker.js +60 -0
- package/dist/motion/uikit/index.d.ts +6 -4
- package/dist/motion/uikit/index.d.ts.map +1 -1
- package/dist/motion/uikit/index.js +6 -4
- package/dist/motion/uikit/picker.d.ts +96 -0
- package/dist/motion/uikit/picker.d.ts.map +1 -0
- package/dist/motion/uikit/picker.js +117 -0
- package/dist/privateAttributes/pressGroupItem.stylex.d.ts +22 -0
- package/dist/privateAttributes/pressGroupItem.stylex.d.ts.map +1 -0
- package/dist/privateAttributes/pressGroupItem.stylex.js +36 -0
- package/dist/privateAttributes/reducedMotion.stylex.d.ts +23 -0
- package/dist/privateAttributes/reducedMotion.stylex.d.ts.map +1 -0
- package/dist/privateAttributes/reducedMotion.stylex.js +40 -0
- package/dist/theme/Theme.d.ts.map +1 -1
- package/dist/theme/Theme.js +29 -4
- package/dist/theme/generateThemeRules.d.ts.map +1 -1
- package/dist/theme/generateThemeRules.js +14 -13
- package/dist/theme/motionKnobs.d.ts +4 -3
- package/dist/theme/motionKnobs.d.ts.map +1 -1
- package/dist/theme/motionKnobs.js +3 -2
- package/dist/theme/themeMotion.d.ts +6 -0
- package/dist/theme/themeMotion.d.ts.map +1 -1
- package/dist/theme/themeMotion.js +15 -2
- package/dist/theme/tokens.stylex.d.ts +3 -0
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +4 -1
- package/dist/utils/dateParser.d.ts.map +1 -1
- package/dist/utils/dateParser.js +12 -0
- package/dist/utils/disabledInteraction.d.ts +10 -2
- package/dist/utils/disabledInteraction.d.ts.map +1 -1
- package/dist/utils/disabledInteraction.js +16 -2
- package/dist/utils/focusReturn.d.ts +22 -25
- package/dist/utils/focusReturn.d.ts.map +1 -1
- package/dist/utils/focusReturn.js +36 -29
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/interactionModality.d.ts.map +1 -1
- package/dist/utils/interactionModality.js +4 -0
- package/dist/utils/interactionOverlay.stylex.d.ts +6 -4
- package/dist/utils/interactionOverlay.stylex.d.ts.map +1 -1
- package/dist/utils/interactionOverlay.stylex.js +6 -4
- package/dist/utils/isFocusDetached.d.ts +27 -0
- package/dist/utils/isFocusDetached.d.ts.map +1 -0
- package/dist/utils/isFocusDetached.js +32 -0
- package/dist/utils/layoutViewport.d.ts +25 -0
- package/dist/utils/layoutViewport.d.ts.map +1 -0
- package/dist/utils/layoutViewport.js +102 -0
- package/dist/utils/plainDate.d.ts +31 -0
- package/dist/utils/plainDate.d.ts.map +1 -1
- package/dist/utils/plainDate.js +68 -4
- package/dist/utils/pressFeedback.d.ts +6 -0
- package/dist/utils/pressFeedback.d.ts.map +1 -1
- package/dist/utils/pressFeedback.js +97 -18
- package/dist/utils/pressGesture.d.ts +4 -2
- package/dist/utils/pressGesture.d.ts.map +1 -1
- package/dist/utils/pressGesture.js +3 -1
- package/dist/utils/selectionLock.d.ts +10 -1
- package/dist/utils/selectionLock.d.ts.map +1 -1
- package/dist/utils/selectionLock.js +31 -5
- package/dist/utils/sharedMutationObserver.d.ts +2 -1
- package/dist/utils/sharedMutationObserver.d.ts.map +1 -1
- package/dist/utils/sharedMutationObserver.js +2 -1
- package/dist/utils/timeParser.d.ts +2 -1
- package/dist/utils/timeParser.d.ts.map +1 -1
- package/dist/utils/timeParser.js +29 -3
- package/dist/utils/triggerFocus.d.ts +36 -0
- package/dist/utils/triggerFocus.d.ts.map +1 -0
- package/dist/utils/triggerFocus.js +65 -0
- package/locales/en.json +148 -0
- package/locales/pseudo.json +111 -0
- package/package.json +14 -9
- package/src/AlertDialog/AlertDialog.doc.mjs +2 -2
- package/src/AlertDialog/AlertDialog.tsx +46 -5
- package/src/AppShell/AppShell.tsx +13 -4
- package/src/BottomSheet/BottomSheet.doc.mjs +1 -1
- package/src/BottomSheet/BottomSheet.tsx +1 -0
- package/src/BottomSheet/BottomSheetPanel.tsx +80 -16
- package/src/BottomSheet/BottomSheetSwitcher.doc.mjs +5 -0
- package/src/BottomSheet/BottomSheetSwitcher.tsx +5 -0
- package/src/BottomSheet/bottomSheetStack.ts +1 -1
- package/src/BottomSheet/useSheetGestures.ts +16 -1
- package/src/Button/Button.tsx +26 -4
- package/src/Calendar/Calendar.tsx +40 -32
- package/src/Calendar/getWeekdayHeaderNames.ts +88 -0
- package/src/Calendar/hooks/useCalendarDays.ts +5 -10
- package/src/Calendar/{standaloneShortWeekdayNames.generated.ts → weekdayHeaderNames.generated.ts} +14 -14
- package/src/Carousel/Carousel.tsx +1 -0
- package/src/Chat/ChatComposerInput.tsx +4 -7
- package/src/Chat/ChatMessageList.tsx +2 -1
- package/src/Chat/useChatDictation.ts +1 -0
- package/src/Chat/useChatNewMessages.ts +1 -1
- package/src/Chat/useChatStreamScroll.ts +2 -0
- package/src/Chat/useSpeechRecognition.ts +2 -0
- package/src/Chat/useTriggerMenu.tsx +1 -1
- package/src/CheckboxInput/CheckboxInput.doc.mjs +18 -0
- package/src/CheckboxInput/CheckboxInput.tsx +38 -15
- package/src/CheckboxList/CheckboxList.doc.mjs +14 -0
- package/src/CheckboxList/CheckboxList.tsx +43 -2
- package/src/CheckboxList/CheckboxListContext.tsx +9 -1
- package/src/CheckboxList/CheckboxListItem.tsx +23 -2
- package/src/CheckboxList/requiredGroup.ts +77 -0
- package/src/CodeBlock/CodeBlock.doc.mjs +9 -1
- package/src/CodeBlock/CodeBlock.tsx +41 -4
- package/src/CommandPalette/CommandPalette.tsx +1 -0
- package/src/CommandPalette/CommandPaletteItem.tsx +1 -0
- package/src/ComplexSelector/ComplexSelector.tsx +20 -5
- package/src/ContextMenu/ContextMenu.tsx +2 -2
- package/src/DateInput/MonthScroller.tsx +8 -2
- package/src/DateInput/PickerWheel.tsx +796 -0
- package/src/DateInput/TouchDateField.tsx +6 -32
- package/src/DateInput/Wheel.tsx +188 -171
- package/src/DateInput/datePickerTouch.ts +15 -0
- package/src/DateInput/useOwnScrollGesture.ts +25 -3
- package/src/DateInput/usePointerDragScroll.ts +1 -0
- package/src/DateInput/useScrollSettle.ts +2 -0
- package/src/DateInput/useWheelListbox.ts +112 -0
- package/src/DateInput/wheelOptions.ts +184 -0
- package/src/DateInput/wheelPhysics.ts +406 -0
- package/src/DateInput/wheelStrip.ts +341 -0
- package/src/DateTimeInput/TouchDateTimeField.tsx +100 -189
- package/src/Dialog/Dialog.tsx +12 -32
- package/src/Drawer/useDrawerDialogPresence.ts +2 -0
- package/src/DropdownMenu/useMenuOverflow.ts +3 -0
- package/src/Field/Field.tsx +2 -2
- package/src/FieldStatus/useFieldStatusAnnouncement.ts +1 -0
- package/src/FormLayout/FormLayout.doc.mjs +181 -46
- package/src/FormLayout/FormLayout.tsx +5 -1
- package/src/HoverCard/HoverCard.doc.mjs +10 -8
- package/src/HoverCard/HoverCard.tsx +58 -6
- package/src/HoverCard/useHoverCard.doc.mjs +178 -36
- package/src/HoverCard/useHoverCard.tsx +55 -55
- package/src/Icon/Icon.doc.mjs +51 -10
- package/src/Icon/Icon.tsx +31 -8
- package/src/IconButton/IconButton.doc.mjs +141 -21
- package/src/InfoTip/InfoTip.tsx +72 -16
- package/src/Item/useSwipeAction.ts +2 -0
- package/src/Layer/modalOutlet.ts +2 -0
- package/src/Layer/outsidePress.ts +1 -0
- package/src/Layer/useLayer.tsx +3 -1
- package/src/Layer/useLayerDismissal.ts +2 -0
- package/src/Layer/useTouchTrigger.ts +19 -6
- package/src/Layout/index.ts +1 -1
- package/src/Layout/layoutReset.ts +1 -1
- package/src/Layout/overlayPaddingReset.stylex.ts +73 -0
- package/src/Layout/padding.stylex.ts +9 -133
- package/src/Layout/paddingStyles.stylex.ts +87 -0
- package/src/Lightbox/Lightbox.tsx +20 -1
- package/src/Lightbox/useLightbox.doc.mjs +167 -0
- package/src/MobileNav/MobileNav.tsx +10 -31
- package/src/MultiSelector/MultiSelector.tsx +2 -7
- package/src/NumberInput/NumberInput.tsx +2 -7
- package/src/Outline/useOutlineFromDOM.ts +2 -0
- package/src/Outline/useScrollSpy.ts +2 -0
- package/src/OverflowList/OverflowList.tsx +2 -0
- package/src/Overlay/Overlay.tsx +7 -2
- package/src/Popover/Popover.tsx +4 -0
- package/src/Popover/usePopover.tsx +2 -2
- package/src/PowerSearch/PowerSearch.doc.mjs +60 -8
- package/src/PowerSearch/PowerSearch.tsx +622 -157
- package/src/PowerSearch/PowerSearchBottomSheet.tsx +2700 -0
- package/src/PowerSearch/PowerSearchEditPopover.tsx +65 -9
- package/src/PowerSearch/PowerSearchFilterEditor.tsx +2 -0
- package/src/PowerSearch/PowerSearchToken.tsx +2 -0
- package/src/PowerSearch/PowerSearchValueEditor.tsx +340 -59
- package/src/PowerSearch/formatFilterValue.ts +49 -27
- package/src/PowerSearch/formatTokenValue.ts +220 -0
- package/src/PowerSearch/index.ts +5 -1
- package/src/PowerSearch/powerSearchDateZone.ts +95 -0
- package/src/PowerSearch/powerSearchSheetUtils.ts +224 -0
- package/src/PowerSearch/types.ts +8 -1
- package/src/ProgressBar/ProgressBarTouch.ts +2 -0
- package/src/RadioList/RadioList.tsx +3 -2
- package/src/RadioList/RadioListItem.tsx +5 -3
- package/src/Resizable/Resizable.doc.mjs +5 -4
- package/src/Resizable/ResizeHandle.tsx +187 -135
- package/src/Resizable/createResizable.ts +1046 -0
- package/src/Resizable/separatorAttributes.ts +73 -0
- package/src/Resizable/useResizable.ts +292 -623
- package/src/SegmentedControl/useSegmentedSelectionMotion.ts +6 -3
- package/src/SelectableCard/SelectableCard.tsx +39 -10
- package/src/SelectableCard/selectableCardInput.ts +30 -0
- package/src/Selector/Selector.tsx +7 -19
- package/src/SideNav/SideNav.tsx +41 -5
- package/src/Slider/Slider.tsx +20 -11
- package/src/Slider/sliderTouchController.ts +2 -2
- package/src/Spinner/Spinner.tsx +77 -63
- package/src/Stepper/Stepper.tsx +10 -27
- package/src/Switch/Switch.tsx +2 -6
- package/src/Switch/useSwitchTouch.ts +4 -4
- package/src/Table/BaseTable.tsx +46 -12
- package/src/Table/plugins/columnResize/useTableColumnResize.tsx +2 -1
- package/src/Table/plugins/filtering/useTableFiltering.tsx +1 -0
- package/src/Table/plugins/rowExpansion/useTableRowExpansion.tsx +31 -7
- package/src/Table/plugins/stickyColumns/useTableStickyColumns.tsx +2 -0
- package/src/Table/plugins/tree/useTableTreeData.tsx +43 -20
- package/src/Table/useTableRowExpansion.doc.mjs +9 -0
- package/src/Table/useTableTreeData.doc.mjs +15 -3
- package/src/TextArea/TextArea.tsx +2 -7
- package/src/TextInput/TextInput.tsx +13 -17
- package/src/TimeInput/TimeInput.tsx +2 -0
- package/src/TimeInput/TimeWheels.tsx +218 -0
- package/src/TimeInput/TouchTimeField.tsx +93 -155
- package/src/TimeInput/timeWheelRules.ts +352 -0
- package/src/Timer/Timer.tsx +1 -0
- package/src/Timestamp/Timestamp.tsx +1 -1
- package/src/Timestamp/formatInstant.ts +1 -33
- package/src/Toast/Toast.doc.mjs +4 -3
- package/src/Toast/Toast.tsx +52 -32
- package/src/Toast/ToastViewport.tsx +123 -35
- package/src/Toast/types.ts +9 -3
- package/src/Toast/useToast.tsx +1 -0
- package/src/Tokenizer/Tokenizer.doc.mjs +10 -10
- package/src/Tokenizer/Tokenizer.tsx +61 -62
- package/src/Tokenizer/TokenizerBottomSheet.tsx +17 -23
- package/src/Tokenizer/index.ts +1 -0
- package/src/Tooltip/Tooltip.tsx +6 -42
- package/src/Tooltip/useTooltip.doc.mjs +24 -0
- package/src/Tooltip/useTooltip.tsx +243 -134
- package/src/Typeahead/BaseTypeahead.tsx +27 -17
- package/src/Typeahead/TypeaheadItem.doc.mjs +6 -3
- package/src/Typeahead/TypeaheadItem.tsx +2 -1
- package/src/animator/createAnimator.doc.mjs +153 -0
- package/src/animator/createAnimator.ts +324 -0
- package/src/gestures/GestureHost.ts +6 -5
- package/src/gestures/PressTracker.ts +4 -3
- package/src/gestures/README.md +10 -4
- package/src/hooks/ModalAnnounceProvider.tsx +1 -0
- package/src/hooks/actionGroupTracker.ts +25 -9
- package/src/hooks/index.ts +2 -0
- package/src/hooks/longPressDetector.ts +273 -0
- package/src/hooks/pressGroupContext.ts +21 -0
- package/src/hooks/rootScrollStyles.ts +247 -0
- package/src/hooks/scrollLockTouchGuard.ts +149 -0
- package/src/hooks/scrollbarGutter.ts +41 -26
- package/src/hooks/useActionGroupTracking.ts +224 -0
- package/src/hooks/useAnimator.doc.mjs +109 -0
- package/src/hooks/useAnimator.ts +67 -0
- package/src/hooks/useAnnounceRenderedText.ts +1 -0
- package/src/hooks/useAttachment.ts +1 -1
- package/src/hooks/useAutoMediaMode.ts +1 -0
- package/src/hooks/useBusyAnnouncement.ts +2 -0
- package/src/hooks/useDevWarning.ts +2 -0
- package/src/hooks/useFocusTrap.ts +2 -0
- package/src/hooks/useGridFocus.doc.mjs +6 -6
- package/src/hooks/useGridFocus.ts +10 -7
- package/src/hooks/useHotkeys.ts +2 -0
- package/src/hooks/useImageMode.ts +2 -0
- package/src/hooks/useInputStatusIcon.tsx +3 -2
- package/src/hooks/useKeyboardHint.tsx +1 -1
- package/src/hooks/useLongPress.doc.mjs +2 -2
- package/src/hooks/useLongPress.ts +32 -122
- package/src/hooks/useMenuHover.ts +1 -0
- package/src/hooks/useMenuPress.ts +2 -0
- package/src/hooks/useOverflow.ts +2 -1
- package/src/hooks/usePressFeedback.ts +1 -0
- package/src/hooks/useResolvedRequired.ts +3 -0
- package/src/hooks/useScrollLock.doc.mjs +51 -12
- package/src/hooks/useScrollLock.ts +53 -60
- package/src/hooks/useScrollableArea.ts +4 -0
- package/src/hooks/useStreamingText.ts +2 -0
- package/src/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.ts +46 -0
- package/src/i18n/generated-english/PowerSearch/PowerSearchValueEditor.generated.ts +6 -0
- package/src/i18n/generated-english/PowerSearch/formatTokenValue.generated.ts +15 -0
- package/src/i18n/generated-english/Resizable/createResizable.generated.ts +14 -0
- package/src/i18n/generated-english/Table/plugins/rowExpansion/useTableRowExpansion.generated.ts +3 -1
- package/src/i18n/generated-english/Table/plugins/tree/useTableTreeData.generated.ts +3 -1
- package/src/i18n/generated-english/TimeInput/TimeWheels.generated.ts +18 -0
- package/src/i18n/generated-locales/en.generated.ts +47 -0
- package/src/i18n/generated-locales/pseudo.generated.ts +48 -0
- package/src/index.ts +13 -0
- package/src/internal/indicatorPress.stylex.ts +24 -0
- package/src/internal/selectable-card.ts +21 -0
- package/src/internal/sheetDraft.ts +2 -2
- package/src/keyboard/README.md +197 -0
- package/src/keyboard/index.ts +48 -0
- package/src/keyboard/keyboardHeight.ts +543 -0
- package/src/keyboard/keyboardLayoutGuide.ts +266 -0
- package/src/keyboard/keyboardModel.ts +301 -0
- package/src/keyboard/rideKeyboard.ts +100 -0
- package/src/keyboard/useMobileKeyboard.ts +866 -0
- package/src/motion/MEASUREMENTS.md +28 -0
- package/src/motion/README.md +12 -5
- package/src/motion/android/index.ts +18 -0
- package/src/motion/android/keyboard.ts +96 -0
- package/src/motion/animatedLayout.ts +323 -60
- package/src/motion/animator.ts +66 -37
- package/src/motion/frameBlock.ts +16 -0
- package/src/motion/progress.ts +155 -0
- package/src/motion/reducedMotion.ts +3 -1
- package/src/motion/uikit/alert.ts +43 -0
- package/src/motion/uikit/datePicker.ts +60 -0
- package/src/motion/uikit/index.ts +6 -4
- package/src/motion/uikit/picker.ts +116 -0
- package/src/privateAttributes/pressGroupItem.stylex.ts +44 -0
- package/src/privateAttributes/reducedMotion.stylex.ts +45 -0
- package/src/theme/Theme.tsx +37 -3
- package/src/theme/generateThemeRules.ts +14 -12
- package/src/theme/motionKnobs.ts +4 -3
- package/src/theme/themeMotion.ts +17 -2
- package/src/theme/tokens.stylex.ts +2 -0
- package/src/utils/dateParser.ts +16 -0
- package/src/utils/disabledInteraction.ts +23 -2
- package/src/utils/focusReturn.ts +38 -31
- package/src/utils/index.ts +1 -1
- package/src/utils/interactionModality.ts +4 -0
- package/src/utils/interactionOverlay.stylex.ts +6 -4
- package/src/utils/isFocusDetached.ts +34 -0
- package/src/utils/layoutViewport.ts +104 -0
- package/src/utils/plainDate.ts +80 -4
- package/src/utils/pressFeedback.ts +126 -30
- package/src/utils/pressGesture.ts +4 -2
- package/src/utils/selectionLock.ts +40 -6
- package/src/utils/sharedMutationObserver.ts +2 -1
- package/src/utils/timeParser.ts +40 -3
- package/src/utils/triggerFocus.ts +80 -0
- package/dist/BottomSheet/useMobileKeyboard.d.ts +0 -21
- package/dist/BottomSheet/useMobileKeyboard.d.ts.map +0 -1
- package/dist/BottomSheet/useMobileKeyboard.js +0 -407
- package/dist/Calendar/getStandaloneShortWeekdayNames.d.ts +0 -14
- package/dist/Calendar/getStandaloneShortWeekdayNames.d.ts.map +0 -1
- package/dist/Calendar/getStandaloneShortWeekdayNames.js +0 -26
- package/dist/Calendar/standaloneShortWeekdayNames.generated.d.ts.map +0 -1
- package/dist/Layer/usePressPin.d.ts +0 -93
- package/dist/Layer/usePressPin.d.ts.map +0 -1
- package/dist/Layer/usePressPin.js +0 -363
- package/dist/internal/touch-sheet.d.ts +0 -21
- package/dist/internal/touch-sheet.d.ts.map +0 -1
- package/dist/internal/touch-sheet.js +0 -19
- package/src/BottomSheet/useMobileKeyboard.ts +0 -538
- package/src/Calendar/getStandaloneShortWeekdayNames.ts +0 -38
- package/src/Layer/usePressPin.ts +0 -510
- package/src/internal/touch-sheet.ts +0 -21
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @file animatedLayout.ts
|
|
5
5
|
* @input The DOM (layout rectangles, computed style), Web Animations, the
|
|
6
|
-
* internal `springs.settle` motion role (motion/roles.ts)
|
|
7
|
-
* cross-fade clock (uikit/timing.ts)
|
|
8
|
-
* @output Exports `createAnimatedLayout
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* `playLayoutSwap`), the edge reveal's
|
|
12
|
-
* `playLayoutEdge`), `playLayoutFrames`
|
|
13
|
-
* the one module that produces the
|
|
14
|
-
* `spec:AST-105` defines
|
|
6
|
+
* internal `springs.settle` motion role (motion/roles.ts), the Reduce Motion
|
|
7
|
+
* cross-fade clock (uikit/timing.ts) and the block measure (frameBlock.ts)
|
|
8
|
+
* @output Exports `createAnimatedLayout`, the opaque `AnimatedLayout` handle,
|
|
9
|
+
* `reportLayoutChange`, `playLayoutChange` and `layoutStartFor`. It also
|
|
10
|
+
* exports the exit hold (`holdLayoutExit`, `releaseLayoutExit`), the
|
|
11
|
+
* in-place swap (`holdLayoutSwap`, `playLayoutSwap`), the edge reveal's
|
|
12
|
+
* two-state form (`holdLayoutEdge`, `playLayoutEdge`), `playLayoutFrames`
|
|
13
|
+
* and `applyLayoutChangeTransition`. It is the one module that produces the
|
|
14
|
+
* size-change glide and the edge reveal `spec:AST-105` defines
|
|
15
|
+
* (`architecture:react-component-runtime` INV12)
|
|
15
16
|
* @position Motion foundation, internal to core. A handle comes from the
|
|
16
17
|
* public `useAnimatedLayout` hook; a component that takes it reports its
|
|
17
18
|
* size changes through this module.
|
|
@@ -79,11 +80,13 @@
|
|
|
79
80
|
* (`spec:AST-105` FR2).
|
|
80
81
|
*/
|
|
81
82
|
|
|
83
|
+
import { LATE_START_MS } from "./frameBlock.js";
|
|
82
84
|
import { motionRole } from "./roles.js";
|
|
83
85
|
import { inertCopy, isCopyable, paintedBackground, placeOver, visiblePartCopy, wrapText } from "./transientCopy.js";
|
|
84
86
|
import { isSpring } from "./roleValue.js";
|
|
85
|
-
import {
|
|
87
|
+
import { progressCurve } from "./progress.js";
|
|
86
88
|
import { registerSpringsTable, SETTLE_SPRING } from "./uikit/springs.js";
|
|
89
|
+
import { themeReducesMotion } from "../privateAttributes/reducedMotion.stylex.js";
|
|
87
90
|
import { reducedMotionCrossFade } from "./uikit/timing.js";
|
|
88
91
|
|
|
89
92
|
/** The shared motion role (`spec:AST-105` FR4). */
|
|
@@ -119,20 +122,19 @@ function settleSpring() {
|
|
|
119
122
|
return isSpring(value) ? value : SETTLE_SPRING;
|
|
120
123
|
}
|
|
121
124
|
function springProgress(description) {
|
|
122
|
-
const curve =
|
|
123
|
-
|
|
124
|
-
to: 0
|
|
125
|
+
const curve = progressCurve(description, {
|
|
126
|
+
epsilon: 0.001
|
|
125
127
|
});
|
|
126
|
-
const durationMs = Math.max(1, curve.
|
|
128
|
+
const durationMs = Math.max(1, curve.duration * 1000);
|
|
127
129
|
return {
|
|
128
130
|
durationMs,
|
|
129
|
-
remaining: t => t >= durationMs ? 0 : curve.
|
|
131
|
+
remaining: t => t >= durationMs ? 0 : 1 - curve.at(t / 1000)
|
|
130
132
|
};
|
|
131
133
|
}
|
|
132
134
|
|
|
133
135
|
/** The motion a change in `area` plays now. */
|
|
134
136
|
function layoutMotion(area) {
|
|
135
|
-
if (matches(area, '(prefers-reduced-motion: reduce)')) {
|
|
137
|
+
if (matches(area, '(prefers-reduced-motion: reduce)') || themeReducesMotion(area)) {
|
|
136
138
|
if (!matches(area, '(pointer: coarse)')) {
|
|
137
139
|
return {
|
|
138
140
|
kind: 'instant'
|
|
@@ -194,7 +196,7 @@ function round(value) {
|
|
|
194
196
|
* keyframes, replace composition) is one any Web Animations engine takes, so
|
|
195
197
|
* a failure means no Web Animations at all: the change then lands at once.
|
|
196
198
|
*/
|
|
197
|
-
function safeAnimate(element, keyframes, options) {
|
|
199
|
+
function safeAnimate(element, keyframes, options, change) {
|
|
198
200
|
if (typeof element.animate !== 'function') {
|
|
199
201
|
return null;
|
|
200
202
|
}
|
|
@@ -205,16 +207,134 @@ function safeAnimate(element, keyframes, options) {
|
|
|
205
207
|
return null;
|
|
206
208
|
}
|
|
207
209
|
ours.add(animation);
|
|
208
|
-
//
|
|
209
|
-
// a retargeted glide keeps moving through the frame it is
|
|
210
|
-
//
|
|
211
|
-
|
|
210
|
+
// The animation starts on the document timeline's current time, not on the
|
|
211
|
+
// next frame. So a retargeted glide keeps moving through the frame it is
|
|
212
|
+
// replaced in. After a block since that frame, Chromium's timeline still
|
|
213
|
+
// reads the frame before the block. A motion started there would skip into
|
|
214
|
+
// its curve, or past all of it. So it starts at the moment of the change
|
|
215
|
+
// instead, and the block delays the motion (startFor). Every animation of
|
|
216
|
+
// one change, in one document, shares that start.
|
|
217
|
+
const doc = element.ownerDocument;
|
|
218
|
+
const now = doc.timeline?.currentTime;
|
|
212
219
|
if (now != null) {
|
|
213
|
-
|
|
220
|
+
// The start of the change it is part of, captured when that change made
|
|
221
|
+
// its first animation (changeStartOf); otherwise the document's.
|
|
222
|
+
const start = change != null && change.frame === Number(now) ? change : startFor(doc, Number(now));
|
|
223
|
+
start.last = clockOf(doc);
|
|
224
|
+
animation.startTime = start.at;
|
|
225
|
+
if (start.at !== Number(now)) {
|
|
226
|
+
// Started after the frame time the timeline still reads: until the
|
|
227
|
+
// timeline gets there it shows its first keyframe, not the element at
|
|
228
|
+
// rest.
|
|
229
|
+
const fill = animation.effect?.getTiming().fill;
|
|
230
|
+
animation.effect?.updateTiming({
|
|
231
|
+
fill: fill === 'forwards' || fill === 'both' ? 'both' : 'backwards'
|
|
232
|
+
});
|
|
233
|
+
}
|
|
214
234
|
}
|
|
215
235
|
return animation;
|
|
216
236
|
}
|
|
217
237
|
|
|
238
|
+
/**
|
|
239
|
+
* The start a change's animations share. It is the timeline's frame time,
|
|
240
|
+
* unless a block ran more than LATE_START_MS past that frame before the first
|
|
241
|
+
* of them was made. Then they start at the moment the first of them is made.
|
|
242
|
+
* The frame time is from before the block, so a motion started on it would
|
|
243
|
+
* skip into its curve, or past all of it. Chromium holds the timeline at the
|
|
244
|
+
* frame before a long task once anything in the task reads it.
|
|
245
|
+
*/
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Each document's change start: an iframe or a Picture-in-Picture window
|
|
249
|
+
* keeps its own clock, with its own origin and frames.
|
|
250
|
+
*/
|
|
251
|
+
const changeStarts = new WeakMap();
|
|
252
|
+
|
|
253
|
+
/** The clock of the document whose timeline a start is read on. */
|
|
254
|
+
function clockOf(doc) {
|
|
255
|
+
return (doc.defaultView?.performance ?? performance).now();
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* The start the current change's animations share. A change keeps one start
|
|
260
|
+
* from its first animation through the flush of its glides and the parts that
|
|
261
|
+
* ride them. That holds however long the work between them runs, such as the
|
|
262
|
+
* rest of a commit or a slow swap. The start holds while the timeline reads
|
|
263
|
+
* the same frame: through the task that made it and the microtasks after it.
|
|
264
|
+
* A change that begins after a block takes a start of its own (beginChange).
|
|
265
|
+
*/
|
|
266
|
+
function startFor(doc, frame) {
|
|
267
|
+
const now = clockOf(doc);
|
|
268
|
+
const held = changeStarts.get(doc);
|
|
269
|
+
if (held != null && held.frame === frame) {
|
|
270
|
+
held.last = now;
|
|
271
|
+
return held;
|
|
272
|
+
}
|
|
273
|
+
const start = {
|
|
274
|
+
frame,
|
|
275
|
+
at: now - frame <= LATE_START_MS ? frame : now,
|
|
276
|
+
last: now
|
|
277
|
+
};
|
|
278
|
+
changeStarts.set(doc, start);
|
|
279
|
+
// Let go in a later task: every microtask of this one, where the glides
|
|
280
|
+
// flush and the parts riding them play, has run by then.
|
|
281
|
+
const view = doc.defaultView;
|
|
282
|
+
(view?.setTimeout ?? setTimeout)(() => {
|
|
283
|
+
if (changeStarts.get(doc) === start) {
|
|
284
|
+
changeStarts.delete(doc);
|
|
285
|
+
}
|
|
286
|
+
}, 0);
|
|
287
|
+
return start;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* A change begins as its "before" is read. After a block since the last
|
|
292
|
+
* animation of the change before it, it takes a start of its own. So a change
|
|
293
|
+
* made after a block that follows an earlier layout motion still plays.
|
|
294
|
+
* Changes made together, with no block between them, share one start.
|
|
295
|
+
*/
|
|
296
|
+
function beginChange(doc) {
|
|
297
|
+
const held = changeStarts.get(doc);
|
|
298
|
+
if (held != null && clockOf(doc) - held.last > LATE_START_MS) {
|
|
299
|
+
changeStarts.delete(doc);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* When the animations of the layout change being made start. Code that
|
|
305
|
+
* follows the change on its own clock reads it, such as a rail's width or a
|
|
306
|
+
* swap's fade. It is the document timeline's current time. After a block
|
|
307
|
+
* since that frame, it is the moment the change made its first animation.
|
|
308
|
+
* Until the timeline reaches it, the change has not started.
|
|
309
|
+
*/
|
|
310
|
+
export function layoutStartFor(document) {
|
|
311
|
+
const now = document.timeline?.currentTime;
|
|
312
|
+
return now == null ? 0 : startFor(document, Number(now)).at;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Where `element` shows at the timeline's time `at`: its layout box, moved by
|
|
317
|
+
* its glide's offset then. After a block, WebKit evaluates a running
|
|
318
|
+
* translate on the live clock. The timeline still reads the frame before the
|
|
319
|
+
* block, as every glide here does, so the evaluated box would sit ahead.
|
|
320
|
+
* Glides write px; a translate in percent is not ours, so the box stays.
|
|
321
|
+
*/
|
|
322
|
+
function shownBoxAt(element, at) {
|
|
323
|
+
const box = element.getBoundingClientRect();
|
|
324
|
+
const glide = glides.get(element);
|
|
325
|
+
const startTime = glide?.animation.startTime;
|
|
326
|
+
if (glide == null || startTime == null) {
|
|
327
|
+
return box;
|
|
328
|
+
}
|
|
329
|
+
const translate = element.ownerDocument.defaultView?.getComputedStyle(element).translate ?? '';
|
|
330
|
+
if (translate.includes('%')) {
|
|
331
|
+
return box;
|
|
332
|
+
}
|
|
333
|
+
const [appliedX = 0, appliedY = 0] = numbersIn(translate);
|
|
334
|
+
const offset = glide.offsetAt(Math.max(0, at - Number(startTime)));
|
|
335
|
+
return new DOMRect(box.x + (offset.x - appliedX) * glide.scale.x, box.y + (offset.y - appliedY) * glide.scale.y, box.width, box.height);
|
|
336
|
+
}
|
|
337
|
+
|
|
218
338
|
/** Every animation this module started, so it can tell the app's apart. */
|
|
219
339
|
const ours = new WeakSet();
|
|
220
340
|
const TRANSFORM_PROPERTIES = ['transform', 'translate', 'rotate', 'scale'];
|
|
@@ -674,7 +794,8 @@ function batchFor(area) {
|
|
|
674
794
|
parts: new Map()
|
|
675
795
|
},
|
|
676
796
|
scheduled: false,
|
|
677
|
-
beforeMove: []
|
|
797
|
+
beforeMove: [],
|
|
798
|
+
start: null
|
|
678
799
|
};
|
|
679
800
|
batches.set(area, created);
|
|
680
801
|
// A measurement no commit claims by the next frame (a controlled owner
|
|
@@ -695,6 +816,36 @@ function batchFor(area) {
|
|
|
695
816
|
}
|
|
696
817
|
return batch;
|
|
697
818
|
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* The start `batch`'s change shares: taken by its first animation, from the
|
|
822
|
+
* document's (startFor), and kept with the batch through its flush.
|
|
823
|
+
*/
|
|
824
|
+
function changeStartOf(batch) {
|
|
825
|
+
const doc = batch.area.ownerDocument;
|
|
826
|
+
const now = doc.timeline?.currentTime;
|
|
827
|
+
if (now == null) {
|
|
828
|
+
return undefined;
|
|
829
|
+
}
|
|
830
|
+
if (batch.start == null || batch.start.frame !== Number(now)) {
|
|
831
|
+
batch.start = startFor(doc, Number(now));
|
|
832
|
+
}
|
|
833
|
+
return batch.start;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* The start of the change being made in `area`, captured now for animations
|
|
838
|
+
* made later in the task, such as the parts riding a glide. It is its batch's
|
|
839
|
+
* when one is open there, otherwise the document's.
|
|
840
|
+
*/
|
|
841
|
+
function changeStartIn(area, doc) {
|
|
842
|
+
const batch = area == null ? undefined : batches.get(area);
|
|
843
|
+
if (batch != null) {
|
|
844
|
+
return changeStartOf(batch);
|
|
845
|
+
}
|
|
846
|
+
const now = doc.timeline?.currentTime;
|
|
847
|
+
return now == null ? undefined : startFor(doc, Number(now));
|
|
848
|
+
}
|
|
698
849
|
function intersects(a, b) {
|
|
699
850
|
return a.width > 0 && a.height > 0 && a.right > b.left && a.left < b.right && a.bottom > b.top && a.top < b.bottom;
|
|
700
851
|
}
|
|
@@ -798,6 +949,9 @@ function flush(batch) {
|
|
|
798
949
|
notify([]);
|
|
799
950
|
return;
|
|
800
951
|
}
|
|
952
|
+
// The change's own start, taken by its entrance when it played one, even
|
|
953
|
+
// when another change has begun since.
|
|
954
|
+
const change = changeStartOf(batch);
|
|
801
955
|
const visible = visibleRect(batch.area);
|
|
802
956
|
// Every running glide stops first and every new place is read before any
|
|
803
957
|
// glide starts, so no reading includes another's new motion.
|
|
@@ -817,12 +971,22 @@ function flush(batch) {
|
|
|
817
971
|
const running = glides.get(element);
|
|
818
972
|
let carried = AT_REST;
|
|
819
973
|
let carriedMs = 0;
|
|
974
|
+
let held = AT_REST(0);
|
|
820
975
|
if (running != null) {
|
|
821
976
|
const time = Number(running.animation.currentTime);
|
|
822
977
|
const elapsed = Number.isFinite(time) ? Math.max(0, time) : 0;
|
|
823
978
|
if (elapsed < running.durationMs) {
|
|
824
|
-
|
|
825
|
-
|
|
979
|
+
held = running.offsetAt(elapsed);
|
|
980
|
+
}
|
|
981
|
+
// The new glide starts at the change's start. After a block, the
|
|
982
|
+
// compositor kept this glide moving past the held frame until then.
|
|
983
|
+
const {
|
|
984
|
+
startTime
|
|
985
|
+
} = running.animation;
|
|
986
|
+
const shownAt = change != null && startTime != null ? Math.max(elapsed, change.at - Number(startTime)) : elapsed;
|
|
987
|
+
if (shownAt < running.durationMs) {
|
|
988
|
+
carried = t => running.offsetAt(shownAt + t);
|
|
989
|
+
carriedMs = running.durationMs - shownAt;
|
|
826
990
|
}
|
|
827
991
|
running.animation.cancel();
|
|
828
992
|
glides.delete(element);
|
|
@@ -831,7 +995,8 @@ function flush(batch) {
|
|
|
831
995
|
element,
|
|
832
996
|
before,
|
|
833
997
|
carried,
|
|
834
|
-
carriedMs
|
|
998
|
+
carriedMs,
|
|
999
|
+
held
|
|
835
1000
|
});
|
|
836
1001
|
}
|
|
837
1002
|
// Every reading (places, transforms, scales) before any glide starts: a
|
|
@@ -885,7 +1050,8 @@ function flush(batch) {
|
|
|
885
1050
|
element,
|
|
886
1051
|
before,
|
|
887
1052
|
carried,
|
|
888
|
-
carriedMs
|
|
1053
|
+
carriedMs,
|
|
1054
|
+
held
|
|
889
1055
|
} = entry;
|
|
890
1056
|
const after = entry.after;
|
|
891
1057
|
// Nested changes compose: an element inside another moving element moves
|
|
@@ -915,7 +1081,7 @@ function flush(batch) {
|
|
|
915
1081
|
}], {
|
|
916
1082
|
duration: motion.durationMs,
|
|
917
1083
|
easing: motion.easing
|
|
918
|
-
});
|
|
1084
|
+
}, change);
|
|
919
1085
|
continue;
|
|
920
1086
|
}
|
|
921
1087
|
if (entry.isMovedByApp === true) {
|
|
@@ -923,15 +1089,14 @@ function flush(batch) {
|
|
|
923
1089
|
// (`spec:AST-105` Coverage).
|
|
924
1090
|
continue;
|
|
925
1091
|
}
|
|
926
|
-
// Where it
|
|
927
|
-
//
|
|
1092
|
+
// Where it showed before the change, against its new place, in its own
|
|
1093
|
+
// px. The part the glide's offset then does not cover is the new move.
|
|
928
1094
|
const scale = entry.scale ?? {
|
|
929
1095
|
x: 1,
|
|
930
1096
|
y: 1
|
|
931
1097
|
};
|
|
932
|
-
const
|
|
933
|
-
const
|
|
934
|
-
const moveY = dy / scale.y - now.y;
|
|
1098
|
+
const moveX = dx / scale.x - held.x;
|
|
1099
|
+
const moveY = dy / scale.y - held.y;
|
|
935
1100
|
const {
|
|
936
1101
|
progress
|
|
937
1102
|
} = motion;
|
|
@@ -953,12 +1118,17 @@ function flush(batch) {
|
|
|
953
1118
|
}), {
|
|
954
1119
|
duration: durationMs,
|
|
955
1120
|
easing: 'linear'
|
|
956
|
-
});
|
|
1121
|
+
}, change);
|
|
957
1122
|
if (animation != null) {
|
|
958
1123
|
const glide = {
|
|
959
1124
|
animation,
|
|
960
1125
|
offsetAt,
|
|
961
|
-
durationMs
|
|
1126
|
+
durationMs,
|
|
1127
|
+
shownBefore: {
|
|
1128
|
+
x: dx / scale.x,
|
|
1129
|
+
y: dy / scale.y
|
|
1130
|
+
},
|
|
1131
|
+
scale
|
|
962
1132
|
};
|
|
963
1133
|
glides.set(element, glide);
|
|
964
1134
|
animation.addEventListener?.('finish', () => {
|
|
@@ -990,6 +1160,7 @@ export function reportLayoutChange(handle, target) {
|
|
|
990
1160
|
if (area == null) {
|
|
991
1161
|
return;
|
|
992
1162
|
}
|
|
1163
|
+
beginChange(element.ownerDocument);
|
|
993
1164
|
const batch = batchFor(area);
|
|
994
1165
|
if (batch.changed.has(element)) {
|
|
995
1166
|
return;
|
|
@@ -1297,6 +1468,9 @@ export function playLayoutChange(handle, element, {
|
|
|
1297
1468
|
return null;
|
|
1298
1469
|
}
|
|
1299
1470
|
const from = shownAtStart(element, 0);
|
|
1471
|
+
// The start of the change it enters with, which its glides then share.
|
|
1472
|
+
const batch = batches.get(area);
|
|
1473
|
+
const change = batch != null && [...batch.changed].some(changed => changed === element || changed.contains(element)) ? changeStartOf(batch) : undefined;
|
|
1300
1474
|
if (motion.kind === 'fade') {
|
|
1301
1475
|
return safeAnimate(element, [{
|
|
1302
1476
|
opacity: from
|
|
@@ -1305,7 +1479,7 @@ export function playLayoutChange(handle, element, {
|
|
|
1305
1479
|
}], {
|
|
1306
1480
|
duration: motion.durationMs,
|
|
1307
1481
|
easing: motion.easing
|
|
1308
|
-
});
|
|
1482
|
+
}, change);
|
|
1309
1483
|
}
|
|
1310
1484
|
const {
|
|
1311
1485
|
progress
|
|
@@ -1320,7 +1494,7 @@ export function playLayoutChange(handle, element, {
|
|
|
1320
1494
|
}), {
|
|
1321
1495
|
duration: progress.durationMs,
|
|
1322
1496
|
easing: 'linear'
|
|
1323
|
-
});
|
|
1497
|
+
}, change);
|
|
1324
1498
|
if (animation != null) {
|
|
1325
1499
|
const tracked = trackEdgeMotion(element, animation, t => 1 - (1 - from) * progress.remaining(t));
|
|
1326
1500
|
rideEdge(element, area, edge, rtl, tracked, false);
|
|
@@ -1538,6 +1712,8 @@ export function holdLayoutExit(handle, element, done, {
|
|
|
1538
1712
|
// there.
|
|
1539
1713
|
const from = shownAtStart(element, 1);
|
|
1540
1714
|
const rtl = edge.startsWith('inline') && isRtl(element);
|
|
1715
|
+
// The start of the change it exits with, which its glides then share.
|
|
1716
|
+
const change = changeStartOf(batch);
|
|
1541
1717
|
let animation;
|
|
1542
1718
|
if (motion.kind === 'fade') {
|
|
1543
1719
|
animation = safeAnimate(element, [{
|
|
@@ -1548,7 +1724,7 @@ export function holdLayoutExit(handle, element, done, {
|
|
|
1548
1724
|
duration: motion.durationMs,
|
|
1549
1725
|
easing: motion.easing,
|
|
1550
1726
|
fill: 'forwards'
|
|
1551
|
-
});
|
|
1727
|
+
}, change);
|
|
1552
1728
|
} else {
|
|
1553
1729
|
const {
|
|
1554
1730
|
progress
|
|
@@ -1563,7 +1739,7 @@ export function holdLayoutExit(handle, element, done, {
|
|
|
1563
1739
|
duration: progress.durationMs,
|
|
1564
1740
|
easing: 'linear',
|
|
1565
1741
|
fill: 'forwards'
|
|
1566
|
-
});
|
|
1742
|
+
}, change);
|
|
1567
1743
|
if (animation != null) {
|
|
1568
1744
|
const tracked = trackEdgeMotion(element, animation, t => from * progress.remaining(t));
|
|
1569
1745
|
rideEdge(element, area, edge, rtl, tracked, true);
|
|
@@ -1658,6 +1834,7 @@ export function holdLayoutSwap(handle, element, {
|
|
|
1658
1834
|
if (area == null || layoutMotion(area).kind === 'instant' || !isCopyable(element)) {
|
|
1659
1835
|
return null;
|
|
1660
1836
|
}
|
|
1837
|
+
beginChange(element.ownerDocument);
|
|
1661
1838
|
const box = element.getBoundingClientRect();
|
|
1662
1839
|
if (!isVisiblePart) {
|
|
1663
1840
|
const copy = inertCopy(element);
|
|
@@ -1689,6 +1866,9 @@ export function playLayoutSwap(swap, how) {
|
|
|
1689
1866
|
const {
|
|
1690
1867
|
copy
|
|
1691
1868
|
} = swap;
|
|
1869
|
+
// Captured now: the parts riding a glide play a microtask later, on the
|
|
1870
|
+
// start of the change they are part of.
|
|
1871
|
+
const change = changeStartIn(swap.area, copy.ownerDocument);
|
|
1692
1872
|
placeOver(copy, how.host, swap.rect);
|
|
1693
1873
|
if (how.isOpaque === true) {
|
|
1694
1874
|
copy.style.zIndex = '1';
|
|
@@ -1750,7 +1930,7 @@ export function playLayoutSwap(swap, how) {
|
|
|
1750
1930
|
duration: durationMs,
|
|
1751
1931
|
fill: 'both',
|
|
1752
1932
|
...options
|
|
1753
|
-
});
|
|
1933
|
+
}, change);
|
|
1754
1934
|
if (animation != null) {
|
|
1755
1935
|
animations.push(animation);
|
|
1756
1936
|
}
|
|
@@ -1794,8 +1974,10 @@ export function playLayoutSwap(swap, how) {
|
|
|
1794
1974
|
y: -rideWith.travel.y
|
|
1795
1975
|
};
|
|
1796
1976
|
}
|
|
1977
|
+
// The parts were read where the ridden element showed then. After a
|
|
1978
|
+
// block it has moved on by the glide's start, so they move with it.
|
|
1797
1979
|
const now = glide.offsetAt(t);
|
|
1798
|
-
const start = glide.
|
|
1980
|
+
const start = glide.shownBefore;
|
|
1799
1981
|
return {
|
|
1800
1982
|
x: now.x - start.x,
|
|
1801
1983
|
y: now.y - start.y
|
|
@@ -1818,9 +2000,10 @@ export function playLayoutSwap(swap, how) {
|
|
|
1818
2000
|
export function playLayoutFrames(handle, parts) {
|
|
1819
2001
|
const area = handle?.[AREA]() ?? null;
|
|
1820
2002
|
const motion = area == null ? null : layoutMotion(area);
|
|
1821
|
-
if (motion == null || motion.kind === 'instant') {
|
|
2003
|
+
if (area == null || motion == null || motion.kind === 'instant') {
|
|
1822
2004
|
return () => {};
|
|
1823
2005
|
}
|
|
2006
|
+
const change = changeStartIn(area, area.ownerDocument);
|
|
1824
2007
|
const animations = [];
|
|
1825
2008
|
for (const {
|
|
1826
2009
|
element,
|
|
@@ -1830,14 +2013,14 @@ export function playLayoutFrames(handle, parts) {
|
|
|
1830
2013
|
duration: motion.progress.durationMs,
|
|
1831
2014
|
easing: 'linear',
|
|
1832
2015
|
fill: 'both'
|
|
1833
|
-
}) : safeAnimate(element, [{
|
|
2016
|
+
}, change) : safeAnimate(element, [{
|
|
1834
2017
|
opacity: 0
|
|
1835
2018
|
}, {
|
|
1836
2019
|
opacity: 1
|
|
1837
2020
|
}], {
|
|
1838
2021
|
duration: motion.durationMs,
|
|
1839
2022
|
easing: motion.easing
|
|
1840
|
-
});
|
|
2023
|
+
}, change);
|
|
1841
2024
|
if (animation != null) {
|
|
1842
2025
|
animations.push(animation);
|
|
1843
2026
|
}
|
|
@@ -1881,6 +2064,7 @@ export function holdLayoutEdge(handle, element, {
|
|
|
1881
2064
|
if (element == null || typeof element.animate !== 'function') {
|
|
1882
2065
|
return null;
|
|
1883
2066
|
}
|
|
2067
|
+
beginChange(element.ownerDocument);
|
|
1884
2068
|
const rect = element.getBoundingClientRect();
|
|
1885
2069
|
return {
|
|
1886
2070
|
element,
|
|
@@ -1942,18 +2126,25 @@ export function playLayoutEdge(hold, current, handle, {
|
|
|
1942
2126
|
const extentAt = (p, ride) => rides ? from + towards(ride) : from + (to - from) * p;
|
|
1943
2127
|
const clip = hidden => pxClip(edge, hidden, rtl);
|
|
1944
2128
|
const now = () => Number(element.ownerDocument.timeline?.currentTime ?? 0);
|
|
1945
|
-
|
|
2129
|
+
// The start this change's animations share, which after a block is later
|
|
2130
|
+
// than the frame time the timeline still reads (startFor).
|
|
2131
|
+
const startedAt = changeStartIn(areaOf(handle, element), element.ownerDocument)?.at ?? 0;
|
|
1946
2132
|
const durationMs = motion.kind === 'spring' ? motion.progress.durationMs : motion.durationMs;
|
|
2133
|
+
const progressAt = ms => motion.kind === 'spring' ? 1 - motion.progress.remaining(Math.min(ms, durationMs)) : 0;
|
|
1947
2134
|
const shown = () => {
|
|
1948
|
-
const elapsed = now() - startedAt;
|
|
2135
|
+
const elapsed = Math.max(0, now() - startedAt);
|
|
1949
2136
|
if (elapsed >= durationMs) {
|
|
1950
2137
|
return null;
|
|
1951
2138
|
}
|
|
1952
|
-
|
|
1953
|
-
|
|
2139
|
+
// The fades are read at the change's start, where the glide it retargets
|
|
2140
|
+
// carries on. The extent stays on the timeline's frame, the frame a ride
|
|
2141
|
+
// is measured from.
|
|
2142
|
+
const progress = progressAt(Math.max(elapsed, layoutStartFor(element.ownerDocument) - startedAt));
|
|
2143
|
+
let extent = from + (to - from) * progressAt(elapsed);
|
|
1954
2144
|
if (rides && rideWith != null) {
|
|
1955
|
-
// The edge is the ridden element's: read it where it shows
|
|
1956
|
-
|
|
2145
|
+
// The edge is the ridden element's: read it where it shows, on the
|
|
2146
|
+
// timeline's clock.
|
|
2147
|
+
const ridden = shownBoxAt(rideWith, now());
|
|
1957
2148
|
const own = element.getBoundingClientRect();
|
|
1958
2149
|
extent = !isInline ? isEnd ? ridden.top - own.top : own.bottom - ridden.bottom : isEnd !== rtl ? ridden.left - own.left : own.right - ridden.right;
|
|
1959
2150
|
}
|
|
@@ -2161,6 +2352,7 @@ export function reportLayoutEdge(handle, getElement, {
|
|
|
2161
2352
|
const element = getElement();
|
|
2162
2353
|
measured = null;
|
|
2163
2354
|
if (element != null) {
|
|
2355
|
+
beginChange(element.ownerDocument);
|
|
2164
2356
|
const running = resizeReveals.get(element);
|
|
2165
2357
|
const elapsed = Number(running?.animation?.currentTime);
|
|
2166
2358
|
const rect = element.getBoundingClientRect();
|
|
@@ -2169,7 +2361,7 @@ export function reportLayoutEdge(handle, getElement, {
|
|
|
2169
2361
|
box: extentOf(element, edge),
|
|
2170
2362
|
rect
|
|
2171
2363
|
} : {
|
|
2172
|
-
shown: running.shownAt(Number.isFinite(elapsed) ? elapsed : 0),
|
|
2364
|
+
shown: running.shownAt(Number.isFinite(elapsed) ? Math.max(0, elapsed) : 0),
|
|
2173
2365
|
box: running.box,
|
|
2174
2366
|
rect
|
|
2175
2367
|
};
|
|
@@ -2204,6 +2396,7 @@ export function reportLayoutEdge(handle, getElement, {
|
|
|
2204
2396
|
return;
|
|
2205
2397
|
}
|
|
2206
2398
|
const isConceal = after < before.shown;
|
|
2399
|
+
const change = changeStartIn(area, element.ownerDocument);
|
|
2207
2400
|
if (motion.kind === 'fade') {
|
|
2208
2401
|
if (!isConceal) {
|
|
2209
2402
|
safeAnimate(element, [{
|
|
@@ -2213,7 +2406,7 @@ export function reportLayoutEdge(handle, getElement, {
|
|
|
2213
2406
|
}], {
|
|
2214
2407
|
duration: motion.durationMs,
|
|
2215
2408
|
easing: motion.easing
|
|
2216
|
-
});
|
|
2409
|
+
}, change);
|
|
2217
2410
|
}
|
|
2218
2411
|
return;
|
|
2219
2412
|
}
|
|
@@ -2237,7 +2430,7 @@ export function reportLayoutEdge(handle, getElement, {
|
|
|
2237
2430
|
})), {
|
|
2238
2431
|
duration: progress.durationMs,
|
|
2239
2432
|
easing: 'linear'
|
|
2240
|
-
});
|
|
2433
|
+
}, change);
|
|
2241
2434
|
const reveal = {
|
|
2242
2435
|
animation,
|
|
2243
2436
|
shownAt: t => box - curve(t),
|
|
@@ -50,18 +50,18 @@ export interface AnimateOptions {
|
|
|
50
50
|
crossfadeAs?: 'entrance' | 'exit';
|
|
51
51
|
/**
|
|
52
52
|
* When the call's animations start. By default a call from rest starts
|
|
53
|
-
* when the browser commits it
|
|
54
|
-
*
|
|
53
|
+
* when the browser commits it. A call that continues motion on screen (a
|
|
54
|
+
* retarget) starts now, from the value on screen. A curve whose tail
|
|
55
|
+
* already shows as at rest counts as rest. Ignored with `at`.
|
|
55
56
|
* - `'commit'`: a call that continues motion also starts when the browser
|
|
56
|
-
* commits it
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* continues motion on screen (a retarget) starts now, as by default.
|
|
57
|
+
* commits it. The browser dates it, as it dates a call from rest.
|
|
58
|
+
* - `'presented'`: a call from rest leaves its element at rest. Its
|
|
59
|
+
* animations are created two frames later, once the frame with the
|
|
60
|
+
* element at rest has been presented. They then start at their commit,
|
|
61
|
+
* so a busy UI process delays the motion instead of skipping into it.
|
|
62
|
+
* Any other change to the animator before then creates the animations
|
|
63
|
+
* first, in call order. A call that continues motion on screen starts
|
|
64
|
+
* now, as by default.
|
|
65
65
|
*/
|
|
66
66
|
start?: 'commit' | 'presented';
|
|
67
67
|
/**
|
|
@@ -101,7 +101,7 @@ export interface MotionCurve {
|
|
|
101
101
|
readonly isTransition?: boolean;
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
* Options of `
|
|
104
|
+
* Options of `createMotionAnimator`.
|
|
105
105
|
*/
|
|
106
106
|
/** How `set` puts values in place. */
|
|
107
107
|
export interface SetOptions {
|
|
@@ -302,7 +302,7 @@ export declare function defaultIsCoarsePointer(): boolean;
|
|
|
302
302
|
*
|
|
303
303
|
* @example
|
|
304
304
|
* ```
|
|
305
|
-
* const animator =
|
|
305
|
+
* const animator = createMotionAnimator(sheet);
|
|
306
306
|
* // finger lifts at 1200 px/s heading for the detent at 0 (a component
|
|
307
307
|
* // passes the spring of its motion role):
|
|
308
308
|
* animator.animate({y: 0}, {spring: {response: 0.45, dampingRatio: 0.9}, velocity: {y: 1200}});
|
|
@@ -311,5 +311,5 @@ export declare function defaultIsCoarsePointer(): boolean;
|
|
|
311
311
|
* animator.stop(['y']);
|
|
312
312
|
* ```
|
|
313
313
|
*/
|
|
314
|
-
export declare function
|
|
314
|
+
export declare function createMotionAnimator(element: HTMLElement | null, options?: AnimatorOptions): Animator;
|
|
315
315
|
//# sourceMappingURL=animator.d.ts.map
|
|
@@ -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":"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"}
|