@classic-homes/theme-mcp 0.3.7 → 0.3.9
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.
|
@@ -6,7 +6,7 @@ import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
6
6
|
|
|
7
7
|
// src/data/component-catalog.json
|
|
8
8
|
var component_catalog_default = {
|
|
9
|
-
version: "0.3.
|
|
9
|
+
version: "0.3.9",
|
|
10
10
|
components: [
|
|
11
11
|
{
|
|
12
12
|
name: "ActionHeader",
|
|
@@ -4311,9 +4311,9 @@ var component_catalog_default = {
|
|
|
4311
4311
|
},
|
|
4312
4312
|
{
|
|
4313
4313
|
name: "options",
|
|
4314
|
-
type: "ComboboxOption[]",
|
|
4314
|
+
type: "(ComboboxOption | SelectGroup)[]",
|
|
4315
4315
|
required: true,
|
|
4316
|
-
description: "Array of options"
|
|
4316
|
+
description: "Array of options or grouped options"
|
|
4317
4317
|
},
|
|
4318
4318
|
{
|
|
4319
4319
|
name: "placeholder",
|
|
@@ -7861,6 +7861,26 @@ var component_catalog_default = {
|
|
|
7861
7861
|
default: "false",
|
|
7862
7862
|
required: false,
|
|
7863
7863
|
description: "Show a disclosure chevron after the trigger content, turned while the menu is open, so a text trigger (e.g. header navigation) reads as a menu rather than a link."
|
|
7864
|
+
},
|
|
7865
|
+
{
|
|
7866
|
+
name: "triggerDisabled",
|
|
7867
|
+
type: "boolean",
|
|
7868
|
+
default: "false",
|
|
7869
|
+
required: false,
|
|
7870
|
+
description: "Disable the trigger `<button>`: native `disabled`, and the menu cannot open by pointer or keyboard. Use this instead of nesting a disabled `<Button>` in `trigger`."
|
|
7871
|
+
},
|
|
7872
|
+
{
|
|
7873
|
+
name: "triggerStopPropagation",
|
|
7874
|
+
type: "boolean",
|
|
7875
|
+
default: "false",
|
|
7876
|
+
required: false,
|
|
7877
|
+
description: "Keep the trigger's pointer, mouse, click and opening-key (Enter, Space, ArrowDown) events from bubbling past the trigger, so a menu in a clickable row or card opens without activating the row."
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
name: "onTriggerClick",
|
|
7881
|
+
type: "(event: MouseEvent) => void",
|
|
7882
|
+
required: false,
|
|
7883
|
+
description: "Called on a click of the trigger, before the event bubbles to its ancestors."
|
|
7864
7884
|
}
|
|
7865
7885
|
],
|
|
7866
7886
|
variants: [
|
|
@@ -7904,10 +7924,8 @@ var component_catalog_default = {
|
|
|
7904
7924
|
];
|
|
7905
7925
|
</script>
|
|
7906
7926
|
|
|
7907
|
-
<DropdownMenu {items}>
|
|
7908
|
-
{#snippet trigger()}
|
|
7909
|
-
<Button variant="outline">Menu</Button>
|
|
7910
|
-
{/snippet}
|
|
7927
|
+
<DropdownMenu {items} triggerVariant="outline">
|
|
7928
|
+
{#snippet trigger()}Menu{/snippet}
|
|
7911
7929
|
</DropdownMenu>`
|
|
7912
7930
|
},
|
|
7913
7931
|
{
|
|
@@ -7971,17 +7989,15 @@ var component_catalog_default = {
|
|
|
7971
7989
|
];
|
|
7972
7990
|
</script>
|
|
7973
7991
|
|
|
7974
|
-
<DropdownMenu {items}>
|
|
7992
|
+
<DropdownMenu {items} triggerVariant="ghost" triggerSize="icon" triggerLabel="More actions">
|
|
7975
7993
|
{#snippet trigger()}
|
|
7976
|
-
<
|
|
7977
|
-
<MoreHorizontalIcon />
|
|
7978
|
-
</Button>
|
|
7994
|
+
<MoreHorizontalIcon />
|
|
7979
7995
|
{/snippet}
|
|
7980
7996
|
</DropdownMenu>`
|
|
7981
7997
|
},
|
|
7982
7998
|
{
|
|
7983
|
-
title: "
|
|
7984
|
-
code: '
|
|
7999
|
+
title: "Disabled Trigger",
|
|
8000
|
+
code: '<DropdownMenu {items} triggerVariant="outline" triggerDisabled={!canEdit}>\n {#snippet trigger()}Insert snippet{/snippet}\n</DropdownMenu>'
|
|
7985
8001
|
}
|
|
7986
8002
|
],
|
|
7987
8003
|
relatedComponents: [
|
|
@@ -11257,9 +11273,9 @@ var component_catalog_default = {
|
|
|
11257
11273
|
},
|
|
11258
11274
|
{
|
|
11259
11275
|
name: "trigger",
|
|
11260
|
-
type: "Snippet",
|
|
11276
|
+
type: "Snippet<[{ props }]>",
|
|
11261
11277
|
required: false,
|
|
11262
|
-
description: "Optional trigger
|
|
11278
|
+
description: "Optional trigger; spread `props` on your own button. Omit when controlling `open` yourself"
|
|
11263
11279
|
}
|
|
11264
11280
|
],
|
|
11265
11281
|
variants: [],
|
|
@@ -16212,6 +16228,13 @@ var component_catalog_default = {
|
|
|
16212
16228
|
type: "(value: string) => void",
|
|
16213
16229
|
required: false,
|
|
16214
16230
|
description: "Callback when value changes"
|
|
16231
|
+
},
|
|
16232
|
+
{
|
|
16233
|
+
name: "searchable",
|
|
16234
|
+
type: "boolean | number",
|
|
16235
|
+
default: "false",
|
|
16236
|
+
required: false,
|
|
16237
|
+
description: "Type to narrow: `true` always, a number once there are that many options"
|
|
16215
16238
|
}
|
|
16216
16239
|
],
|
|
16217
16240
|
variants: [],
|
|
@@ -20430,7 +20453,7 @@ function registerComponentResources(server) {
|
|
|
20430
20453
|
|
|
20431
20454
|
// src/data/token-definitions.json
|
|
20432
20455
|
var token_definitions_default = {
|
|
20433
|
-
version: "0.3.
|
|
20456
|
+
version: "0.3.9",
|
|
20434
20457
|
colors: {
|
|
20435
20458
|
brand: [
|
|
20436
20459
|
{
|
|
@@ -21413,7 +21436,7 @@ function registerTokenResources(server) {
|
|
|
21413
21436
|
|
|
21414
21437
|
// src/data/styles-catalog.json
|
|
21415
21438
|
var styles_catalog_default = {
|
|
21416
|
-
version: "0.3.
|
|
21439
|
+
version: "0.3.9",
|
|
21417
21440
|
package: "@classic-homes/theme-styles",
|
|
21418
21441
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
21419
21442
|
integration: {
|
|
@@ -21796,7 +21819,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
21796
21819
|
|
|
21797
21820
|
// src/data/pattern-library.json
|
|
21798
21821
|
var pattern_library_default = {
|
|
21799
|
-
version: "0.3.
|
|
21822
|
+
version: "0.3.9",
|
|
21800
21823
|
layouts: [
|
|
21801
21824
|
{
|
|
21802
21825
|
id: "dashboard-page",
|
|
@@ -22890,7 +22913,7 @@ function registerLayoutResources(server) {
|
|
|
22890
22913
|
|
|
22891
22914
|
// src/data/schema-catalog.json
|
|
22892
22915
|
var schema_catalog_default = {
|
|
22893
|
-
version: "0.3.
|
|
22916
|
+
version: "0.3.9",
|
|
22894
22917
|
packageName: "@classic-homes/theme-svelte",
|
|
22895
22918
|
importPath: "@classic-homes/theme-svelte",
|
|
22896
22919
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -23698,7 +23721,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
23698
23721
|
|
|
23699
23722
|
// src/data/auth-catalog.json
|
|
23700
23723
|
var auth_catalog_default = {
|
|
23701
|
-
version: "0.3.
|
|
23724
|
+
version: "0.3.9",
|
|
23702
23725
|
packageName: "@classic-homes/auth",
|
|
23703
23726
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
23704
23727
|
subpackages: {
|
|
@@ -26735,7 +26758,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
26735
26758
|
|
|
26736
26759
|
// src/data/notifications-catalog.json
|
|
26737
26760
|
var notifications_catalog_default = {
|
|
26738
|
-
version: "0.3.
|
|
26761
|
+
version: "0.3.9",
|
|
26739
26762
|
packageName: "@classic-homes/notifications",
|
|
26740
26763
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
26741
26764
|
subpackages: {
|
|
@@ -27647,7 +27670,7 @@ function registerNotificationsResources(server) {
|
|
|
27647
27670
|
|
|
27648
27671
|
// src/data/docs-catalog.json
|
|
27649
27672
|
var docs_catalog_default = {
|
|
27650
|
-
version: "0.3.
|
|
27673
|
+
version: "0.3.9",
|
|
27651
27674
|
packageName: "@classic-homes/theme-docs",
|
|
27652
27675
|
description: "Markdown documentation components for the Classic theme system",
|
|
27653
27676
|
exports: {
|
|
@@ -29319,7 +29342,7 @@ function registerDocsResources(server) {
|
|
|
29319
29342
|
|
|
29320
29343
|
// src/data/charts-catalog.json
|
|
29321
29344
|
var charts_catalog_default = {
|
|
29322
|
-
version: "0.3.
|
|
29345
|
+
version: "0.3.9",
|
|
29323
29346
|
packageName: "@classic-homes/charts-core",
|
|
29324
29347
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
29325
29348
|
subpackages: {
|
|
@@ -33451,7 +33474,7 @@ interface SankeyData {
|
|
|
33451
33474
|
|
|
33452
33475
|
// src/data/maps-catalog.json
|
|
33453
33476
|
var maps_catalog_default = {
|
|
33454
|
-
version: "0.3.
|
|
33477
|
+
version: "0.3.9",
|
|
33455
33478
|
packageName: "@classic-homes/maps-core",
|
|
33456
33479
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
33457
33480
|
subpackages: {
|
|
@@ -37052,9 +37075,9 @@ var maps_catalog_default = {
|
|
|
37052
37075
|
},
|
|
37053
37076
|
{
|
|
37054
37077
|
name: "error",
|
|
37055
|
-
type: "
|
|
37078
|
+
type: "MapErrorLike",
|
|
37056
37079
|
required: false,
|
|
37057
|
-
description: "Original error
|
|
37080
|
+
description: "Original error as MapLibre reported it: { message, name?, stack? }. MapLibre 6 narrowed it from Error to { message: string }; read message, treat name/stack as best-effort"
|
|
37058
37081
|
},
|
|
37059
37082
|
{
|
|
37060
37083
|
name: "fatal",
|
|
@@ -38237,7 +38260,8 @@ const layers: OverlayLayerDefinition[] = [
|
|
|
38237
38260
|
</Source>
|
|
38238
38261
|
<Marker coordinates={[-122.4, 37.8]} color="red" />
|
|
38239
38262
|
</Map>`,
|
|
38240
|
-
peerDependency: "maplibre-gl@^
|
|
38263
|
+
peerDependency: "maplibre-gl@^5.0.0 || ^6.11.0",
|
|
38264
|
+
workerSetup: "// MapLibre 6 only: set the worker URL once at app startup, before the first map\nimport { setWorkerUrl } from 'maplibre-gl';\nimport workerUrl from 'maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url'; // Vite\nsetWorkerUrl(workerUrl);\n\n// webpack: setWorkerUrl(new URL('maplibre-gl/dist/maplibre-gl-worker.mjs', import.meta.url).toString());\n// MapLibre 6 is ESM-only: CommonJS consumers of maps-react stay on MapLibre 5",
|
|
38241
38265
|
optionalPeerDependencies: "@deck.gl/core, @deck.gl/layers, @deck.gl/mapbox (for DeckOverlay)",
|
|
38242
38266
|
cssImportOrder: "/* In main CSS file - order matters */\n@import '@classic-homes/theme-styles';\n@import 'maplibre-gl/dist/maplibre-gl.css';\n@import '@classic-homes/maps-core/styles/controls.css';\n@import '@classic-homes/maps-core/styles/popup.css';\n@import '@classic-homes/maps-core/styles/basemap-switcher.css';\n@import '@classic-homes/maps-core/styles/layer-manager.css';\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;",
|
|
38243
38267
|
tailwindConfig: "module.exports = {\n presets: [require('@classic-homes/theme-tailwind-preset')],\n content: [\n './src/**/*.{js,ts,jsx,tsx}',\n './node_modules/@classic-homes/maps-react/dist/**/*.{js,mjs}',\n ],\n};"
|
|
@@ -39076,7 +39100,7 @@ ${catalog5.quickReference.tailwindConfig}
|
|
|
39076
39100
|
|
|
39077
39101
|
// src/data/native-catalog.json
|
|
39078
39102
|
var native_catalog_default = {
|
|
39079
|
-
version: "0.3.
|
|
39103
|
+
version: "0.3.9",
|
|
39080
39104
|
packageName: "@classic-homes/native",
|
|
39081
39105
|
description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
|
|
39082
39106
|
subpackages: {
|
|
@@ -41466,7 +41490,7 @@ function registerPrompts(server) {
|
|
|
41466
41490
|
// package.json
|
|
41467
41491
|
var package_default = {
|
|
41468
41492
|
name: "@classic-homes/theme-mcp",
|
|
41469
|
-
version: "0.3.
|
|
41493
|
+
version: "0.3.9",
|
|
41470
41494
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
41471
41495
|
type: "module",
|
|
41472
41496
|
main: "dist/index.js",
|
|
@@ -41565,4 +41589,4 @@ function createServer() {
|
|
|
41565
41589
|
export {
|
|
41566
41590
|
createServer
|
|
41567
41591
|
};
|
|
41568
|
-
//# sourceMappingURL=chunk-
|
|
41592
|
+
//# sourceMappingURL=chunk-FC3PEWJG.js.map
|