@superblocksteam/vite-plugin-file-sync 2.0.162 → 2.0.163-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-service/agent/middleware.d.ts.map +1 -1
- package/dist/ai-service/agent/middleware.js +18 -7
- package/dist/ai-service/agent/middleware.js.map +1 -1
- package/dist/ai-service/agent/prompts/build-base-system-prompt.d.ts.map +1 -1
- package/dist/ai-service/agent/prompts/build-base-system-prompt.js +43 -29
- package/dist/ai-service/agent/prompts/build-base-system-prompt.js.map +1 -1
- package/dist/ai-service/agent/prompts/build-security-scan-prompt.d.ts.map +1 -1
- package/dist/ai-service/agent/prompts/build-security-scan-prompt.js +25 -0
- package/dist/ai-service/agent/prompts/build-security-scan-prompt.js.map +1 -1
- package/dist/ai-service/agent/subagents/coding/run-coding-subagent.d.ts.map +1 -1
- package/dist/ai-service/agent/subagents/coding/run-coding-subagent.js +15 -0
- package/dist/ai-service/agent/subagents/coding/run-coding-subagent.js.map +1 -1
- package/dist/ai-service/agent/tools/apis/test-api.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/apis/test-api.js +4 -2
- package/dist/ai-service/agent/tools/apis/test-api.js.map +1 -1
- package/dist/ai-service/agent/tools/app-environment/switch-selected-environment.d.ts +18 -0
- package/dist/ai-service/agent/tools/app-environment/switch-selected-environment.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/app-environment/switch-selected-environment.js +61 -0
- package/dist/ai-service/agent/tools/app-environment/switch-selected-environment.js.map +1 -0
- package/dist/ai-service/agent/tools/build-capture-screenshot.js +1 -1
- package/dist/ai-service/agent/tools/build-install-packages.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/build-install-packages.js +21 -8
- package/dist/ai-service/agent/tools/build-install-packages.js.map +1 -1
- package/dist/ai-service/agent/tools/build-read-file.d.ts +87 -1
- package/dist/ai-service/agent/tools/build-read-file.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/build-read-file.js +453 -82
- package/dist/ai-service/agent/tools/build-read-file.js.map +1 -1
- package/dist/ai-service/agent/tools/build-write-file.d.ts +1 -0
- package/dist/ai-service/agent/tools/build-write-file.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/build-write-file.js +18 -2
- package/dist/ai-service/agent/tools/build-write-file.js.map +1 -1
- package/dist/ai-service/agent/tools/debug-cache.d.ts +11 -0
- package/dist/ai-service/agent/tools/debug-cache.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/debug-cache.js +62 -14
- package/dist/ai-service/agent/tools/debug-cache.js.map +1 -1
- package/dist/ai-service/agent/tools/index.d.ts +2 -1
- package/dist/ai-service/agent/tools/index.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/index.js +2 -1
- package/dist/ai-service/agent/tools/index.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/metadata.d.ts +1 -0
- package/dist/ai-service/agent/tools/integrations/metadata.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/metadata.js +7 -2
- package/dist/ai-service/agent/tools/integrations/metadata.js.map +1 -1
- package/dist/ai-service/agent/tools/read-file-metrics.d.ts +30 -0
- package/dist/ai-service/agent/tools/read-file-metrics.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/read-file-metrics.js +158 -0
- package/dist/ai-service/agent/tools/read-file-metrics.js.map +1 -0
- package/dist/ai-service/agent/tools/subagent-isolation.d.ts +27 -0
- package/dist/ai-service/agent/tools/subagent-isolation.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/subagent-isolation.js +57 -0
- package/dist/ai-service/agent/tools/subagent-isolation.js.map +1 -0
- package/dist/ai-service/agent/tools.d.ts +4 -1
- package/dist/ai-service/agent/tools.d.ts.map +1 -1
- package/dist/ai-service/agent/tools.js +51 -5
- package/dist/ai-service/agent/tools.js.map +1 -1
- package/dist/ai-service/agent/tools2/tools/download-attachments.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/tools/download-attachments.js +1 -0
- package/dist/ai-service/agent/tools2/tools/download-attachments.js.map +1 -1
- package/dist/ai-service/agent/tools2/tools/start-test-run.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/tools/start-test-run.js +14 -0
- package/dist/ai-service/agent/tools2/tools/start-test-run.js.map +1 -1
- package/dist/ai-service/agent/utils.d.ts.map +1 -1
- package/dist/ai-service/agent/utils.js +2 -2
- package/dist/ai-service/agent/utils.js.map +1 -1
- package/dist/ai-service/app-interface/filesystem/draft-manager.d.ts +2 -1
- package/dist/ai-service/app-interface/filesystem/draft-manager.d.ts.map +1 -1
- package/dist/ai-service/app-interface/filesystem/draft-manager.js +3 -0
- package/dist/ai-service/app-interface/filesystem/draft-manager.js.map +1 -1
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.d.ts +2 -1
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.d.ts.map +1 -1
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.js +13 -11
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.js.map +1 -1
- package/dist/ai-service/app-interface/filesystem/virtual-file-system.d.ts.map +1 -1
- package/dist/ai-service/app-interface/filesystem/virtual-file-system.js +1 -1
- package/dist/ai-service/app-interface/filesystem/virtual-file-system.js.map +1 -1
- package/dist/ai-service/app-interface/shell.d.ts +18 -9
- package/dist/ai-service/app-interface/shell.d.ts.map +1 -1
- package/dist/ai-service/app-interface/shell.js +92 -112
- package/dist/ai-service/app-interface/shell.js.map +1 -1
- package/dist/ai-service/app-interface/typecheck-output-parser.d.ts +9 -0
- package/dist/ai-service/app-interface/typecheck-output-parser.d.ts.map +1 -0
- package/dist/ai-service/app-interface/typecheck-output-parser.js +21 -0
- package/dist/ai-service/app-interface/typecheck-output-parser.js.map +1 -0
- package/dist/ai-service/app-interface/vulnerability-gate.d.ts +5 -0
- package/dist/ai-service/app-interface/vulnerability-gate.d.ts.map +1 -1
- package/dist/ai-service/app-interface/vulnerability-gate.js +9 -2
- package/dist/ai-service/app-interface/vulnerability-gate.js.map +1 -1
- package/dist/ai-service/app-layout.d.ts +13 -0
- package/dist/ai-service/app-layout.d.ts.map +1 -0
- package/dist/ai-service/app-layout.js +25 -0
- package/dist/ai-service/app-layout.js.map +1 -0
- package/dist/ai-service/app-skills/manager.d.ts +2 -0
- package/dist/ai-service/app-skills/manager.d.ts.map +1 -1
- package/dist/ai-service/app-skills/manager.js +13 -6
- package/dist/ai-service/app-skills/manager.js.map +1 -1
- package/dist/ai-service/attachment-label-metrics.d.ts +5 -0
- package/dist/ai-service/attachment-label-metrics.d.ts.map +1 -0
- package/dist/ai-service/attachment-label-metrics.js +26 -0
- package/dist/ai-service/attachment-label-metrics.js.map +1 -0
- package/dist/ai-service/attachment-upload.d.ts.map +1 -1
- package/dist/ai-service/attachment-upload.js +6 -1
- package/dist/ai-service/attachment-upload.js.map +1 -1
- package/dist/ai-service/attachments/validate-prompt-attachments.d.ts +7 -0
- package/dist/ai-service/attachments/validate-prompt-attachments.d.ts.map +1 -0
- package/dist/ai-service/attachments/validate-prompt-attachments.js +96 -0
- package/dist/ai-service/attachments/validate-prompt-attachments.js.map +1 -0
- package/dist/ai-service/chat/chat-push-metrics.d.ts +17 -0
- package/dist/ai-service/chat/chat-push-metrics.d.ts.map +1 -1
- package/dist/ai-service/chat/chat-push-metrics.js +45 -0
- package/dist/ai-service/chat/chat-push-metrics.js.map +1 -1
- package/dist/ai-service/chat/chat-session-store.d.ts +51 -0
- package/dist/ai-service/chat/chat-session-store.d.ts.map +1 -1
- package/dist/ai-service/chat/chat-session-store.js +181 -4
- package/dist/ai-service/chat/chat-session-store.js.map +1 -1
- package/dist/ai-service/features.d.ts +32 -0
- package/dist/ai-service/features.d.ts.map +1 -1
- package/dist/ai-service/features.js +32 -0
- package/dist/ai-service/features.js.map +1 -1
- package/dist/ai-service/helper-system-ai-attributes.d.ts +1 -1
- package/dist/ai-service/helper-system-ai-attributes.d.ts.map +1 -1
- package/dist/ai-service/helper-system-ai-attributes.js.map +1 -1
- package/dist/ai-service/index.d.ts +19 -4
- package/dist/ai-service/index.d.ts.map +1 -1
- package/dist/ai-service/index.js +176 -23
- package/dist/ai-service/index.js.map +1 -1
- package/dist/ai-service/llm/client.d.ts +9 -0
- package/dist/ai-service/llm/client.d.ts.map +1 -1
- package/dist/ai-service/llm/client.js +13 -43
- package/dist/ai-service/llm/client.js.map +1 -1
- package/dist/ai-service/llm/context-v2/adapter.d.ts +2 -0
- package/dist/ai-service/llm/context-v2/adapter.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/adapter.js +6 -0
- package/dist/ai-service/llm/context-v2/adapter.js.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/server-side.d.ts +8 -0
- package/dist/ai-service/llm/context-v2/compaction/server-side.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/server-side.js +8 -0
- package/dist/ai-service/llm/context-v2/compaction/server-side.js.map +1 -1
- package/dist/ai-service/llm/context-v2/context-component-partition.d.ts +24 -0
- package/dist/ai-service/llm/context-v2/context-component-partition.d.ts.map +1 -0
- package/dist/ai-service/llm/context-v2/context-component-partition.js +222 -0
- package/dist/ai-service/llm/context-v2/context-component-partition.js.map +1 -0
- package/dist/ai-service/llm/context-v2/context-metrics.d.ts +9 -0
- package/dist/ai-service/llm/context-v2/context-metrics.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/context-metrics.js +40 -2
- package/dist/ai-service/llm/context-v2/context-metrics.js.map +1 -1
- package/dist/ai-service/llm/context-v2/context.d.ts +116 -4
- package/dist/ai-service/llm/context-v2/context.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/context.js +276 -64
- package/dist/ai-service/llm/context-v2/context.js.map +1 -1
- package/dist/ai-service/llm/context-v2/conversation-context.d.ts +18 -0
- package/dist/ai-service/llm/context-v2/conversation-context.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/file-read-ledger.d.ts +218 -0
- package/dist/ai-service/llm/context-v2/file-read-ledger.d.ts.map +1 -0
- package/dist/ai-service/llm/context-v2/file-read-ledger.js +275 -0
- package/dist/ai-service/llm/context-v2/file-read-ledger.js.map +1 -0
- package/dist/ai-service/llm/context-v2/phase1-tool-summarizer.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/phase1-tool-summarizer.js +5 -2
- package/dist/ai-service/llm/context-v2/phase1-tool-summarizer.js.map +1 -1
- package/dist/ai-service/llm/context-v2/token-tracker.d.ts +2 -0
- package/dist/ai-service/llm/context-v2/token-tracker.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/token-tracker.js +4 -0
- package/dist/ai-service/llm/context-v2/token-tracker.js.map +1 -1
- package/dist/ai-service/llm/context-v2/tool-schema-tokens.d.ts +22 -0
- package/dist/ai-service/llm/context-v2/tool-schema-tokens.d.ts.map +1 -0
- package/dist/ai-service/llm/context-v2/tool-schema-tokens.js +36 -0
- package/dist/ai-service/llm/context-v2/tool-schema-tokens.js.map +1 -0
- package/dist/ai-service/llm/context-v2/types.d.ts +8 -0
- package/dist/ai-service/llm/context-v2/types.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/types.js +48 -0
- package/dist/ai-service/llm/context-v2/types.js.map +1 -1
- package/dist/ai-service/llm/error.d.ts +2 -0
- package/dist/ai-service/llm/error.d.ts.map +1 -1
- package/dist/ai-service/llm/error.js +1 -0
- package/dist/ai-service/llm/error.js.map +1 -1
- package/dist/ai-service/llm/retry-exhaustion-reason.d.ts +2 -0
- package/dist/ai-service/llm/retry-exhaustion-reason.d.ts.map +1 -0
- package/dist/ai-service/llm/retry-exhaustion-reason.js +2 -0
- package/dist/ai-service/llm/retry-exhaustion-reason.js.map +1 -0
- package/dist/ai-service/llm/stream/errors.d.ts +6 -7
- package/dist/ai-service/llm/stream/errors.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/errors.js +7 -1
- package/dist/ai-service/llm/stream/errors.js.map +1 -1
- package/dist/ai-service/llm/stream/event-bus.d.ts +9 -1
- package/dist/ai-service/llm/stream/event-bus.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/event-bus.js.map +1 -1
- package/dist/ai-service/llm/stream/idle-monitor.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/idle-monitor.js.map +1 -1
- package/dist/ai-service/llm/stream/observers/context.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/observers/context.js +13 -0
- package/dist/ai-service/llm/stream/observers/context.js.map +1 -1
- package/dist/ai-service/llm/stream/observers/llmobs.d.ts +14 -1
- package/dist/ai-service/llm/stream/observers/llmobs.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/observers/llmobs.js +91 -7
- package/dist/ai-service/llm/stream/observers/llmobs.js.map +1 -1
- package/dist/ai-service/llm/stream/observers/logging.d.ts +3 -1
- package/dist/ai-service/llm/stream/observers/logging.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/observers/logging.js +73 -52
- package/dist/ai-service/llm/stream/observers/logging.js.map +1 -1
- package/dist/ai-service/llm/stream/observers/retry-notification.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/observers/retry-notification.js +16 -9
- package/dist/ai-service/llm/stream/observers/retry-notification.js.map +1 -1
- package/dist/ai-service/llm/stream/orchestrator.d.ts +5 -1
- package/dist/ai-service/llm/stream/orchestrator.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/orchestrator.js +103 -12
- package/dist/ai-service/llm/stream/orchestrator.js.map +1 -1
- package/dist/ai-service/llm/stream/retry-engine.d.ts +3 -1
- package/dist/ai-service/llm/stream/retry-engine.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/retry-engine.js +9 -0
- package/dist/ai-service/llm/stream/retry-engine.js.map +1 -1
- package/dist/ai-service/llm/stream/session.d.ts +8 -1
- package/dist/ai-service/llm/stream/session.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/session.js +19 -0
- package/dist/ai-service/llm/stream/session.js.map +1 -1
- package/dist/ai-service/llm/stream/types.d.ts +13 -0
- package/dist/ai-service/llm/stream/types.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/wait-state-tracker.d.ts +5 -14
- package/dist/ai-service/llm/stream/wait-state-tracker.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/wait-state-tracker.js +25 -0
- package/dist/ai-service/llm/stream/wait-state-tracker.js.map +1 -1
- package/dist/ai-service/mcp/embedded-playwright-mcp-server.js +8 -8
- package/dist/ai-service/mcp/embedded-playwright-mcp-server.js.map +1 -1
- package/dist/ai-service/policy-gate-remediation-usage.d.ts +2 -0
- package/dist/ai-service/policy-gate-remediation-usage.d.ts.map +1 -0
- package/dist/ai-service/policy-gate-remediation-usage.js +56 -0
- package/dist/ai-service/policy-gate-remediation-usage.js.map +1 -0
- package/dist/ai-service/prompts/summarize-destructive-migration.d.ts +12 -0
- package/dist/ai-service/prompts/summarize-destructive-migration.d.ts.map +1 -0
- package/dist/ai-service/prompts/summarize-destructive-migration.js +37 -0
- package/dist/ai-service/prompts/summarize-destructive-migration.js.map +1 -0
- package/dist/ai-service/recording/storage/session-recording-storage.js +2 -2
- package/dist/ai-service/recording/storage/session-recording-storage.js.map +1 -1
- package/dist/ai-service/security/secret-scanner-service.d.ts.map +1 -1
- package/dist/ai-service/security/secret-scanner-service.js +88 -23
- package/dist/ai-service/security/secret-scanner-service.js.map +1 -1
- package/dist/ai-service/skills/index.d.ts +0 -7
- package/dist/ai-service/skills/index.d.ts.map +1 -1
- package/dist/ai-service/skills/index.js +0 -9
- package/dist/ai-service/skills/index.js.map +1 -1
- package/dist/ai-service/skills/system/_registry.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/_registry.generated.js +4 -0
- package/dist/ai-service/skills/system/_registry.generated.js.map +1 -1
- package/dist/ai-service/skills/system/resolve.d.ts +2 -0
- package/dist/ai-service/skills/system/resolve.d.ts.map +1 -0
- package/dist/ai-service/skills/system/resolve.js +32 -0
- package/dist/ai-service/skills/system/resolve.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-legacy.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-legacy.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-legacy.generated.js +9 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-legacy.generated.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-sdk.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-sdk.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-sdk.generated.js +11 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/api-imports-sdk.generated.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.js +16 -24
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.js.map +1 -1
- package/dist/ai-service/skills/system/third-party-migration/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/third-party-migration/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/third-party-migration/skill.generated.js +1 -1
- package/dist/ai-service/state-machine/clark-fsm.d.ts +11 -0
- package/dist/ai-service/state-machine/clark-fsm.d.ts.map +1 -1
- package/dist/ai-service/state-machine/clark-fsm.js +7 -1
- package/dist/ai-service/state-machine/clark-fsm.js.map +1 -1
- package/dist/ai-service/state-machine/handlers/agent-planning.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/agent-planning.js +21 -0
- package/dist/ai-service/state-machine/handlers/agent-planning.js.map +1 -1
- package/dist/ai-service/state-machine/handlers/llm-generating.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/llm-generating.js +32 -9
- package/dist/ai-service/state-machine/handlers/llm-generating.js.map +1 -1
- package/dist/ai-service/state-machine/handlers/runtime-reviewing.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/runtime-reviewing.js +21 -2
- package/dist/ai-service/state-machine/handlers/runtime-reviewing.js.map +1 -1
- package/dist/ai-service/state-machine/helpers/stable-peer.d.ts +11 -2
- package/dist/ai-service/state-machine/helpers/stable-peer.d.ts.map +1 -1
- package/dist/ai-service/state-machine/helpers/stable-peer.js +105 -18
- package/dist/ai-service/state-machine/helpers/stable-peer.js.map +1 -1
- package/dist/ai-service/state-machine/mocks.d.ts +3 -1
- package/dist/ai-service/state-machine/mocks.d.ts.map +1 -1
- package/dist/ai-service/state-machine/mocks.js +52 -13
- package/dist/ai-service/state-machine/mocks.js.map +1 -1
- package/dist/ai-service/tasks/peer-push.d.ts +3 -0
- package/dist/ai-service/tasks/peer-push.d.ts.map +1 -1
- package/dist/ai-service/tasks/peer-push.js +33 -0
- package/dist/ai-service/tasks/peer-push.js.map +1 -1
- package/dist/ai-service/util/call-peer.d.ts +2 -0
- package/dist/ai-service/util/call-peer.d.ts.map +1 -1
- package/dist/ai-service/util/call-peer.js +17 -4
- package/dist/ai-service/util/call-peer.js.map +1 -1
- package/dist/ai-service/util/line-ranges.d.ts +21 -0
- package/dist/ai-service/util/line-ranges.d.ts.map +1 -0
- package/dist/ai-service/util/line-ranges.js +36 -0
- package/dist/ai-service/util/line-ranges.js.map +1 -0
- package/dist/ai-service/util/peer-liveness.d.ts +1 -0
- package/dist/ai-service/util/peer-liveness.d.ts.map +1 -1
- package/dist/ai-service/util/peer-liveness.js +2 -0
- package/dist/ai-service/util/peer-liveness.js.map +1 -1
- package/dist/dev-server-ws-smoke-client.d.ts.map +1 -1
- package/dist/dev-server-ws-smoke-client.js +7 -0
- package/dist/dev-server-ws-smoke-client.js.map +1 -1
- package/dist/draft-interface.d.ts +8 -0
- package/dist/draft-interface.d.ts.map +1 -1
- package/dist/early-error-relay.d.ts +2 -0
- package/dist/early-error-relay.d.ts.map +1 -1
- package/dist/early-error-relay.js +7 -3
- package/dist/early-error-relay.js.map +1 -1
- package/dist/file-sync-vite-plugin.d.ts.map +1 -1
- package/dist/file-sync-vite-plugin.js +43 -15
- package/dist/file-sync-vite-plugin.js.map +1 -1
- package/dist/file-system-helpers.d.ts +2 -2
- package/dist/file-system-helpers.d.ts.map +1 -1
- package/dist/file-system-helpers.js +3 -3
- package/dist/file-system-helpers.js.map +1 -1
- package/dist/git-service/errors.d.ts +9 -0
- package/dist/git-service/errors.d.ts.map +1 -1
- package/dist/git-service/errors.js +15 -0
- package/dist/git-service/errors.js.map +1 -1
- package/dist/git-service/index.d.ts +2 -2
- package/dist/git-service/index.d.ts.map +1 -1
- package/dist/git-service/index.js +2 -2
- package/dist/git-service/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lock-service/activity-tracker.d.ts +5 -0
- package/dist/lock-service/activity-tracker.d.ts.map +1 -1
- package/dist/lock-service/activity-tracker.js +10 -0
- package/dist/lock-service/activity-tracker.js.map +1 -1
- package/dist/lock-service/index.d.ts +69 -4
- package/dist/lock-service/index.d.ts.map +1 -1
- package/dist/lock-service/index.js +139 -29
- package/dist/lock-service/index.js.map +1 -1
- package/dist/migration-templates/app-fullstack/client/components/ui/accordion.tsx +9 -65
- package/dist/migration-templates/app-fullstack/client/components/ui/area-chart.tsx +36 -156
- package/dist/migration-templates/app-fullstack/client/components/ui/aspect-ratio.tsx +1 -5
- package/dist/migration-templates/app-fullstack/client/components/ui/avatar.tsx +4 -18
- package/dist/migration-templates/app-fullstack/client/components/ui/badge.tsx +6 -29
- package/dist/migration-templates/app-fullstack/client/components/ui/bar-chart.tsx +41 -167
- package/dist/migration-templates/app-fullstack/client/components/ui/breadcrumb.tsx +1 -4
- package/dist/migration-templates/app-fullstack/client/components/ui/button.tsx +5 -64
- package/dist/migration-templates/app-fullstack/client/components/ui/calendar.tsx +6 -42
- package/dist/migration-templates/app-fullstack/client/components/ui/card.tsx +1 -4
- package/dist/migration-templates/app-fullstack/client/components/ui/checkbox.tsx +4 -29
- package/dist/migration-templates/app-fullstack/client/components/ui/date-range-picker.tsx +13 -154
- package/dist/migration-templates/app-fullstack/client/components/ui/dialog.tsx +7 -34
- package/dist/migration-templates/app-fullstack/client/components/ui/file-dropzone.tsx +12 -95
- package/dist/migration-templates/app-fullstack/client/components/ui/file-input.tsx +12 -73
- package/dist/migration-templates/app-fullstack/client/components/ui/hover-card.tsx +10 -66
- package/dist/migration-templates/app-fullstack/client/components/ui/icon.tsx +3 -16
- package/dist/migration-templates/app-fullstack/client/components/ui/image.tsx +4 -16
- package/dist/migration-templates/app-fullstack/client/components/ui/input.tsx +18 -159
- package/dist/migration-templates/app-fullstack/client/components/ui/label.tsx +1 -4
- package/dist/migration-templates/app-fullstack/client/components/ui/line-chart.tsx +32 -148
- package/dist/migration-templates/app-fullstack/client/components/ui/link.tsx +4 -24
- package/dist/migration-templates/app-fullstack/client/components/ui/navigation-menu.tsx +3 -24
- package/dist/migration-templates/app-fullstack/client/components/ui/pagination.tsx +4 -24
- package/dist/migration-templates/app-fullstack/client/components/ui/pie-chart.tsx +28 -142
- package/dist/migration-templates/app-fullstack/client/components/ui/popover.tsx +9 -61
- package/dist/migration-templates/app-fullstack/client/components/ui/progress.tsx +2 -11
- package/dist/migration-templates/app-fullstack/client/components/ui/radar-chart.tsx +37 -171
- package/dist/migration-templates/app-fullstack/client/components/ui/radial-chart.tsx +50 -202
- package/dist/migration-templates/app-fullstack/client/components/ui/select.tsx +5 -35
- package/dist/migration-templates/app-fullstack/client/components/ui/separator.tsx +1 -8
- package/dist/migration-templates/app-fullstack/client/components/ui/sheet.tsx +7 -40
- package/dist/migration-templates/app-fullstack/client/components/ui/sidebar.tsx +3 -35
- package/dist/migration-templates/app-fullstack/client/components/ui/slider.tsx +11 -95
- package/dist/migration-templates/app-fullstack/client/components/ui/switch.tsx +5 -32
- package/dist/migration-templates/app-fullstack/client/components/ui/textarea.tsx +13 -90
- package/dist/migration-templates/app-fullstack/client/components/ui/toggle-group.tsx +11 -75
- package/dist/migration-templates/app-fullstack/client/components/ui/toggle.tsx +8 -70
- package/dist/migration-templates/app-fullstack/client/components/ui/tooltip.tsx +9 -62
- package/dist/parsing/imports.d.ts +22 -0
- package/dist/parsing/imports.d.ts.map +1 -1
- package/dist/parsing/imports.js +71 -0
- package/dist/parsing/imports.js.map +1 -1
- package/dist/reconnect-guard-plugin.d.ts +53 -0
- package/dist/reconnect-guard-plugin.d.ts.map +1 -0
- package/dist/reconnect-guard-plugin.js +203 -0
- package/dist/reconnect-guard-plugin.js.map +1 -0
- package/dist/resolver.d.ts +2 -1
- package/dist/resolver.d.ts.map +1 -1
- package/dist/resolver.js +4 -6
- package/dist/resolver.js.map +1 -1
- package/dist/router-parser-metrics.d.ts +2 -1
- package/dist/router-parser-metrics.d.ts.map +1 -1
- package/dist/router-parser-metrics.js.map +1 -1
- package/dist/router-parser.d.ts +10 -1
- package/dist/router-parser.d.ts.map +1 -1
- package/dist/router-parser.js +306 -69
- package/dist/router-parser.js.map +1 -1
- package/dist/scan-scope-merge-metrics.d.ts +2 -0
- package/dist/scan-scope-merge-metrics.d.ts.map +1 -0
- package/dist/scan-scope-merge-metrics.js +18 -0
- package/dist/scan-scope-merge-metrics.js.map +1 -0
- package/dist/scan-scope-merge.d.ts +2 -2
- package/dist/scan-scope-merge.d.ts.map +1 -1
- package/dist/scan-scope-merge.js +64 -14
- package/dist/scan-scope-merge.js.map +1 -1
- package/dist/server-rpc/index.d.ts.map +1 -1
- package/dist/server-rpc/index.js +12 -2
- package/dist/server-rpc/index.js.map +1 -1
- package/dist/socket-manager.d.ts +1 -1
- package/dist/socket-manager.d.ts.map +1 -1
- package/dist/socket-manager.js +276 -15
- package/dist/socket-manager.js.map +1 -1
- package/dist/sync-service/download.js +2 -2
- package/dist/sync-service/download.js.map +1 -1
- package/dist/sync-service/index.d.ts +95 -22
- package/dist/sync-service/index.d.ts.map +1 -1
- package/dist/sync-service/index.js +402 -56
- package/dist/sync-service/index.js.map +1 -1
- package/dist/sync-service/page-reference-guard.d.ts +17 -0
- package/dist/sync-service/page-reference-guard.d.ts.map +1 -0
- package/dist/sync-service/page-reference-guard.js +170 -0
- package/dist/sync-service/page-reference-guard.js.map +1 -0
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +16 -2
- package/dist/util.js.map +1 -1
- package/package.json +15 -14
|
@@ -183,219 +183,67 @@ const RadialBarChart = ({ className, ...props }: ComponentProps) => {
|
|
|
183
183
|
|
|
184
184
|
registerComponent(RadialBarChart, {
|
|
185
185
|
general: Section.category(PropsCategory.Content).children({
|
|
186
|
-
data: Prop.array<any>()
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}));
|
|
211
|
-
},
|
|
212
|
-
})
|
|
213
|
-
.docs({
|
|
214
|
-
description:
|
|
215
|
-
"The property name in your data objects that contains the numeric values determining arc lengths. Values typically represent percentages (0-100), progress (0-1), or absolute numbers that will be proportionally rendered as circular arcs from startAngle to calculated end positions.",
|
|
216
|
-
}),
|
|
217
|
-
nameKey: Prop.string()
|
|
218
|
-
.propertiesPanel({
|
|
219
|
-
label: "Name data key",
|
|
220
|
-
description: " name for category names/identifiers",
|
|
221
|
-
placeholder: "name",
|
|
222
|
-
controlType: "DROP_DOWN",
|
|
223
|
-
options: function (this) {
|
|
224
|
-
if (!this.data || !Array.isArray(this.data) || !this.data.length) {
|
|
225
|
-
return [];
|
|
226
|
-
}
|
|
227
|
-
return Object.keys(this.data[0]).map((key) => ({
|
|
228
|
-
label: key,
|
|
229
|
-
value: key,
|
|
230
|
-
}));
|
|
231
|
-
},
|
|
232
|
-
})
|
|
233
|
-
.docs({
|
|
234
|
-
description:
|
|
235
|
-
"The property name in your data objects that contains unique identifiers for each bar. Used to generate consistent colors and match data across renders.",
|
|
236
|
-
}),
|
|
237
|
-
labelKey: Prop.string()
|
|
238
|
-
.propertiesPanel({
|
|
239
|
-
label: "Label data key",
|
|
240
|
-
description: " name for display labels (optional, defaults to nameKey)",
|
|
241
|
-
placeholder: "label",
|
|
242
|
-
controlType: "DROP_DOWN",
|
|
243
|
-
options: function (this) {
|
|
244
|
-
if (!this.data || !Array.isArray(this.data) || !this.data.length) {
|
|
245
|
-
return [];
|
|
246
|
-
}
|
|
247
|
-
return Object.keys(this.data[0]).map((key) => ({
|
|
248
|
-
label: key,
|
|
249
|
-
value: key,
|
|
250
|
-
}));
|
|
251
|
-
},
|
|
252
|
-
})
|
|
253
|
-
.docs({
|
|
254
|
-
description:
|
|
255
|
-
"Optional property name for human-readable labels shown in tooltips and legends. If not specified, the nameKey value is used as the label.",
|
|
256
|
-
}),
|
|
257
|
-
colorKey: Prop.string()
|
|
258
|
-
.propertiesPanel({
|
|
259
|
-
label: "Color data key",
|
|
260
|
-
description: " name for bar colors (optional)",
|
|
261
|
-
placeholder: "color",
|
|
262
|
-
controlType: "DROP_DOWN",
|
|
263
|
-
options: function (this) {
|
|
264
|
-
if (!this.data || !Array.isArray(this.data) || !this.data.length) {
|
|
265
|
-
return [];
|
|
266
|
-
}
|
|
267
|
-
return Object.keys(this.data[0]).map((key) => ({
|
|
268
|
-
label: key,
|
|
269
|
-
value: key,
|
|
270
|
-
}));
|
|
271
|
-
},
|
|
272
|
-
})
|
|
273
|
-
.docs({
|
|
274
|
-
description:
|
|
275
|
-
"Optional property name in your data objects that contains color values (hex, rgb, or CSS variable). If not specified, colors are auto-assigned from the theme.",
|
|
276
|
-
}),
|
|
277
|
-
colors: Prop.array<string>()
|
|
278
|
-
.propertiesPanel({
|
|
279
|
-
label: "Colors",
|
|
280
|
-
description: "Array of colors to use for bars (optional)",
|
|
281
|
-
controlType: "FUNCTION_CODE_EDITOR",
|
|
282
|
-
isJSConvertible: false,
|
|
283
|
-
})
|
|
284
|
-
.docs({
|
|
285
|
-
description:
|
|
286
|
-
"Optional array of color values to use for bars in order. Can be hex codes, rgb values, or CSS variables like 'var(--chart-1)'. Falls back to theme colors if not provided.",
|
|
287
|
-
}),
|
|
186
|
+
data: Prop.array<any>().docs({
|
|
187
|
+
description:
|
|
188
|
+
"Array of objects for circular bar visualization. For single radial charts, typically contains one object with category name and value. For stacked radial charts, contains multiple objects representing concentric bars. Example: [{browser: 'Chrome', visitors: 275, color: '#4285F4'}, {browser: 'Safari', visitors: 200}]. Values are often percentages or progress indicators displayed as arc lengths.",
|
|
189
|
+
}),
|
|
190
|
+
valueKey: Prop.string().docs({
|
|
191
|
+
description:
|
|
192
|
+
"The property name in your data objects that contains the numeric values determining arc lengths. Values typically represent percentages (0-100), progress (0-1), or absolute numbers that will be proportionally rendered as circular arcs from startAngle to calculated end positions.",
|
|
193
|
+
}),
|
|
194
|
+
nameKey: Prop.string().docs({
|
|
195
|
+
description:
|
|
196
|
+
"The property name in your data objects that contains unique identifiers for each bar. Used to generate consistent colors and match data across renders.",
|
|
197
|
+
}),
|
|
198
|
+
labelKey: Prop.string().docs({
|
|
199
|
+
description:
|
|
200
|
+
"Optional property name for human-readable labels shown in tooltips and legends. If not specified, the nameKey value is used as the label.",
|
|
201
|
+
}),
|
|
202
|
+
colorKey: Prop.string().docs({
|
|
203
|
+
description:
|
|
204
|
+
"Optional property name in your data objects that contains color values (hex, rgb, or CSS variable). If not specified, colors are auto-assigned from the theme.",
|
|
205
|
+
}),
|
|
206
|
+
colors: Prop.array<string>().docs({
|
|
207
|
+
description:
|
|
208
|
+
"Optional array of color values to use for bars in order. Can be hex codes, rgb values, or CSS variables like 'var(--chart-1)'. Falls back to theme colors if not provided.",
|
|
209
|
+
}),
|
|
288
210
|
}),
|
|
289
211
|
appearance: Section.category(PropsCategory.Appearance).children({
|
|
290
|
-
chartType: Prop.string<"single" | "stacked">()
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
{ label: "Stacked", value: "stacked" },
|
|
298
|
-
],
|
|
299
|
-
})
|
|
300
|
-
.docs({
|
|
301
|
-
description:
|
|
302
|
-
"Visual layout of the radial chart. 'single' displays one circular bar (ideal for progress indicators, gauges, or single metrics). 'stacked' displays multiple concentric circular bars (ideal for comparing multiple categories or showing layered data). Single charts often show one data point, while stacked charts display multiple data points as concentric arcs.",
|
|
303
|
-
}),
|
|
304
|
-
startAngle: Prop.number()
|
|
305
|
-
.propertiesPanel({
|
|
306
|
-
label: "Start angle",
|
|
307
|
-
description: "Starting angle of the radial chart in degrees",
|
|
308
|
-
})
|
|
309
|
-
.docs({
|
|
310
|
-
description:
|
|
311
|
-
"Starting position of the radial bars in degrees. 0° = 3 o'clock (right), 90° = 12 o'clock (top), 180° = 9 o'clock (left), 270° = 6 o'clock (bottom). Common values: 90° for top-start, 180° for left-start. Determines where the arc begins drawing. For a single radial chart showing percentage, use start and end angles to control the arc range to show a percentage of the total.",
|
|
312
|
-
}),
|
|
313
|
-
endAngle: Prop.number()
|
|
314
|
-
.propertiesPanel({
|
|
315
|
-
label: "End angle",
|
|
316
|
-
description: "Ending angle of the radial chart in degrees",
|
|
317
|
-
})
|
|
318
|
-
.docs({
|
|
319
|
-
description:
|
|
320
|
-
"Ending position of the radial bars in degrees, defining the full arc sweep. Negative values create clockwise motion. Common combinations: startAngle 90° + endAngle -270° = full circle clockwise from top. startAngle 180° + endAngle 0° = semicircle left to right. The difference determines the total arc range for 100% values.",
|
|
321
|
-
}),
|
|
322
|
-
innerRadius: Prop.number()
|
|
323
|
-
.propertiesPanel({
|
|
324
|
-
label: "Inner radius",
|
|
325
|
-
description: "Inner radius of the radial chart",
|
|
326
|
-
})
|
|
327
|
-
.docs({
|
|
328
|
-
description:
|
|
329
|
-
"Size of the hollow center area in pixels or percentage. Creates the donut-like appearance. Larger values create bigger center areas (useful for center labels). Smaller values create thicker bars. For stacked charts, determines the starting radius of the innermost bar.",
|
|
330
|
-
}),
|
|
331
|
-
cornerRadius: Prop.number().propertiesPanel({
|
|
332
|
-
label: "Corner radius",
|
|
333
|
-
description: "Radius of rounded corners on bars",
|
|
212
|
+
chartType: Prop.string<"single" | "stacked">().docs({
|
|
213
|
+
description:
|
|
214
|
+
"Visual layout of the radial chart. 'single' displays one circular bar (ideal for progress indicators, gauges, or single metrics). 'stacked' displays multiple concentric circular bars (ideal for comparing multiple categories or showing layered data). Single charts often show one data point, while stacked charts display multiple data points as concentric arcs.",
|
|
215
|
+
}),
|
|
216
|
+
startAngle: Prop.number().docs({
|
|
217
|
+
description:
|
|
218
|
+
"Starting position of the radial bars in degrees. 0° = 3 o'clock (right), 90° = 12 o'clock (top), 180° = 9 o'clock (left), 270° = 6 o'clock (bottom). Common values: 90° for top-start, 180° for left-start. Determines where the arc begins drawing. For a single radial chart showing percentage, use start and end angles to control the arc range to show a percentage of the total.",
|
|
334
219
|
}),
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
controlType: "SWITCH",
|
|
220
|
+
endAngle: Prop.number().docs({
|
|
221
|
+
description:
|
|
222
|
+
"Ending position of the radial bars in degrees, defining the full arc sweep. Negative values create clockwise motion. Common combinations: startAngle 90° + endAngle -270° = full circle clockwise from top. startAngle 180° + endAngle 0° = semicircle left to right. The difference determines the total arc range for 100% values.",
|
|
339
223
|
}),
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
controlType: "SWITCH",
|
|
224
|
+
innerRadius: Prop.number().docs({
|
|
225
|
+
description:
|
|
226
|
+
"Size of the hollow center area in pixels or percentage. Creates the donut-like appearance. Larger values create bigger center areas (useful for center labels). Smaller values create thicker bars. For stacked charts, determines the starting radius of the innermost bar.",
|
|
344
227
|
}),
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
228
|
+
cornerRadius: Prop.number(),
|
|
229
|
+
showTooltip: Prop.boolean(),
|
|
230
|
+
showLegend: Prop.boolean(),
|
|
231
|
+
showBarLabels: Prop.boolean(),
|
|
232
|
+
showCenterLabel: Prop.boolean(),
|
|
233
|
+
labelText: Prop.string().docs({
|
|
234
|
+
description:
|
|
235
|
+
"Custom text for center label. If empty, automatically displays calculated total (sum for stacked, first value for single). Useful for custom metrics, percentages with % symbols, or descriptive text. Displayed with large, bold styling.",
|
|
349
236
|
}),
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
controlType: "SWITCH",
|
|
237
|
+
labelSubtext: Prop.string().docs({
|
|
238
|
+
description:
|
|
239
|
+
"Secondary text displayed below the main center label with smaller, muted styling. Typically used for units, descriptions, or context like 'completion', 'users', 'progress', etc. Positioned below the main label for hierarchical information display.",
|
|
354
240
|
}),
|
|
355
|
-
labelText: Prop.string()
|
|
356
|
-
.propertiesPanel({
|
|
357
|
-
label: "Label text",
|
|
358
|
-
description: "Custom text to display in center (leave empty for auto)",
|
|
359
|
-
isVisible: function (this: any) {
|
|
360
|
-
return this.showCenterLabel;
|
|
361
|
-
},
|
|
362
|
-
})
|
|
363
|
-
.docs({
|
|
364
|
-
description:
|
|
365
|
-
"Custom text for center label. If empty, automatically displays calculated total (sum for stacked, first value for single). Useful for custom metrics, percentages with % symbols, or descriptive text. Displayed with large, bold styling.",
|
|
366
|
-
}),
|
|
367
|
-
labelSubtext: Prop.string()
|
|
368
|
-
.propertiesPanel({
|
|
369
|
-
label: "Label subtext",
|
|
370
|
-
description: "Subtext to display below main label",
|
|
371
|
-
isVisible: function (this: any) {
|
|
372
|
-
return this.showCenterLabel;
|
|
373
|
-
},
|
|
374
|
-
})
|
|
375
|
-
.docs({
|
|
376
|
-
description:
|
|
377
|
-
"Secondary text displayed below the main center label with smaller, muted styling. Typically used for units, descriptions, or context like 'completion', 'users', 'progress', etc. Positioned below the main label for hierarchical information display.",
|
|
378
|
-
}),
|
|
379
241
|
}),
|
|
380
242
|
interaction: Section.category(PropsCategory.Interaction).children({
|
|
381
|
-
enableAnimation: Prop.boolean()
|
|
382
|
-
label: "Enable animation",
|
|
383
|
-
description: "Enable chart animations on load",
|
|
384
|
-
controlType: "SWITCH",
|
|
385
|
-
}),
|
|
243
|
+
enableAnimation: Prop.boolean(),
|
|
386
244
|
}),
|
|
387
245
|
events: Section.category(PropsCategory.EventHandlers).children({
|
|
388
|
-
onDataClick: Prop.eventHandler()
|
|
389
|
-
label: "onDataClick",
|
|
390
|
-
description: "Triggered when a radial segment is clicked",
|
|
391
|
-
computedArgs: [
|
|
392
|
-
{
|
|
393
|
-
name: "data",
|
|
394
|
-
type: "object",
|
|
395
|
-
description: "The data point that was clicked",
|
|
396
|
-
},
|
|
397
|
-
],
|
|
398
|
-
}),
|
|
246
|
+
onDataClick: Prop.eventHandler(),
|
|
399
247
|
}),
|
|
400
248
|
}).editorConfig({ icon: "chart" });
|
|
401
249
|
|
|
@@ -160,47 +160,17 @@ type SelectProps = React.ComponentPropsWithoutRef<typeof Select>;
|
|
|
160
160
|
// Properties Definition
|
|
161
161
|
const propertiesDefinition: PropertiesPanelDefinition<SelectProps> = {
|
|
162
162
|
general: Section.category(PropsCategory.Content).children({
|
|
163
|
-
value: Prop.string()
|
|
164
|
-
|
|
165
|
-
description:
|
|
166
|
-
"The controlled value of the select. Should be used in conjunction with `onValueChange`",
|
|
167
|
-
}),
|
|
168
|
-
defaultValue: Prop.string().propertiesPanel({
|
|
169
|
-
label: "Default value",
|
|
170
|
-
description: "The default selected value",
|
|
171
|
-
}),
|
|
163
|
+
value: Prop.string(),
|
|
164
|
+
defaultValue: Prop.string(),
|
|
172
165
|
}),
|
|
173
166
|
|
|
174
167
|
interaction: Section.category(PropsCategory.Interaction).children({
|
|
175
|
-
disabled: Prop.boolean()
|
|
176
|
-
label: "Disabled",
|
|
177
|
-
description: "Whether the select is disabled",
|
|
178
|
-
}),
|
|
168
|
+
disabled: Prop.boolean(),
|
|
179
169
|
}),
|
|
180
170
|
|
|
181
171
|
events: Section.category(PropsCategory.EventHandlers).children({
|
|
182
|
-
onValueChange: Prop.eventHandler()
|
|
183
|
-
|
|
184
|
-
description: "Triggered when the selected value changes",
|
|
185
|
-
computedArgs: [
|
|
186
|
-
{
|
|
187
|
-
name: "value",
|
|
188
|
-
type: "string",
|
|
189
|
-
description: "The selected value",
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
}),
|
|
193
|
-
onOpenChange: Prop.eventHandler().propertiesPanel({
|
|
194
|
-
label: "onOpenChange",
|
|
195
|
-
description: "Triggered when the dropdown opens or closes",
|
|
196
|
-
computedArgs: [
|
|
197
|
-
{
|
|
198
|
-
name: "open",
|
|
199
|
-
type: "boolean",
|
|
200
|
-
description: "Whether the dropdown is open",
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
}),
|
|
172
|
+
onValueChange: Prop.eventHandler(),
|
|
173
|
+
onOpenChange: Prop.eventHandler(),
|
|
204
174
|
}),
|
|
205
175
|
};
|
|
206
176
|
|
|
@@ -39,14 +39,7 @@ const propertiesDefinition: PropertiesPanelDefinition<
|
|
|
39
39
|
React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
|
|
40
40
|
> = {
|
|
41
41
|
appearance: Section.category(PropsCategory.Appearance).children({
|
|
42
|
-
orientation: Prop.string<"horizontal" | "vertical">()
|
|
43
|
-
label: "Orientation",
|
|
44
|
-
controlType: "DROP_DOWN",
|
|
45
|
-
options: [
|
|
46
|
-
{ label: "Horizontal", value: "horizontal" },
|
|
47
|
-
{ label: "Vertical", value: "vertical" },
|
|
48
|
-
],
|
|
49
|
-
}),
|
|
42
|
+
orientation: Prop.string<"horizontal" | "vertical">(),
|
|
50
43
|
}),
|
|
51
44
|
};
|
|
52
45
|
|
|
@@ -150,42 +150,19 @@ const propertiesDefinition: PropertiesPanelDefinition<
|
|
|
150
150
|
React.ComponentPropsWithoutRef<typeof Sheet>
|
|
151
151
|
> = {
|
|
152
152
|
general: Section.category(PropsCategory.Content).children({
|
|
153
|
-
open: Prop.boolean()
|
|
154
|
-
label: "Open",
|
|
155
|
-
controlType: "SWITCH",
|
|
156
|
-
description: "Whether the component is currently open and visible",
|
|
157
|
-
isRemovable: true,
|
|
158
|
-
visibility: "SHOW_NAME",
|
|
159
|
-
}),
|
|
153
|
+
open: Prop.boolean(),
|
|
160
154
|
children: Prop.jsx(),
|
|
161
155
|
}),
|
|
162
156
|
interaction: Section.category(PropsCategory.Interaction).children({
|
|
163
|
-
defaultOpen: Prop.boolean()
|
|
164
|
-
|
|
165
|
-
description:
|
|
157
|
+
defaultOpen: Prop.boolean(),
|
|
158
|
+
modal: Prop.boolean().docs({
|
|
159
|
+
description:
|
|
160
|
+
"When true, interaction with outside elements will be disabled",
|
|
166
161
|
}),
|
|
167
|
-
modal: Prop.boolean()
|
|
168
|
-
.propertiesPanel({
|
|
169
|
-
label: "Modal",
|
|
170
|
-
description: "Prevent clicking outside from closing the dialog",
|
|
171
|
-
})
|
|
172
|
-
.docs({
|
|
173
|
-
description:
|
|
174
|
-
"When true, interaction with outside elements will be disabled",
|
|
175
|
-
}),
|
|
176
162
|
}),
|
|
177
163
|
|
|
178
164
|
events: Section.category(PropsCategory.EventHandlers).children({
|
|
179
|
-
onOpenChange: Prop.eventHandler()
|
|
180
|
-
label: "onOpenChange",
|
|
181
|
-
computedArgs: [
|
|
182
|
-
{
|
|
183
|
-
name: "open",
|
|
184
|
-
type: "boolean",
|
|
185
|
-
description: "Whether the sheet is open",
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
}),
|
|
165
|
+
onOpenChange: Prop.eventHandler(),
|
|
189
166
|
}),
|
|
190
167
|
};
|
|
191
168
|
|
|
@@ -211,17 +188,7 @@ const sheetContentPropertiesDefinition: PropertiesPanelDefinition<
|
|
|
211
188
|
children: Prop.jsx(),
|
|
212
189
|
}),
|
|
213
190
|
appearance: Section.category(PropsCategory.Appearance).children({
|
|
214
|
-
side: Prop.string<"top" | "right" | "bottom" | "left">()
|
|
215
|
-
label: "Side",
|
|
216
|
-
controlType: "DROP_DOWN",
|
|
217
|
-
description: "Which side of the screen the sheet appears from",
|
|
218
|
-
options: [
|
|
219
|
-
{ label: "Right", value: "right" },
|
|
220
|
-
{ label: "Left", value: "left" },
|
|
221
|
-
{ label: "Top", value: "top" },
|
|
222
|
-
{ label: "Bottom", value: "bottom" },
|
|
223
|
-
],
|
|
224
|
-
}),
|
|
191
|
+
side: Prop.string<"top" | "right" | "bottom" | "left">(),
|
|
225
192
|
}),
|
|
226
193
|
};
|
|
227
194
|
|
|
@@ -888,41 +888,9 @@ function SidebarMenuSubButton({
|
|
|
888
888
|
// Properties Definition
|
|
889
889
|
const propertiesDefinition: PropertiesPanelDefinition<SidebarProps> = {
|
|
890
890
|
general: Section.category(PropsCategory.Content).children({
|
|
891
|
-
side: Prop.string<"left" | "right">()
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
label: "Side",
|
|
895
|
-
controlType: "RADIO_BUTTON_GROUP",
|
|
896
|
-
description: "Which side the sidebar appears on",
|
|
897
|
-
options: [
|
|
898
|
-
{ label: "Left", value: "left" },
|
|
899
|
-
{ label: "Right", value: "right" },
|
|
900
|
-
],
|
|
901
|
-
}),
|
|
902
|
-
variant: Prop.string<"sidebar" | "floating" | "inset">()
|
|
903
|
-
|
|
904
|
-
.propertiesPanel({
|
|
905
|
-
label: "Variant",
|
|
906
|
-
controlType: "DROP_DOWN",
|
|
907
|
-
description: "Visual style of the sidebar",
|
|
908
|
-
options: [
|
|
909
|
-
{ label: "Sidebar", value: "sidebar" },
|
|
910
|
-
{ label: "Floating", value: "floating" },
|
|
911
|
-
{ label: "Inset", value: "inset" },
|
|
912
|
-
],
|
|
913
|
-
}),
|
|
914
|
-
collapsible: Prop.string<"none" | "icon" | "offcanvas">()
|
|
915
|
-
|
|
916
|
-
.propertiesPanel({
|
|
917
|
-
label: "Collapsible behavior",
|
|
918
|
-
controlType: "DROP_DOWN",
|
|
919
|
-
description: "How the sidebar behaves when collapsed",
|
|
920
|
-
options: [
|
|
921
|
-
{ label: "Off-canvas", value: "offcanvas" },
|
|
922
|
-
{ label: "Icon only", value: "icon" },
|
|
923
|
-
{ label: "None", value: "none" },
|
|
924
|
-
],
|
|
925
|
-
}),
|
|
891
|
+
side: Prop.string<"left" | "right">(),
|
|
892
|
+
variant: Prop.string<"sidebar" | "floating" | "inset">(),
|
|
893
|
+
collapsible: Prop.string<"none" | "icon" | "offcanvas">(),
|
|
926
894
|
children: Prop.jsx(),
|
|
927
895
|
}),
|
|
928
896
|
};
|
|
@@ -82,107 +82,23 @@ const propertiesDefinition: PropertiesPanelDefinition<
|
|
|
82
82
|
React.ComponentProps<typeof SliderPrimitive.Root>
|
|
83
83
|
> = {
|
|
84
84
|
general: Section.category(PropsCategory.Content).children({
|
|
85
|
-
value: Prop.array<number>()
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}),
|
|
92
|
-
defaultValue: Prop.array<number>().propertiesPanel({
|
|
93
|
-
label: "Default value",
|
|
94
|
-
description:
|
|
95
|
-
"The default selected option value. Changes to the default selection update the component state",
|
|
96
|
-
placeholder: "Enter default option value",
|
|
97
|
-
}),
|
|
98
|
-
min: Prop.number().propertiesPanel({
|
|
99
|
-
label: "Min value",
|
|
100
|
-
description: "The minimum value of the slider",
|
|
101
|
-
placeholder: "Enter min value",
|
|
102
|
-
defaultOnAdd: 0,
|
|
103
|
-
visibility: "SHOW_NAME",
|
|
104
|
-
isRemovable: true,
|
|
105
|
-
}),
|
|
106
|
-
max: Prop.number().propertiesPanel({
|
|
107
|
-
label: "Max value",
|
|
108
|
-
description: "The maximum value of the slider",
|
|
109
|
-
placeholder: "Enter max value",
|
|
110
|
-
defaultOnAdd: 100,
|
|
111
|
-
visibility: "SHOW_NAME",
|
|
112
|
-
isRemovable: true,
|
|
113
|
-
}),
|
|
114
|
-
step: Prop.number().propertiesPanel({
|
|
115
|
-
label: "Step value",
|
|
116
|
-
description: "The step value of the slider",
|
|
117
|
-
placeholder: "Enter step value",
|
|
118
|
-
defaultOnAdd: 1,
|
|
119
|
-
visibility: "SHOW_NAME",
|
|
120
|
-
isRemovable: true,
|
|
121
|
-
}),
|
|
122
|
-
minStepsBetweenThumbs: Prop.number().propertiesPanel({
|
|
123
|
-
label: "Min steps between thumbs",
|
|
124
|
-
description: "The minimum number of steps between multiple thumbs",
|
|
125
|
-
placeholder: "Enter minimum steps",
|
|
126
|
-
defaultOnAdd: 0,
|
|
127
|
-
visibility: "SHOW_NAME",
|
|
128
|
-
isRemovable: true,
|
|
129
|
-
}),
|
|
85
|
+
value: Prop.array<number>(),
|
|
86
|
+
defaultValue: Prop.array<number>(),
|
|
87
|
+
min: Prop.number(),
|
|
88
|
+
max: Prop.number(),
|
|
89
|
+
step: Prop.number(),
|
|
90
|
+
minStepsBetweenThumbs: Prop.number(),
|
|
130
91
|
}),
|
|
131
92
|
appearance: Section.category(PropsCategory.Appearance).children({
|
|
132
|
-
orientation: Prop.string<"horizontal" | "vertical">()
|
|
133
|
-
|
|
134
|
-
.propertiesPanel({
|
|
135
|
-
label: "Orientation",
|
|
136
|
-
description: "The orientation of the slider",
|
|
137
|
-
controlType: "RADIO_BUTTON_GROUP",
|
|
138
|
-
options: [
|
|
139
|
-
{ value: "horizontal", label: "Horizontal" },
|
|
140
|
-
{ value: "vertical", label: "Vertical" },
|
|
141
|
-
],
|
|
142
|
-
visibility: "SHOW_NAME",
|
|
143
|
-
isRemovable: true,
|
|
144
|
-
defaultOnAdd: "horizontal",
|
|
145
|
-
}),
|
|
146
|
-
inverted: Prop.boolean().propertiesPanel({
|
|
147
|
-
label: "Inverted",
|
|
148
|
-
description: "Whether the slider is inverted (reverse direction)",
|
|
149
|
-
controlType: "SWITCH",
|
|
150
|
-
visibility: "SHOW_NAME",
|
|
151
|
-
isRemovable: true,
|
|
152
|
-
defaultOnAdd: false,
|
|
153
|
-
}),
|
|
93
|
+
orientation: Prop.string<"horizontal" | "vertical">(),
|
|
94
|
+
inverted: Prop.boolean(),
|
|
154
95
|
}),
|
|
155
96
|
interaction: Section.category(PropsCategory.Interaction).children({
|
|
156
|
-
disabled: Prop.boolean()
|
|
157
|
-
label: "Disabled",
|
|
158
|
-
description: "Disables user interaction with this component",
|
|
159
|
-
controlType: "SWITCH",
|
|
160
|
-
}),
|
|
97
|
+
disabled: Prop.boolean(),
|
|
161
98
|
}),
|
|
162
99
|
events: Section.category(PropsCategory.EventHandlers).children({
|
|
163
|
-
onValueChange: Prop.eventHandler()
|
|
164
|
-
|
|
165
|
-
description: "Event handler called when the value changes",
|
|
166
|
-
computedArgs: [
|
|
167
|
-
{
|
|
168
|
-
name: "value",
|
|
169
|
-
type: "array",
|
|
170
|
-
description: "The new value",
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
}),
|
|
174
|
-
onValueCommit: Prop.eventHandler().propertiesPanel({
|
|
175
|
-
label: "onValueCommit",
|
|
176
|
-
description:
|
|
177
|
-
"Event handler called when the value changes at the end of an interaction. Useful when you only need to capture a final value e.g. to update a backend service",
|
|
178
|
-
computedArgs: [
|
|
179
|
-
{
|
|
180
|
-
name: "value",
|
|
181
|
-
type: "array",
|
|
182
|
-
description: "The new value",
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
}),
|
|
100
|
+
onValueChange: Prop.eventHandler(),
|
|
101
|
+
onValueCommit: Prop.eventHandler(),
|
|
186
102
|
}),
|
|
187
103
|
};
|
|
188
104
|
|
|
@@ -40,45 +40,18 @@ const propertiesDefinition: PropertiesPanelDefinition<
|
|
|
40
40
|
React.ComponentProps<typeof SwitchPrimitives.Root>
|
|
41
41
|
> = {
|
|
42
42
|
general: Section.category(PropsCategory.Content).children({
|
|
43
|
-
checked: Prop.boolean()
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
description:
|
|
47
|
-
"The controlled state of the switch. Must be used in conjunction with `onCheckedChange`",
|
|
48
|
-
isRemovable: true,
|
|
49
|
-
visibility: "SHOW_NAME",
|
|
43
|
+
checked: Prop.boolean(),
|
|
44
|
+
defaultChecked: Prop.boolean().docs({
|
|
45
|
+
description: "Use when you do not need to control its pressed state",
|
|
50
46
|
}),
|
|
51
|
-
defaultChecked: Prop.boolean()
|
|
52
|
-
.propertiesPanel({
|
|
53
|
-
label: "Default checked",
|
|
54
|
-
controlType: "SWITCH",
|
|
55
|
-
description: "Whether the switch is checked by default",
|
|
56
|
-
})
|
|
57
|
-
.docs({
|
|
58
|
-
description: "Use when you do not need to control its pressed state",
|
|
59
|
-
}),
|
|
60
47
|
}),
|
|
61
48
|
|
|
62
49
|
interaction: Section.category(PropsCategory.Interaction).children({
|
|
63
|
-
disabled: Prop.boolean()
|
|
64
|
-
label: "Disabled",
|
|
65
|
-
controlType: "SWITCH",
|
|
66
|
-
description: "Whether the switch is disabled",
|
|
67
|
-
}),
|
|
50
|
+
disabled: Prop.boolean(),
|
|
68
51
|
}),
|
|
69
52
|
|
|
70
53
|
events: Section.category(PropsCategory.EventHandlers).children({
|
|
71
|
-
onCheckedChange: Prop.eventHandler()
|
|
72
|
-
label: "onChange",
|
|
73
|
-
description: "Triggered when the switch checked state changes",
|
|
74
|
-
computedArgs: [
|
|
75
|
-
{
|
|
76
|
-
name: "checked",
|
|
77
|
-
type: "boolean",
|
|
78
|
-
description: "Whether the switch is checked",
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
}),
|
|
54
|
+
onCheckedChange: Prop.eventHandler(),
|
|
82
55
|
}),
|
|
83
56
|
};
|
|
84
57
|
|