@flowdrop/flowdrop 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +233 -0
- package/dist/adapters/agentspec/autoLayout.d.ts +18 -36
- package/dist/adapters/agentspec/autoLayout.js +75 -93
- package/dist/chat/activity.d.ts +49 -0
- package/dist/chat/activity.js +65 -0
- package/dist/chat/commandClassifier.js +2 -1
- package/dist/commands/executor.js +186 -27
- package/dist/commands/index.d.ts +2 -1
- package/dist/commands/index.js +2 -0
- package/dist/commands/parser.js +43 -3
- package/dist/commands/session.d.ts +60 -0
- package/dist/commands/session.js +332 -0
- package/dist/commands/storeIntegration.svelte.js +18 -1
- package/dist/commands/types.d.ts +77 -4
- package/dist/components/App.svelte +976 -226
- package/dist/components/App.svelte.d.ts +34 -2
- package/dist/components/BindablePortListbox.svelte +68 -369
- package/dist/components/Button.svelte +17 -14
- package/dist/components/Button.svelte.d.ts +2 -2
- package/dist/components/CanvasContextMenu.svelte +31 -10
- package/dist/components/CanvasController.svelte +146 -3
- package/dist/components/CanvasController.svelte.d.ts +25 -33
- package/dist/components/CanvasIconButton.svelte +6 -6
- package/dist/components/CanvasToolbar.svelte +103 -0
- package/dist/components/CanvasToolbar.svelte.d.ts +23 -0
- package/dist/components/CanvasZoomControls.svelte +122 -0
- package/dist/components/CanvasZoomControls.svelte.d.ts +15 -0
- package/dist/components/ConfigForm.svelte +159 -121
- package/dist/components/ConfigModal.svelte +11 -54
- package/dist/components/ConfigPanel.svelte +98 -228
- package/dist/components/ConfigPanel.svelte.d.ts +2 -2
- package/dist/components/ConnectPortPicker.svelte +153 -0
- package/dist/components/ConnectPortPicker.svelte.d.ts +22 -0
- package/dist/components/DoctorMenu.svelte +422 -0
- package/dist/components/DoctorMenu.svelte.d.ts +7 -0
- package/dist/components/ExternalLinkRow.svelte +82 -0
- package/dist/components/ExternalLinkRow.svelte.d.ts +14 -0
- package/dist/components/FlowDropEdge.svelte +52 -2
- package/dist/components/FlowDropEdge.svelte.d.ts +5 -1
- package/dist/components/InterfaceNameInput.svelte +103 -0
- package/dist/components/InterfaceNameInput.svelte.d.ts +13 -0
- package/dist/components/InterfaceTag.svelte +215 -0
- package/dist/components/InterfaceTag.svelte.d.ts +20 -0
- package/dist/components/InterfaceTagAnchor.svelte +103 -0
- package/dist/components/InterfaceTagAnchor.svelte.d.ts +12 -0
- package/dist/components/InterfaceTagLayer.svelte +314 -0
- package/dist/components/InterfaceTagLayer.svelte.d.ts +28 -0
- package/dist/components/LogsSidebar.svelte +43 -43
- package/dist/components/LoopbackLanes.svelte +54 -0
- package/dist/components/LoopbackLanes.svelte.d.ts +8 -0
- package/dist/components/Navbar.svelte +539 -169
- package/dist/components/Navbar.svelte.d.ts +20 -1
- package/dist/components/NodeInspector.svelte +153 -0
- package/dist/components/NodeInspector.svelte.d.ts +19 -0
- package/dist/components/NodeLastRun.svelte +212 -0
- package/dist/components/NodeLastRun.svelte.d.ts +13 -0
- package/dist/components/NodeSidebar.svelte +279 -23
- package/dist/components/NodeSidebar.svelte.d.ts +11 -0
- package/dist/components/NodeStatusOverlay.svelte +144 -353
- package/dist/components/NodeStatusOverlay.svelte.d.ts +4 -1
- package/dist/components/PortMappingRow.svelte +28 -44
- package/dist/components/PortPickerListbox.svelte +475 -0
- package/dist/components/PortPickerListbox.svelte.d.ts +73 -0
- package/dist/components/ReadOnlyDetails.svelte +52 -89
- package/dist/components/RunBar.svelte +222 -0
- package/dist/components/RunBar.svelte.d.ts +20 -0
- package/dist/components/RunsMenu.svelte +649 -0
- package/dist/components/RunsMenu.svelte.d.ts +14 -0
- package/dist/components/SettingsModal.svelte +27 -59
- package/dist/components/SettingsPanel.svelte +515 -241
- package/dist/components/StraightGuides.svelte +46 -0
- package/dist/components/StraightGuides.svelte.d.ts +7 -0
- package/dist/components/ThemeToggle.svelte +14 -4
- package/dist/components/UniversalNode.svelte +152 -51
- package/dist/components/WebMCPBridgeMenu.svelte +336 -0
- package/dist/components/WebMCPBridgeMenu.svelte.d.ts +3 -0
- package/dist/components/WorkflowEditor.svelte +789 -136
- package/dist/components/WorkflowEditor.svelte.d.ts +43 -1
- package/dist/components/WorkflowInterfaceEditor.svelte +63 -92
- package/dist/components/WorkflowInterfaceEntryCard.svelte +478 -549
- package/dist/components/WorkflowInterfaceEntryComposer.svelte +23 -67
- package/dist/components/WorkflowPlaygroundSettings.svelte +48 -85
- package/dist/components/WorkflowSettingsPanel.svelte +311 -0
- package/dist/components/WorkflowSettingsPanel.svelte.d.ts +20 -0
- package/dist/components/ZoomTier.svelte +56 -0
- package/dist/components/ZoomTier.svelte.d.ts +4 -0
- package/dist/components/chat/AIChatPanel.svelte +463 -312
- package/dist/components/chat/ActivityList.svelte +130 -0
- package/dist/components/chat/ActivityList.svelte.d.ts +11 -0
- package/dist/components/chat/ActivityRow.svelte +179 -0
- package/dist/components/chat/ActivityRow.svelte.d.ts +16 -0
- package/dist/components/chat/CommandPreview.svelte +42 -64
- package/dist/components/console/CommandConsole.svelte +106 -41
- package/dist/components/console/CommandConsole.svelte.d.ts +2 -0
- package/dist/components/console/ConsoleAutocomplete.svelte +14 -13
- package/dist/components/console/ConsoleInput.svelte +60 -27
- package/dist/components/console/ConsoleOutput.svelte +86 -24
- package/dist/components/console/ConsoleStrip.svelte +80 -0
- package/dist/components/console/ConsoleStrip.svelte.d.ts +13 -0
- package/dist/components/form/FieldFactory.svelte +30 -4
- package/dist/components/form/FormArray.svelte +306 -339
- package/dist/components/form/FormArray.svelte.d.ts +10 -0
- package/dist/components/form/FormArrayRows.svelte +443 -0
- package/dist/components/form/FormArrayRows.svelte.d.ts +18 -0
- package/dist/components/form/FormAutocomplete.svelte +2 -2
- package/dist/components/form/FormCheckboxGroup.svelte +10 -85
- package/dist/components/form/FormCodeEditor.svelte +3 -3
- package/dist/components/form/FormFieldWrapper.svelte +98 -18
- package/dist/components/form/FormFieldWrapper.svelte.d.ts +10 -0
- package/dist/components/form/FormFieldset.svelte +44 -28
- package/dist/components/form/FormMarkdownEditor.svelte +6 -6
- package/dist/components/form/FormPorts.svelte +437 -141
- package/dist/components/form/FormSelect.svelte +1 -1
- package/dist/components/form/FormTemplateEditor.svelte +22 -26
- package/dist/components/form/FormToggle.svelte +15 -106
- package/dist/components/form/FormToggle.svelte.d.ts +3 -2
- package/dist/components/form/FormUISchemaRenderer.svelte +38 -3
- package/dist/components/form/humanizeKey.d.ts +7 -0
- package/dist/components/form/humanizeKey.js +21 -0
- package/dist/components/form/types.d.ts +6 -0
- package/dist/components/icons/MenuOpenIcon.svelte +8 -1
- package/dist/components/interrupt/ChoicePrompt.svelte +51 -152
- package/dist/components/interrupt/ChoicePrompt.svelte.d.ts +0 -2
- package/dist/components/interrupt/ConfirmationPrompt.svelte +18 -201
- package/dist/components/interrupt/ConfirmationPrompt.svelte.d.ts +0 -4
- package/dist/components/interrupt/FormPrompt.svelte +22 -147
- package/dist/components/interrupt/FormPrompt.svelte.d.ts +0 -4
- package/dist/components/interrupt/InterruptBubble.svelte +198 -355
- package/dist/components/interrupt/InterruptBubble.svelte.d.ts +0 -2
- package/dist/components/interrupt/ReviewPrompt.svelte +0 -10
- package/dist/components/interrupt/TextInputPrompt.svelte +23 -120
- package/dist/components/interrupt/TextInputPrompt.svelte.d.ts +0 -2
- package/dist/components/layouts/MainLayout.svelte +110 -75
- package/dist/components/layouts/MainLayout.svelte.d.ts +17 -0
- package/dist/components/nodes/CaptionNode.svelte +7 -0
- package/dist/components/nodes/GatewayNode.svelte +66 -431
- package/dist/components/nodes/IdeaNode.svelte +6 -5
- package/dist/components/nodes/NodeCard.svelte +1051 -0
- package/dist/components/nodes/NodeCard.svelte.d.ts +30 -0
- package/dist/components/nodes/NodeConfigButton.svelte +28 -9
- package/dist/components/nodes/NodeProblemMark.svelte +113 -0
- package/dist/components/nodes/NodeProblemMark.svelte.d.ts +8 -0
- package/dist/components/nodes/NodeTip.svelte +104 -0
- package/dist/components/nodes/NodeTip.svelte.d.ts +15 -0
- package/dist/components/nodes/NotesNode.svelte +183 -150
- package/dist/components/nodes/SimpleNode.svelte +176 -44
- package/dist/components/nodes/SquareNode.svelte +127 -34
- package/dist/components/nodes/TerminalNode.svelte +232 -88
- package/dist/components/nodes/ToolNode.svelte +49 -381
- package/dist/components/nodes/WorkflowNode.svelte +40 -399
- package/dist/components/playground/ChatBubble.svelte +248 -62
- package/dist/components/playground/ChatInput.svelte +134 -297
- package/dist/components/playground/ChatInput.svelte.d.ts +17 -0
- package/dist/components/playground/ControlPanel.svelte +290 -190
- package/dist/components/playground/ControlPanel.svelte.d.ts +10 -2
- package/dist/components/playground/DockedPlayground.svelte +82 -0
- package/dist/components/playground/DockedPlayground.svelte.d.ts +30 -0
- package/dist/components/playground/ExecutionConsole.svelte +54 -36
- package/dist/components/playground/ExecutionConsole.svelte.d.ts +12 -0
- package/dist/components/playground/ExecutionLogs.svelte +4 -0
- package/dist/components/playground/HeaderMenu.svelte +170 -0
- package/dist/components/playground/HeaderMenu.svelte.d.ts +22 -0
- package/dist/components/playground/InputCollector.svelte +8 -32
- package/dist/components/playground/InputFields.svelte +246 -0
- package/dist/components/playground/InputFields.svelte.d.ts +16 -0
- package/dist/components/playground/InterfaceInputForm.svelte +285 -30
- package/dist/components/playground/InterfaceInputForm.svelte.d.ts +20 -0
- package/dist/components/playground/InterfaceJsonInput.svelte +92 -0
- package/dist/components/playground/InterfaceJsonInput.svelte.d.ts +10 -0
- package/dist/components/playground/LogRow.svelte +12 -12
- package/dist/components/playground/MessageMarkdown.svelte +11 -11
- package/dist/components/playground/MessageStream.svelte +154 -182
- package/dist/components/playground/Playground.svelte +17 -1139
- package/dist/components/playground/PlaygroundApp.svelte +12 -2
- package/dist/components/playground/PlaygroundApp.svelte.d.ts +2 -1
- package/dist/components/playground/PlaygroundHeader.svelte +309 -0
- package/dist/components/playground/PlaygroundHeader.svelte.d.ts +22 -0
- package/dist/components/playground/PlaygroundModal.svelte +6 -0
- package/dist/components/playground/PlaygroundStudio.svelte +30 -32
- package/dist/components/playground/PlaygroundSurface.svelte +648 -0
- package/dist/components/playground/PlaygroundSurface.svelte.d.ts +79 -0
- package/dist/components/playground/StepsSummary.svelte +312 -0
- package/dist/components/playground/StepsSummary.svelte.d.ts +11 -0
- package/dist/components/playground/messageDisplay.d.ts +9 -0
- package/dist/components/playground/messageDisplay.js +24 -2
- package/dist/components/playground/stepSummary.d.ts +71 -0
- package/dist/components/playground/stepSummary.js +152 -0
- package/dist/components/ports/PortTypeBadge.svelte +13 -1
- package/dist/components/primitives/Button.svelte +226 -0
- package/dist/components/primitives/Button.svelte.d.ts +31 -0
- package/dist/components/primitives/Card.svelte +110 -0
- package/dist/components/primitives/Card.svelte.d.ts +20 -0
- package/dist/components/primitives/Checkbox.svelte +126 -0
- package/dist/components/primitives/Checkbox.svelte.d.ts +15 -0
- package/dist/components/primitives/Chip.svelte +143 -0
- package/dist/components/primitives/Chip.svelte.d.ts +22 -0
- package/dist/components/primitives/Combobox.svelte +444 -0
- package/dist/components/primitives/Combobox.svelte.d.ts +22 -0
- package/dist/components/primitives/Composer.svelte +293 -0
- package/dist/components/primitives/Composer.svelte.d.ts +47 -0
- package/dist/components/primitives/EmptyState.svelte +113 -0
- package/dist/components/primitives/EmptyState.svelte.d.ts +18 -0
- package/dist/components/primitives/Field.svelte +178 -0
- package/dist/components/primitives/Field.svelte.d.ts +30 -0
- package/dist/components/primitives/IconButton.svelte +156 -0
- package/dist/components/primitives/IconButton.svelte.d.ts +27 -0
- package/dist/components/primitives/Menu.svelte +435 -0
- package/dist/components/primitives/Menu.svelte.d.ts +61 -0
- package/dist/components/primitives/Notice.svelte +161 -0
- package/dist/components/primitives/Notice.svelte.d.ts +22 -0
- package/dist/components/primitives/PanelHeader.svelte +134 -0
- package/dist/components/primitives/PanelHeader.svelte.d.ts +23 -0
- package/dist/components/primitives/Segmented.svelte +198 -0
- package/dist/components/primitives/Segmented.svelte.d.ts +32 -0
- package/dist/components/primitives/Select.svelte +130 -0
- package/dist/components/primitives/Select.svelte.d.ts +26 -0
- package/dist/components/primitives/StatusPill.svelte +218 -0
- package/dist/components/primitives/StatusPill.svelte.d.ts +24 -0
- package/dist/components/primitives/Switch.svelte +113 -0
- package/dist/components/primitives/Switch.svelte.d.ts +14 -0
- package/dist/components/primitives/Tabs.svelte +209 -0
- package/dist/components/primitives/Tabs.svelte.d.ts +32 -0
- package/dist/components/primitives/Toolbar.svelte +94 -0
- package/dist/components/primitives/Toolbar.svelte.d.ts +14 -0
- package/dist/components/primitives/ToolbarSeparator.svelte +40 -0
- package/dist/components/primitives/ToolbarSeparator.svelte.d.ts +7 -0
- package/dist/components/surfaces/SurfaceOverlay.svelte +10 -40
- package/dist/components/surfaces/TabbedSurface.svelte +49 -39
- package/dist/components/surfaces/TabbedSurface.svelte.d.ts +8 -0
- package/dist/components/toast/DismissibleToast.svelte +94 -32
- package/dist/components/toast/DismissibleToast.svelte.d.ts +17 -7
- package/dist/config/endpoints.d.ts +43 -1
- package/dist/config/endpoints.js +21 -3
- package/dist/core/index.d.ts +8 -5
- package/dist/core/index.js +1 -1
- package/dist/editor/connectCandidates.d.ts +56 -0
- package/dist/editor/connectCandidates.js +131 -0
- package/dist/editor/contextMenu.d.ts +31 -2
- package/dist/editor/contextMenu.js +96 -9
- package/dist/editor/index.d.ts +4 -1
- package/dist/editor/index.js +1 -0
- package/dist/editor/interfaceMenu.d.ts +35 -0
- package/dist/editor/interfaceMenu.js +47 -0
- package/dist/editor/portMenu.d.ts +23 -0
- package/dist/editor/portMenu.js +34 -0
- package/dist/editor/tidy.d.ts +30 -0
- package/dist/editor/tidy.js +66 -0
- package/dist/helpers/workflowEditorHelper.d.ts +3 -0
- package/dist/helpers/workflowEditorHelper.js +8 -3
- package/dist/layout/fromWorkflow.d.ts +42 -0
- package/dist/layout/fromWorkflow.js +135 -0
- package/dist/layout/geometry.d.ts +102 -0
- package/dist/layout/geometry.js +317 -0
- package/dist/layout/index.d.ts +21 -0
- package/dist/layout/index.js +14 -0
- package/dist/layout/inspect.d.ts +18 -0
- package/dist/layout/inspect.js +81 -0
- package/dist/layout/lanePath.d.ts +23 -0
- package/dist/layout/lanePath.js +47 -0
- package/dist/layout/measure.d.ts +141 -0
- package/dist/layout/measure.js +477 -0
- package/dist/layout/primitives.d.ts +124 -0
- package/dist/layout/primitives.js +461 -0
- package/dist/layout/sweep.d.ts +59 -0
- package/dist/layout/sweep.js +257 -0
- package/dist/layout/toWorkflow.d.ts +43 -0
- package/dist/layout/toWorkflow.js +131 -0
- package/dist/layout/types.d.ts +93 -0
- package/dist/layout/types.js +35 -0
- package/dist/messages/defaults.d.ts +641 -26
- package/dist/messages/defaults.js +578 -25
- package/dist/messages/types.d.ts +21 -1
- package/dist/openapi/v1/openapi.yaml +109 -0
- package/dist/playground/index.d.ts +28 -1
- package/dist/playground/index.js +29 -0
- package/dist/playground/mount.d.ts +28 -2
- package/dist/playground/mount.js +41 -15
- package/dist/playground/runAction.d.ts +29 -0
- package/dist/playground/runAction.js +38 -0
- package/dist/services/doctorService.d.ts +52 -0
- package/dist/services/doctorService.js +113 -0
- package/dist/services/globalSave.js +12 -29
- package/dist/services/nodeExecutionService.d.ts +12 -1
- package/dist/services/nodeExecutionService.js +58 -58
- package/dist/services/playgroundService.d.ts +17 -2
- package/dist/services/playgroundService.js +48 -5
- package/dist/services/runsService.d.ts +42 -0
- package/dist/services/runsService.js +87 -0
- package/dist/services/toastQueue.d.ts +33 -0
- package/dist/services/toastQueue.js +38 -0
- package/dist/services/toastService.d.ts +30 -9
- package/dist/services/toastService.js +81 -46
- package/dist/settings/index.d.ts +1 -0
- package/dist/skins/graphite.d.ts +26 -0
- package/dist/skins/graphite.js +473 -0
- package/dist/skins/index.d.ts +2 -1
- package/dist/skins/index.js +4 -2
- package/dist/skins/slate.js +4 -4
- package/dist/stores/attachedRunStore.svelte.d.ts +35 -0
- package/dist/stores/attachedRunStore.svelte.js +47 -0
- package/dist/stores/connectDragStore.svelte.d.ts +39 -0
- package/dist/stores/connectDragStore.svelte.js +42 -0
- package/dist/stores/doctorStore.svelte.d.ts +79 -0
- package/dist/stores/doctorStore.svelte.js +244 -0
- package/dist/stores/editedNodesStore.svelte.d.ts +42 -0
- package/dist/stores/editedNodesStore.svelte.js +84 -0
- package/dist/stores/editorModeStore.svelte.d.ts +34 -0
- package/dist/stores/editorModeStore.svelte.js +55 -0
- package/dist/stores/instanceContainer.svelte.d.ts +53 -0
- package/dist/stores/instanceContainer.svelte.js +38 -1
- package/dist/stores/loopbackLanesStore.svelte.d.ts +18 -0
- package/dist/stores/loopbackLanesStore.svelte.js +25 -0
- package/dist/stores/nodeHighlightStore.svelte.d.ts +34 -0
- package/dist/stores/nodeHighlightStore.svelte.js +56 -0
- package/dist/stores/playgroundStore.svelte.d.ts +66 -2
- package/dist/stores/playgroundStore.svelte.js +164 -2
- package/dist/stores/runController.svelte.d.ts +382 -0
- package/dist/stores/runController.svelte.js +1217 -0
- package/dist/stores/settingsStore.svelte.d.ts +80 -18
- package/dist/stores/settingsStore.svelte.js +180 -62
- package/dist/stores/workflowStore.svelte.d.ts +14 -0
- package/dist/stores/workflowStore.svelte.js +22 -1
- package/dist/styles/base.css +286 -25
- package/dist/styles/fonts/Inter-LICENSE.txt +93 -0
- package/dist/styles/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/inter.css +19 -0
- package/dist/styles/toast.css +100 -20
- package/dist/styles/tokenAliases.js +118 -1
- package/dist/styles/tokens.css +586 -14
- package/dist/svelte-app.d.ts +47 -5
- package/dist/svelte-app.js +15 -3
- package/dist/themes/graphite.d.ts +2 -0
- package/dist/themes/graphite.js +15 -0
- package/dist/themes/index.d.ts +2 -1
- package/dist/themes/index.js +22 -3
- package/dist/themes/minimal.js +10 -0
- package/dist/themes/scopedSkinCss.d.ts +22 -5
- package/dist/themes/scopedSkinCss.js +136 -11
- package/dist/types/chat.d.ts +6 -0
- package/dist/types/doctor.d.ts +82 -0
- package/dist/types/doctor.js +11 -0
- package/dist/types/events.d.ts +35 -0
- package/dist/types/events.js +4 -1
- package/dist/types/index.d.ts +17 -2
- package/dist/types/navbar.d.ts +36 -0
- package/dist/types/playground.d.ts +75 -0
- package/dist/types/settings.d.ts +120 -7
- package/dist/types/settings.js +35 -3
- package/dist/types/skin.d.ts +21 -8
- package/dist/types/theme.d.ts +40 -2
- package/dist/utils/appearance.d.ts +19 -0
- package/dist/utils/appearance.js +13 -0
- package/dist/utils/canvasFit.d.ts +41 -0
- package/dist/utils/canvasFit.js +44 -0
- package/dist/utils/chipTitles.d.ts +9 -0
- package/dist/utils/chipTitles.js +19 -0
- package/dist/utils/connections.js +8 -0
- package/dist/utils/consoleHighlight.d.ts +28 -0
- package/dist/utils/consoleHighlight.js +269 -0
- package/dist/utils/deprecation.d.ts +17 -0
- package/dist/utils/deprecation.js +29 -0
- package/dist/utils/doctorOperations.d.ts +40 -0
- package/dist/utils/doctorOperations.js +237 -0
- package/dist/utils/duration.d.ts +13 -0
- package/dist/utils/duration.js +40 -0
- package/dist/utils/inspectorContext.d.ts +19 -0
- package/dist/utils/inspectorContext.js +12 -0
- package/dist/utils/inspectorSections.d.ts +20 -0
- package/dist/utils/inspectorSections.js +44 -0
- package/dist/utils/inspectorSurface.d.ts +46 -0
- package/dist/utils/inspectorSurface.js +51 -0
- package/dist/utils/interfaceTags.d.ts +102 -0
- package/dist/utils/interfaceTags.js +211 -0
- package/dist/utils/itemRef.d.ts +86 -0
- package/dist/utils/itemRef.js +106 -0
- package/dist/utils/lastRun.d.ts +35 -0
- package/dist/utils/lastRun.js +73 -0
- package/dist/utils/messageNodeLink.d.ts +17 -0
- package/dist/utils/messageNodeLink.js +16 -0
- package/dist/utils/minimapVisibility.d.ts +28 -0
- package/dist/utils/minimapVisibility.js +34 -0
- package/dist/utils/nodeAriaLabel.d.ts +12 -0
- package/dist/utils/nodeAriaLabel.js +17 -0
- package/dist/utils/nodeFingerprint.d.ts +27 -0
- package/dist/utils/nodeFingerprint.js +66 -0
- package/dist/utils/nodeFormSchema.d.ts +10 -0
- package/dist/utils/nodeFormSchema.js +2 -2
- package/dist/utils/nodeGeometry.d.ts +168 -0
- package/dist/utils/nodeGeometry.js +204 -0
- package/dist/utils/nodeProblem.d.ts +19 -0
- package/dist/utils/nodeProblem.js +9 -0
- package/dist/utils/nodeStatus.d.ts +38 -3
- package/dist/utils/nodeStatus.js +67 -39
- package/dist/utils/nodeSwap.js +9 -1
- package/dist/utils/nodeWrapper.d.ts +1 -0
- package/dist/utils/playgroundHistory.d.ts +48 -0
- package/dist/utils/playgroundHistory.js +38 -0
- package/dist/utils/playgroundInputRuns.d.ts +26 -0
- package/dist/utils/playgroundInputRuns.js +50 -0
- package/dist/utils/portExposure.d.ts +49 -0
- package/dist/utils/portExposure.js +122 -0
- package/dist/utils/portUtils.d.ts +16 -0
- package/dist/utils/portUtils.js +37 -0
- package/dist/utils/portal.d.ts +0 -19
- package/dist/utils/portal.js +8 -1
- package/dist/utils/reservedPorts.d.ts +59 -0
- package/dist/utils/reservedPorts.js +60 -0
- package/dist/utils/runEdges.d.ts +24 -0
- package/dist/utils/runEdges.js +35 -0
- package/dist/utils/runsList.d.ts +69 -0
- package/dist/utils/runsList.js +134 -0
- package/dist/utils/selectOptions.d.ts +62 -0
- package/dist/utils/selectOptions.js +137 -0
- package/dist/utils/sessionRuns.d.ts +62 -0
- package/dist/utils/sessionRuns.js +123 -0
- package/dist/utils/sheetWidths.d.ts +29 -0
- package/dist/utils/sheetWidths.js +41 -0
- package/dist/utils/sidebarWidths.d.ts +34 -0
- package/dist/utils/sidebarWidths.js +47 -0
- package/dist/utils/straightWires.d.ts +73 -0
- package/dist/utils/straightWires.js +99 -0
- package/dist/utils/themeScope.svelte.d.ts +10 -0
- package/dist/utils/themeScope.svelte.js +80 -0
- package/dist/utils/wiredHandles.d.ts +10 -0
- package/dist/utils/wiredHandles.js +14 -0
- package/dist/utils/workflowDraft.d.ts +9 -0
- package/dist/utils/workflowDraft.js +39 -0
- package/dist/utils/workflowInterface.d.ts +40 -7
- package/dist/utils/workflowInterface.js +66 -16
- package/dist/utils/zoomTier.d.ts +43 -0
- package/dist/utils/zoomTier.js +107 -0
- package/dist/utils/zoomTierRows.d.ts +41 -0
- package/dist/utils/zoomTierRows.js +103 -0
- package/dist/webmcp/WebMCPConfirm.svelte +1 -1
- package/dist/webmcp/bridge.d.ts +5 -0
- package/dist/webmcp/bridge.js +8 -0
- package/dist/webmcp/bridgeController.svelte.d.ts +84 -0
- package/dist/webmcp/bridgeController.svelte.js +224 -0
- package/dist/webmcp/descriptors.d.ts +1 -1
- package/dist/webmcp/descriptors.js +66 -5
- package/dist/webmcp/fakeWidget.d.ts +34 -0
- package/dist/webmcp/fakeWidget.js +75 -0
- package/dist/webmcp/gate.js +4 -0
- package/dist/webmcp/index.d.ts +2 -0
- package/dist/webmcp/index.js +1 -0
- package/dist/webmcp/runtime.js +4 -1
- package/dist/webmcp/types.d.ts +2 -0
- package/dist/webmcp/validate.js +5 -1
- package/package.json +8 -2
- package/dist/components/Select.svelte +0 -53
- package/dist/components/Select.svelte.d.ts +0 -15
- package/dist/components/icons/CommandLineIcon.svelte +0 -15
- package/dist/components/icons/CommandLineIcon.svelte.d.ts +0 -26
- package/dist/components/toast/WarningIcon.svelte +0 -28
- package/dist/components/toast/WarningIcon.svelte.d.ts +0 -26
package/dist/styles/base.css
CHANGED
|
@@ -17,6 +17,53 @@
|
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/* Type base: untyped elements inside the library (library node items, toggles,
|
|
21
|
+
port rows) take the body size and ink instead of the host's 16px / black. */
|
|
22
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) {
|
|
23
|
+
font-size: var(--fd-text-body);
|
|
24
|
+
color: var(--fd-foreground);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Colour scheme: native form controls, their lists (a <select>'s popup) and the
|
|
28
|
+
scrollbars follow the resolved theme instead of the OS setting. The theme is
|
|
29
|
+
data-theme on the scope itself (or on any ancestor, e.g. the deprecated <html> mirror or a host-set one), so both
|
|
30
|
+
forms are matched. */
|
|
31
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) {
|
|
32
|
+
color-scheme: light;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-theme='dark'] :where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal),
|
|
36
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal)[data-theme='dark'] {
|
|
37
|
+
color-scheme: dark;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* One scrollbar for every scrolling area in the library, from the scrollbar
|
|
41
|
+
tokens. Components with their own ::-webkit-scrollbar rules still win. */
|
|
42
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) * {
|
|
43
|
+
scrollbar-width: thin;
|
|
44
|
+
scrollbar-color: var(--fd-scrollbar-thumb) transparent;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) ::-webkit-scrollbar {
|
|
48
|
+
width: var(--fd-scrollbar-size);
|
|
49
|
+
height: var(--fd-scrollbar-size);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) ::-webkit-scrollbar-track {
|
|
53
|
+
background: transparent;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) ::-webkit-scrollbar-thumb {
|
|
57
|
+
background-color: var(--fd-scrollbar-thumb);
|
|
58
|
+
border: 2px solid transparent;
|
|
59
|
+
border-radius: var(--fd-radius-full);
|
|
60
|
+
background-clip: padding-box;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal) ::-webkit-scrollbar-thumb:hover {
|
|
64
|
+
background-color: var(--fd-scrollbar-thumb-hover);
|
|
65
|
+
}
|
|
66
|
+
|
|
20
67
|
/* Drop the UA default margin on paragraphs so block text sits on the grid;
|
|
21
68
|
contexts that want spacing (e.g. .markdown-display p) opt back in. */
|
|
22
69
|
:where(.flowdrop-root, .flowdrop-scope, .flowdrop-portal, .svelte-flow) p {
|
|
@@ -80,6 +127,8 @@
|
|
|
80
127
|
--xy-controls-button-border-color: var(--fd-controls-button-border, var(--fd-border));
|
|
81
128
|
--xy-controls-box-shadow: var(--fd-controls-box-shadow, 0 0 2px 1px rgba(0, 0, 0, 0.08));
|
|
82
129
|
|
|
130
|
+
--xy-attribution-background-color: transparent;
|
|
131
|
+
|
|
83
132
|
--xy-minimap-background-color: var(--fd-minimap-bg, var(--fd-muted));
|
|
84
133
|
--xy-minimap-mask-background-color: var(--fd-minimap-mask-bg, var(--fd-backdrop));
|
|
85
134
|
--xy-minimap-mask-stroke-color: var(--fd-minimap-mask-stroke, var(--fd-border));
|
|
@@ -89,15 +138,107 @@
|
|
|
89
138
|
--xy-minimap-node-stroke-width: var(--fd-minimap-node-stroke-width, 1);
|
|
90
139
|
}
|
|
91
140
|
|
|
141
|
+
/* Floating canvas controls: one inset from the canvas edge (xyflow's own is
|
|
142
|
+
15px). The attribution label keeps its corner, so the minimap lifts above it. */
|
|
143
|
+
.svelte-flow .svelte-flow__panel:not(.svelte-flow__attribution) {
|
|
144
|
+
margin: var(--fd-canvas-inset);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.svelte-flow .svelte-flow__panel.svelte-flow__minimap {
|
|
148
|
+
margin-bottom: calc(var(--fd-canvas-inset) + var(--fd-minimap-attribution-clearance));
|
|
149
|
+
}
|
|
150
|
+
|
|
92
151
|
/* Minimap: render as a clearly bounded floating panel so users don't mistake
|
|
93
152
|
it for the canvas and pan unintentionally when clicking/dragging on it. */
|
|
94
153
|
.svelte-flow .svelte-flow__minimap {
|
|
95
|
-
border: 1px solid var(--fd-border
|
|
96
|
-
border-radius: var(--fd-radius
|
|
97
|
-
box-shadow: var(--fd-shadow
|
|
154
|
+
border: 1px solid var(--fd-minimap-border);
|
|
155
|
+
border-radius: var(--fd-minimap-radius);
|
|
156
|
+
box-shadow: var(--fd-minimap-shadow);
|
|
157
|
+
overflow: hidden;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Zoom controls: one group. Default keeps xyflow's bordered buttons; Graphite
|
|
161
|
+
sets the tokens to a floating group of borderless ghost buttons. */
|
|
162
|
+
.svelte-flow .svelte-flow__controls {
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
align-items: center;
|
|
165
|
+
padding: var(--fd-zoom-group-padding);
|
|
166
|
+
background: var(--fd-zoom-group-bg);
|
|
167
|
+
border: var(--fd-zoom-group-border);
|
|
168
|
+
border-radius: var(--fd-zoom-group-radius);
|
|
169
|
+
box-shadow: var(--fd-zoom-group-shadow);
|
|
98
170
|
overflow: hidden;
|
|
99
171
|
}
|
|
100
172
|
|
|
173
|
+
.svelte-flow .svelte-flow__controls .svelte-flow__controls-button {
|
|
174
|
+
box-sizing: border-box;
|
|
175
|
+
width: var(--fd-zoom-button-size);
|
|
176
|
+
height: var(--fd-zoom-button-size);
|
|
177
|
+
border-radius: var(--fd-zoom-button-radius);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.svelte-flow .svelte-flow__controls.horizontal .svelte-flow__controls-button {
|
|
181
|
+
border-right: var(--fd-zoom-button-border);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.svelte-flow .svelte-flow__controls.horizontal .svelte-flow__controls-button:last-child {
|
|
185
|
+
border-right: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.svelte-flow .svelte-flow__controls-button svg {
|
|
189
|
+
max-width: var(--fd-zoom-icon-size);
|
|
190
|
+
max-height: var(--fd-zoom-icon-size);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Node port rows: the type tag, the shape glyph and their order are theme
|
|
194
|
+
knobs (Graphite: small mono tag, name left, no glyph). Defaults reproduce the
|
|
195
|
+
built-in look. */
|
|
196
|
+
.svelte-flow__node .flowdrop-port-symbol {
|
|
197
|
+
display: var(--fd-node-port-symbol-display);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.svelte-flow__node .fd-port-label .flowdrop-badge--outline {
|
|
201
|
+
padding: var(--fd-node-port-chip-pad);
|
|
202
|
+
border-color: var(--fd-node-port-chip-border);
|
|
203
|
+
font-family: var(--fd-node-port-chip-font);
|
|
204
|
+
font-size: var(--fd-node-port-chip-size);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* "Required" on a port: the badge, or (Graphite) a small asterisk after the
|
|
208
|
+
name with the word kept for screen readers. */
|
|
209
|
+
.svelte-flow__node .fd-port-label .fd-port-label__required {
|
|
210
|
+
position: var(--fd-node-port-required-word-position, static);
|
|
211
|
+
width: var(--fd-node-port-required-word-size, auto);
|
|
212
|
+
height: var(--fd-node-port-required-word-size, auto);
|
|
213
|
+
overflow: var(--fd-node-port-required-word-overflow, visible);
|
|
214
|
+
clip-path: var(--fd-node-port-required-word-clip, none);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.svelte-flow__node .fd-port-label .fd-port-label__required-mark {
|
|
218
|
+
display: var(--fd-node-port-required-mark-display);
|
|
219
|
+
color: var(--fd-error);
|
|
220
|
+
font-size: var(--fd-node-port-required-mark-size);
|
|
221
|
+
font-weight: 600;
|
|
222
|
+
line-height: 1;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.svelte-flow__node .fd-port-label__name {
|
|
226
|
+
font-weight: var(--fd-node-port-name-weight);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.svelte-flow__node .fd-port-label--right .fd-port-label__name {
|
|
230
|
+
order: var(--fd-node-port-out-name-order);
|
|
231
|
+
text-align: var(--fd-node-port-out-name-align);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.svelte-flow__node .fd-port-label--right .flowdrop-badge--outline {
|
|
235
|
+
order: var(--fd-node-port-out-chip-order);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.svelte-flow__node .fd-port-label--right .flowdrop-port-symbol {
|
|
239
|
+
order: var(--fd-node-port-out-symbol-order);
|
|
240
|
+
}
|
|
241
|
+
|
|
101
242
|
/* Flow node handles: 20px connection area, 12px visible circle (::before)
|
|
102
243
|
Override xyflow's default background so port color (--fd-handle-fill from inline style) shows.
|
|
103
244
|
Use `.svelte-flow` parent for higher specificity (0-2-0) to beat xyflow defaults (0-1-0). */
|
|
@@ -141,16 +282,6 @@
|
|
|
141
282
|
outline-offset: var(--fd-ring-offset);
|
|
142
283
|
}
|
|
143
284
|
|
|
144
|
-
/* Interface-bound marker: a port bound to a `workflow.interface` entry
|
|
145
|
-
(see utils/workflowInterface.ts#interfaceBoundHandles) gets a subtle ring
|
|
146
|
-
around its visible dot. One shared class, applied by every node component
|
|
147
|
-
that renders a Handle, rather than five per-component styles. Reuses the
|
|
148
|
-
same --fd-ring token as the focus ring so it reads consistently — and
|
|
149
|
-
stays correct automatically — in both light and dark skins. */
|
|
150
|
-
.svelte-flow .svelte-flow__handle.flowdrop-handle--bound::before {
|
|
151
|
-
box-shadow: 0 0 0 var(--fd-ring-width) color-mix(in srgb, var(--fd-ring) 55%, transparent);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
285
|
/* Centralized handle edge positioning — offset derived from --fd-handle-size */
|
|
155
286
|
.svelte-flow .svelte-flow__handle-left {
|
|
156
287
|
left: var(--fd-handle-offset);
|
|
@@ -165,6 +296,39 @@
|
|
|
165
296
|
bottom: var(--fd-handle-offset);
|
|
166
297
|
}
|
|
167
298
|
|
|
299
|
+
/* Zoom tiers (editor.zoomTiers): a wired port is a stub on the card edge in the
|
|
300
|
+
outline and glyph tiers, an open port is hidden, and the map tier draws no
|
|
301
|
+
handles at all. Handles are hidden with `visibility`, never removed or moved,
|
|
302
|
+
so every edge keeps its endpoint. Sizes are flow px (tokens.css). */
|
|
303
|
+
:is([data-fd-zoom='outline'], [data-fd-zoom='glyph']) .svelte-flow__handle::before {
|
|
304
|
+
width: var(--fd-node-zoom-stub-width);
|
|
305
|
+
height: var(--fd-node-zoom-stub-height);
|
|
306
|
+
border: none;
|
|
307
|
+
border-radius: var(--fd-node-zoom-stub-radius);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
:is([data-fd-zoom='outline'], [data-fd-zoom='glyph']) .svelte-flow__handle-left::before {
|
|
311
|
+
translate: calc(var(--fd-node-zoom-stub-width) / -2) 0;
|
|
312
|
+
border-top-right-radius: 0;
|
|
313
|
+
border-bottom-right-radius: 0;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
:is([data-fd-zoom='outline'], [data-fd-zoom='glyph']) .svelte-flow__handle-right::before {
|
|
317
|
+
translate: calc(var(--fd-node-zoom-stub-width) / 2) 0;
|
|
318
|
+
border-top-left-radius: 0;
|
|
319
|
+
border-bottom-left-radius: 0;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
:is([data-fd-zoom='outline'], [data-fd-zoom='glyph']) .svelte-flow__handle.fd-handle--open,
|
|
323
|
+
[data-fd-zoom='map'] .svelte-flow__handle {
|
|
324
|
+
visibility: hidden;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
:is([data-fd-zoom='outline'], [data-fd-zoom='glyph'], [data-fd-zoom='map'])
|
|
328
|
+
.svelte-flow__handle::after {
|
|
329
|
+
display: none;
|
|
330
|
+
}
|
|
331
|
+
|
|
168
332
|
/* Button styles */
|
|
169
333
|
.flowdrop-btn {
|
|
170
334
|
display: inline-flex;
|
|
@@ -175,7 +339,7 @@
|
|
|
175
339
|
border: 1px solid transparent;
|
|
176
340
|
border-radius: var(--fd-radius-md);
|
|
177
341
|
font-size: var(--fd-text-sm);
|
|
178
|
-
font-weight:
|
|
342
|
+
font-weight: var(--fd-button-font-weight);
|
|
179
343
|
text-decoration: none;
|
|
180
344
|
cursor: pointer;
|
|
181
345
|
transition: all var(--fd-transition-normal);
|
|
@@ -216,7 +380,7 @@
|
|
|
216
380
|
.flowdrop-btn--outline {
|
|
217
381
|
background-color: transparent;
|
|
218
382
|
color: var(--fd-foreground);
|
|
219
|
-
border-color: var(--fd-border);
|
|
383
|
+
border-color: var(--fd-button-secondary-border);
|
|
220
384
|
}
|
|
221
385
|
|
|
222
386
|
.flowdrop-btn--outline:hover {
|
|
@@ -231,7 +395,7 @@
|
|
|
231
395
|
}
|
|
232
396
|
|
|
233
397
|
.flowdrop-btn--ghost:hover {
|
|
234
|
-
background-color: var(--fd-
|
|
398
|
+
background-color: var(--fd-button-ghost-hover);
|
|
235
399
|
}
|
|
236
400
|
|
|
237
401
|
.flowdrop-btn--sm {
|
|
@@ -296,7 +460,7 @@
|
|
|
296
460
|
|
|
297
461
|
/* Ghost (default for icon buttons) — transparent until hover. */
|
|
298
462
|
.flowdrop-btn--icon.flowdrop-btn--ghost:hover:not(:disabled) {
|
|
299
|
-
background-color: var(--fd-
|
|
463
|
+
background-color: var(--fd-button-ghost-hover);
|
|
300
464
|
color: var(--fd-foreground);
|
|
301
465
|
border-color: transparent;
|
|
302
466
|
}
|
|
@@ -384,15 +548,17 @@
|
|
|
384
548
|
.flowdrop-input {
|
|
385
549
|
display: block;
|
|
386
550
|
width: 100%;
|
|
387
|
-
|
|
388
|
-
|
|
551
|
+
height: var(--fd-field-height);
|
|
552
|
+
padding: var(--fd-field-padding);
|
|
553
|
+
box-sizing: border-box;
|
|
554
|
+
border: 1px solid var(--fd-field-border-color);
|
|
389
555
|
border-radius: var(--fd-control-radius);
|
|
390
556
|
font-size: var(--fd-text-sm);
|
|
391
557
|
font-family: inherit;
|
|
392
558
|
line-height: 1.25rem;
|
|
393
559
|
color: var(--fd-foreground);
|
|
394
560
|
background-color: var(--fd-background);
|
|
395
|
-
box-shadow: var(--fd-shadow
|
|
561
|
+
box-shadow: var(--fd-field-shadow);
|
|
396
562
|
transition:
|
|
397
563
|
border-color var(--fd-transition-normal),
|
|
398
564
|
box-shadow var(--fd-transition-normal);
|
|
@@ -409,6 +575,13 @@
|
|
|
409
575
|
|
|
410
576
|
.flowdrop-input:focus {
|
|
411
577
|
border-color: var(--fd-ring);
|
|
578
|
+
box-shadow: var(--fd-field-focus-shadow);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/* Text controls draw their focus themselves where a theme sets the outline to none
|
|
582
|
+
(Graphite: accent border + ring), so there is never a double ring. */
|
|
583
|
+
.flowdrop-input.flowdrop-input:focus-visible {
|
|
584
|
+
outline: var(--fd-field-focus-outline);
|
|
412
585
|
}
|
|
413
586
|
|
|
414
587
|
.flowdrop-input:disabled {
|
|
@@ -426,11 +599,13 @@
|
|
|
426
599
|
|
|
427
600
|
/* Sizes */
|
|
428
601
|
.flowdrop-input--sm {
|
|
602
|
+
height: var(--fd-field-height-sm);
|
|
429
603
|
padding: 0.375rem 0.625rem;
|
|
430
604
|
font-size: var(--fd-text-xs);
|
|
431
605
|
}
|
|
432
606
|
|
|
433
607
|
.flowdrop-input--lg {
|
|
608
|
+
height: auto;
|
|
434
609
|
padding: 0.75rem 1rem;
|
|
435
610
|
font-size: var(--fd-text-base);
|
|
436
611
|
}
|
|
@@ -442,7 +617,9 @@
|
|
|
442
617
|
|
|
443
618
|
/* Multiline */
|
|
444
619
|
.flowdrop-input--textarea {
|
|
445
|
-
|
|
620
|
+
height: auto;
|
|
621
|
+
padding: var(--fd-field-padding-multiline);
|
|
622
|
+
min-height: var(--fd-field-min-height-multiline);
|
|
446
623
|
line-height: 1.5;
|
|
447
624
|
resize: vertical;
|
|
448
625
|
}
|
|
@@ -450,6 +627,7 @@
|
|
|
450
627
|
/* Select: room for the chevron overlay; native arrow removed. */
|
|
451
628
|
.flowdrop-input--select {
|
|
452
629
|
padding-right: 2.5rem;
|
|
630
|
+
line-height: normal; /* a fixed line box clips descenders in a fixed-height select */
|
|
453
631
|
cursor: pointer;
|
|
454
632
|
appearance: none;
|
|
455
633
|
-webkit-appearance: none;
|
|
@@ -481,6 +659,89 @@
|
|
|
481
659
|
height: 1rem;
|
|
482
660
|
}
|
|
483
661
|
|
|
662
|
+
/* Customisable select: where the browser supports `appearance: base-select`, the
|
|
663
|
+
native <select>'s list is styled like the rest of the editor's popups (same
|
|
664
|
+
surface, radius, shadow, item shape as Menu and the searchable Combobox) and
|
|
665
|
+
it stays a real <select>: keyboard, type-ahead, mobile pickers, screen readers.
|
|
666
|
+
Elsewhere the rule is skipped and the platform's list shows, in the editor's
|
|
667
|
+
colour-scheme. Our own chevron overlay replaces the built-in one. */
|
|
668
|
+
@supports (appearance: base-select) {
|
|
669
|
+
.flowdrop-input--select,
|
|
670
|
+
.flowdrop-input--select::picker(select) {
|
|
671
|
+
appearance: base-select;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/* The select's inner button fills the field; centre its content like the other inputs. */
|
|
675
|
+
.flowdrop-input--select {
|
|
676
|
+
display: flex;
|
|
677
|
+
align-items: center;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.flowdrop-input--select::picker-icon {
|
|
681
|
+
display: none;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.flowdrop-input--select::picker(select) {
|
|
685
|
+
box-sizing: border-box;
|
|
686
|
+
margin-block: var(--fd-space-3xs);
|
|
687
|
+
padding: var(--fd-space-2xs);
|
|
688
|
+
border: 1px solid var(--fd-border);
|
|
689
|
+
border-radius: var(--fd-menu-radius);
|
|
690
|
+
background-color: var(--fd-background);
|
|
691
|
+
color: var(--fd-foreground);
|
|
692
|
+
box-shadow: var(--fd-menu-shadow);
|
|
693
|
+
font-family: var(--fd-font-sans);
|
|
694
|
+
font-size: var(--fd-text-sm);
|
|
695
|
+
scrollbar-width: thin;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/* 1px between items, so a hovered neighbour of the chosen one never fuses with it. A display
|
|
699
|
+
on ::picker(select) would override the closed popover's display: none, so it is a margin. */
|
|
700
|
+
.flowdrop-input--select option + option {
|
|
701
|
+
margin-block-start: 1px;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.flowdrop-input--select option {
|
|
705
|
+
display: flex;
|
|
706
|
+
align-items: center;
|
|
707
|
+
gap: var(--fd-space-xs);
|
|
708
|
+
padding: var(--fd-space-xs) var(--fd-space-sm);
|
|
709
|
+
border-radius: var(--fd-menu-item-radius);
|
|
710
|
+
cursor: pointer;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.flowdrop-input--select option:hover,
|
|
714
|
+
.flowdrop-input--select option:focus-visible:not(:checked) {
|
|
715
|
+
background-color: var(--fd-muted);
|
|
716
|
+
outline: none;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/* Chosen is the check glyph and a touch of weight; the fill belongs to the pointer (hover). */
|
|
720
|
+
.flowdrop-input--select option:checked {
|
|
721
|
+
background-color: transparent;
|
|
722
|
+
font-weight: 500;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.flowdrop-input--select option:checked:hover {
|
|
726
|
+
background-color: var(--fd-muted);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/* The browser focuses the chosen option on open: a hairline marks the keyboard position, the fill stays the pointer's. */
|
|
730
|
+
.flowdrop-input--select option:checked:focus-visible {
|
|
731
|
+
outline: 1px solid var(--fd-border-strong);
|
|
732
|
+
outline-offset: -1px;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.flowdrop-input--select option::checkmark {
|
|
736
|
+
color: var(--fd-primary);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.flowdrop-input--select option:disabled {
|
|
740
|
+
opacity: 0.5;
|
|
741
|
+
cursor: not-allowed;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
|
|
484
745
|
/* Input with a leading/trailing affordance (e.g. a search magnifier). */
|
|
485
746
|
.flowdrop-input-wrap {
|
|
486
747
|
position: relative;
|
|
@@ -1407,11 +1668,11 @@
|
|
|
1407
1668
|
for a consistent look and to avoid confusion with selected state.
|
|
1408
1669
|
========================================================================= */
|
|
1409
1670
|
|
|
1410
|
-
--fd-notes-node-width:
|
|
1411
|
-
--fd-notes-node-min-width:
|
|
1671
|
+
--fd-notes-node-width: 300px;
|
|
1672
|
+
--fd-notes-node-min-width: 200px;
|
|
1412
1673
|
--fd-notes-node-max-width: 500px;
|
|
1413
|
-
--fd-notes-node-min-height:
|
|
1414
|
-
--fd-notes-node-backdrop-filter:
|
|
1674
|
+
--fd-notes-node-min-height: 60px;
|
|
1675
|
+
--fd-notes-node-backdrop-filter: none;
|
|
1415
1676
|
|
|
1416
1677
|
/* =========================================================================
|
|
1417
1678
|
Caption Node Component Tokens
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inter Variable (latin), SIL Open Font License 1.1, see Inter-LICENSE.txt.
|
|
3
|
+
*
|
|
4
|
+
* Opt-in: the Graphite skin names the family but does not load it. Import this
|
|
5
|
+
* file once in the host (`@import '@flowdrop/flowdrop/styles/fonts/inter.css'`)
|
|
6
|
+
* or serve the same @font-face yourself. Without it the skin falls back to
|
|
7
|
+
* system-ui. Source: @fontsource-variable/inter 5.3.0, wght axis, latin subset
|
|
8
|
+
* (covers German, French, Spanish, Portuguese and the usual punctuation).
|
|
9
|
+
*/
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Inter Variable';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
font-weight: 100 900;
|
|
15
|
+
src: url('./inter-latin-wght-normal.woff2') format('woff2-variations');
|
|
16
|
+
unicode-range:
|
|
17
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
18
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
19
|
+
}
|