@classic-homes/theme-mcp 0.5.0 → 0.5.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.
|
@@ -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.1",
|
|
10
10
|
components: [
|
|
11
11
|
{
|
|
12
12
|
name: "ActionHeader",
|
|
@@ -4590,6 +4590,90 @@ var component_catalog_default = {
|
|
|
4590
4590
|
],
|
|
4591
4591
|
relatedComponents: []
|
|
4592
4592
|
},
|
|
4593
|
+
{
|
|
4594
|
+
name: "Collapsible",
|
|
4595
|
+
description: "Show and hide a region from a trigger button",
|
|
4596
|
+
category: "layout",
|
|
4597
|
+
importPath: "@classic-homes/theme-svelte",
|
|
4598
|
+
props: [
|
|
4599
|
+
{
|
|
4600
|
+
name: "open",
|
|
4601
|
+
type: "boolean",
|
|
4602
|
+
default: "false",
|
|
4603
|
+
required: false,
|
|
4604
|
+
description: "Whether the content is shown (bindable)"
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
name: "onOpenChange",
|
|
4608
|
+
type: "(open: boolean) => void",
|
|
4609
|
+
required: false,
|
|
4610
|
+
description: "Called when the state changes"
|
|
4611
|
+
},
|
|
4612
|
+
{
|
|
4613
|
+
name: "disabled",
|
|
4614
|
+
type: "boolean",
|
|
4615
|
+
default: "false",
|
|
4616
|
+
required: false,
|
|
4617
|
+
description: "Disables the trigger"
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
name: "label",
|
|
4621
|
+
type: "string",
|
|
4622
|
+
required: false,
|
|
4623
|
+
description: "Trigger text (ignored with `trigger`)"
|
|
4624
|
+
},
|
|
4625
|
+
{
|
|
4626
|
+
name: "trigger",
|
|
4627
|
+
type: "Snippet<[{ open }]>",
|
|
4628
|
+
required: false,
|
|
4629
|
+
description: "Custom trigger content"
|
|
4630
|
+
},
|
|
4631
|
+
{
|
|
4632
|
+
name: "chevron",
|
|
4633
|
+
type: "boolean",
|
|
4634
|
+
default: "true",
|
|
4635
|
+
required: false,
|
|
4636
|
+
description: "Show the rotating chevron"
|
|
4637
|
+
},
|
|
4638
|
+
{
|
|
4639
|
+
name: "class",
|
|
4640
|
+
type: "string",
|
|
4641
|
+
required: false,
|
|
4642
|
+
description: "Classes for the root"
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
name: "triggerClass",
|
|
4646
|
+
type: "string",
|
|
4647
|
+
required: false,
|
|
4648
|
+
description: "Classes for the trigger button"
|
|
4649
|
+
},
|
|
4650
|
+
{
|
|
4651
|
+
name: "contentClass",
|
|
4652
|
+
type: "string",
|
|
4653
|
+
required: false,
|
|
4654
|
+
description: "Classes for the content region"
|
|
4655
|
+
}
|
|
4656
|
+
],
|
|
4657
|
+
variants: [],
|
|
4658
|
+
slots: [
|
|
4659
|
+
{
|
|
4660
|
+
name: "children",
|
|
4661
|
+
description: "Main content",
|
|
4662
|
+
required: false
|
|
4663
|
+
}
|
|
4664
|
+
],
|
|
4665
|
+
events: [],
|
|
4666
|
+
examples: [
|
|
4667
|
+
{
|
|
4668
|
+
title: "Basic Usage",
|
|
4669
|
+
code: '<Collapsible label="Show details">\n <p class="pt-2 text-sm text-muted-foreground">Details go here.</p>\n</Collapsible>'
|
|
4670
|
+
}
|
|
4671
|
+
],
|
|
4672
|
+
relatedComponents: [
|
|
4673
|
+
"Tabs",
|
|
4674
|
+
"Sheet"
|
|
4675
|
+
]
|
|
4676
|
+
},
|
|
4593
4677
|
{
|
|
4594
4678
|
name: "Combobox",
|
|
4595
4679
|
description: "Searchable select with async loading support",
|
|
@@ -5196,6 +5280,106 @@ var component_catalog_default = {
|
|
|
5196
5280
|
],
|
|
5197
5281
|
relatedComponents: []
|
|
5198
5282
|
},
|
|
5283
|
+
{
|
|
5284
|
+
name: "CopyButton",
|
|
5285
|
+
description: "Copy text to the clipboard with confirmation",
|
|
5286
|
+
category: "core",
|
|
5287
|
+
importPath: "@classic-homes/theme-svelte",
|
|
5288
|
+
props: [
|
|
5289
|
+
{
|
|
5290
|
+
name: "value",
|
|
5291
|
+
type: "string | () => string | Promise<string>",
|
|
5292
|
+
required: true,
|
|
5293
|
+
description: "Text to copy, or a function read on click"
|
|
5294
|
+
},
|
|
5295
|
+
{
|
|
5296
|
+
name: "label",
|
|
5297
|
+
type: "string",
|
|
5298
|
+
default: "'Copy'",
|
|
5299
|
+
required: false,
|
|
5300
|
+
description: "Accessible name and tooltip before copying"
|
|
5301
|
+
},
|
|
5302
|
+
{
|
|
5303
|
+
name: "copiedLabel",
|
|
5304
|
+
type: "string",
|
|
5305
|
+
default: "'Copied'",
|
|
5306
|
+
required: false,
|
|
5307
|
+
description: "Name, tooltip and announcement after copying"
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
name: "timeout",
|
|
5311
|
+
type: "number",
|
|
5312
|
+
default: "2000",
|
|
5313
|
+
required: false,
|
|
5314
|
+
description: "How long the copied state lasts (ms)"
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
name: "variant",
|
|
5318
|
+
type: "Button variant",
|
|
5319
|
+
default: "'ghost'",
|
|
5320
|
+
required: false,
|
|
5321
|
+
description: "Button variant"
|
|
5322
|
+
},
|
|
5323
|
+
{
|
|
5324
|
+
name: "size",
|
|
5325
|
+
type: "Button size",
|
|
5326
|
+
default: "'icon'",
|
|
5327
|
+
required: false,
|
|
5328
|
+
description: "Button size (`'sm'` when children are given)"
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
name: "tooltip",
|
|
5332
|
+
type: "boolean",
|
|
5333
|
+
default: "true",
|
|
5334
|
+
required: false,
|
|
5335
|
+
description: "Tooltip on the icon-only button"
|
|
5336
|
+
},
|
|
5337
|
+
{
|
|
5338
|
+
name: "disabled",
|
|
5339
|
+
type: "boolean",
|
|
5340
|
+
default: "false",
|
|
5341
|
+
required: false,
|
|
5342
|
+
description: "Disables the button"
|
|
5343
|
+
},
|
|
5344
|
+
{
|
|
5345
|
+
name: "oncopy",
|
|
5346
|
+
type: "(text: string) => void",
|
|
5347
|
+
required: false,
|
|
5348
|
+
description: "Called after a successful write"
|
|
5349
|
+
},
|
|
5350
|
+
{
|
|
5351
|
+
name: "onerror",
|
|
5352
|
+
type: "(error: unknown) => void",
|
|
5353
|
+
required: false,
|
|
5354
|
+
description: "Called when the clipboard is unavailable"
|
|
5355
|
+
},
|
|
5356
|
+
{
|
|
5357
|
+
name: "class",
|
|
5358
|
+
type: "string",
|
|
5359
|
+
required: false,
|
|
5360
|
+
description: "Additional classes"
|
|
5361
|
+
}
|
|
5362
|
+
],
|
|
5363
|
+
variants: [],
|
|
5364
|
+
slots: [
|
|
5365
|
+
{
|
|
5366
|
+
name: "children",
|
|
5367
|
+
description: "Main content",
|
|
5368
|
+
required: false
|
|
5369
|
+
}
|
|
5370
|
+
],
|
|
5371
|
+
events: [],
|
|
5372
|
+
examples: [
|
|
5373
|
+
{
|
|
5374
|
+
title: "Basic Usage",
|
|
5375
|
+
code: '<CopyButton value="npm install @classic-homes/theme-svelte" />'
|
|
5376
|
+
}
|
|
5377
|
+
],
|
|
5378
|
+
relatedComponents: [
|
|
5379
|
+
"Button",
|
|
5380
|
+
"Tooltip"
|
|
5381
|
+
]
|
|
5382
|
+
},
|
|
5199
5383
|
{
|
|
5200
5384
|
name: "DashboardLayout",
|
|
5201
5385
|
description: "Complete dashboard layout with responsive sidebar and header",
|
|
@@ -8667,6 +8851,102 @@ var component_catalog_default = {
|
|
|
8667
8851
|
"DocumentViewer"
|
|
8668
8852
|
]
|
|
8669
8853
|
},
|
|
8854
|
+
{
|
|
8855
|
+
name: "EmptyState",
|
|
8856
|
+
description: "Placeholder for a view with nothing to show yet",
|
|
8857
|
+
category: "feedback",
|
|
8858
|
+
importPath: "@classic-homes/theme-svelte",
|
|
8859
|
+
props: [
|
|
8860
|
+
{
|
|
8861
|
+
name: "title",
|
|
8862
|
+
type: "string",
|
|
8863
|
+
required: true,
|
|
8864
|
+
description: "Title"
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
name: "description",
|
|
8868
|
+
type: "string",
|
|
8869
|
+
required: false,
|
|
8870
|
+
description: "Supporting text"
|
|
8871
|
+
},
|
|
8872
|
+
{
|
|
8873
|
+
name: "icon",
|
|
8874
|
+
type: "IconName",
|
|
8875
|
+
required: false,
|
|
8876
|
+
description: "Icon in a muted circle"
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
name: "size",
|
|
8880
|
+
type: "'sm' | 'md'",
|
|
8881
|
+
default: "'md'",
|
|
8882
|
+
required: false,
|
|
8883
|
+
description: "`sm` for panels and lists, `md` for pages"
|
|
8884
|
+
},
|
|
8885
|
+
{
|
|
8886
|
+
name: "headingLevel",
|
|
8887
|
+
type: "'h2' | 'h3' | 'h4' | 'p'",
|
|
8888
|
+
default: "'h3'",
|
|
8889
|
+
required: false,
|
|
8890
|
+
description: "Element used for the title"
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
name: "actions",
|
|
8894
|
+
type: "Snippet",
|
|
8895
|
+
required: false,
|
|
8896
|
+
description: "Buttons or links under the text"
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
name: "children",
|
|
8900
|
+
type: "Snippet",
|
|
8901
|
+
required: false,
|
|
8902
|
+
description: "Extra content before the actions"
|
|
8903
|
+
},
|
|
8904
|
+
{
|
|
8905
|
+
name: "class",
|
|
8906
|
+
type: "string",
|
|
8907
|
+
required: false,
|
|
8908
|
+
description: "Additional classes"
|
|
8909
|
+
}
|
|
8910
|
+
],
|
|
8911
|
+
variants: [
|
|
8912
|
+
{
|
|
8913
|
+
name: "size",
|
|
8914
|
+
values: [
|
|
8915
|
+
"sm",
|
|
8916
|
+
"md"
|
|
8917
|
+
],
|
|
8918
|
+
default: "md"
|
|
8919
|
+
},
|
|
8920
|
+
{
|
|
8921
|
+
name: "headingLevel",
|
|
8922
|
+
values: [
|
|
8923
|
+
"h2",
|
|
8924
|
+
"h3",
|
|
8925
|
+
"h4",
|
|
8926
|
+
"p"
|
|
8927
|
+
],
|
|
8928
|
+
default: "h3"
|
|
8929
|
+
}
|
|
8930
|
+
],
|
|
8931
|
+
slots: [
|
|
8932
|
+
{
|
|
8933
|
+
name: "children",
|
|
8934
|
+
description: "Main content",
|
|
8935
|
+
required: false
|
|
8936
|
+
}
|
|
8937
|
+
],
|
|
8938
|
+
events: [],
|
|
8939
|
+
examples: [
|
|
8940
|
+
{
|
|
8941
|
+
title: "Basic Usage",
|
|
8942
|
+
code: '<EmptyState\n icon="inbox"\n title="No messages yet"\n description="Messages you receive will appear here."\n/>'
|
|
8943
|
+
}
|
|
8944
|
+
],
|
|
8945
|
+
relatedComponents: [
|
|
8946
|
+
"LoadingSection",
|
|
8947
|
+
"Alert"
|
|
8948
|
+
]
|
|
8949
|
+
},
|
|
8670
8950
|
{
|
|
8671
8951
|
name: "ErrorLayout",
|
|
8672
8952
|
description: "Layout for error pages with status codes and messaging",
|
|
@@ -12250,6 +12530,66 @@ var component_catalog_default = {
|
|
|
12250
12530
|
"SortableList"
|
|
12251
12531
|
]
|
|
12252
12532
|
},
|
|
12533
|
+
{
|
|
12534
|
+
name: "Kbd",
|
|
12535
|
+
description: "Keyboard key or shortcut",
|
|
12536
|
+
category: "core",
|
|
12537
|
+
importPath: "@classic-homes/theme-svelte",
|
|
12538
|
+
props: [
|
|
12539
|
+
{
|
|
12540
|
+
name: "keys",
|
|
12541
|
+
type: "string[]",
|
|
12542
|
+
required: false,
|
|
12543
|
+
description: "Keys of a combination"
|
|
12544
|
+
},
|
|
12545
|
+
{
|
|
12546
|
+
name: "size",
|
|
12547
|
+
type: "'sm' | 'md'",
|
|
12548
|
+
default: "'sm'",
|
|
12549
|
+
required: false,
|
|
12550
|
+
description: "Key size"
|
|
12551
|
+
},
|
|
12552
|
+
{
|
|
12553
|
+
name: "children",
|
|
12554
|
+
type: "Snippet",
|
|
12555
|
+
required: false,
|
|
12556
|
+
description: "A single key (when `keys` is unset)"
|
|
12557
|
+
},
|
|
12558
|
+
{
|
|
12559
|
+
name: "class",
|
|
12560
|
+
type: "string",
|
|
12561
|
+
required: false,
|
|
12562
|
+
description: "Additional classes"
|
|
12563
|
+
}
|
|
12564
|
+
],
|
|
12565
|
+
variants: [
|
|
12566
|
+
{
|
|
12567
|
+
name: "size",
|
|
12568
|
+
values: [
|
|
12569
|
+
"sm",
|
|
12570
|
+
"md"
|
|
12571
|
+
],
|
|
12572
|
+
default: "sm"
|
|
12573
|
+
}
|
|
12574
|
+
],
|
|
12575
|
+
slots: [
|
|
12576
|
+
{
|
|
12577
|
+
name: "children",
|
|
12578
|
+
description: "Main content",
|
|
12579
|
+
required: false
|
|
12580
|
+
}
|
|
12581
|
+
],
|
|
12582
|
+
events: [],
|
|
12583
|
+
examples: [
|
|
12584
|
+
{
|
|
12585
|
+
title: "Basic Usage",
|
|
12586
|
+
code: "<Kbd keys={['Mod', 'K']} />\n<Kbd>Esc</Kbd>"
|
|
12587
|
+
}
|
|
12588
|
+
],
|
|
12589
|
+
relatedComponents: [
|
|
12590
|
+
"DropdownMenu"
|
|
12591
|
+
]
|
|
12592
|
+
},
|
|
12253
12593
|
{
|
|
12254
12594
|
name: "Label",
|
|
12255
12595
|
description: "Accessible label component for form inputs",
|
|
@@ -15687,6 +16027,125 @@ var component_catalog_default = {
|
|
|
15687
16027
|
"FunnelChart"
|
|
15688
16028
|
]
|
|
15689
16029
|
},
|
|
16030
|
+
{
|
|
16031
|
+
name: "Popover",
|
|
16032
|
+
description: "Floating content anchored to a trigger or element",
|
|
16033
|
+
category: "core",
|
|
16034
|
+
importPath: "@classic-homes/theme-svelte",
|
|
16035
|
+
props: [
|
|
16036
|
+
{
|
|
16037
|
+
name: "open",
|
|
16038
|
+
type: "boolean",
|
|
16039
|
+
default: "false",
|
|
16040
|
+
required: false,
|
|
16041
|
+
description: "Whether it is shown (bindable)"
|
|
16042
|
+
},
|
|
16043
|
+
{
|
|
16044
|
+
name: "onOpenChange",
|
|
16045
|
+
type: "(open: boolean) => void",
|
|
16046
|
+
required: false,
|
|
16047
|
+
description: "Called when the state changes"
|
|
16048
|
+
},
|
|
16049
|
+
{
|
|
16050
|
+
name: "side",
|
|
16051
|
+
type: "'top' | 'right' | 'bottom' | 'left'",
|
|
16052
|
+
default: "'bottom'",
|
|
16053
|
+
required: false,
|
|
16054
|
+
description: "Preferred side"
|
|
16055
|
+
},
|
|
16056
|
+
{
|
|
16057
|
+
name: "align",
|
|
16058
|
+
type: "'start' | 'center' | 'end'",
|
|
16059
|
+
default: "'center'",
|
|
16060
|
+
required: false,
|
|
16061
|
+
description: "Alignment against the anchor"
|
|
16062
|
+
},
|
|
16063
|
+
{
|
|
16064
|
+
name: "sideOffset",
|
|
16065
|
+
type: "number",
|
|
16066
|
+
default: "6",
|
|
16067
|
+
required: false,
|
|
16068
|
+
description: "Gap to the anchor (px)"
|
|
16069
|
+
},
|
|
16070
|
+
{
|
|
16071
|
+
name: "anchor",
|
|
16072
|
+
type: "HTMLElement | string | null",
|
|
16073
|
+
required: false,
|
|
16074
|
+
description: "Position against this instead of the trigger"
|
|
16075
|
+
},
|
|
16076
|
+
{
|
|
16077
|
+
name: "autoFocus",
|
|
16078
|
+
type: "boolean",
|
|
16079
|
+
default: "true",
|
|
16080
|
+
required: false,
|
|
16081
|
+
description: "Move focus into the content on open"
|
|
16082
|
+
},
|
|
16083
|
+
{
|
|
16084
|
+
name: "trapFocus",
|
|
16085
|
+
type: "boolean",
|
|
16086
|
+
default: "false",
|
|
16087
|
+
required: false,
|
|
16088
|
+
description: "Keep Tab inside the content"
|
|
16089
|
+
},
|
|
16090
|
+
{
|
|
16091
|
+
name: "aria-label",
|
|
16092
|
+
type: "string",
|
|
16093
|
+
required: false,
|
|
16094
|
+
description: "Name for content without a visible heading"
|
|
16095
|
+
},
|
|
16096
|
+
{
|
|
16097
|
+
name: "trigger",
|
|
16098
|
+
type: "Snippet<[{ props }]>",
|
|
16099
|
+
required: false,
|
|
16100
|
+
description: "Trigger; spread `props` on your element"
|
|
16101
|
+
},
|
|
16102
|
+
{
|
|
16103
|
+
name: "class",
|
|
16104
|
+
type: "string",
|
|
16105
|
+
required: false,
|
|
16106
|
+
description: "Classes for the content"
|
|
16107
|
+
}
|
|
16108
|
+
],
|
|
16109
|
+
variants: [
|
|
16110
|
+
{
|
|
16111
|
+
name: "side",
|
|
16112
|
+
values: [
|
|
16113
|
+
"top",
|
|
16114
|
+
"right",
|
|
16115
|
+
"bottom",
|
|
16116
|
+
"left"
|
|
16117
|
+
],
|
|
16118
|
+
default: "bottom"
|
|
16119
|
+
},
|
|
16120
|
+
{
|
|
16121
|
+
name: "align",
|
|
16122
|
+
values: [
|
|
16123
|
+
"start",
|
|
16124
|
+
"center",
|
|
16125
|
+
"end"
|
|
16126
|
+
],
|
|
16127
|
+
default: "center"
|
|
16128
|
+
}
|
|
16129
|
+
],
|
|
16130
|
+
slots: [
|
|
16131
|
+
{
|
|
16132
|
+
name: "children",
|
|
16133
|
+
description: "Main content",
|
|
16134
|
+
required: false
|
|
16135
|
+
}
|
|
16136
|
+
],
|
|
16137
|
+
events: [],
|
|
16138
|
+
examples: [
|
|
16139
|
+
{
|
|
16140
|
+
title: "Basic Usage",
|
|
16141
|
+
code: '<Popover>\n {#snippet trigger({ props })}\n <Button {...props} variant="outline">Filters</Button>\n {/snippet}\n <p>Popover content</p>\n</Popover>'
|
|
16142
|
+
}
|
|
16143
|
+
],
|
|
16144
|
+
relatedComponents: [
|
|
16145
|
+
"Tooltip",
|
|
16146
|
+
"DropdownMenu"
|
|
16147
|
+
]
|
|
16148
|
+
},
|
|
15690
16149
|
{
|
|
15691
16150
|
name: "ProgressBar",
|
|
15692
16151
|
description: "Determinate and indeterminate progress indicator bar",
|
|
@@ -16603,6 +17062,126 @@ var component_catalog_default = {
|
|
|
16603
17062
|
"Switch"
|
|
16604
17063
|
]
|
|
16605
17064
|
},
|
|
17065
|
+
{
|
|
17066
|
+
name: "ResizablePanes",
|
|
17067
|
+
description: "Two panes split by a draggable, keyboard-accessible handle",
|
|
17068
|
+
category: "layout",
|
|
17069
|
+
importPath: "@classic-homes/theme-svelte",
|
|
17070
|
+
props: [
|
|
17071
|
+
{
|
|
17072
|
+
name: "size",
|
|
17073
|
+
type: "number",
|
|
17074
|
+
default: "50",
|
|
17075
|
+
required: false,
|
|
17076
|
+
description: "Start pane share in % (bindable)"
|
|
17077
|
+
},
|
|
17078
|
+
{
|
|
17079
|
+
name: "min",
|
|
17080
|
+
type: "number",
|
|
17081
|
+
default: "20",
|
|
17082
|
+
required: false,
|
|
17083
|
+
description: "Smallest start share in %"
|
|
17084
|
+
},
|
|
17085
|
+
{
|
|
17086
|
+
name: "max",
|
|
17087
|
+
type: "number",
|
|
17088
|
+
default: "80",
|
|
17089
|
+
required: false,
|
|
17090
|
+
description: "Largest start share in %"
|
|
17091
|
+
},
|
|
17092
|
+
{
|
|
17093
|
+
name: "step",
|
|
17094
|
+
type: "number",
|
|
17095
|
+
default: "5",
|
|
17096
|
+
required: false,
|
|
17097
|
+
description: "Keyboard step in %"
|
|
17098
|
+
},
|
|
17099
|
+
{
|
|
17100
|
+
name: "orientation",
|
|
17101
|
+
type: "'horizontal' | 'vertical'",
|
|
17102
|
+
default: "'horizontal'",
|
|
17103
|
+
required: false,
|
|
17104
|
+
description: "Side by side or stacked"
|
|
17105
|
+
},
|
|
17106
|
+
{
|
|
17107
|
+
name: "persistKey",
|
|
17108
|
+
type: "string",
|
|
17109
|
+
required: false,
|
|
17110
|
+
description: "Remember the size in localStorage"
|
|
17111
|
+
},
|
|
17112
|
+
{
|
|
17113
|
+
name: "handleLabel",
|
|
17114
|
+
type: "string",
|
|
17115
|
+
default: "'Resize panes'",
|
|
17116
|
+
required: false,
|
|
17117
|
+
description: "Accessible name for the handle"
|
|
17118
|
+
},
|
|
17119
|
+
{
|
|
17120
|
+
name: "onResize",
|
|
17121
|
+
type: "(size: number) => void",
|
|
17122
|
+
required: false,
|
|
17123
|
+
description: "Called as the size changes"
|
|
17124
|
+
},
|
|
17125
|
+
{
|
|
17126
|
+
name: "start",
|
|
17127
|
+
type: "Snippet",
|
|
17128
|
+
required: true,
|
|
17129
|
+
description: "First pane"
|
|
17130
|
+
},
|
|
17131
|
+
{
|
|
17132
|
+
name: "end",
|
|
17133
|
+
type: "Snippet",
|
|
17134
|
+
required: true,
|
|
17135
|
+
description: "Second pane"
|
|
17136
|
+
},
|
|
17137
|
+
{
|
|
17138
|
+
name: "class",
|
|
17139
|
+
type: "string",
|
|
17140
|
+
required: false,
|
|
17141
|
+
description: "Classes for the container"
|
|
17142
|
+
},
|
|
17143
|
+
{
|
|
17144
|
+
name: "startClass",
|
|
17145
|
+
type: "string",
|
|
17146
|
+
required: false,
|
|
17147
|
+
description: "Classes for the start pane"
|
|
17148
|
+
},
|
|
17149
|
+
{
|
|
17150
|
+
name: "endClass",
|
|
17151
|
+
type: "string",
|
|
17152
|
+
required: false,
|
|
17153
|
+
description: "Classes for the end pane"
|
|
17154
|
+
}
|
|
17155
|
+
],
|
|
17156
|
+
variants: [
|
|
17157
|
+
{
|
|
17158
|
+
name: "orientation",
|
|
17159
|
+
values: [
|
|
17160
|
+
"horizontal",
|
|
17161
|
+
"vertical"
|
|
17162
|
+
],
|
|
17163
|
+
default: "horizontal"
|
|
17164
|
+
}
|
|
17165
|
+
],
|
|
17166
|
+
slots: [
|
|
17167
|
+
{
|
|
17168
|
+
name: "children",
|
|
17169
|
+
description: "Main content",
|
|
17170
|
+
required: false
|
|
17171
|
+
}
|
|
17172
|
+
],
|
|
17173
|
+
events: [],
|
|
17174
|
+
examples: [
|
|
17175
|
+
{
|
|
17176
|
+
title: "Basic Usage",
|
|
17177
|
+
code: '<div class="h-96">\n <ResizablePanes size={60} min={30} max={80} persistKey="chat-artifacts">\n {#snippet start()}<Chat />{/snippet}\n {#snippet end()}<ArtifactPanel />{/snippet}\n </ResizablePanes>\n</div>'
|
|
17178
|
+
}
|
|
17179
|
+
],
|
|
17180
|
+
relatedComponents: [
|
|
17181
|
+
"DataPanel",
|
|
17182
|
+
"Sheet"
|
|
17183
|
+
]
|
|
17184
|
+
},
|
|
16606
17185
|
{
|
|
16607
17186
|
name: "SankeyChart",
|
|
16608
17187
|
description: "Flow relationships between entities",
|
|
@@ -20392,6 +20971,26 @@ var component_catalog_default = {
|
|
|
20392
20971
|
type: "(value: string) => void",
|
|
20393
20972
|
required: false,
|
|
20394
20973
|
description: "Callback when value changes"
|
|
20974
|
+
},
|
|
20975
|
+
{
|
|
20976
|
+
name: "autosize",
|
|
20977
|
+
type: "boolean",
|
|
20978
|
+
default: "false",
|
|
20979
|
+
required: false,
|
|
20980
|
+
description: "Grow with the content (no handle)"
|
|
20981
|
+
},
|
|
20982
|
+
{
|
|
20983
|
+
name: "maxRows",
|
|
20984
|
+
type: "number",
|
|
20985
|
+
default: "8",
|
|
20986
|
+
required: false,
|
|
20987
|
+
description: "Rows before `autosize` scrolls"
|
|
20988
|
+
},
|
|
20989
|
+
{
|
|
20990
|
+
name: "ref",
|
|
20991
|
+
type: "HTMLTextAreaElement",
|
|
20992
|
+
required: false,
|
|
20993
|
+
description: "The element (bindable)"
|
|
20395
20994
|
}
|
|
20396
20995
|
],
|
|
20397
20996
|
variants: [],
|
|
@@ -21760,7 +22359,7 @@ function registerComponentResources(server) {
|
|
|
21760
22359
|
|
|
21761
22360
|
// src/data/token-definitions.json
|
|
21762
22361
|
var token_definitions_default = {
|
|
21763
|
-
version: "0.5.
|
|
22362
|
+
version: "0.5.1",
|
|
21764
22363
|
colors: {
|
|
21765
22364
|
brand: [
|
|
21766
22365
|
{
|
|
@@ -22743,7 +23342,7 @@ function registerTokenResources(server) {
|
|
|
22743
23342
|
|
|
22744
23343
|
// src/data/styles-catalog.json
|
|
22745
23344
|
var styles_catalog_default = {
|
|
22746
|
-
version: "0.5.
|
|
23345
|
+
version: "0.5.1",
|
|
22747
23346
|
package: "@classic-homes/theme-styles",
|
|
22748
23347
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
22749
23348
|
integration: {
|
|
@@ -23126,7 +23725,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
23126
23725
|
|
|
23127
23726
|
// src/data/pattern-library.json
|
|
23128
23727
|
var pattern_library_default = {
|
|
23129
|
-
version: "0.5.
|
|
23728
|
+
version: "0.5.1",
|
|
23130
23729
|
layouts: [
|
|
23131
23730
|
{
|
|
23132
23731
|
id: "dashboard-page",
|
|
@@ -24220,7 +24819,7 @@ function registerLayoutResources(server) {
|
|
|
24220
24819
|
|
|
24221
24820
|
// src/data/schema-catalog.json
|
|
24222
24821
|
var schema_catalog_default = {
|
|
24223
|
-
version: "0.5.
|
|
24822
|
+
version: "0.5.1",
|
|
24224
24823
|
packageName: "@classic-homes/theme-svelte",
|
|
24225
24824
|
importPath: "@classic-homes/theme-svelte",
|
|
24226
24825
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -25028,7 +25627,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
25028
25627
|
|
|
25029
25628
|
// src/data/auth-catalog.json
|
|
25030
25629
|
var auth_catalog_default = {
|
|
25031
|
-
version: "0.5.
|
|
25630
|
+
version: "0.5.1",
|
|
25032
25631
|
packageName: "@classic-homes/auth",
|
|
25033
25632
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
25034
25633
|
subpackages: {
|
|
@@ -28065,7 +28664,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
28065
28664
|
|
|
28066
28665
|
// src/data/notifications-catalog.json
|
|
28067
28666
|
var notifications_catalog_default = {
|
|
28068
|
-
version: "0.5.
|
|
28667
|
+
version: "0.5.1",
|
|
28069
28668
|
packageName: "@classic-homes/notifications",
|
|
28070
28669
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
28071
28670
|
subpackages: {
|
|
@@ -28977,7 +29576,7 @@ function registerNotificationsResources(server) {
|
|
|
28977
29576
|
|
|
28978
29577
|
// src/data/docs-catalog.json
|
|
28979
29578
|
var docs_catalog_default = {
|
|
28980
|
-
version: "0.5.
|
|
29579
|
+
version: "0.5.1",
|
|
28981
29580
|
packageName: "@classic-homes/theme-docs",
|
|
28982
29581
|
description: "Markdown documentation components for the Classic theme system",
|
|
28983
29582
|
exports: {
|
|
@@ -30649,7 +31248,7 @@ function registerDocsResources(server) {
|
|
|
30649
31248
|
|
|
30650
31249
|
// src/data/charts-catalog.json
|
|
30651
31250
|
var charts_catalog_default = {
|
|
30652
|
-
version: "0.5.
|
|
31251
|
+
version: "0.5.1",
|
|
30653
31252
|
packageName: "@classic-homes/charts-core",
|
|
30654
31253
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
30655
31254
|
subpackages: {
|
|
@@ -34787,7 +35386,7 @@ interface SankeyData {
|
|
|
34787
35386
|
|
|
34788
35387
|
// src/data/gantt-catalog.json
|
|
34789
35388
|
var gantt_catalog_default = {
|
|
34790
|
-
version: "0.5.
|
|
35389
|
+
version: "0.5.1",
|
|
34791
35390
|
packageName: "@classic-homes/gantt-core",
|
|
34792
35391
|
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.",
|
|
34793
35392
|
packages: {
|
|
@@ -35770,7 +36369,7 @@ function registerGanttResources(server) {
|
|
|
35770
36369
|
|
|
35771
36370
|
// src/data/maps-catalog.json
|
|
35772
36371
|
var maps_catalog_default = {
|
|
35773
|
-
version: "0.5.
|
|
36372
|
+
version: "0.5.1",
|
|
35774
36373
|
packageName: "@classic-homes/maps-core",
|
|
35775
36374
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
35776
36375
|
subpackages: {
|
|
@@ -41396,7 +41995,7 @@ ${catalog6.quickReference.tailwindConfig}
|
|
|
41396
41995
|
|
|
41397
41996
|
// src/data/native-catalog.json
|
|
41398
41997
|
var native_catalog_default = {
|
|
41399
|
-
version: "0.5.
|
|
41998
|
+
version: "0.5.1",
|
|
41400
41999
|
packageName: "@classic-homes/native",
|
|
41401
42000
|
description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
|
|
41402
42001
|
subpackages: {
|
|
@@ -43100,7 +43699,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
|
|
|
43100
43699
|
|
|
43101
43700
|
// src/data/viewer-catalog.json
|
|
43102
43701
|
var viewer_catalog_default = {
|
|
43103
|
-
version: "0.5.
|
|
43702
|
+
version: "0.5.1",
|
|
43104
43703
|
packageName: "@classic-homes/viewer-svelte",
|
|
43105
43704
|
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.",
|
|
43106
43705
|
packages: {
|
|
@@ -44154,7 +44753,7 @@ function registerPrompts(server) {
|
|
|
44154
44753
|
// package.json
|
|
44155
44754
|
var package_default = {
|
|
44156
44755
|
name: "@classic-homes/theme-mcp",
|
|
44157
|
-
version: "0.5.
|
|
44756
|
+
version: "0.5.1",
|
|
44158
44757
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
44159
44758
|
type: "module",
|
|
44160
44759
|
main: "dist/index.js",
|
|
@@ -44253,4 +44852,4 @@ function createServer() {
|
|
|
44253
44852
|
export {
|
|
44254
44853
|
createServer
|
|
44255
44854
|
};
|
|
44256
|
-
//# sourceMappingURL=chunk-
|
|
44855
|
+
//# sourceMappingURL=chunk-W2EKMD3D.js.map
|