@classic-homes/theme-mcp 0.5.0 → 0.5.2

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.0",
9
+ version: "0.5.2",
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",
@@ -9141,11 +9421,17 @@ var component_catalog_default = {
9141
9421
  required: false,
9142
9422
  description: "Active filters, shown as a badge on the button"
9143
9423
  },
9424
+ {
9425
+ name: "count",
9426
+ type: "ToolbarCountProps",
9427
+ required: false,
9428
+ description: "Result count after the filters / button (see ToolbarCount)"
9429
+ },
9144
9430
  {
9145
9431
  name: "summary",
9146
9432
  type: "Snippet",
9147
9433
  required: false,
9148
- description: "Result count after the filters / button"
9434
+ description: "Other text after the count (`text-toolbar-muted` to dim)"
9149
9435
  },
9150
9436
  {
9151
9437
  name: "end",
@@ -9206,9 +9492,10 @@ var component_catalog_default = {
9206
9492
  Input,
9207
9493
  Label,
9208
9494
  Select,
9495
+ ToolbarSearch,
9209
9496
  } from '@classic-homes/theme-svelte';
9210
9497
 
9211
- let search = $state('');
9498
+ let query = $state('');
9212
9499
  let status = $state('');
9213
9500
  let type = $state('');
9214
9501
  let supplier = $state('');
@@ -9217,9 +9504,15 @@ var component_catalog_default = {
9217
9504
  const clear = () => (status = type = supplier = '');
9218
9505
  </script>
9219
9506
 
9220
- <FilterToolbar label="Sign tools" filterCount={3} {activeCount} onClear={clear}>
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
+ >
9221
9514
  {#snippet search()}
9222
- <Input type="search" aria-label="Search signs" class="w-full sm:w-56" bind:value={search} />
9515
+ <ToolbarSearch label="Search signs" bind:value={query} />
9223
9516
  {/snippet}
9224
9517
  {#snippet filters({ inline })}
9225
9518
  <div class="space-y-1">
@@ -9228,7 +9521,6 @@ var component_catalog_default = {
9228
9521
  </div>
9229
9522
  <!-- \u2026type, supplier -->
9230
9523
  {/snippet}
9231
- {#snippet summary()}<span class="text-sm">42 signs</span>{/snippet}
9232
9524
  </FilterToolbar>
9233
9525
 
9234
9526
  <ActiveFilterChips
@@ -12250,6 +12542,66 @@ var component_catalog_default = {
12250
12542
  "SortableList"
12251
12543
  ]
12252
12544
  },
12545
+ {
12546
+ name: "Kbd",
12547
+ description: "Keyboard key or shortcut",
12548
+ category: "core",
12549
+ importPath: "@classic-homes/theme-svelte",
12550
+ props: [
12551
+ {
12552
+ name: "keys",
12553
+ type: "string[]",
12554
+ required: false,
12555
+ description: "Keys of a combination"
12556
+ },
12557
+ {
12558
+ name: "size",
12559
+ type: "'sm' | 'md'",
12560
+ default: "'sm'",
12561
+ required: false,
12562
+ description: "Key size"
12563
+ },
12564
+ {
12565
+ name: "children",
12566
+ type: "Snippet",
12567
+ required: false,
12568
+ description: "A single key (when `keys` is unset)"
12569
+ },
12570
+ {
12571
+ name: "class",
12572
+ type: "string",
12573
+ required: false,
12574
+ description: "Additional classes"
12575
+ }
12576
+ ],
12577
+ variants: [
12578
+ {
12579
+ name: "size",
12580
+ values: [
12581
+ "sm",
12582
+ "md"
12583
+ ],
12584
+ default: "sm"
12585
+ }
12586
+ ],
12587
+ slots: [
12588
+ {
12589
+ name: "children",
12590
+ description: "Main content",
12591
+ required: false
12592
+ }
12593
+ ],
12594
+ events: [],
12595
+ examples: [
12596
+ {
12597
+ title: "Basic Usage",
12598
+ code: "<Kbd keys={['Mod', 'K']} />\n<Kbd>Esc</Kbd>"
12599
+ }
12600
+ ],
12601
+ relatedComponents: [
12602
+ "DropdownMenu"
12603
+ ]
12604
+ },
12253
12605
  {
12254
12606
  name: "Label",
12255
12607
  description: "Accessible label component for form inputs",
@@ -15687,6 +16039,125 @@ var component_catalog_default = {
15687
16039
  "FunnelChart"
15688
16040
  ]
15689
16041
  },
16042
+ {
16043
+ name: "Popover",
16044
+ description: "Floating content anchored to a trigger or element",
16045
+ category: "core",
16046
+ importPath: "@classic-homes/theme-svelte",
16047
+ props: [
16048
+ {
16049
+ name: "open",
16050
+ type: "boolean",
16051
+ default: "false",
16052
+ required: false,
16053
+ description: "Whether it is shown (bindable)"
16054
+ },
16055
+ {
16056
+ name: "onOpenChange",
16057
+ type: "(open: boolean) => void",
16058
+ required: false,
16059
+ description: "Called when the state changes"
16060
+ },
16061
+ {
16062
+ name: "side",
16063
+ type: "'top' | 'right' | 'bottom' | 'left'",
16064
+ default: "'bottom'",
16065
+ required: false,
16066
+ description: "Preferred side"
16067
+ },
16068
+ {
16069
+ name: "align",
16070
+ type: "'start' | 'center' | 'end'",
16071
+ default: "'center'",
16072
+ required: false,
16073
+ description: "Alignment against the anchor"
16074
+ },
16075
+ {
16076
+ name: "sideOffset",
16077
+ type: "number",
16078
+ default: "6",
16079
+ required: false,
16080
+ description: "Gap to the anchor (px)"
16081
+ },
16082
+ {
16083
+ name: "anchor",
16084
+ type: "HTMLElement | string | null",
16085
+ required: false,
16086
+ description: "Position against this instead of the trigger"
16087
+ },
16088
+ {
16089
+ name: "autoFocus",
16090
+ type: "boolean",
16091
+ default: "true",
16092
+ required: false,
16093
+ description: "Move focus into the content on open"
16094
+ },
16095
+ {
16096
+ name: "trapFocus",
16097
+ type: "boolean",
16098
+ default: "false",
16099
+ required: false,
16100
+ description: "Keep Tab inside the content"
16101
+ },
16102
+ {
16103
+ name: "aria-label",
16104
+ type: "string",
16105
+ required: false,
16106
+ description: "Name for content without a visible heading"
16107
+ },
16108
+ {
16109
+ name: "trigger",
16110
+ type: "Snippet<[{ props }]>",
16111
+ required: false,
16112
+ description: "Trigger; spread `props` on your element"
16113
+ },
16114
+ {
16115
+ name: "class",
16116
+ type: "string",
16117
+ required: false,
16118
+ description: "Classes for the content"
16119
+ }
16120
+ ],
16121
+ variants: [
16122
+ {
16123
+ name: "side",
16124
+ values: [
16125
+ "top",
16126
+ "right",
16127
+ "bottom",
16128
+ "left"
16129
+ ],
16130
+ default: "bottom"
16131
+ },
16132
+ {
16133
+ name: "align",
16134
+ values: [
16135
+ "start",
16136
+ "center",
16137
+ "end"
16138
+ ],
16139
+ default: "center"
16140
+ }
16141
+ ],
16142
+ slots: [
16143
+ {
16144
+ name: "children",
16145
+ description: "Main content",
16146
+ required: false
16147
+ }
16148
+ ],
16149
+ events: [],
16150
+ examples: [
16151
+ {
16152
+ title: "Basic Usage",
16153
+ code: '<Popover>\n {#snippet trigger({ props })}\n <Button {...props} variant="outline">Filters</Button>\n {/snippet}\n <p>Popover content</p>\n</Popover>'
16154
+ }
16155
+ ],
16156
+ relatedComponents: [
16157
+ "Tooltip",
16158
+ "DropdownMenu"
16159
+ ]
16160
+ },
15690
16161
  {
15691
16162
  name: "ProgressBar",
15692
16163
  description: "Determinate and indeterminate progress indicator bar",
@@ -16603,6 +17074,126 @@ var component_catalog_default = {
16603
17074
  "Switch"
16604
17075
  ]
16605
17076
  },
17077
+ {
17078
+ name: "ResizablePanes",
17079
+ description: "Two panes split by a draggable, keyboard-accessible handle",
17080
+ category: "layout",
17081
+ importPath: "@classic-homes/theme-svelte",
17082
+ props: [
17083
+ {
17084
+ name: "size",
17085
+ type: "number",
17086
+ default: "50",
17087
+ required: false,
17088
+ description: "Start pane share in % (bindable)"
17089
+ },
17090
+ {
17091
+ name: "min",
17092
+ type: "number",
17093
+ default: "20",
17094
+ required: false,
17095
+ description: "Smallest start share in %"
17096
+ },
17097
+ {
17098
+ name: "max",
17099
+ type: "number",
17100
+ default: "80",
17101
+ required: false,
17102
+ description: "Largest start share in %"
17103
+ },
17104
+ {
17105
+ name: "step",
17106
+ type: "number",
17107
+ default: "5",
17108
+ required: false,
17109
+ description: "Keyboard step in %"
17110
+ },
17111
+ {
17112
+ name: "orientation",
17113
+ type: "'horizontal' | 'vertical'",
17114
+ default: "'horizontal'",
17115
+ required: false,
17116
+ description: "Side by side or stacked"
17117
+ },
17118
+ {
17119
+ name: "persistKey",
17120
+ type: "string",
17121
+ required: false,
17122
+ description: "Remember the size in localStorage"
17123
+ },
17124
+ {
17125
+ name: "handleLabel",
17126
+ type: "string",
17127
+ default: "'Resize panes'",
17128
+ required: false,
17129
+ description: "Accessible name for the handle"
17130
+ },
17131
+ {
17132
+ name: "onResize",
17133
+ type: "(size: number) => void",
17134
+ required: false,
17135
+ description: "Called as the size changes"
17136
+ },
17137
+ {
17138
+ name: "start",
17139
+ type: "Snippet",
17140
+ required: true,
17141
+ description: "First pane"
17142
+ },
17143
+ {
17144
+ name: "end",
17145
+ type: "Snippet",
17146
+ required: true,
17147
+ description: "Second pane"
17148
+ },
17149
+ {
17150
+ name: "class",
17151
+ type: "string",
17152
+ required: false,
17153
+ description: "Classes for the container"
17154
+ },
17155
+ {
17156
+ name: "startClass",
17157
+ type: "string",
17158
+ required: false,
17159
+ description: "Classes for the start pane"
17160
+ },
17161
+ {
17162
+ name: "endClass",
17163
+ type: "string",
17164
+ required: false,
17165
+ description: "Classes for the end pane"
17166
+ }
17167
+ ],
17168
+ variants: [
17169
+ {
17170
+ name: "orientation",
17171
+ values: [
17172
+ "horizontal",
17173
+ "vertical"
17174
+ ],
17175
+ default: "horizontal"
17176
+ }
17177
+ ],
17178
+ slots: [
17179
+ {
17180
+ name: "children",
17181
+ description: "Main content",
17182
+ required: false
17183
+ }
17184
+ ],
17185
+ events: [],
17186
+ examples: [
17187
+ {
17188
+ title: "Basic Usage",
17189
+ 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>'
17190
+ }
17191
+ ],
17192
+ relatedComponents: [
17193
+ "DataPanel",
17194
+ "Sheet"
17195
+ ]
17196
+ },
16606
17197
  {
16607
17198
  name: "SankeyChart",
16608
17199
  description: "Flow relationships between entities",
@@ -20392,6 +20983,26 @@ var component_catalog_default = {
20392
20983
  type: "(value: string) => void",
20393
20984
  required: false,
20394
20985
  description: "Callback when value changes"
20986
+ },
20987
+ {
20988
+ name: "autosize",
20989
+ type: "boolean",
20990
+ default: "false",
20991
+ required: false,
20992
+ description: "Grow with the content (no handle)"
20993
+ },
20994
+ {
20995
+ name: "maxRows",
20996
+ type: "number",
20997
+ default: "8",
20998
+ required: false,
20999
+ description: "Rows before `autosize` scrolls"
21000
+ },
21001
+ {
21002
+ name: "ref",
21003
+ type: "HTMLTextAreaElement",
21004
+ required: false,
21005
+ description: "The element (bindable)"
20395
21006
  }
20396
21007
  ],
20397
21008
  variants: [],
@@ -20662,13 +21273,19 @@ var component_catalog_default = {
20662
21273
  name: "children",
20663
21274
  type: "Snippet",
20664
21275
  required: false,
20665
- description: "Leading controls (search, filters, count)"
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)"
20666
21283
  },
20667
21284
  {
20668
21285
  name: "end",
20669
21286
  type: "Snippet",
20670
21287
  required: false,
20671
- description: "Right-aligned cluster (grouping control, view toggle)"
21288
+ description: "Right-aligned cluster (scope picker, grouping, view toggle)"
20672
21289
  },
20673
21290
  {
20674
21291
  name: "class",
@@ -20695,18 +21312,17 @@ var component_catalog_default = {
20695
21312
  SegmentedControl,
20696
21313
  ViewToggle,
20697
21314
  Button,
20698
- Input,
20699
21315
  Separator,
21316
+ ToolbarSearch,
20700
21317
  } from '@classic-homes/theme-svelte';
20701
21318
 
20702
21319
  let groupBy = $state('community');
20703
21320
  let view = $state('list');
20704
21321
  </script>
20705
21322
 
20706
- <Toolbar label="Inventory tools">
20707
- <Input placeholder="Search homes, communities, floor plans\u2026" class="max-w-sm" />
21323
+ <Toolbar label="Inventory tools" count={{ total: 89, noun: 'home' }}>
21324
+ <ToolbarSearch label="Search homes" placeholder="Search homes, communities, floor plans\u2026" />
20708
21325
  <Button variant="secondary" size="sm">Filters</Button>
20709
- <span class="text-sm">89 homes</span>
20710
21326
 
20711
21327
  {#snippet end()}
20712
21328
  <SegmentedControl
@@ -20731,6 +21347,153 @@ var component_catalog_default = {
20731
21347
  "ActionHeader"
20732
21348
  ]
20733
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
+ },
20734
21497
  {
20735
21498
  name: "Tooltip",
20736
21499
  description: "Contextual information displayed on hover",
@@ -21760,7 +22523,7 @@ function registerComponentResources(server) {
21760
22523
 
21761
22524
  // src/data/token-definitions.json
21762
22525
  var token_definitions_default = {
21763
- version: "0.5.0",
22526
+ version: "0.5.2",
21764
22527
  colors: {
21765
22528
  brand: [
21766
22529
  {
@@ -22743,7 +23506,7 @@ function registerTokenResources(server) {
22743
23506
 
22744
23507
  // src/data/styles-catalog.json
22745
23508
  var styles_catalog_default = {
22746
- version: "0.5.0",
23509
+ version: "0.5.2",
22747
23510
  package: "@classic-homes/theme-styles",
22748
23511
  description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
22749
23512
  integration: {
@@ -23126,7 +23889,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
23126
23889
 
23127
23890
  // src/data/pattern-library.json
23128
23891
  var pattern_library_default = {
23129
- version: "0.5.0",
23892
+ version: "0.5.2",
23130
23893
  layouts: [
23131
23894
  {
23132
23895
  id: "dashboard-page",
@@ -24220,7 +24983,7 @@ function registerLayoutResources(server) {
24220
24983
 
24221
24984
  // src/data/schema-catalog.json
24222
24985
  var schema_catalog_default = {
24223
- version: "0.5.0",
24986
+ version: "0.5.2",
24224
24987
  packageName: "@classic-homes/theme-svelte",
24225
24988
  importPath: "@classic-homes/theme-svelte",
24226
24989
  generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
@@ -25028,7 +25791,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
25028
25791
 
25029
25792
  // src/data/auth-catalog.json
25030
25793
  var auth_catalog_default = {
25031
- version: "0.5.0",
25794
+ version: "0.5.2",
25032
25795
  packageName: "@classic-homes/auth",
25033
25796
  description: "Authentication services and Svelte bindings for Classic Theme apps",
25034
25797
  subpackages: {
@@ -28065,7 +28828,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
28065
28828
 
28066
28829
  // src/data/notifications-catalog.json
28067
28830
  var notifications_catalog_default = {
28068
- version: "0.5.0",
28831
+ version: "0.5.2",
28069
28832
  packageName: "@classic-homes/notifications",
28070
28833
  description: "Notification services and Svelte bindings for Classic Theme apps",
28071
28834
  subpackages: {
@@ -28977,7 +29740,7 @@ function registerNotificationsResources(server) {
28977
29740
 
28978
29741
  // src/data/docs-catalog.json
28979
29742
  var docs_catalog_default = {
28980
- version: "0.5.0",
29743
+ version: "0.5.2",
28981
29744
  packageName: "@classic-homes/theme-docs",
28982
29745
  description: "Markdown documentation components for the Classic theme system",
28983
29746
  exports: {
@@ -30649,7 +31412,7 @@ function registerDocsResources(server) {
30649
31412
 
30650
31413
  // src/data/charts-catalog.json
30651
31414
  var charts_catalog_default = {
30652
- version: "0.5.0",
31415
+ version: "0.5.2",
30653
31416
  packageName: "@classic-homes/charts-core",
30654
31417
  description: "Core utilities, types, and themes for Classic Theme chart components",
30655
31418
  subpackages: {
@@ -34787,7 +35550,7 @@ interface SankeyData {
34787
35550
 
34788
35551
  // src/data/gantt-catalog.json
34789
35552
  var gantt_catalog_default = {
34790
- version: "0.5.0",
35553
+ version: "0.5.2",
34791
35554
  packageName: "@classic-homes/gantt-core",
34792
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.",
34793
35556
  packages: {
@@ -35770,7 +36533,7 @@ function registerGanttResources(server) {
35770
36533
 
35771
36534
  // src/data/maps-catalog.json
35772
36535
  var maps_catalog_default = {
35773
- version: "0.5.0",
36536
+ version: "0.5.2",
35774
36537
  packageName: "@classic-homes/maps-core",
35775
36538
  description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
35776
36539
  subpackages: {
@@ -41396,7 +42159,7 @@ ${catalog6.quickReference.tailwindConfig}
41396
42159
 
41397
42160
  // src/data/native-catalog.json
41398
42161
  var native_catalog_default = {
41399
- version: "0.5.0",
42162
+ version: "0.5.2",
41400
42163
  packageName: "@classic-homes/native",
41401
42164
  description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
41402
42165
  subpackages: {
@@ -43100,7 +43863,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
43100
43863
 
43101
43864
  // src/data/viewer-catalog.json
43102
43865
  var viewer_catalog_default = {
43103
- version: "0.5.0",
43866
+ version: "0.5.2",
43104
43867
  packageName: "@classic-homes/viewer-svelte",
43105
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.",
43106
43869
  packages: {
@@ -44154,7 +44917,7 @@ function registerPrompts(server) {
44154
44917
  // package.json
44155
44918
  var package_default = {
44156
44919
  name: "@classic-homes/theme-mcp",
44157
- version: "0.5.0",
44920
+ version: "0.5.2",
44158
44921
  description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
44159
44922
  type: "module",
44160
44923
  main: "dist/index.js",
@@ -44253,4 +45016,4 @@ function createServer() {
44253
45016
  export {
44254
45017
  createServer
44255
45018
  };
44256
- //# sourceMappingURL=chunk-754LGBEJ.js.map
45019
+ //# sourceMappingURL=chunk-JLRWQZVH.js.map