@classic-homes/theme-mcp 0.5.1 → 0.5.3
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.5.
|
|
9
|
+
version: "0.5.3",
|
|
10
10
|
components: [
|
|
11
11
|
{
|
|
12
12
|
name: "ActionHeader",
|
|
@@ -9421,11 +9421,17 @@ var component_catalog_default = {
|
|
|
9421
9421
|
required: false,
|
|
9422
9422
|
description: "Active filters, shown as a badge on the button"
|
|
9423
9423
|
},
|
|
9424
|
+
{
|
|
9425
|
+
name: "count",
|
|
9426
|
+
type: "ToolbarCountProps",
|
|
9427
|
+
required: false,
|
|
9428
|
+
description: "Result count after the filters / button (see ToolbarCount)"
|
|
9429
|
+
},
|
|
9424
9430
|
{
|
|
9425
9431
|
name: "summary",
|
|
9426
9432
|
type: "Snippet",
|
|
9427
9433
|
required: false,
|
|
9428
|
-
description: "
|
|
9434
|
+
description: "Other text after the count (`text-toolbar-muted` to dim)"
|
|
9429
9435
|
},
|
|
9430
9436
|
{
|
|
9431
9437
|
name: "end",
|
|
@@ -9486,9 +9492,10 @@ var component_catalog_default = {
|
|
|
9486
9492
|
Input,
|
|
9487
9493
|
Label,
|
|
9488
9494
|
Select,
|
|
9495
|
+
ToolbarSearch,
|
|
9489
9496
|
} from '@classic-homes/theme-svelte';
|
|
9490
9497
|
|
|
9491
|
-
let
|
|
9498
|
+
let query = $state('');
|
|
9492
9499
|
let status = $state('');
|
|
9493
9500
|
let type = $state('');
|
|
9494
9501
|
let supplier = $state('');
|
|
@@ -9497,9 +9504,15 @@ var component_catalog_default = {
|
|
|
9497
9504
|
const clear = () => (status = type = supplier = '');
|
|
9498
9505
|
</script>
|
|
9499
9506
|
|
|
9500
|
-
<FilterToolbar
|
|
9507
|
+
<FilterToolbar
|
|
9508
|
+
label="Sign tools"
|
|
9509
|
+
filterCount={3}
|
|
9510
|
+
{activeCount}
|
|
9511
|
+
onClear={clear}
|
|
9512
|
+
count={{ total: signsQ.isPending ? undefined : signsQ.data.total, noun: 'sign', page }}
|
|
9513
|
+
>
|
|
9501
9514
|
{#snippet search()}
|
|
9502
|
-
<
|
|
9515
|
+
<ToolbarSearch label="Search signs" bind:value={query} />
|
|
9503
9516
|
{/snippet}
|
|
9504
9517
|
{#snippet filters({ inline })}
|
|
9505
9518
|
<div class="space-y-1">
|
|
@@ -9508,7 +9521,6 @@ var component_catalog_default = {
|
|
|
9508
9521
|
</div>
|
|
9509
9522
|
<!-- \u2026type, supplier -->
|
|
9510
9523
|
{/snippet}
|
|
9511
|
-
{#snippet summary()}<span class="text-sm">42 signs</span>{/snippet}
|
|
9512
9524
|
</FilterToolbar>
|
|
9513
9525
|
|
|
9514
9526
|
<ActiveFilterChips
|
|
@@ -21261,13 +21273,19 @@ var component_catalog_default = {
|
|
|
21261
21273
|
name: "children",
|
|
21262
21274
|
type: "Snippet",
|
|
21263
21275
|
required: false,
|
|
21264
|
-
description: "Leading controls (search, filters
|
|
21276
|
+
description: "Leading controls (search, filters)"
|
|
21277
|
+
},
|
|
21278
|
+
{
|
|
21279
|
+
name: "count",
|
|
21280
|
+
type: "ToolbarCountProps",
|
|
21281
|
+
required: false,
|
|
21282
|
+
description: "Result count after the leading controls (see ToolbarCount)"
|
|
21265
21283
|
},
|
|
21266
21284
|
{
|
|
21267
21285
|
name: "end",
|
|
21268
21286
|
type: "Snippet",
|
|
21269
21287
|
required: false,
|
|
21270
|
-
description: "Right-aligned cluster (
|
|
21288
|
+
description: "Right-aligned cluster (scope picker, grouping, view toggle)"
|
|
21271
21289
|
},
|
|
21272
21290
|
{
|
|
21273
21291
|
name: "class",
|
|
@@ -21294,18 +21312,17 @@ var component_catalog_default = {
|
|
|
21294
21312
|
SegmentedControl,
|
|
21295
21313
|
ViewToggle,
|
|
21296
21314
|
Button,
|
|
21297
|
-
Input,
|
|
21298
21315
|
Separator,
|
|
21316
|
+
ToolbarSearch,
|
|
21299
21317
|
} from '@classic-homes/theme-svelte';
|
|
21300
21318
|
|
|
21301
21319
|
let groupBy = $state('community');
|
|
21302
21320
|
let view = $state('list');
|
|
21303
21321
|
</script>
|
|
21304
21322
|
|
|
21305
|
-
<Toolbar label="Inventory tools">
|
|
21306
|
-
<
|
|
21323
|
+
<Toolbar label="Inventory tools" count={{ total: 89, noun: 'home' }}>
|
|
21324
|
+
<ToolbarSearch label="Search homes" placeholder="Search homes, communities, floor plans\u2026" />
|
|
21307
21325
|
<Button variant="secondary" size="sm">Filters</Button>
|
|
21308
|
-
<span class="text-sm">89 homes</span>
|
|
21309
21326
|
|
|
21310
21327
|
{#snippet end()}
|
|
21311
21328
|
<SegmentedControl
|
|
@@ -21330,6 +21347,153 @@ var component_catalog_default = {
|
|
|
21330
21347
|
"ActionHeader"
|
|
21331
21348
|
]
|
|
21332
21349
|
},
|
|
21350
|
+
{
|
|
21351
|
+
name: "ToolbarCount",
|
|
21352
|
+
description: "Standard result count for Toolbar and FilterToolbar strips",
|
|
21353
|
+
category: "data",
|
|
21354
|
+
importPath: "@classic-homes/theme-svelte",
|
|
21355
|
+
props: [
|
|
21356
|
+
{
|
|
21357
|
+
name: "total",
|
|
21358
|
+
type: "number | undefined | null",
|
|
21359
|
+
required: true,
|
|
21360
|
+
description: "Matching rows; undefined while the first load runs"
|
|
21361
|
+
},
|
|
21362
|
+
{
|
|
21363
|
+
name: "noun",
|
|
21364
|
+
type: "string",
|
|
21365
|
+
required: true,
|
|
21366
|
+
description: "Singular noun, e.g. `home`"
|
|
21367
|
+
},
|
|
21368
|
+
{
|
|
21369
|
+
name: "plural",
|
|
21370
|
+
type: "string",
|
|
21371
|
+
default: " ${noun}s ",
|
|
21372
|
+
required: false,
|
|
21373
|
+
description: "Plural when it isn't noun + s, e.g. `entries`"
|
|
21374
|
+
},
|
|
21375
|
+
{
|
|
21376
|
+
name: "page",
|
|
21377
|
+
type: "{ page: number; limit: number }",
|
|
21378
|
+
required: false,
|
|
21379
|
+
description: "Server paging; shows the range when total spans pages"
|
|
21380
|
+
},
|
|
21381
|
+
{
|
|
21382
|
+
name: "of",
|
|
21383
|
+
type: "number",
|
|
21384
|
+
required: false,
|
|
21385
|
+
description: "Unfiltered size for locally filtered lists"
|
|
21386
|
+
},
|
|
21387
|
+
{
|
|
21388
|
+
name: "empty",
|
|
21389
|
+
type: "string",
|
|
21390
|
+
default: "No <plural> found",
|
|
21391
|
+
required: false,
|
|
21392
|
+
description: "Zero-match text"
|
|
21393
|
+
},
|
|
21394
|
+
{
|
|
21395
|
+
name: "note",
|
|
21396
|
+
type: "string | false | null",
|
|
21397
|
+
required: false,
|
|
21398
|
+
description: 'Trailing remark after " \xB7 "; falsy hides it'
|
|
21399
|
+
}
|
|
21400
|
+
],
|
|
21401
|
+
variants: [],
|
|
21402
|
+
slots: [
|
|
21403
|
+
{
|
|
21404
|
+
name: "children",
|
|
21405
|
+
description: "Main content",
|
|
21406
|
+
required: false
|
|
21407
|
+
}
|
|
21408
|
+
],
|
|
21409
|
+
events: [],
|
|
21410
|
+
examples: [
|
|
21411
|
+
{
|
|
21412
|
+
title: "Basic Usage",
|
|
21413
|
+
code: `<Toolbar
|
|
21414
|
+
label="Lot tools"
|
|
21415
|
+
count={{ total: lotsQ.isPending ? undefined : pagination.total, noun: 'lot', page: pagination }}
|
|
21416
|
+
/>
|
|
21417
|
+
|
|
21418
|
+
<ToolbarCount total={visible.length} of={rows.length} noun="walk" note="3 overdue" />`
|
|
21419
|
+
}
|
|
21420
|
+
],
|
|
21421
|
+
relatedComponents: [
|
|
21422
|
+
"Toolbar",
|
|
21423
|
+
"FilterToolbar",
|
|
21424
|
+
"ToolbarSearch"
|
|
21425
|
+
]
|
|
21426
|
+
},
|
|
21427
|
+
{
|
|
21428
|
+
name: "ToolbarSearch",
|
|
21429
|
+
description: "Standard search field for Toolbar and FilterToolbar strips",
|
|
21430
|
+
category: "form",
|
|
21431
|
+
importPath: "@classic-homes/theme-svelte",
|
|
21432
|
+
props: [
|
|
21433
|
+
{
|
|
21434
|
+
name: "label",
|
|
21435
|
+
type: "string",
|
|
21436
|
+
required: true,
|
|
21437
|
+
description: 'Accessible name, e.g. "Search homes"'
|
|
21438
|
+
},
|
|
21439
|
+
{
|
|
21440
|
+
name: "value",
|
|
21441
|
+
type: "string",
|
|
21442
|
+
default: "''",
|
|
21443
|
+
required: false,
|
|
21444
|
+
description: "Search text (bindable)"
|
|
21445
|
+
},
|
|
21446
|
+
{
|
|
21447
|
+
name: "placeholder",
|
|
21448
|
+
type: "string",
|
|
21449
|
+
default: " ${label}\u2026 ",
|
|
21450
|
+
required: false,
|
|
21451
|
+
description: 'Placeholder; end it with "\u2026"'
|
|
21452
|
+
},
|
|
21453
|
+
{
|
|
21454
|
+
name: "id",
|
|
21455
|
+
type: "string",
|
|
21456
|
+
required: false,
|
|
21457
|
+
description: "Input id"
|
|
21458
|
+
},
|
|
21459
|
+
{
|
|
21460
|
+
name: "class",
|
|
21461
|
+
type: "string",
|
|
21462
|
+
required: false,
|
|
21463
|
+
description: "Extra classes (merged over `w-full sm:w-64`)"
|
|
21464
|
+
}
|
|
21465
|
+
],
|
|
21466
|
+
variants: [],
|
|
21467
|
+
slots: [
|
|
21468
|
+
{
|
|
21469
|
+
name: "children",
|
|
21470
|
+
description: "Main content",
|
|
21471
|
+
required: false
|
|
21472
|
+
}
|
|
21473
|
+
],
|
|
21474
|
+
events: [],
|
|
21475
|
+
examples: [
|
|
21476
|
+
{
|
|
21477
|
+
title: "Basic Usage",
|
|
21478
|
+
code: `<script>
|
|
21479
|
+
import { FilterToolbar, ToolbarSearch } from '@classic-homes/theme-svelte';
|
|
21480
|
+
|
|
21481
|
+
let query = $state('');
|
|
21482
|
+
</script>
|
|
21483
|
+
|
|
21484
|
+
<FilterToolbar label="Home tools" filterCount={0} filters={() => {}}>
|
|
21485
|
+
{#snippet search()}
|
|
21486
|
+
<ToolbarSearch label="Search homes" placeholder="Address, lot, plan\u2026" bind:value={query} />
|
|
21487
|
+
{/snippet}
|
|
21488
|
+
</FilterToolbar>`
|
|
21489
|
+
}
|
|
21490
|
+
],
|
|
21491
|
+
relatedComponents: [
|
|
21492
|
+
"Toolbar",
|
|
21493
|
+
"FilterToolbar",
|
|
21494
|
+
"Input"
|
|
21495
|
+
]
|
|
21496
|
+
},
|
|
21333
21497
|
{
|
|
21334
21498
|
name: "Tooltip",
|
|
21335
21499
|
description: "Contextual information displayed on hover",
|
|
@@ -22359,7 +22523,7 @@ function registerComponentResources(server) {
|
|
|
22359
22523
|
|
|
22360
22524
|
// src/data/token-definitions.json
|
|
22361
22525
|
var token_definitions_default = {
|
|
22362
|
-
version: "0.5.
|
|
22526
|
+
version: "0.5.3",
|
|
22363
22527
|
colors: {
|
|
22364
22528
|
brand: [
|
|
22365
22529
|
{
|
|
@@ -23342,7 +23506,7 @@ function registerTokenResources(server) {
|
|
|
23342
23506
|
|
|
23343
23507
|
// src/data/styles-catalog.json
|
|
23344
23508
|
var styles_catalog_default = {
|
|
23345
|
-
version: "0.5.
|
|
23509
|
+
version: "0.5.3",
|
|
23346
23510
|
package: "@classic-homes/theme-styles",
|
|
23347
23511
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
23348
23512
|
integration: {
|
|
@@ -23725,7 +23889,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
23725
23889
|
|
|
23726
23890
|
// src/data/pattern-library.json
|
|
23727
23891
|
var pattern_library_default = {
|
|
23728
|
-
version: "0.5.
|
|
23892
|
+
version: "0.5.3",
|
|
23729
23893
|
layouts: [
|
|
23730
23894
|
{
|
|
23731
23895
|
id: "dashboard-page",
|
|
@@ -24819,7 +24983,7 @@ function registerLayoutResources(server) {
|
|
|
24819
24983
|
|
|
24820
24984
|
// src/data/schema-catalog.json
|
|
24821
24985
|
var schema_catalog_default = {
|
|
24822
|
-
version: "0.5.
|
|
24986
|
+
version: "0.5.3",
|
|
24823
24987
|
packageName: "@classic-homes/theme-svelte",
|
|
24824
24988
|
importPath: "@classic-homes/theme-svelte",
|
|
24825
24989
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -25627,7 +25791,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
25627
25791
|
|
|
25628
25792
|
// src/data/auth-catalog.json
|
|
25629
25793
|
var auth_catalog_default = {
|
|
25630
|
-
version: "0.5.
|
|
25794
|
+
version: "0.5.3",
|
|
25631
25795
|
packageName: "@classic-homes/auth",
|
|
25632
25796
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
25633
25797
|
subpackages: {
|
|
@@ -28664,7 +28828,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
28664
28828
|
|
|
28665
28829
|
// src/data/notifications-catalog.json
|
|
28666
28830
|
var notifications_catalog_default = {
|
|
28667
|
-
version: "0.5.
|
|
28831
|
+
version: "0.5.3",
|
|
28668
28832
|
packageName: "@classic-homes/notifications",
|
|
28669
28833
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
28670
28834
|
subpackages: {
|
|
@@ -29576,7 +29740,7 @@ function registerNotificationsResources(server) {
|
|
|
29576
29740
|
|
|
29577
29741
|
// src/data/docs-catalog.json
|
|
29578
29742
|
var docs_catalog_default = {
|
|
29579
|
-
version: "0.5.
|
|
29743
|
+
version: "0.5.3",
|
|
29580
29744
|
packageName: "@classic-homes/theme-docs",
|
|
29581
29745
|
description: "Markdown documentation components for the Classic theme system",
|
|
29582
29746
|
exports: {
|
|
@@ -31248,7 +31412,7 @@ function registerDocsResources(server) {
|
|
|
31248
31412
|
|
|
31249
31413
|
// src/data/charts-catalog.json
|
|
31250
31414
|
var charts_catalog_default = {
|
|
31251
|
-
version: "0.5.
|
|
31415
|
+
version: "0.5.3",
|
|
31252
31416
|
packageName: "@classic-homes/charts-core",
|
|
31253
31417
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
31254
31418
|
subpackages: {
|
|
@@ -35386,7 +35550,7 @@ interface SankeyData {
|
|
|
35386
35550
|
|
|
35387
35551
|
// src/data/gantt-catalog.json
|
|
35388
35552
|
var gantt_catalog_default = {
|
|
35389
|
-
version: "0.5.
|
|
35553
|
+
version: "0.5.3",
|
|
35390
35554
|
packageName: "@classic-homes/gantt-core",
|
|
35391
35555
|
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.",
|
|
35392
35556
|
packages: {
|
|
@@ -36369,7 +36533,7 @@ function registerGanttResources(server) {
|
|
|
36369
36533
|
|
|
36370
36534
|
// src/data/maps-catalog.json
|
|
36371
36535
|
var maps_catalog_default = {
|
|
36372
|
-
version: "0.5.
|
|
36536
|
+
version: "0.5.3",
|
|
36373
36537
|
packageName: "@classic-homes/maps-core",
|
|
36374
36538
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
36375
36539
|
subpackages: {
|
|
@@ -41995,7 +42159,7 @@ ${catalog6.quickReference.tailwindConfig}
|
|
|
41995
42159
|
|
|
41996
42160
|
// src/data/native-catalog.json
|
|
41997
42161
|
var native_catalog_default = {
|
|
41998
|
-
version: "0.5.
|
|
42162
|
+
version: "0.5.3",
|
|
41999
42163
|
packageName: "@classic-homes/native",
|
|
42000
42164
|
description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
|
|
42001
42165
|
subpackages: {
|
|
@@ -43699,7 +43863,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
|
|
|
43699
43863
|
|
|
43700
43864
|
// src/data/viewer-catalog.json
|
|
43701
43865
|
var viewer_catalog_default = {
|
|
43702
|
-
version: "0.5.
|
|
43866
|
+
version: "0.5.3",
|
|
43703
43867
|
packageName: "@classic-homes/viewer-svelte",
|
|
43704
43868
|
description: "Client-side, view-only document viewers: PDF, Word (.docx), Excel (.xlsx), 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.",
|
|
43705
43869
|
packages: {
|
|
@@ -43801,7 +43965,8 @@ var viewer_catalog_default = {
|
|
|
43801
43965
|
limits: [
|
|
43802
43966
|
"no charts, images, conditional formatting, table styles or pivot tables (a note says when present)",
|
|
43803
43967
|
"hidden sheets not listed",
|
|
43804
|
-
"sheets cut at maxCells (default 2,000,000)",
|
|
43968
|
+
"sheets cut at maxCells (default 2,000,000); CSV includes empty field slots",
|
|
43969
|
+
"grid bounds: 1,048,576 rows and 16,384 columns; renderer caps each pane block at 512 tracks per axis and 65,536 cells with a display-limit note",
|
|
43805
43970
|
"no recalculation"
|
|
43806
43971
|
]
|
|
43807
43972
|
},
|
|
@@ -43813,9 +43978,12 @@ var viewer_catalog_default = {
|
|
|
43813
43978
|
peer: null,
|
|
43814
43979
|
configure: "same as xlsx",
|
|
43815
43980
|
features: [
|
|
43816
|
-
"delimiter detected from
|
|
43981
|
+
"delimiter detected from logical records, including quoted newlines"
|
|
43817
43982
|
],
|
|
43818
|
-
limits: [
|
|
43983
|
+
limits: [
|
|
43984
|
+
"maxCells includes empty field slots (default 2,000,000)",
|
|
43985
|
+
"grid bounds: 1,048,576 rows and 16,384 columns; same rendering limits as xlsx"
|
|
43986
|
+
]
|
|
43819
43987
|
},
|
|
43820
43988
|
{
|
|
43821
43989
|
kind: "docx",
|
|
@@ -43879,6 +44047,7 @@ var viewer_catalog_default = {
|
|
|
43879
44047
|
limits: [
|
|
43880
44048
|
"no tables, multileaders, multilines, 3D solids/faces, wipeouts, construction lines, images, OLE or proxy objects",
|
|
43881
44049
|
"paper space not shown",
|
|
44050
|
+
"rational spline weights preserved in DXF but not rendered; elevated hatches flattened by upstream conversion",
|
|
43882
44051
|
"very large drawings can exhaust WASM memory ('too-large')",
|
|
43883
44052
|
"~2.5 MB gzipped wasm on first use"
|
|
43884
44053
|
]
|
|
@@ -44017,7 +44186,7 @@ var viewer_catalog_default = {
|
|
|
44017
44186
|
},
|
|
44018
44187
|
keyboard: {
|
|
44019
44188
|
"Ctrl/Cmd + = / -": "zoom in / out",
|
|
44020
|
-
"Ctrl/Cmd + 0": "reset zoom (PDF
|
|
44189
|
+
"Ctrl/Cmd + 0": "reset zoom (PDF toggles fit width/page; Word fit width/100%; Excel 100%; CAD fit)",
|
|
44021
44190
|
"Ctrl/Cmd + F": "find (PDF, Word, Excel)",
|
|
44022
44191
|
"Enter / Shift+Enter": "next / previous match",
|
|
44023
44192
|
"PageDown / PageUp, Home / End": "pages (PDF, Word)",
|
|
@@ -44753,7 +44922,7 @@ function registerPrompts(server) {
|
|
|
44753
44922
|
// package.json
|
|
44754
44923
|
var package_default = {
|
|
44755
44924
|
name: "@classic-homes/theme-mcp",
|
|
44756
|
-
version: "0.5.
|
|
44925
|
+
version: "0.5.3",
|
|
44757
44926
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
44758
44927
|
type: "module",
|
|
44759
44928
|
main: "dist/index.js",
|
|
@@ -44852,4 +45021,4 @@ function createServer() {
|
|
|
44852
45021
|
export {
|
|
44853
45022
|
createServer
|
|
44854
45023
|
};
|
|
44855
|
-
//# sourceMappingURL=chunk-
|
|
45024
|
+
//# sourceMappingURL=chunk-BZGOGPUW.js.map
|