@walkeros/explorer 3.0.1 → 3.0.2
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/__mocks__/@monaco-editor/react.d.ts +3 -0
- package/dist/__mocks__/@monaco-editor/react.d.ts.map +1 -0
- package/dist/__mocks__/@monaco-editor/react.js +4 -0
- package/dist/__mocks__/@monaco-editor/react.js.map +1 -0
- package/dist/components/atoms/box.d.ts +27 -0
- package/dist/components/atoms/box.d.ts.map +1 -0
- package/dist/components/atoms/box.js +86 -0
- package/dist/components/atoms/box.js.map +1 -0
- package/dist/components/atoms/box.stories.d.ts +34 -0
- package/dist/components/atoms/box.stories.d.ts.map +1 -0
- package/dist/components/atoms/box.stories.js +104 -0
- package/dist/components/atoms/box.stories.js.map +1 -0
- package/dist/components/atoms/button-group.d.ts +17 -0
- package/dist/components/atoms/button-group.d.ts.map +1 -0
- package/dist/components/atoms/button-group.js +12 -0
- package/dist/components/atoms/button-group.js.map +1 -0
- package/dist/components/atoms/button-group.stories.d.ts +18 -0
- package/dist/components/atoms/button-group.stories.d.ts.map +1 -0
- package/dist/components/atoms/button-group.stories.js +39 -0
- package/dist/components/atoms/button-group.stories.js.map +1 -0
- package/dist/components/atoms/button-link.d.ts +12 -0
- package/dist/components/atoms/button-link.d.ts.map +1 -0
- package/dist/components/atoms/button-link.js +10 -0
- package/dist/components/atoms/button-link.js.map +1 -0
- package/dist/components/atoms/button-link.stories.d.ts +11 -0
- package/dist/components/atoms/button-link.stories.d.ts.map +1 -0
- package/dist/components/atoms/button-link.stories.js +50 -0
- package/dist/components/atoms/button-link.stories.js.map +1 -0
- package/dist/components/atoms/button.d.ts +15 -0
- package/dist/components/atoms/button.d.ts.map +1 -0
- package/dist/components/atoms/button.js +11 -0
- package/dist/components/atoms/button.js.map +1 -0
- package/dist/components/atoms/button.stories.d.ts +14 -0
- package/dist/components/atoms/button.stories.d.ts.map +1 -0
- package/dist/components/atoms/button.stories.js +25 -0
- package/dist/components/atoms/button.stories.js.map +1 -0
- package/dist/components/atoms/code.d.ts +92 -0
- package/dist/components/atoms/code.d.ts.map +1 -0
- package/dist/components/atoms/code.js +405 -0
- package/dist/components/atoms/code.js.map +1 -0
- package/dist/components/atoms/code.stories.d.ts +46 -0
- package/dist/components/atoms/code.stories.d.ts.map +1 -0
- package/dist/components/atoms/code.stories.js +156 -0
- package/dist/components/atoms/code.stories.js.map +1 -0
- package/dist/components/atoms/footer.d.ts +21 -0
- package/dist/components/atoms/footer.d.ts.map +1 -0
- package/dist/components/atoms/footer.js +19 -0
- package/dist/components/atoms/footer.js.map +1 -0
- package/dist/components/atoms/footer.stories.d.ts +14 -0
- package/dist/components/atoms/footer.stories.d.ts.map +1 -0
- package/dist/components/atoms/footer.stories.js +29 -0
- package/dist/components/atoms/footer.stories.js.map +1 -0
- package/dist/components/atoms/grid.d.ts +65 -0
- package/dist/components/atoms/grid.d.ts.map +1 -0
- package/dist/components/atoms/grid.js +169 -0
- package/dist/components/atoms/grid.js.map +1 -0
- package/dist/components/atoms/grid.stories.d.ts +18 -0
- package/dist/components/atoms/grid.stories.d.ts.map +1 -0
- package/dist/components/atoms/grid.stories.js +60 -0
- package/dist/components/atoms/grid.stories.js.map +1 -0
- package/dist/components/atoms/header.d.ts +7 -0
- package/dist/components/atoms/header.d.ts.map +1 -0
- package/dist/components/atoms/header.js +5 -0
- package/dist/components/atoms/header.js.map +1 -0
- package/dist/components/atoms/header.stories.d.ts +15 -0
- package/dist/components/atoms/header.stories.d.ts.map +1 -0
- package/dist/components/atoms/header.stories.js +37 -0
- package/dist/components/atoms/header.stories.js.map +1 -0
- package/dist/components/atoms/icons/icon.stories.d.ts +18 -0
- package/dist/components/atoms/icons/icon.stories.d.ts.map +1 -0
- package/dist/components/atoms/icons/icon.stories.js +37 -0
- package/dist/components/atoms/icons/icon.stories.js.map +1 -0
- package/dist/components/atoms/icons/icons.d.ts +2 -0
- package/dist/components/atoms/icons/icons.d.ts.map +1 -0
- package/dist/components/atoms/icons/icons.js +7 -0
- package/dist/components/atoms/icons/icons.js.map +1 -0
- package/dist/components/atoms/icons/index.d.ts +3 -0
- package/dist/components/atoms/icons/index.d.ts.map +1 -0
- package/dist/components/atoms/icons/index.js +3 -0
- package/dist/components/atoms/icons/index.js.map +1 -0
- package/dist/components/atoms/mdx-code.d.ts +33 -0
- package/dist/components/atoms/mdx-code.d.ts.map +1 -0
- package/dist/components/atoms/mdx-code.js +69 -0
- package/dist/components/atoms/mdx-code.js.map +1 -0
- package/dist/components/atoms/preview-footer.d.ts +32 -0
- package/dist/components/atoms/preview-footer.d.ts.map +1 -0
- package/dist/components/atoms/preview-footer.js +31 -0
- package/dist/components/atoms/preview-footer.js.map +1 -0
- package/dist/components/atoms/spinner.d.ts +17 -0
- package/dist/components/atoms/spinner.d.ts.map +1 -0
- package/dist/components/atoms/spinner.js +14 -0
- package/dist/components/atoms/spinner.js.map +1 -0
- package/dist/components/atoms/spinner.stories.d.ts +7 -0
- package/dist/components/atoms/spinner.stories.d.ts.map +1 -0
- package/dist/components/atoms/spinner.stories.js +9 -0
- package/dist/components/atoms/spinner.stories.js.map +1 -0
- package/dist/components/atoms/toggle.d.ts +9 -0
- package/dist/components/atoms/toggle.d.ts.map +1 -0
- package/dist/components/atoms/toggle.js +6 -0
- package/dist/components/atoms/toggle.js.map +1 -0
- package/dist/components/demos/DestinationDemo.d.ts +48 -0
- package/dist/components/demos/DestinationDemo.d.ts.map +1 -0
- package/dist/components/demos/DestinationDemo.js +105 -0
- package/dist/components/demos/DestinationDemo.js.map +1 -0
- package/dist/components/demos/DestinationDemo.stories.d.ts +17 -0
- package/dist/components/demos/DestinationDemo.stories.d.ts.map +1 -0
- package/dist/components/demos/DestinationDemo.stories.js +53 -0
- package/dist/components/demos/DestinationDemo.stories.js.map +1 -0
- package/dist/components/demos/DestinationInitDemo.d.ts +34 -0
- package/dist/components/demos/DestinationInitDemo.d.ts.map +1 -0
- package/dist/components/demos/DestinationInitDemo.js +73 -0
- package/dist/components/demos/DestinationInitDemo.js.map +1 -0
- package/dist/components/demos/DestinationInitDemo.stories.d.ts +17 -0
- package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +1 -0
- package/dist/components/demos/DestinationInitDemo.stories.js +39 -0
- package/dist/components/demos/DestinationInitDemo.stories.js.map +1 -0
- package/dist/components/demos/PromotionPlayground.d.ts +30 -0
- package/dist/components/demos/PromotionPlayground.d.ts.map +1 -0
- package/dist/components/demos/PromotionPlayground.js +366 -0
- package/dist/components/demos/PromotionPlayground.js.map +1 -0
- package/dist/components/demos/PromotionPlayground.stories.d.ts +27 -0
- package/dist/components/demos/PromotionPlayground.stories.d.ts.map +1 -0
- package/dist/components/demos/PromotionPlayground.stories.js +32 -0
- package/dist/components/demos/PromotionPlayground.stories.js.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts +24 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +10 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +7 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +71 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -0
- package/dist/components/molecules/architecture-flow/index.d.ts +3 -0
- package/dist/components/molecules/architecture-flow/index.d.ts.map +1 -0
- package/dist/components/molecules/architecture-flow/index.js +2 -0
- package/dist/components/molecules/architecture-flow/index.js.map +1 -0
- package/dist/components/molecules/code-box.d.ts +75 -0
- package/dist/components/molecules/code-box.d.ts.map +1 -0
- package/dist/components/molecules/code-box.js +174 -0
- package/dist/components/molecules/code-box.js.map +1 -0
- package/dist/components/molecules/code-box.stories.d.ts +87 -0
- package/dist/components/molecules/code-box.stories.d.ts.map +1 -0
- package/dist/components/molecules/code-box.stories.js +300 -0
- package/dist/components/molecules/code-box.stories.js.map +1 -0
- package/dist/components/molecules/code-snippet.d.ts +58 -0
- package/dist/components/molecules/code-snippet.d.ts.map +1 -0
- package/dist/components/molecules/code-snippet.js +72 -0
- package/dist/components/molecules/code-snippet.js.map +1 -0
- package/dist/components/molecules/code-snippet.stories.d.ts +23 -0
- package/dist/components/molecules/code-snippet.stories.d.ts.map +1 -0
- package/dist/components/molecules/code-snippet.stories.js +87 -0
- package/dist/components/molecules/code-snippet.stories.js.map +1 -0
- package/dist/components/molecules/dropdown.d.ts +68 -0
- package/dist/components/molecules/dropdown.d.ts.map +1 -0
- package/dist/components/molecules/dropdown.js +47 -0
- package/dist/components/molecules/dropdown.js.map +1 -0
- package/dist/components/molecules/dropdown.stories.d.ts +7 -0
- package/dist/components/molecules/dropdown.stories.d.ts.map +1 -0
- package/dist/components/molecules/dropdown.stories.js +18 -0
- package/dist/components/molecules/dropdown.stories.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.d.ts +74 -0
- package/dist/components/molecules/flow-map/FlowMap.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.js +1039 -0
- package/dist/components/molecules/flow-map/FlowMap.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +47 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.js +355 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +29 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +117 -0
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +1 -0
- package/dist/components/molecules/flow-map/index.d.ts +3 -0
- package/dist/components/molecules/flow-map/index.d.ts.map +1 -0
- package/dist/components/molecules/flow-map/index.js +2 -0
- package/dist/components/molecules/flow-map/index.js.map +1 -0
- package/dist/components/molecules/preview.d.ts +23 -0
- package/dist/components/molecules/preview.d.ts.map +1 -0
- package/dist/components/molecules/preview.js +232 -0
- package/dist/components/molecules/preview.js.map +1 -0
- package/dist/components/molecules/preview.stories.d.ts +23 -0
- package/dist/components/molecules/preview.stories.d.ts.map +1 -0
- package/dist/components/molecules/preview.stories.js +186 -0
- package/dist/components/molecules/preview.stories.js.map +1 -0
- package/dist/components/molecules/property-table.d.ts +7 -0
- package/dist/components/molecules/property-table.d.ts.map +1 -0
- package/dist/components/molecules/property-table.js +88 -0
- package/dist/components/molecules/property-table.js.map +1 -0
- package/dist/components/molecules/property-table.stories.d.ts +24 -0
- package/dist/components/molecules/property-table.stories.d.ts.map +1 -0
- package/dist/components/molecules/property-table.stories.js +86 -0
- package/dist/components/molecules/property-table.stories.js.map +1 -0
- package/dist/components/organisms/browser-box.d.ts +31 -0
- package/dist/components/organisms/browser-box.d.ts.map +1 -0
- package/dist/components/organisms/browser-box.js +80 -0
- package/dist/components/organisms/browser-box.js.map +1 -0
- package/dist/components/organisms/browser-box.stories.d.ts +26 -0
- package/dist/components/organisms/browser-box.stories.d.ts.map +1 -0
- package/dist/components/organisms/browser-box.stories.js +102 -0
- package/dist/components/organisms/browser-box.stories.js.map +1 -0
- package/dist/components/organisms/collector-box.d.ts +24 -0
- package/dist/components/organisms/collector-box.d.ts.map +1 -0
- package/dist/components/organisms/collector-box.js +56 -0
- package/dist/components/organisms/collector-box.js.map +1 -0
- package/dist/components/organisms/collector-box.stories.d.ts +22 -0
- package/dist/components/organisms/collector-box.stories.d.ts.map +1 -0
- package/dist/components/organisms/collector-box.stories.js +59 -0
- package/dist/components/organisms/collector-box.stories.js.map +1 -0
- package/dist/components/organisms/live-code.d.ts +22 -0
- package/dist/components/organisms/live-code.d.ts.map +1 -0
- package/dist/components/organisms/live-code.js +50 -0
- package/dist/components/organisms/live-code.js.map +1 -0
- package/dist/components/organisms/live-code.stories.d.ts +24 -0
- package/dist/components/organisms/live-code.stories.d.ts.map +1 -0
- package/dist/components/organisms/live-code.stories.js +55 -0
- package/dist/components/organisms/live-code.stories.js.map +1 -0
- package/dist/components/ui/button.d.ts +4 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +6 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/icon.d.ts +5 -0
- package/dist/components/ui/icon.d.ts.map +1 -0
- package/dist/components/ui/icon.js +5 -0
- package/dist/components/ui/icon.js.map +1 -0
- package/dist/contexts/GridHeightContext.d.ts +11 -0
- package/dist/contexts/GridHeightContext.d.ts.map +1 -0
- package/dist/contexts/GridHeightContext.js +14 -0
- package/dist/contexts/GridHeightContext.js.map +1 -0
- package/dist/helpers/capture.d.ts +83 -0
- package/dist/helpers/capture.d.ts.map +1 -0
- package/dist/helpers/capture.js +125 -0
- package/dist/helpers/capture.js.map +1 -0
- package/dist/helpers/destinations.d.ts +21 -0
- package/dist/helpers/destinations.d.ts.map +1 -0
- package/dist/helpers/destinations.js +46 -0
- package/dist/helpers/destinations.js.map +1 -0
- package/dist/hooks/useDropdown.d.ts +34 -0
- package/dist/hooks/useDropdown.d.ts.map +1 -0
- package/dist/hooks/useDropdown.js +66 -0
- package/dist/hooks/useDropdown.js.map +1 -0
- package/dist/hooks/useMonacoHeight.d.ts +31 -0
- package/dist/hooks/useMonacoHeight.d.ts.map +1 -0
- package/dist/hooks/useMonacoHeight.js +83 -0
- package/dist/hooks/useMonacoHeight.js.map +1 -0
- package/dist/hooks/useTreeState.d.ts +32 -0
- package/dist/hooks/useTreeState.d.ts.map +1 -0
- package/dist/hooks/useTreeState.js +94 -0
- package/dist/hooks/useTreeState.js.map +1 -0
- package/dist/index.d.ts +69 -1338
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +59 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/utils.d.ts +7 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +10 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/providers/MDXProvider.d.ts +40 -0
- package/dist/providers/MDXProvider.d.ts.map +1 -0
- package/dist/providers/MDXProvider.js +57 -0
- package/dist/providers/MDXProvider.js.map +1 -0
- package/dist/themes/index.d.ts +23 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +29 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/themes/lighthouse.d.ts +26 -0
- package/dist/themes/lighthouse.d.ts.map +1 -0
- package/dist/themes/lighthouse.js +230 -0
- package/dist/themes/lighthouse.js.map +1 -0
- package/dist/themes/palenight.d.ts +31 -0
- package/dist/themes/palenight.d.ts.map +1 -0
- package/dist/themes/palenight.js +236 -0
- package/dist/themes/palenight.js.map +1 -0
- package/dist/themes/types.d.ts +103 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/themes/types.js +8 -0
- package/dist/themes/types.js.map +1 -0
- package/dist/types/intellisense.d.ts +33 -0
- package/dist/types/intellisense.d.ts.map +1 -0
- package/dist/types/intellisense.js +2 -0
- package/dist/types/intellisense.js.map +1 -0
- package/dist/utils/code-normalizer.d.ts +11 -0
- package/dist/utils/code-normalizer.d.ts.map +1 -0
- package/dist/utils/code-normalizer.js +21 -0
- package/dist/utils/code-normalizer.js.map +1 -0
- package/dist/utils/contract-path-walker.d.ts +27 -0
- package/dist/utils/contract-path-walker.d.ts.map +1 -0
- package/dist/utils/contract-path-walker.js +145 -0
- package/dist/utils/contract-path-walker.js.map +1 -0
- package/dist/utils/format-code.d.ts +9 -0
- package/dist/utils/format-code.d.ts.map +1 -0
- package/dist/utils/format-code.js +77 -0
- package/dist/utils/format-code.js.map +1 -0
- package/dist/utils/mapping-context-detector.d.ts +17 -0
- package/dist/utils/mapping-context-detector.d.ts.map +1 -0
- package/dist/utils/mapping-context-detector.js +22 -0
- package/dist/utils/mapping-context-detector.js.map +1 -0
- package/dist/utils/monaco-context-types.d.ts +39 -0
- package/dist/utils/monaco-context-types.d.ts.map +1 -0
- package/dist/utils/monaco-context-types.js +426 -0
- package/dist/utils/monaco-context-types.js.map +1 -0
- package/dist/utils/monaco-decorators.d.ts +17 -0
- package/dist/utils/monaco-decorators.d.ts.map +1 -0
- package/dist/utils/monaco-decorators.js +81 -0
- package/dist/utils/monaco-decorators.js.map +1 -0
- package/dist/utils/monaco-formatters.d.ts +16 -0
- package/dist/utils/monaco-formatters.d.ts.map +1 -0
- package/dist/utils/monaco-formatters.js +139 -0
- package/dist/utils/monaco-formatters.js.map +1 -0
- package/dist/utils/monaco-intellisense-flow-extractor.d.ts +13 -0
- package/dist/utils/monaco-intellisense-flow-extractor.d.ts.map +1 -0
- package/dist/utils/monaco-intellisense-flow-extractor.js +168 -0
- package/dist/utils/monaco-intellisense-flow-extractor.js.map +1 -0
- package/dist/utils/monaco-json-path.d.ts +12 -0
- package/dist/utils/monaco-json-path.d.ts.map +1 -0
- package/dist/utils/monaco-json-path.js +68 -0
- package/dist/utils/monaco-json-path.js.map +1 -0
- package/dist/utils/monaco-json-schema.d.ts +45 -0
- package/dist/utils/monaco-json-schema.d.ts.map +1 -0
- package/dist/utils/monaco-json-schema.js +90 -0
- package/dist/utils/monaco-json-schema.js.map +1 -0
- package/dist/utils/monaco-schema-contract.d.ts +8 -0
- package/dist/utils/monaco-schema-contract.d.ts.map +1 -0
- package/dist/utils/monaco-schema-contract.js +73 -0
- package/dist/utils/monaco-schema-contract.js.map +1 -0
- package/dist/utils/monaco-schema-enrichment.d.ts +26 -0
- package/dist/utils/monaco-schema-enrichment.d.ts.map +1 -0
- package/dist/utils/monaco-schema-enrichment.js +31 -0
- package/dist/utils/monaco-schema-enrichment.js.map +1 -0
- package/dist/utils/monaco-schema-flow-config.d.ts +10 -0
- package/dist/utils/monaco-schema-flow-config.d.ts.map +1 -0
- package/dist/utils/monaco-schema-flow-config.js +201 -0
- package/dist/utils/monaco-schema-flow-config.js.map +1 -0
- package/dist/utils/monaco-schema-variables.d.ts +4 -0
- package/dist/utils/monaco-schema-variables.d.ts.map +1 -0
- package/dist/utils/monaco-schema-variables.js +26 -0
- package/dist/utils/monaco-schema-variables.js.map +1 -0
- package/dist/utils/monaco-types.d.ts +174 -0
- package/dist/utils/monaco-types.d.ts.map +1 -0
- package/dist/utils/monaco-types.js +378 -0
- package/dist/utils/monaco-types.js.map +1 -0
- package/dist/utils/monaco-walkeros-completions.d.ts +23 -0
- package/dist/utils/monaco-walkeros-completions.d.ts.map +1 -0
- package/dist/utils/monaco-walkeros-completions.js +258 -0
- package/dist/utils/monaco-walkeros-completions.js.map +1 -0
- package/dist/utils/monaco-walkeros-decorations.d.ts +29 -0
- package/dist/utils/monaco-walkeros-decorations.d.ts.map +1 -0
- package/dist/utils/monaco-walkeros-decorations.js +87 -0
- package/dist/utils/monaco-walkeros-decorations.js.map +1 -0
- package/dist/utils/monaco-walkeros-markers.d.ts +13 -0
- package/dist/utils/monaco-walkeros-markers.d.ts.map +1 -0
- package/dist/utils/monaco-walkeros-markers.js +69 -0
- package/dist/utils/monaco-walkeros-markers.js.map +1 -0
- package/dist/utils/monaco-walkeros-providers.d.ts +19 -0
- package/dist/utils/monaco-walkeros-providers.d.ts.map +1 -0
- package/dist/utils/monaco-walkeros-providers.js +284 -0
- package/dist/utils/monaco-walkeros-providers.js.map +1 -0
- package/dist/utils/path-analyzer.d.ts +88 -0
- package/dist/utils/path-analyzer.d.ts.map +1 -0
- package/dist/utils/path-analyzer.js +215 -0
- package/dist/utils/path-analyzer.js.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ClassValue } from 'clsx';
|
|
2
|
+
/**
|
|
3
|
+
* Utility function to merge class names with Tailwind CSS classes
|
|
4
|
+
* Uses clsx for conditional classes and tailwind-merge to handle conflicts
|
|
5
|
+
*/
|
|
6
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from 'clsx';
|
|
2
|
+
import { twMerge } from 'tailwind-merge';
|
|
3
|
+
/**
|
|
4
|
+
* Utility function to merge class names with Tailwind CSS classes
|
|
5
|
+
* Uses clsx for conditional classes and tailwind-merge to handle conflicts
|
|
6
|
+
*/
|
|
7
|
+
export function cn(...inputs) {
|
|
8
|
+
return twMerge(clsx(inputs));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC;;;GAGG;AACH,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type FC, type PropsWithChildren } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* MDXProvider - Makes components available in MDX files without explicit imports
|
|
4
|
+
*
|
|
5
|
+
* This provider wraps MDX content and injects React components for HTML elements.
|
|
6
|
+
* Components are automatically used when rendering markdown/MDX content.
|
|
7
|
+
*
|
|
8
|
+
* Key features:
|
|
9
|
+
* - No imports needed in MDX files
|
|
10
|
+
* - Consistent styling across all documentation
|
|
11
|
+
* - Theme-aware (respects data-theme attribute)
|
|
12
|
+
* - Automatic inline vs block code detection
|
|
13
|
+
*
|
|
14
|
+
* Available components (no import needed):
|
|
15
|
+
* - CodeBox: Monaco editor for code display (also auto-used for ```code blocks)
|
|
16
|
+
* - PropertyTable: Display schema-based property documentation
|
|
17
|
+
* - DestinationInitDemo: Interactive demo for destination initialization
|
|
18
|
+
* - DestinationDemo: Interactive demo for destination event processing
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* // Wrap your app
|
|
22
|
+
* <MDXProvider>
|
|
23
|
+
* <App />
|
|
24
|
+
* </MDXProvider>
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Then in any .mdx file, no imports needed:
|
|
28
|
+
* # Documentation
|
|
29
|
+
*
|
|
30
|
+
* Inline `code` and markdown blocks:
|
|
31
|
+
* ```typescript
|
|
32
|
+
* const example = "Hello";
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Or use components directly:
|
|
36
|
+
* <CodeBox code="const x = 1;" language="javascript" />
|
|
37
|
+
* <PropertyTable schema={mySchema} />
|
|
38
|
+
*/
|
|
39
|
+
export declare const MDXProvider: FC<PropsWithChildren>;
|
|
40
|
+
//# sourceMappingURL=MDXProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MDXProvider.d.ts","sourceRoot":"","sources":["../../src/providers/MDXProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQ/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAa7C,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { MDXProvider as BaseMDXProvider } from '@mdx-js/react';
|
|
3
|
+
import { MDXCode } from '../components/atoms/mdx-code';
|
|
4
|
+
import { CodeBox } from '../components/molecules/code-box';
|
|
5
|
+
import { PropertyTable } from '../components/molecules/property-table';
|
|
6
|
+
import { DestinationInitDemo } from '../components/demos/DestinationInitDemo';
|
|
7
|
+
import { DestinationDemo } from '../components/demos/DestinationDemo';
|
|
8
|
+
/**
|
|
9
|
+
* MDXProvider - Makes components available in MDX files without explicit imports
|
|
10
|
+
*
|
|
11
|
+
* This provider wraps MDX content and injects React components for HTML elements.
|
|
12
|
+
* Components are automatically used when rendering markdown/MDX content.
|
|
13
|
+
*
|
|
14
|
+
* Key features:
|
|
15
|
+
* - No imports needed in MDX files
|
|
16
|
+
* - Consistent styling across all documentation
|
|
17
|
+
* - Theme-aware (respects data-theme attribute)
|
|
18
|
+
* - Automatic inline vs block code detection
|
|
19
|
+
*
|
|
20
|
+
* Available components (no import needed):
|
|
21
|
+
* - CodeBox: Monaco editor for code display (also auto-used for ```code blocks)
|
|
22
|
+
* - PropertyTable: Display schema-based property documentation
|
|
23
|
+
* - DestinationInitDemo: Interactive demo for destination initialization
|
|
24
|
+
* - DestinationDemo: Interactive demo for destination event processing
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Wrap your app
|
|
28
|
+
* <MDXProvider>
|
|
29
|
+
* <App />
|
|
30
|
+
* </MDXProvider>
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* // Then in any .mdx file, no imports needed:
|
|
34
|
+
* # Documentation
|
|
35
|
+
*
|
|
36
|
+
* Inline `code` and markdown blocks:
|
|
37
|
+
* ```typescript
|
|
38
|
+
* const example = "Hello";
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* Or use components directly:
|
|
42
|
+
* <CodeBox code="const x = 1;" language="javascript" />
|
|
43
|
+
* <PropertyTable schema={mySchema} />
|
|
44
|
+
*/
|
|
45
|
+
export const MDXProvider = ({ children }) => {
|
|
46
|
+
const components = {
|
|
47
|
+
// Markdown element mappings
|
|
48
|
+
code: MDXCode, // Auto-handles ```code blocks
|
|
49
|
+
// Explorer components (no import needed in MDX)
|
|
50
|
+
CodeBox,
|
|
51
|
+
PropertyTable,
|
|
52
|
+
DestinationInitDemo,
|
|
53
|
+
DestinationDemo,
|
|
54
|
+
};
|
|
55
|
+
return _jsx(BaseMDXProvider, { components: components, children: children });
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=MDXProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MDXProvider.js","sourceRoot":"","sources":["../../src/providers/MDXProvider.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjE,MAAM,UAAU,GAAG;QACjB,4BAA4B;QAC5B,IAAI,EAAE,OAAO,EAAE,8BAA8B;QAE7C,gDAAgD;QAChD,OAAO;QACP,aAAa;QACb,mBAAmB;QACnB,eAAe;KAChB,CAAC;IAEF,OAAO,KAAC,eAAe,IAAC,UAAU,EAAE,UAAU,YAAG,QAAQ,GAAmB,CAAC;AAC/E,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco Editor Themes for walkerOS Explorer
|
|
3
|
+
*
|
|
4
|
+
* Custom Monaco themes that integrate seamlessly with the CSS-based theme system.
|
|
5
|
+
* Theme switching is handled via CSS `data-theme` attribute on document root.
|
|
6
|
+
*/
|
|
7
|
+
export { palenightTheme, registerPalenightTheme } from './palenight';
|
|
8
|
+
export { lighthouseTheme, registerLighthouseTheme } from './lighthouse';
|
|
9
|
+
export type { ExplorerTheme } from './types';
|
|
10
|
+
/**
|
|
11
|
+
* Register all Monaco themes
|
|
12
|
+
* Convenience function for registering both themes at once
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import { registerAllThemes } from '@walkeros/explorer';
|
|
17
|
+
* import * as monaco from 'monaco-editor';
|
|
18
|
+
*
|
|
19
|
+
* registerAllThemes(monaco);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function registerAllThemes(monaco: typeof import('monaco-editor')): void;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAGxE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,cAAc,eAAe,CAAC,GACrC,IAAI,CAGN"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco Editor Themes for walkerOS Explorer
|
|
3
|
+
*
|
|
4
|
+
* Custom Monaco themes that integrate seamlessly with the CSS-based theme system.
|
|
5
|
+
* Theme switching is handled via CSS `data-theme` attribute on document root.
|
|
6
|
+
*/
|
|
7
|
+
// Import registration functions for use in registerAllThemes
|
|
8
|
+
import { registerPalenightTheme } from './palenight';
|
|
9
|
+
import { registerLighthouseTheme } from './lighthouse';
|
|
10
|
+
// Monaco Editor themes
|
|
11
|
+
export { palenightTheme, registerPalenightTheme } from './palenight';
|
|
12
|
+
export { lighthouseTheme, registerLighthouseTheme } from './lighthouse';
|
|
13
|
+
/**
|
|
14
|
+
* Register all Monaco themes
|
|
15
|
+
* Convenience function for registering both themes at once
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import { registerAllThemes } from '@walkeros/explorer';
|
|
20
|
+
* import * as monaco from 'monaco-editor';
|
|
21
|
+
*
|
|
22
|
+
* registerAllThemes(monaco);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export function registerAllThemes(monaco) {
|
|
26
|
+
registerPalenightTheme(monaco);
|
|
27
|
+
registerLighthouseTheme(monaco);
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,6DAA6D;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEvD,uBAAuB;AACvB,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAKxE;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,iBAAiB,CAC/B,MAAsC;IAEtC,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC/B,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lighthouse Theme for Monaco Editor
|
|
3
|
+
*
|
|
4
|
+
* Custom light theme for walkerOS Explorer, designed to complement the Palenight dark theme.
|
|
5
|
+
* Based on VS Code Light+ with adjustments for optimal readability and brand consistency.
|
|
6
|
+
*
|
|
7
|
+
* Color Palette Strategy:
|
|
8
|
+
* - Comments: Muted green (#6A737D) for subtle annotations
|
|
9
|
+
* - Strings: Dark green (#22863A) for clear text distinction
|
|
10
|
+
* - Numbers: Brick red (#D73A49) for numeric emphasis
|
|
11
|
+
* - Functions: Deep blue (#005CC5) for callable identification
|
|
12
|
+
* - Keywords: Purple (#6F42C1) maintaining syntax hierarchy
|
|
13
|
+
* - Variables: Near black (#24292E) for primary code elements
|
|
14
|
+
* - Types/Classes: Dark gold (#B08800) for type definitions
|
|
15
|
+
* - Tags: Red (#D73A49) for HTML/JSX elements
|
|
16
|
+
* - Operators: Teal (#0086B3) for logical operations
|
|
17
|
+
* - Booleans: Red (#D73A49) for literal values
|
|
18
|
+
*/
|
|
19
|
+
import type { editor } from 'monaco-editor';
|
|
20
|
+
export declare const lighthouseTheme: editor.IStandaloneThemeData;
|
|
21
|
+
/**
|
|
22
|
+
* Register the lighthouse theme with Monaco Editor
|
|
23
|
+
* Call this function before creating any editor instances
|
|
24
|
+
*/
|
|
25
|
+
export declare function registerLighthouseTheme(monaco: typeof import('monaco-editor')): void;
|
|
26
|
+
//# sourceMappingURL=lighthouse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lighthouse.d.ts","sourceRoot":"","sources":["../../src/themes/lighthouse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,oBAkPpC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,cAAc,eAAe,CAAC,QAGvC"}
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lighthouse Theme for Monaco Editor
|
|
3
|
+
*
|
|
4
|
+
* Custom light theme for walkerOS Explorer, designed to complement the Palenight dark theme.
|
|
5
|
+
* Based on VS Code Light+ with adjustments for optimal readability and brand consistency.
|
|
6
|
+
*
|
|
7
|
+
* Color Palette Strategy:
|
|
8
|
+
* - Comments: Muted green (#6A737D) for subtle annotations
|
|
9
|
+
* - Strings: Dark green (#22863A) for clear text distinction
|
|
10
|
+
* - Numbers: Brick red (#D73A49) for numeric emphasis
|
|
11
|
+
* - Functions: Deep blue (#005CC5) for callable identification
|
|
12
|
+
* - Keywords: Purple (#6F42C1) maintaining syntax hierarchy
|
|
13
|
+
* - Variables: Near black (#24292E) for primary code elements
|
|
14
|
+
* - Types/Classes: Dark gold (#B08800) for type definitions
|
|
15
|
+
* - Tags: Red (#D73A49) for HTML/JSX elements
|
|
16
|
+
* - Operators: Teal (#0086B3) for logical operations
|
|
17
|
+
* - Booleans: Red (#D73A49) for literal values
|
|
18
|
+
*/
|
|
19
|
+
export const lighthouseTheme = {
|
|
20
|
+
base: 'vs',
|
|
21
|
+
inherit: true,
|
|
22
|
+
rules: [
|
|
23
|
+
// Comments
|
|
24
|
+
{ token: 'comment', foreground: '6A737D', fontStyle: 'italic' },
|
|
25
|
+
{ token: 'comment.block', foreground: '6A737D', fontStyle: 'italic' },
|
|
26
|
+
{ token: 'comment.line', foreground: '6A737D', fontStyle: 'italic' },
|
|
27
|
+
// Strings - dark green for good contrast on white
|
|
28
|
+
{ token: 'string', foreground: '22863A' },
|
|
29
|
+
{ token: 'string.quoted', foreground: '22863A' },
|
|
30
|
+
{ token: 'string.template', foreground: '22863A' },
|
|
31
|
+
{ token: 'string.regexp', foreground: '032F62' },
|
|
32
|
+
// Language-specific strings (Monaco uses these exact token names)
|
|
33
|
+
{ token: 'string.value.json', foreground: '22863A' },
|
|
34
|
+
{ token: 'string.json', foreground: '22863A' },
|
|
35
|
+
{ token: 'string.html', foreground: '22863A' },
|
|
36
|
+
{ token: 'string.css', foreground: '22863A' },
|
|
37
|
+
{ token: 'string.js', foreground: '22863A' },
|
|
38
|
+
{ token: 'string.ts', foreground: '22863A' },
|
|
39
|
+
// Numbers - dark red/burgundy for contrast
|
|
40
|
+
{ token: 'number', foreground: 'D73A49' },
|
|
41
|
+
{ token: 'number.hex', foreground: 'D73A49' },
|
|
42
|
+
{ token: 'number.binary', foreground: 'D73A49' },
|
|
43
|
+
{ token: 'number.octal', foreground: 'D73A49' },
|
|
44
|
+
{ token: 'number.float', foreground: 'D73A49' },
|
|
45
|
+
// Keywords - dark purple for contrast
|
|
46
|
+
{ token: 'keyword', foreground: '6F42C1', fontStyle: 'italic' },
|
|
47
|
+
{ token: 'keyword.control', foreground: '6F42C1', fontStyle: 'italic' },
|
|
48
|
+
{ token: 'keyword.operator', foreground: '0086B3' },
|
|
49
|
+
{ token: 'keyword.other', foreground: '6F42C1' },
|
|
50
|
+
// Operators - cyan (brand color)
|
|
51
|
+
{ token: 'operator', foreground: '01b5e2' },
|
|
52
|
+
{ token: 'operators', foreground: '01b5e2' },
|
|
53
|
+
// Functions
|
|
54
|
+
{ token: 'function', foreground: '005CC5' },
|
|
55
|
+
{ token: 'identifier.function', foreground: '005CC5' },
|
|
56
|
+
{ token: 'support.function', foreground: '005CC5' },
|
|
57
|
+
{ token: 'entity.name.function', foreground: '005CC5' },
|
|
58
|
+
// Types & Classes
|
|
59
|
+
{ token: 'type', foreground: 'B08800' },
|
|
60
|
+
{ token: 'type.identifier', foreground: 'B08800' },
|
|
61
|
+
{ token: 'entity.name.type', foreground: 'B08800' },
|
|
62
|
+
{ token: 'entity.name.class', foreground: 'B08800' },
|
|
63
|
+
{ token: 'support.type', foreground: 'B08800' },
|
|
64
|
+
{ token: 'support.class', foreground: 'B08800' },
|
|
65
|
+
// Variables
|
|
66
|
+
{ token: 'variable', foreground: '24292E' },
|
|
67
|
+
{ token: 'variable.name', foreground: '24292E' },
|
|
68
|
+
{ token: 'variable.parameter', foreground: '24292E' },
|
|
69
|
+
// Constants & Built-ins
|
|
70
|
+
{ token: 'constant', foreground: '005CC5' },
|
|
71
|
+
{ token: 'constant.language', foreground: 'ef4444' },
|
|
72
|
+
{ token: 'constant.numeric', foreground: 'fb923c' },
|
|
73
|
+
{ token: 'constant.character', foreground: '005CC5' },
|
|
74
|
+
{ token: 'support.constant', foreground: '005CC5' },
|
|
75
|
+
// Booleans - red/pink accent (matching screenshot)
|
|
76
|
+
{ token: 'constant.language.boolean', foreground: 'ef4444' },
|
|
77
|
+
{ token: 'keyword.constant.boolean', foreground: 'ef4444' },
|
|
78
|
+
// Delimiters & Punctuation
|
|
79
|
+
{ token: 'delimiter', foreground: '24292E' },
|
|
80
|
+
{ token: 'delimiter.bracket', foreground: '24292E' },
|
|
81
|
+
{ token: 'delimiter.parenthesis', foreground: '24292E' },
|
|
82
|
+
{ token: 'delimiter.square', foreground: '24292E' },
|
|
83
|
+
{ token: 'punctuation', foreground: '24292E' },
|
|
84
|
+
// Tags (HTML/XML/JSX)
|
|
85
|
+
{ token: 'tag', foreground: 'D73A49' },
|
|
86
|
+
{ token: 'meta.tag', foreground: 'D73A49' },
|
|
87
|
+
{ token: 'entity.name.tag', foreground: 'D73A49' },
|
|
88
|
+
// Tag Attributes (using string color for consistency with Prism)
|
|
89
|
+
{ token: 'attribute.name', foreground: '22863A' },
|
|
90
|
+
{ token: 'entity.other.attribute-name', foreground: '22863A' },
|
|
91
|
+
// Namespaces
|
|
92
|
+
{ token: 'namespace', foreground: '6F42C1' },
|
|
93
|
+
{ token: 'entity.name.namespace', foreground: '6F42C1' },
|
|
94
|
+
// URLs
|
|
95
|
+
{ token: 'markup.underline.link', foreground: '005CC5' },
|
|
96
|
+
// Doctype
|
|
97
|
+
{
|
|
98
|
+
token: 'meta.tag.sgml.doctype',
|
|
99
|
+
foreground: '6A737D',
|
|
100
|
+
fontStyle: 'italic',
|
|
101
|
+
},
|
|
102
|
+
// Object Keys - Unified near-black for all property names
|
|
103
|
+
// Covers JSON, TypeScript, JavaScript object literals
|
|
104
|
+
{ token: 'support.type.property-name', foreground: '24292E' },
|
|
105
|
+
{ token: 'support.type.property-name.json', foreground: '24292E' },
|
|
106
|
+
{ token: 'string.key.json', foreground: '24292E' },
|
|
107
|
+
{ token: 'meta.object-literal.key', foreground: '24292E' },
|
|
108
|
+
{ token: 'variable.other.property', foreground: '24292E' },
|
|
109
|
+
{ token: 'identifier', foreground: '24292E' },
|
|
110
|
+
{ token: 'identifier.ts', foreground: '24292E' },
|
|
111
|
+
{ token: 'identifier.js', foreground: '24292E' },
|
|
112
|
+
// Markdown
|
|
113
|
+
{ token: 'markup.bold', fontStyle: 'bold' },
|
|
114
|
+
{ token: 'markup.italic', fontStyle: 'italic' },
|
|
115
|
+
{ token: 'markup.heading', foreground: '6F42C1', fontStyle: 'bold' },
|
|
116
|
+
// Language-Specific: JavaScript/TypeScript
|
|
117
|
+
{ token: 'variable.parameter.ts', foreground: '24292E' },
|
|
118
|
+
{ token: 'variable.parameter.js', foreground: '24292E' },
|
|
119
|
+
{ token: 'support.type.primitive.ts', foreground: 'B08800' },
|
|
120
|
+
{ token: 'support.type.primitive.js', foreground: 'B08800' },
|
|
121
|
+
{ token: 'entity.name.type.ts', foreground: 'B08800' },
|
|
122
|
+
{ token: 'entity.name.type.js', foreground: 'B08800' },
|
|
123
|
+
{ token: 'meta.type.annotation.ts', foreground: 'B08800' },
|
|
124
|
+
{ token: 'keyword.operator.type.ts', foreground: '0086B3' },
|
|
125
|
+
// Language-Specific: HTML
|
|
126
|
+
{ token: 'entity.name.tag.html', foreground: '24292E' },
|
|
127
|
+
{ token: 'tag.html', foreground: '24292E' },
|
|
128
|
+
{ token: 'entity.other.attribute-name.html', foreground: '24292E' },
|
|
129
|
+
{ token: 'attribute.name.html', foreground: '24292E' },
|
|
130
|
+
{ token: 'attribute.value.html', foreground: '22863A' },
|
|
131
|
+
{ token: 'delimiter.html', foreground: '24292E' },
|
|
132
|
+
{ token: 'comment.html', foreground: '6A737D', fontStyle: 'italic' },
|
|
133
|
+
{ token: 'meta.tag.html', foreground: '24292E' },
|
|
134
|
+
{ token: 'punctuation.definition.tag.html', foreground: '24292E' },
|
|
135
|
+
// Language-Specific: CSS
|
|
136
|
+
{ token: 'entity.name.tag.css', foreground: 'D73A49' },
|
|
137
|
+
{ token: 'entity.other.attribute-name.class.css', foreground: 'B08800' },
|
|
138
|
+
{ token: 'entity.other.attribute-name.id.css', foreground: '005CC5' },
|
|
139
|
+
{ token: 'support.type.property-name.css', foreground: '6F42C1' },
|
|
140
|
+
{ token: 'support.constant.property-value.css', foreground: 'D73A49' },
|
|
141
|
+
{ token: 'keyword.other.unit.css', foreground: 'D73A49' },
|
|
142
|
+
// Errors & Warnings
|
|
143
|
+
{ token: 'invalid', foreground: 'CB2431' },
|
|
144
|
+
{ token: 'invalid.illegal', foreground: 'CB2431' },
|
|
145
|
+
{ token: 'invalid.deprecated', foreground: 'D73A49' },
|
|
146
|
+
],
|
|
147
|
+
colors: {
|
|
148
|
+
// Editor Background - transparent, let box handle background
|
|
149
|
+
'editor.background': '#00000000', // Transparent
|
|
150
|
+
'editor.foreground': '#24292E',
|
|
151
|
+
// Editor Lines - transparent to inherit box background
|
|
152
|
+
'editor.lineHighlightBackground': '#00000000', // Transparent
|
|
153
|
+
'editorLineNumber.foreground': '#1B1F2380',
|
|
154
|
+
'editorLineNumber.activeForeground': '#6F42C1',
|
|
155
|
+
// Editor Cursor & Selection
|
|
156
|
+
'editorCursor.foreground': '#6F42C1', // Purple cursor for light theme
|
|
157
|
+
'editor.selectionBackground': '#0366D630', // Visible blue selection
|
|
158
|
+
'editor.inactiveSelectionBackground': '#0366D620',
|
|
159
|
+
'editor.selectionHighlightBackground': '#0366D615',
|
|
160
|
+
// Editor Gutter - transparent to inherit box background
|
|
161
|
+
'editorGutter.background': '#00000000', // Transparent
|
|
162
|
+
'editorGutter.modifiedBackground': '#005CC5',
|
|
163
|
+
'editorGutter.addedBackground': '#28A745',
|
|
164
|
+
'editorGutter.deletedBackground': '#D73A49',
|
|
165
|
+
// Editor Widgets
|
|
166
|
+
'editorWidget.background': '#F6F8FA',
|
|
167
|
+
'editorWidget.border': '#E1E4E8',
|
|
168
|
+
'editorSuggestWidget.background': '#F6F8FA',
|
|
169
|
+
'editorSuggestWidget.border': '#E1E4E8',
|
|
170
|
+
'editorSuggestWidget.selectedBackground': '#0366D625',
|
|
171
|
+
// Sticky Scroll - match box background with subtle border
|
|
172
|
+
'editorStickyScroll.background': '#ffffff',
|
|
173
|
+
'editorStickyScroll.border': '#E1E4E8',
|
|
174
|
+
'editorStickyScrollHover.background': '#ffffff',
|
|
175
|
+
'editorStickyScroll.shadow': '#00000000',
|
|
176
|
+
'editorStickyScrollGutter.background': '#ffffff',
|
|
177
|
+
// Hover Widgets - Tooltips and hover information
|
|
178
|
+
'editorHoverWidget.background': '#F6F8FA',
|
|
179
|
+
'editorHoverWidget.border': '#E1E4E8',
|
|
180
|
+
'editorHoverWidget.statusBarBackground': '#E1E4E8',
|
|
181
|
+
// Inline Hints - Type hints, parameter hints, inline suggestions
|
|
182
|
+
'editorInlineHint.background': '#F6F8FA',
|
|
183
|
+
'editorInlineHint.foreground': '#6A737D',
|
|
184
|
+
// Code Lens - Reference counts, test indicators
|
|
185
|
+
'editorCodeLens.foreground': '#6A737D',
|
|
186
|
+
// Ghost Text - Autocomplete suggestions shown inline
|
|
187
|
+
'editorGhostText.foreground': '#1B1F2350',
|
|
188
|
+
// Editor Whitespace & Indentation
|
|
189
|
+
'editorWhitespace.foreground': '#1B1F2340',
|
|
190
|
+
'editorIndentGuide.background': '#E1E4E820',
|
|
191
|
+
'editorIndentGuide.activeBackground': '#E1E4E8',
|
|
192
|
+
// Scrollbar
|
|
193
|
+
'scrollbar.shadow': '#00000000',
|
|
194
|
+
'scrollbarSlider.background': '#1B1F2330',
|
|
195
|
+
'scrollbarSlider.hoverBackground': '#1B1F2350',
|
|
196
|
+
'scrollbarSlider.activeBackground': '#1B1F2370',
|
|
197
|
+
// Bracket Matching
|
|
198
|
+
'editorBracketMatch.background': '#34D05840',
|
|
199
|
+
'editorBracketMatch.border': '#34D058',
|
|
200
|
+
// Find/Replace
|
|
201
|
+
'editor.findMatchBackground': '#FFDF5D40',
|
|
202
|
+
'editor.findMatchHighlightBackground': '#FFDF5D30',
|
|
203
|
+
'editor.findRangeHighlightBackground': '#0366D620',
|
|
204
|
+
// Minimap
|
|
205
|
+
'minimap.background': '#FAFBFC',
|
|
206
|
+
'minimap.selectionHighlight': '#0366D625',
|
|
207
|
+
'minimap.findMatchHighlight': '#FFDF5D40',
|
|
208
|
+
// Overview Ruler
|
|
209
|
+
'editorOverviewRuler.border': '#E1E4E820',
|
|
210
|
+
'editorOverviewRuler.modifiedForeground': '#005CC5',
|
|
211
|
+
'editorOverviewRuler.addedForeground': '#28A745',
|
|
212
|
+
'editorOverviewRuler.deletedForeground': '#D73A49',
|
|
213
|
+
// Peek View
|
|
214
|
+
'peekView.border': '#0366D6',
|
|
215
|
+
'peekViewEditor.background': '#F6F8FA',
|
|
216
|
+
'peekViewResult.background': '#FAFBFC',
|
|
217
|
+
'peekViewTitle.background': '#F6F8FA',
|
|
218
|
+
// Diff Editor
|
|
219
|
+
'diffEditor.insertedTextBackground': '#28A74520',
|
|
220
|
+
'diffEditor.removedTextBackground': '#D73A4920',
|
|
221
|
+
},
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Register the lighthouse theme with Monaco Editor
|
|
225
|
+
* Call this function before creating any editor instances
|
|
226
|
+
*/
|
|
227
|
+
export function registerLighthouseTheme(monaco) {
|
|
228
|
+
monaco.editor.defineTheme('elbTheme-light', lighthouseTheme);
|
|
229
|
+
}
|
|
230
|
+
//# sourceMappingURL=lighthouse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lighthouse.js","sourceRoot":"","sources":["../../src/themes/lighthouse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,MAAM,CAAC,MAAM,eAAe,GAAgC;IAC1D,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,IAAI;IACb,KAAK,EAAE;QACL,WAAW;QACX,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ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AA6B,EAAE,SAAS;QACxC,6BAA6B,EAAE,SAAS;QAExC,gDAAgD;QAChD,2BAA2B,EAAE,SAAS;QAEtC,qDAAqD;QACrD,4BAA4B,EAAE,WAAW;QAEzC,kCAAkC;QAClC,6BAA6B,EAAE,WAAW;QAC1C,8BAA8B,EAAE,WAAW;QAC3C,oCAAoC,EAAE,SAAS;QAE/C,YAAY;QACZ,kBAAkB,EAAE,WAAW;QAC/B,4BAA4B,EAAE,WAAW;QACzC,iCAAiC,EAAE,WAAW;QAC9C,kCAAkC,EAAE,WAAW;QAE/C,mBAAmB;QACnB,+BAA+B,EAAE,WAAW;QAC5C,2BAA2B,EAAE,SAAS;QAEtC,eAAe;QACf,4BAA4B,EAAE,WAAW;QACzC,qCAAqC,EAAE,WAAW;QAClD,qCAAqC,EAAE,WAAW;QAElD,UAAU;QACV,oBAAoB,EAAE,SAAS;QAC/B,4BAA4B,EAAE,WAAW;QACzC,4BAA4B,EAAE,WAAW;QAEzC,iBAAiB;QACjB,4BAA4B,EAAE,WAAW;QACzC,wCAAwC,EAAE,SAAS;QACnD,qCAAqC,EAAE,SAAS;QAChD,uCAAuC,EAAE,SAAS;QAElD,YAAY;QACZ,iBAAiB,EAAE,SAAS;QAC5B,2BAA2B,EAAE,SAAS;QACtC,2BAA2B,EAAE,SAAS;QACtC,0BAA0B,EAAE,SAAS;QAErC,cAAc;QACd,mCAAmC,EAAE,WAAW;QAChD,kCAAkC,EAAE,WAAW;KAChD;CACF,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CACrC,MAAsC;IAEtC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Palenight Theme for Monaco Editor
|
|
3
|
+
*
|
|
4
|
+
* Dark theme for walkerOS Explorer matching Prism's palenight theme.
|
|
5
|
+
* Aligned with website documentation syntax highlighting for consistency.
|
|
6
|
+
*
|
|
7
|
+
* Token Color Mappings (Matching Prism Palenight):
|
|
8
|
+
* - comment: #697098 - gray, italic
|
|
9
|
+
* - string/inserted: #c3e88d - green
|
|
10
|
+
* - number: #f78c6c - orange
|
|
11
|
+
* - builtin/char/constant/function: #82aaff - blue
|
|
12
|
+
* - punctuation/delimiter: #c792ea - purple
|
|
13
|
+
* - variable: #bfc7d5 - light gray
|
|
14
|
+
* - class-name: #ffcb6b - yellow/gold
|
|
15
|
+
* - attr-name: #c3e88d - green (matching string color)
|
|
16
|
+
* - tag/deleted: #ff5572 - red/pink
|
|
17
|
+
* - operator: #89ddff - cyan
|
|
18
|
+
* - boolean: #ff5874 - red
|
|
19
|
+
* - keyword: #c084fc - bright purple, italic
|
|
20
|
+
* - doctype: #c084fc - purple, italic
|
|
21
|
+
* - namespace: #b2ccd6 - blue-gray
|
|
22
|
+
* - url: #dddddd - white
|
|
23
|
+
*/
|
|
24
|
+
import type { editor } from 'monaco-editor';
|
|
25
|
+
export declare const palenightTheme: editor.IStandaloneThemeData;
|
|
26
|
+
/**
|
|
27
|
+
* Register the palenight theme with Monaco Editor
|
|
28
|
+
* Call this function before creating any editor instances
|
|
29
|
+
*/
|
|
30
|
+
export declare function registerPalenightTheme(monaco: typeof import('monaco-editor')): void;
|
|
31
|
+
//# sourceMappingURL=palenight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palenight.d.ts","sourceRoot":"","sources":["../../src/themes/palenight.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,oBAmPnC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,eAAe,CAAC,QAE5E"}
|