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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* A viewer preference that follows the PERSON, not the browser — the seam an app opts into.
|
|
3
3
|
*
|
|
4
4
|
* Every preference in this package is remembered on one device: `localStorage` for ways of
|
|
5
|
-
* working (the stage height, preview-all, the end
|
|
5
|
+
* working (the stage height, preview-all, the end behavior), page memory for loudness
|
|
6
6
|
* (`playbackPreferences.ts` → `SessionVolume`). That is the right default for a shared
|
|
7
7
|
* component, because only the APP knows who is signed in and where it could keep a value.
|
|
8
8
|
*
|
|
@@ -8,7 +8,7 @@ export interface NamespaceTargetOption {
|
|
|
8
8
|
/** `null` = the General pool (no namespace). */
|
|
9
9
|
id: string | null;
|
|
10
10
|
label: string;
|
|
11
|
-
/** Colorway seed (0-359), hue-on-a-
|
|
11
|
+
/** Colorway seed (0-359), hue-on-a-color-wheel. Omitted (e.g. General)
|
|
12
12
|
* renders a neutral dot. */
|
|
13
13
|
hue?: number;
|
|
14
14
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* ── One renderer, three entry points ────────────────────────────────────────
|
|
5
5
|
* `Breadcrumbs` (derived from a `NavigationModel`), `ItemBreadcrumbs` (a flat
|
|
6
|
-
* array) and the provider-driven trail all
|
|
6
|
+
* array) and the provider-driven trail all normalize to
|
|
7
7
|
* {@link BreadcrumbTrailNode} and render through here. Before this there were
|
|
8
8
|
* two near-identical `<ol>` blocks in `Breadcrumbs.tsx` and a third crumb
|
|
9
9
|
* renderer in `folder-tree/FolderBreadcrumb.tsx`, which is how the fleet ended
|
|
@@ -59,7 +59,7 @@ export interface ItemBreadcrumbsProps extends NavNavigationProps, TrailOptions {
|
|
|
59
59
|
* model automatically. Renders nothing when `items` is empty.
|
|
60
60
|
*
|
|
61
61
|
* 🔴 The markup, the overflow engine, the truncation tooltips and the pivot menus
|
|
62
|
-
* all come from {@link BreadcrumbTrail}. This function is a
|
|
62
|
+
* all come from {@link BreadcrumbTrail}. This function is a normalizer, and that
|
|
63
63
|
* is the entire change from the version that carried its own `<ol>`.
|
|
64
64
|
*/
|
|
65
65
|
export function ItemBreadcrumbs({
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from './SearchResults.js';
|
|
25
25
|
|
|
26
26
|
export interface HeaderSearchProps extends NavNavigationProps {
|
|
27
|
-
/** The instant client-side pages
|
|
27
|
+
/** The instant client-side pages catalog (from `deriveSearchCatalogue`). */
|
|
28
28
|
catalogue: SearchCatalogueEntry[];
|
|
29
29
|
/**
|
|
30
30
|
* Debounced server results (lists/contacts/events/…). The app owns the fetch:
|
|
@@ -49,8 +49,8 @@ export interface HeaderSearchProps extends NavNavigationProps {
|
|
|
49
49
|
/**
|
|
50
50
|
* The universal top-nav search. Two layers, both rendered through
|
|
51
51
|
* {@link SearchResults}: an **instant client-side Pages layer** ranked from the
|
|
52
|
-
* derived nav
|
|
53
|
-
* — no hand-listed
|
|
52
|
+
* derived nav catalog (so every registered route is findable the moment it's typed
|
|
53
|
+
* — no hand-listed catalog to fall out of sync), and an optional **debounced
|
|
54
54
|
* server Content layer** the app supplies via `serverGroups` + `onQueryChange`.
|
|
55
55
|
*
|
|
56
56
|
* The floating mechanics — portal, anchor-width positioning, flip, and
|
|
@@ -145,12 +145,12 @@ describe('PlaceBar', () => {
|
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* 🔴 The thumb-zone TAB is the badge a phone reader actually sees, and it
|
|
148
|
-
* hardcoded the alert tone while the More sheet's rows
|
|
149
|
-
* so an app whose counts are facts ("6 tasks filed here") drew a quiet
|
|
148
|
+
* hardcoded the alert tone while the More sheet's rows honored the model's —
|
|
149
|
+
* so an app whose counts are facts ("6 tasks filed here") drew a quiet gray
|
|
150
150
|
* pill on the desktop rail and a red alarm on a phone, from one `navBadgeTone`.
|
|
151
151
|
* Found on `todo`, 2026-08-22.
|
|
152
152
|
*/
|
|
153
|
-
test('the tab badge
|
|
153
|
+
test('the tab badge honors badgeTone, like every other badge in the bar', () => {
|
|
154
154
|
const alert = render(<PlaceBar model={model} onNavigate={() => {}} badges={{ people: 3 }} />);
|
|
155
155
|
expect(q(alert.container, '.bg-destructive-solid')).toBeTruthy();
|
|
156
156
|
|
|
@@ -161,7 +161,7 @@ describe('PlaceBar', () => {
|
|
|
161
161
|
expect(q(neutral.container, '.bg-muted')).toBeTruthy();
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
test('the More-sheet overflow badge
|
|
164
|
+
test('the More-sheet overflow badge honors it too', () => {
|
|
165
165
|
// `library` sits past the thumb-zone budget in this model, so its count rolls
|
|
166
166
|
// up onto the More tab — the other place the tone was hardcoded.
|
|
167
167
|
const neutral = render(
|
|
@@ -68,7 +68,7 @@ export interface PlaceBarProps extends NavNavigationProps {
|
|
|
68
68
|
* rides the thumb zone, split around a **raised center capture FAB**, so the two most
|
|
69
69
|
* frequent phone actions (go to a place / capture a thought) are both one thumb-tap —
|
|
70
70
|
* never hidden behind a menu. Renders from the one `navigationModel` registry, so it
|
|
71
|
-
* can never drift from the desktop rail or the search
|
|
71
|
+
* can never drift from the desktop rail or the search catalog. Overflow places live
|
|
72
72
|
* behind a native bottom-sheet "More" tab (swipe-dismissable), keeping every
|
|
73
73
|
* destination reachable on a phone.
|
|
74
74
|
*/
|
|
@@ -183,7 +183,7 @@ export function PlaceBar({
|
|
|
183
183
|
onClick={() => setMoreOpen(true)}
|
|
184
184
|
className={cn(
|
|
185
185
|
// `border-0` and an explicit ground: without preflight a raw `<button>` is the
|
|
186
|
-
// browser's
|
|
186
|
+
// browser's gray bordered box (measured in desk at 390, forge task 2748).
|
|
187
187
|
'relative flex min-w-0 flex-1 flex-col items-center justify-center gap-0.5 rounded-md border-0 px-0.5 py-1.5 font-[inherit] text-xs font-medium tracking-tight focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',
|
|
188
188
|
PRESS,
|
|
189
189
|
overflowActive ? 'bg-accent/10 text-foreground' : 'bg-transparent text-muted-foreground hover:bg-muted hover:text-foreground',
|
|
@@ -272,9 +272,9 @@ interface PlaceTabProps extends NavNavigationProps {
|
|
|
272
272
|
badge?: NavBadge;
|
|
273
273
|
/**
|
|
274
274
|
* 🔴 Threaded 2026-08-22. `PlaceTab` hardcoded `bg-destructive-solid` and ignored
|
|
275
|
-
* the model's tone entirely, while the More sheet's rows twenty lines up
|
|
275
|
+
* the model's tone entirely, while the More sheet's rows twenty lines up honored
|
|
276
276
|
* it — so a phone reader saw a RED alert dot for a count that the same app drew as
|
|
277
|
-
* a quiet
|
|
277
|
+
* a quiet gray pill on the desktop rail. Found on `todo`, whose places carry
|
|
278
278
|
* "how many tasks are filed here": six neutral facts, six alarms on a phone. This
|
|
279
279
|
* is the tab in the thumb zone, i.e. the badge a phone reader actually sees.
|
|
280
280
|
*/
|
|
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import { cn } from '../lib/cn.js';
|
|
3
3
|
import { NavLink, type NavNavigationProps, renderIcon } from './navShared.js';
|
|
4
4
|
|
|
5
|
-
/** One result hit — a page (from the
|
|
5
|
+
/** One result hit — a page (from the catalog) or a content record (from server). */
|
|
6
6
|
export interface SearchResultRow {
|
|
7
7
|
id: string;
|
|
8
8
|
path: string;
|
|
@@ -41,7 +41,7 @@ export const searchOptionId = (prefix: string, rowId: string) => `${prefix}-opt-
|
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* The grouped, keyboard-navigable results panel for {@link HeaderSearch} — sections
|
|
44
|
-
* for instant "Pages" (from the nav
|
|
44
|
+
* for instant "Pages" (from the nav catalog) and any server "Content" groups. Each
|
|
45
45
|
* row navigates via the shared {@link NavLink}; the `activeId` row is visually
|
|
46
46
|
* highlighted + `aria-selected` for arrow-key navigation driven by the search input.
|
|
47
47
|
*/
|
|
@@ -85,7 +85,7 @@ describe('TopBar — destinations have words (NAV-2, owner review 2026-10-01)',
|
|
|
85
85
|
expect((container.querySelector('[data-cb-topbar-nav]') as HTMLElement).className).toContain('max-md:hidden');
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
-
test("🔴 phonePlaces='none' names the active place in the bar's
|
|
88
|
+
test("🔴 phonePlaces='none' names the active place in the bar's center below md (NAV-14)", () => {
|
|
89
89
|
// happy-dom's window is 1024 wide, where the places paint their own words: go to a phone.
|
|
90
90
|
const wide = window.matchMedia;
|
|
91
91
|
const narrow = (query: string) => ({
|
package/src/react/nav/TopBar.tsx
CHANGED
|
@@ -221,7 +221,7 @@ export function TopBarPlaces({
|
|
|
221
221
|
const wide = useMediaQuery(WIDE_QUERY);
|
|
222
222
|
/**
|
|
223
223
|
* NAV-14: the phone's top bar names the page. With `phonePlaces='none'` the places ride the
|
|
224
|
-
* bottom `PlaceBar` and the bar's
|
|
224
|
+
* bottom `PlaceBar` and the bar's center was empty below 768px — a brand glyph, a bell and an
|
|
225
225
|
* avatar, and nothing saying where the reader is (family's 390 captures, forge task
|
|
226
226
|
* family-app-ux-overhaul, 2026-10-06). The active place's own word fills it; the strip of
|
|
227
227
|
* places is still rendered (hidden) so a router's primary nav keeps one DOM shape at every
|
|
@@ -75,7 +75,7 @@ export function createBreadcrumbStore(): BreadcrumbStore {
|
|
|
75
75
|
*
|
|
76
76
|
* The id list is compared as a JOINED STRING rather than by identity, so a
|
|
77
77
|
* label update — which rebuilds the array but not the shape — notifies the
|
|
78
|
-
* crumb and leaves the trail component alone. That is the whole
|
|
78
|
+
* crumb and leaves the trail component alone. That is the whole optimization,
|
|
79
79
|
* and it is one line.
|
|
80
80
|
*/
|
|
81
81
|
const recompute = (changed?: string): void => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The breadcrumb system's
|
|
2
|
+
* The breadcrumb system's behavior that a browser is NOT needed for: the
|
|
3
3
|
* registration lifecycle, the reset that closes the family header-tab defect,
|
|
4
4
|
* the render-count promise, and the async pivot's four race conditions.
|
|
5
5
|
*
|
|
@@ -233,7 +233,7 @@ export const NAV_BADGE_TONE: Record<NavBadgeTone, string> = {
|
|
|
233
233
|
/**
|
|
234
234
|
* A place's badge: a bare count or word (the shell's one `badgeTone` applies), or a count WITH
|
|
235
235
|
* its own tone — so one sidebar can say "3 problems you have not seen" in red beside "12 queued"
|
|
236
|
-
* in
|
|
236
|
+
* in gray. Station asked for exactly that on 2026-10-20 (forge task station-evolution): the red
|
|
237
237
|
* number is reserved for what the owner has not looked at yet, and a plain fact never shares it.
|
|
238
238
|
*/
|
|
239
239
|
export type NavBadge = number | string | { value: number | string; tone?: NavBadgeTone };
|
|
@@ -131,7 +131,7 @@ describe('useCommandPalette / CommandPalette open + close', () => {
|
|
|
131
131
|
});
|
|
132
132
|
|
|
133
133
|
describe('fuzzy page results', () => {
|
|
134
|
-
test('"frac" surfaces Fractal (previously missing from the
|
|
134
|
+
test('"frac" surfaces Fractal (previously missing from the catalog)', () => {
|
|
135
135
|
render(
|
|
136
136
|
<CommandPalette
|
|
137
137
|
model={model}
|
|
@@ -254,7 +254,7 @@ export function CommandPalette({
|
|
|
254
254
|
return groups;
|
|
255
255
|
}, [isCold, trimmed, catalogue, pagesLimit]);
|
|
256
256
|
|
|
257
|
-
// Pins + recent resolve their paths to
|
|
257
|
+
// Pins + recent resolve their paths to catalog entries (for label + icon), falling
|
|
258
258
|
// back to a bare path label for anything no longer in the model. Memoized on
|
|
259
259
|
// catalogueByPath so it has a stable identity to depend on below.
|
|
260
260
|
const resolvePath = useCallback(
|
|
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from 'react';
|
|
|
2
2
|
import { cn } from '../lib/cn.js';
|
|
3
3
|
import { loadPdfjs } from './pdfDocument.js';
|
|
4
4
|
// The text layer's spans are transparent ink over the canvas. Without this stylesheet they paint
|
|
5
|
-
// in the page's foreground
|
|
5
|
+
// in the page's foreground color on top of the pixels, so a bare <PdfPage> (no PdfViewer around
|
|
6
6
|
// it) showed every glyph twice (forge task 2594).
|
|
7
7
|
import './pdfViewer.css';
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ import { type GlideTheme, useGlideTheme } from './useGlideTheme.js';
|
|
|
26
26
|
export interface SpreadsheetGridProps<C extends GridCell = GridCell> {
|
|
27
27
|
/** glide-data-grid column specs (title / width / icon / group …). */
|
|
28
28
|
columns: readonly GridColumn[];
|
|
29
|
-
/** Total row count. The grid
|
|
29
|
+
/** Total row count. The grid virtualizes — only the visible window is drawn. */
|
|
30
30
|
rows: number;
|
|
31
31
|
/** Return the cell at `[col, row]`. Injected by the app (its business data). */
|
|
32
32
|
getCellContent: (cell: Item) => C;
|
|
@@ -99,7 +99,7 @@ function readGlideTheme(el: Element | null): Partial<GlideTheme> {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* One design token, resolved to the concrete
|
|
102
|
+
* One design token, resolved to the concrete color string a CANVAS needs.
|
|
103
103
|
*
|
|
104
104
|
* 🔴 A canvas cannot read a custom property. `ctx.fillStyle = 'var(--muted)'` is not an
|
|
105
105
|
* error — it is silently ignored and the previous fill stands, which is how
|
|
@@ -109,7 +109,7 @@ function readGlideTheme(el: Element | null): Partial<GlideTheme> {
|
|
|
109
109
|
* protected. It had no background at all, and nothing anywhere was wrong. (Found by the
|
|
110
110
|
* 2026-08-19 extension of `scripts/cssTokens.ts` to component sources.)
|
|
111
111
|
*
|
|
112
|
-
* So: any glide `themeOverride`
|
|
112
|
+
* So: any glide `themeOverride` color goes through here, never through a `var()` string.
|
|
113
113
|
* Re-reads on the same theme/accent mutation `useGlideTheme` watches, so it tracks
|
|
114
114
|
* light/dark and rebrands identically.
|
|
115
115
|
*/
|
|
@@ -105,7 +105,7 @@ export function WorkbookViewer({
|
|
|
105
105
|
}
|
|
106
106
|
}, [sheets, sheetName]);
|
|
107
107
|
|
|
108
|
-
// The gutter's fill, resolved to a concrete
|
|
108
|
+
// The gutter's fill, resolved to a concrete color: glide renders on a canvas and
|
|
109
109
|
// cannot read a custom property, so a `var()` here is silently dropped and the cell
|
|
110
110
|
// gets no background. `--muted` is the token glide's own header row already uses, so
|
|
111
111
|
// the row numbers read as the same protected band as the column letters.
|
|
@@ -53,8 +53,8 @@ describe('every file inside the published surface is tracked', () => {
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
test('no untracked file sits inside a directory `files` ships', async () => {
|
|
56
|
-
// --others = untracked; --exclude-standard
|
|
57
|
-
// ignored paths (.agent.noindex, node_modules) are not
|
|
56
|
+
// --others = untracked; --exclude-standard honors .gitignore, so deliberately
|
|
57
|
+
// ignored paths (.agent.noindex, node_modules) are not offenses.
|
|
58
58
|
const { ok, out } = await git('ls-files', '--others', '--exclude-standard', '--', ...shippedDirs());
|
|
59
59
|
expect(ok, 'git ls-files failed').toBe(true);
|
|
60
60
|
const untracked = out === '' ? [] : out.split('\n');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* cursedbelt — the `notifications` area's utility candidates. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
3
3
|
*
|
|
4
|
-
* the notification
|
|
4
|
+
* the notification center and its feed.
|
|
5
5
|
*
|
|
6
6
|
* Every Tailwind utility the modules in this area's import closure use, MINUS the
|
|
7
7
|
* ones `styles-areas/core.css` already ships. 🔴 Import ALL of these, in
|
package/src/styles-static.css
CHANGED
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
|
|
155
155
|
/* Thumbnails strip → token surfaces + accent active border. The strip sits on the stage's
|
|
156
156
|
own backdrop (YARL's default): `transparent` let the PAGE show through it, so in light
|
|
157
|
-
the strip was a white band whose vignettes faded into hard
|
|
157
|
+
the strip was a white band whose vignettes faded into hard gray smears (task 2592). */
|
|
158
158
|
--yarl__thumbnails_thumbnail_background: var(--card-overlay);
|
|
159
159
|
--yarl__thumbnails_thumbnail_border_color: var(--border-strong);
|
|
160
160
|
--yarl__thumbnails_thumbnail_active_border_color: var(--accent-solid);
|
package/src/styles.css
CHANGED
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
|
|
157
157
|
/* Thumbnails strip → token surfaces + accent active border. The strip sits on the stage's
|
|
158
158
|
own backdrop (YARL's default): `transparent` let the PAGE show through it, so in light
|
|
159
|
-
the strip was a white band whose vignettes faded into hard
|
|
159
|
+
the strip was a white band whose vignettes faded into hard gray smears (task 2592). */
|
|
160
160
|
--yarl__thumbnails_thumbnail_background: var(--card-overlay);
|
|
161
161
|
--yarl__thumbnails_thumbnail_border_color: var(--border-strong);
|
|
162
162
|
--yarl__thumbnails_thumbnail_active_border_color: var(--accent-solid);
|
package/src/stylesAreas.spec.ts
CHANGED
|
@@ -189,7 +189,7 @@ describe('the per-area stylesheets are generated and gated', () => {
|
|
|
189
189
|
it('emits, across all areas, every rule the union emits', async () => {
|
|
190
190
|
// Property 3 — the core proof, and the reason this file does not compare
|
|
191
191
|
// sizes. A missing key is a selector that vanished from the design system; a
|
|
192
|
-
// missing declaration is a property that stopped applying. Same
|
|
192
|
+
// missing declaration is a property that stopped applying. Same normalization
|
|
193
193
|
// the sibling spec documents: `@theme inline` aliases nothing reads are
|
|
194
194
|
// bookkeeping, not rules.
|
|
195
195
|
const { rules, declarations } = lostRules(before, after, (prop) => !readByUnion.has(prop));
|
|
@@ -108,7 +108,7 @@ describe('styles-static.css is a generated, gated copy of styles.css', () => {
|
|
|
108
108
|
it('resolves as `cursedbelt/styles-static.css` through the real resolver', () => {
|
|
109
109
|
// The assertions above read the manifest; this one RESOLVES the specifier the
|
|
110
110
|
// way a consumer's bundler does, through the package's own `exports` map (bun
|
|
111
|
-
//
|
|
111
|
+
// honors a self-reference by package name). An export entry pointing at a
|
|
112
112
|
// path that does not exist satisfies every string comparison in this file and
|
|
113
113
|
// fails here — which is the failure `belt-static.css` would have been.
|
|
114
114
|
expect(Bun.resolveSync(`${pkg.name}/styles-static.css`, REPO_ROOT)).toBe(
|
|
@@ -127,7 +127,7 @@ describe('styles-static.css is a generated, gated copy of styles.css', () => {
|
|
|
127
127
|
});
|
|
128
128
|
|
|
129
129
|
it('exposes the transform as a pure function', () => {
|
|
130
|
-
// Cheap guard on the one
|
|
130
|
+
// Cheap guard on the one behavior every assertion above leans on.
|
|
131
131
|
expect(staticStylesFrom('a\n@source ".";\n\nb\n')).toBe('a\nb\n');
|
|
132
132
|
expect(staticStylesFrom('a\nb\n')).toBe('a\nb\n');
|
|
133
133
|
});
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
* `scripts/generateUtilityStyles.ts` owns the WHY and the measurements; this file
|
|
25
25
|
* is the WHETHER.
|
|
26
26
|
*
|
|
27
|
-
* Two differences between the two routes are real, deliberate and
|
|
27
|
+
* Two differences between the two routes are real, deliberate and normalized for
|
|
28
28
|
* below rather than papered over — each is asserted to STILL BE the only one of
|
|
29
|
-
* its kind, so the
|
|
29
|
+
* its kind, so the normalization cannot quietly widen into an amnesty:
|
|
30
30
|
*
|
|
31
31
|
* · `var(--x)` on the scanning route vs `var(--x, <literal>)` on the
|
|
32
32
|
* precompiled one, for tokens that reach the compiler through `@reference`.
|
|
@@ -61,7 +61,7 @@ const { expected, onDisk, candidates } = await readUtilityStylesheet();
|
|
|
61
61
|
/** The command every staleness failure below is fixed by, as a line the owner can paste. */
|
|
62
62
|
const REGENERATE = `cd ${REPO_ROOT} && bun run styles:utilities`;
|
|
63
63
|
|
|
64
|
-
// 🔴 The flattener, the `var()` fallback
|
|
64
|
+
// 🔴 The flattener, the `var()` fallback normalization and the two custom-property
|
|
65
65
|
// walks used to live here. They moved to `scripts/cssRules.ts` when
|
|
66
66
|
// `src/stylesAreas.spec.ts` needed the same comparison for the per-area split — one
|
|
67
67
|
// copy, because a second flattener is a second thing that can drift from the
|
|
@@ -185,7 +185,7 @@ describe('styles-utilities.css is a generated, gated precompile of src/react', (
|
|
|
185
185
|
).toEqual([]);
|
|
186
186
|
});
|
|
187
187
|
|
|
188
|
-
it('
|
|
188
|
+
it('normalized exactly the two differences its header documents, and no more', () => {
|
|
189
189
|
// The two allowances above are the difference between a proof and a rubber
|
|
190
190
|
// stamp, so they are measured rather than trusted: if either grows, this
|
|
191
191
|
// fails and the header has to be rewritten before the pair ships again.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* the second runs under Node. The page is typed structurally for the same reason — this package
|
|
12
12
|
* does not depend on Playwright, and any object with `evaluate` will do.
|
|
13
13
|
*
|
|
14
|
-
* 🔴 The probe below is
|
|
14
|
+
* 🔴 The probe below is SERIALIZED into the page, so it may close over nothing: every constant
|
|
15
15
|
* and helper it uses lives inside it. A helper hoisted out of it compiles, passes typecheck, and
|
|
16
16
|
* throws `ReferenceError` in the browser.
|
|
17
17
|
*/
|
|
@@ -87,7 +87,7 @@ export interface AuditDesignOptions {
|
|
|
87
87
|
/** Run only these rules (a focused spec, e.g. the touch-target sweep). Default: all. */
|
|
88
88
|
rules?: DesignRuleId[];
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Honor `[data-cb-specimen]` — cursedbelt's OWN demo only. A gallery shows one component's
|
|
91
91
|
* variants side by side on purpose (primary at sm/md/lg in one row), which breaks FRM-12,
|
|
92
92
|
* IA-5 and FND-4 by construction; nothing inside a specimen is counted for those three.
|
|
93
93
|
* Off by default, so an app cannot mark its way out of the law.
|
|
@@ -267,7 +267,7 @@ export function designProbe({ rules, allowProse, specimens }: ProbeArgs): Design
|
|
|
267
267
|
|
|
268
268
|
// ── FND-9 · text clears 4.5:1 (3:1 large) on what is painted behind it ─────
|
|
269
269
|
// The background is composited up the ancestor chain until a layer is opaque — the canvas
|
|
270
|
-
//
|
|
270
|
+
// color when none is. Text over an image or a gradient cannot be decided from styles and is
|
|
271
271
|
// skipped (census.contrastChecked counts what was), as is a disabled control: WCAG excludes it.
|
|
272
272
|
if (on.has('FND-9')) {
|
|
273
273
|
type Rgba = [number, number, number, number];
|
|
@@ -465,7 +465,7 @@ export function designProbe({ rules, allowProse, specimens }: ProbeArgs): Design
|
|
|
465
465
|
tally('[data-cb-variant="primary"]', 'FRM-12', 1, 'primary buttons');
|
|
466
466
|
tally('[data-cb-chart]', 'IA-5', 2, 'charts');
|
|
467
467
|
|
|
468
|
-
// ── NAV-2 · a
|
|
468
|
+
// ── NAV-2 · a labeled primary nav at ≥768px ────────────────────────────────
|
|
469
469
|
if (window.innerWidth >= 768) {
|
|
470
470
|
for (const nav of document.querySelectorAll('[data-cb-nav-rail], [data-cb-primary-nav]')) {
|
|
471
471
|
if (!shown(nav)) continue;
|
|
@@ -22,7 +22,7 @@ describe('a phone screen', () => {
|
|
|
22
22
|
expect(rules(screen({ fields: [{ what: 'search', size: 13 }] }))).toEqual(['FRM-11']);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
test('LAY-13: fails on a small control crowded by its
|
|
25
|
+
test('LAY-13: fails on a small control crowded by its neighbor, not on one with room around it', () => {
|
|
26
26
|
const box = target('Mark as done', 20, 100, 16, 16);
|
|
27
27
|
expect(rules(screen({ targets: [box, target('Mark as done', 20, 120, 16, 16)] }))).toEqual(['LAY-13', 'LAY-13']);
|
|
28
28
|
expect(rules(screen({ targets: [box, target('Mark as done', 20, 160, 16, 16)] }))).toEqual([]);
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
* - LAY-13 · a control a finger cannot hit: under 24px and crowded (WCAG 2.5.8), or under Apple's
|
|
12
12
|
* 44pt by what it ANSWERS to — a `::before` halo counts, so a 28px glyph with a 44px halo passes
|
|
13
13
|
* and a 28px glyph with none fails. Chromium's box rule in `designAudit.ts` sees cb's
|
|
14
|
-
* `data-cb-tap-target`; this one probes the hit test outward from the
|
|
14
|
+
* `data-cb-tap-target`; this one probes the hit test outward from the center, so it holds an
|
|
15
15
|
* app's own controls too.
|
|
16
16
|
* - LAY-9 · a control under a fixed or sticky layer that no scroll brings out from under.
|
|
17
17
|
* - LAY-14 · a control laid out, enabled and hit-testable, yet invisible until a pointer hovers it.
|
|
18
18
|
* - LAY-15 · with the keyboard up, the line being typed on is under the keys or under something
|
|
19
19
|
* drawn over it (`judgeKeyboard`).
|
|
20
20
|
*
|
|
21
|
-
* 🔴 `measurePhone` is
|
|
21
|
+
* 🔴 `measurePhone` is SERIALIZED into the page (Playwright's `evaluate`, or WebDriver's execute
|
|
22
22
|
* as source), so it closes over nothing: every constant and helper lives inside it.
|
|
23
23
|
*/
|
|
24
24
|
import type { DesignRuleId, DesignViolation } from './designAudit.js';
|
|
@@ -33,7 +33,7 @@ export interface PhoneTarget {
|
|
|
33
33
|
inline: boolean;
|
|
34
34
|
/** Laid out, enabled and not hidden from anyone, yet invisible until a pointer hovers it. */
|
|
35
35
|
hoverOnly: boolean;
|
|
36
|
-
/** What sits over its
|
|
36
|
+
/** What sits over its center, if anything, and whether scrolling could bring it out from under. */
|
|
37
37
|
coveredBy: string | null;
|
|
38
38
|
canReveal: boolean;
|
|
39
39
|
/** So near its pane's edge that the edge, not the control, limits what a finger can reach. */
|
|
@@ -77,7 +77,7 @@ function reach(px: number, py: number, t: PhoneTarget): number {
|
|
|
77
77
|
return Math.hypot(dx, dy);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
/** WCAG's spacing test: a 24px circle on an undersized target's
|
|
80
|
+
/** WCAG's spacing test: a 24px circle on an undersized target's center touches no other target, nor another small target's circle. */
|
|
81
81
|
export function crowded(target: PhoneTarget, others: PhoneTarget[]): string | null {
|
|
82
82
|
const cx = target.x + target.w / 2;
|
|
83
83
|
const cy = target.y + target.h / 2;
|
|
@@ -110,7 +110,7 @@ export function judgePhone(s: PhoneSnapshot, { touch }: JudgePhoneOptions): Desi
|
|
|
110
110
|
const neighbour = crowded(t, s.targets);
|
|
111
111
|
if (neighbour) push('LAY-13', t.what, `${Math.round(t.w)}×${Math.round(t.h)}: under ${TARGET_FLOOR}px and too close to ${neighbour}`);
|
|
112
112
|
}
|
|
113
|
-
// The probe steps a pixel at a time from a
|
|
113
|
+
// The probe steps a pixel at a time from a center that may sit on a half pixel, so a 44px halo can read 43.
|
|
114
114
|
const cramped = s.targets.filter((t) => !t.inline && !t.cut && Math.min(t.w, t.h) < THUMB - 1.5 && Math.min(t.w, t.h) >= TARGET_FLOOR - 0.5);
|
|
115
115
|
for (const t of cramped) push('LAY-13', t.what, `${Math.round(t.w)}×${Math.round(t.h)} by what it answers to — under Apple's ${THUMB}pt`);
|
|
116
116
|
for (const t of s.targets.filter((t) => t.hoverOnly)) push('LAY-14', t.what, 'invisible until hovered, and a touchscreen has no hover');
|
|
@@ -221,7 +221,7 @@ export function measurePhone(selectors: MeasurePhoneArgs): PhoneSnapshot {
|
|
|
221
221
|
};
|
|
222
222
|
/*
|
|
223
223
|
* What a finger can actually hit: a control may answer beyond its box (a ::before halo on a
|
|
224
|
-
* touchscreen), so a small one is probed outward from its
|
|
224
|
+
* touchscreen), so a small one is probed outward from its center, one pixel at a time.
|
|
225
225
|
* `under`: the reach ran into a bar that stays put (a sticky heading, a fixed nav) while the
|
|
226
226
|
* control's pane scrolls — the edge case again, at a bar's edge instead of the pane's: a scroll
|
|
227
227
|
* moves the control out from under it, so its size is judged on a screen where it has room.
|
|
@@ -274,7 +274,7 @@ export function measurePhone(selectors: MeasurePhoneArgs): PhoneSnapshot {
|
|
|
274
274
|
const room = 12;
|
|
275
275
|
const got = reachOf(el, box);
|
|
276
276
|
const cut = got.under || box.top < Math.max(0, view.top) + room || box.bottom > Math.min(H, view.bottom) - room || box.left < Math.max(0, view.left) + room || box.right > Math.min(W, view.right) - room;
|
|
277
|
-
// Judged by what it answers to,
|
|
277
|
+
// Judged by what it answers to, centered where it is drawn.
|
|
278
278
|
const r = new DOMRect(mx - got.w / 2, my - got.h / 2, got.w, got.h);
|
|
279
279
|
const style = getComputedStyle(el);
|
|
280
280
|
const parentText = (el.parentElement?.textContent ?? '').trim().length;
|
package/src/theme.css
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
they replaced scored 3.30:1 and 3.19:1 — FND-9's first audit found both (forge task 2628). */
|
|
177
177
|
--success: #15803d; /* guardrails-ignore no-hardcoded-colors: this file IS the theme token source of truth — every value here is necessarily a literal color definition */
|
|
178
178
|
/* Solid-fill success, for a green button carrying WHITE text — the `destructive-solid`
|
|
179
|
-
split, for the same reason: --success is tuned as a status
|
|
179
|
+
split, for the same reason: --success is tuned as a status color (it was 3.3:1 under
|
|
180
180
|
white until task 2628 deepened it to the same green-700). green-700 is 5.02:1 with white and its hover 7.1:1, in both modes, so it
|
|
181
181
|
is mode-stable like --accent-solid. First consumer: station's Resume, the green half
|
|
182
182
|
of a run/pause toggle whose Pause is `destructive-solid` (owner, 2026-09-29). */
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
/* ---- One-off lengths (FND-3, task 2461) ---------------------------------- */
|
|
335
335
|
/* Each is a specific piece of geometry, named so the scale stays a scale. */
|
|
336
336
|
--indicator-w: 3px; /* an active-item bar, a resize grip */
|
|
337
|
-
--timeline-rail-x: 11px; /*
|
|
337
|
+
--timeline-rail-x: 11px; /* centers a 1px rail under a 24px timeline dot */
|
|
338
338
|
--hit-slop-y: 10px; /* lifts a 24px inline text target to 44px on touch */
|
|
339
339
|
--hit-slop-x: 4px;
|
|
340
340
|
--status-glyph-h: 7px; /* the StatusPill's 8px-wide triangle */
|
|
@@ -526,9 +526,9 @@
|
|
|
526
526
|
asked a judge which had the better UI (2026-10-05); the verdict praised Linear's "very
|
|
527
527
|
disciplined dark palette with minimal, purpose-driven pops of color". The grounds here were
|
|
528
528
|
slate-blue (#030712 / #0b1220 / #1f2937, hue 220 at 30–50% saturation), so every surface was
|
|
529
|
-
already a
|
|
529
|
+
already a color before a single status hue was drawn on it, and an accent or a warning had
|
|
530
530
|
to shout to be seen. These are the same lightness steps at under 8% saturation: the chrome
|
|
531
|
-
recedes and the hues that mean something are the only
|
|
531
|
+
recedes and the hues that mean something are the only color on the page (FND-10). Every
|
|
532
532
|
ratio the old values were tuned to is re-measured beside its token below. */
|
|
533
533
|
--background: #08090a; /* guardrails-ignore no-hardcoded-colors: this file IS the theme token source of truth — every value here is necessarily a literal color definition */
|
|
534
534
|
--foreground: #f7f8f8; /* guardrails-ignore no-hardcoded-colors: this file IS the theme token source of truth — every value here is necessarily a literal color definition */
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
.dark .cb-aurora {
|
|
794
794
|
/* 🔴 NEUTRAL since 5.63.0 — the same ramp as `.dark` above, value for value. 5.58.0 moved
|
|
795
795
|
`.dark` to Linear's ramp so "the chrome recedes and the hues that mean something are the
|
|
796
|
-
only
|
|
796
|
+
only color on the page", and its report said every app had changed — but ten of the
|
|
797
797
|
eleven apps put `cb-aurora` on <html>, and this block re-bound them straight back to an
|
|
798
798
|
indigo ladder (#080b16 / #111830 / #2f3b5c). Seen on vault-stage, dark, 2026-10-05 (forge
|
|
799
799
|
task 2849): the neutral ramp had reached desk and binary-server and nothing else. The
|
|
@@ -905,8 +905,8 @@ body {
|
|
|
905
905
|
/*
|
|
906
906
|
* ───────────── Scrollbars: a thin capsule tinted to the pane (forge task 2912) ─────
|
|
907
907
|
*
|
|
908
|
-
* The browser's stock scrollbar is a
|
|
909
|
-
* Linux 15-17px of chrome down the side of every scrolling list, in the OS's
|
|
908
|
+
* The browser's stock scrollbar is a gray trough with a gray slab in it — on Windows and
|
|
909
|
+
* Linux 15-17px of chrome down the side of every scrolling list, in the OS's colors, not
|
|
910
910
|
* the app's. Linear and Obsidian draw a thin capsule that tints toward the pane it sits on;
|
|
911
911
|
* the owner's brief (`owner-drafting-area/linear-art.md/app.css`) does the same, and so does
|
|
912
912
|
* every app that takes this stylesheet.
|
|
@@ -916,7 +916,7 @@ body {
|
|
|
916
916
|
* literal. A scope that wants another tint sets the token. `scrollbar-width`/`scrollbar-color`
|
|
917
917
|
* are the standard (Firefox, Chrome 121+, Safari 18.2+); the `::-webkit-scrollbar` rules are
|
|
918
918
|
* for the Safari that predates them, and Chrome ignores them once the standard pair is set.
|
|
919
|
-
* A Mac's overlay scrollbars keep their own
|
|
919
|
+
* A Mac's overlay scrollbars keep their own behavior — only their color is ours.
|
|
920
920
|
*
|
|
921
921
|
* 🔴 `@layer base`, not bare: this file is unlayered, and an unlayered rule beats every
|
|
922
922
|
* layered one whatever its specificity — so a bare `*` here would have put a thumb back on
|
|
@@ -962,7 +962,7 @@ body {
|
|
|
962
962
|
* They were not missing: they were white on white.
|
|
963
963
|
*
|
|
964
964
|
* WHY NOBODY HERE SAW IT. On macOS Chrome hands the list to a native menu, which
|
|
965
|
-
* ignores author CSS entirely and
|
|
965
|
+
* ignores author CSS entirely and honors `color-scheme` — so the same markup is
|
|
966
966
|
* correct on the machine every one of these controls was written on. That is the
|
|
967
967
|
* whole shape of this bug and the reason it needs a token rather than a fix at
|
|
968
968
|
* one call site.
|
|
@@ -1068,7 +1068,7 @@ option:disabled {
|
|
|
1068
1068
|
/* Panel/card body padding → p-panel-pad utility. */
|
|
1069
1069
|
--spacing-panel-pad: var(--panel-pad);
|
|
1070
1070
|
/* Row rhythm → py-row-y / px-row-x / min-h-row utilities, so a hand-built row
|
|
1071
|
-
(a list item, a
|
|
1071
|
+
(a list item, a virtualized grid line) shares the exact rhythm `.cb-table`
|
|
1072
1072
|
uses and follows `.cb-dense` for free. */
|
|
1073
1073
|
--spacing-row-y: var(--row-pad-y);
|
|
1074
1074
|
--spacing-row-x: var(--row-pad-x);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A
|
|
2
|
+
* A color utility must name a color Tailwind can GENERATE — not merely a CSS variable
|
|
3
3
|
* that exists.
|
|
4
4
|
*
|
|
5
5
|
* ── The measurement this exists because of (2026-09-28) ─────────────────────
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* "the whole point is that it cannot hide") was invisible. Five files, one gap.
|
|
14
14
|
*
|
|
15
15
|
* ── The rule ─────────────────────────────────────────────────────────────────
|
|
16
|
-
* For every
|
|
16
|
+
* For every color-taking prefix (`bg-`, `text-`, `border-`, `ring-`, …) followed by a
|
|
17
17
|
* name that `theme.css` defines as a custom property, the `@theme` block must register
|
|
18
18
|
* `--<namespace>-<name>` for it. A name `theme.css` never defines (`text-sm`, `border-2`)
|
|
19
|
-
* is Tailwind's own and out of scope; a Tailwind PALETTE
|
|
19
|
+
* is Tailwind's own and out of scope; a Tailwind PALETTE color is `no-tailwind-palette`'s.
|
|
20
20
|
*/
|
|
21
21
|
import { describe, expect, test } from 'bun:test';
|
|
22
22
|
import { readdirSync, readFileSync, statSync } from 'node:fs';
|
|
@@ -26,7 +26,7 @@ import { RULES, setThemeCss } from '../scripts/guardrailsEnforce';
|
|
|
26
26
|
const ROOT = join(import.meta.dir, 'react');
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* The utilities in `source` that name a defined-but-unregistered
|
|
29
|
+
* The utilities in `source` that name a defined-but-unregistered color. One implementation:
|
|
30
30
|
* this is the guardrail rule `theme-colours-resolve`, which holds apps to the same check. With
|
|
31
31
|
* no app stylesheet it resolves against `theme.css` alone — exactly the belt's own situation.
|
|
32
32
|
*/
|
|
@@ -43,7 +43,7 @@ function files(dir: string): string[] {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
describe('every
|
|
46
|
+
describe('every color utility the belt uses resolves to a registered theme color', () => {
|
|
47
47
|
test('the check sees the 2026-09-28 shape, and passes the canonical names', () => {
|
|
48
48
|
expect(unresolvedColours("'border-primary/60 bg-primary/10 text-primary-foreground'")).toEqual([
|
|
49
49
|
'border-primary/60',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* that pane the `Control panel` section's value boxes and selects painted a LIGHT field on
|
|
7
7
|
* the dark card. `--field-bg: var(--background)` is declared at `:root`, and a custom
|
|
8
8
|
* property's `var()` is substituted where it is DECLARED: `<html>` resolved it against the
|
|
9
|
-
* light `--background` and every descendant inherited that
|
|
9
|
+
* light `--background` and every descendant inherited that color. A nested `.dark` re-binds
|
|
10
10
|
* `--background` but nothing re-ran the alias. Twenty-odd aliases had the same shape
|
|
11
11
|
* (`--surface-0`, `--text`, `--primary`, `--field-*`, …); `.cb-aurora` had already met it
|
|
12
12
|
* for the field tokens ("the one-indirection trap" in `theme.css`), `.dark` had not.
|
package/src/verifyGraph.spec.ts
CHANGED
|
@@ -74,7 +74,7 @@ const MUST_RUN = [
|
|
|
74
74
|
'lint',
|
|
75
75
|
// 🔴 Added 2026-09-23 with `no-raw-password` (task 077). This repo's own guardrails scan was
|
|
76
76
|
// in no command a gate ran, and it had been RED since task 269 gave every relative specifier
|
|
77
|
-
// its `.js`: `no-native-dialog` stopped
|
|
77
|
+
// its `.js`: `no-native-dialog` stopped recognizing DeleteButton's `'../confirm.js'` import
|
|
78
78
|
// as the belt's own `confirm`. The rules this package ships to five apps were not being
|
|
79
79
|
// applied to the package itself.
|
|
80
80
|
'guardrails:report',
|