@databricks/design-system 2.0.9 → 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 +22 -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 +26 -6
- package/processes/process-runner.js +19 -0
- package/processes/spawn-process-runner.js +67 -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 -639
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CSSProperties, FocusEventHandler, MouseEventHandler, ReactNode } from "react";
|
|
2
|
+
import type { DangerousGeneralProps, DangerouslySetAntdProps, HTMLDataAttributes } from "../../types";
|
|
3
|
+
import type { InputForceModeProps } from "../force-mode";
|
|
4
|
+
import type { AntdPassthroughProps } from "../input-props";
|
|
5
|
+
export interface InputGroupProps extends HTMLDataAttributes, DangerouslySetAntdProps<AntdPassthroughProps>, DangerousGeneralProps, InputForceModeProps {
|
|
6
|
+
/**
|
|
7
|
+
* Button position relative to the input. This affects which inner corners are
|
|
8
|
+
* squared off to form a seamless join. Defaults to `'right'`.
|
|
9
|
+
*/
|
|
10
|
+
buttonSide?: "left" | "right";
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
/** Collapses the spacing and shared border between the input and the adjacent button. Defaults to true. */
|
|
14
|
+
compact?: boolean;
|
|
15
|
+
onBlur?: FocusEventHandler<HTMLSpanElement>;
|
|
16
|
+
onFocus?: FocusEventHandler<HTMLSpanElement>;
|
|
17
|
+
onMouseEnter?: MouseEventHandler<HTMLSpanElement>;
|
|
18
|
+
onMouseLeave?: MouseEventHandler<HTMLSpanElement>;
|
|
19
|
+
/** CSS class-name prefix for the rendered markup. */
|
|
20
|
+
prefixCls?: string;
|
|
21
|
+
style?: CSSProperties;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The Du Bois input group, which joins an Input to an adjacent control (typically a Button) into a
|
|
25
|
+
* single seamless control. Renders the native (non-AntD) or AntD-backed implementation per
|
|
26
|
+
* `forceMode`, which defaults to the `databricks.fe.designsystem.useNativeInput` SAFE flag.
|
|
27
|
+
*/
|
|
28
|
+
export declare const Group: ({ forceMode, ...props }: InputGroupProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Group } from "./Group";
|
|
2
1
|
import { Input as OriginalInput } from "./Input";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Group } from "./group/Group";
|
|
3
|
+
import { Password } from "./password/Password";
|
|
4
|
+
import { TextArea } from "./textarea/TextArea";
|
|
5
5
|
export declare const Input: typeof OriginalInput & {
|
|
6
6
|
TextArea: typeof TextArea;
|
|
7
7
|
Password: typeof Password;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import { getInputStyles } from "./
|
|
2
|
-
export * from "./
|
|
1
|
+
import { getInputStyles } from "./AntDInput";
|
|
2
|
+
export * from "./input-props";
|
|
3
|
+
export * from "./input-refs";
|
|
3
4
|
export { getInputStyles };
|
|
4
5
|
export { Input } from "./index-defs";
|
|
6
|
+
export type { InputFocusOptions } from "./input-focus";
|
|
7
|
+
export type { InputGroupProps } from "./group/Group";
|
|
8
|
+
export type { PasswordProps } from "./password/Password";
|
|
9
|
+
export type { TextAreaProps } from "./textarea/TextArea";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ValidationState } from "../types";
|
|
2
|
+
interface InputContainerClassNameOptions {
|
|
3
|
+
size?: "middle" | "small";
|
|
4
|
+
locked?: boolean;
|
|
5
|
+
validationState?: ValidationState;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Builds the class name for the shared `.db-input` container (see `mortar/input.css`) plus its size,
|
|
9
|
+
* locked, and validation-state modifiers. Shared by the native input and password so the root class
|
|
10
|
+
* and its modifier names live in one place.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getInputContainerClassName({ size, locked, validationState }: InputContainerClassNameOptions): string;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Options accepted by {@link InputRef.focus}: the DOM `FocusOptions` plus a cursor-placement hint. */
|
|
2
|
+
export interface InputFocusOptions extends FocusOptions {
|
|
3
|
+
cursor?: "start" | "end" | "all";
|
|
4
|
+
}
|
|
5
|
+
type TextField = HTMLInputElement | HTMLTextAreaElement;
|
|
6
|
+
/** Focuses the field (input or textarea) and sets the cursor location and text selection state. */
|
|
7
|
+
export declare function focusWithCursor(field: TextField, options?: InputFocusOptions): void;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { CSSProperties, HTMLInputTypeAttribute, InputHTMLAttributes, KeyboardEventHandler, ReactNode } from "react";
|
|
2
|
+
import type { InputForceModeProps } from "./force-mode";
|
|
3
|
+
import type { DesignSystemEventProviderAnalyticsEventTypes } from "../DesignSystemEventProvider";
|
|
4
|
+
import type { AnalyticsEventProps, DangerousGeneralProps, DangerouslySetAntdProps, FormElementValidationState, HTMLDataAttributes } from "../types";
|
|
5
|
+
/** Auto-resize bounds for a textarea's `autoSize` prop. */
|
|
6
|
+
export interface TextAreaAutoSize {
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Value type for `dangerouslySetAntdProps`, the emergency antd-props passthrough. Antd-specific
|
|
12
|
+
* props stay untyped via the index signature, but `style` keeps its concrete type so callers can
|
|
13
|
+
* read and spread the common styling escape hatch (e.g. `...dangerouslySetAntdProps.style`).
|
|
14
|
+
*/
|
|
15
|
+
export type AntdPassthroughProps = Record<string, unknown> & {
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "type">, FormElementValidationState, HTMLDataAttributes, DangerouslySetAntdProps<AntdPassthroughProps>, DangerousGeneralProps, InputForceModeProps, AnalyticsEventProps<DesignSystemEventProviderAnalyticsEventTypes.OnValueChange | DesignSystemEventProviderAnalyticsEventTypes.OnView> {
|
|
19
|
+
type?: HTMLInputTypeAttribute;
|
|
20
|
+
/** Called when the Enter key is pressed while the input is focused. */
|
|
21
|
+
onPressEnter?: KeyboardEventHandler<HTMLInputElement>;
|
|
22
|
+
/** Content rendered before the input, outside its border (e.g. a label or adjacent select). */
|
|
23
|
+
addonBefore?: ReactNode;
|
|
24
|
+
/** Content rendered inside the input, before the value (e.g. a leading icon). */
|
|
25
|
+
prefix?: ReactNode;
|
|
26
|
+
/** Content rendered inside the input, after the value (e.g. a trailing icon). */
|
|
27
|
+
suffix?: ReactNode;
|
|
28
|
+
/** Shows a clear (X) button that empties the input when clicked. */
|
|
29
|
+
allowClear?: boolean;
|
|
30
|
+
/** Called when the input is cleared via the clear (X) button. */
|
|
31
|
+
onClear?: () => void;
|
|
32
|
+
/** When true, pressing Enter does not submit the surrounding form. Defaults to false. */
|
|
33
|
+
shouldPreventFormSubmission?: boolean;
|
|
34
|
+
/** Renders the input read-only with a lock icon, keeping the value legible (unlike `disabled`). */
|
|
35
|
+
locked?: boolean;
|
|
36
|
+
size?: "middle" | "small";
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InputFocusOptions } from "./input-focus";
|
|
2
|
+
/** Imperative handle exposed by an Input's `ref`. */
|
|
3
|
+
export interface InputRef {
|
|
4
|
+
focus: (options?: InputFocusOptions) => void;
|
|
5
|
+
blur: () => void;
|
|
6
|
+
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
7
|
+
select: () => void;
|
|
8
|
+
input: HTMLInputElement;
|
|
9
|
+
state: {
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
setValue: (value: string, callback?: () => void) => void;
|
|
13
|
+
}
|
|
14
|
+
/** Imperative handle exposed by a TextArea's `ref`. */
|
|
15
|
+
export interface TextAreaRef {
|
|
16
|
+
focus: (options?: InputFocusOptions) => void;
|
|
17
|
+
blur: () => void;
|
|
18
|
+
resizableTextArea?: {
|
|
19
|
+
textArea: HTMLTextAreaElement;
|
|
20
|
+
resizeTextarea: () => void;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
|
|
2
|
+
import type { PasswordProps } from "./Password";
|
|
3
|
+
import type { InputRef } from "../input-refs";
|
|
4
|
+
export declare const AntDPassword: ForwardRefExoticComponent<PropsWithoutRef<PasswordProps> & RefAttributes<InputRef>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
|
|
2
|
+
import type { PasswordProps } from "./Password";
|
|
3
|
+
import type { InputRef } from "../input-refs";
|
|
4
|
+
export declare const NativePassword: ForwardRefExoticComponent<PropsWithoutRef<PasswordProps> & RefAttributes<InputRef>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, InputHTMLAttributes, PropsWithoutRef, RefAttributes } from "react";
|
|
2
|
+
import type { DangerousGeneralProps, DangerouslySetAntdProps, FormElementValidationState, HTMLDataAttributes } from "../../types";
|
|
3
|
+
import type { InputForceModeProps } from "../force-mode";
|
|
4
|
+
import type { AntdPassthroughProps } from "../input-props";
|
|
5
|
+
import type { InputRef } from "../input-refs";
|
|
6
|
+
/** Props for the single-line password input. */
|
|
7
|
+
export interface PasswordProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "type">, FormElementValidationState, HTMLDataAttributes, DangerouslySetAntdProps<AntdPassthroughProps>, DangerousGeneralProps, InputForceModeProps {
|
|
8
|
+
/** Shows a button that toggles the value between masked and visible. Defaults to false. */
|
|
9
|
+
visibilityToggle?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The Du Bois password input. Renders the native (non-AntD) or AntD-backed implementation per
|
|
13
|
+
* `forceMode`, which defaults to the `databricks.fe.designsystem.useNativeInput` SAFE flag.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Password: ForwardRefExoticComponent<PropsWithoutRef<PasswordProps> & RefAttributes<InputRef>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a copy of `@databricks/web-shared/test-utils` `slowlyTypeEachKey`, shared across the
|
|
3
|
+
* Input-family test suites. design-system sits below web-shared in the dependency graph, so importing
|
|
4
|
+
* from it would invert the layering. Input tests need genuine per-keystroke dispatch (per-keystroke
|
|
5
|
+
* onChange counts, `{Enter}`/`{Control>}{Enter}`), which `userEvent.paste` can't provide, so
|
|
6
|
+
* `userEvent.type` is unavoidable — this wrapper isolates the single required `no-userevent-type`
|
|
7
|
+
* suppression so no call site needs its own.
|
|
8
|
+
*/
|
|
9
|
+
export declare function slowlyTypeEachKey(element: Element, text: string): Promise<void>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
|
|
2
|
+
import type { TextAreaProps } from "./TextArea";
|
|
3
|
+
import type { TextAreaRef } from "../input-refs";
|
|
4
|
+
export declare const AntDTextArea: ForwardRefExoticComponent<PropsWithoutRef<TextAreaProps> & RefAttributes<TextAreaRef>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
|
|
2
|
+
import type { TextAreaProps } from "./TextArea";
|
|
3
|
+
import type { TextAreaRef } from "../input-refs";
|
|
4
|
+
export declare const NativeTextArea: ForwardRefExoticComponent<PropsWithoutRef<TextAreaProps> & RefAttributes<TextAreaRef>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, KeyboardEventHandler, PropsWithoutRef, RefAttributes, TextareaHTMLAttributes } from "react";
|
|
2
|
+
import type { DesignSystemEventProviderAnalyticsEventTypes } from "../../DesignSystemEventProvider";
|
|
3
|
+
import type { AnalyticsEventProps, DangerousGeneralProps, DangerouslySetAntdProps, FormElementValidationState, HTMLDataAttributes } from "../../types";
|
|
4
|
+
import type { InputForceModeProps } from "../force-mode";
|
|
5
|
+
import type { AntdPassthroughProps, TextAreaAutoSize } from "../input-props";
|
|
6
|
+
import type { TextAreaRef } from "../input-refs";
|
|
7
|
+
export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FormElementValidationState, HTMLDataAttributes, DangerouslySetAntdProps<AntdPassthroughProps>, DangerousGeneralProps, AnalyticsEventProps<DesignSystemEventProviderAnalyticsEventTypes.OnValueChange | DesignSystemEventProviderAnalyticsEventTypes.OnView>, InputForceModeProps {
|
|
8
|
+
/** When true, a plain Enter submits the surrounding form; platform Enter always does. Defaults to false. */
|
|
9
|
+
allowFormSubmitOnEnter?: boolean;
|
|
10
|
+
/** Shows a clear (X) button that empties the textarea when clicked. Honored only by the AntD-backed
|
|
11
|
+
* implementation today; the native textarea does not yet render a clear button. */
|
|
12
|
+
allowClear?: boolean;
|
|
13
|
+
/** Auto-grows the textarea to fit its content; pass bounds to cap the row count. */
|
|
14
|
+
autoSize?: boolean | TextAreaAutoSize;
|
|
15
|
+
/** Called when the Enter key is pressed while the textarea is focused. */
|
|
16
|
+
onPressEnter?: KeyboardEventHandler<HTMLTextAreaElement>;
|
|
17
|
+
/** Called when the textarea's rendered size changes (e.g. from auto-sizing). */
|
|
18
|
+
onResize?: (size: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
}) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The Du Bois multi-line text input. Renders the native (non-AntD) or AntD-backed implementation per
|
|
25
|
+
* `forceMode`, which defaults to the `databricks.fe.designsystem.useNativeInput` SAFE flag.
|
|
26
|
+
*/
|
|
27
|
+
export declare const TextArea: ForwardRefExoticComponent<PropsWithoutRef<TextAreaProps> & RefAttributes<TextAreaRef>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { RefObject } from "react";
|
|
2
|
+
import type { TextAreaAutoSize } from "../input-props";
|
|
3
|
+
interface UseTextAreaAutoSizeParams {
|
|
4
|
+
textAreaRef: RefObject<HTMLTextAreaElement>;
|
|
5
|
+
autoSize: boolean | TextAreaAutoSize | undefined;
|
|
6
|
+
/** Re-measures whenever the controlled value changes (JS fallback path). */
|
|
7
|
+
value: string | number | readonly string[] | undefined;
|
|
8
|
+
onResize?: (size: {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
}) => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Drives the textarea's auto-grow. When the browser supports `field-sizing: content` the CSS owns
|
|
15
|
+
* the height and this is inert; otherwise it measures the content and sets the height directly. Also
|
|
16
|
+
* reports size changes through `onResize`. Returns `resizeTextarea`, the imperative re-measure the
|
|
17
|
+
* component exposes on the ref.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useTextAreaAutoSize({ textAreaRef, autoSize, value, onResize }: UseTextAreaAutoSizeParams): {
|
|
20
|
+
resizeTextarea: () => void;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ChangeEventHandler, MouseEvent, RefObject } from "react";
|
|
2
|
+
interface UseInputClearHandlerParams {
|
|
3
|
+
/** Ref to the input the clear button empties. */
|
|
4
|
+
inputRef: RefObject<HTMLInputElement>;
|
|
5
|
+
/** Whether the value is controlled; an uncontrolled input has its tracked state reset on clear. */
|
|
6
|
+
isControlled: boolean;
|
|
7
|
+
/** Resets the tracked "has a value" state of an uncontrolled input. */
|
|
8
|
+
setUncontrolledHasValue: (hasValue: boolean) => void;
|
|
9
|
+
/** Records the clear as a value change for analytics (the caller throttles it to once per focus). */
|
|
10
|
+
reportValueChange: () => void;
|
|
11
|
+
onClear?: () => void;
|
|
12
|
+
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Produces the clear button's click handler: it empties the input, keeps focus on it, and reports
|
|
16
|
+
* the change through `onClear` — or through `onChange` with the emptied value when no `onClear` is
|
|
17
|
+
* given, matching the AntD-backed input.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useInputClearHandler({ inputRef, isControlled, setUncontrolledHasValue, reportValueChange, onClear, onChange }: UseInputClearHandlerParams): (e: MouseEvent<HTMLButtonElement>) => void;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { MutableRefObject } from "react";
|
|
2
|
+
import type { DataComponentProps, DesignSystemEventProviderComponentTypes } from "../DesignSystemEventProvider";
|
|
3
|
+
import { DesignSystemEventProviderAnalyticsEventTypes } from "../DesignSystemEventProvider";
|
|
4
|
+
interface UseTextFieldAnalyticsParams {
|
|
5
|
+
componentType: DesignSystemEventProviderComponentTypes;
|
|
6
|
+
componentId: string | undefined;
|
|
7
|
+
/** Overrides the reported events; defaults to reporting value changes only. */
|
|
8
|
+
analyticsEvents?: ReadonlyArray<DesignSystemEventProviderAnalyticsEventTypes>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Owns the observability wiring shared by the native Input and TextArea: the default analytics-event
|
|
12
|
+
* set, the component event context, first-view reporting, and once-per-focus value-change reporting.
|
|
13
|
+
* The component merges {@link elementRef} into its field ref, spreads {@link dataComponentProps} onto
|
|
14
|
+
* the element, calls {@link reportValueChange} from its change handler, and re-arms it on focus via
|
|
15
|
+
* {@link resetOnFocus} (which {@link useTextFieldFocusHandler} composes into the focus handler).
|
|
16
|
+
*/
|
|
17
|
+
export declare function useTextFieldAnalytics<T extends HTMLElement>({ componentType, componentId, analyticsEvents }: UseTextFieldAnalyticsParams): {
|
|
18
|
+
elementRef: MutableRefObject<T | null>;
|
|
19
|
+
dataComponentProps: DataComponentProps;
|
|
20
|
+
reportValueChange: () => void;
|
|
21
|
+
resetOnFocus: () => void;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FocusEventHandler } from "react";
|
|
2
|
+
type TextField = HTMLInputElement | HTMLTextAreaElement;
|
|
3
|
+
/**
|
|
4
|
+
* Composes the text field's focus handler shared by the native Input and TextArea: re-arm the
|
|
5
|
+
* once-per-focus value-change reporter (`resetOnFocus`, from {@link useTextFieldAnalytics}), then
|
|
6
|
+
* forward the consumer's `onFocus`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useTextFieldFocusHandler<T extends TextField>(onFocus: FocusEventHandler<T> | undefined, resetOnFocus: () => void): FocusEventHandler<T>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { CompositionEventHandler, KeyboardEventHandler, MutableRefObject } from "react";
|
|
2
|
+
type TextField = HTMLInputElement | HTMLTextAreaElement;
|
|
3
|
+
interface UseTextFieldKeyHandlersParams<T extends TextField> {
|
|
4
|
+
/** The surrounding form's ref (from `useFormContext`); a valid Enter press calls `requestSubmit` on it. */
|
|
5
|
+
formRef: MutableRefObject<HTMLFormElement | null> | undefined;
|
|
6
|
+
/** Whether a plain Enter (no modifier) submits the form. */
|
|
7
|
+
allowBasicEnter: boolean;
|
|
8
|
+
/** Whether a platform Enter (Cmd on Mac, Ctrl elsewhere) submits the form. */
|
|
9
|
+
allowPlatformEnter: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Whether submitting the form halts the rest of the keydown chain (`onPressEnter` and the consumer's
|
|
12
|
+
* `onKeyDown`). The single-line input runs them regardless; the textarea stops after it submits.
|
|
13
|
+
*/
|
|
14
|
+
stopKeyDownAfterSubmit: boolean;
|
|
15
|
+
onPressEnter?: KeyboardEventHandler<T>;
|
|
16
|
+
onKeyDown?: KeyboardEventHandler<T>;
|
|
17
|
+
onCompositionStart?: CompositionEventHandler<T>;
|
|
18
|
+
onCompositionEnd?: CompositionEventHandler<T>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Wires the key behaviour shared by the native Input and TextArea: submit-the-form-on-Enter (IME-safe,
|
|
22
|
+
* via {@link useCallbackOnEnter}), the `onPressEnter` callback, and chaining of the consumer's own key
|
|
23
|
+
* and composition handlers. The composition handlers travel with the keydown handler because the
|
|
24
|
+
* submit-on-Enter logic relies on their composition tracking to avoid firing mid-IME-composition.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useTextFieldKeyHandlers<T extends TextField>({ formRef, allowBasicEnter, allowPlatformEnter, stopKeyDownAfterSubmit, onPressEnter, onKeyDown, onCompositionStart, onCompositionEnd }: UseTextFieldKeyHandlersParams<T>): {
|
|
27
|
+
onKeyDown: KeyboardEventHandler<T>;
|
|
28
|
+
onCompositionStart: CompositionEventHandler<T>;
|
|
29
|
+
onCompositionEnd: CompositionEventHandler<T>;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties } from "react";
|
|
2
2
|
import type { WithLoadingState } from "../LoadingState/LoadingState";
|
|
3
|
-
interface GenericSkeletonProps extends WithLoadingState {
|
|
3
|
+
export interface GenericSkeletonProps extends WithLoadingState {
|
|
4
4
|
/** Label for screen readers */
|
|
5
5
|
label?: React.ReactNode;
|
|
6
6
|
/** fps for animation. Default is 60 fps. A lower number will use less resources. */
|
|
@@ -11,4 +11,3 @@ interface GenericSkeletonProps extends WithLoadingState {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const GenericSkeleton: ({ label, frameRate, style, loading, loadingDescription, ...restProps }: GenericSkeletonProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -9,7 +9,7 @@ export interface SplitButtonMenuInfo {
|
|
|
9
9
|
}
|
|
10
10
|
export type SplitButtonProps = Omit<DropdownButtonProps, "overlay" | "type" | "size" | "trigger"> & HTMLDataAttributes & DangerouslySetAntdProps<Partial<DropdownButtonProps>> & {
|
|
11
11
|
/**
|
|
12
|
-
* @deprecated Please migrate to the
|
|
12
|
+
* @deprecated Please migrate to the dbui DropdownMenu component and use the `menu` prop.
|
|
13
13
|
*/
|
|
14
14
|
deprecatedMenu?: DropdownButtonProps["overlay"];
|
|
15
15
|
/**
|
|
@@ -20,6 +20,12 @@ interface BaseComboboxStateProps<T> extends AnalyticsEventValueChangeNoPiiFlagPr
|
|
|
20
20
|
* filter only once the user types. Multi-select clears the input on select, so it is unaffected.
|
|
21
21
|
*/
|
|
22
22
|
showAllOptionsOnOpen?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Keep the menu open even when the filtered collection is empty (react-aria's
|
|
25
|
+
* `allowsEmptyCollection`), so the empty state and footer stay visible — e.g. a "start empty, add
|
|
26
|
+
* via the footer" combobox. Default false: an empty list closes the popover.
|
|
27
|
+
*/
|
|
28
|
+
allowsEmptyCollection?: boolean;
|
|
23
29
|
initialInputValue?: string;
|
|
24
30
|
initialSelectedItem?: T;
|
|
25
31
|
formValue?: T;
|
|
@@ -62,16 +68,27 @@ export interface ComboboxStateValue<T> {
|
|
|
62
68
|
isSelected: (item: T) => boolean;
|
|
63
69
|
/** Fire the consumer's `formOnBlur` on a genuine input blur (wired onto the input by `Root`). */
|
|
64
70
|
onInputBlur: () => void;
|
|
71
|
+
/**
|
|
72
|
+
* Commits the user's typed text on Enter, but only when `allowNewValue` is set and no option is
|
|
73
|
+
* currently highlighted. Single-select commits the value to the form; multi-select appends it as a
|
|
74
|
+
* new tag. Returns true when it committed, so the input's keydown handler knows to suppress
|
|
75
|
+
* react-aria's own Enter handling.
|
|
76
|
+
*/
|
|
77
|
+
onEnterKeypress: () => boolean;
|
|
65
78
|
componentId: string;
|
|
66
79
|
analyticsEvents?: DesignSystemEventProviderAnalyticsEventTypes[];
|
|
67
80
|
valueHasNoPii?: boolean;
|
|
68
81
|
onView: (value: any) => void;
|
|
69
82
|
firstOnViewValue?: string;
|
|
83
|
+
/** True when the combobox is in multi-select (tag) mode. */
|
|
70
84
|
multiSelect: boolean;
|
|
85
|
+
/** Single-select only: whether the full option list is shown on open until the user types. */
|
|
71
86
|
showAllOptionsOnOpen: boolean;
|
|
87
|
+
/** Whether the user may commit a typed value that is not in the option list. */
|
|
88
|
+
allowNewValue: boolean;
|
|
72
89
|
}
|
|
73
90
|
/**
|
|
74
|
-
* Backs the
|
|
91
|
+
* Backs the dbui TypeaheadCombobox (react-aria variant) by wrapping react-aria's
|
|
75
92
|
* `useComboBoxState`. Handles single- and multi-select modes, item↔key mapping, filtering
|
|
76
93
|
* (default substring match or a custom `matcher`), selection helpers (`removeItem`,
|
|
77
94
|
* `clearSelection`, `isSelected`), form `onChange`/`onBlur` bridging, and analytics wiring.
|
|
@@ -7,6 +7,7 @@ interface UseComboboxStatePropsParams<T> {
|
|
|
7
7
|
matcher?: (item: T, lowerCasedInputValue: string) => boolean;
|
|
8
8
|
isItemDisabled?: (item: T) => boolean;
|
|
9
9
|
allowNewValue: boolean;
|
|
10
|
+
allowsEmptyCollection: boolean;
|
|
10
11
|
initialInputValue?: string;
|
|
11
12
|
initialSelectedItem?: T;
|
|
12
13
|
formValue?: T;
|
|
@@ -32,5 +33,5 @@ interface UseComboboxStatePropsParams<T> {
|
|
|
32
33
|
* input-reset). Kept separate from `useComboboxState` so the wiring into react-aria is isolated
|
|
33
34
|
* from the selection helpers the hook derives afterward.
|
|
34
35
|
*/
|
|
35
|
-
export declare function useComboboxStateProps<T>({ items, multiSelect, matcher, isItemDisabled, allowNewValue, initialInputValue, initialSelectedItem, formValue, formOnChange, onStateChange, onIsOpenChange, externalSelectedItems, externalSetSelectedItems, stateRef, onValueChange }: UseComboboxStatePropsParams<T>): ComboBoxStateOptions<WrappedItem<T>, SelectionMode>;
|
|
36
|
+
export declare function useComboboxStateProps<T>({ items, multiSelect, matcher, isItemDisabled, allowNewValue, allowsEmptyCollection, initialInputValue, initialSelectedItem, formValue, formOnChange, onStateChange, onIsOpenChange, externalSelectedItems, externalSetSelectedItems, stateRef, onValueChange }: UseComboboxStatePropsParams<T>): ComboBoxStateOptions<WrappedItem<T>, SelectionMode>;
|
|
36
37
|
export {};
|
package/dist-types/design-system/TypeaheadComboboxV2/providers/TypeaheadComboboxContext.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export interface TypeaheadComboboxV2ContextType extends AnalyticsEventProps<Desi
|
|
|
11
11
|
multiSelect: boolean;
|
|
12
12
|
/** Single-select only: whether the menu opens showing all options (filtering begins on type). */
|
|
13
13
|
showAllOptionsOnOpen: boolean;
|
|
14
|
+
/** Whether typed free text is accepted as a value (drives the input's Enter/Tab commit handling). */
|
|
15
|
+
allowNewValue: boolean;
|
|
14
16
|
/** Null outside of a Root. */
|
|
15
17
|
comboBoxState: ComboBoxState<WrappedItem<unknown>, SelectionMode> | null;
|
|
16
18
|
inputProps: InputHTMLAttributes<HTMLInputElement>;
|
|
@@ -37,6 +39,8 @@ export interface TypeaheadComboboxV2ContextType extends AnalyticsEventProps<Desi
|
|
|
37
39
|
itemToString: (item: unknown) => string;
|
|
38
40
|
removeByKey: (key: Key) => void;
|
|
39
41
|
clearSelection: () => void;
|
|
42
|
+
/** allowNewValue: commit the typed custom value on Enter (single-select → form, multi → new tag); returns true when it did. */
|
|
43
|
+
onEnterKeypress: () => boolean;
|
|
40
44
|
}
|
|
41
45
|
export declare const TypeaheadComboboxV2Context: React.Context<TypeaheadComboboxV2ContextType>;
|
|
42
46
|
interface ProviderProps {
|
|
@@ -10,11 +10,8 @@
|
|
|
10
10
|
export declare function isSafeUrl(url: string): boolean;
|
|
11
11
|
/**
|
|
12
12
|
* Returns true if the URL is a safe relative path. Rejects anything containing
|
|
13
|
-
* protocol handlers (javascript:, data:, etc.), protocol-relative URLs (//
|
|
14
|
-
* or paths that don't start with '/'.
|
|
15
|
-
*
|
|
16
|
-
* This mirrors the validation in webapp LoginUtils.redirectWithHash() and the
|
|
17
|
-
* backend CreateSessionHandler.validateNextUrl().
|
|
13
|
+
* protocol handlers (javascript:, data:, etc.), protocol-relative URLs (// or
|
|
14
|
+
* its backslash equivalents), or paths that don't start with '/'.
|
|
18
15
|
*/
|
|
19
16
|
export declare function isSafeRelativeUrl(url: string): boolean;
|
|
20
17
|
/**
|
|
@@ -3,7 +3,7 @@ export interface MitigateExpensiveSelectorsMonacoPkgrPluginsOptions {
|
|
|
3
3
|
/**
|
|
4
4
|
* When true, emit the MITIGATED build: strip every expensive AntD-generated rule and append its
|
|
5
5
|
* Monaco-safe rewrite. When false (or omitted), emit the PRISTINE build: no plugins, so every rule
|
|
6
|
-
* stays at its natural source position and the output is byte-identical to a plain
|
|
6
|
+
* stays at its natural source position and the output is byte-identical to a plain dbui build. This
|
|
7
7
|
* is the flag-OFF stylesheet and is a provable no-op relative to today.
|
|
8
8
|
*/
|
|
9
9
|
mitigate: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Reads the checked state of a
|
|
2
|
+
* Reads the checked state of a dbui Switch regardless of the rendering engine.
|
|
3
3
|
*
|
|
4
4
|
* The AntD implementation renders the toggle as a `<button role="switch" aria-checked>`, so the
|
|
5
5
|
* checked state lives in the `aria-checked` attribute. The native implementation renders an
|
|
@@ -14,7 +14,7 @@ import type { GetTableRowByCellTextOptions, RowIdentifier, TableRows } from "../
|
|
|
14
14
|
*/
|
|
15
15
|
export declare function getTableRowByCellText(tableElement: HTMLElement, cellText: string, { columnHeaderName }?: GetTableRowByCellTextOptions): HTMLElement;
|
|
16
16
|
/**
|
|
17
|
-
* Converts a
|
|
17
|
+
* Converts a dbui table to a markdown table string. This means that each cell
|
|
18
18
|
* is separated by a pipe (including the edges), the header row is on its own line
|
|
19
19
|
* at the top, each data row is on its own line below, and the header row is separated
|
|
20
20
|
* by a row of dashes from the data rows. This is useful for checking table contents
|
|
@@ -62,6 +62,7 @@ export declare enum ValidSemanticColors {
|
|
|
62
62
|
BorderAccessible = "borderAccessible",
|
|
63
63
|
BorderDanger = "borderDanger",
|
|
64
64
|
BorderWarning = "borderWarning",
|
|
65
|
+
Certified = "certified",
|
|
65
66
|
CodeBackground = "codeBackground",
|
|
66
67
|
ComposerBackground = "composerBackground",
|
|
67
68
|
IconTrending = "iconTrending",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks/design-system",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.10",
|
|
4
|
+
"description": "dbui Design System",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"author": "",
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"files": [
|
|
56
56
|
"/AGENTS.md",
|
|
57
57
|
"/CHANGELOG.md",
|
|
58
|
-
"/
|
|
58
|
+
"/processes",
|
|
59
|
+
"/scaffold_tool",
|
|
59
60
|
"/scaffold-agents.md",
|
|
60
61
|
"dist",
|
|
61
62
|
"dist-types",
|
|
@@ -65,10 +66,25 @@
|
|
|
65
66
|
"scripts": {
|
|
66
67
|
"prepublish": "./scripts/prepublish",
|
|
67
68
|
"postpublish": "./scripts/postpublish",
|
|
69
|
+
"stage-npm-release": "swc-node ./npm_publishing/publish_tool/src/index.ts",
|
|
70
|
+
"publish-tool:test": "databricks-jest --config npm_publishing/publish_tool/jest.config.ts",
|
|
71
|
+
"publish-tool:type-check": "tsc --noEmit --project npm_publishing/publish_tool/tsconfig.json",
|
|
72
|
+
"publish-tool:lint": "databricks-lint --no-cycles npm_publishing/processes npm_publishing/publish_tool",
|
|
73
|
+
"publish-tool:lint:fix": "yarn publish-tool:lint --fix",
|
|
74
|
+
"publish-tool:format": "databricks-webfmt --write npm_publishing/processes npm_publishing/publish_tool",
|
|
75
|
+
"publish-tool:format:check": "databricks-webfmt --check npm_publishing/processes npm_publishing/publish_tool",
|
|
76
|
+
"scaffold-tool:build": "bash ./scripts/build_scaffold_tool",
|
|
77
|
+
"npx-setup:run": "bash ./npm_publishing/scaffold_tool/run",
|
|
78
|
+
"scaffold-tool:test": "yarn scaffold-tool:build && databricks-jest --config npm_publishing/scaffold_tool/jest.config.ts",
|
|
79
|
+
"scaffold-tool:type-check": "tsc --noEmit --project npm_publishing/scaffold_tool/tsconfig.json",
|
|
80
|
+
"scaffold-tool:lint": "databricks-lint --no-cycles npm_publishing/processes npm_publishing/scaffold_tool",
|
|
81
|
+
"scaffold-tool:lint:fix": "yarn scaffold-tool:lint --fix",
|
|
82
|
+
"scaffold-tool:format": "databricks-webfmt --write npm_publishing/processes npm_publishing/scaffold_tool",
|
|
83
|
+
"scaffold-tool:format:check": "databricks-webfmt --check npm_publishing/processes npm_publishing/scaffold_tool",
|
|
68
84
|
"generate": "npm-run-all generate:icons generate:graphics",
|
|
69
85
|
"generate:icons": "rm -rf src/design-system/Icon/__generated/icons && svgr -d src/design-system/Icon/__generated/icons --typescript --icon --template src/design-system/Icon/generator/iconTemplate.js src/assets/icons && TURBO_HASH=1 yarn lint:fix && yarn workspace @databricks/du-bois-storybook generate && yarn workspace @databricks/du-bois-storybook format && swc-node ./scripts/generate_icon_catalog.ts",
|
|
70
86
|
"generate:graphics": "rm -rf src/design-system/Graphic/__generated/graphics && node src/design-system/Graphic/generator/generateGraphics.js && TURBO_HASH=1 yarn lint:fix",
|
|
71
|
-
"clean": "rm -rf dist dist-types '*.tsbuildinfo'",
|
|
87
|
+
"clean": "rm -rf dist dist-types '*.tsbuildinfo' processes scaffold_tool scaffold-agents.md",
|
|
72
88
|
"build": "DATABRICKS_DESIGN_SYSTEM_BUILD_SOURCES=false yarn databricks-pkgr build --no-emit-types && yarn build:less-colors",
|
|
73
89
|
"build:dist": "DATABRICKS_DESIGN_SYSTEM_BUILD_SOURCES=true yarn databricks-pkgr build --no-emit-types && yarn build:less-colors",
|
|
74
90
|
"emit-types": "databricks-pkgr emit-types --emit-types-dir dist-types --transformer oxc",
|
|
@@ -147,6 +163,7 @@
|
|
|
147
163
|
"@emotion/unitless": "^0.8.1",
|
|
148
164
|
"@floating-ui/dom": "^1.6.12",
|
|
149
165
|
"@floating-ui/react": "^0.26.25",
|
|
166
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
150
167
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
151
168
|
"@radix-ui/react-context-menu": "2.1.5",
|
|
152
169
|
"@radix-ui/react-dialog": "1.0.5",
|
|
@@ -163,6 +180,7 @@
|
|
|
163
180
|
"@radix-ui/react-toggle": "1.0.3",
|
|
164
181
|
"@radix-ui/react-toolbar": "1.0.4",
|
|
165
182
|
"@radix-ui/react-tooltip-patch": "npm:@radix-ui/react-tooltip@^1.0.7",
|
|
183
|
+
"@react-aria/breadcrumbs": "^3.5.31",
|
|
166
184
|
"@react-aria/button": "^3.13.4",
|
|
167
185
|
"@react-aria/combobox": "^3.14.0",
|
|
168
186
|
"@react-aria/focus": "^3.21.4",
|
|
@@ -181,12 +199,14 @@
|
|
|
181
199
|
"date-fns": "^3.6.0",
|
|
182
200
|
"dom-accessibility-api": "^0.7.0",
|
|
183
201
|
"downshift": "^6.1.9",
|
|
202
|
+
"listr2": "7.0.2",
|
|
184
203
|
"lodash": "^4.17.21",
|
|
185
204
|
"react-day-picker": "^8.10.1",
|
|
186
205
|
"react-hook-form": "7.36.0",
|
|
187
206
|
"react-resizable": "^3.0.4",
|
|
188
207
|
"tabbable": "^6.4.0",
|
|
189
|
-
"tslib": "^2.8.1"
|
|
208
|
+
"tslib": "^2.8.1",
|
|
209
|
+
"zod": "^3.25.0"
|
|
190
210
|
},
|
|
191
|
-
"bin": "./
|
|
211
|
+
"bin": "./scaffold_tool/src/main.js"
|
|
192
212
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.describeProcess = describeProcess;
|
|
4
|
+
exports.runSuccessfulProcess = runSuccessfulProcess;
|
|
5
|
+
function describeProcess(request) {
|
|
6
|
+
return [request.binary, ...request.args].join(' ');
|
|
7
|
+
}
|
|
8
|
+
async function runSuccessfulProcess(processRunner, request) {
|
|
9
|
+
const outcome = await processRunner.run(request);
|
|
10
|
+
if (outcome.timedOut) {
|
|
11
|
+
throw new Error(`${describeProcess(request)} timed out.`);
|
|
12
|
+
}
|
|
13
|
+
if (outcome.exitCode !== 0) {
|
|
14
|
+
const details = [outcome.stdout.trim(), outcome.stderr.trim()].filter(Boolean).join('\n');
|
|
15
|
+
const suffix = details ? `\n${details}` : '';
|
|
16
|
+
throw new Error(`${describeProcess(request)} failed with exit code ${outcome.exitCode}.${suffix}`);
|
|
17
|
+
}
|
|
18
|
+
return outcome;
|
|
19
|
+
}
|