@databricks/design-system 2.0.8 → 2.0.10
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/AGENTS.md +7 -7
- package/CHANGELOG.md +26 -0
- package/README.md +14 -3
- package/design-guidance/docs/README.md +42 -5
- package/design-guidance/docs/component-reference.md +100 -0
- package/design-guidance/docs/tokens.md +2 -2
- package/design-guidance/skills/dbui-build-screen.md +1 -1
- package/design-guidance/skills/dbui-check-guidelines.md +1 -1
- package/design-guidance/skills/dbui-pick-component.md +1 -1
- package/design-guidance/skills/dbui-pick-icon.md +1 -1
- package/design-guidance/skills/dbui-review.md +1 -1
- package/design-guidance/skills/dbui-validate.md +1 -1
- package/dist/{RHFControlledTypeaheadComboboxV2-Boee19c1.js → RHFControlledTypeaheadComboboxV2-B8Al2z1N.js} +4 -3
- package/dist/{RHFControlledTypeaheadComboboxV2-Boee19c1.js.map → RHFControlledTypeaheadComboboxV2-B8Al2z1N.js.map} +1 -1
- package/dist/{WizardStepContentWrapper-DfErft8z.js → WizardStepContentWrapper-D_OEwjUE.js} +1310 -492
- package/dist/WizardStepContentWrapper-D_OEwjUE.js.map +1 -0
- package/dist/all-styles.css +89 -0
- package/dist/assets/fonts/dm-mono/DMMono-Regular.woff2 +0 -0
- package/dist/assets/fonts/dm-mono/dm-mono.css +11 -0
- package/dist/assets/fonts/dm-sans/DMSans-variable.woff2 +0 -0
- package/dist/assets/fonts/dm-sans/dm-sans.css +11 -0
- package/dist/assets/graphics/dark/accessDeniedGraphic.svg +1 -0
- package/dist/assets/graphics/dark/auth0Graphic.svg +1 -0
- package/dist/assets/graphics/dark/auth0GraphicLarge.svg +73 -0
- package/dist/assets/graphics/dark/dataMaskiingGraphic.svg +1 -0
- package/dist/assets/graphics/dark/emptyDashboardGraphic.svg +9 -0
- package/dist/assets/graphics/dark/missingBranchGraphic.svg +1 -0
- package/dist/assets/graphics/dark/missingGraphic.svg +1 -0
- package/dist/assets/graphics/dark/outageGraphic.svg +11 -0
- package/dist/assets/graphics/dark/usageOverageGraphic.svg +1 -0
- package/dist/assets/graphics/dark/usageSpikeGraphic.svg +1 -0
- package/dist/assets/graphics/light/accessDeniedGraphic.svg +1 -0
- package/dist/assets/graphics/light/auth0Graphic.svg +1 -0
- package/dist/assets/graphics/light/auth0GraphicLarge.svg +73 -0
- package/dist/assets/graphics/light/dataMaskiingGraphic.svg +1 -0
- package/dist/assets/graphics/light/emptyDashboardGraphic.svg +1 -0
- package/dist/assets/graphics/light/missingBranchGraphic.svg +1 -0
- package/dist/assets/graphics/light/missingGraphic.svg +1 -0
- package/dist/assets/graphics/light/outageGraphic.svg +1 -0
- package/dist/assets/graphics/light/usageOverageGraphic.svg +1 -0
- package/dist/assets/graphics/light/usageSpikeGraphic.svg +1 -0
- package/dist/assets/icons/AZHorizontalIcon.svg +4 -0
- package/dist/assets/icons/AZVerticalIcon.svg +11 -0
- package/dist/assets/icons/AlignCenterIcon.svg +7 -0
- package/dist/assets/icons/AlignJustifyIcon.svg +3 -0
- package/dist/assets/icons/AlignLeftIcon.svg +7 -0
- package/dist/assets/icons/AlignRightIcon.svg +7 -0
- package/dist/assets/icons/AlignVerticalBottomIcon.svg +3 -0
- package/dist/assets/icons/AlignVerticalCenterIcon.svg +5 -0
- package/dist/assets/icons/AlignVerticalTopIcon.svg +3 -0
- package/dist/assets/icons/AppIcon.svg +3 -0
- package/dist/assets/icons/ArrowDownDotIcon.svg +4 -0
- package/dist/assets/icons/ArrowDownFillIcon.svg +3 -0
- package/dist/assets/icons/ArrowDownIcon.svg +3 -0
- package/dist/assets/icons/ArrowInIcon.svg +4 -0
- package/dist/assets/icons/ArrowInTableIcon.svg +4 -0
- package/dist/assets/icons/ArrowLeftIcon.svg +3 -0
- package/dist/assets/icons/ArrowOutTableIcon.svg +4 -0
- package/dist/assets/icons/ArrowOverIcon.svg +4 -0
- package/dist/assets/icons/ArrowRightIcon.svg +3 -0
- package/dist/assets/icons/ArrowUpDotIcon.svg +4 -0
- package/dist/assets/icons/ArrowUpFillIcon.svg +3 -0
- package/dist/assets/icons/ArrowUpIcon.svg +3 -0
- package/dist/assets/icons/ArrowsCollapseIcon.svg +4 -0
- package/dist/assets/icons/ArrowsConnectIcon.svg +6 -0
- package/dist/assets/icons/ArrowsExpandIcon.svg +4 -0
- package/dist/assets/icons/ArrowsUpDownIcon.svg +4 -0
- package/dist/assets/icons/AssistantIcon.svg +3 -0
- package/dist/assets/icons/AtIcon.svg +3 -0
- package/dist/assets/icons/BackupIcon.svg +3 -0
- package/dist/assets/icons/BadgeCodeIcon.svg +5 -0
- package/dist/assets/icons/BadgeCodeOffIcon.svg +5 -0
- package/dist/assets/icons/BarChartIcon.svg +7 -0
- package/dist/assets/icons/BarGroupedIcon.svg +4 -0
- package/dist/assets/icons/BarStackedIcon.svg +3 -0
- package/dist/assets/icons/BarStackedPercentageIcon.svg +3 -0
- package/dist/assets/icons/BarsAscendingHorizontalIcon.svg +5 -0
- package/dist/assets/icons/BarsAscendingVerticalIcon.svg +5 -0
- package/dist/assets/icons/BarsDescendingHorizontalIcon.svg +5 -0
- package/dist/assets/icons/BarsDescendingVerticalIcon.svg +5 -0
- package/dist/assets/icons/BeakerIcon.svg +3 -0
- package/dist/assets/icons/BinaryIcon.svg +3 -0
- package/dist/assets/icons/BlockQuoteIcon.svg +8 -0
- package/dist/assets/icons/BoldIcon.svg +3 -0
- package/dist/assets/icons/BookIcon.svg +3 -0
- package/dist/assets/icons/BookmarkFillIcon.svg +3 -0
- package/dist/assets/icons/BookmarkIcon.svg +3 -0
- package/dist/assets/icons/BooksIcon.svg +5 -0
- package/dist/assets/icons/BracketsCheckIcon.svg +5 -0
- package/dist/assets/icons/BracketsCurlyIcon.svg +4 -0
- package/dist/assets/icons/BracketsErrorIcon.svg +5 -0
- package/dist/assets/icons/BracketsSquareIcon.svg +3 -0
- package/dist/assets/icons/BracketsXIcon.svg +12 -0
- package/dist/assets/icons/BranchCheckIcon.svg +4 -0
- package/dist/assets/icons/BranchIcon.svg +3 -0
- package/dist/assets/icons/BranchResetIcon.svg +5 -0
- package/dist/assets/icons/BriefcaseFillIcon.svg +3 -0
- package/dist/assets/icons/BriefcaseIcon.svg +3 -0
- package/dist/assets/icons/BrushIcon.svg +3 -0
- package/dist/assets/icons/BugIcon.svg +3 -0
- package/dist/assets/icons/CalendarClockIcon.svg +5 -0
- package/dist/assets/icons/CalendarEventIcon.svg +4 -0
- package/dist/assets/icons/CalendarIcon.svg +3 -0
- package/dist/assets/icons/CalendarRangeIcon.svg +11 -0
- package/dist/assets/icons/CalendarSyncIcon.svg +5 -0
- package/dist/assets/icons/CameraIcon.svg +3 -0
- package/dist/assets/icons/CapitalizeIcon.svg +3 -0
- package/dist/assets/icons/CaretDownSquareIcon.svg +4 -0
- package/dist/assets/icons/CaretUpSquareIcon.svg +4 -0
- package/dist/assets/icons/CatalogCloudIcon.svg +4 -0
- package/dist/assets/icons/CatalogGearIcon.svg +11 -0
- package/dist/assets/icons/CatalogHomeIcon.svg +4 -0
- package/dist/assets/icons/CatalogIcon.svg +3 -0
- package/dist/assets/icons/CatalogOffIcon.svg +11 -0
- package/dist/assets/icons/CatalogSharedIcon.svg +4 -0
- package/dist/assets/icons/CatalogUserHomeIcon.svg +4 -0
- package/dist/assets/icons/CellsSquareIcon.svg +3 -0
- package/dist/assets/icons/CertifiedFillIcon.svg +3 -0
- package/dist/assets/icons/CertifiedFillSmallIcon.svg +3 -0
- package/dist/assets/icons/CertifiedIcon.svg +11 -0
- package/dist/assets/icons/ChainIcon.svg +4 -0
- package/dist/assets/icons/ChartLineIcon.svg +4 -0
- package/dist/assets/icons/ChatNewTabIcon.svg +3 -0
- package/dist/assets/icons/ChatSpinnerIcon.svg +3 -0
- package/dist/assets/icons/CheckCircleBadgeIcon.svg +5 -0
- package/dist/assets/icons/CheckCircleFillIcon.svg +3 -0
- package/dist/assets/icons/CheckCircleIcon.svg +4 -0
- package/dist/assets/icons/CheckCircleSmallIcon.svg +3 -0
- package/dist/assets/icons/CheckIcon.svg +3 -0
- package/dist/assets/icons/CheckLineIcon.svg +3 -0
- package/dist/assets/icons/CheckSmallIcon.svg +3 -0
- package/dist/assets/icons/CheckboxIcon.svg +4 -0
- package/dist/assets/icons/ChecklistIcon.svg +7 -0
- package/dist/assets/icons/ChevronDoubleDownIcon.svg +4 -0
- package/dist/assets/icons/ChevronDoubleLeftIcon.svg +4 -0
- package/dist/assets/icons/ChevronDoubleLeftOffIcon.svg +4 -0
- package/dist/assets/icons/ChevronDoubleRightIcon.svg +4 -0
- package/dist/assets/icons/ChevronDoubleRightOffIcon.svg +4 -0
- package/dist/assets/icons/ChevronDoubleUpIcon.svg +4 -0
- package/dist/assets/icons/ChevronDownIcon.svg +3 -0
- package/dist/assets/icons/ChevronLeftIcon.svg +3 -0
- package/dist/assets/icons/ChevronRightIcon.svg +3 -0
- package/dist/assets/icons/ChevronUpIcon.svg +3 -0
- package/dist/assets/icons/ChipIcon.svg +4 -0
- package/dist/assets/icons/CircleIcon.svg +3 -0
- package/dist/assets/icons/CircleOffIcon.svg +3 -0
- package/dist/assets/icons/CircleOffLargeIcon.svg +4 -0
- package/dist/assets/icons/CircleOutlineIcon.svg +3 -0
- package/dist/assets/icons/CircleOutlineLargeIcon.svg +3 -0
- package/dist/assets/icons/ClipboardIcon.svg +3 -0
- package/dist/assets/icons/ClockIcon.svg +4 -0
- package/dist/assets/icons/ClockKeyIcon.svg +5 -0
- package/dist/assets/icons/ClockOffIcon.svg +5 -0
- package/dist/assets/icons/CloseIcon.svg +3 -0
- package/dist/assets/icons/CloseSmallIcon.svg +3 -0
- package/dist/assets/icons/CloudCheckIcon.svg +4 -0
- package/dist/assets/icons/CloudDatabaseIcon.svg +4 -0
- package/dist/assets/icons/CloudDownloadIcon.svg +4 -0
- package/dist/assets/icons/CloudIcon.svg +3 -0
- package/dist/assets/icons/CloudKeyIcon.svg +3 -0
- package/dist/assets/icons/CloudModelIcon.svg +4 -0
- package/dist/assets/icons/CloudOffIcon.svg +4 -0
- package/dist/assets/icons/CloudUploadIcon.svg +4 -0
- package/dist/assets/icons/CodeIcon.svg +4 -0
- package/dist/assets/icons/ColorFillIcon.svg +3 -0
- package/dist/assets/icons/ColorMappingEditIcon.svg +6 -0
- package/dist/assets/icons/ColorMappingIcon.svg +6 -0
- package/dist/assets/icons/ColumnIcon.svg +3 -0
- package/dist/assets/icons/ColumnSplitIcon.svg +3 -0
- package/dist/assets/icons/ColumnTagIcon.svg +4 -0
- package/dist/assets/icons/ColumnsIcon.svg +3 -0
- package/dist/assets/icons/CommandIcon.svg +3 -0
- package/dist/assets/icons/CommandPaletteIcon.svg +3 -0
- package/dist/assets/icons/CompassIcon.svg +4 -0
- package/dist/assets/icons/ConnectIcon.svg +6 -0
- package/dist/assets/icons/CopyIcon.svg +3 -0
- package/dist/assets/icons/CreditCardIcon.svg +4 -0
- package/dist/assets/icons/CursorClickIcon.svg +7 -0
- package/dist/assets/icons/CursorIcon.svg +10 -0
- package/dist/assets/icons/CursorTypeIcon.svg +4 -0
- package/dist/assets/icons/CustomAppIcon.svg +4 -0
- package/dist/assets/icons/DAGHorizontalIcon.svg +3 -0
- package/dist/assets/icons/DAGIcon.svg +3 -0
- package/dist/assets/icons/DAGVerticalIcon.svg +3 -0
- package/dist/assets/icons/DangerFillIcon.svg +3 -0
- package/dist/assets/icons/DangerIcon.svg +5 -0
- package/dist/assets/icons/DangerSmallIcon.svg +3 -0
- package/dist/assets/icons/DashIcon.svg +3 -0
- package/dist/assets/icons/DashboardCodeIcon.svg +5 -0
- package/dist/assets/icons/DashboardIcon.svg +3 -0
- package/dist/assets/icons/DataIcon.svg +5 -0
- package/dist/assets/icons/DatabaseClockIcon.svg +4 -0
- package/dist/assets/icons/DatabaseIcon.svg +3 -0
- package/dist/assets/icons/DatabaseImportIcon.svg +4 -0
- package/dist/assets/icons/DecimalIcon.svg +5 -0
- package/dist/assets/icons/DeprecatedIcon.svg +3 -0
- package/dist/assets/icons/DeprecatedSmallIcon.svg +3 -0
- package/dist/assets/icons/DollarIcon.svg +4 -0
- package/dist/assets/icons/DomainCirclesThree.svg +5 -0
- package/dist/assets/icons/DomainsIcon.svg +5 -0
- package/dist/assets/icons/DotsCircleIcon.svg +13 -0
- package/dist/assets/icons/DownloadIcon.svg +4 -0
- package/dist/assets/icons/DragIcon.svg +8 -0
- package/dist/assets/icons/ERDIcon.svg +3 -0
- package/dist/assets/icons/ExpandLessIcon.svg +4 -0
- package/dist/assets/icons/ExpandMoreIcon.svg +4 -0
- package/dist/assets/icons/FaceFrownIcon.svg +13 -0
- package/dist/assets/icons/FaceNeutralIcon.svg +13 -0
- package/dist/assets/icons/FaceSmileIcon.svg +13 -0
- package/dist/assets/icons/FileCodeIcon.svg +5 -0
- package/dist/assets/icons/FileCubeIcon.svg +4 -0
- package/dist/assets/icons/FileDocumentIcon.svg +5 -0
- package/dist/assets/icons/FileIcon.svg +3 -0
- package/dist/assets/icons/FileImageIcon.svg +5 -0
- package/dist/assets/icons/FileLockIcon.svg +11 -0
- package/dist/assets/icons/FileModelIcon.svg +4 -0
- package/dist/assets/icons/FileNewIcon.svg +4 -0
- package/dist/assets/icons/FilePipelineIcon.svg +4 -0
- package/dist/assets/icons/FilterFillIcon.svg +3 -0
- package/dist/assets/icons/FilterIcon.svg +3 -0
- package/dist/assets/icons/FlagPointerIcon.svg +3 -0
- package/dist/assets/icons/FloatIcon.svg +5 -0
- package/dist/assets/icons/FlowIcon.svg +3 -0
- package/dist/assets/icons/FlowsIcon.svg +3 -0
- package/dist/assets/icons/FolderBranchFillIcon.svg +4 -0
- package/dist/assets/icons/FolderBranchIcon.svg +3 -0
- package/dist/assets/icons/FolderCloudFilledIcon.svg +11 -0
- package/dist/assets/icons/FolderCloudIcon.svg +11 -0
- package/dist/assets/icons/FolderCubeIcon.svg +4 -0
- package/dist/assets/icons/FolderCubeOutlineIcon.svg +4 -0
- package/dist/assets/icons/FolderFillIcon.svg +3 -0
- package/dist/assets/icons/FolderHomeIcon.svg +4 -0
- package/dist/assets/icons/FolderIcon.svg +3 -0
- package/dist/assets/icons/FolderNewIcon.svg +4 -0
- package/dist/assets/icons/FolderNodeIcon.svg +3 -0
- package/dist/assets/icons/FolderOpenBranchIcon.svg +4 -0
- package/dist/assets/icons/FolderOpenCloudIcon.svg +4 -0
- package/dist/assets/icons/FolderOpenCubeIcon.svg +4 -0
- package/dist/assets/icons/FolderOpenIcon.svg +3 -0
- package/dist/assets/icons/FolderOpenPipelineIcon.svg +4 -0
- package/dist/assets/icons/FolderOutlinePipelineIcon.svg +4 -0
- package/dist/assets/icons/FolderSolidPipelineIcon.svg +4 -0
- package/dist/assets/icons/FontIcon.svg +10 -0
- package/dist/assets/icons/ForkHorizontalIcon.svg +3 -0
- package/dist/assets/icons/ForkIcon.svg +3 -0
- package/dist/assets/icons/FullscreenExitIcon.svg +6 -0
- package/dist/assets/icons/FullscreenIcon.svg +6 -0
- package/dist/assets/icons/FunctionIcon.svg +10 -0
- package/dist/assets/icons/FunctionInputIcon.svg +6 -0
- package/dist/assets/icons/GavelIcon.svg +3 -0
- package/dist/assets/icons/GearFillIcon.svg +3 -0
- package/dist/assets/icons/GearIcon.svg +11 -0
- package/dist/assets/icons/GenieCodeIcon.svg +3 -0
- package/dist/assets/icons/GenieDeepResearchIcon.svg +6 -0
- package/dist/assets/icons/GiftIcon.svg +3 -0
- package/dist/assets/icons/GitCommitIcon.svg +3 -0
- package/dist/assets/icons/GitMergeIcon.svg +3 -0
- package/dist/assets/icons/GitRebaseIcon.svg +4 -0
- package/dist/assets/icons/GlobeIcon.svg +10 -0
- package/dist/assets/icons/GridDashIcon.svg +10 -0
- package/dist/assets/icons/GridIcon.svg +6 -0
- package/dist/assets/icons/GroupIcon.svg +12 -0
- package/dist/assets/icons/H1Icon.svg +4 -0
- package/dist/assets/icons/H2Icon.svg +4 -0
- package/dist/assets/icons/H3Icon.svg +4 -0
- package/dist/assets/icons/H4Icon.svg +4 -0
- package/dist/assets/icons/H5Icon.svg +4 -0
- package/dist/assets/icons/H6Icon.svg +4 -0
- package/dist/assets/icons/HashIcon.svg +3 -0
- package/dist/assets/icons/HistoryIcon.svg +11 -0
- package/dist/assets/icons/HomeIcon.svg +3 -0
- package/dist/assets/icons/ImageIcon.svg +4 -0
- package/dist/assets/icons/IndentDecreaseIcon.svg +7 -0
- package/dist/assets/icons/IndentIncreaseIcon.svg +7 -0
- package/dist/assets/icons/InfinityIcon.svg +3 -0
- package/dist/assets/icons/InfoBookIcon.svg +5 -0
- package/dist/assets/icons/InfoFillIcon.svg +3 -0
- package/dist/assets/icons/InfoIcon.svg +3 -0
- package/dist/assets/icons/InfoSmallIcon.svg +5 -0
- package/dist/assets/icons/IngestionIcon.svg +4 -0
- package/dist/assets/icons/ItalicIcon.svg +3 -0
- package/dist/assets/icons/JoinOperatorIcon.svg +3 -0
- package/dist/assets/icons/KeyIcon.svg +3 -0
- package/dist/assets/icons/KeyboardIcon.svg +3 -0
- package/dist/assets/icons/LakebaseCatalogIcon.svg +4 -0
- package/dist/assets/icons/LakebaseIcon.svg +3 -0
- package/dist/assets/icons/LakeflowDesignerIcon.svg +3 -0
- package/dist/assets/icons/LakewatchAlertIcon.svg +4 -0
- package/dist/assets/icons/LakewatchDatasourceIcon.svg +3 -0
- package/dist/assets/icons/LakewatchDetectionRuleIcon.svg +3 -0
- package/dist/assets/icons/LakewatchIcon.svg +4 -0
- package/dist/assets/icons/LakewatchParserIcon.svg +16 -0
- package/dist/assets/icons/LayerGraphIcon.svg +5 -0
- package/dist/assets/icons/LayerIcon.svg +5 -0
- package/dist/assets/icons/LeafIcon.svg +3 -0
- package/dist/assets/icons/LetterFormatIcon.svg +5 -0
- package/dist/assets/icons/LettersIcon.svg +5 -0
- package/dist/assets/icons/LettersNumbersIcon.svg +8 -0
- package/dist/assets/icons/LibrariesIcon.svg +5 -0
- package/dist/assets/icons/LifesaverIcon.svg +3 -0
- package/dist/assets/icons/LightbulbIcon.svg +8 -0
- package/dist/assets/icons/LightningCircleFillIcon.svg +3 -0
- package/dist/assets/icons/LightningIcon.svg +3 -0
- package/dist/assets/icons/LinearLineIcon.svg +3 -0
- package/dist/assets/icons/LinkIcon.svg +5 -0
- package/dist/assets/icons/LinkOffIcon.svg +5 -0
- package/dist/assets/icons/ListBorderIcon.svg +9 -0
- package/dist/assets/icons/ListClearIcon.svg +13 -0
- package/dist/assets/icons/ListIcon.svg +6 -0
- package/dist/assets/icons/ListNumberIcon.svg +6 -0
- package/dist/assets/icons/LoadingIcon.svg +5 -0
- package/dist/assets/icons/LockFillIcon.svg +3 -0
- package/dist/assets/icons/LockIcon.svg +4 -0
- package/dist/assets/icons/LockShareIcon.svg +4 -0
- package/dist/assets/icons/LockUnlockedIcon.svg +4 -0
- package/dist/assets/icons/LoopIcon.svg +3 -0
- package/dist/assets/icons/LowercaseIcon.svg +4 -0
- package/dist/assets/icons/MailIcon.svg +3 -0
- package/dist/assets/icons/MapIcon.svg +3 -0
- package/dist/assets/icons/MarkdownIcon.svg +4 -0
- package/dist/assets/icons/McpIcon.svg +11 -0
- package/dist/assets/icons/MeasureIcon.svg +3 -0
- package/dist/assets/icons/MegaphoneIcon.svg +3 -0
- package/dist/assets/icons/MenuIcon.svg +3 -0
- package/dist/assets/icons/MicrophoneIcon.svg +4 -0
- package/dist/assets/icons/MicrophoneOffIcon.svg +5 -0
- package/dist/assets/icons/MinusCircleFillIcon.svg +3 -0
- package/dist/assets/icons/MinusCircleIcon.svg +4 -0
- package/dist/assets/icons/MinusCircleSmallIcon.svg +4 -0
- package/dist/assets/icons/MinusSquareIcon.svg +4 -0
- package/dist/assets/icons/ModelsIcon.svg +10 -0
- package/dist/assets/icons/MonotoneLineIcon.svg +3 -0
- package/dist/assets/icons/MoonIcon.svg +3 -0
- package/dist/assets/icons/NeonProjectIcon.svg +4 -0
- package/dist/assets/icons/NewChatIcon.svg +4 -0
- package/dist/assets/icons/NewTabIcon.svg +4 -0
- package/dist/assets/icons/NewWindowIcon.svg +4 -0
- package/dist/assets/icons/NoCaseIcon.svg +4 -0
- package/dist/assets/icons/NoIcon.svg +3 -0
- package/dist/assets/icons/NotebookIcon.svg +3 -0
- package/dist/assets/icons/NotebookPipelineIcon.svg +4 -0
- package/dist/assets/icons/NotificationIcon.svg +3 -0
- package/dist/assets/icons/NotificationOffIcon.svg +3 -0
- package/dist/assets/icons/NumberFormatIcon.svg +5 -0
- package/dist/assets/icons/NumbersIcon.svg +5 -0
- package/dist/assets/icons/OfficeIcon.svg +6 -0
- package/dist/assets/icons/OntologyIcon.svg +5 -0
- package/dist/assets/icons/OperatorIcon.svg +4 -0
- package/dist/assets/icons/OverflowHorizontalIcon.svg +3 -0
- package/dist/assets/icons/OverflowIcon.svg +5 -0
- package/dist/assets/icons/PageBottomIcon.svg +3 -0
- package/dist/assets/icons/PageFirstIcon.svg +3 -0
- package/dist/assets/icons/PageIcon.svg +6 -0
- package/dist/assets/icons/PageLastIcon.svg +3 -0
- package/dist/assets/icons/PageTopIcon.svg +3 -0
- package/dist/assets/icons/PanelDockedIcon.svg +3 -0
- package/dist/assets/icons/PanelFloatingIcon.svg +3 -0
- package/dist/assets/icons/PaperclipIcon.svg +3 -0
- package/dist/assets/icons/PassFailChecklistIcon.svg +7 -0
- package/dist/assets/icons/PauseIcon.svg +3 -0
- package/dist/assets/icons/PencilFillIcon.svg +3 -0
- package/dist/assets/icons/PencilIcon.svg +3 -0
- package/dist/assets/icons/PencilSparkleIcon.svg +5 -0
- package/dist/assets/icons/PieChartIcon.svg +4 -0
- package/dist/assets/icons/PinCancelIcon.svg +4 -0
- package/dist/assets/icons/PinFillIcon.svg +3 -0
- package/dist/assets/icons/PinIcon.svg +3 -0
- package/dist/assets/icons/PipelineCodeIcon.svg +5 -0
- package/dist/assets/icons/PipelineCubeIcon.svg +4 -0
- package/dist/assets/icons/PipelineIcon.svg +3 -0
- package/dist/assets/icons/PivotOperatorIcon.svg +4 -0
- package/dist/assets/icons/PlayCircleFillIcon.svg +3 -0
- package/dist/assets/icons/PlayCircleIcon.svg +4 -0
- package/dist/assets/icons/PlayDoubleIcon.svg +4 -0
- package/dist/assets/icons/PlayIcon.svg +3 -0
- package/dist/assets/icons/PlayMultipleIcon.svg +3 -0
- package/dist/assets/icons/PlugIcon.svg +4 -0
- package/dist/assets/icons/PlusCircleFillIcon.svg +3 -0
- package/dist/assets/icons/PlusCircleIcon.svg +4 -0
- package/dist/assets/icons/PlusCircleSmallIcon.svg +4 -0
- package/dist/assets/icons/PlusIcon.svg +3 -0
- package/dist/assets/icons/PlusMinusSquareIcon.svg +5 -0
- package/dist/assets/icons/PlusSquareIcon.svg +4 -0
- package/dist/assets/icons/PositionBottomIcon.svg +4 -0
- package/dist/assets/icons/PositionLeftIcon.svg +4 -0
- package/dist/assets/icons/PositionRightIcon.svg +4 -0
- package/dist/assets/icons/PositionTopIcon.svg +4 -0
- package/dist/assets/icons/PullRequestIcon.svg +4 -0
- package/dist/assets/icons/PuzzleIcon.svg +3 -0
- package/dist/assets/icons/QueryEditorIcon.svg +5 -0
- package/dist/assets/icons/QueryIcon.svg +12 -0
- package/dist/assets/icons/QuestionMarkFillIcon.svg +3 -0
- package/dist/assets/icons/QuestionMarkIcon.svg +5 -0
- package/dist/assets/icons/RadioIcon.svg +3 -0
- package/dist/assets/icons/ReaderModeIcon.svg +6 -0
- package/dist/assets/icons/RedoIcon.svg +10 -0
- package/dist/assets/icons/RefreshIcon.svg +3 -0
- package/dist/assets/icons/RefreshPlayIcon.svg +4 -0
- package/dist/assets/icons/RefreshXIcon.svg +4 -0
- package/dist/assets/icons/ReplyIcon.svg +8 -0
- package/dist/assets/icons/ResizeIcon.svg +3 -0
- package/dist/assets/icons/RichTextIcon.svg +8 -0
- package/dist/assets/icons/RobotIcon.svg +3 -0
- package/dist/assets/icons/RocketIcon.svg +4 -0
- package/dist/assets/icons/RowsIcon.svg +3 -0
- package/dist/assets/icons/RunIcon.svg +3 -0
- package/dist/assets/icons/RunningIcon.svg +10 -0
- package/dist/assets/icons/SQLIcon.svg +6 -0
- package/dist/assets/icons/SaveClockIcon.svg +5 -0
- package/dist/assets/icons/SaveIcon.svg +4 -0
- package/dist/assets/icons/SchemaIcon.svg +3 -0
- package/dist/assets/icons/SchoolIcon.svg +3 -0
- package/dist/assets/icons/SearchDataIcon.svg +6 -0
- package/dist/assets/icons/SearchIcon.svg +10 -0
- package/dist/assets/icons/SendIcon.svg +3 -0
- package/dist/assets/icons/ShareIcon.svg +4 -0
- package/dist/assets/icons/ShareNodesIcon.svg +3 -0
- package/dist/assets/icons/ShieldCheckIcon.svg +3 -0
- package/dist/assets/icons/ShieldIcon.svg +3 -0
- package/dist/assets/icons/ShieldOffIcon.svg +4 -0
- package/dist/assets/icons/ShortcutIcon.svg +4 -0
- package/dist/assets/icons/SidebarAutoIcon.svg +5 -0
- package/dist/assets/icons/SidebarClosedIcon.svg +4 -0
- package/dist/assets/icons/SidebarCollapseIcon.svg +4 -0
- package/dist/assets/icons/SidebarExpandIcon.svg +4 -0
- package/dist/assets/icons/SidebarIcon.svg +3 -0
- package/dist/assets/icons/SidebarOpenIcon.svg +3 -0
- package/dist/assets/icons/SidebarSyncIcon.svg +4 -0
- package/dist/assets/icons/SlashSquareIcon.svg +4 -0
- package/dist/assets/icons/SlidersIcon.svg +4 -0
- package/dist/assets/icons/SlidesIcon.svg +4 -0
- package/dist/assets/icons/SnippetIcon.svg +4 -0
- package/dist/assets/icons/SortAscendingIcon.svg +6 -0
- package/dist/assets/icons/SortCustomHorizontalIcon.svg +4 -0
- package/dist/assets/icons/SortCustomVerticalIcon.svg +4 -0
- package/dist/assets/icons/SortDescendingIcon.svg +3 -0
- package/dist/assets/icons/SortHorizontalAscendingIcon.svg +3 -0
- package/dist/assets/icons/SortHorizontalDescendingIcon.svg +3 -0
- package/dist/assets/icons/SortLetterHorizontalAscendingIcon.svg +12 -0
- package/dist/assets/icons/SortLetterHorizontalDescendingIcon.svg +12 -0
- package/dist/assets/icons/SortLetterUnsortedIcon.svg +5 -0
- package/dist/assets/icons/SortLetterVerticalAscendingIcon.svg +12 -0
- package/dist/assets/icons/SortLetterVerticalDescendingIcon.svg +12 -0
- package/dist/assets/icons/SortUnsortedIcon.svg +6 -0
- package/dist/assets/icons/SparkleDoubleFillIcon.svg +4 -0
- package/dist/assets/icons/SparkleDoubleIcon.svg +5 -0
- package/dist/assets/icons/SparkleFillIcon.svg +3 -0
- package/dist/assets/icons/SparkleIcon.svg +3 -0
- package/dist/assets/icons/SparkleRectangleIcon.svg +3 -0
- package/dist/assets/icons/SpeechBubbleIcon.svg +6 -0
- package/dist/assets/icons/SpeechBubblePlusIcon.svg +4 -0
- package/dist/assets/icons/SpeechBubbleQuestionMarkFillIcon.svg +3 -0
- package/dist/assets/icons/SpeechBubbleQuestionMarkIcon.svg +3 -0
- package/dist/assets/icons/SpeechBubbleStarIcon.svg +4 -0
- package/dist/assets/icons/SpeedometerIcon.svg +4 -0
- package/dist/assets/icons/StarFillIcon.svg +3 -0
- package/dist/assets/icons/StarIcon.svg +3 -0
- package/dist/assets/icons/StepAfterLineIcon.svg +3 -0
- package/dist/assets/icons/StepBeforeLineIcon.svg +3 -0
- package/dist/assets/icons/StopCircleFillIcon.svg +3 -0
- package/dist/assets/icons/StopCircleIcon.svg +3 -0
- package/dist/assets/icons/StopIcon.svg +3 -0
- package/dist/assets/icons/StoredProcedureIcon.svg +7 -0
- package/dist/assets/icons/StorefrontIcon.svg +3 -0
- package/dist/assets/icons/StreamIcon.svg +3 -0
- package/dist/assets/icons/StrikeThroughIcon.svg +4 -0
- package/dist/assets/icons/SunIcon.svg +11 -0
- package/dist/assets/icons/SyncIcon.svg +4 -0
- package/dist/assets/icons/SyncSmallIcon.svg +4 -0
- package/dist/assets/icons/SyncToFileIcon.svg +4 -0
- package/dist/assets/icons/TableAsteriskIcon.svg +4 -0
- package/dist/assets/icons/TableClockIcon.svg +4 -0
- package/dist/assets/icons/TableCombineIcon.svg +5 -0
- package/dist/assets/icons/TableGlassesIcon.svg +4 -0
- package/dist/assets/icons/TableGlobeIcon.svg +4 -0
- package/dist/assets/icons/TableIcon.svg +3 -0
- package/dist/assets/icons/TableLightningIcon.svg +4 -0
- package/dist/assets/icons/TableMeasureIcon.svg +4 -0
- package/dist/assets/icons/TableModelIcon.svg +4 -0
- package/dist/assets/icons/TableReportIcon.svg +4 -0
- package/dist/assets/icons/TableStreamIcon.svg +5 -0
- package/dist/assets/icons/TableVectorIcon.svg +10 -0
- package/dist/assets/icons/TableViewIcon.svg +11 -0
- package/dist/assets/icons/TagColumnIcon.svg +5 -0
- package/dist/assets/icons/TagIcon.svg +4 -0
- package/dist/assets/icons/TagTableIcon.svg +5 -0
- package/dist/assets/icons/TargetIcon.svg +7 -0
- package/dist/assets/icons/TerminalIcon.svg +5 -0
- package/dist/assets/icons/TextBoxIcon.svg +3 -0
- package/dist/assets/icons/TextColorIcon.svg +3 -0
- package/dist/assets/icons/TextIcon.svg +3 -0
- package/dist/assets/icons/TextJustifyIcon.svg +7 -0
- package/dist/assets/icons/TextUnderlineIcon.svg +5 -0
- package/dist/assets/icons/ThreeDotsIcon.svg +3 -0
- package/dist/assets/icons/ThumbsDownFilledIcon.svg +5 -0
- package/dist/assets/icons/ThumbsDownIcon.svg +10 -0
- package/dist/assets/icons/ThumbsUpFilledIcon.svg +3 -0
- package/dist/assets/icons/ThumbsUpIcon.svg +10 -0
- package/dist/assets/icons/TokenIcon.svg +8 -0
- package/dist/assets/icons/TrashIcon.svg +3 -0
- package/dist/assets/icons/TreeIcon.svg +3 -0
- package/dist/assets/icons/TrendingFillIcon.svg +3 -0
- package/dist/assets/icons/TrendingIcon.svg +3 -0
- package/dist/assets/icons/TriangleIcon.svg +3 -0
- package/dist/assets/icons/UnderlineIcon.svg +4 -0
- package/dist/assets/icons/UndoIcon.svg +10 -0
- package/dist/assets/icons/UploadIcon.svg +4 -0
- package/dist/assets/icons/UppercaseIcon.svg +4 -0
- package/dist/assets/icons/UsbIcon.svg +3 -0
- package/dist/assets/icons/UserBadgeIcon.svg +4 -0
- package/dist/assets/icons/UserCircleIcon.svg +4 -0
- package/dist/assets/icons/UserGroupFillIcon.svg +3 -0
- package/dist/assets/icons/UserGroupIcon.svg +5 -0
- package/dist/assets/icons/UserIcon.svg +4 -0
- package/dist/assets/icons/UserKeyIconIcon.svg +5 -0
- package/dist/assets/icons/UserShieldIcon.svg +4 -0
- package/dist/assets/icons/UserSparkleIcon.svg +5 -0
- package/dist/assets/icons/UserTeamIcon.svg +8 -0
- package/dist/assets/icons/VisibleFillIcon.svg +10 -0
- package/dist/assets/icons/VisibleIcon.svg +11 -0
- package/dist/assets/icons/VisibleOffIcon.svg +12 -0
- package/dist/assets/icons/VoiceModeIcon.svg +7 -0
- package/dist/assets/icons/WarningFillIcon.svg +3 -0
- package/dist/assets/icons/WarningIcon.svg +5 -0
- package/dist/assets/icons/WorkflowCodeIcon.svg +5 -0
- package/dist/assets/icons/WorkflowCubeIcon.svg +5 -0
- package/dist/assets/icons/WorkflowsIcon.svg +3 -0
- package/dist/assets/icons/WorkspacesIcon.svg +4 -0
- package/dist/assets/icons/WrenchIcon.svg +3 -0
- package/dist/assets/icons/WrenchSparkleIcon.svg +5 -0
- package/dist/assets/icons/XCircleFillIcon.svg +3 -0
- package/dist/assets/icons/XCircleIcon.svg +4 -0
- package/dist/assets/icons/ZAHorizontalIcon.svg +4 -0
- package/dist/assets/icons/ZAVerticalIcon.svg +4 -0
- package/dist/assets/icons/ZeroOpsIcon.svg +3 -0
- package/dist/assets/icons/ZeroOpsOutlineIcon.svg +3 -0
- package/dist/assets/icons/ZoomInIcon.svg +4 -0
- package/dist/assets/icons/ZoomMarqueeSelection.svg +8 -0
- package/dist/assets/icons/ZoomOutIcon.svg +4 -0
- package/dist/assets/icons/ZoomToFitIcon.svg +6 -0
- package/dist/design-system/Avatar/tokens.css +28 -0
- package/dist/design-system/Banner/tokens.css +0 -0
- package/dist/design-system/Breadcrumb/NativeBreadcrumb.css +43 -0
- package/dist/design-system/Breadcrumb/breadcrumb.less +8 -0
- package/dist/design-system/Breadcrumb/tokens.css +13 -0
- package/dist/design-system/Button/NativeButton.css +370 -0
- package/dist/design-system/Button/tokens.css +56 -0
- package/dist/design-system/Card/tokens.css +29 -0
- package/dist/design-system/Checkbox/NativeCheckbox.css +258 -0
- package/dist/design-system/Checkbox/tokens.css +37 -0
- package/dist/design-system/ContextMenu/tokens.css +18 -0
- package/dist/design-system/DialogCombobox/tokens.css +78 -0
- package/dist/design-system/Drawer/tokens.css +30 -0
- package/dist/design-system/DropdownMenu/tokens.css +23 -0
- package/dist/design-system/Empty/tokens.css +11 -0
- package/dist/design-system/Form/tokens.css +0 -0
- package/dist/design-system/FormMessage/tokens.css +0 -0
- package/dist/design-system/FormV2/tokens.css +0 -0
- package/dist/design-system/Header/tokens.css +10 -0
- package/dist/design-system/Hint/tokens.css +0 -0
- package/dist/design-system/HoverCard/tokens.css +26 -0
- package/dist/design-system/Icon/NativeIcon.css +97 -0
- package/dist/design-system/Icon/generator/CalendarRangeIcon.png +0 -0
- package/dist/design-system/Icon/tokens.css +12 -0
- package/dist/design-system/Input/NativeInput.css +111 -0
- package/dist/design-system/Input/group/NativeGroup.css +51 -0
- package/dist/design-system/Input/textarea/NativeTextArea.css +27 -0
- package/dist/design-system/Label/tokens.css +0 -0
- package/dist/design-system/LegacyNotification/notification.less +45 -0
- package/dist/design-system/Listbox/tokens.css +15 -0
- package/dist/design-system/Modal/tokens.css +42 -0
- package/dist/design-system/NavigationMenu/tokens.css +23 -0
- package/dist/design-system/Notification/tokens.css +35 -0
- package/dist/design-system/Overflow/tokens.css +11 -0
- package/dist/design-system/PageWrapper/tokens.css +14 -0
- package/dist/design-system/PillControl/tokens.css +73 -0
- package/dist/design-system/Popover/tokens.css +29 -0
- package/dist/design-system/PreviewCard/tokens.css +46 -0
- package/dist/design-system/Progress/tokens.css +17 -0
- package/dist/design-system/Radio/NativeRadio.css +323 -0
- package/dist/design-system/Radio/tokens.css +37 -0
- package/dist/design-system/ResourceStatusIndicator/tokens.css +5 -0
- package/dist/design-system/Select/tokens.css +0 -0
- package/dist/design-system/Sidebar/tokens.css +36 -0
- package/dist/design-system/Skeleton/tokens.css +0 -0
- package/dist/design-system/Slider/tokens.css +22 -0
- package/dist/design-system/SnackBar/tokens.css +37 -0
- package/dist/design-system/Spacer/tokens.css +11 -0
- package/dist/design-system/Spinner/tokens.css +0 -0
- package/dist/design-system/Stepper/tokens.css +0 -0
- package/dist/design-system/Switch/NativeSwitch.css +172 -0
- package/dist/design-system/Switch/switch.less +93 -0
- package/dist/design-system/Switch/tokens.css +38 -0
- package/dist/design-system/Tabs/tokens.css +52 -0
- package/dist/design-system/Tag/tokens.css +0 -0
- package/dist/design-system/ToggleButton/tokens.css +36 -0
- package/dist/design-system/Toolbar/tokens.css +23 -0
- package/dist/design-system/Tooltip/tokens.css +44 -0
- package/dist/design-system/_shared_/Menu/tokens.css +42 -0
- package/dist/design-system/general-overrides.less +33 -0
- package/dist/design-system/utils/debug.less +4 -0
- package/dist/design-tokens/family-tokens/actions-tokens.css +29 -0
- package/dist/design-tokens/family-tokens/cards-tokens.css +10 -0
- package/dist/design-tokens/family-tokens/inputs-tokens.css +43 -0
- package/dist/design-tokens/family-tokens/lists-tokens.css +26 -0
- package/dist/design-tokens/family-tokens/popups-tokens.css +13 -0
- package/dist/design-tokens/family-tokens/selection-toggles-tokens.css +34 -0
- package/dist/design-tokens/system-tokens/colors-dark-tokens.css +103 -0
- package/dist/design-tokens/system-tokens/colors-light-tokens.css +103 -0
- package/dist/design-tokens/system-tokens/density-tokens.css +28 -0
- package/dist/design-tokens/system-tokens/elevation-tokens.css +6 -0
- package/dist/design-tokens/system-tokens/focus-ring-tokens.css +5 -0
- package/dist/design-tokens/system-tokens/shape-tokens.css +8 -0
- package/dist/design-tokens/system-tokens/typography-tokens.css +24 -0
- package/dist/dubois-colors.less +2 -0
- package/dist/icon-metadata.json +8 -0
- package/dist/{index-CUzS-Vjx.js → index-CKurXbfF.js} +339 -204
- package/dist/index-CKurXbfF.js.map +1 -0
- package/dist/index-dark.css +578 -51
- package/dist/index-dark.mitigated.css +578 -51
- package/dist/index.css +819 -51
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mitigated.css +819 -51
- package/dist/mcp.mjs +23232 -0
- package/dist/mortar/action.css +93 -0
- package/dist/mortar/input.css +86 -0
- package/dist/mortar/layout.css +57 -0
- package/dist/mortar/typography.css +72 -0
- package/dist/patterns.js +2 -1
- package/dist/patterns.js.map +1 -1
- package/dist/rollup/noop.less +0 -0
- package/dist/test-utils/rtl.js +2 -2
- package/dist/test-utils/rtl.js.map +1 -1
- package/dist/tokens-groups/system-tokens.css +139 -0
- package/dist/tokens-groups/system-tokens.dark.css +126 -0
- package/dist-types/design-system/Breadcrumb/AntDBreadcrumbInternal.d.ts +5 -0
- package/dist-types/design-system/Breadcrumb/Breadcrumb.d.ts +25 -7
- package/dist-types/design-system/Breadcrumb/NativeBreadcrumb.d.ts +5 -0
- package/dist-types/design-system/Button/getBtnClassName.d.ts +1 -1
- package/dist-types/design-system/Card/Card.d.ts +1 -1
- package/dist-types/design-system/DatePicker/DatePicker.d.ts +1 -1
- package/dist-types/design-system/DatePicker/LegacyDatePicker.d.ts +1 -1
- package/dist-types/design-system/DesignSystemProvider/DesignSystemProvider.d.ts +11 -2
- package/dist-types/design-system/DesignSystemProvider/DesignTokenScopeWithEmotionTheme.d.ts +3 -1
- package/dist-types/design-system/DropdownMenu/HintColumn.d.ts +2 -3
- package/dist-types/design-system/Form/Form.d.ts +1 -1
- package/dist-types/design-system/FormV2/index.d.ts +1 -0
- package/dist-types/design-system/Grid/NativeCol.d.ts +1 -1
- package/dist-types/design-system/Grid/NativeRow.d.ts +3 -3
- package/dist-types/design-system/Grid/rowConstants.d.ts +1 -1
- package/dist-types/design-system/Grid/types.d.ts +2 -2
- package/dist-types/design-system/Header/Header.d.ts +1 -1
- package/dist-types/design-system/Icon/LegacyAntDIcon.d.ts +1 -1
- package/dist-types/design-system/Icon/__generated/icons/ChatNewTabIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/ChatSpinnerIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/index.d.ts +2 -0
- package/dist-types/design-system/Input/AntDInput.d.ts +26 -0
- package/dist-types/design-system/Input/Input.d.ts +7 -25
- package/dist-types/design-system/Input/NativeInput.d.ts +4 -0
- package/dist-types/design-system/Input/force-mode.d.ts +13 -0
- package/dist-types/design-system/Input/group/AntDGroup.d.ts +2 -0
- package/dist-types/design-system/Input/group/Group.d.ts +28 -0
- package/dist-types/design-system/Input/group/NativeGroup.d.ts +2 -0
- package/dist-types/design-system/Input/index-defs.d.ts +3 -3
- package/dist-types/design-system/Input/index.d.ts +7 -2
- package/dist-types/design-system/Input/input-container-styling.d.ts +13 -0
- package/dist-types/design-system/Input/input-focus.d.ts +8 -0
- package/dist-types/design-system/Input/input-props.d.ts +37 -0
- package/dist-types/design-system/Input/input-refs.d.ts +22 -0
- package/dist-types/design-system/Input/password/AntDPassword.d.ts +4 -0
- package/dist-types/design-system/Input/password/NativePassword.d.ts +4 -0
- package/dist-types/design-system/Input/password/Password.d.ts +15 -0
- package/dist-types/design-system/Input/testing/keyboard-input.d.ts +9 -0
- package/dist-types/design-system/Input/textarea/AntDTextArea.d.ts +4 -0
- package/dist-types/design-system/Input/textarea/NativeTextArea.d.ts +4 -0
- package/dist-types/design-system/Input/textarea/TextArea.d.ts +27 -0
- package/dist-types/design-system/Input/textarea/useTextAreaAutoSize.d.ts +22 -0
- package/dist-types/design-system/Input/useInputClearHandler.d.ts +20 -0
- package/dist-types/design-system/Input/useTextFieldAnalytics.d.ts +23 -0
- package/dist-types/design-system/Input/useTextFieldFocusHandler.d.ts +9 -0
- package/dist-types/design-system/Input/useTextFieldKeyHandlers.d.ts +31 -0
- package/dist-types/design-system/Skeleton/GenericSkeleton.d.ts +1 -2
- package/dist-types/design-system/SplitButton/SplitButton.d.ts +1 -1
- package/dist-types/design-system/TypeaheadComboboxV2/hooks/useComboboxState.d.ts +18 -1
- package/dist-types/design-system/TypeaheadComboboxV2/hooks/useComboboxStateProps.d.ts +2 -1
- package/dist-types/design-system/TypeaheadComboboxV2/providers/TypeaheadComboboxContext.d.ts +4 -0
- package/dist-types/design-system/utils/security/url-safety.d.ts +2 -5
- package/dist-types/maybe-mitigate-expensive-selectors/mitigateExpensiveSelectorsMonacoPkgrPlugins.d.ts +1 -1
- package/dist-types/mcp/server.d.ts +3 -0
- package/dist-types/test-utils/rtl/switch.d.ts +1 -1
- package/dist-types/test-utils/rtl/table.d.ts +1 -1
- package/dist-types/theme/_generated/ValidSemanticColors.d.ts +1 -0
- package/package.json +27 -6
- package/processes/process-runner.js +19 -0
- package/processes/spawn-process-runner.js +67 -0
- package/scaffold-agents.md +3 -0
- package/scaffold_tool/src/dependency-installer.js +52 -0
- package/scaffold_tool/src/file-system.js +2 -0
- package/scaffold_tool/src/get-progress-reporter.js +10 -0
- package/scaffold_tool/src/listr-progress-reporter.js +93 -0
- package/scaffold_tool/src/local-main.js +50 -0
- package/scaffold_tool/src/local-package-builder.js +101 -0
- package/scaffold_tool/src/main.js +47 -0
- package/scaffold_tool/src/node-file-system.js +33 -0
- package/scaffold_tool/src/package-manifest.js +40 -0
- package/scaffold_tool/src/progress-reporter.js +2 -0
- package/scaffold_tool/src/project-configurator.js +139 -0
- package/scaffold_tool/src/project-inspector.js +74 -0
- package/scaffold_tool/src/project-templates.js +191 -0
- package/scaffold_tool/src/readline-terminal.js +23 -0
- package/scaffold_tool/src/scaffold-config.js +18 -0
- package/scaffold_tool/src/scaffold-options.js +99 -0
- package/scaffold_tool/src/scaffold-theme.js +33 -0
- package/scaffold_tool/src/scaffold-tool.js +127 -0
- package/scaffold_tool/src/terminal-progress-reporter.js +39 -0
- package/scaffold_tool/src/terminal.js +2 -0
- package/scaffold_tool/src/theme-picker-templates.js +191 -0
- package/scaffold_tool/src/theme-templates.js +157 -0
- package/scaffold_tool/src/themes/base.js +143 -0
- package/scaffold_tool/src/themes/genie-one.js +36 -0
- package/scaffold_tool/src/themes/shadcn.js +135 -0
- package/dist/WizardStepContentWrapper-DfErft8z.js.map +0 -1
- package/dist/index-CUzS-Vjx.js.map +0 -1
- package/dist-types/design-system/Input/Group.d.ts +0 -2
- package/dist-types/design-system/Input/Password.d.ts +0 -3
- package/dist-types/design-system/Input/TextArea.d.ts +0 -4
- package/dist-types/design-system/Input/common.d.ts +0 -25
- package/setup.mjs +0 -586
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
/* Native-input <Radio> styles. Classic CSS only — no native nesting (the
|
|
2
|
+
* `&`-style nesting feature ships in Chrome/Edge 120, Safari 17.2, Firefox 117
|
|
3
|
+
* which leaves a non-trivial slice of our production traffic uncovered today;
|
|
4
|
+
* see PR #1954620 thread). `:has()` lookups are still used to read state from
|
|
5
|
+
* the native <input>; that feature has the support coverage we need.
|
|
6
|
+
*
|
|
7
|
+
* Structure (assumed by the React component):
|
|
8
|
+
*
|
|
9
|
+
* <label class="db-radio">
|
|
10
|
+
* <input type="radio" />
|
|
11
|
+
* <span class="db-radio-indicator"> ← circle border + fill react to state
|
|
12
|
+
* <span class="db-radio-dot" /> ← visible when :checked
|
|
13
|
+
* </span>
|
|
14
|
+
* <span class="db-radio-label">{children}</span>
|
|
15
|
+
* </label>
|
|
16
|
+
*
|
|
17
|
+
* The root only ever has one <input> descendant, so a bare `input` selector is
|
|
18
|
+
* safe and clearer than a class. Mirrors NativeCheckbox.css; the differences are
|
|
19
|
+
* the circular indicator (border-radius: full) and the filled dot instead of a
|
|
20
|
+
* checkmark/dash, and there is no indeterminate state.
|
|
21
|
+
*
|
|
22
|
+
* TODO(DUBOIS-452): the indicator/dot state styles below are identical to
|
|
23
|
+
* NativeCheckbox.css — consolidate them into a shared `.db-selection-toggle` class. */
|
|
24
|
+
|
|
25
|
+
.db-radio {
|
|
26
|
+
/* `display: flex` (block-level), NOT `inline-flex`: see NativeCheckbox.css for
|
|
27
|
+
* the line-box / sibling-spacing rationale. */
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
position: relative;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
user-select: none;
|
|
33
|
+
min-height: var(--db-line-height-base, 20px);
|
|
34
|
+
width: fit-content;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Hover/press live on the root (label), not on the input: the input is
|
|
38
|
+
* visually hidden (opacity:0), so an `input:hover` rule wouldn't be visible
|
|
39
|
+
* anyway, and the whole label area should drive the feedback. */
|
|
40
|
+
.db-radio:hover:has(input:not(:disabled, :checked)) .db-radio-indicator {
|
|
41
|
+
background-color: var(--db-radio-surface-hover);
|
|
42
|
+
border-color: var(--db-radio-border-hover);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.db-radio:active:has(input:not(:disabled, :checked)) .db-radio-indicator {
|
|
46
|
+
background-color: var(--db-radio-surface-active);
|
|
47
|
+
border-color: var(--db-radio-border-active);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Selected fill. */
|
|
51
|
+
.db-radio:has(input:checked) .db-radio-indicator {
|
|
52
|
+
background-color: var(--db-radio-surface-checked);
|
|
53
|
+
border-color: var(--db-radio-surface-checked);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* AntD getRadioInputStyles checked hover: background = actionPrimaryBackgroundHover,
|
|
57
|
+
* borderColor = actionPrimaryBackgroundPress (a darker ring than the fill). */
|
|
58
|
+
.db-radio:hover:has(input:checked:not(:disabled)) .db-radio-indicator {
|
|
59
|
+
background-color: var(--db-radio-surface-checked-hover);
|
|
60
|
+
border-color: var(--db-radio-border-checked-hover);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* AntD getRadioInputStyles checked active: background = actionDefaultBackgroundPress,
|
|
64
|
+
* borderColor = actionDefaultBorderPress (two-tone, not flat). */
|
|
65
|
+
.db-radio:active:has(input:checked:not(:disabled)) .db-radio-indicator {
|
|
66
|
+
background-color: var(--db-radio-surface-checked-active);
|
|
67
|
+
border-color: var(--db-radio-border-checked-active);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Dot visibility. */
|
|
71
|
+
.db-radio:has(input:checked) .db-radio-dot {
|
|
72
|
+
opacity: 1;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Focus-visible (keyboard only). AntD getRadioInputStyles splits focus by checked
|
|
76
|
+
* state, so we do too.
|
|
77
|
+
*
|
|
78
|
+
* UNCHECKED focus (AntD `&:not(disabled) > input:focus + inner`): only the border
|
|
79
|
+
* color changes to actionPrimaryBackgroundDefault — NO outline ring. */
|
|
80
|
+
.db-radio:has(input:focus-visible:not(:checked)) .db-radio-indicator {
|
|
81
|
+
border-color: var(--db-radio-border-unchecked-focus);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* CHECKED focus-visible (AntD `&.checked &:not(disabled) > input:focus-visible + inner`):
|
|
85
|
+
* background = actionPrimaryBackgroundDefault, borderColor = actionDefaultBorderFocus,
|
|
86
|
+
* outline = 1px solid actionPrimaryBackgroundDefault, outlineOffset = 1. */
|
|
87
|
+
.db-radio:has(input:focus-visible:checked) .db-radio-indicator {
|
|
88
|
+
background-color: var(--db-radio-surface-checked);
|
|
89
|
+
border-color: var(--db-radio-border-focus);
|
|
90
|
+
outline: 1px solid var(--db-radio-outline-checked-focus);
|
|
91
|
+
outline-offset: 1px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Disabled (covers checked and unchecked). Sourced from `input:disabled` so the
|
|
95
|
+
* standalone-disabled and group-disabled paths both land here. */
|
|
96
|
+
.db-radio:has(input:disabled) {
|
|
97
|
+
cursor: not-allowed;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.db-radio:has(input:disabled) .db-radio-label {
|
|
101
|
+
color: var(--db-radio-text-disabled);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.db-radio:has(input:disabled) .db-radio-indicator {
|
|
105
|
+
background-color: var(--db-radio-surface-disabled);
|
|
106
|
+
border-color: var(--db-radio-border-disabled);
|
|
107
|
+
box-shadow: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.db-radio:has(input:disabled) .db-radio-dot {
|
|
111
|
+
background-color: var(--db-radio-mark-disabled);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Visually-hidden native input (opacity:0) overlaying the indicator circle,
|
|
115
|
+
* kept interactive and in the tab order so the `:has()` lookups above can read
|
|
116
|
+
* its state. It stays pointer-clickable — matching AntD's `.ant-radio-input` —
|
|
117
|
+
* so it is the top-most hit-test target over the circle: `getByRole('radio').click()`
|
|
118
|
+
* (Playwright, and any coordinate click that lands on the circle) resolves to the
|
|
119
|
+
* real control instead of the decorative indicator overlay. Making the input
|
|
120
|
+
* `pointer-events: none` (the prior native-only behavior) is what regressed
|
|
121
|
+
* interaction tests vs. the AntD variant. `cursor: inherit` tracks the label's
|
|
122
|
+
* pointer / disabled `not-allowed` cursor so the circle keeps AntD's cursor too. */
|
|
123
|
+
.db-radio input {
|
|
124
|
+
position: absolute;
|
|
125
|
+
inset: 0;
|
|
126
|
+
inline-size: var(--db-radio-size);
|
|
127
|
+
block-size: var(--db-radio-size);
|
|
128
|
+
margin: 0;
|
|
129
|
+
opacity: 0;
|
|
130
|
+
cursor: inherit;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Indicator — circle with the border/fill that responds to state above.
|
|
134
|
+
* Vertical math aligns the indicator to the cap-height of the first text line
|
|
135
|
+
* so radio + label sit on the same visual baseline even when the label wraps. */
|
|
136
|
+
.db-radio .db-radio-indicator {
|
|
137
|
+
display: grid;
|
|
138
|
+
place-items: center;
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
/* Decorative only — the overlaid input owns hit-testing. Without this, the
|
|
141
|
+
* indicator (and its inherited dot child) intercept `getByRole('radio').click()`;
|
|
142
|
+
* clicks on any edge sliver the input does not cover fall through to the label,
|
|
143
|
+
* which toggles via label/input association. */
|
|
144
|
+
pointer-events: none;
|
|
145
|
+
inline-size: var(--db-radio-size);
|
|
146
|
+
block-size: var(--db-radio-size);
|
|
147
|
+
margin-top: calc((var(--db-line-height-base, 20px) - var(--db-radio-size)) / 2);
|
|
148
|
+
border: var(--db-radio-border-width) solid var(--db-radio-border);
|
|
149
|
+
border-radius: var(--db-radio-border-radius);
|
|
150
|
+
background-color: var(--db-radio-surface);
|
|
151
|
+
box-sizing: border-box;
|
|
152
|
+
transition:
|
|
153
|
+
background-color var(--db-radio-transition-duration) ease,
|
|
154
|
+
border-color var(--db-radio-transition-duration) ease,
|
|
155
|
+
box-shadow var(--db-radio-transition-duration) ease;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.db-radio .db-radio-indicator > .db-radio-dot {
|
|
159
|
+
grid-area: 1 / 1;
|
|
160
|
+
inline-size: var(--db-radio-mark-size);
|
|
161
|
+
block-size: var(--db-radio-mark-size);
|
|
162
|
+
border-radius: var(--db-radius-full);
|
|
163
|
+
background-color: var(--db-radio-mark);
|
|
164
|
+
opacity: 0;
|
|
165
|
+
transition: opacity var(--db-radio-transition-duration) ease;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Honour the user's reduced-motion preference: drop the state-change
|
|
169
|
+
* transitions on the indicator and dot so checking/hovering is instant. */
|
|
170
|
+
@media (prefers-reduced-motion: reduce) {
|
|
171
|
+
.db-radio .db-radio-indicator,
|
|
172
|
+
.db-radio .db-radio-indicator > .db-radio-dot {
|
|
173
|
+
transition: none;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Padding-inline replicates the AntD `.{prefix} + span` label gap and the
|
|
178
|
+
* trailing whitespace that separates adjacent radios in a row. */
|
|
179
|
+
.db-radio .db-radio-label {
|
|
180
|
+
color: var(--db-radio-text);
|
|
181
|
+
padding-inline: var(--db-radio-label-spacing);
|
|
182
|
+
word-break: break-word;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* Form-flow integration: align helper text under the radio label. The `paddingLeft`
|
|
186
|
+
* indent comes from AntD's getCommonRadioGroupStyles (`& > label + hint`) and applies
|
|
187
|
+
* to BOTH layouts. The doubled root class pushes specificity to (0,3,0) to beat
|
|
188
|
+
* FormMessage's runtime `&&` margin. */
|
|
189
|
+
.db-radio.db-radio + .du-bois-light-hint,
|
|
190
|
+
.db-radio.db-radio + .du-bois-dark-hint,
|
|
191
|
+
.db-radio.db-radio + .du-bois-light-form-message,
|
|
192
|
+
.db-radio.db-radio + .du-bois-dark-form-message,
|
|
193
|
+
.db-radio.db-radio + .du-bois-light-hint + .du-bois-light-form-message,
|
|
194
|
+
.db-radio.db-radio + .du-bois-dark-hint + .du-bois-dark-form-message {
|
|
195
|
+
padding-inline-start: var(--db-space-6);
|
|
196
|
+
margin-top: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Vertical hint rhythm (AntD getVerticalRadioGroupStyles, vertical-only): a hint
|
|
200
|
+
* after a radio gets `marginTop: -sm` (cancels the preceding radio's
|
|
201
|
+
* `paddingBottom: sm` so the hint tucks directly under its label) and
|
|
202
|
+
* `marginBottom: sm` (gap before the next radio). The negative top margin relies on
|
|
203
|
+
* the .db-stack gap being 0 (set below). Scoped to .db-stack so it never perturbs
|
|
204
|
+
* the horizontal grid, where hints are positioned by grid-row instead. */
|
|
205
|
+
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-light-hint,
|
|
206
|
+
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-dark-hint,
|
|
207
|
+
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-light-form-message,
|
|
208
|
+
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-dark-form-message,
|
|
209
|
+
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-light-hint + .du-bois-light-form-message,
|
|
210
|
+
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-dark-hint + .du-bois-dark-form-message {
|
|
211
|
+
margin-top: calc(-1 * var(--db-space-2));
|
|
212
|
+
margin-bottom: var(--db-space-2);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/* AntD `& > label:last-of-type + hint { marginTop: 0 }`: the last radio has no
|
|
216
|
+
* `paddingBottom` to cancel, so its trailing hint keeps its natural top position. */
|
|
217
|
+
.db-radio-group.db-stack > .db-radio.db-radio:last-of-type + .du-bois-light-hint,
|
|
218
|
+
.db-radio-group.db-stack > .db-radio.db-radio:last-of-type + .du-bois-dark-hint,
|
|
219
|
+
.db-radio-group.db-stack > .db-radio.db-radio:last-of-type + .du-bois-light-form-message,
|
|
220
|
+
.db-radio-group.db-stack > .db-radio.db-radio:last-of-type + .du-bois-dark-form-message,
|
|
221
|
+
.db-radio-group.db-stack > .db-radio.db-radio:last-of-type + .du-bois-light-hint + .du-bois-light-form-message,
|
|
222
|
+
.db-radio-group.db-stack > .db-radio.db-radio:last-of-type + .du-bois-dark-hint + .du-bois-dark-form-message {
|
|
223
|
+
margin-top: 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.du-bois-light-label + .db-radio-group.db-radio-group,
|
|
227
|
+
.du-bois-dark-label + .db-radio-group.db-radio-group,
|
|
228
|
+
.du-bois-light-hint + .db-radio-group.db-radio-group,
|
|
229
|
+
.du-bois-dark-hint + .db-radio-group.db-radio-group,
|
|
230
|
+
.db-radio-group.db-radio-group + .du-bois-light-form-message,
|
|
231
|
+
.db-radio-group.db-radio-group + .du-bois-dark-form-message {
|
|
232
|
+
margin-top: var(--db-space-2);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* RadioGroup layout. Vertical (the default) delegates flex-direction to the
|
|
236
|
+
* .db-stack primitive; horizontal is a two-row grid (mirroring AntD). */
|
|
237
|
+
.db-radio-group {
|
|
238
|
+
display: flex;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* Vertical: .db-stack supplies flex-direction: column. AntD's vertical helper
|
|
242
|
+
* (getVerticalRadioGroupStyles) produces its item rhythm purely from
|
|
243
|
+
* `& > label { paddingBottom: sm }` plus the negative-margin hint trick above — it
|
|
244
|
+
* uses NO flex gap. The negative `marginTop` on hints only works if the stack adds
|
|
245
|
+
* no gap of its own, so we zero out the gap and reproduce the rhythm via
|
|
246
|
+
* padding-bottom on each radio. */
|
|
247
|
+
.db-radio-group.db-stack {
|
|
248
|
+
--db-stack-gap: 0;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* AntD `& > label { paddingBottom: sm }`. */
|
|
252
|
+
.db-radio-group.db-stack > .db-radio {
|
|
253
|
+
padding-bottom: var(--db-space-2);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* AntD `& > label:last-of-type { paddingBottom: 0 }`. */
|
|
257
|
+
.db-radio-group.db-stack > .db-radio:last-of-type {
|
|
258
|
+
padding-bottom: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* AntD getVerticalRadioGroupStyles `.${prefix}-radio-tile + .${prefix}-radio-tile {
|
|
262
|
+
* marginTop: md }`: RadioTiles are not matched by the `.db-radio` padding-bottom
|
|
263
|
+
* rhythm above (the tile's own class is du-bois-{light,dark}-radio-tile), so space
|
|
264
|
+
* consecutive tiles explicitly. The .db-stack gap is 0, so this margin is the spacing. */
|
|
265
|
+
.db-radio-group.db-stack > .du-bois-light-radio-tile + .du-bois-light-radio-tile,
|
|
266
|
+
.db-radio-group.db-stack > .du-bois-light-radio-tile + .du-bois-dark-radio-tile,
|
|
267
|
+
.db-radio-group.db-stack > .du-bois-dark-radio-tile + .du-bois-light-radio-tile,
|
|
268
|
+
.db-radio-group.db-stack > .du-bois-dark-radio-tile + .du-bois-dark-radio-tile {
|
|
269
|
+
margin-top: var(--db-space-4);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* Horizontal: AntD `getHorizontalRadioGroupStyles` is a TWO-ROW grid (NOT a flex
|
|
273
|
+
* row) so each radio sits in the [label] row and its following hint drops into the
|
|
274
|
+
* [hint] row of the same auto-column. `&&` in AntD doubles specificity; the doubled
|
|
275
|
+
* group class here matches that.
|
|
276
|
+
* AntD: `display: grid; gridTemplateRows: [label] auto [hint] auto;
|
|
277
|
+
* gridAutoColumns: max-content; gridColumnGap: md`. */
|
|
278
|
+
.db-radio-group--horizontal.db-radio-group--horizontal {
|
|
279
|
+
display: grid;
|
|
280
|
+
grid-template-rows: [label] auto [hint] auto;
|
|
281
|
+
grid-auto-columns: max-content;
|
|
282
|
+
column-gap: var(--db-space-4);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/* Equal column widths: AntD `gridAutoColumns: minmax(0, 1fr)`. */
|
|
286
|
+
.db-radio-group--horizontal.db-radio-group--equal-width {
|
|
287
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/* AntD `& > label, & > .${prefix}-radio-tile { gridRow: label / label; marginRight: 0 }`:
|
|
291
|
+
* every radio (and every RadioTile button, whose own class is
|
|
292
|
+
* du-bois-{light,dark}-radio-tile and is NOT matched by `> .db-radio`) lives in the
|
|
293
|
+
* label row. grid-auto-flow defaults to row, so successive items advance the implicit
|
|
294
|
+
* column. */
|
|
295
|
+
.db-radio-group--horizontal > .db-radio,
|
|
296
|
+
.db-radio-group--horizontal > .du-bois-light-radio-tile,
|
|
297
|
+
.db-radio-group--horizontal > .du-bois-dark-radio-tile {
|
|
298
|
+
grid-row: label / label;
|
|
299
|
+
margin-inline-end: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* AntD `& > label + hint { display: inline-block; gridRow: hint / hint }`: a hint
|
|
303
|
+
* following a radio drops into the hint row of the column its radio occupies. The
|
|
304
|
+
* vertical negative-margin rules are scoped to .db-stack, so nothing to reset here. */
|
|
305
|
+
.db-radio-group--horizontal > .du-bois-light-hint,
|
|
306
|
+
.db-radio-group--horizontal > .du-bois-dark-hint {
|
|
307
|
+
display: inline-block;
|
|
308
|
+
grid-row: hint / hint;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* AntD `:has(> hint) { marginTop: sm }`: when the horizontal group contains a hint,
|
|
312
|
+
* the group itself gets a top margin (room above the two-row grid). */
|
|
313
|
+
.db-radio-group--horizontal:has(> .du-bois-light-hint),
|
|
314
|
+
.db-radio-group--horizontal:has(> .du-bois-dark-hint) {
|
|
315
|
+
margin-top: var(--db-space-2);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* AntD `&& + form-message { marginTop: sm }` (horizontal): a form-message following
|
|
319
|
+
* the whole group is separated by sm. */
|
|
320
|
+
.db-radio-group--horizontal + .du-bois-light-form-message,
|
|
321
|
+
.db-radio-group--horizontal + .du-bois-dark-form-message {
|
|
322
|
+
margin-top: var(--db-space-2);
|
|
323
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:where(:root), :where(.du-bois-light), :where(.du-bois-dark) {
|
|
2
|
+
/* Shape */
|
|
3
|
+
--db-radio-border-radius: var(--db-radius-full);
|
|
4
|
+
--db-radio-border-width: 1px;
|
|
5
|
+
|
|
6
|
+
/* Color */
|
|
7
|
+
--db-radio-surface: var(--db-selection-toggle-surface);
|
|
8
|
+
--db-radio-surface-hover: var(--db-color-action-default-background-hover);
|
|
9
|
+
--db-radio-surface-active: var(--db-color-action-default-background-press);
|
|
10
|
+
--db-radio-surface-checked: var(--db-selection-toggle-surface-checked);
|
|
11
|
+
--db-radio-surface-checked-hover: var(--db-selection-toggle-surface-checked-hover);
|
|
12
|
+
--db-radio-surface-checked-active: var(--db-color-action-default-background-press);
|
|
13
|
+
--db-radio-surface-disabled: var(--db-selection-toggle-surface-disabled);
|
|
14
|
+
|
|
15
|
+
--db-radio-border: var(--db-color-action-default-border-default);
|
|
16
|
+
--db-radio-border-hover: var(--db-selection-toggle-border-hover);
|
|
17
|
+
--db-radio-border-active: var(--db-selection-toggle-border-active);
|
|
18
|
+
--db-radio-border-focus: var(--db-focus-ring-color);
|
|
19
|
+
--db-radio-border-disabled: var(--db-color-action-disabled-border);
|
|
20
|
+
--db-radio-border-checked-hover: var(--db-selection-toggle-border-active);
|
|
21
|
+
--db-radio-border-checked-active: var(--db-color-action-default-border-press);
|
|
22
|
+
--db-radio-border-unchecked-focus: var(--db-color-action-primary-background-default);
|
|
23
|
+
--db-radio-outline-checked-focus: var(--db-color-action-primary-background-default);
|
|
24
|
+
|
|
25
|
+
--db-radio-mark: #ffffff;
|
|
26
|
+
--db-radio-mark-disabled: var(--db-selection-toggle-mark-disabled);
|
|
27
|
+
--db-radio-text: var(--db-selection-toggle-text);
|
|
28
|
+
--db-radio-text-disabled: var(--db-selection-toggle-text-disabled);
|
|
29
|
+
|
|
30
|
+
/* Density */
|
|
31
|
+
--db-radio-size: var(--db-selection-toggle-size);
|
|
32
|
+
--db-radio-label-spacing: var(--db-selection-toggle-label-spacing);
|
|
33
|
+
--db-radio-mark-size: var(--db-size-1);
|
|
34
|
+
|
|
35
|
+
/* Motion */
|
|
36
|
+
--db-radio-transition-duration: var(--db-selection-toggle-transition-duration);
|
|
37
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
:where(:root), :where(.du-bois-light), :where(.du-bois-dark) {
|
|
2
|
+
/* Shape */
|
|
3
|
+
--db-sidebar-nav-button-active-border-radius: var(--db-shape-control);
|
|
4
|
+
|
|
5
|
+
/* Elevation */
|
|
6
|
+
/* No v2 token holds this highlight shadow. TODO(FEINF-6505): adopt a v2 token when one lands. */
|
|
7
|
+
--db-sidebar-edge-highlight-shadow: 0px 0px 8px rgba(0, 0, 0, 0.33);
|
|
8
|
+
|
|
9
|
+
/* Color */
|
|
10
|
+
--db-sidebar-surface: var(--db-surface-base);
|
|
11
|
+
--db-sidebar-border: var(--db-border-base);
|
|
12
|
+
--db-sidebar-panel-header-text: var(--db-text-base);
|
|
13
|
+
--db-sidebar-collapse-button-surface: var(--db-surface-base);
|
|
14
|
+
--db-sidebar-collapse-button-icon: var(--db-text-subtle);
|
|
15
|
+
--db-sidebar-collapse-button-focus-ring: var(--db-focus-ring-color);
|
|
16
|
+
/* No v2 token holds these action colors yet. TODO(FEINF-6505): adopt v2 tokens when they land. */
|
|
17
|
+
--db-sidebar-nav-button-active-surface: var(--db-color-action-default-background-press);
|
|
18
|
+
--db-sidebar-nav-button-active-icon: var(--db-color-action-tertiary-text-press);
|
|
19
|
+
--db-sidebar-border-hover: var(--db-color-action-default-border-hover);
|
|
20
|
+
|
|
21
|
+
/* Density */
|
|
22
|
+
--db-sidebar-nav-gap: var(--db-space-1);
|
|
23
|
+
--db-sidebar-nav-padding: var(--db-space-1);
|
|
24
|
+
--db-sidebar-panel-header-min-height: var(--db-size-8);
|
|
25
|
+
--db-sidebar-panel-header-padding-start: var(--db-space-2);
|
|
26
|
+
--db-sidebar-panel-header-padding-end: var(--db-space-1);
|
|
27
|
+
--db-sidebar-panel-header-buttons-gap: var(--db-space-1);
|
|
28
|
+
--db-sidebar-panel-header-buttons-padding-end: var(--db-space-1);
|
|
29
|
+
--db-sidebar-panel-header-title-close-button-offset: var(--db-space-6);
|
|
30
|
+
--db-sidebar-panel-body-padding-horizontal: var(--db-space-2);
|
|
31
|
+
--db-sidebar-compact-toggle-spacing: var(--db-space-4);
|
|
32
|
+
--db-sidebar-collapsed-strip-width: var(--db-space-4);
|
|
33
|
+
|
|
34
|
+
/* Typography */
|
|
35
|
+
--db-sidebar-panel-header-font-weight: var(--db-font-weight-semibold);
|
|
36
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
:where(:root), :where(.du-bois-light), :where(.du-bois-dark) {
|
|
2
|
+
/* Shape */
|
|
3
|
+
--db-slider-border-radius: var(--db-shape-pill);
|
|
4
|
+
|
|
5
|
+
/* Color */
|
|
6
|
+
/* No v2 token holds the track + disabled-range surface yet. TODO(FEINF-6505): adopt a v2 token when one lands. */
|
|
7
|
+
--db-slider-track-surface: #e8ecf0; /* TODO: --db-surface-disabled */
|
|
8
|
+
--db-slider-range-surface-disabled: #e8ecf0;
|
|
9
|
+
/* No v2 token holds the range fill yet. TODO(FEINF-6505): adopt a v2 token when one lands. */
|
|
10
|
+
--db-slider-range-surface: #2272b4;
|
|
11
|
+
|
|
12
|
+
--db-slider-thumb-surface: var(--db-accent-surface);
|
|
13
|
+
--db-slider-thumb-surface-hover: var(--db-accent-surface-hover);
|
|
14
|
+
--db-slider-thumb-surface-press: var(--db-accent-surface-active);
|
|
15
|
+
/* No v2 token holds the disabled thumb yet. TODO(FEINF-6505): adopt a v2 token when one lands. */
|
|
16
|
+
--db-slider-thumb-surface-disabled: #d1d9e1;
|
|
17
|
+
|
|
18
|
+
/* Density */
|
|
19
|
+
--db-slider-size: var(--db-size-5); /* 20px */
|
|
20
|
+
--db-slider-thumb-size: var(--db-size-5); /* 20px */
|
|
21
|
+
--db-slider-track-thickness: calc(var(--db-size-1) * 0.75); /* 3px */
|
|
22
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:where(:root), :where(.du-bois-light), :where(.du-bois-dark) {
|
|
2
|
+
/* Shape */
|
|
3
|
+
/* TODO(FEINF-6505): adopt --db-shape-container-* once a 4px container radius exists; kept on --db-radius-sm to preserve 4px. */
|
|
4
|
+
--db-snack-bar-border-radius: var(--db-radius-sm);
|
|
5
|
+
|
|
6
|
+
/* Density */
|
|
7
|
+
--db-snack-bar-spacing-vertical: var(--db-space-3);
|
|
8
|
+
--db-snack-bar-spacing-horizontal: var(--db-space-4);
|
|
9
|
+
--db-snack-bar-close-button-spacing: var(--db-space-2);
|
|
10
|
+
|
|
11
|
+
/* Color */
|
|
12
|
+
/* No v1/v2 system token holds this theme-invariant white. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
13
|
+
--db-snack-bar-text: #ffffff;
|
|
14
|
+
/* No v1/v2 system token holds these theme-invariant close-icon colors. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
15
|
+
--db-snack-bar-close-icon: #e8ecf0;
|
|
16
|
+
--db-snack-bar-close-icon-hover: #8acaff;
|
|
17
|
+
--db-snack-bar-close-icon-active: #bae1fc;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:where(:root), :where(.du-bois-light) {
|
|
21
|
+
/* Color */
|
|
22
|
+
/* No v1/v2 system token holds this light/dark surface pair. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
23
|
+
--db-snack-bar-surface: #11171c;
|
|
24
|
+
|
|
25
|
+
/* Elevation */
|
|
26
|
+
--db-snack-bar-shadow: var(--db-elevation-med);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:where(.du-bois-dark) {
|
|
30
|
+
/* Color */
|
|
31
|
+
/* No v1/v2 system token holds this light/dark surface pair. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
32
|
+
--db-snack-bar-surface: #445461;
|
|
33
|
+
|
|
34
|
+
/* Elevation */
|
|
35
|
+
/* No v1/v2 system token holds this dark shadow; --db-elevation-med is theme-invariant (light). TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
36
|
+
--db-snack-bar-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.61);
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Spacer's height is a spacing step. The size prop (xs/sm/mid/md/lg) selects one component token,
|
|
2
|
+
* each aliasing the system space scale — theme-invariant, so a single block (no light/dark split). */
|
|
3
|
+
|
|
4
|
+
:where(:root), :where(.du-bois-light), :where(.du-bois-dark) {
|
|
5
|
+
/* Density */
|
|
6
|
+
--db-spacer-size-xs: var(--db-space-1); /* 4px */
|
|
7
|
+
--db-spacer-size-sm: var(--db-space-2); /* 8px */
|
|
8
|
+
--db-spacer-size-mid: var(--db-space-3); /* 12px */
|
|
9
|
+
--db-spacer-size-md: var(--db-space-4); /* 16px */
|
|
10
|
+
--db-spacer-size-lg: var(--db-space-6); /* 24px */
|
|
11
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
.db-switch {
|
|
2
|
+
/* flex, not inline-flex: an inline-flex root's line-box leading pushes block siblings
|
|
3
|
+
* (e.g. a following FormMessage) down a few px, breaking the form-flow spacing. */
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
user-select: none;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
margin-inline-end: var(--db-switch-label-spacing);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.db-switch:has(.db-switch-input:disabled) {
|
|
13
|
+
cursor: not-allowed;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* The track. `appearance: none` strips the native checkbox rendering so the input itself can be styled.
|
|
17
|
+
* Scoped via the `.db-switch-input` class, never a bare `input`: `.db-switch .db-switch-input` is
|
|
18
|
+
* specificity (0,2,0), which out-ranks a host app's `input[type='checkbox'] { width: auto }` reset
|
|
19
|
+
* (e.g. Bootstrap, loaded in webapp). A bare `.db-switch input` (0,1,1) merely ties that reset and, losing
|
|
20
|
+
* on load order, has its `inline-size` overridden to `auto` — collapsing the track to zero width and
|
|
21
|
+
* leaving only the floating thumb. Mirrors NativeCheckbox's `.db-checkbox-input`. */
|
|
22
|
+
.db-switch .db-switch-input {
|
|
23
|
+
appearance: none;
|
|
24
|
+
position: relative;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
margin: 0;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
inline-size: var(--db-switch-track-width);
|
|
29
|
+
block-size: var(--db-switch-track-height);
|
|
30
|
+
border: var(--db-switch-border-width) solid var(--db-switch-border);
|
|
31
|
+
border-radius: var(--db-switch-border-radius);
|
|
32
|
+
background-color: var(--db-switch-surface);
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
transition:
|
|
35
|
+
background-color var(--db-switch-transition-duration) ease,
|
|
36
|
+
border-color var(--db-switch-transition-duration) ease;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* The thumb. A pseudo-element keeps the input the switch's only element, so nothing can overlay it
|
|
40
|
+
* and intercept clicks. Offset left by the border width to sit flush with the track's outer edge. */
|
|
41
|
+
.db-switch .db-switch-input::before {
|
|
42
|
+
content: '';
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 50%;
|
|
45
|
+
left: calc(-1 * var(--db-switch-border-width));
|
|
46
|
+
inline-size: var(--db-switch-thumb-size);
|
|
47
|
+
block-size: var(--db-switch-thumb-size);
|
|
48
|
+
border: var(--db-switch-border-width) solid;
|
|
49
|
+
border-color: inherit;
|
|
50
|
+
border-radius: var(--db-switch-border-radius);
|
|
51
|
+
background-color: var(--db-switch-thumb);
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
transform: translateY(-50%);
|
|
54
|
+
transition: transform var(--db-switch-transition-duration) ease;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* `<label for>` propagates `:hover` to the input, so scope hover/press to the control, not `input:hover`. */
|
|
58
|
+
.db-switch:hover .db-switch-input:not(:disabled):not(:checked) {
|
|
59
|
+
background-color: var(--db-switch-surface-hover);
|
|
60
|
+
border-color: var(--db-switch-border-hover);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.db-switch:active .db-switch-input:not(:disabled):not(:checked) {
|
|
64
|
+
background-color: var(--db-switch-surface-active);
|
|
65
|
+
border-color: var(--db-switch-border-active);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.db-switch .db-switch-input:checked {
|
|
69
|
+
background-color: var(--db-switch-surface-checked);
|
|
70
|
+
border-color: var(--db-switch-border-checked);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.db-switch:hover .db-switch-input:checked:not(:disabled) {
|
|
74
|
+
background-color: var(--db-switch-surface-checked-hover);
|
|
75
|
+
border-color: var(--db-switch-border-checked-hover);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.db-switch:active .db-switch-input:checked:not(:disabled) {
|
|
79
|
+
background-color: var(--db-switch-surface-checked-active);
|
|
80
|
+
border-color: var(--db-switch-border-checked-active);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.db-switch .db-switch-input:checked::before {
|
|
84
|
+
transform: translateY(-50%) translateX(calc(var(--db-switch-track-width) - var(--db-switch-thumb-size)));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* On focus, recolor the border to the checked-fill color on top of the outline ring. Matching AntD,
|
|
88
|
+
* the ring sits flush when off and gains a 1px offset when checked.
|
|
89
|
+
* TODO: width/offset are hardcoded 1px to preserve the AntD look; adopt the system 2px focus ring
|
|
90
|
+
* (var(--db-focus-ring-width)) in a separate change. */
|
|
91
|
+
.db-switch .db-switch-input:focus-visible {
|
|
92
|
+
border-color: var(--db-switch-border-focus);
|
|
93
|
+
outline: 1px solid var(--db-focus-ring-color);
|
|
94
|
+
outline-offset: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.db-switch .db-switch-input:checked:focus-visible {
|
|
98
|
+
outline-offset: 1px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.db-switch .db-switch-input:disabled {
|
|
102
|
+
cursor: not-allowed;
|
|
103
|
+
background-color: var(--db-switch-surface-disabled);
|
|
104
|
+
border-color: var(--db-switch-border-disabled);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Disabled + on: more specific than the plain disabled rule, so it wins regardless of source order. */
|
|
108
|
+
.db-switch .db-switch-input:checked:disabled {
|
|
109
|
+
background-color: var(--db-switch-surface-checked-disabled);
|
|
110
|
+
border-color: var(--db-switch-surface-checked-disabled);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media (prefers-reduced-motion: reduce) {
|
|
114
|
+
.db-switch .db-switch-input,
|
|
115
|
+
.db-switch .db-switch-input::before {
|
|
116
|
+
transition: none;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.db-switch-wrapper {
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.db-switch-wrapper .db-switch-state-message {
|
|
126
|
+
margin-inline-start: auto;
|
|
127
|
+
margin-inline-end: var(--db-switch-label-spacing);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* `:first-child` scopes this to the label-first layout; the plain layout renders the label last. */
|
|
131
|
+
.db-switch-wrapper > .du-bois-light-label:first-child,
|
|
132
|
+
.db-switch-wrapper > .du-bois-dark-label:first-child {
|
|
133
|
+
margin-inline-end: var(--db-switch-label-spacing);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.db-switch-state-message {
|
|
137
|
+
color: var(--db-switch-text);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* Target the <Label>'s class, not a bare `label` — that would also match the .db-switch root <label>. */
|
|
141
|
+
.db-switch-wrapper:has(.db-switch-input:disabled) .du-bois-light-label,
|
|
142
|
+
.db-switch-wrapper:has(.db-switch-input:disabled) .du-bois-dark-label {
|
|
143
|
+
color: var(--db-switch-text-disabled);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Indent a following hint/message past the track. The class is doubled to out-specify FormMessage's
|
|
147
|
+
* own margin rule. Each rule's key (rightmost) selector is a single class, not a multi-item :is(),
|
|
148
|
+
* so Chromium can hash-reject it instead of attempting the match against every element on every
|
|
149
|
+
* recalc (the leading/middle :is() groups aren't the key selector, so they're left as-is). */
|
|
150
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-light-hint,
|
|
151
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-dark-hint,
|
|
152
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-light-form-message,
|
|
153
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-dark-form-message,
|
|
154
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
155
|
+
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
156
|
+
+ .du-bois-light-form-message,
|
|
157
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
158
|
+
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
159
|
+
+ .du-bois-dark-form-message {
|
|
160
|
+
padding-inline-start: calc(var(--db-space-2) + var(--db-switch-track-width));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-light-form-message,
|
|
164
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-dark-form-message,
|
|
165
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
166
|
+
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
167
|
+
+ .du-bois-light-form-message,
|
|
168
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
169
|
+
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
170
|
+
+ .du-bois-dark-form-message {
|
|
171
|
+
margin-top: 0;
|
|
172
|
+
}
|