@classic-homes/theme-mcp 0.1.39 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1286 -45
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1286 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
11
11
|
|
|
12
12
|
// src/data/component-catalog.json
|
|
13
13
|
var component_catalog_default = {
|
|
14
|
-
version: "0.
|
|
14
|
+
version: "0.2.0",
|
|
15
15
|
components: [
|
|
16
16
|
{
|
|
17
17
|
name: "Alert",
|
|
@@ -546,6 +546,187 @@ var component_catalog_default = {
|
|
|
546
546
|
"BarChart"
|
|
547
547
|
]
|
|
548
548
|
},
|
|
549
|
+
{
|
|
550
|
+
name: "AspectRatio",
|
|
551
|
+
description: "Constrains content to a fixed width-to-height ratio",
|
|
552
|
+
category: "media",
|
|
553
|
+
importPath: "@classic-homes/theme-svelte",
|
|
554
|
+
props: [
|
|
555
|
+
{
|
|
556
|
+
name: "ratio",
|
|
557
|
+
type: "'square' | 'video' | 'photo' | 'portrait' | 'wide' | number",
|
|
558
|
+
default: "'video'",
|
|
559
|
+
required: false,
|
|
560
|
+
description: "Width-to-height ratio, named or as a raw number"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
name: "class",
|
|
564
|
+
type: "string",
|
|
565
|
+
required: false,
|
|
566
|
+
description: "Additional CSS classes for the content box"
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
variants: [
|
|
570
|
+
{
|
|
571
|
+
name: "ratio",
|
|
572
|
+
values: [
|
|
573
|
+
"square",
|
|
574
|
+
"video",
|
|
575
|
+
"photo",
|
|
576
|
+
"portrait",
|
|
577
|
+
"wide"
|
|
578
|
+
],
|
|
579
|
+
default: "video"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
slots: [
|
|
583
|
+
{
|
|
584
|
+
name: "children",
|
|
585
|
+
description: "Main content",
|
|
586
|
+
required: false
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
events: [],
|
|
590
|
+
examples: [
|
|
591
|
+
{
|
|
592
|
+
title: "Basic Usage",
|
|
593
|
+
code: '<AspectRatio ratio="video">\n <img src="/cover.jpg" alt="Cover art" class="h-full w-full object-cover" />\n</AspectRatio>'
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
relatedComponents: [
|
|
597
|
+
"Image",
|
|
598
|
+
"MediaEmbed",
|
|
599
|
+
"MediaGrid"
|
|
600
|
+
]
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
name: "Audio",
|
|
604
|
+
description: "Compact audio player with themed controls and keyboard support",
|
|
605
|
+
category: "media",
|
|
606
|
+
importPath: "@classic-homes/theme-svelte",
|
|
607
|
+
props: [
|
|
608
|
+
{
|
|
609
|
+
name: "src",
|
|
610
|
+
type: "string | MediaSource[]",
|
|
611
|
+
required: false,
|
|
612
|
+
description: "A single URL, or several sources for format fallback"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
name: "title",
|
|
616
|
+
type: "string",
|
|
617
|
+
required: false,
|
|
618
|
+
description: "Track title shown above the controls"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
name: "artist",
|
|
622
|
+
type: "string",
|
|
623
|
+
required: false,
|
|
624
|
+
description: "Performer or author shown beside the title"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
name: "artwork",
|
|
628
|
+
type: "string",
|
|
629
|
+
required: false,
|
|
630
|
+
description: "Artwork image URL"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
name: "label",
|
|
634
|
+
type: "string",
|
|
635
|
+
required: false,
|
|
636
|
+
description: "Accessible name; defaults to the title"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
name: "tracks",
|
|
640
|
+
type: "MediaTextTrack[]",
|
|
641
|
+
default: "[]",
|
|
642
|
+
required: false,
|
|
643
|
+
description: "Transcript or caption tracks"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: "autoplay",
|
|
647
|
+
type: "boolean",
|
|
648
|
+
default: "false",
|
|
649
|
+
required: false,
|
|
650
|
+
description: "Start playing automatically"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
name: "muted",
|
|
654
|
+
type: "boolean",
|
|
655
|
+
default: "false",
|
|
656
|
+
required: false,
|
|
657
|
+
description: "Start muted"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: "loop",
|
|
661
|
+
type: "boolean",
|
|
662
|
+
default: "false",
|
|
663
|
+
required: false,
|
|
664
|
+
description: "Loop playback"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
name: "volume",
|
|
668
|
+
type: "number",
|
|
669
|
+
default: "1",
|
|
670
|
+
required: false,
|
|
671
|
+
description: "Initial volume, 0 to 1"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
name: "preload",
|
|
675
|
+
type: "'none' | 'metadata' | 'auto'",
|
|
676
|
+
default: "'metadata'",
|
|
677
|
+
required: false,
|
|
678
|
+
description: "How much to preload"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
name: "onEnded",
|
|
682
|
+
type: "() => void",
|
|
683
|
+
required: false,
|
|
684
|
+
description: "Called when playback ends"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
name: "onTimeUpdate",
|
|
688
|
+
type: "(currentTime: number) => void",
|
|
689
|
+
required: false,
|
|
690
|
+
description: "Called on each time update, with seconds elapsed"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
name: "class",
|
|
694
|
+
type: "string",
|
|
695
|
+
required: false,
|
|
696
|
+
description: "Additional CSS classes"
|
|
697
|
+
}
|
|
698
|
+
],
|
|
699
|
+
variants: [
|
|
700
|
+
{
|
|
701
|
+
name: "preload",
|
|
702
|
+
values: [
|
|
703
|
+
"none",
|
|
704
|
+
"metadata",
|
|
705
|
+
"auto"
|
|
706
|
+
],
|
|
707
|
+
default: "metadata"
|
|
708
|
+
}
|
|
709
|
+
],
|
|
710
|
+
slots: [
|
|
711
|
+
{
|
|
712
|
+
name: "children",
|
|
713
|
+
description: "Main content",
|
|
714
|
+
required: false
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
events: [],
|
|
718
|
+
examples: [
|
|
719
|
+
{
|
|
720
|
+
title: "Basic Usage",
|
|
721
|
+
code: '<Audio src="/episode-12.mp3" title="Episode 12" artist="Design Notes" artwork="/cover.jpg" />'
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
relatedComponents: [
|
|
725
|
+
"Video",
|
|
726
|
+
"MediaGrid",
|
|
727
|
+
"Lightbox"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
549
730
|
{
|
|
550
731
|
name: "AuthLayout",
|
|
551
732
|
description: "Centered card layout for authentication pages",
|
|
@@ -3253,12 +3434,39 @@ var component_catalog_default = {
|
|
|
3253
3434
|
required: false,
|
|
3254
3435
|
description: "Tab label text"
|
|
3255
3436
|
},
|
|
3437
|
+
{
|
|
3438
|
+
name: "subtitle",
|
|
3439
|
+
type: "string",
|
|
3440
|
+
required: false,
|
|
3441
|
+
description: "Secondary line under the title"
|
|
3442
|
+
},
|
|
3256
3443
|
{
|
|
3257
3444
|
name: "edge",
|
|
3258
3445
|
type: "'left' | 'right' | 'top' | 'bottom'",
|
|
3259
3446
|
required: false,
|
|
3260
3447
|
description: "Edge position (required)"
|
|
3261
3448
|
},
|
|
3449
|
+
{
|
|
3450
|
+
name: "tabWidth",
|
|
3451
|
+
type: "number",
|
|
3452
|
+
default: "220",
|
|
3453
|
+
required: false,
|
|
3454
|
+
description: "Tab length (px) along its edge"
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
name: "tabInset",
|
|
3458
|
+
type: "number",
|
|
3459
|
+
default: "0",
|
|
3460
|
+
required: false,
|
|
3461
|
+
description: "Distance (px) from the pinned edge"
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
name: "offset",
|
|
3465
|
+
type: "number",
|
|
3466
|
+
default: "0",
|
|
3467
|
+
required: false,
|
|
3468
|
+
description: "Shift (px) along the edge"
|
|
3469
|
+
},
|
|
3262
3470
|
{
|
|
3263
3471
|
name: "onclick",
|
|
3264
3472
|
type: "() => void",
|
|
@@ -6431,6 +6639,182 @@ var component_catalog_default = {
|
|
|
6431
6639
|
"Spinner"
|
|
6432
6640
|
]
|
|
6433
6641
|
},
|
|
6642
|
+
{
|
|
6643
|
+
name: "Image",
|
|
6644
|
+
description: "Responsive image with lazy loading, placeholders, and error fallback",
|
|
6645
|
+
category: "media",
|
|
6646
|
+
importPath: "@classic-homes/theme-svelte",
|
|
6647
|
+
props: [
|
|
6648
|
+
{
|
|
6649
|
+
name: "src",
|
|
6650
|
+
type: "string",
|
|
6651
|
+
required: false,
|
|
6652
|
+
description: "Image URL"
|
|
6653
|
+
},
|
|
6654
|
+
{
|
|
6655
|
+
name: "alt",
|
|
6656
|
+
type: "string",
|
|
6657
|
+
required: false,
|
|
6658
|
+
description: "Alternative text; required, empty string for decorative images"
|
|
6659
|
+
},
|
|
6660
|
+
{
|
|
6661
|
+
name: "ratio",
|
|
6662
|
+
type: "'square' | 'video' | 'photo' | 'portrait' | 'wide' | number",
|
|
6663
|
+
required: false,
|
|
6664
|
+
description: "Constrain the image to a ratio box"
|
|
6665
|
+
},
|
|
6666
|
+
{
|
|
6667
|
+
name: "fit",
|
|
6668
|
+
type: "'cover' | 'contain' | 'fill' | 'none' | 'scale-down'",
|
|
6669
|
+
default: "'cover'",
|
|
6670
|
+
required: false,
|
|
6671
|
+
description: "How the image fills its box"
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
name: "rounded",
|
|
6675
|
+
type: "'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'",
|
|
6676
|
+
default: "'none'",
|
|
6677
|
+
required: false,
|
|
6678
|
+
description: "Corner rounding"
|
|
6679
|
+
},
|
|
6680
|
+
{
|
|
6681
|
+
name: "placeholder",
|
|
6682
|
+
type: "string",
|
|
6683
|
+
required: false,
|
|
6684
|
+
description: "Low-resolution data URL blurred in while loading"
|
|
6685
|
+
},
|
|
6686
|
+
{
|
|
6687
|
+
name: "showSkeleton",
|
|
6688
|
+
type: "boolean",
|
|
6689
|
+
default: "true",
|
|
6690
|
+
required: false,
|
|
6691
|
+
description: "Show a skeleton while loading (ignored when `placeholder` is set)"
|
|
6692
|
+
},
|
|
6693
|
+
{
|
|
6694
|
+
name: "loading",
|
|
6695
|
+
type: "'lazy' | 'eager'",
|
|
6696
|
+
default: "'lazy'",
|
|
6697
|
+
required: false,
|
|
6698
|
+
description: "Native loading strategy"
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
name: "decoding",
|
|
6702
|
+
type: "'async' | 'sync' | 'auto'",
|
|
6703
|
+
default: "'async'",
|
|
6704
|
+
required: false,
|
|
6705
|
+
description: "Native decoding hint"
|
|
6706
|
+
},
|
|
6707
|
+
{
|
|
6708
|
+
name: "srcset",
|
|
6709
|
+
type: "string",
|
|
6710
|
+
required: false,
|
|
6711
|
+
description: "Responsive candidate list"
|
|
6712
|
+
},
|
|
6713
|
+
{
|
|
6714
|
+
name: "sizes",
|
|
6715
|
+
type: "string",
|
|
6716
|
+
required: false,
|
|
6717
|
+
description: "Sizes attribute paired with `srcset`"
|
|
6718
|
+
},
|
|
6719
|
+
{
|
|
6720
|
+
name: "onload",
|
|
6721
|
+
type: "(event: Event) => void",
|
|
6722
|
+
required: false,
|
|
6723
|
+
description: "Called once the image loads"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
name: "onerror",
|
|
6727
|
+
type: "(event: Event) => void",
|
|
6728
|
+
required: false,
|
|
6729
|
+
description: "Called when the image fails to load"
|
|
6730
|
+
},
|
|
6731
|
+
{
|
|
6732
|
+
name: "class",
|
|
6733
|
+
type: "string",
|
|
6734
|
+
required: false,
|
|
6735
|
+
description: "Additional classes for the wrapper"
|
|
6736
|
+
},
|
|
6737
|
+
{
|
|
6738
|
+
name: "imgClass",
|
|
6739
|
+
type: "string",
|
|
6740
|
+
required: false,
|
|
6741
|
+
description: "Additional classes for the `<img>` element"
|
|
6742
|
+
}
|
|
6743
|
+
],
|
|
6744
|
+
variants: [
|
|
6745
|
+
{
|
|
6746
|
+
name: "ratio",
|
|
6747
|
+
values: [
|
|
6748
|
+
"square",
|
|
6749
|
+
"video",
|
|
6750
|
+
"photo",
|
|
6751
|
+
"portrait",
|
|
6752
|
+
"wide"
|
|
6753
|
+
]
|
|
6754
|
+
},
|
|
6755
|
+
{
|
|
6756
|
+
name: "fit",
|
|
6757
|
+
values: [
|
|
6758
|
+
"cover",
|
|
6759
|
+
"contain",
|
|
6760
|
+
"fill",
|
|
6761
|
+
"none",
|
|
6762
|
+
"scale-down"
|
|
6763
|
+
],
|
|
6764
|
+
default: "cover"
|
|
6765
|
+
},
|
|
6766
|
+
{
|
|
6767
|
+
name: "rounded",
|
|
6768
|
+
values: [
|
|
6769
|
+
"none",
|
|
6770
|
+
"sm",
|
|
6771
|
+
"md",
|
|
6772
|
+
"lg",
|
|
6773
|
+
"xl",
|
|
6774
|
+
"full"
|
|
6775
|
+
],
|
|
6776
|
+
default: "none"
|
|
6777
|
+
},
|
|
6778
|
+
{
|
|
6779
|
+
name: "loading",
|
|
6780
|
+
values: [
|
|
6781
|
+
"lazy",
|
|
6782
|
+
"eager"
|
|
6783
|
+
],
|
|
6784
|
+
default: "lazy"
|
|
6785
|
+
},
|
|
6786
|
+
{
|
|
6787
|
+
name: "decoding",
|
|
6788
|
+
values: [
|
|
6789
|
+
"async",
|
|
6790
|
+
"sync",
|
|
6791
|
+
"auto"
|
|
6792
|
+
],
|
|
6793
|
+
default: "async"
|
|
6794
|
+
}
|
|
6795
|
+
],
|
|
6796
|
+
slots: [
|
|
6797
|
+
{
|
|
6798
|
+
name: "children",
|
|
6799
|
+
description: "Main content",
|
|
6800
|
+
required: false
|
|
6801
|
+
}
|
|
6802
|
+
],
|
|
6803
|
+
events: [],
|
|
6804
|
+
examples: [
|
|
6805
|
+
{
|
|
6806
|
+
title: "Basic Usage",
|
|
6807
|
+
code: '<Image src="/photo.jpg" alt="Sunrise over the harbour" ratio="photo" />'
|
|
6808
|
+
}
|
|
6809
|
+
],
|
|
6810
|
+
relatedComponents: [
|
|
6811
|
+
"AspectRatio",
|
|
6812
|
+
"MediaGrid",
|
|
6813
|
+
"Lightbox",
|
|
6814
|
+
"Avatar",
|
|
6815
|
+
"Skeleton"
|
|
6816
|
+
]
|
|
6817
|
+
},
|
|
6434
6818
|
{
|
|
6435
6819
|
name: "Input",
|
|
6436
6820
|
description: "Text input field for single-line data entry with various input modes",
|
|
@@ -6684,7 +7068,116 @@ var component_catalog_default = {
|
|
|
6684
7068
|
]
|
|
6685
7069
|
},
|
|
6686
7070
|
{
|
|
6687
|
-
name: "
|
|
7071
|
+
name: "Lightbox",
|
|
7072
|
+
description: "Full-screen media viewer with zoom, pan, and keyboard navigation",
|
|
7073
|
+
category: "media",
|
|
7074
|
+
importPath: "@classic-homes/theme-svelte",
|
|
7075
|
+
props: [
|
|
7076
|
+
{
|
|
7077
|
+
name: "items",
|
|
7078
|
+
type: "MediaItem[]",
|
|
7079
|
+
required: false,
|
|
7080
|
+
description: "Items to page through"
|
|
7081
|
+
},
|
|
7082
|
+
{
|
|
7083
|
+
name: "open",
|
|
7084
|
+
type: "boolean",
|
|
7085
|
+
default: "false",
|
|
7086
|
+
required: false,
|
|
7087
|
+
description: "Whether the viewer is open (bindable)"
|
|
7088
|
+
},
|
|
7089
|
+
{
|
|
7090
|
+
name: "index",
|
|
7091
|
+
type: "number",
|
|
7092
|
+
default: "0",
|
|
7093
|
+
required: false,
|
|
7094
|
+
description: "Index of the visible item (bindable)"
|
|
7095
|
+
},
|
|
7096
|
+
{
|
|
7097
|
+
name: "loop",
|
|
7098
|
+
type: "boolean",
|
|
7099
|
+
default: "true",
|
|
7100
|
+
required: false,
|
|
7101
|
+
description: "Wrap from the last item back to the first"
|
|
7102
|
+
},
|
|
7103
|
+
{
|
|
7104
|
+
name: "showThumbnails",
|
|
7105
|
+
type: "boolean",
|
|
7106
|
+
default: "false",
|
|
7107
|
+
required: false,
|
|
7108
|
+
description: "Show the thumbnail strip along the bottom"
|
|
7109
|
+
},
|
|
7110
|
+
{
|
|
7111
|
+
name: "showCaption",
|
|
7112
|
+
type: "boolean",
|
|
7113
|
+
default: "true",
|
|
7114
|
+
required: false,
|
|
7115
|
+
description: "Show the caption beneath the media"
|
|
7116
|
+
},
|
|
7117
|
+
{
|
|
7118
|
+
name: "showCounter",
|
|
7119
|
+
type: "boolean",
|
|
7120
|
+
default: "true",
|
|
7121
|
+
required: false,
|
|
7122
|
+
description: 'Show the "n of m" counter'
|
|
7123
|
+
},
|
|
7124
|
+
{
|
|
7125
|
+
name: "zoomable",
|
|
7126
|
+
type: "boolean",
|
|
7127
|
+
default: "true",
|
|
7128
|
+
required: false,
|
|
7129
|
+
description: "Allow zooming and panning images"
|
|
7130
|
+
},
|
|
7131
|
+
{
|
|
7132
|
+
name: "downloadable",
|
|
7133
|
+
type: "boolean",
|
|
7134
|
+
default: "false",
|
|
7135
|
+
required: false,
|
|
7136
|
+
description: "Show a download link for items that expose a URL"
|
|
7137
|
+
},
|
|
7138
|
+
{
|
|
7139
|
+
name: "onOpenChange",
|
|
7140
|
+
type: "(open: boolean) => void",
|
|
7141
|
+
required: false,
|
|
7142
|
+
description: "Called when the open state changes"
|
|
7143
|
+
},
|
|
7144
|
+
{
|
|
7145
|
+
name: "onIndexChange",
|
|
7146
|
+
type: "(index: number) => void",
|
|
7147
|
+
required: false,
|
|
7148
|
+
description: "Called when the visible item changes"
|
|
7149
|
+
},
|
|
7150
|
+
{
|
|
7151
|
+
name: "class",
|
|
7152
|
+
type: "string",
|
|
7153
|
+
required: false,
|
|
7154
|
+
description: "Additional CSS classes for the surface"
|
|
7155
|
+
}
|
|
7156
|
+
],
|
|
7157
|
+
variants: [],
|
|
7158
|
+
slots: [
|
|
7159
|
+
{
|
|
7160
|
+
name: "children",
|
|
7161
|
+
description: "Main content",
|
|
7162
|
+
required: false
|
|
7163
|
+
}
|
|
7164
|
+
],
|
|
7165
|
+
events: [],
|
|
7166
|
+
examples: [
|
|
7167
|
+
{
|
|
7168
|
+
title: "Basic Usage",
|
|
7169
|
+
code: "<script>\n let open = $state(false);\n let index = $state(0);\n\n const photos = [\n { id: '1', kind: 'image', src: '/one.jpg', alt: 'Front elevation', caption: 'Front elevation' },\n { id: '2', kind: 'image', src: '/two.jpg', alt: 'Kitchen' },\n ];\n</script>\n\n<Button onclick={() => (open = true)}>View photos</Button>\n\n<Lightbox items={photos} bind:open bind:index />"
|
|
7170
|
+
}
|
|
7171
|
+
],
|
|
7172
|
+
relatedComponents: [
|
|
7173
|
+
"MediaGrid",
|
|
7174
|
+
"MediaCarousel",
|
|
7175
|
+
"Dialog",
|
|
7176
|
+
"Image"
|
|
7177
|
+
]
|
|
7178
|
+
},
|
|
7179
|
+
{
|
|
7180
|
+
name: "LineChart",
|
|
6688
7181
|
description: "Display trends over time with smooth curves and area fill options",
|
|
6689
7182
|
category: "chart",
|
|
6690
7183
|
importPath: "@classic-homes/charts-svelte",
|
|
@@ -7611,26 +8104,455 @@ var component_catalog_default = {
|
|
|
7611
8104
|
code: '<header class="flex items-center h-16 px-4 border-b">\n <a href="/">\n <LogoMain variant="horizontal" size="md" ariaLabel="" />\n </a>\n</header>'
|
|
7612
8105
|
},
|
|
7613
8106
|
{
|
|
7614
|
-
title: "Footer Logo",
|
|
7615
|
-
code: '<footer class="bg-gray-900 py-8">\n <LogoMain color="light" size="sm" />\n</footer>'
|
|
7616
|
-
},
|
|
8107
|
+
title: "Footer Logo",
|
|
8108
|
+
code: '<footer class="bg-gray-900 py-8">\n <LogoMain color="light" size="sm" />\n</footer>'
|
|
8109
|
+
},
|
|
8110
|
+
{
|
|
8111
|
+
title: "Login Page Logo",
|
|
8112
|
+
code: '<div class="flex flex-col items-center py-8">\n <LogoMain variant="stacked" size="lg" subtitle="MY HOME" />\n <h1 class="mt-4 text-2xl font-bold">Sign In</h1>\n</div>'
|
|
8113
|
+
},
|
|
8114
|
+
{
|
|
8115
|
+
title: "Sidebar Collapsed Logo",
|
|
8116
|
+
code: `<LogoMain variant={sidebarCollapsed ? 'icon' : 'horizontal'} size="md" />`
|
|
8117
|
+
},
|
|
8118
|
+
{
|
|
8119
|
+
title: "Development Environment",
|
|
8120
|
+
code: "<LogoMain environment={import.meta.env.MODE === 'production' ? undefined : 'dev'} />"
|
|
8121
|
+
}
|
|
8122
|
+
],
|
|
8123
|
+
relatedComponents: [
|
|
8124
|
+
"LoadingLogo",
|
|
8125
|
+
"Header",
|
|
8126
|
+
"Sidebar"
|
|
8127
|
+
]
|
|
8128
|
+
},
|
|
8129
|
+
{
|
|
8130
|
+
name: "MediaCarousel",
|
|
8131
|
+
description: "Swipeable media slides with dots, thumbnails, and optional autoplay",
|
|
8132
|
+
category: "media",
|
|
8133
|
+
importPath: "@classic-homes/theme-svelte",
|
|
8134
|
+
props: [
|
|
8135
|
+
{
|
|
8136
|
+
name: "items",
|
|
8137
|
+
type: "MediaItem[]",
|
|
8138
|
+
required: false,
|
|
8139
|
+
description: "Slides to display"
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
name: "label",
|
|
8143
|
+
type: "string",
|
|
8144
|
+
default: "'Media carousel'",
|
|
8145
|
+
required: false,
|
|
8146
|
+
description: "Accessible name for the carousel"
|
|
8147
|
+
},
|
|
8148
|
+
{
|
|
8149
|
+
name: "index",
|
|
8150
|
+
type: "number",
|
|
8151
|
+
default: "0",
|
|
8152
|
+
required: false,
|
|
8153
|
+
description: "Current slide index (bindable)"
|
|
8154
|
+
},
|
|
8155
|
+
{
|
|
8156
|
+
name: "ratio",
|
|
8157
|
+
type: "'square' | 'video' | 'photo' | 'portrait' | 'wide' | number",
|
|
8158
|
+
default: "'video'",
|
|
8159
|
+
required: false,
|
|
8160
|
+
description: "Aspect ratio of each slide"
|
|
8161
|
+
},
|
|
8162
|
+
{
|
|
8163
|
+
name: "loop",
|
|
8164
|
+
type: "boolean",
|
|
8165
|
+
default: "false",
|
|
8166
|
+
required: false,
|
|
8167
|
+
description: "Wrap from the last slide back to the first"
|
|
8168
|
+
},
|
|
8169
|
+
{
|
|
8170
|
+
name: "showDots",
|
|
8171
|
+
type: "boolean",
|
|
8172
|
+
default: "true",
|
|
8173
|
+
required: false,
|
|
8174
|
+
description: "Show dot indicators below the track"
|
|
8175
|
+
},
|
|
8176
|
+
{
|
|
8177
|
+
name: "showThumbnails",
|
|
8178
|
+
type: "boolean",
|
|
8179
|
+
default: "false",
|
|
8180
|
+
required: false,
|
|
8181
|
+
description: "Show a thumbnail strip instead of the dots"
|
|
8182
|
+
},
|
|
8183
|
+
{
|
|
8184
|
+
name: "showCaption",
|
|
8185
|
+
type: "boolean",
|
|
8186
|
+
default: "true",
|
|
8187
|
+
required: false,
|
|
8188
|
+
description: "Show the active slide's caption"
|
|
8189
|
+
},
|
|
8190
|
+
{
|
|
8191
|
+
name: "autoplay",
|
|
8192
|
+
type: "boolean",
|
|
8193
|
+
default: "false",
|
|
8194
|
+
required: false,
|
|
8195
|
+
description: "Advance automatically"
|
|
8196
|
+
},
|
|
8197
|
+
{
|
|
8198
|
+
name: "autoplayInterval",
|
|
8199
|
+
type: "number",
|
|
8200
|
+
default: "5000",
|
|
8201
|
+
required: false,
|
|
8202
|
+
description: "Milliseconds between automatic advances"
|
|
8203
|
+
},
|
|
8204
|
+
{
|
|
8205
|
+
name: "onIndexChange",
|
|
8206
|
+
type: "(index: number) => void",
|
|
8207
|
+
required: false,
|
|
8208
|
+
description: "Called when the active slide changes"
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
name: "class",
|
|
8212
|
+
type: "string",
|
|
8213
|
+
required: false,
|
|
8214
|
+
description: "Additional CSS classes"
|
|
8215
|
+
}
|
|
8216
|
+
],
|
|
8217
|
+
variants: [
|
|
8218
|
+
{
|
|
8219
|
+
name: "ratio",
|
|
8220
|
+
values: [
|
|
8221
|
+
"square",
|
|
8222
|
+
"video",
|
|
8223
|
+
"photo",
|
|
8224
|
+
"portrait",
|
|
8225
|
+
"wide"
|
|
8226
|
+
],
|
|
8227
|
+
default: "video"
|
|
8228
|
+
}
|
|
8229
|
+
],
|
|
8230
|
+
slots: [
|
|
8231
|
+
{
|
|
8232
|
+
name: "children",
|
|
8233
|
+
description: "Main content",
|
|
8234
|
+
required: false
|
|
8235
|
+
}
|
|
8236
|
+
],
|
|
8237
|
+
events: [],
|
|
8238
|
+
examples: [
|
|
8239
|
+
{
|
|
8240
|
+
title: "Basic Usage",
|
|
8241
|
+
code: '<MediaCarousel items={photos} label="Project gallery" />'
|
|
8242
|
+
}
|
|
8243
|
+
],
|
|
8244
|
+
relatedComponents: [
|
|
8245
|
+
"MediaGrid",
|
|
8246
|
+
"Lightbox",
|
|
8247
|
+
"Image",
|
|
8248
|
+
"Video"
|
|
8249
|
+
]
|
|
8250
|
+
},
|
|
8251
|
+
{
|
|
8252
|
+
name: "MediaEmbed",
|
|
8253
|
+
description: "Lazy YouTube, Vimeo, Cloudflare Stream, and Matterport embeds that load nothing until clicked",
|
|
8254
|
+
category: "media",
|
|
8255
|
+
importPath: "@classic-homes/theme-svelte",
|
|
8256
|
+
props: [
|
|
8257
|
+
{
|
|
8258
|
+
name: "url",
|
|
8259
|
+
type: "string",
|
|
8260
|
+
required: false,
|
|
8261
|
+
description: "Full provider URL; ignored when `provider` and `videoId` are set"
|
|
8262
|
+
},
|
|
8263
|
+
{
|
|
8264
|
+
name: "provider",
|
|
8265
|
+
type: "'youtube' | 'vimeo' | 'cloudflare' | 'matterport'",
|
|
8266
|
+
required: false,
|
|
8267
|
+
description: "Hosting provider"
|
|
8268
|
+
},
|
|
8269
|
+
{
|
|
8270
|
+
name: "videoId",
|
|
8271
|
+
type: "string",
|
|
8272
|
+
required: false,
|
|
8273
|
+
description: "Provider-specific video identifier"
|
|
8274
|
+
},
|
|
8275
|
+
{
|
|
8276
|
+
name: "title",
|
|
8277
|
+
type: "string",
|
|
8278
|
+
required: false,
|
|
8279
|
+
description: "Accessible name for the player; required"
|
|
8280
|
+
},
|
|
8281
|
+
{
|
|
8282
|
+
name: "poster",
|
|
8283
|
+
type: "string",
|
|
8284
|
+
required: false,
|
|
8285
|
+
description: "Poster image; derived for YouTube and Stream, required for Vimeo"
|
|
8286
|
+
},
|
|
8287
|
+
{
|
|
8288
|
+
name: "privacy",
|
|
8289
|
+
type: "boolean",
|
|
8290
|
+
default: "true",
|
|
8291
|
+
required: false,
|
|
8292
|
+
description: "Route YouTube through the no-cookie domain"
|
|
8293
|
+
},
|
|
8294
|
+
{
|
|
8295
|
+
name: "start",
|
|
8296
|
+
type: "number",
|
|
8297
|
+
required: false,
|
|
8298
|
+
description: "Start offset in seconds"
|
|
8299
|
+
},
|
|
8300
|
+
{
|
|
8301
|
+
name: "showRelated",
|
|
8302
|
+
type: "boolean",
|
|
8303
|
+
default: "false",
|
|
8304
|
+
required: false,
|
|
8305
|
+
description: "Show the provider's related-video suggestions"
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
name: "customerCode",
|
|
8309
|
+
type: "string",
|
|
8310
|
+
required: false,
|
|
8311
|
+
description: "Cloudflare Stream customer code; required for that provider"
|
|
8312
|
+
},
|
|
8313
|
+
{
|
|
8314
|
+
name: "domain",
|
|
8315
|
+
type: "string",
|
|
8316
|
+
required: false,
|
|
8317
|
+
description: "Custom hostname serving Cloudflare Stream"
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
name: "primaryColor",
|
|
8321
|
+
type: "string",
|
|
8322
|
+
required: false,
|
|
8323
|
+
description: "Accent colour for the Cloudflare player UI"
|
|
8324
|
+
},
|
|
8325
|
+
{
|
|
8326
|
+
name: "letterboxColor",
|
|
8327
|
+
type: "string",
|
|
8328
|
+
required: false,
|
|
8329
|
+
description: "Letterbox colour for the Cloudflare player"
|
|
8330
|
+
},
|
|
8331
|
+
{
|
|
8332
|
+
name: "defaultTextTrack",
|
|
8333
|
+
type: "string",
|
|
8334
|
+
required: false,
|
|
8335
|
+
description: "BCP-47 code of the captions track the Cloudflare player enables"
|
|
8336
|
+
},
|
|
8337
|
+
{
|
|
8338
|
+
name: "modelId",
|
|
8339
|
+
type: "string",
|
|
8340
|
+
required: false,
|
|
8341
|
+
description: "Matterport space id; an alias for `videoId`"
|
|
8342
|
+
},
|
|
8343
|
+
{
|
|
8344
|
+
name: "matterport",
|
|
8345
|
+
type: "MatterportPlayerOptions",
|
|
8346
|
+
required: false,
|
|
8347
|
+
description: "Showcase options for the Matterport player"
|
|
8348
|
+
},
|
|
8349
|
+
{
|
|
8350
|
+
name: "fetchMetadata",
|
|
8351
|
+
type: "boolean",
|
|
8352
|
+
default: "false",
|
|
8353
|
+
required: false,
|
|
8354
|
+
description: "Look up the space's preview image and name from Matterport"
|
|
8355
|
+
},
|
|
8356
|
+
{
|
|
8357
|
+
name: "ratio",
|
|
8358
|
+
type: "'square' | 'video' | 'photo' | 'portrait' | 'wide' | number",
|
|
8359
|
+
default: "'video'",
|
|
8360
|
+
required: false,
|
|
8361
|
+
description: "Aspect ratio of the embed box"
|
|
8362
|
+
},
|
|
8363
|
+
{
|
|
8364
|
+
name: "eager",
|
|
8365
|
+
type: "boolean",
|
|
8366
|
+
default: "false",
|
|
8367
|
+
required: false,
|
|
8368
|
+
description: "Load the iframe immediately instead of showing a facade"
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
name: "class",
|
|
8372
|
+
type: "string",
|
|
8373
|
+
required: false,
|
|
8374
|
+
description: "Additional CSS classes"
|
|
8375
|
+
}
|
|
8376
|
+
],
|
|
8377
|
+
variants: [
|
|
8378
|
+
{
|
|
8379
|
+
name: "provider",
|
|
8380
|
+
values: [
|
|
8381
|
+
"youtube",
|
|
8382
|
+
"vimeo",
|
|
8383
|
+
"cloudflare",
|
|
8384
|
+
"matterport"
|
|
8385
|
+
]
|
|
8386
|
+
},
|
|
8387
|
+
{
|
|
8388
|
+
name: "ratio",
|
|
8389
|
+
values: [
|
|
8390
|
+
"square",
|
|
8391
|
+
"video",
|
|
8392
|
+
"photo",
|
|
8393
|
+
"portrait",
|
|
8394
|
+
"wide"
|
|
8395
|
+
],
|
|
8396
|
+
default: "video"
|
|
8397
|
+
}
|
|
8398
|
+
],
|
|
8399
|
+
slots: [
|
|
8400
|
+
{
|
|
8401
|
+
name: "children",
|
|
8402
|
+
description: "Main content",
|
|
8403
|
+
required: false
|
|
8404
|
+
}
|
|
8405
|
+
],
|
|
8406
|
+
events: [],
|
|
8407
|
+
examples: [
|
|
8408
|
+
{
|
|
8409
|
+
title: "Basic Usage",
|
|
8410
|
+
code: '<MediaEmbed url="https://youtu.be/dQw4w9WgXcQ" title="Never Gonna Give You Up" />'
|
|
8411
|
+
},
|
|
8412
|
+
{
|
|
8413
|
+
title: "Tour thumbnails",
|
|
8414
|
+
description: "Matterport publishes no oEmbed endpoint and no derivable thumbnail URL, so a tour facade shows a deliberate placeholder unless you give it one:",
|
|
8415
|
+
code: '<MediaEmbed provider="matterport" modelId="SxQL3iGyoDo" title="Show home" poster="/tour.jpg" />'
|
|
8416
|
+
}
|
|
8417
|
+
],
|
|
8418
|
+
relatedComponents: [
|
|
8419
|
+
"Video",
|
|
8420
|
+
"AspectRatio",
|
|
8421
|
+
"MediaCarousel"
|
|
8422
|
+
]
|
|
8423
|
+
},
|
|
8424
|
+
{
|
|
8425
|
+
name: "MediaGrid",
|
|
8426
|
+
description: "Responsive gallery of media thumbnails with keyboard navigation",
|
|
8427
|
+
category: "media",
|
|
8428
|
+
importPath: "@classic-homes/theme-svelte",
|
|
8429
|
+
props: [
|
|
8430
|
+
{
|
|
8431
|
+
name: "items",
|
|
8432
|
+
type: "MediaItem[]",
|
|
8433
|
+
required: false,
|
|
8434
|
+
description: "Items to display"
|
|
8435
|
+
},
|
|
8436
|
+
{
|
|
8437
|
+
name: "label",
|
|
8438
|
+
type: "string",
|
|
8439
|
+
default: "'Media gallery'",
|
|
8440
|
+
required: false,
|
|
8441
|
+
description: "Accessible name for the gallery list"
|
|
8442
|
+
},
|
|
8443
|
+
{
|
|
8444
|
+
name: "variant",
|
|
8445
|
+
type: "'grid' | 'masonry'",
|
|
8446
|
+
default: "'grid'",
|
|
8447
|
+
required: false,
|
|
8448
|
+
description: "Uniform tiles, or natural heights via CSS columns"
|
|
8449
|
+
},
|
|
8450
|
+
{
|
|
8451
|
+
name: "columns",
|
|
8452
|
+
type: "MediaGridColumns",
|
|
8453
|
+
default: "{ base: 2, md: 3, lg: 4 }",
|
|
8454
|
+
required: false,
|
|
8455
|
+
description: "Column counts per breakpoint"
|
|
8456
|
+
},
|
|
8457
|
+
{
|
|
8458
|
+
name: "gap",
|
|
8459
|
+
type: "'none' | 'sm' | 'md' | 'lg'",
|
|
8460
|
+
default: "'md'",
|
|
8461
|
+
required: false,
|
|
8462
|
+
description: "Gap between tiles"
|
|
8463
|
+
},
|
|
8464
|
+
{
|
|
8465
|
+
name: "ratio",
|
|
8466
|
+
type: "'square' | 'video' | 'photo' | 'portrait' | 'wide' | number",
|
|
8467
|
+
default: "'square'",
|
|
8468
|
+
required: false,
|
|
8469
|
+
description: "Aspect ratio of each tile; ignored in `masonry`"
|
|
8470
|
+
},
|
|
8471
|
+
{
|
|
8472
|
+
name: "lightbox",
|
|
8473
|
+
type: "boolean",
|
|
8474
|
+
default: "true",
|
|
8475
|
+
required: false,
|
|
8476
|
+
description: "Open the built-in lightbox on selection"
|
|
8477
|
+
},
|
|
8478
|
+
{
|
|
8479
|
+
name: "singleTabStop",
|
|
8480
|
+
type: "boolean",
|
|
8481
|
+
default: "true",
|
|
8482
|
+
required: false,
|
|
8483
|
+
description: "Keep the gallery to one tab stop and move with the arrow keys"
|
|
8484
|
+
},
|
|
8485
|
+
{
|
|
8486
|
+
name: "onSelect",
|
|
8487
|
+
type: "(index: number, item: MediaItem) => void",
|
|
8488
|
+
required: false,
|
|
8489
|
+
description: "Called with the selected index and item"
|
|
8490
|
+
},
|
|
8491
|
+
{
|
|
8492
|
+
name: "class",
|
|
8493
|
+
type: "string",
|
|
8494
|
+
required: false,
|
|
8495
|
+
description: "Additional CSS classes"
|
|
8496
|
+
}
|
|
8497
|
+
],
|
|
8498
|
+
variants: [
|
|
7617
8499
|
{
|
|
7618
|
-
|
|
7619
|
-
|
|
8500
|
+
name: "variant",
|
|
8501
|
+
values: [
|
|
8502
|
+
"grid",
|
|
8503
|
+
"masonry"
|
|
8504
|
+
],
|
|
8505
|
+
default: "grid"
|
|
7620
8506
|
},
|
|
7621
8507
|
{
|
|
7622
|
-
|
|
7623
|
-
|
|
8508
|
+
name: "gap",
|
|
8509
|
+
values: [
|
|
8510
|
+
"none",
|
|
8511
|
+
"sm",
|
|
8512
|
+
"md",
|
|
8513
|
+
"lg"
|
|
8514
|
+
],
|
|
8515
|
+
default: "md"
|
|
7624
8516
|
},
|
|
7625
8517
|
{
|
|
7626
|
-
|
|
7627
|
-
|
|
8518
|
+
name: "ratio",
|
|
8519
|
+
values: [
|
|
8520
|
+
"square",
|
|
8521
|
+
"video",
|
|
8522
|
+
"photo",
|
|
8523
|
+
"portrait",
|
|
8524
|
+
"wide"
|
|
8525
|
+
],
|
|
8526
|
+
default: "square"
|
|
8527
|
+
}
|
|
8528
|
+
],
|
|
8529
|
+
slots: [
|
|
8530
|
+
{
|
|
8531
|
+
name: "children",
|
|
8532
|
+
description: "Main content",
|
|
8533
|
+
required: false
|
|
8534
|
+
}
|
|
8535
|
+
],
|
|
8536
|
+
events: [],
|
|
8537
|
+
examples: [
|
|
8538
|
+
{
|
|
8539
|
+
title: "Basic Usage",
|
|
8540
|
+
code: `<script>
|
|
8541
|
+
const photos = [
|
|
8542
|
+
{ id: '1', kind: 'image', src: '/one.jpg', alt: 'Front elevation' },
|
|
8543
|
+
{ id: '2', kind: 'image', src: '/two.jpg', alt: 'Kitchen' },
|
|
8544
|
+
{ id: '3', kind: 'video', src: '/tour.mp4', poster: '/tour.jpg', title: 'Walkthrough' },
|
|
8545
|
+
];
|
|
8546
|
+
</script>
|
|
8547
|
+
|
|
8548
|
+
<MediaGrid items={photos} label="Project photos" />`
|
|
7628
8549
|
}
|
|
7629
8550
|
],
|
|
7630
8551
|
relatedComponents: [
|
|
7631
|
-
"
|
|
7632
|
-
"
|
|
7633
|
-
"
|
|
8552
|
+
"Lightbox",
|
|
8553
|
+
"MediaCarousel",
|
|
8554
|
+
"Image",
|
|
8555
|
+
"AspectRatio"
|
|
7634
8556
|
]
|
|
7635
8557
|
},
|
|
7636
8558
|
{
|
|
@@ -10398,7 +11320,27 @@ var component_catalog_default = {
|
|
|
10398
11320
|
name: "userRoles",
|
|
10399
11321
|
type: "string[]",
|
|
10400
11322
|
required: false,
|
|
10401
|
-
description: "
|
|
11323
|
+
description: "Every role the user holds"
|
|
11324
|
+
},
|
|
11325
|
+
{
|
|
11326
|
+
name: "userPermissions",
|
|
11327
|
+
type: "string[]",
|
|
11328
|
+
required: false,
|
|
11329
|
+
description: "Every permission the user holds"
|
|
11330
|
+
},
|
|
11331
|
+
{
|
|
11332
|
+
name: "requireAllRoles",
|
|
11333
|
+
type: "boolean",
|
|
11334
|
+
default: "false",
|
|
11335
|
+
required: false,
|
|
11336
|
+
description: "Require ALL of an item's roles rather than any"
|
|
11337
|
+
},
|
|
11338
|
+
{
|
|
11339
|
+
name: "requireAllPermissions",
|
|
11340
|
+
type: "boolean",
|
|
11341
|
+
default: "false",
|
|
11342
|
+
required: false,
|
|
11343
|
+
description: "Require ALL of an item's permissions rather than any"
|
|
10402
11344
|
},
|
|
10403
11345
|
{
|
|
10404
11346
|
name: "collapsed",
|
|
@@ -12454,6 +13396,204 @@ var component_catalog_default = {
|
|
|
12454
13396
|
"PieChart",
|
|
12455
13397
|
"SankeyChart"
|
|
12456
13398
|
]
|
|
13399
|
+
},
|
|
13400
|
+
{
|
|
13401
|
+
name: "Video",
|
|
13402
|
+
description: "Video player with themed controls and full keyboard support",
|
|
13403
|
+
category: "media",
|
|
13404
|
+
importPath: "@classic-homes/theme-svelte",
|
|
13405
|
+
props: [
|
|
13406
|
+
{
|
|
13407
|
+
name: "item",
|
|
13408
|
+
type: "VideoMediaItem",
|
|
13409
|
+
required: false,
|
|
13410
|
+
description: "Supplies `src`, `poster`, `tracks`, and the label in one object"
|
|
13411
|
+
},
|
|
13412
|
+
{
|
|
13413
|
+
name: "src",
|
|
13414
|
+
type: "string | MediaSource[]",
|
|
13415
|
+
required: false,
|
|
13416
|
+
description: "A single URL, or several sources for format fallback"
|
|
13417
|
+
},
|
|
13418
|
+
{
|
|
13419
|
+
name: "poster",
|
|
13420
|
+
type: "string",
|
|
13421
|
+
required: false,
|
|
13422
|
+
description: "Image shown before playback starts"
|
|
13423
|
+
},
|
|
13424
|
+
{
|
|
13425
|
+
name: "tracks",
|
|
13426
|
+
type: "MediaTextTrack[]",
|
|
13427
|
+
default: "[]",
|
|
13428
|
+
required: false,
|
|
13429
|
+
description: "Caption and subtitle tracks"
|
|
13430
|
+
},
|
|
13431
|
+
{
|
|
13432
|
+
name: "label",
|
|
13433
|
+
type: "string",
|
|
13434
|
+
default: "'Video player'",
|
|
13435
|
+
required: false,
|
|
13436
|
+
description: "Accessible name for the player region"
|
|
13437
|
+
},
|
|
13438
|
+
{
|
|
13439
|
+
name: "ratio",
|
|
13440
|
+
type: "'square' | 'video' | 'photo' | 'portrait' | 'wide' | number",
|
|
13441
|
+
default: "'video'",
|
|
13442
|
+
required: false,
|
|
13443
|
+
description: "Aspect ratio; pass `null` to size from the content"
|
|
13444
|
+
},
|
|
13445
|
+
{
|
|
13446
|
+
name: "fit",
|
|
13447
|
+
type: "'cover' | 'contain' | 'fill' | 'none' | 'scale-down'",
|
|
13448
|
+
default: "'contain'",
|
|
13449
|
+
required: false,
|
|
13450
|
+
description: "How the video fills its box"
|
|
13451
|
+
},
|
|
13452
|
+
{
|
|
13453
|
+
name: "autoplay",
|
|
13454
|
+
type: "boolean",
|
|
13455
|
+
default: "false",
|
|
13456
|
+
required: false,
|
|
13457
|
+
description: "Start playing automatically; implies `muted`"
|
|
13458
|
+
},
|
|
13459
|
+
{
|
|
13460
|
+
name: "muted",
|
|
13461
|
+
type: "boolean",
|
|
13462
|
+
default: "false",
|
|
13463
|
+
required: false,
|
|
13464
|
+
description: "Start muted"
|
|
13465
|
+
},
|
|
13466
|
+
{
|
|
13467
|
+
name: "loop",
|
|
13468
|
+
type: "boolean",
|
|
13469
|
+
default: "false",
|
|
13470
|
+
required: false,
|
|
13471
|
+
description: "Loop playback"
|
|
13472
|
+
},
|
|
13473
|
+
{
|
|
13474
|
+
name: "volume",
|
|
13475
|
+
type: "number",
|
|
13476
|
+
default: "1",
|
|
13477
|
+
required: false,
|
|
13478
|
+
description: "Initial volume, 0 to 1"
|
|
13479
|
+
},
|
|
13480
|
+
{
|
|
13481
|
+
name: "preload",
|
|
13482
|
+
type: "'none' | 'metadata' | 'auto'",
|
|
13483
|
+
default: "'metadata'",
|
|
13484
|
+
required: false,
|
|
13485
|
+
description: "How much to preload"
|
|
13486
|
+
},
|
|
13487
|
+
{
|
|
13488
|
+
name: "hideControls",
|
|
13489
|
+
type: "boolean",
|
|
13490
|
+
default: "false",
|
|
13491
|
+
required: false,
|
|
13492
|
+
description: "Hide the control bar entirely"
|
|
13493
|
+
},
|
|
13494
|
+
{
|
|
13495
|
+
name: "showPictureInPicture",
|
|
13496
|
+
type: "boolean",
|
|
13497
|
+
default: "true",
|
|
13498
|
+
required: false,
|
|
13499
|
+
description: "Show the picture-in-picture button"
|
|
13500
|
+
},
|
|
13501
|
+
{
|
|
13502
|
+
name: "showFullscreen",
|
|
13503
|
+
type: "boolean",
|
|
13504
|
+
default: "true",
|
|
13505
|
+
required: false,
|
|
13506
|
+
description: "Show the fullscreen button"
|
|
13507
|
+
},
|
|
13508
|
+
{
|
|
13509
|
+
name: "onEnded",
|
|
13510
|
+
type: "() => void",
|
|
13511
|
+
required: false,
|
|
13512
|
+
description: "Called when playback ends"
|
|
13513
|
+
},
|
|
13514
|
+
{
|
|
13515
|
+
name: "onTimeUpdate",
|
|
13516
|
+
type: "(currentTime: number) => void",
|
|
13517
|
+
required: false,
|
|
13518
|
+
description: "Called on each time update, with seconds elapsed"
|
|
13519
|
+
},
|
|
13520
|
+
{
|
|
13521
|
+
name: "hlsLoader",
|
|
13522
|
+
type: "() => Promise<HlsConstructor>",
|
|
13523
|
+
required: false,
|
|
13524
|
+
description: "Per-player hls.js loader, overriding the registered one"
|
|
13525
|
+
},
|
|
13526
|
+
{
|
|
13527
|
+
name: "hlsConfig",
|
|
13528
|
+
type: "Record<string, unknown>",
|
|
13529
|
+
required: false,
|
|
13530
|
+
description: "Extra hls.js configuration"
|
|
13531
|
+
},
|
|
13532
|
+
{
|
|
13533
|
+
name: "class",
|
|
13534
|
+
type: "string",
|
|
13535
|
+
required: false,
|
|
13536
|
+
description: "Additional CSS classes"
|
|
13537
|
+
}
|
|
13538
|
+
],
|
|
13539
|
+
variants: [
|
|
13540
|
+
{
|
|
13541
|
+
name: "ratio",
|
|
13542
|
+
values: [
|
|
13543
|
+
"square",
|
|
13544
|
+
"video",
|
|
13545
|
+
"photo",
|
|
13546
|
+
"portrait",
|
|
13547
|
+
"wide"
|
|
13548
|
+
],
|
|
13549
|
+
default: "video"
|
|
13550
|
+
},
|
|
13551
|
+
{
|
|
13552
|
+
name: "fit",
|
|
13553
|
+
values: [
|
|
13554
|
+
"cover",
|
|
13555
|
+
"contain",
|
|
13556
|
+
"fill",
|
|
13557
|
+
"none",
|
|
13558
|
+
"scale-down"
|
|
13559
|
+
],
|
|
13560
|
+
default: "contain"
|
|
13561
|
+
},
|
|
13562
|
+
{
|
|
13563
|
+
name: "preload",
|
|
13564
|
+
values: [
|
|
13565
|
+
"none",
|
|
13566
|
+
"metadata",
|
|
13567
|
+
"auto"
|
|
13568
|
+
],
|
|
13569
|
+
default: "metadata"
|
|
13570
|
+
}
|
|
13571
|
+
],
|
|
13572
|
+
slots: [
|
|
13573
|
+
{
|
|
13574
|
+
name: "children",
|
|
13575
|
+
description: "Main content",
|
|
13576
|
+
required: false
|
|
13577
|
+
}
|
|
13578
|
+
],
|
|
13579
|
+
events: [],
|
|
13580
|
+
examples: [
|
|
13581
|
+
{
|
|
13582
|
+
title: "Basic Usage",
|
|
13583
|
+
code: `<Video
|
|
13584
|
+
src="/walkthrough.mp4"
|
|
13585
|
+
poster="/walkthrough.jpg"
|
|
13586
|
+
label="Product walkthrough"
|
|
13587
|
+
tracks={[{ src: '/walkthrough.en.vtt', srclang: 'en', label: 'English', default: true }]}
|
|
13588
|
+
/>`
|
|
13589
|
+
}
|
|
13590
|
+
],
|
|
13591
|
+
relatedComponents: [
|
|
13592
|
+
"Audio",
|
|
13593
|
+
"MediaEmbed",
|
|
13594
|
+
"Lightbox",
|
|
13595
|
+
"MediaCarousel"
|
|
13596
|
+
]
|
|
12457
13597
|
}
|
|
12458
13598
|
]
|
|
12459
13599
|
};
|
|
@@ -12538,7 +13678,7 @@ function registerComponentResources(server) {
|
|
|
12538
13678
|
|
|
12539
13679
|
// src/data/token-definitions.json
|
|
12540
13680
|
var token_definitions_default = {
|
|
12541
|
-
version: "0.
|
|
13681
|
+
version: "0.2.0",
|
|
12542
13682
|
colors: {
|
|
12543
13683
|
brand: [
|
|
12544
13684
|
{
|
|
@@ -13485,7 +14625,7 @@ function registerTokenResources(server) {
|
|
|
13485
14625
|
|
|
13486
14626
|
// src/data/styles-catalog.json
|
|
13487
14627
|
var styles_catalog_default = {
|
|
13488
|
-
version: "0.
|
|
14628
|
+
version: "0.2.0",
|
|
13489
14629
|
package: "@classic-homes/theme-styles",
|
|
13490
14630
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
13491
14631
|
integration: {
|
|
@@ -13858,7 +14998,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
13858
14998
|
|
|
13859
14999
|
// src/data/pattern-library.json
|
|
13860
15000
|
var pattern_library_default = {
|
|
13861
|
-
version: "0.
|
|
15001
|
+
version: "0.2.0",
|
|
13862
15002
|
layouts: [
|
|
13863
15003
|
{
|
|
13864
15004
|
id: "dashboard-page",
|
|
@@ -14968,7 +16108,7 @@ function registerLayoutResources(server) {
|
|
|
14968
16108
|
|
|
14969
16109
|
// src/data/schema-catalog.json
|
|
14970
16110
|
var schema_catalog_default = {
|
|
14971
|
-
version: "0.
|
|
16111
|
+
version: "0.2.0",
|
|
14972
16112
|
packageName: "@classic-homes/theme-svelte",
|
|
14973
16113
|
importPath: "@classic-homes/theme-svelte",
|
|
14974
16114
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -15100,6 +16240,11 @@ var schema_catalog_default = {
|
|
|
15100
16240
|
description: "Auth Tokens type export",
|
|
15101
16241
|
importPath: "@classic-homes/theme-svelte"
|
|
15102
16242
|
},
|
|
16243
|
+
{
|
|
16244
|
+
name: "AuthUser",
|
|
16245
|
+
description: "Auth User type export",
|
|
16246
|
+
importPath: "@classic-homes/theme-svelte"
|
|
16247
|
+
},
|
|
15103
16248
|
{
|
|
15104
16249
|
name: "ChangePasswordFormData",
|
|
15105
16250
|
description: "Change Password Form Data type export",
|
|
@@ -15149,11 +16294,6 @@ var schema_catalog_default = {
|
|
|
15149
16294
|
name: "ResetPasswordFormData",
|
|
15150
16295
|
description: "Reset Password Form Data type export",
|
|
15151
16296
|
importPath: "@classic-homes/theme-svelte"
|
|
15152
|
-
},
|
|
15153
|
-
{
|
|
15154
|
-
name: "User",
|
|
15155
|
-
description: "User type export",
|
|
15156
|
-
importPath: "@classic-homes/theme-svelte"
|
|
15157
16297
|
}
|
|
15158
16298
|
]
|
|
15159
16299
|
},
|
|
@@ -15406,6 +16546,11 @@ var schema_catalog_default = {
|
|
|
15406
16546
|
description: "Auth tokens validation (accessToken, refreshToken)",
|
|
15407
16547
|
importPath: "@classic-homes/theme-svelte"
|
|
15408
16548
|
},
|
|
16549
|
+
{
|
|
16550
|
+
name: "AuthUser",
|
|
16551
|
+
description: "Auth User type export",
|
|
16552
|
+
importPath: "@classic-homes/theme-svelte"
|
|
16553
|
+
},
|
|
15409
16554
|
{
|
|
15410
16555
|
name: "ChangePasswordFormData",
|
|
15411
16556
|
description: "Change Password Form Data type export",
|
|
@@ -15706,11 +16851,6 @@ var schema_catalog_default = {
|
|
|
15706
16851
|
description: "URL validation",
|
|
15707
16852
|
importPath: "@classic-homes/theme-svelte"
|
|
15708
16853
|
},
|
|
15709
|
-
{
|
|
15710
|
-
name: "User",
|
|
15711
|
-
description: "User type export",
|
|
15712
|
-
importPath: "@classic-homes/theme-svelte"
|
|
15713
|
-
},
|
|
15714
16854
|
{
|
|
15715
16855
|
name: "usernameSchema",
|
|
15716
16856
|
description: "Username validation (3-30 chars, alphanumeric)",
|
|
@@ -15776,7 +16916,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
15776
16916
|
|
|
15777
16917
|
// src/data/auth-catalog.json
|
|
15778
16918
|
var auth_catalog_default = {
|
|
15779
|
-
version: "0.
|
|
16919
|
+
version: "0.2.0",
|
|
15780
16920
|
packageName: "@classic-homes/auth",
|
|
15781
16921
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
15782
16922
|
subpackages: {
|
|
@@ -16142,6 +17282,30 @@ var auth_catalog_default = {
|
|
|
16142
17282
|
name: "authApi.regenerateBackupCodes",
|
|
16143
17283
|
signature: "(password: string) => Promise<{ backupCodes: string[] }>",
|
|
16144
17284
|
description: "Regenerate MFA backup codes"
|
|
17285
|
+
},
|
|
17286
|
+
{
|
|
17287
|
+
name: "authApi.getUserRoles",
|
|
17288
|
+
signature: "(userId: string, customFetch?: typeof fetch) => Promise<UserRolesResponse>",
|
|
17289
|
+
description: "List a user's roles. Requires users:read.",
|
|
17290
|
+
example: "const { roles, primaryRole } = await authApi.getUserRoles(userId);"
|
|
17291
|
+
},
|
|
17292
|
+
{
|
|
17293
|
+
name: "authApi.grantUserRole",
|
|
17294
|
+
signature: "(userId: string, role: string) => Promise<UserRolesResponse>",
|
|
17295
|
+
description: "Grant a role to a user; idempotent. Requires users:update. Takes effect on that user's next token refresh, not their next request. The server rejects granting a role at or above the acting user's own level.",
|
|
17296
|
+
example: "await authApi.grantUserRole(userId, 'agent');"
|
|
17297
|
+
},
|
|
17298
|
+
{
|
|
17299
|
+
name: "authApi.revokeUserRole",
|
|
17300
|
+
signature: "(userId: string, role: string) => Promise<UserRolesResponse>",
|
|
17301
|
+
description: "Revoke a role from a user. Requires users:update. The server rejects removing a user's last role.",
|
|
17302
|
+
example: "await authApi.revokeUserRole(userId, 'agent');"
|
|
17303
|
+
},
|
|
17304
|
+
{
|
|
17305
|
+
name: "authApi.setUserRoles",
|
|
17306
|
+
signature: "(userId: string, roles: string[]) => Promise<User>",
|
|
17307
|
+
description: "Replace a user's entire role set. Roles absent from the array are revoked, so read-modify-write against getUserRoles rather than passing a set built from stale state.",
|
|
17308
|
+
example: "await authApi.setUserRoles(userId, ['manager', 'agent']);"
|
|
16145
17309
|
}
|
|
16146
17310
|
]
|
|
16147
17311
|
},
|
|
@@ -16282,6 +17446,65 @@ var auth_catalog_default = {
|
|
|
16282
17446
|
}
|
|
16283
17447
|
]
|
|
16284
17448
|
},
|
|
17449
|
+
roles: {
|
|
17450
|
+
description: "Role taxonomy and membership checks. A user holds a set of roles; their permissions are the union across all of them.",
|
|
17451
|
+
functions: [
|
|
17452
|
+
{
|
|
17453
|
+
name: "getUserRoles",
|
|
17454
|
+
signature: "(user: Pick<User, 'roles'> | null | undefined) => string[]",
|
|
17455
|
+
description: "Read a user's role set, returning [] for a null user or an absent field",
|
|
17456
|
+
example: "import { getUserRoles } from '@classic-homes/auth/core';\n\ngetUserRoles(user); // ['manager', 'agent']"
|
|
17457
|
+
},
|
|
17458
|
+
{
|
|
17459
|
+
name: "computePrimaryRole",
|
|
17460
|
+
signature: "(roles: readonly string[]) => RoleName",
|
|
17461
|
+
description: "Highest-tier role held, for display. A label, not a capability - never gate on it. Ties break by ROLE_NAMES order; empty or unknown sets return 'guest'.",
|
|
17462
|
+
example: "import { computePrimaryRole } from '@classic-homes/auth/core';\n\ncomputePrimaryRole(['user', 'admin']); // 'admin'\ncomputePrimaryRole([]); // 'guest'"
|
|
17463
|
+
},
|
|
17464
|
+
{
|
|
17465
|
+
name: "getEffectiveLevel",
|
|
17466
|
+
signature: "(roles: readonly string[]) => number",
|
|
17467
|
+
description: "Effective privilege level - the max across all roles held. Unknown roles count as 0.",
|
|
17468
|
+
example: "import { getEffectiveLevel } from '@classic-homes/auth/core';\n\ngetEffectiveLevel(['user', 'manager']); // 3"
|
|
17469
|
+
},
|
|
17470
|
+
{
|
|
17471
|
+
name: "hasRole",
|
|
17472
|
+
signature: "(user: Pick<User, 'roles'> | null | undefined, role: string) => boolean",
|
|
17473
|
+
description: "Whether the user holds a role. Exact membership - holding 'admin' does not imply 'agent'. Matches the API's requireRole so the UI cannot offer what the server will reject.",
|
|
17474
|
+
example: "import { hasRole } from '@classic-homes/auth/core';\n\nhasRole(user, 'agent'); // true only if 'agent' is in user.roles"
|
|
17475
|
+
},
|
|
17476
|
+
{
|
|
17477
|
+
name: "hasAnyRole",
|
|
17478
|
+
signature: "(user: Pick<User, 'roles'> | null | undefined, roles: readonly string[]) => boolean",
|
|
17479
|
+
description: "Whether the user holds at least one of the given roles. An empty list matches nothing.",
|
|
17480
|
+
example: "import { hasAnyRole } from '@classic-homes/auth/core';\n\nhasAnyRole(user, ['admin', 'agent']);"
|
|
17481
|
+
},
|
|
17482
|
+
{
|
|
17483
|
+
name: "hasAllRoles",
|
|
17484
|
+
signature: "(user: Pick<User, 'roles'> | null | undefined, roles: readonly string[]) => boolean",
|
|
17485
|
+
description: "Whether the user holds every one of the given roles. An empty list matches vacuously.",
|
|
17486
|
+
example: "import { hasAllRoles } from '@classic-homes/auth/core';\n\nhasAllRoles(user, ['manager', 'agent']);"
|
|
17487
|
+
}
|
|
17488
|
+
],
|
|
17489
|
+
constants: [
|
|
17490
|
+
{
|
|
17491
|
+
name: "ROLE_NAMES",
|
|
17492
|
+
type: "readonly RoleName[]",
|
|
17493
|
+
description: "Every role name, ordered most to least privileged: admin, manager, agent, builder, customer_service, demo, stormwater, accounting_staff, architecture_staff, construction_staff, crl_staff, design_staff, hr_staff, it_staff, landdev_staff, marketing_staff, purchasing_staff, sales_staff, warranty_staff, employee, user, vendor, customer, subcontractor, guest. Order is load-bearing - computePrimaryRole takes the first match."
|
|
17494
|
+
},
|
|
17495
|
+
{
|
|
17496
|
+
name: "ROLE_HIERARCHY",
|
|
17497
|
+
type: "Record<string, number>",
|
|
17498
|
+
description: "Privilege level per role: guest 0; user/vendor/customer/subcontractor 1; employee/agent/builder/customer_service/demo/stormwater and every <department>_staff 2; manager 3; admin 4."
|
|
17499
|
+
}
|
|
17500
|
+
],
|
|
17501
|
+
types: [
|
|
17502
|
+
{
|
|
17503
|
+
name: "RoleName",
|
|
17504
|
+
description: "A known role name. Role values stay `string` at API boundaries - the server can add a role before this package ships a matching release, and an unknown role degrades rather than breaking. For authoring ergonomics, not runtime validation."
|
|
17505
|
+
}
|
|
17506
|
+
]
|
|
17507
|
+
},
|
|
16285
17508
|
errors: {
|
|
16286
17509
|
description: "Custom error types for authentication operations",
|
|
16287
17510
|
functions: [
|
|
@@ -16467,23 +17690,17 @@ formatUserRoles(user, { lowercase: true }); // "admin, manager"`
|
|
|
16467
17690
|
required: false,
|
|
16468
17691
|
description: "Phone number"
|
|
16469
17692
|
},
|
|
16470
|
-
{
|
|
16471
|
-
name: "role",
|
|
16472
|
-
type: "string",
|
|
16473
|
-
required: true,
|
|
16474
|
-
description: "Primary role"
|
|
16475
|
-
},
|
|
16476
17693
|
{
|
|
16477
17694
|
name: "roles",
|
|
16478
17695
|
type: "string[]",
|
|
16479
|
-
required:
|
|
16480
|
-
description: "
|
|
17696
|
+
required: true,
|
|
17697
|
+
description: "Every role the user holds. Permissions are the union across all of them, so access is broader than any single role. Use computePrimaryRole(user.roles) when you need one role to display."
|
|
16481
17698
|
},
|
|
16482
17699
|
{
|
|
16483
17700
|
name: "permissions",
|
|
16484
17701
|
type: "string[]",
|
|
16485
17702
|
required: true,
|
|
16486
|
-
description: "
|
|
17703
|
+
description: "Union of the permissions granted by every role in roles"
|
|
16487
17704
|
},
|
|
16488
17705
|
{
|
|
16489
17706
|
name: "isActive",
|
|
@@ -17446,6 +18663,30 @@ formatUserRoles(user, { lowercase: true }); // "admin, manager"`
|
|
|
17446
18663
|
description: "Total pages"
|
|
17447
18664
|
}
|
|
17448
18665
|
]
|
|
18666
|
+
},
|
|
18667
|
+
{
|
|
18668
|
+
name: "UserRolesResponse",
|
|
18669
|
+
description: "The result of reading or changing a user's roles",
|
|
18670
|
+
properties: [
|
|
18671
|
+
{
|
|
18672
|
+
name: "userId",
|
|
18673
|
+
type: "string",
|
|
18674
|
+
required: true,
|
|
18675
|
+
description: "The user whose roles these are"
|
|
18676
|
+
},
|
|
18677
|
+
{
|
|
18678
|
+
name: "roles",
|
|
18679
|
+
type: "string[]",
|
|
18680
|
+
required: true,
|
|
18681
|
+
description: "The user's full role set after the operation"
|
|
18682
|
+
},
|
|
18683
|
+
{
|
|
18684
|
+
name: "primaryRole",
|
|
18685
|
+
type: "string",
|
|
18686
|
+
required: true,
|
|
18687
|
+
description: "Highest-tier role in roles, as resolved by the server. A display label - actual access is the union of every role."
|
|
18688
|
+
}
|
|
18689
|
+
]
|
|
17449
18690
|
}
|
|
17450
18691
|
]
|
|
17451
18692
|
},
|
|
@@ -18712,7 +19953,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
18712
19953
|
|
|
18713
19954
|
// src/data/notifications-catalog.json
|
|
18714
19955
|
var notifications_catalog_default = {
|
|
18715
|
-
version: "0.
|
|
19956
|
+
version: "0.2.0",
|
|
18716
19957
|
packageName: "@classic-homes/notifications",
|
|
18717
19958
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
18718
19959
|
subpackages: {
|
|
@@ -19624,7 +20865,7 @@ function registerNotificationsResources(server) {
|
|
|
19624
20865
|
|
|
19625
20866
|
// src/data/docs-catalog.json
|
|
19626
20867
|
var docs_catalog_default = {
|
|
19627
|
-
version: "0.
|
|
20868
|
+
version: "0.2.0",
|
|
19628
20869
|
packageName: "@classic-homes/theme-docs",
|
|
19629
20870
|
description: "Markdown documentation components for the Classic theme system",
|
|
19630
20871
|
exports: {
|
|
@@ -20552,7 +21793,7 @@ function registerDocsResources(server) {
|
|
|
20552
21793
|
|
|
20553
21794
|
// src/data/charts-catalog.json
|
|
20554
21795
|
var charts_catalog_default = {
|
|
20555
|
-
version: "0.
|
|
21796
|
+
version: "0.2.0",
|
|
20556
21797
|
packageName: "@classic-homes/charts-core",
|
|
20557
21798
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
20558
21799
|
subpackages: {
|
|
@@ -22389,7 +23630,7 @@ interface SankeyData {
|
|
|
22389
23630
|
|
|
22390
23631
|
// src/data/maps-catalog.json
|
|
22391
23632
|
var maps_catalog_default = {
|
|
22392
|
-
version: "0.
|
|
23633
|
+
version: "0.2.0",
|
|
22393
23634
|
packageName: "@classic-homes/maps-core",
|
|
22394
23635
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
22395
23636
|
subpackages: {
|
|
@@ -27524,7 +28765,7 @@ ${catalog5.quickReference.tailwindConfig}
|
|
|
27524
28765
|
|
|
27525
28766
|
// src/data/native-catalog.json
|
|
27526
28767
|
var native_catalog_default = {
|
|
27527
|
-
version: "0.
|
|
28768
|
+
version: "0.2.0",
|
|
27528
28769
|
packageName: "@classic-homes/native",
|
|
27529
28770
|
description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
|
|
27530
28771
|
subpackages: {
|
|
@@ -29899,7 +31140,7 @@ function registerPrompts(server) {
|
|
|
29899
31140
|
// package.json
|
|
29900
31141
|
var package_default = {
|
|
29901
31142
|
name: "@classic-homes/theme-mcp",
|
|
29902
|
-
version: "0.
|
|
31143
|
+
version: "0.2.0",
|
|
29903
31144
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
29904
31145
|
type: "module",
|
|
29905
31146
|
main: "dist/index.js",
|