@classic-homes/theme-mcp 0.6.0 → 0.6.1
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/{chunk-MUYBUITV.js → chunk-6VVXAK6F.js} +351 -18
- package/dist/chunk-6VVXAK6F.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-MUYBUITV.js.map +0 -1
|
@@ -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.6.
|
|
9
|
+
version: "0.6.1",
|
|
10
10
|
components: [
|
|
11
11
|
{
|
|
12
12
|
name: "AccessInspector",
|
|
@@ -11717,6 +11717,13 @@ var component_catalog_default = {
|
|
|
11717
11717
|
required: false,
|
|
11718
11718
|
description: "Custom content"
|
|
11719
11719
|
},
|
|
11720
|
+
{
|
|
11721
|
+
name: "safeArea",
|
|
11722
|
+
type: "boolean",
|
|
11723
|
+
default: "false",
|
|
11724
|
+
required: false,
|
|
11725
|
+
description: "Pad the left, right and bottom insets of an edge-to-edge page ([Safe areas](/docs/utilities/safe-area)); `PublicLayout` sets it"
|
|
11726
|
+
},
|
|
11720
11727
|
{
|
|
11721
11728
|
name: "class",
|
|
11722
11729
|
type: "string",
|
|
@@ -13176,6 +13183,13 @@ var component_catalog_default = {
|
|
|
13176
13183
|
required: false,
|
|
13177
13184
|
description: "Search configuration"
|
|
13178
13185
|
},
|
|
13186
|
+
{
|
|
13187
|
+
name: "safeArea",
|
|
13188
|
+
type: "'none' | 'all' | 'except-left'",
|
|
13189
|
+
default: "'none'",
|
|
13190
|
+
required: false,
|
|
13191
|
+
description: "Safe-area insets to pad"
|
|
13192
|
+
},
|
|
13179
13193
|
{
|
|
13180
13194
|
name: "class",
|
|
13181
13195
|
type: "string",
|
|
@@ -13192,6 +13206,15 @@ var component_catalog_default = {
|
|
|
13192
13206
|
"lg"
|
|
13193
13207
|
],
|
|
13194
13208
|
default: "lg"
|
|
13209
|
+
},
|
|
13210
|
+
{
|
|
13211
|
+
name: "safeArea",
|
|
13212
|
+
values: [
|
|
13213
|
+
"none",
|
|
13214
|
+
"all",
|
|
13215
|
+
"except-left"
|
|
13216
|
+
],
|
|
13217
|
+
default: "none"
|
|
13195
13218
|
}
|
|
13196
13219
|
],
|
|
13197
13220
|
slots: [
|
|
@@ -24910,7 +24933,7 @@ var component_catalog_default = {
|
|
|
24910
24933
|
|
|
24911
24934
|
// src/data/react-catalog.json
|
|
24912
24935
|
var react_catalog_default = {
|
|
24913
|
-
version: "0.6.
|
|
24936
|
+
version: "0.6.1",
|
|
24914
24937
|
components: [
|
|
24915
24938
|
{
|
|
24916
24939
|
name: "Alert",
|
|
@@ -30284,7 +30307,7 @@ function registerComponentResources(server) {
|
|
|
30284
30307
|
|
|
30285
30308
|
// src/data/token-definitions.json
|
|
30286
30309
|
var token_definitions_default = {
|
|
30287
|
-
version: "0.6.
|
|
30310
|
+
version: "0.6.1",
|
|
30288
30311
|
colors: {
|
|
30289
30312
|
brand: [
|
|
30290
30313
|
{
|
|
@@ -31267,7 +31290,7 @@ function registerTokenResources(server) {
|
|
|
31267
31290
|
|
|
31268
31291
|
// src/data/styles-catalog.json
|
|
31269
31292
|
var styles_catalog_default = {
|
|
31270
|
-
version: "0.6.
|
|
31293
|
+
version: "0.6.1",
|
|
31271
31294
|
package: "@classic-homes/theme-styles",
|
|
31272
31295
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
31273
31296
|
integration: {
|
|
@@ -31579,7 +31602,7 @@ var styles_catalog_default = {
|
|
|
31579
31602
|
|
|
31580
31603
|
// src/data/components-css-catalog.json
|
|
31581
31604
|
var components_css_catalog_default = {
|
|
31582
|
-
version: "0.6.
|
|
31605
|
+
version: "0.6.1",
|
|
31583
31606
|
stylesheet: "@classic-homes/theme-styles/components.css",
|
|
31584
31607
|
requires: [
|
|
31585
31608
|
"@classic-homes/theme-tokens/css"
|
|
@@ -33623,7 +33646,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
33623
33646
|
|
|
33624
33647
|
// src/data/pattern-library.json
|
|
33625
33648
|
var pattern_library_default = {
|
|
33626
|
-
version: "0.6.
|
|
33649
|
+
version: "0.6.1",
|
|
33627
33650
|
layouts: [
|
|
33628
33651
|
{
|
|
33629
33652
|
id: "dashboard-page",
|
|
@@ -34717,7 +34740,7 @@ function registerLayoutResources(server) {
|
|
|
34717
34740
|
|
|
34718
34741
|
// src/data/schema-catalog.json
|
|
34719
34742
|
var schema_catalog_default = {
|
|
34720
|
-
version: "0.6.
|
|
34743
|
+
version: "0.6.1",
|
|
34721
34744
|
packageName: "@classic-homes/theme-svelte",
|
|
34722
34745
|
importPath: "@classic-homes/theme-svelte",
|
|
34723
34746
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -35525,7 +35548,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
35525
35548
|
|
|
35526
35549
|
// src/data/auth-catalog.json
|
|
35527
35550
|
var auth_catalog_default = {
|
|
35528
|
-
version: "0.6.
|
|
35551
|
+
version: "0.6.1",
|
|
35529
35552
|
packageName: "@classic-homes/auth",
|
|
35530
35553
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
35531
35554
|
subpackages: {
|
|
@@ -38832,7 +38855,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
38832
38855
|
|
|
38833
38856
|
// src/data/notifications-catalog.json
|
|
38834
38857
|
var notifications_catalog_default = {
|
|
38835
|
-
version: "0.6.
|
|
38858
|
+
version: "0.6.1",
|
|
38836
38859
|
packageName: "@classic-homes/notifications",
|
|
38837
38860
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
38838
38861
|
subpackages: {
|
|
@@ -39744,7 +39767,7 @@ function registerNotificationsResources(server) {
|
|
|
39744
39767
|
|
|
39745
39768
|
// src/data/docs-catalog.json
|
|
39746
39769
|
var docs_catalog_default = {
|
|
39747
|
-
version: "0.6.
|
|
39770
|
+
version: "0.6.1",
|
|
39748
39771
|
packageName: "@classic-homes/theme-docs",
|
|
39749
39772
|
description: "Markdown documentation components for the Classic theme system",
|
|
39750
39773
|
exports: {
|
|
@@ -41249,7 +41272,7 @@ var docs_catalog_default = {
|
|
|
41249
41272
|
clsx: "^2.1.0",
|
|
41250
41273
|
dompurify: "3.4.16",
|
|
41251
41274
|
"js-yaml": "^4.3.2",
|
|
41252
|
-
marked: "^17.0.0",
|
|
41275
|
+
marked: "^17.0.0 || ^18.0.0",
|
|
41253
41276
|
minisearch: "7.2.0",
|
|
41254
41277
|
"prosemirror-commands": "1.7.2",
|
|
41255
41278
|
"prosemirror-history": "1.5.1",
|
|
@@ -41422,7 +41445,7 @@ function registerDocsResources(server) {
|
|
|
41422
41445
|
|
|
41423
41446
|
// src/data/charts-catalog.json
|
|
41424
41447
|
var charts_catalog_default = {
|
|
41425
|
-
version: "0.6.
|
|
41448
|
+
version: "0.6.1",
|
|
41426
41449
|
packageName: "@classic-homes/charts-core",
|
|
41427
41450
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
41428
41451
|
subpackages: {
|
|
@@ -45660,7 +45683,7 @@ interface SankeyData {
|
|
|
45660
45683
|
|
|
45661
45684
|
// src/data/gantt-catalog.json
|
|
45662
45685
|
var gantt_catalog_default = {
|
|
45663
|
-
version: "0.6.
|
|
45686
|
+
version: "0.6.1",
|
|
45664
45687
|
packageName: "@classic-homes/gantt-core",
|
|
45665
45688
|
description: "Framework-agnostic Gantt engine: working calendars, a critical-path scheduler, an editable project model with undo/redo, timeline geometry, drag math, accessible descriptions and import/export. No DOM, no framework, no runtime dependencies. @classic-homes/gantt-svelte renders it; a React package (@classic-homes/gantt-react) is planned.",
|
|
45666
45689
|
packages: {
|
|
@@ -46643,7 +46666,7 @@ function registerGanttResources(server) {
|
|
|
46643
46666
|
|
|
46644
46667
|
// src/data/maps-catalog.json
|
|
46645
46668
|
var maps_catalog_default = {
|
|
46646
|
-
version: "0.6.
|
|
46669
|
+
version: "0.6.1",
|
|
46647
46670
|
packageName: "@classic-homes/maps-core",
|
|
46648
46671
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
46649
46672
|
subpackages: {
|
|
@@ -52275,7 +52298,7 @@ ${catalog6.quickReference.tailwindConfig}
|
|
|
52275
52298
|
|
|
52276
52299
|
// src/data/native-catalog.json
|
|
52277
52300
|
var native_catalog_default = {
|
|
52278
|
-
version: "0.6.
|
|
52301
|
+
version: "0.6.1",
|
|
52279
52302
|
packageName: "@classic-homes/native",
|
|
52280
52303
|
description: "Native device APIs for iOS and Android apps (Capacitor) and Windows, macOS and Linux desktop apps (Tauri v2), with web fallbacks.",
|
|
52281
52304
|
subpackages: {
|
|
@@ -52360,6 +52383,30 @@ var native_catalog_default = {
|
|
|
52360
52383
|
signature: "detectAvailableFeatures(): Promise<{ available: NativeFeature[]; unavailable: NativeFeature[] }>",
|
|
52361
52384
|
description: "Detect which native features are available on the current platform."
|
|
52362
52385
|
},
|
|
52386
|
+
{
|
|
52387
|
+
name: "getFoldableAdapter",
|
|
52388
|
+
signature: "getFoldableAdapter(): Promise<FoldableAdapter>",
|
|
52389
|
+
description: "Reserved regions adapter: getState() reads the fold and cameras now, addListener() follows changes. Backed by the iOS shell's own ReservedRegions Capacitor plugin (copy examples/svelte-app/ios/App/App/ReservedRegions.swift and register it with bridge.registerPluginInstance). Elsewhere nothing is reserved.",
|
|
52390
|
+
example: "const state = await (await getFoldableAdapter()).getState();"
|
|
52391
|
+
},
|
|
52392
|
+
{
|
|
52393
|
+
name: "getViewportSegments",
|
|
52394
|
+
signature: "getViewportSegments(state: ReservedRegionsState): RegionRect[]",
|
|
52395
|
+
description: "The viewport parts either side of the active fold (left/right or top/bottom), or the whole viewport. Also getActiveFold(state) and normalizeReservedRegionsState(raw).",
|
|
52396
|
+
example: "const [list, detail] = getViewportSegments(state);"
|
|
52397
|
+
},
|
|
52398
|
+
{
|
|
52399
|
+
name: "getVerticalBarAdapter",
|
|
52400
|
+
signature: "getVerticalBarAdapter(): Promise<VerticalBarAdapter>",
|
|
52401
|
+
description: "Vertical bar adapter: setItems(items, { title }) shows the page's bar buttons as native UIBarButtonItems, which iPhone Duo lays out in its vertical bar (a column on one side, below the camera), with title as the page title in the row the system keeps at the top; getState() reads { supported, edge, side, shown }; addListener() follows changes; addItemTapListener() gets tapped item ids. Backed by the iOS shell's own VerticalBar Capacitor plugin (copy examples/svelte-app/ios/App/App/VerticalBar.swift and register it with bridge.registerPluginInstance). Elsewhere nothing is shown.",
|
|
52402
|
+
example: "const bar = await getVerticalBarAdapter();\nawait bar.setItems([{ id: 'share', title: 'Share', symbol: 'square.and.arrow.up' }]);"
|
|
52403
|
+
},
|
|
52404
|
+
{
|
|
52405
|
+
name: "validateVerticalBarItems",
|
|
52406
|
+
signature: "validateVerticalBarItems(items: readonly VerticalBarItem[]): void",
|
|
52407
|
+
description: "Throws a clear Error for an empty id, title or symbol, an unknown group or a duplicate id (setItems calls it first). Also normalizeVerticalBarState(raw), noVerticalBar(), sameVerticalBarState(a, b) and the VERTICAL_BAR_EVENT / VERTICAL_BAR_ITEM_EVENT / VERTICAL_BAR_ATTRIBUTE constants.",
|
|
52408
|
+
example: "validateVerticalBarItems([{ id: 'done', title: 'Done', symbol: 'checkmark', group: 'primary' }]);"
|
|
52409
|
+
},
|
|
52363
52410
|
{
|
|
52364
52411
|
name: "syncWindowAppearance",
|
|
52365
52412
|
signature: "syncWindowAppearance(options?: { appearance?: () => 'light' | 'dark' | 'system' }): { ready, refresh, destroy }",
|
|
@@ -52844,6 +52891,100 @@ var native_catalog_default = {
|
|
|
52844
52891
|
],
|
|
52845
52892
|
example: "const { isConnected, connectionType } = useNetwork();"
|
|
52846
52893
|
},
|
|
52894
|
+
{
|
|
52895
|
+
name: "useFoldable",
|
|
52896
|
+
signature: "useFoldable(options?: UseFoldableOptions): UseFoldableReturn",
|
|
52897
|
+
description: "Hook for the reserved regions of a foldable iPhone (iPhone Duo fold and cameras), updated live as the hinge moves.",
|
|
52898
|
+
returns: [
|
|
52899
|
+
{
|
|
52900
|
+
name: "state",
|
|
52901
|
+
type: "ReservedRegionsState | null",
|
|
52902
|
+
required: true,
|
|
52903
|
+
description: "Every region (active and inactive) and the viewport they are relative to"
|
|
52904
|
+
},
|
|
52905
|
+
{
|
|
52906
|
+
name: "isSupported",
|
|
52907
|
+
type: "boolean",
|
|
52908
|
+
required: true,
|
|
52909
|
+
description: "Whether the shell reports reserved regions (iOS 27.1+ with the ReservedRegions plugin)"
|
|
52910
|
+
},
|
|
52911
|
+
{
|
|
52912
|
+
name: "fold",
|
|
52913
|
+
type: "FoldInfo | null",
|
|
52914
|
+
required: true,
|
|
52915
|
+
description: "The active fold with its orientation ('vertical' = panes side by side), or null"
|
|
52916
|
+
},
|
|
52917
|
+
{
|
|
52918
|
+
name: "segments",
|
|
52919
|
+
type: "RegionRect[]",
|
|
52920
|
+
required: true,
|
|
52921
|
+
description: "Viewport parts either side of the fold, in reading order; one when no fold is active"
|
|
52922
|
+
},
|
|
52923
|
+
{
|
|
52924
|
+
name: "occlusions",
|
|
52925
|
+
type: "ReservedRegion[]",
|
|
52926
|
+
required: true,
|
|
52927
|
+
description: "Active occlusions (cameras)"
|
|
52928
|
+
},
|
|
52929
|
+
{
|
|
52930
|
+
name: "refresh",
|
|
52931
|
+
type: "() => Promise<ReservedRegionsState>",
|
|
52932
|
+
required: true,
|
|
52933
|
+
description: "Read the regions again"
|
|
52934
|
+
}
|
|
52935
|
+
],
|
|
52936
|
+
example: "const { fold, segments } = useFoldable();\n// fold?.orientation === 'vertical' \u2192 one pane per segment"
|
|
52937
|
+
},
|
|
52938
|
+
{
|
|
52939
|
+
name: "useVerticalBar",
|
|
52940
|
+
signature: "useVerticalBar(options?: UseVerticalBarOptions): UseVerticalBarReturn",
|
|
52941
|
+
description: "Hook that shows the page's bar buttons as native bar items in the iPhone Duo vertical bar while the system uses one. Options: items (sent when their JSON changes, cleared on unmount), onItemTap(id), listen.",
|
|
52942
|
+
returns: [
|
|
52943
|
+
{
|
|
52944
|
+
name: "state",
|
|
52945
|
+
type: "VerticalBarState | null",
|
|
52946
|
+
required: true,
|
|
52947
|
+
description: "{ supported, edge, side, shown } as the shell reports it"
|
|
52948
|
+
},
|
|
52949
|
+
{
|
|
52950
|
+
name: "shown",
|
|
52951
|
+
type: "boolean",
|
|
52952
|
+
required: true,
|
|
52953
|
+
description: "Whether the native items are on screen now; hide the page's own buttons while true"
|
|
52954
|
+
},
|
|
52955
|
+
{
|
|
52956
|
+
name: "edge",
|
|
52957
|
+
type: "'leading' | 'trailing' | 'none'",
|
|
52958
|
+
required: true,
|
|
52959
|
+
description: "Layout edge holding the bar"
|
|
52960
|
+
},
|
|
52961
|
+
{
|
|
52962
|
+
name: "side",
|
|
52963
|
+
type: "'left' | 'right' | 'none'",
|
|
52964
|
+
required: true,
|
|
52965
|
+
description: "Physical side of the display holding the bar"
|
|
52966
|
+
},
|
|
52967
|
+
{
|
|
52968
|
+
name: "isSupported",
|
|
52969
|
+
type: "boolean",
|
|
52970
|
+
required: true,
|
|
52971
|
+
description: "Whether the shell can show a vertical bar (iOS 27.1+ with the VerticalBar plugin)"
|
|
52972
|
+
},
|
|
52973
|
+
{
|
|
52974
|
+
name: "setItems",
|
|
52975
|
+
type: "(items: VerticalBarItem[], options?: { title?: string }) => Promise<VerticalBarState>",
|
|
52976
|
+
required: true,
|
|
52977
|
+
description: "Replace the items, and the page title the system shows at the top while they are in the bar; [] clears them"
|
|
52978
|
+
},
|
|
52979
|
+
{
|
|
52980
|
+
name: "refresh",
|
|
52981
|
+
type: "() => Promise<VerticalBarState>",
|
|
52982
|
+
required: true,
|
|
52983
|
+
description: "Read the state again"
|
|
52984
|
+
}
|
|
52985
|
+
],
|
|
52986
|
+
example: "const { shown } = useVerticalBar({\n items: [{ id: 'share', title: 'Share', symbol: 'square.and.arrow.up' }],\n onItemTap: (id) => id === 'share' && share(),\n});"
|
|
52987
|
+
},
|
|
52847
52988
|
{
|
|
52848
52989
|
name: "useAppLifecycle",
|
|
52849
52990
|
signature: "useAppLifecycle(options?: UseAppLifecycleOptions): UseAppLifecycleReturn",
|
|
@@ -53076,6 +53217,18 @@ var native_catalog_default = {
|
|
|
53076
53217
|
description: "Composable for network connectivity status.",
|
|
53077
53218
|
example: "const network = useNetwork();\n// Access: network.isConnected, network.connectionType"
|
|
53078
53219
|
},
|
|
53220
|
+
{
|
|
53221
|
+
name: "useFoldable",
|
|
53222
|
+
signature: "useFoldable(options?: UseFoldableOptions): UseFoldableReturn",
|
|
53223
|
+
description: "Composable for the reserved regions of a foldable iPhone (iPhone Duo fold and cameras), updated live as the hinge moves.",
|
|
53224
|
+
example: "const foldable = useFoldable();\n// Access: $foldable.fold, $foldable.segments, $foldable.occlusions"
|
|
53225
|
+
},
|
|
53226
|
+
{
|
|
53227
|
+
name: "useVerticalBar",
|
|
53228
|
+
signature: "useVerticalBar(options?: UseVerticalBarOptions): UseVerticalBarReturn",
|
|
53229
|
+
description: "Composable that shows the page's bar buttons as native bar items in the iPhone Duo vertical bar while the system uses one; options.items are set on start and cleared on destroy.",
|
|
53230
|
+
example: "const bar = useVerticalBar({ items, onItemTap: (id) => handle(id) });\n// Access: $bar.shown, $bar.edge, $bar.side; bar.setItems([...])"
|
|
53231
|
+
},
|
|
53079
53232
|
{
|
|
53080
53233
|
name: "useAppLifecycle",
|
|
53081
53234
|
signature: "useAppLifecycle(options?: UseAppLifecycleOptions): UseAppLifecycleReturn",
|
|
@@ -53242,6 +53395,26 @@ var native_catalog_default = {
|
|
|
53242
53395
|
capacitorPlugin: "@capacitor/app",
|
|
53243
53396
|
desktop: "Window focus/minimize, deep links, exit",
|
|
53244
53397
|
tauriPlugin: "@tauri-apps/api/window, @tauri-apps/plugin-deep-link, @tauri-apps/plugin-process"
|
|
53398
|
+
},
|
|
53399
|
+
{
|
|
53400
|
+
name: "Foldable (reserved regions)",
|
|
53401
|
+
hook: "useFoldable",
|
|
53402
|
+
description: "iPhone Duo fold and camera regions, live as the hinge moves; CSS vars --fold-left/-top/-width/-height, --fold-active, <html data-fold> and a classic-theme:reserved-regions event",
|
|
53403
|
+
ios: "UIView.reservedRegions(kind:options:) via the app's ReservedRegions plugin (iOS 27.1+)",
|
|
53404
|
+
android: "None (nothing reserved)",
|
|
53405
|
+
webFallback: "None (nothing reserved; WebKit exposes no viewport segments)",
|
|
53406
|
+
capacitorPlugin: "App-local ReservedRegions plugin (ios/App/App/ReservedRegions.swift)",
|
|
53407
|
+
desktop: "None"
|
|
53408
|
+
},
|
|
53409
|
+
{
|
|
53410
|
+
name: "Vertical Bar (iPhone Duo)",
|
|
53411
|
+
hook: "useVerticalBar",
|
|
53412
|
+
description: "The page's bar buttons as native bar items, which iPhone Duo lays out in its vertical bar (closed, or open in landscape); <html data-vertical-bar> while shown, classic-theme:vertical-bar and classic-theme:vertical-bar-item events",
|
|
53413
|
+
ios: "UIBarButtonItems on the navigation bar while traitCollection.verticalBarEdge is leading/trailing, via the app's VerticalBar plugin (iOS 27.1+)",
|
|
53414
|
+
android: "None (no vertical bar)",
|
|
53415
|
+
webFallback: "None (the page's own header is the bar)",
|
|
53416
|
+
capacitorPlugin: "App-local VerticalBar plugin (ios/App/App/VerticalBar.swift)",
|
|
53417
|
+
desktop: "None"
|
|
53245
53418
|
}
|
|
53246
53419
|
],
|
|
53247
53420
|
types: {
|
|
@@ -53910,6 +54083,166 @@ var native_catalog_default = {
|
|
|
53910
54083
|
properties: []
|
|
53911
54084
|
}
|
|
53912
54085
|
]
|
|
54086
|
+
},
|
|
54087
|
+
foldable: {
|
|
54088
|
+
description: "Reserved regions of a foldable device (CSS px of the layout viewport)",
|
|
54089
|
+
types: [
|
|
54090
|
+
{
|
|
54091
|
+
name: "ReservedRegionsState",
|
|
54092
|
+
description: "What the shell reports",
|
|
54093
|
+
properties: [
|
|
54094
|
+
{
|
|
54095
|
+
name: "supported",
|
|
54096
|
+
type: "boolean",
|
|
54097
|
+
required: true,
|
|
54098
|
+
description: "Whether the shell reports reserved regions"
|
|
54099
|
+
},
|
|
54100
|
+
{
|
|
54101
|
+
name: "viewport",
|
|
54102
|
+
type: "{ width: number; height: number }",
|
|
54103
|
+
required: true,
|
|
54104
|
+
description: "Layout viewport the coordinates are relative to"
|
|
54105
|
+
},
|
|
54106
|
+
{
|
|
54107
|
+
name: "regions",
|
|
54108
|
+
type: "ReservedRegion[]",
|
|
54109
|
+
required: true,
|
|
54110
|
+
description: "Every region, active and inactive"
|
|
54111
|
+
}
|
|
54112
|
+
]
|
|
54113
|
+
},
|
|
54114
|
+
{
|
|
54115
|
+
name: "ReservedRegion",
|
|
54116
|
+
description: "One reserved region",
|
|
54117
|
+
properties: [
|
|
54118
|
+
{
|
|
54119
|
+
name: "id",
|
|
54120
|
+
type: "string",
|
|
54121
|
+
required: true,
|
|
54122
|
+
description: "Unique while the app runs"
|
|
54123
|
+
},
|
|
54124
|
+
{
|
|
54125
|
+
name: "kind",
|
|
54126
|
+
type: "'division' | 'occlusion'",
|
|
54127
|
+
required: true,
|
|
54128
|
+
description: "division = the fold, occlusion = a camera"
|
|
54129
|
+
},
|
|
54130
|
+
{
|
|
54131
|
+
name: "x / y / width / height",
|
|
54132
|
+
type: "number",
|
|
54133
|
+
required: true,
|
|
54134
|
+
description: "Rectangle including the margins; may lie partly outside the viewport"
|
|
54135
|
+
},
|
|
54136
|
+
{
|
|
54137
|
+
name: "margins",
|
|
54138
|
+
type: "{ top; right; bottom; left }",
|
|
54139
|
+
required: true,
|
|
54140
|
+
description: "Part of the rectangle around the hardware that interactive content should also avoid"
|
|
54141
|
+
},
|
|
54142
|
+
{
|
|
54143
|
+
name: "active",
|
|
54144
|
+
type: "boolean",
|
|
54145
|
+
required: true,
|
|
54146
|
+
description: "The fold is active only while the device is partly open"
|
|
54147
|
+
}
|
|
54148
|
+
]
|
|
54149
|
+
},
|
|
54150
|
+
{
|
|
54151
|
+
name: "FoldInfo",
|
|
54152
|
+
description: "The active fold",
|
|
54153
|
+
properties: [
|
|
54154
|
+
{
|
|
54155
|
+
name: "orientation",
|
|
54156
|
+
type: "'vertical' | 'horizontal'",
|
|
54157
|
+
required: true,
|
|
54158
|
+
description: "Direction the fold line runs; vertical = panes side by side"
|
|
54159
|
+
},
|
|
54160
|
+
{
|
|
54161
|
+
name: "region",
|
|
54162
|
+
type: "ReservedRegion",
|
|
54163
|
+
required: true,
|
|
54164
|
+
description: "The underlying region"
|
|
54165
|
+
}
|
|
54166
|
+
]
|
|
54167
|
+
}
|
|
54168
|
+
]
|
|
54169
|
+
},
|
|
54170
|
+
verticalBar: {
|
|
54171
|
+
description: "The iPhone Duo vertical bar and the items a page declares for it",
|
|
54172
|
+
types: [
|
|
54173
|
+
{
|
|
54174
|
+
name: "VerticalBarState",
|
|
54175
|
+
description: "What the shell reports",
|
|
54176
|
+
properties: [
|
|
54177
|
+
{
|
|
54178
|
+
name: "supported",
|
|
54179
|
+
type: "boolean",
|
|
54180
|
+
required: true,
|
|
54181
|
+
description: "Whether the shell can show a vertical bar"
|
|
54182
|
+
},
|
|
54183
|
+
{
|
|
54184
|
+
name: "edge",
|
|
54185
|
+
type: "'leading' | 'trailing' | 'none'",
|
|
54186
|
+
required: true,
|
|
54187
|
+
description: "Layout edge holding the bar now"
|
|
54188
|
+
},
|
|
54189
|
+
{
|
|
54190
|
+
name: "side",
|
|
54191
|
+
type: "'left' | 'right' | 'none'",
|
|
54192
|
+
required: true,
|
|
54193
|
+
description: "Physical side holding the bar now (edge resolved for RTL)"
|
|
54194
|
+
},
|
|
54195
|
+
{
|
|
54196
|
+
name: "shown",
|
|
54197
|
+
type: "boolean",
|
|
54198
|
+
required: true,
|
|
54199
|
+
description: "The native items are on screen (a vertical bar and at least one item)"
|
|
54200
|
+
}
|
|
54201
|
+
]
|
|
54202
|
+
},
|
|
54203
|
+
{
|
|
54204
|
+
name: "VerticalBarItem",
|
|
54205
|
+
description: "One bar button",
|
|
54206
|
+
properties: [
|
|
54207
|
+
{
|
|
54208
|
+
name: "id",
|
|
54209
|
+
type: "string",
|
|
54210
|
+
required: true,
|
|
54211
|
+
description: "Identifies the item in tap events; unique per setItems call"
|
|
54212
|
+
},
|
|
54213
|
+
{
|
|
54214
|
+
name: "title",
|
|
54215
|
+
type: "string",
|
|
54216
|
+
required: true,
|
|
54217
|
+
description: "Accessibility label and overflow menu text"
|
|
54218
|
+
},
|
|
54219
|
+
{
|
|
54220
|
+
name: "symbol",
|
|
54221
|
+
type: "string",
|
|
54222
|
+
required: true,
|
|
54223
|
+
description: "SF Symbol name"
|
|
54224
|
+
},
|
|
54225
|
+
{
|
|
54226
|
+
name: "group",
|
|
54227
|
+
type: "'navigation' | 'primary' | 'secondary'",
|
|
54228
|
+
required: false,
|
|
54229
|
+
description: "Top to bottom: navigation, a pinned prominent action, everything else (default secondary, overflows first)"
|
|
54230
|
+
},
|
|
54231
|
+
{
|
|
54232
|
+
name: "priority",
|
|
54233
|
+
type: "'high' | 'standard' | 'low'",
|
|
54234
|
+
required: false,
|
|
54235
|
+
description: "Which items stay visible longest"
|
|
54236
|
+
},
|
|
54237
|
+
{
|
|
54238
|
+
name: "enabled",
|
|
54239
|
+
type: "boolean",
|
|
54240
|
+
required: false,
|
|
54241
|
+
description: "Whether the item can be tapped (default true)"
|
|
54242
|
+
}
|
|
54243
|
+
]
|
|
54244
|
+
}
|
|
54245
|
+
]
|
|
53913
54246
|
}
|
|
53914
54247
|
},
|
|
53915
54248
|
quickReference: {
|
|
@@ -54138,7 +54471,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
|
|
|
54138
54471
|
|
|
54139
54472
|
// src/data/viewer-catalog.json
|
|
54140
54473
|
var viewer_catalog_default = {
|
|
54141
|
-
version: "0.6.
|
|
54474
|
+
version: "0.6.1",
|
|
54142
54475
|
packageName: "@classic-homes/viewer-svelte",
|
|
54143
54476
|
description: "Client-side, view-only document viewers: PDF, Word (.docx), Excel (.xlsx and legacy .xls), OpenDocument (.ods), CSV/TSV and CAD (DXF; DWG through the separate GPL package). Files are parsed and rendered in the browser; nothing is uploaded or converted on a server. Each format is a lazy-loaded subpath with an optional peer dependency, so apps only bundle what they register. Svelte 5 only; a React package (viewer-react) is planned.",
|
|
54144
54477
|
packages: {
|
|
@@ -55291,7 +55624,7 @@ function registerPrompts(server) {
|
|
|
55291
55624
|
// package.json
|
|
55292
55625
|
var package_default = {
|
|
55293
55626
|
name: "@classic-homes/theme-mcp",
|
|
55294
|
-
version: "0.6.
|
|
55627
|
+
version: "0.6.1",
|
|
55295
55628
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
55296
55629
|
type: "module",
|
|
55297
55630
|
main: "dist/index.js",
|
|
@@ -55390,4 +55723,4 @@ function createServer() {
|
|
|
55390
55723
|
export {
|
|
55391
55724
|
createServer
|
|
55392
55725
|
};
|
|
55393
|
-
//# sourceMappingURL=chunk-
|
|
55726
|
+
//# sourceMappingURL=chunk-6VVXAK6F.js.map
|