cursedbelt 5.87.0 → 5.89.0
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/looks.css +4 -4
- package/dist/react/Toast.js +2 -2
- package/dist/react/Toast.js.map +1 -1
- package/dist/react/VirtualCardGrid.d.ts +1 -1
- package/dist/react/VirtualCardGrid.js +1 -1
- package/dist/react/activity-bar/ActivityBar.d.ts +2 -2
- package/dist/react/activity-bar/ActivityBar.js +1 -1
- package/dist/react/activity-bar/activityBar.css +4 -4
- package/dist/react/analytics/AnalyticsPanel.d.ts +1 -1
- package/dist/react/analytics/AnalyticsPanel.js +1 -1
- package/dist/react/canvas-hud/CanvasMinimap.d.ts +1 -1
- package/dist/react/canvas-hud/HudControls.d.ts +2 -2
- package/dist/react/canvas-hud/alignment.d.ts +2 -2
- package/dist/react/canvas-hud/alignment.js +3 -3
- package/dist/react/canvas-hud/alignment.js.map +1 -1
- package/dist/react/canvas-hud/viewport.d.ts +1 -1
- package/dist/react/canvas-hud/viewport.js +1 -1
- package/dist/react/charts/BarChart.d.ts +2 -2
- package/dist/react/charts/HeatmapChart.d.ts +1 -1
- package/dist/react/charts/HeatmapChart.js +1 -1
- package/dist/react/charts/IntervalTimeline.d.ts +2 -2
- package/dist/react/charts/IntervalTimeline.d.ts.map +1 -1
- package/dist/react/charts/categorical.d.ts +11 -11
- package/dist/react/charts/categorical.js +9 -9
- package/dist/react/charts/categorical.js.map +1 -1
- package/dist/react/charts/ink.d.ts +5 -5
- package/dist/react/charts/ink.js +5 -5
- package/dist/react/charts/tokens.d.ts +1 -1
- package/dist/react/charts/tokens.js +1 -1
- package/dist/react/chat/Bubble.js +1 -1
- package/dist/react/chat/Bubble.js.map +1 -1
- package/dist/react/chat/DateMarker.js +1 -1
- package/dist/react/chat/MessageComposer.d.ts +1 -1
- package/dist/react/chat/types.d.ts +1 -1
- package/dist/react/chat/usePresence.d.ts +2 -2
- package/dist/react/chat/usePresence.js +1 -1
- package/dist/react/code-editor/markdownRules.js +1 -1
- package/dist/react/code-editor/markdownRules.js.map +1 -1
- package/dist/react/components/Badge.js +1 -1
- package/dist/react/components/Badge.js.map +1 -1
- package/dist/react/components/Button.js +5 -5
- package/dist/react/components/Button.js.map +1 -1
- package/dist/react/components/ChartTablePanel.js +1 -1
- package/dist/react/components/ChartTablePanel.js.map +1 -1
- package/dist/react/components/Checkbox.js +2 -2
- package/dist/react/components/Checkbox.js.map +1 -1
- package/dist/react/components/ChoiceGroup.d.ts +1 -1
- package/dist/react/components/ChoiceGroup.js +1 -1
- package/dist/react/components/CodeChip.d.ts +1 -1
- package/dist/react/components/CodeChip.js +1 -1
- package/dist/react/components/ColorSwatches.d.ts +10 -10
- package/dist/react/components/ColorSwatches.d.ts.map +1 -1
- package/dist/react/components/ColorSwatches.js +10 -10
- package/dist/react/components/ColorSwatches.js.map +1 -1
- package/dist/react/components/DataTable/DataTable.d.ts +2 -2
- package/dist/react/components/DataTable/DataTable.js +8 -8
- package/dist/react/components/DataTable/DataTable.js.map +1 -1
- package/dist/react/components/DataTable/SearchBox.js +2 -2
- package/dist/react/components/DataTable/SortHeader.js +1 -1
- package/dist/react/components/DataTable/SortHeader.js.map +1 -1
- package/dist/react/components/DataTable/TableFilterBuilder.d.ts +1 -1
- package/dist/react/components/DataTable/TableFilterBuilder.js +1 -1
- package/dist/react/components/DropdownMenu.js +1 -1
- package/dist/react/components/Field.d.ts +1 -1
- package/dist/react/components/FormPreviewLayout.d.ts +1 -1
- package/dist/react/components/FormPreviewLayout.js +1 -1
- package/dist/react/components/Heat.d.ts +6 -6
- package/dist/react/components/Heat.js +1 -1
- package/dist/react/components/IconPicker.d.ts +8 -8
- package/dist/react/components/IconPicker.d.ts.map +1 -1
- package/dist/react/components/IconPicker.js +6 -6
- package/dist/react/components/IconPicker.js.map +1 -1
- package/dist/react/components/InfoHint.d.ts +1 -1
- package/dist/react/components/InfoHint.js +1 -1
- package/dist/react/components/InheritBadge.js +2 -2
- package/dist/react/components/ListToolbar.d.ts +1 -1
- package/dist/react/components/ListToolbar.js +1 -1
- package/dist/react/components/Menu.d.ts +1 -1
- package/dist/react/components/Menu.d.ts.map +1 -1
- package/dist/react/components/Modal.js +5 -5
- package/dist/react/components/Modal.js.map +1 -1
- package/dist/react/components/Page.d.ts +1 -1
- package/dist/react/components/Page.js +1 -1
- package/dist/react/components/PaneSplit.d.ts +1 -1
- package/dist/react/components/PathText.d.ts +1 -1
- package/dist/react/components/PathText.js +1 -1
- package/dist/react/components/Popover.d.ts +1 -1
- package/dist/react/components/PropertyList.d.ts +1 -1
- package/dist/react/components/PropertyList.js +1 -1
- package/dist/react/components/PropertyPicker.d.ts +2 -2
- package/dist/react/components/PropertyPicker.js +2 -2
- package/dist/react/components/RatingField.js +1 -1
- package/dist/react/components/RatingField.js.map +1 -1
- package/dist/react/components/SaveIndicator.d.ts +2 -2
- package/dist/react/components/SaveIndicator.js +2 -2
- package/dist/react/components/SearchInput.d.ts +1 -1
- package/dist/react/components/SearchInput.d.ts.map +1 -1
- package/dist/react/components/SecretInput.d.ts +1 -1
- package/dist/react/components/Section.d.ts +1 -1
- package/dist/react/components/SectionNav.d.ts +3 -3
- package/dist/react/components/SectionNav.d.ts.map +1 -1
- package/dist/react/components/SectionNav.js +2 -2
- package/dist/react/components/Slider.js +1 -1
- package/dist/react/components/StarRating.js +1 -1
- package/dist/react/components/SwatchPicker.d.ts +6 -6
- package/dist/react/components/SwatchPicker.d.ts.map +1 -1
- package/dist/react/components/SwatchPicker.js +3 -3
- package/dist/react/components/SwatchPicker.js.map +1 -1
- package/dist/react/components/Tooltip.js +1 -1
- package/dist/react/components/TreeView.js +1 -1
- package/dist/react/components/TreeView.js.map +1 -1
- package/dist/react/components/TruncatedText.d.ts +1 -1
- package/dist/react/components/TruncatedText.js +1 -1
- package/dist/react/components/UnstyledButton.d.ts +2 -2
- package/dist/react/components/UnstyledButton.js +2 -2
- package/dist/react/components/auth/AuthCard.js +1 -1
- package/dist/react/components/auth/AuthCard.js.map +1 -1
- package/dist/react/components/buildFreshness.css +2 -2
- package/dist/react/components/calendar/MonthGrid.js +2 -2
- package/dist/react/components/calendar/MonthGrid.js.map +1 -1
- package/dist/react/components/calendar/colorUtils.js +2 -2
- package/dist/react/components/dialog.js +1 -1
- package/dist/react/components/fieldErrorText.d.ts +1 -1
- package/dist/react/components/fieldErrorText.js +1 -1
- package/dist/react/components/paneSplit.css +1 -1
- package/dist/react/components/sharing/ShareEditor.d.ts +5 -1
- package/dist/react/components/sharing/ShareEditor.d.ts.map +1 -1
- package/dist/react/components/sharing/ShareEditor.js +2 -2
- package/dist/react/components/sharing/ShareEditor.js.map +1 -1
- package/dist/react/deep-link/links.d.ts +1 -1
- package/dist/react/deep-link/resume.js +1 -1
- package/dist/react/diff-viewer/DiffViewer.css +1 -1
- package/dist/react/file-tree/FileTree.d.ts +9 -9
- package/dist/react/file-tree/FileTree.js +13 -13
- package/dist/react/file-tree/FileTree.js.map +1 -1
- package/dist/react/file-tree/FolderViewMenus.d.ts +3 -3
- package/dist/react/file-tree/FolderViewMenus.d.ts.map +1 -1
- package/dist/react/file-tree/FolderViewMenus.js +1 -1
- package/dist/react/file-tree/FolderViewMenus.js.map +1 -1
- package/dist/react/file-tree/fileTree.css +14 -14
- package/dist/react/file-tree/fileTreeSelection.d.ts +3 -3
- package/dist/react/file-tree/fileTreeSelection.js +4 -4
- package/dist/react/file-tree/folderView.d.ts +3 -3
- package/dist/react/file-tree/folderView.d.ts.map +1 -1
- package/dist/react/file-tree/folderView.js +3 -3
- package/dist/react/file-tree/folderView.js.map +1 -1
- package/dist/react/filter-rail/FilterRail.d.ts +3 -3
- package/dist/react/filter-rail/FilterRail.d.ts.map +1 -1
- package/dist/react/filter-rail/FilterRail.js +1 -1
- package/dist/react/filter-rail/RailSection.d.ts +1 -1
- package/dist/react/filter-rail/railResize.d.ts +1 -1
- package/dist/react/filter-rail/railResize.js +1 -1
- package/dist/react/folder-tree/FolderBreadcrumb.d.ts +1 -1
- package/dist/react/folder-tree/NewFolderControl.js +1 -1
- package/dist/react/hooks/keyboardDnd.d.ts +1 -1
- package/dist/react/hooks/keyboardDnd.d.ts.map +1 -1
- package/dist/react/hooks/keyboardDnd.js +2 -2
- package/dist/react/hooks/keyboardDnd.js.map +1 -1
- package/dist/react/hooks/pointerDnd.d.ts +2 -2
- package/dist/react/hooks/pointerDnd.d.ts.map +1 -1
- package/dist/react/hooks/pointerDnd.js +1 -1
- package/dist/react/hooks/usePointerDrag.d.ts +2 -2
- package/dist/react/icons.d.ts +16 -9
- package/dist/react/icons.d.ts.map +1 -1
- package/dist/react/icons.js +17 -10
- package/dist/react/icons.js.map +1 -1
- package/dist/react/layoutEngine/LayoutRenderer.js +1 -1
- package/dist/react/layoutEngine/LayoutRenderer.js.map +1 -1
- package/dist/react/lib/cn.d.ts +3 -3
- package/dist/react/lib/cn.js +4 -4
- package/dist/react/lib/field.d.ts +1 -1
- package/dist/react/lib/floatingContainer.d.ts +1 -1
- package/dist/react/lib/floatingContainer.js +1 -1
- package/dist/react/lib/floatingStyles.d.ts +1 -1
- package/dist/react/lib/floatingStyles.js +2 -2
- package/dist/react/lib/floatingStyles.js.map +1 -1
- package/dist/react/lib/hoverIntent.d.ts +6 -6
- package/dist/react/lib/hoverIntent.js +6 -6
- package/dist/react/lib/infoHint.d.ts +1 -1
- package/dist/react/lib/infoHint.js +1 -1
- package/dist/react/lib/overlayMotion.d.ts +1 -1
- package/dist/react/lib/overlayMotion.d.ts.map +1 -1
- package/dist/react/lib/overlayMotion.js +1 -1
- package/dist/react/lib/overlayMotion.js.map +1 -1
- package/dist/react/lib/press.d.ts +1 -1
- package/dist/react/lib/press.js +1 -1
- package/dist/react/lib/selectField.d.ts +2 -2
- package/dist/react/lib/selectField.d.ts.map +1 -1
- package/dist/react/lib/selectField.js +2 -2
- package/dist/react/lib/selectField.js.map +1 -1
- package/dist/react/look/AppearanceMenu.d.ts +1 -1
- package/dist/react/look/AppearanceMenu.js +1 -1
- package/dist/react/look/LookPicker.d.ts +3 -3
- package/dist/react/look/LookPicker.js +3 -3
- package/dist/react/look/lookStore.d.ts +1 -1
- package/dist/react/look/lookStore.js +4 -4
- package/dist/react/look/lookStore.js.map +1 -1
- package/dist/react/master-lock/MasterLockDialog.js +2 -2
- package/dist/react/master-lock/MasterLockDialog.js.map +1 -1
- package/dist/react/master-lock/MasterLockProvider.d.ts +1 -1
- package/dist/react/media/DenseGalleryShell.d.ts +3 -3
- package/dist/react/media/FocusViewer.js +3 -3
- package/dist/react/media/FocusViewer.js.map +1 -1
- package/dist/react/media/FrameGrabber.js +3 -3
- package/dist/react/media/FrameGrabber.js.map +1 -1
- package/dist/react/media/HoverScrubVideoThumb.d.ts +1 -1
- package/dist/react/media/HoverScrubVideoThumb.js +1 -1
- package/dist/react/media/HoverScrubVideoThumb.js.map +1 -1
- package/dist/react/media/MediaCell.d.ts +1 -1
- package/dist/react/media/MediaCell.js +1 -1
- package/dist/react/media/MediaResize.d.ts +1 -1
- package/dist/react/media/MediaThumb.d.ts +1 -1
- package/dist/react/media/PictureControls.d.ts +1 -1
- package/dist/react/media/PictureControls.js +2 -2
- package/dist/react/media/PictureControls.js.map +1 -1
- package/dist/react/media/PictureEditor.js +2 -2
- package/dist/react/media/PictureEditor.js.map +1 -1
- package/dist/react/media/PlayerStrip.d.ts +4 -4
- package/dist/react/media/PlayerStrip.d.ts.map +1 -1
- package/dist/react/media/PlayerStrip.js +2 -2
- package/dist/react/media/VideoPlayer.d.ts +3 -3
- package/dist/react/media/VideoPlayer.js +5 -5
- package/dist/react/media/VideoTurner.js +1 -1
- package/dist/react/media/VideoTurner.js.map +1 -1
- package/dist/react/media/VirtualizedRows.d.ts +1 -1
- package/dist/react/media/denseGallery.css +7 -7
- package/dist/react/media/focusViewer.css +2 -2
- package/dist/react/media/gifEncode.d.ts +4 -4
- package/dist/react/media/gifEncode.d.ts.map +1 -1
- package/dist/react/media/gifEncode.js +8 -8
- package/dist/react/media/gifEncode.js.map +1 -1
- package/dist/react/media/gifRecord.js +1 -1
- package/dist/react/media/gifRecord.js.map +1 -1
- package/dist/react/media/hlsSource.js +2 -2
- package/dist/react/media/hlsSource.js.map +1 -1
- package/dist/react/media/mediaResize.css +3 -3
- package/dist/react/media/pictureEdit.d.ts +1 -1
- package/dist/react/media/pictureEdit.js +4 -4
- package/dist/react/media/pictureEdit.js.map +1 -1
- package/dist/react/media/pictureEditor.css +6 -6
- package/dist/react/media/playerSpaceKey.js +3 -3
- package/dist/react/media/playerStrip.css +11 -11
- package/dist/react/media/posterFraming.d.ts +2 -2
- package/dist/react/media/posterFraming.d.ts.map +1 -1
- package/dist/react/media/posterFraming.js +4 -4
- package/dist/react/media/posterFraming.js.map +1 -1
- package/dist/react/media/sourceFault.d.ts +2 -2
- package/dist/react/media/sourceFault.js +1 -1
- package/dist/react/media/stageResize.d.ts +1 -1
- package/dist/react/media/stageResize.js +1 -1
- package/dist/react/media/surfaceGesture.d.ts +1 -1
- package/dist/react/media/surfaceGesture.js +1 -1
- package/dist/react/media/types.d.ts +1 -1
- package/dist/react/media/videoChapterEditor.css +1 -1
- package/dist/react/media/videoChapters.d.ts +1 -1
- package/dist/react/media/videoChapters.js +1 -1
- package/dist/react/media/videoCutEditor.css +2 -2
- package/dist/react/media/videoEnhance.d.ts +2 -2
- package/dist/react/media/videoEnhance.js +2 -2
- package/dist/react/media/videoPoster.d.ts +3 -3
- package/dist/react/media/videoPoster.d.ts.map +1 -1
- package/dist/react/media/videoPoster.js +4 -4
- package/dist/react/media/videoPoster.js.map +1 -1
- package/dist/react/media/videoRegion.d.ts +8 -8
- package/dist/react/media/videoRegion.js +8 -8
- package/dist/react/media-gallery/MediaGallery.d.ts +2 -2
- package/dist/react/media-gallery/MediaGallery.d.ts.map +1 -1
- package/dist/react/media-gallery/MediaGallery.js +17 -17
- package/dist/react/media-gallery/MediaGallery.js.map +1 -1
- package/dist/react/media-gallery/MediaMetaEditor.js +1 -1
- package/dist/react/media-gallery/galleryDeepLink.d.ts +1 -1
- package/dist/react/media-gallery/galleryDeepLink.js +2 -2
- package/dist/react/media-gallery/galleryItemMedia.d.ts +1 -1
- package/dist/react/media-gallery/galleryItemMedia.js +1 -1
- package/dist/react/media-gallery/galleryReturn.d.ts +1 -1
- package/dist/react/media-gallery/galleryReturn.js +2 -2
- package/dist/react/media-gallery/mediaGallery.css +10 -10
- package/dist/react/media-gallery/mediaGalleryModel.d.ts +1 -1
- package/dist/react/media-gallery/mediaGalleryModel.js +1 -1
- package/dist/react/media-gallery/playbackPreferences.d.ts +3 -3
- package/dist/react/media-gallery/playbackPreferences.js +2 -2
- package/dist/react/media-gallery/playbackRun.d.ts +1 -1
- package/dist/react/media-gallery/playbackRun.js +1 -1
- package/dist/react/media-gallery/preferenceSync.js +1 -1
- package/dist/react/namespace/NamespaceTargetCapsule.d.ts +1 -1
- package/dist/react/nav/BreadcrumbTrail.d.ts +1 -1
- package/dist/react/nav/BreadcrumbTrail.js +1 -1
- package/dist/react/nav/Breadcrumbs.d.ts +1 -1
- package/dist/react/nav/Breadcrumbs.js +1 -1
- package/dist/react/nav/HeaderSearch.d.ts +3 -3
- package/dist/react/nav/HeaderSearch.d.ts.map +1 -1
- package/dist/react/nav/HeaderSearch.js +2 -2
- package/dist/react/nav/PlaceBar.d.ts +1 -1
- package/dist/react/nav/PlaceBar.js +2 -2
- package/dist/react/nav/SearchResults.d.ts +2 -2
- package/dist/react/nav/SearchResults.d.ts.map +1 -1
- package/dist/react/nav/SearchResults.js +1 -1
- package/dist/react/nav/TopBar.js +1 -1
- package/dist/react/nav/breadcrumbStore.js +1 -1
- package/dist/react/nav/navShared.d.ts +1 -1
- package/dist/react/palette/CommandPalette.js +1 -1
- package/dist/react/palette/CommandPalette.js.map +1 -1
- package/dist/react/pdf-viewer/PdfPage.js +1 -1
- package/dist/react/pdf-viewer/PdfPage.js.map +1 -1
- package/dist/react/spreadsheet/SpreadsheetGrid.d.ts +1 -1
- package/dist/react/spreadsheet/useGlideTheme.js +2 -2
- package/dist/react/workbook-viewer/WorkbookViewer.js +1 -1
- package/dist/react/workbook-viewer/WorkbookViewer.js.map +1 -1
- package/dist/styles-areas/notifications.css +1 -1
- package/dist/styles-static.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/designAudit.d.ts +2 -2
- package/dist/testing/designAudit.js +3 -3
- package/dist/testing/designAudit.js.map +1 -1
- package/dist/testing/phoneRules.d.ts +4 -4
- package/dist/testing/phoneRules.js +4 -4
- package/dist/testing/phoneRules.js.map +1 -1
- package/dist/theme.css +10 -10
- package/package.json +1 -1
- package/scripts/attributesForwarded.ts +1 -1
- package/scripts/checkAreaStyles.ts +2 -2
- package/scripts/cssRules.ts +2 -2
- package/scripts/demoCoverage.ts +1 -1
- package/scripts/demoServer.ts +1 -1
- package/scripts/generateStaticStyles.ts +1 -1
- package/scripts/guardrailsEnforce.spec.ts +14 -14
- package/scripts/guardrailsEnforce.ts +25 -25
- package/scripts/paths.ts +1 -1
- package/scripts/styleAreas.ts +2 -2
- package/scripts/testTmpRoot.ts +1 -1
- package/src/buildIsStaged.spec.ts +1 -1
- package/src/iframesMakeNoRealRequest.spec.ts +1 -1
- package/src/looks.css +4 -4
- package/src/looks.spec.ts +3 -3
- package/src/namedSubpathsResolve.spec.ts +2 -2
- package/src/publishShape.spec.ts +1 -1
- package/src/react/Toast.spec.tsx +1 -1
- package/src/react/Toast.tsx +2 -2
- package/src/react/VirtualCardGrid.spec.tsx +1 -1
- package/src/react/VirtualCardGrid.tsx +3 -3
- package/src/react/activity-bar/ActivityBar.spec.tsx +2 -2
- package/src/react/activity-bar/ActivityBar.tsx +4 -4
- package/src/react/activity-bar/activityBar.css +4 -4
- package/src/react/analytics/AnalyticsPanel.tsx +1 -1
- package/src/react/canvas-hud/CanvasMinimap.tsx +1 -1
- package/src/react/canvas-hud/HudControls.spec.tsx +1 -1
- package/src/react/canvas-hud/HudControls.tsx +2 -2
- package/src/react/canvas-hud/alignment.spec.tsx +4 -4
- package/src/react/canvas-hud/alignment.ts +3 -3
- package/src/react/canvas-hud/viewport.spec.ts +1 -1
- package/src/react/canvas-hud/viewport.ts +1 -1
- package/src/react/charts/BarChart.tsx +2 -2
- package/src/react/charts/HeatmapChart.spec.ts +1 -1
- package/src/react/charts/HeatmapChart.tsx +1 -1
- package/src/react/charts/IntervalTimeline.color.spec.tsx +6 -6
- package/src/react/charts/IntervalTimeline.tsx +2 -2
- package/src/react/charts/Treemap.tsx +1 -1
- package/src/react/charts/accentCollision.spec.ts +1 -1
- package/src/react/charts/categorical.spec.ts +3 -3
- package/src/react/charts/categorical.ts +12 -12
- package/src/react/charts/ink.spec.ts +1 -1
- package/src/react/charts/ink.ts +5 -5
- package/src/react/charts/tokens.ts +1 -1
- package/src/react/chat/Bubble.tsx +1 -1
- package/src/react/chat/DateMarker.tsx +2 -2
- package/src/react/chat/MessageComposer.tsx +1 -1
- package/src/react/chat/PresenceRoster.tsx +2 -2
- package/src/react/chat/types.ts +1 -1
- package/src/react/chat/usePresence.ts +2 -2
- package/src/react/code-editor/markdownRules.ts +1 -1
- package/src/react/components/AvatarStack.spec.tsx +2 -2
- package/src/react/components/AvatarStack.tsx +2 -2
- package/src/react/components/Badge.capsule.spec.ts +6 -6
- package/src/react/components/Badge.tsx +1 -1
- package/src/react/components/Button.spec.tsx +1 -1
- package/src/react/components/Button.tsx +5 -5
- package/src/react/components/ChartTablePanel.tsx +1 -1
- package/src/react/components/Checkbox.spec.tsx +2 -2
- package/src/react/components/Checkbox.tsx +2 -2
- package/src/react/components/ChoiceGroup.tsx +1 -1
- package/src/react/components/CodeChip.spec.tsx +1 -1
- package/src/react/components/CodeChip.tsx +1 -1
- package/src/react/components/ColorSwatches.spec.tsx +9 -9
- package/src/react/components/ColorSwatches.tsx +16 -16
- package/src/react/components/CommentThread.tsx +1 -1
- package/src/react/components/ConnectionHealer.tsx +1 -1
- package/src/react/components/DataTable/DataTable.spec.tsx +2 -2
- package/src/react/components/DataTable/DataTable.tsx +10 -10
- package/src/react/components/DataTable/SearchBox.tsx +2 -2
- package/src/react/components/DataTable/SortHeader.tsx +1 -1
- package/src/react/components/DataTable/TableFilterBuilder.tsx +1 -1
- package/src/react/components/DataTable/selection.spec.tsx +1 -1
- package/src/react/components/DataTable/virtualize.spec.tsx +1 -1
- package/src/react/components/DropdownMenu.tsx +1 -1
- package/src/react/components/Field.tsx +1 -1
- package/src/react/components/FormPreviewLayout.tsx +1 -1
- package/src/react/components/Heat.spec.tsx +1 -1
- package/src/react/components/Heat.tsx +6 -6
- package/src/react/components/IconPicker.spec.tsx +1 -1
- package/src/react/components/IconPicker.tsx +9 -9
- package/src/react/components/InfoHint.spec.tsx +2 -2
- package/src/react/components/InfoHint.tsx +1 -1
- package/src/react/components/InheritBadge.tsx +2 -2
- package/src/react/components/IsolatedFrame.tsx +1 -1
- package/src/react/components/ListToolbar.tsx +1 -1
- package/src/react/components/Menu.tsx +1 -1
- package/src/react/components/Modal.tsx +5 -5
- package/src/react/components/Page.spec.tsx +1 -1
- package/src/react/components/Page.tsx +2 -2
- package/src/react/components/PaneSplit.tsx +1 -1
- package/src/react/components/PathText.tsx +1 -1
- package/src/react/components/PointerDrag.spec.tsx +1 -1
- package/src/react/components/Popover.spec.tsx +2 -2
- package/src/react/components/Popover.tsx +1 -1
- package/src/react/components/PropertyList.tsx +1 -1
- package/src/react/components/PropertyPicker.tsx +2 -2
- package/src/react/components/RatingField.tsx +1 -1
- package/src/react/components/SaveIndicator.tsx +2 -2
- package/src/react/components/SearchInput.tsx +1 -1
- package/src/react/components/SecretInput.tsx +1 -1
- package/src/react/components/Section.tsx +1 -1
- package/src/react/components/SectionNav.spec.tsx +3 -3
- package/src/react/components/SectionNav.tsx +3 -3
- package/src/react/components/SelectField.spec.tsx +1 -1
- package/src/react/components/Slider.tsx +1 -1
- package/src/react/components/StarRating.spec.tsx +4 -4
- package/src/react/components/StarRating.tsx +3 -3
- package/src/react/components/SwatchPicker.spec.tsx +4 -4
- package/src/react/components/SwatchPicker.tsx +9 -9
- package/src/react/components/Tooltip.spec.tsx +3 -3
- package/src/react/components/Tooltip.tsx +1 -1
- package/src/react/components/TreeView.tsx +1 -1
- package/src/react/components/TruncatedText.tsx +1 -1
- package/src/react/components/UnstyledButton.tsx +2 -2
- package/src/react/components/auth/AuthCard.tsx +1 -1
- package/src/react/components/buildFreshness.css +2 -2
- package/src/react/components/calendar/EventChip.spec.tsx +2 -2
- package/src/react/components/calendar/MonthGrid.tsx +2 -2
- package/src/react/components/calendar/colorUtils.ts +2 -2
- package/src/react/components/dialog.tsx +1 -1
- package/src/react/components/fieldErrorText.tsx +1 -1
- package/src/react/components/paneSplit.css +1 -1
- package/src/react/components/sharing/ShareEditor.spec.tsx +15 -0
- package/src/react/components/sharing/ShareEditor.tsx +14 -3
- package/src/react/deep-link/links.spec.ts +1 -1
- package/src/react/deep-link/links.ts +1 -1
- package/src/react/deep-link/resume.spec.tsx +1 -1
- package/src/react/deep-link/resume.ts +1 -1
- package/src/react/diff-viewer/DiffViewer.css +1 -1
- package/src/react/file-tree/FileTree.spec.tsx +13 -13
- package/src/react/file-tree/FileTree.tsx +22 -22
- package/src/react/file-tree/FolderViewMenus.tsx +3 -3
- package/src/react/file-tree/FolderViewPanels.tsx +1 -1
- package/src/react/file-tree/fileTree.css +14 -14
- package/src/react/file-tree/fileTreeGeometry.spec.ts +5 -5
- package/src/react/file-tree/fileTreeSelection.ts +4 -4
- package/src/react/file-tree/folderView.spec.ts +1 -1
- package/src/react/file-tree/folderView.ts +3 -3
- package/src/react/filter-rail/FilterRail.spec.tsx +1 -1
- package/src/react/filter-rail/FilterRail.tsx +4 -4
- package/src/react/filter-rail/RailSection.spec.tsx +2 -2
- package/src/react/filter-rail/RailSection.tsx +1 -1
- package/src/react/filter-rail/railResize.tsx +1 -1
- package/src/react/folder-tree/FolderBreadcrumb.tsx +1 -1
- package/src/react/folder-tree/NewFolderControl.tsx +1 -1
- package/src/react/hooks/keyboardDnd.spec.tsx +1 -1
- package/src/react/hooks/keyboardDnd.tsx +2 -2
- package/src/react/hooks/pointerDnd.spec.ts +3 -3
- package/src/react/hooks/pointerDnd.ts +2 -2
- package/src/react/hooks/useOutsidePress.spec.tsx +1 -1
- package/src/react/hooks/usePointerDrag.ts +2 -2
- package/src/react/icons.tsx +18 -11
- package/src/react/keep-awake/keepAwakeEngine.spec.ts +1 -1
- package/src/react/layoutEngine/LayoutConfigDialog.tsx +1 -1
- package/src/react/layoutEngine/LayoutRenderer.tsx +1 -1
- package/src/react/layoutEngine/gridClasses.spec.ts +3 -3
- package/src/react/lib/cn.spec.ts +1 -1
- package/src/react/lib/cn.ts +4 -4
- package/src/react/lib/directUpload.spec.ts +1 -1
- package/src/react/lib/field.ts +1 -1
- package/src/react/lib/floatingContainer.ts +1 -1
- package/src/react/lib/floatingStyles.spec.ts +1 -1
- package/src/react/lib/floatingStyles.ts +2 -2
- package/src/react/lib/hoverIntent.ts +6 -6
- package/src/react/lib/infoHint.ts +1 -1
- package/src/react/lib/overlayMotion.ts +1 -1
- package/src/react/lib/press.ts +1 -1
- package/src/react/lib/selectField.ts +2 -2
- package/src/react/lib/zodResolver.ts +1 -1
- package/src/react/look/AppearanceMenu.tsx +1 -1
- package/src/react/look/LookPicker.tsx +3 -3
- package/src/react/look/lookStore.ts +4 -4
- package/src/react/markdown/MarkdownDoc.spec.tsx +1 -1
- package/src/react/master-detail/MasterDetail.tsx +1 -1
- package/src/react/master-lock/MasterLockDialog.tsx +2 -2
- package/src/react/master-lock/MasterLockProvider.spec.tsx +1 -1
- package/src/react/master-lock/MasterLockProvider.tsx +1 -1
- package/src/react/media/DenseGalleryShell.tsx +3 -3
- package/src/react/media/FocusViewer.tsx +3 -3
- package/src/react/media/FrameGrabber.spec.tsx +2 -2
- package/src/react/media/FrameGrabber.tsx +3 -3
- package/src/react/media/HoverScrubVideoThumb.tsx +3 -3
- package/src/react/media/MediaCell.tsx +1 -1
- package/src/react/media/MediaResize.spec.tsx +4 -4
- package/src/react/media/MediaResize.tsx +1 -1
- package/src/react/media/MediaThumb.tsx +1 -1
- package/src/react/media/PictureControls.tsx +2 -2
- package/src/react/media/PictureEditor.tsx +2 -2
- package/src/react/media/PlayerStrip.tsx +9 -9
- package/src/react/media/VideoChapterEditor.tsx +1 -1
- package/src/react/media/VideoCutEditor.spec.tsx +1 -1
- package/src/react/media/VideoCutEditor.tsx +1 -1
- package/src/react/media/VideoPlayer.spec.tsx +7 -7
- package/src/react/media/VideoPlayer.tsx +6 -6
- package/src/react/media/VideoTurner.tsx +1 -1
- package/src/react/media/VirtualizedRows.tsx +1 -1
- package/src/react/media/denseGallery.css +7 -7
- package/src/react/media/focusViewer.css +2 -2
- package/src/react/media/focusViewer.css.spec.ts +1 -1
- package/src/react/media/gifEncode.spec.ts +2 -2
- package/src/react/media/gifEncode.ts +9 -9
- package/src/react/media/gifRecord.ts +1 -1
- package/src/react/media/hlsSource.recovery.spec.ts +2 -2
- package/src/react/media/hlsSource.spec.ts +1 -1
- package/src/react/media/hlsSource.ts +2 -2
- package/src/react/media/mediaResize.css +3 -3
- package/src/react/media/pictureEdit.spec.ts +5 -5
- package/src/react/media/pictureEdit.ts +4 -4
- package/src/react/media/pictureEditor.css +6 -6
- package/src/react/media/playerSpaceKey.ts +3 -3
- package/src/react/media/playerStrip.css +11 -11
- package/src/react/media/playerStrip.spec.tsx +17 -13
- package/src/react/media/posterFraming.spec.ts +4 -4
- package/src/react/media/posterFraming.ts +5 -5
- package/src/react/media/sourceFault.tsx +2 -2
- package/src/react/media/stageResize.ts +1 -1
- package/src/react/media/surfaceGesture.ts +1 -1
- package/src/react/media/types.ts +1 -1
- package/src/react/media/videoChapterEditor.css +1 -1
- package/src/react/media/videoChapters.spec.ts +1 -1
- package/src/react/media/videoChapters.ts +1 -1
- package/src/react/media/videoCutEditor.css +2 -2
- package/src/react/media/videoEnhance.spec.ts +1 -1
- package/src/react/media/videoEnhance.ts +2 -2
- package/src/react/media/videoPoster.spec.ts +3 -3
- package/src/react/media/videoPoster.ts +5 -5
- package/src/react/media/videoRegion.spec.ts +7 -7
- package/src/react/media/videoRegion.ts +8 -8
- package/src/react/media-gallery/GalleryTable.tsx +1 -1
- package/src/react/media-gallery/MediaGallery.spec.tsx +11 -11
- package/src/react/media-gallery/MediaGallery.tsx +23 -23
- package/src/react/media-gallery/MediaMetaEditor.tsx +1 -1
- package/src/react/media-gallery/galleryDeepLink.ts +2 -2
- package/src/react/media-gallery/galleryItemMedia.spec.tsx +1 -1
- package/src/react/media-gallery/galleryItemMedia.tsx +1 -1
- package/src/react/media-gallery/galleryReturn.ts +2 -2
- package/src/react/media-gallery/mediaGallery.css +10 -10
- package/src/react/media-gallery/mediaGalleryModel.ts +1 -1
- package/src/react/media-gallery/playbackPreferences.ts +3 -3
- package/src/react/media-gallery/playbackRun.spec.ts +1 -1
- package/src/react/media-gallery/playbackRun.ts +1 -1
- package/src/react/media-gallery/preferenceSync.ts +1 -1
- package/src/react/namespace/NamespaceTargetCapsule.tsx +1 -1
- package/src/react/nav/BreadcrumbTrail.tsx +1 -1
- package/src/react/nav/Breadcrumbs.tsx +1 -1
- package/src/react/nav/HeaderSearch.tsx +3 -3
- package/src/react/nav/PlaceBar.spec.tsx +4 -4
- package/src/react/nav/PlaceBar.tsx +4 -4
- package/src/react/nav/SearchResults.tsx +2 -2
- package/src/react/nav/TopBar.spec.tsx +1 -1
- package/src/react/nav/TopBar.tsx +1 -1
- package/src/react/nav/breadcrumbStore.ts +1 -1
- package/src/react/nav/breadcrumbSystem.spec.tsx +1 -1
- package/src/react/nav/navShared.tsx +1 -1
- package/src/react/palette/CommandPalette.spec.tsx +1 -1
- package/src/react/palette/CommandPalette.tsx +1 -1
- package/src/react/pdf-viewer/PdfPage.tsx +1 -1
- package/src/react/spreadsheet/SpreadsheetGrid.tsx +1 -1
- package/src/react/spreadsheet/useGlideTheme.ts +2 -2
- package/src/react/workbook-viewer/WorkbookViewer.tsx +1 -1
- package/src/shippedFilesAreTracked.spec.ts +2 -2
- package/src/styles-areas/notifications.css +1 -1
- package/src/styles-static.css +1 -1
- package/src/styles.css +1 -1
- package/src/stylesAreas.spec.ts +1 -1
- package/src/stylesStaticMatches.spec.ts +2 -2
- package/src/stylesUtilitiesMatches.spec.ts +4 -4
- package/src/testing/designAudit.ts +4 -4
- package/src/testing/phoneRules.spec.ts +1 -1
- package/src/testing/phoneRules.ts +7 -7
- package/src/theme.css +10 -10
- package/src/themeColorsResolve.spec.ts +5 -5
- package/src/themeDarkScopeAliases.spec.ts +1 -1
- package/src/verifyGraph.spec.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videoPoster.js","sourceRoot":"","sources":["../../../src/react/media/videoPoster.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sFAAsF;AACtF,EAAE;AACF,uFAAuF;AACvF,0FAA0F;AAC1F,sFAAsF;AACtF,8CAA8C;AAC9C,EAAE;AACF,2FAA2F;AAC3F,2FAA2F;AAC3F,sFAAsF;AACtF,4FAA4F;AAC5F,mBAAmB;AACnB,EAAE;AACF,2FAA2F;AAC3F,oFAAoF;AACpF,sFAAsF;AACtF,0EAA0E;AAc1E;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,eAAuB,EAAE,KAAK,GAAG,CAAC;IACrE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,eAAe,IAAI,CAAC;QAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1E,IAAI,eAAe,GAAG,CAAC;QAAE,OAAO,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtD,MAAM,KAAK,GAAG,eAAe,GAAG,GAAG,CAAC;IACpC,MAAM,IAAI,GAAG,eAAe,GAAG,GAAG,CAAC;IACnC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IACzE,IAAI,MAAM,KAAK,CAA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AAC,CAAC;gBACnC,MAAM,GAAG,GAAG,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpC,SAAS,CAAC,IAAI,CACZ,KAAK,IAAI,GAAG;oBACV,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;oBACpE,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAC9D,CAAC;YACJ,CAAC;YACD,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,IAAI,QAAQ,CAAC;QACzD,CAAC;QAED,MAAM,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC9B,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC1C,IAAI,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC;QACzB,MAAM,IAAI,GAAG,MAAM,IAAI,OAAO,CAAc,CAAC,OAAO,EAAE,EAAE,CACtD,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CACtC,CAAC;QACF,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAC5D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;YAAS,CAAC;QACT,IAAI,KAAK;YAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ── 🔴 The one idea that makes the whole feature small ─────────────────────────────────
|
|
11
11
|
* A drawn selection and a zoom level look like two features and are ONE: **zooming is just
|
|
12
|
-
* narrowing the region around its own
|
|
12
|
+
* narrowing the region around its own center.** So there is a single piece of state — the
|
|
13
13
|
* region being looked at — and `+`/`−` shrink or widen it while a marquee replaces it
|
|
14
14
|
* outright. Every consequence the owner asked for falls out of that instead of needing its
|
|
15
15
|
* own code path: zoom works in normal view (the region starts as the whole frame), it works
|
|
@@ -43,9 +43,9 @@ export declare const isFullRegion: (region: Region) => boolean;
|
|
|
43
43
|
/** Push a region back inside the frame without changing its size — a pan that cannot escape. */
|
|
44
44
|
export declare function clampRegion(region: Region): Region;
|
|
45
45
|
/**
|
|
46
|
-
* Zoom about a region's own
|
|
46
|
+
* Zoom about a region's own center — `factor > 1` moves closer.
|
|
47
47
|
*
|
|
48
|
-
* 🔴 About the
|
|
48
|
+
* 🔴 About the CENTER, and it must stay that way: the thing the owner is looking at is the
|
|
49
49
|
* thing in the middle, so any other anchor makes `+` slide the subject out of view and the
|
|
50
50
|
* control feel broken. The clamp then keeps the result inside the frame, which is why zooming
|
|
51
51
|
* out near an edge glides back toward the middle rather than exposing blank space.
|
|
@@ -70,7 +70,7 @@ export declare const MAX_ZOOM = 20;
|
|
|
70
70
|
* Set the magnification directly — what the zoom SLIDER moves.
|
|
71
71
|
*
|
|
72
72
|
* Expressed in terms of {@link zoomRegion} rather than recomputing the rectangle, so the
|
|
73
|
-
* slider and the `+`/`−` buttons cannot drift apart: both go through the same
|
|
73
|
+
* slider and the `+`/`−` buttons cannot drift apart: both go through the same center-holding,
|
|
74
74
|
* aspect-preserving, clamped path.
|
|
75
75
|
*/
|
|
76
76
|
export declare function regionAtZoom(region: Region, zoom: number): Region;
|
|
@@ -81,7 +81,7 @@ export declare function regionAtZoom(region: Region, zoom: number): Region;
|
|
|
81
81
|
* 🔴 This exists because the shape had been left to CSS, and CSS could not be trusted with
|
|
82
82
|
* it. The stage carried an inline `aspect-ratio` from the selected region PLUS a
|
|
83
83
|
* `min-block-size` floor and a `max-block-size: 72vh` ceiling; whenever a selection's natural
|
|
84
|
-
* height fell outside that range the box silently stopped
|
|
84
|
+
* height fell outside that range the box silently stopped honoring the ratio, so the element
|
|
85
85
|
* was no longer the shape of the region it was displaying. Every marquee and pan coordinate
|
|
86
86
|
* is a fraction of that box, so all of them were then wrong — which is what the owner saw as
|
|
87
87
|
* *"select an area doesn't make the image zoom to the area I drag"*. Measuring the available
|
|
@@ -132,7 +132,7 @@ export declare const panRegion: (region: Region, dxFraction: number, dyFraction:
|
|
|
132
132
|
* box of whatever shape the layout gave it and the element used `object-fit: contain`, so a
|
|
133
133
|
* portrait clip in a landscape stage was letterboxed — the picture sat in the middle of the
|
|
134
134
|
* element with bars either side. Every coordinate then disagreed with reality by the width of
|
|
135
|
-
* those bars: a marquee drawn over the
|
|
135
|
+
* those bars: a marquee drawn over the center of the PICTURE was recorded as a fraction of
|
|
136
136
|
* the STAGE, so the region landed off to one side, and panning inherited the same error.
|
|
137
137
|
*
|
|
138
138
|
* Rather than correcting for the letterbox everywhere (three call sites, each needing the
|
|
@@ -174,7 +174,7 @@ export declare function regionPixels(region: Region, source: {
|
|
|
174
174
|
sh: number;
|
|
175
175
|
} | null;
|
|
176
176
|
/**
|
|
177
|
-
* The region actually SHOWN for a zoomed-in `region`: grown, about its own
|
|
177
|
+
* The region actually SHOWN for a zoomed-in `region`: grown, about its own center, to the
|
|
178
178
|
* viewport's shape wherever the frame has picture to grow into.
|
|
179
179
|
*
|
|
180
180
|
* The owner, 2026-10-01: *"black bars took up about 4 inches on each side … Even after zooming
|
|
@@ -186,7 +186,7 @@ export declare function regionPixels(region: Region, source: {
|
|
|
186
186
|
* and a marquee drawn tall made it worse.
|
|
187
187
|
*
|
|
188
188
|
* 🔴 It only ever GROWS the region, and only up to the whole frame on each axis, so what was
|
|
189
|
-
* asked to be seen is always all on screen,
|
|
189
|
+
* asked to be seen is always all on screen, centered where it was. Everything that reads the
|
|
190
190
|
* picture — the layout, the frame size, a marquee drawn on it, a pan, a snapshot — reads THIS,
|
|
191
191
|
* so what is on screen and what a coordinate means stay one rectangle.
|
|
192
192
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ── 🔴 The one idea that makes the whole feature small ─────────────────────────────────
|
|
11
11
|
* A drawn selection and a zoom level look like two features and are ONE: **zooming is just
|
|
12
|
-
* narrowing the region around its own
|
|
12
|
+
* narrowing the region around its own center.** So there is a single piece of state — the
|
|
13
13
|
* region being looked at — and `+`/`−` shrink or widen it while a marquee replaces it
|
|
14
14
|
* outright. Every consequence the owner asked for falls out of that instead of needing its
|
|
15
15
|
* own code path: zoom works in normal view (the region starts as the whole frame), it works
|
|
@@ -45,9 +45,9 @@ export function clampRegion(region) {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* Zoom about a region's own
|
|
48
|
+
* Zoom about a region's own center — `factor > 1` moves closer.
|
|
49
49
|
*
|
|
50
|
-
* 🔴 About the
|
|
50
|
+
* 🔴 About the CENTER, and it must stay that way: the thing the owner is looking at is the
|
|
51
51
|
* thing in the middle, so any other anchor makes `+` slide the subject out of view and the
|
|
52
52
|
* control feel broken. The clamp then keeps the result inside the frame, which is why zooming
|
|
53
53
|
* out near an edge glides back toward the middle rather than exposing blank space.
|
|
@@ -97,7 +97,7 @@ export const MAX_ZOOM = 20;
|
|
|
97
97
|
* Set the magnification directly — what the zoom SLIDER moves.
|
|
98
98
|
*
|
|
99
99
|
* Expressed in terms of {@link zoomRegion} rather than recomputing the rectangle, so the
|
|
100
|
-
* slider and the `+`/`−` buttons cannot drift apart: both go through the same
|
|
100
|
+
* slider and the `+`/`−` buttons cannot drift apart: both go through the same center-holding,
|
|
101
101
|
* aspect-preserving, clamped path.
|
|
102
102
|
*/
|
|
103
103
|
export function regionAtZoom(region, zoom) {
|
|
@@ -111,7 +111,7 @@ export function regionAtZoom(region, zoom) {
|
|
|
111
111
|
* 🔴 This exists because the shape had been left to CSS, and CSS could not be trusted with
|
|
112
112
|
* it. The stage carried an inline `aspect-ratio` from the selected region PLUS a
|
|
113
113
|
* `min-block-size` floor and a `max-block-size: 72vh` ceiling; whenever a selection's natural
|
|
114
|
-
* height fell outside that range the box silently stopped
|
|
114
|
+
* height fell outside that range the box silently stopped honoring the ratio, so the element
|
|
115
115
|
* was no longer the shape of the region it was displaying. Every marquee and pan coordinate
|
|
116
116
|
* is a fraction of that box, so all of them were then wrong — which is what the owner saw as
|
|
117
117
|
* *"select an area doesn't make the image zoom to the area I drag"*. Measuring the available
|
|
@@ -186,7 +186,7 @@ export const panRegion = (region, dxFraction, dyFraction) => clampRegion({
|
|
|
186
186
|
* box of whatever shape the layout gave it and the element used `object-fit: contain`, so a
|
|
187
187
|
* portrait clip in a landscape stage was letterboxed — the picture sat in the middle of the
|
|
188
188
|
* element with bars either side. Every coordinate then disagreed with reality by the width of
|
|
189
|
-
* those bars: a marquee drawn over the
|
|
189
|
+
* those bars: a marquee drawn over the center of the PICTURE was recorded as a fraction of
|
|
190
190
|
* the STAGE, so the region landed off to one side, and panning inherited the same error.
|
|
191
191
|
*
|
|
192
192
|
* Rather than correcting for the letterbox everywhere (three call sites, each needing the
|
|
@@ -238,7 +238,7 @@ export function regionPixels(region, source) {
|
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
* The region actually SHOWN for a zoomed-in `region`: grown, about its own
|
|
241
|
+
* The region actually SHOWN for a zoomed-in `region`: grown, about its own center, to the
|
|
242
242
|
* viewport's shape wherever the frame has picture to grow into.
|
|
243
243
|
*
|
|
244
244
|
* The owner, 2026-10-01: *"black bars took up about 4 inches on each side … Even after zooming
|
|
@@ -250,7 +250,7 @@ export function regionPixels(region, source) {
|
|
|
250
250
|
* and a marquee drawn tall made it worse.
|
|
251
251
|
*
|
|
252
252
|
* 🔴 It only ever GROWS the region, and only up to the whole frame on each axis, so what was
|
|
253
|
-
* asked to be seen is always all on screen,
|
|
253
|
+
* asked to be seen is always all on screen, centered where it was. Everything that reads the
|
|
254
254
|
* picture — the layout, the frame size, a marquee drawn on it, a pan, a snapshot — reads THIS,
|
|
255
255
|
* so what is on screen and what a coordinate means stay one rectangle.
|
|
256
256
|
*/
|
|
@@ -146,7 +146,7 @@ export interface MediaGalleryProps {
|
|
|
146
146
|
query?: string;
|
|
147
147
|
onQueryChange?: (query: string) => void;
|
|
148
148
|
/** Observe the open item. With `selectedId` set this becomes a request rather than a
|
|
149
|
-
* notification — the consumer decides whether to
|
|
149
|
+
* notification — the consumer decides whether to honor it. */
|
|
150
150
|
onSelectedChange?: (item: MediaGalleryItem | null) => void;
|
|
151
151
|
/**
|
|
152
152
|
* Which item is open, when the CONSUMER owns that. Omit for the default behavior, where
|
|
@@ -349,7 +349,7 @@ export interface MediaGalleryProps {
|
|
|
349
349
|
*/
|
|
350
350
|
allowPictureReplace?: boolean;
|
|
351
351
|
/**
|
|
352
|
-
* The Picture control — brightness, contrast and
|
|
352
|
+
* The Picture control — brightness, contrast and color for what is on the stage. On by
|
|
353
353
|
* default, because it needs nothing from the app: it is a CSS filter over the stage and
|
|
354
354
|
* nothing is saved, so there is no capability to be missing.
|
|
355
355
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaGallery.d.ts","sourceRoot":"","sources":["../../../src/react/media-gallery/MediaGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AA4D5B,OAAO,KAAK,EAAE,EACZ,KAAK,SAAS,EAEd,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AA+Bf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAYjE,OAAO,EAgBL,KAAK,eAAe,EAGrB,MAAM,0BAA0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AAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,QAAQ,EAAE,kBAAkB,EAC5B,gBAAgB,EAChB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,gBAAgB,EAChB,UAAU,EAAE,oBAAoB,EAChC,QAAQ,EAAE,kBAAkB,EAC5B,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,iBAAmC,EACnC,UAAkB,EAClB,eAA0B,EAC1B,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,QAAQ,EACR,eAAe,EACf,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,mBAA2B,EAC3B,eAAsB,EACtB,WAAW,EACX,cAAc,EACd,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,GAAG,IAAI,EACR,EAAE,iBAAiB,qBAw/CnB"}
|
|
@@ -10,7 +10,7 @@ import './mediaGallery.css';
|
|
|
10
10
|
*
|
|
11
11
|
* `lucide-react`, not the 📌 ⟳ 🖼 ✂ these pills carried until 2026-09-16. An emoji is drawn
|
|
12
12
|
* by whichever font the operating system picked, at whatever optical size and weight that
|
|
13
|
-
* font chose, in
|
|
13
|
+
* font chose, in color on some platforms and monochrome on others — so the one thing a
|
|
14
14
|
* toolbar of them cannot look is designed, which is the opposite of what was asked for. The
|
|
15
15
|
* package is already a dependency (`DropdownMenu`, `PlayerStrip`, `icons.tsx`), so this adds
|
|
16
16
|
* no weight and no second icon vocabulary.
|
|
@@ -24,7 +24,7 @@ import './mediaGallery.css';
|
|
|
24
24
|
* `.cbgd-order-btn.is-icon` in `denseGallery.css`, measured by
|
|
25
25
|
* `e2e/touch-targets.spec.ts` at a real coarse-pointer viewport.
|
|
26
26
|
* 3. **A word that was a VALUE keeps a home.** `📌 Pin` vs `📌 Pinned` and the five
|
|
27
|
-
* end-
|
|
27
|
+
* end-behavior labels were not names, they were readouts; an icon identical in both
|
|
28
28
|
* states deletes information. They move into the pressed state, the accessible name and
|
|
29
29
|
* the tooltip together — `MediaGallery.spec.tsx` asserts each one.
|
|
30
30
|
*
|
|
@@ -56,7 +56,7 @@ import { SelectField } from '../components/SelectField.js';
|
|
|
56
56
|
import { Tooltip } from '../components/Tooltip.js';
|
|
57
57
|
import { TruncatedText } from '../components/TruncatedText.js';
|
|
58
58
|
import { cn, RAW_BUTTON } from '../lib/cn.js';
|
|
59
|
-
// The reusable media gallery — the plugin-era mixed gallery
|
|
59
|
+
// The reusable media gallery — the plugin-era mixed gallery generalized to EVERY binary
|
|
60
60
|
// kind the fleet stores. Same design as plugin-media-gallery: a thumbnail-maximal browse
|
|
61
61
|
// grid (hover-scrub video tiles, still photo tiles, type-icon tiles for other binaries)
|
|
62
62
|
// that swaps to an in-page detail view — the right viewer as a big stage on top, actions
|
|
@@ -190,7 +190,7 @@ function GrabFrameDialog({ item, at, cache, onClose, onSaveThumbnail, onSaveSnap
|
|
|
190
190
|
// carry either way, because reading was never the capability that was missing.
|
|
191
191
|
const LazyMediaMetaEditor = lazyWithReload(() => import('./MediaMetaEditor.js').then((m) => ({ default: m.MediaMetaEditor })));
|
|
192
192
|
/**
|
|
193
|
-
* One glyph per end-
|
|
193
|
+
* One glyph per end-behavior — the five values the cycling pill used to spell out.
|
|
194
194
|
*
|
|
195
195
|
* 🔴 Five DISTINCT icons, not one icon plus a lit state. The button cycles through settings
|
|
196
196
|
* rather than toggling one, so `Stop at the end` and `Shuffle` have to be told apart at a
|
|
@@ -618,7 +618,7 @@ function NativeVideoStage({ hlsUrl, streamUrl, poster, repeat, onEnded, onFault,
|
|
|
618
618
|
*
|
|
619
619
|
* ── 🔴 Why this is a panel and not a longer spinner ─────────────────────────────────────
|
|
620
620
|
* Owner, 2026-09-17: *"make a 404 stop the media player spinner so I don't think it's going
|
|
621
|
-
* to eventually load."* One item in his
|
|
621
|
+
* to eventually load."* One item in his catalog has no ladder, so the first request the
|
|
622
622
|
* stage made was answered `404` in 0.2 s — and that was the one status every surface here
|
|
623
623
|
* treated as "still loading". **A hang and an answer must not look the same**, which is the
|
|
624
624
|
* whole report: a timeout may keep spinning, because something might still arrive; an answer
|
|
@@ -704,7 +704,7 @@ function GalleryStage({ item, mediaCache, bytesCache, loadBytes, nativeVideoStag
|
|
|
704
704
|
* 🔴 A stored orientation turns FOOTAGE too, and the wrapper is what makes that safe.
|
|
705
705
|
*
|
|
706
706
|
* A quarter-turned clip is still laid out in its original box, so a portrait clip turned
|
|
707
|
-
* widescreen overflows the stage it is
|
|
707
|
+
* widescreen overflows the stage it is centered in — the exact complaint that produced this
|
|
708
708
|
* (*"a video showing in portrait mode that is actually supposed to be widescreen to fill
|
|
709
709
|
* all the space correctly"*). `.cbmg-stage-turn[data-turned]` swaps the fit constraint the
|
|
710
710
|
* same way `.cbgd-stage-img` does for pictures. An unturned clip renders inside a plain
|
|
@@ -838,7 +838,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
838
838
|
* elsewhere and turned the header off (apps/collections, whose sort, kind, privacy and
|
|
839
839
|
* grid/table all live in an activity bar now) lost the feature entirely — reported as
|
|
840
840
|
* *"We are missing the preview all button that let's all the videos play at once in the
|
|
841
|
-
* gallery and we need it back."* Uncontrolled
|
|
841
|
+
* gallery and we need it back."* Uncontrolled behavior is byte-for-byte unchanged.
|
|
842
842
|
*/
|
|
843
843
|
const [uncontrolledThumbAutoplay, setUncontrolledThumbAutoplay] = useState(readThumbAutoplay);
|
|
844
844
|
const thumbAutoplay = previewAll ?? uncontrolledThumbAutoplay;
|
|
@@ -959,7 +959,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
959
959
|
};
|
|
960
960
|
/**
|
|
961
961
|
* Step through the DISPLAYED order — the same order the grid shows, so "next" always means
|
|
962
|
-
* the tile to the right rather than a hidden
|
|
962
|
+
* the tile to the right rather than a hidden neighbor from the unfiltered set.
|
|
963
963
|
*
|
|
964
964
|
* 🔴 It WRAPS, and that is `tsk_01KZZY085DFN8GW0RQJ8S7MYRS`. Owner, 2026-08-14: *"either
|
|
965
965
|
* button always goes to another image even on the edges."* This file used to argue the
|
|
@@ -1053,7 +1053,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1053
1053
|
* `advance` is handed to a `<video>`'s `onEnded` and to a dwell `setTimeout`. If it were
|
|
1054
1054
|
* rebuilt whenever the displayed order or the selection changed, the timeout effect below
|
|
1055
1055
|
* would tear down and restart on every one of those changes — so a picture whose gallery
|
|
1056
|
-
* re-sorted, or whose
|
|
1056
|
+
* re-sorted, or whose neighbor finished resolving its URLs, would silently restart its
|
|
1057
1057
|
* dwell and hold the stage forever. Reading through refs keeps ONE stable callback whose
|
|
1058
1058
|
* inputs are always current, which is the property both consumers actually need.
|
|
1059
1059
|
*/
|
|
@@ -1153,7 +1153,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1153
1153
|
* place while stepping through stills — it is the case that reasoning does not cover.
|
|
1154
1154
|
* Playback has ALREADY STARTED by the time the scroll animation runs, so a smooth glide
|
|
1155
1155
|
* means several hundred milliseconds of a video you can hear and cannot see. There is no
|
|
1156
|
-
* place to lose: the thing you are
|
|
1156
|
+
* place to lose: the thing you are traveling to is the thing that is already happening.
|
|
1157
1157
|
*/
|
|
1158
1158
|
const stageRef = useRef(null);
|
|
1159
1159
|
const hadSelection = useRef(false);
|
|
@@ -1327,7 +1327,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1327
1327
|
* This is the half that answers *"whether it is focused or not"*. Falling through on a
|
|
1328
1328
|
* not-yet-mounted player left Space meaning "press the focused button" for the first
|
|
1329
1329
|
* second of every video — and the focused button, after clicking a tile or a sidebar
|
|
1330
|
-
* row, is the one the owner just used.
|
|
1330
|
+
* row, is the one the owner just used. Canceling the keydown is also what stops the
|
|
1331
1331
|
* browser activating that button on the KEYUP, and what stops the page scrolling.
|
|
1332
1332
|
*
|
|
1333
1333
|
* Narrowed to video and audio on purpose: on a PDF or a text stage Space is paging
|
|
@@ -1450,7 +1450,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1450
1450
|
*/
|
|
1451
1451
|
const stageMark = category === 'video' || category === 'audio' ? 'Now playing' : 'On screen';
|
|
1452
1452
|
const downloadHref = selected.downloadUrl ?? selected.url;
|
|
1453
|
-
//
|
|
1453
|
+
// Capitalized so JSX reads it as a component rather than an HTML tag — see
|
|
1454
1454
|
// `PLAYBACK_END_ICONS` for why the setting gets five glyphs and not one.
|
|
1455
1455
|
const PlaybackEndIcon = PLAYBACK_END_ICONS[playbackEnd];
|
|
1456
1456
|
return (_jsxs(_Fragment, { children: [capabilityDialogs, _jsx(DenseGalleryDetail, { ...rest, ...(tileCaptions ? {} : { rowExtraHeight: CBGD_BARE_TILE_HEIGHT }), fullStage: fullStage, onFullStageChange: setFullStage,
|
|
@@ -1536,7 +1536,7 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1536
1536
|
setRenaming(null);
|
|
1537
1537
|
} }), _jsx("button", {
|
|
1538
1538
|
// guardrails-ignore no-raw-action-button: action pill styled by the dense
|
|
1539
|
-
// gallery's own plain CSS, matching its
|
|
1539
|
+
// gallery's own plain CSS, matching its neighbors in this row.
|
|
1540
1540
|
type: 'submit', className: cn(RAW_BUTTON, 'cbgd-order-btn'), children: "Save" }), _jsx("button", {
|
|
1541
1541
|
// guardrails-ignore no-raw-action-button: see the Save button above.
|
|
1542
1542
|
type: 'button', className: cn(RAW_BUTTON, 'cbgd-order-btn'), onClick: () => setRenaming(null), children: "Cancel" })] })) : (_jsx(Tooltip, { content: "Change this file's name", children: _jsx("button", {
|
|
@@ -1577,12 +1577,12 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1577
1577
|
// guardrails-ignore no-raw-action-button: see above.
|
|
1578
1578
|
type: 'button', className: cn(RAW_BUTTON, 'cbgd-order-btn is-icon'), "aria-label": 'Trim', onClick: () => setTrimmingVideo(selected), children: _jsx(Scissors, { "aria-hidden": true }) }) })) : null, onSaveChapters && category === 'video' ? (_jsx(Tooltip, { content: 'Name the parts of this film \u2014 the player shows them on the scrub bar', children: _jsx("button", {
|
|
1579
1579
|
// guardrails-ignore no-raw-action-button: see above.
|
|
1580
|
-
type: 'button', className: cn(RAW_BUTTON, 'cbgd-order-btn is-icon'), "aria-label": 'Sections', onClick: () => setChapteringVideo(selected), children: _jsx(ListVideo, { "aria-hidden": true }) }) })) : null, pictureControls && (category === 'image' || category === 'video') ? (_jsx(Tooltip, { content: 'Brightness, contrast and
|
|
1580
|
+
type: 'button', className: cn(RAW_BUTTON, 'cbgd-order-btn is-icon'), "aria-label": 'Sections', onClick: () => setChapteringVideo(selected), children: _jsx(ListVideo, { "aria-hidden": true }) }) })) : null, pictureControls && (category === 'image' || category === 'video') ? (_jsx(Tooltip, { content: 'Brightness, contrast and color for what you are looking at', children: _jsx("button", {
|
|
1581
1581
|
// guardrails-ignore no-raw-action-button: see above.
|
|
1582
1582
|
type: 'button', className: cn(RAW_BUTTON, `cbgd-order-btn is-icon${showPicture || isLightAdjusted(light) ? ' is-active' : ''}`), "aria-pressed": showPicture, "aria-label": isLightAdjusted(light) ? 'Picture — adjusted' : 'Picture', onClick: () => setShowPicture((on) => !on), children: _jsx(Sun, { "aria-hidden": true }) }) })) : null, showPicture ? (_jsxs("span", { className: 'cbmg-picture-sliders', children: [[
|
|
1583
1583
|
['brightness', 'Brightness'],
|
|
1584
1584
|
['contrast', 'Contrast'],
|
|
1585
|
-
['saturation', '
|
|
1585
|
+
['saturation', 'Color'],
|
|
1586
1586
|
].map(([key, label]) => (_jsxs("label", { children: [_jsx("span", { children: label }), _jsx("input", {
|
|
1587
1587
|
// guardrails-ignore no-raw-inputs: a plain control inside a Tailwind-free, plain-CSS row. The Field layer has no slider, and its label chrome would duplicate the label already beside this one.
|
|
1588
1588
|
type: 'range', min: LIGHT_RANGE.min, max: LIGHT_RANGE.max, step: LIGHT_RANGE.step, value: light[key], onChange: (event) => setLight((l) => ({ ...l, [key]: Number(event.target.value) })) })] }, key))), _jsx("button", {
|
|
@@ -1643,12 +1643,12 @@ export function MediaGallery({ items, title = 'Media', loading, onNearEnd, initi
|
|
|
1643
1643
|
},
|
|
1644
1644
|
].map((option) => (_jsx(Tooltip, { content: option.hint, children: _jsx("button", {
|
|
1645
1645
|
// guardrails-ignore no-raw-action-button: header pill styled by the dense
|
|
1646
|
-
// gallery's own plain CSS, matching its sort
|
|
1646
|
+
// gallery's own plain CSS, matching its sort neighbors.
|
|
1647
1647
|
type: 'button', className: cn(RAW_BUTTON, `cbgd-order-btn is-icon${viewMode === option.mode ? ' is-active' : ''}`), "aria-pressed": viewMode === option.mode, "aria-label": option.label, onClick: () => setViewMode(option.mode), children: _jsx(option.Icon, { "aria-hidden": true }) }) }, option.mode))) }), hasPreviewable ? (_jsx(Tooltip, { content: thumbAutoplay
|
|
1648
1648
|
? 'Stop previewing every clip — hover one to preview it'
|
|
1649
1649
|
: 'Preview every clip at once, without hovering', children: _jsx("button", {
|
|
1650
1650
|
// guardrails-ignore no-raw-action-button: header pill styled by the dense
|
|
1651
|
-
// gallery's own plain CSS, matching its sort
|
|
1651
|
+
// gallery's own plain CSS, matching its sort neighbors.
|
|
1652
1652
|
type: 'button', className: cn(RAW_BUTTON, `cbgd-order-btn is-icon${thumbAutoplay ? ' is-active' : ''}`), "aria-pressed": thumbAutoplay, "aria-label": 'Preview all', onClick: () => setThumbAutoplay(!thumbAutoplay), children: _jsx(Play, { "aria-hidden": true }) }) })) : null, headerExtra] }), filterStrip: _jsx(KindChips, { options: kindOptions, value: kind, onChange: setKind,
|
|
1653
1653
|
// 🔴 `[]`, not a hidden strip: the kind chips stay, and `tags` keeps captioning
|
|
1654
1654
|
// and searching — see the `tagStrip` prop.
|