@classic-homes/theme-mcp 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -11,8 +11,201 @@ 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.2.2",
14
+ version: "0.2.3",
15
15
  components: [
16
+ {
17
+ name: "ActionHeader",
18
+ description: "Responsive app page header with back link, badges and actions that fold into an overflow menu instead of wrapping",
19
+ category: "layout",
20
+ importPath: "@classic-homes/theme-svelte",
21
+ props: [
22
+ {
23
+ name: "title",
24
+ type: "string",
25
+ required: false,
26
+ description: "Page or record title (clamped to two lines)"
27
+ },
28
+ {
29
+ name: "subtitle",
30
+ type: "string",
31
+ required: false,
32
+ description: "Description under the title"
33
+ },
34
+ {
35
+ name: "headingLevel",
36
+ type: "1 | 2 | 3",
37
+ default: "1",
38
+ required: false,
39
+ description: "Heading element for the title"
40
+ },
41
+ {
42
+ name: "caption",
43
+ type: "string",
44
+ required: false,
45
+ description: 'Small note under the actions, right-aligned (e.g. "Updated 5 minutes ago")'
46
+ },
47
+ {
48
+ name: "backHref",
49
+ type: "string",
50
+ required: false,
51
+ description: "Shows a back arrow linking here"
52
+ },
53
+ {
54
+ name: "backLabel",
55
+ type: "string",
56
+ required: false,
57
+ description: 'Back target name; the aria-label becomes "Back to {backLabel}"'
58
+ },
59
+ {
60
+ name: "actions",
61
+ type: "ActionHeaderAction[]",
62
+ default: "[]",
63
+ required: false,
64
+ description: "Header actions (see below)"
65
+ },
66
+ {
67
+ name: "collapseAt",
68
+ type: "'auto' | 'sm' | 'md' | 'lg' | 'never'",
69
+ default: "'auto'",
70
+ required: false,
71
+ description: "Header width at which secondary actions fold: `sm` \u2248 28rem, `md` \u2248 40rem, `lg` \u2248 52rem. `auto` means `lg` with 2+ secondary actions, otherwise `md`"
72
+ },
73
+ {
74
+ name: "moreLabel",
75
+ type: "string",
76
+ default: "'More actions'",
77
+ required: false,
78
+ description: "Accessible name of the \u22EF trigger"
79
+ },
80
+ {
81
+ name: "media",
82
+ type: "Snippet",
83
+ required: false,
84
+ description: "Leading visual after the back button, e.g. a thumbnail"
85
+ },
86
+ {
87
+ name: "titleSuffix",
88
+ type: "Snippet",
89
+ required: false,
90
+ description: "Small inline content right after the title"
91
+ },
92
+ {
93
+ name: "badges",
94
+ type: "Snippet",
95
+ required: false,
96
+ description: "Status badges or a meta line under the title"
97
+ },
98
+ {
99
+ name: "tools",
100
+ type: "Snippet",
101
+ required: false,
102
+ description: "Icon buttons that are always visible at the end of the header"
103
+ },
104
+ {
105
+ name: "toolbar",
106
+ type: "Snippet",
107
+ required: false,
108
+ description: "Row of controls under the header (view toggles, selects)"
109
+ },
110
+ {
111
+ name: "class",
112
+ type: "string",
113
+ required: false,
114
+ description: "Additional classes"
115
+ }
116
+ ],
117
+ variants: [
118
+ {
119
+ name: "collapseAt",
120
+ values: [
121
+ "auto",
122
+ "sm",
123
+ "md",
124
+ "lg",
125
+ "never"
126
+ ],
127
+ default: "auto"
128
+ }
129
+ ],
130
+ slots: [
131
+ {
132
+ name: "children",
133
+ description: "Main content",
134
+ required: false
135
+ }
136
+ ],
137
+ events: [],
138
+ examples: [
139
+ {
140
+ title: "Basic Usage",
141
+ code: `<ActionHeader
142
+ title="Signs"
143
+ subtitle="Physical signage inventory across all communities."
144
+ actions={[
145
+ { label: 'Export CSV', icon: 'download', onSelect: exportCsv },
146
+ { label: 'Add sign', icon: 'plus', priority: 'primary', onSelect: openCreate },
147
+ ]}
148
+ />`
149
+ },
150
+ {
151
+ title: "Record detail",
152
+ code: `<ActionHeader
153
+ title={sign.name}
154
+ subtitle={sign.community}
155
+ backHref="/marketing/signs"
156
+ backLabel="Signs"
157
+ actions={[
158
+ { label: 'Check in', icon: 'check', priority: 'primary', onSelect: checkIn },
159
+ { label: 'Edit', icon: 'edit', onSelect: edit },
160
+ { label: 'Retire', priority: 'overflow', destructive: true, onSelect: retire },
161
+ ]}
162
+ >
163
+ {#snippet badges()}
164
+ <Badge>Installed</Badge>
165
+ {/snippet}
166
+ {#snippet tools()}
167
+ <RecordTools />
168
+ {/snippet}
169
+ </ActionHeader>`
170
+ },
171
+ {
172
+ title: "With a toolbar",
173
+ code: `<script>
174
+ let groupBy = $state('community');
175
+ let view = $state('list');
176
+ </script>
177
+
178
+ <ActionHeader
179
+ title="All Available Homes"
180
+ subtitle="89 quick move-in homes across all communities"
181
+ caption="Updated 5 minutes ago"
182
+ actions={[{ label: 'PDF', icon: 'file-text', priority: 'primary', variant: 'secondary' }]}
183
+ >
184
+ {#snippet toolbar()}
185
+ <Toolbar label="Inventory tools" class="w-full">
186
+ <Input placeholder="Search homes\u2026" class="max-w-sm" />
187
+ <Button variant="secondary" size="sm">Filters</Button>
188
+ <span class="text-sm">89 homes</span>
189
+ {#snippet end()}
190
+ <SegmentedControl
191
+ label="Group homes by"
192
+ size="sm"
193
+ bind:value={groupBy}
194
+ options={[
195
+ { value: 'community', label: 'Community' },
196
+ { value: 'collection', label: 'Collection' },
197
+ { value: 'floor-plan', label: 'Floor Plan' },
198
+ ]}
199
+ />
200
+ <ViewToggle bind:value={view} />
201
+ {/snippet}
202
+ </Toolbar>
203
+ {/snippet}
204
+ </ActionHeader>`
205
+ }
206
+ ],
207
+ relatedComponents: []
208
+ },
16
209
  {
17
210
  name: "Alert",
18
211
  description: "Contextual feedback messages for user actions and system status",
@@ -1510,21 +1703,11 @@ var component_catalog_default = {
1510
1703
  description: "The primary action button with solid background.",
1511
1704
  code: '<Button variant="default">Default Button</Button>'
1512
1705
  },
1513
- {
1514
- title: "Secondary",
1515
- description: "For secondary actions that need less visual emphasis.",
1516
- code: '<Button variant="secondary">Secondary Button</Button>'
1517
- },
1518
1706
  {
1519
1707
  title: "Destructive",
1520
1708
  description: "For dangerous or irreversible actions like delete.",
1521
1709
  code: '<Button variant="destructive">Delete</Button>'
1522
1710
  },
1523
- {
1524
- title: "Outline",
1525
- description: "Bordered button with transparent background.",
1526
- code: '<Button variant="outline">Outline Button</Button>'
1527
- },
1528
1711
  {
1529
1712
  title: "Ghost",
1530
1713
  description: "Minimal button with no background until hovered.",
@@ -8005,7 +8188,7 @@ var component_catalog_default = {
8005
8188
  name: "subtitle",
8006
8189
  type: "string",
8007
8190
  required: false,
8008
- description: "Optional subtitle text"
8191
+ description: "Optional product label (Figtree 600, uppercase, brand red, left-aligned under the wordmark)"
8009
8192
  },
8010
8193
  {
8011
8194
  name: "environment",
@@ -9761,6 +9944,13 @@ var component_catalog_default = {
9761
9944
  required: false,
9762
9945
  description: "Visual variant"
9763
9946
  },
9947
+ {
9948
+ name: "as",
9949
+ type: "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
9950
+ default: "'h1'",
9951
+ required: false,
9952
+ description: "Heading element"
9953
+ },
9764
9954
  {
9765
9955
  name: "class",
9766
9956
  type: "string",
@@ -9784,6 +9974,18 @@ var component_catalog_default = {
9784
9974
  "form"
9785
9975
  ],
9786
9976
  default: "default"
9977
+ },
9978
+ {
9979
+ name: "as",
9980
+ values: [
9981
+ "h1",
9982
+ "h2",
9983
+ "h3",
9984
+ "h4",
9985
+ "h5",
9986
+ "h6"
9987
+ ],
9988
+ default: "h1"
9787
9989
  }
9788
9990
  ],
9789
9991
  slots: [
@@ -11061,6 +11263,100 @@ var component_catalog_default = {
11061
11263
  "Separator"
11062
11264
  ]
11063
11265
  },
11266
+ {
11267
+ name: "SegmentedControl",
11268
+ description: "Single-choice pill group for switching grouping or modes",
11269
+ category: "layout",
11270
+ importPath: "@classic-homes/theme-svelte",
11271
+ props: [
11272
+ {
11273
+ name: "options",
11274
+ type: "SegmentedControlOption[]",
11275
+ required: false,
11276
+ description: "`{ value, label, icon?, disabled? }`"
11277
+ },
11278
+ {
11279
+ name: "value",
11280
+ type: "string",
11281
+ default: "First enabled option",
11282
+ required: false,
11283
+ description: "Selected value (bindable)"
11284
+ },
11285
+ {
11286
+ name: "onValueChange",
11287
+ type: "(value: string) => void",
11288
+ required: false,
11289
+ description: "Called after the selection changes"
11290
+ },
11291
+ {
11292
+ name: "label",
11293
+ type: "string",
11294
+ required: false,
11295
+ description: "Accessible name (required)"
11296
+ },
11297
+ {
11298
+ name: "size",
11299
+ type: "'sm' | 'md'",
11300
+ default: "'md'",
11301
+ required: false,
11302
+ description: "Track height 36px / 40px"
11303
+ },
11304
+ {
11305
+ name: "disabled",
11306
+ type: "boolean",
11307
+ default: "false",
11308
+ required: false,
11309
+ description: "Disables every option"
11310
+ },
11311
+ {
11312
+ name: "class",
11313
+ type: "string",
11314
+ required: false,
11315
+ description: "Additional classes"
11316
+ }
11317
+ ],
11318
+ variants: [
11319
+ {
11320
+ name: "size",
11321
+ values: [
11322
+ "sm",
11323
+ "md"
11324
+ ],
11325
+ default: "md"
11326
+ }
11327
+ ],
11328
+ slots: [
11329
+ {
11330
+ name: "children",
11331
+ description: "Main content",
11332
+ required: false
11333
+ }
11334
+ ],
11335
+ events: [],
11336
+ examples: [
11337
+ {
11338
+ title: "Basic Usage",
11339
+ code: `<script>
11340
+ import { SegmentedControl } from '@classic-homes/theme-svelte';
11341
+
11342
+ let groupBy = $state('community');
11343
+
11344
+ const options = [
11345
+ { value: 'community', label: 'Community' },
11346
+ { value: 'collection', label: 'Collection' },
11347
+ { value: 'floor-plan', label: 'Floor Plan' },
11348
+ ];
11349
+ </script>
11350
+
11351
+ <SegmentedControl label="Group homes by" {options} bind:value={groupBy} />`
11352
+ }
11353
+ ],
11354
+ relatedComponents: [
11355
+ "Toolbar",
11356
+ "ViewToggle",
11357
+ "Tabs"
11358
+ ]
11359
+ },
11064
11360
  {
11065
11361
  name: "Select",
11066
11362
  description: "Dropdown for selecting from a list of options with grouping support",
@@ -13162,6 +13458,91 @@ var component_catalog_default = {
13162
13458
  "AppShell"
13163
13459
  ]
13164
13460
  },
13461
+ {
13462
+ name: "Toolbar",
13463
+ description: "Dark control strip for search, filters, grouping and view toggles under a page header",
13464
+ category: "layout",
13465
+ importPath: "@classic-homes/theme-svelte",
13466
+ props: [
13467
+ {
13468
+ name: "label",
13469
+ type: "string",
13470
+ required: false,
13471
+ description: "Accessible name of the group (required)"
13472
+ },
13473
+ {
13474
+ name: "children",
13475
+ type: "Snippet",
13476
+ required: false,
13477
+ description: "Leading controls (search, filters, count)"
13478
+ },
13479
+ {
13480
+ name: "end",
13481
+ type: "Snippet",
13482
+ required: false,
13483
+ description: "Right-aligned cluster (grouping control, view toggle)"
13484
+ },
13485
+ {
13486
+ name: "class",
13487
+ type: "string",
13488
+ required: false,
13489
+ description: "Additional classes"
13490
+ }
13491
+ ],
13492
+ variants: [],
13493
+ slots: [
13494
+ {
13495
+ name: "children",
13496
+ description: "Main content",
13497
+ required: false
13498
+ }
13499
+ ],
13500
+ events: [],
13501
+ examples: [
13502
+ {
13503
+ title: "Basic Usage",
13504
+ code: `<script>
13505
+ import {
13506
+ Toolbar,
13507
+ SegmentedControl,
13508
+ ViewToggle,
13509
+ Button,
13510
+ Input,
13511
+ Separator,
13512
+ } from '@classic-homes/theme-svelte';
13513
+
13514
+ let groupBy = $state('community');
13515
+ let view = $state('list');
13516
+ </script>
13517
+
13518
+ <Toolbar label="Inventory tools">
13519
+ <Input placeholder="Search homes, communities, floor plans\u2026" class="max-w-sm" />
13520
+ <Button variant="secondary" size="sm">Filters</Button>
13521
+ <span class="text-sm">89 homes</span>
13522
+
13523
+ {#snippet end()}
13524
+ <SegmentedControl
13525
+ label="Group homes by"
13526
+ size="sm"
13527
+ bind:value={groupBy}
13528
+ options={[
13529
+ { value: 'community', label: 'Community' },
13530
+ { value: 'collection', label: 'Collection' },
13531
+ { value: 'floor-plan', label: 'Floor Plan' },
13532
+ ]}
13533
+ />
13534
+ <Separator orientation="vertical" class="h-6 bg-secondary-soft" />
13535
+ <ViewToggle bind:value={view} />
13536
+ {/snippet}
13537
+ </Toolbar>`
13538
+ }
13539
+ ],
13540
+ relatedComponents: [
13541
+ "SegmentedControl",
13542
+ "ViewToggle",
13543
+ "ActionHeader"
13544
+ ]
13545
+ },
13165
13546
  {
13166
13547
  name: "Tooltip",
13167
13548
  description: "Contextual information displayed on hover",
@@ -13615,6 +13996,84 @@ var component_catalog_default = {
13615
13996
  "Lightbox",
13616
13997
  "MediaCarousel"
13617
13998
  ]
13999
+ },
14000
+ {
14001
+ name: "ViewToggle",
14002
+ description: "Icon-only switch between list, grid and map views",
14003
+ category: "layout",
14004
+ importPath: "@classic-homes/theme-svelte",
14005
+ props: [
14006
+ {
14007
+ name: "options",
14008
+ type: "ViewToggleOption[]",
14009
+ default: "list / grid / map",
14010
+ required: false,
14011
+ description: "`{ value, icon, label, disabled? }`"
14012
+ },
14013
+ {
14014
+ name: "value",
14015
+ type: "string",
14016
+ default: "First enabled option",
14017
+ required: false,
14018
+ description: "Selected view (bindable)"
14019
+ },
14020
+ {
14021
+ name: "onValueChange",
14022
+ type: "(value: string) => void",
14023
+ required: false,
14024
+ description: "Called after the selection changes"
14025
+ },
14026
+ {
14027
+ name: "label",
14028
+ type: "string",
14029
+ default: "'View'",
14030
+ required: false,
14031
+ description: "Accessible name of the group"
14032
+ },
14033
+ {
14034
+ name: "disabled",
14035
+ type: "boolean",
14036
+ default: "false",
14037
+ required: false,
14038
+ description: "Disables every option"
14039
+ },
14040
+ {
14041
+ name: "class",
14042
+ type: "string",
14043
+ required: false,
14044
+ description: "Additional classes"
14045
+ }
14046
+ ],
14047
+ variants: [],
14048
+ slots: [
14049
+ {
14050
+ name: "children",
14051
+ description: "Main content",
14052
+ required: false
14053
+ }
14054
+ ],
14055
+ events: [],
14056
+ examples: [
14057
+ {
14058
+ title: "Basic Usage",
14059
+ code: `<script>
14060
+ import { Toolbar, ViewToggle } from '@classic-homes/theme-svelte';
14061
+
14062
+ let view = $state('list');
14063
+ </script>
14064
+
14065
+ <Toolbar label="Inventory tools">
14066
+ <span class="text-sm">89 homes</span>
14067
+ {#snippet end()}
14068
+ <ViewToggle bind:value={view} />
14069
+ {/snippet}
14070
+ </Toolbar>`
14071
+ }
14072
+ ],
14073
+ relatedComponents: [
14074
+ "Toolbar",
14075
+ "SegmentedControl"
14076
+ ]
13618
14077
  }
13619
14078
  ]
13620
14079
  };
@@ -13699,7 +14158,7 @@ function registerComponentResources(server) {
13699
14158
 
13700
14159
  // src/data/token-definitions.json
13701
14160
  var token_definitions_default = {
13702
- version: "0.2.2",
14161
+ version: "0.2.3",
13703
14162
  colors: {
13704
14163
  brand: [
13705
14164
  {
@@ -13942,16 +14401,41 @@ var token_definitions_default = {
13942
14401
  foreground: "#ffffff"
13943
14402
  },
13944
14403
  secondary: {
13945
- light: "sage-100 (#eaebe6)",
14404
+ light: "#6c705b (filled sage controls; spec sage-600 #969a82 fails 4.5:1 under white)",
13946
14405
  dark: "sage-800 (#54574e)",
13947
14406
  hover: {
13948
- light: "#d4d6cc",
13949
- dark: "#5c6156"
14407
+ light: "red-700 (#a91c22)",
14408
+ dark: "red-700 (#a91c22)"
13950
14409
  },
13951
14410
  foreground: {
13952
- light: "gray-600 (#4f4f4f)",
14411
+ light: "#ffffff",
13953
14412
  dark: "gray-100 (#f3f4f6)"
13954
- }
14413
+ },
14414
+ border: {
14415
+ light: "#ffffff",
14416
+ dark: "charcoal-900 (#292424)"
14417
+ },
14418
+ soft: {
14419
+ light: "sage-600 (#969a82)",
14420
+ dark: "sage-700 (#757968)"
14421
+ },
14422
+ note: "Filled sage action color (e.g. PDF / Filters buttons). Use `muted` for subtle light-sage surfaces."
14423
+ },
14424
+ outline: {
14425
+ light: "sage-600 (#969a82)",
14426
+ dark: "sage-500 (#b6baa4)",
14427
+ hover: {
14428
+ light: "#d5d7cd",
14429
+ dark: "sage-300 (#d0d3c5)"
14430
+ },
14431
+ note: "Outline button border; hover pairs with the primary fill."
14432
+ },
14433
+ toolbar: {
14434
+ light: "#1b373b",
14435
+ dark: "#1b373b",
14436
+ foreground: "#ffffff",
14437
+ border: "#d5d7cd",
14438
+ note: "Dark toolbar strip under page headers (Toolbar component)."
13955
14439
  },
13956
14440
  accent: {
13957
14441
  light: "teal-500 (#3ba4a7)",
@@ -14237,7 +14721,7 @@ var token_definitions_default = {
14237
14721
  typography: {
14238
14722
  fontFamilies: {
14239
14723
  sans: "Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif",
14240
- serif: "Source Serif Variable, Source Serif Pro, ui-serif, Georgia, Cambria, Times New Roman, Times, serif",
14724
+ serif: "Spectral, ui-serif, Georgia, Cambria, Times New Roman, Times, serif",
14241
14725
  mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace"
14242
14726
  },
14243
14727
  fontSizes: {
@@ -14309,39 +14793,46 @@ var token_definitions_default = {
14309
14793
  },
14310
14794
  headingSizes: {
14311
14795
  h1: {
14312
- size: "2.25rem",
14313
- lineHeight: "2.5rem",
14314
- fontWeight: "600",
14315
- pixels: "36px"
14796
+ size: "2.5rem",
14797
+ lineHeight: "2rem",
14798
+ fontWeight: "500",
14799
+ fontFamily: "serif (Spectral)",
14800
+ fontStyle: "italic",
14801
+ pixels: "40px"
14316
14802
  },
14317
14803
  h2: {
14318
- size: "1.875rem",
14804
+ size: "1.75rem",
14319
14805
  lineHeight: "2.25rem",
14320
14806
  fontWeight: "600",
14321
- pixels: "30px"
14807
+ fontFamily: "sans (Figtree)",
14808
+ pixels: "28px"
14322
14809
  },
14323
14810
  h3: {
14324
14811
  size: "1.5rem",
14325
14812
  lineHeight: "2rem",
14326
14813
  fontWeight: "600",
14814
+ fontFamily: "sans (Figtree)",
14327
14815
  pixels: "24px"
14328
14816
  },
14329
14817
  h4: {
14330
14818
  size: "1.25rem",
14331
14819
  lineHeight: "1.75rem",
14332
14820
  fontWeight: "600",
14821
+ fontFamily: "sans (Figtree)",
14333
14822
  pixels: "20px"
14334
14823
  },
14335
14824
  h5: {
14336
14825
  size: "1.125rem",
14337
- lineHeight: "1.75rem",
14826
+ lineHeight: "1.5rem",
14338
14827
  fontWeight: "600",
14828
+ fontFamily: "sans (Figtree)",
14339
14829
  pixels: "18px"
14340
14830
  },
14341
14831
  h6: {
14342
14832
  size: "1rem",
14343
14833
  lineHeight: "1.5rem",
14344
14834
  fontWeight: "600",
14835
+ fontFamily: "sans (Figtree)",
14345
14836
  pixels: "16px"
14346
14837
  }
14347
14838
  },
@@ -14516,6 +15007,8 @@ var token_definitions_default = {
14516
15007
  "border",
14517
15008
  "input",
14518
15009
  "ring",
15010
+ "outline",
15011
+ "toolbar",
14519
15012
  "background",
14520
15013
  "foreground",
14521
15014
  "primary",
@@ -14535,6 +15028,7 @@ var token_definitions_default = {
14535
15028
  withForeground: [
14536
15029
  "primary",
14537
15030
  "secondary",
15031
+ "toolbar",
14538
15032
  "destructive",
14539
15033
  "muted",
14540
15034
  "accent",
@@ -14550,7 +15044,8 @@ var token_definitions_default = {
14550
15044
  "secondary",
14551
15045
  "destructive",
14552
15046
  "muted",
14553
- "accent"
15047
+ "accent",
15048
+ "outline"
14554
15049
  ]
14555
15050
  }
14556
15051
  },
@@ -14646,7 +15141,7 @@ function registerTokenResources(server) {
14646
15141
 
14647
15142
  // src/data/styles-catalog.json
14648
15143
  var styles_catalog_default = {
14649
- version: "0.2.2",
15144
+ version: "0.2.3",
14650
15145
  package: "@classic-homes/theme-styles",
14651
15146
  description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
14652
15147
  integration: {
@@ -14671,7 +15166,7 @@ var styles_catalog_default = {
14671
15166
  features: [
14672
15167
  {
14673
15168
  name: "Brand Fonts",
14674
- description: "Imports Google Fonts: Figtree (sans-serif) and Source Serif 4 (serif)",
15169
+ description: "Imports Google Fonts: Figtree (sans-serif) and Spectral (serif, 400/500/600 + italics)",
14675
15170
  cssVariables: [
14676
15171
  "--font-sans",
14677
15172
  "--font-serif"
@@ -14683,10 +15178,10 @@ var styles_catalog_default = {
14683
15178
  },
14684
15179
  {
14685
15180
  name: "Heading Styles",
14686
- description: "h1-h6 with serif font (Source Serif 4), proper sizing, and brand-consistent styling",
15181
+ description: "h1 is the display face (Spectral 500 italic); h2-h6 are Figtree 600",
14687
15182
  sizes: {
14688
- h1: "2.25rem (36px)",
14689
- h2: "1.875rem (30px)",
15183
+ h1: "2.5rem (40px) / line-height 2rem, Spectral 500 italic",
15184
+ h2: "1.75rem (28px) / line-height 2.25rem, Figtree 600",
14690
15185
  h3: "1.5rem (24px)",
14691
15186
  h4: "1.25rem (20px)",
14692
15187
  h5: "1.125rem (18px)",
@@ -15019,7 +15514,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
15019
15514
 
15020
15515
  // src/data/pattern-library.json
15021
15516
  var pattern_library_default = {
15022
- version: "0.2.2",
15517
+ version: "0.2.3",
15023
15518
  layouts: [
15024
15519
  {
15025
15520
  id: "dashboard-page",
@@ -15771,14 +16266,11 @@ var pattern_library_default = {
15771
16266
  description: "Notification bell icon with dropdown panel for header integration",
15772
16267
  components: [
15773
16268
  "NotificationBadge",
15774
- "NotificationList",
15775
- "NotificationItem",
15776
- "DropdownMenu",
15777
- "Button"
16269
+ "DropdownMenu"
15778
16270
  ],
15779
16271
  example: `<script lang="ts">
15780
- import { Button, DropdownMenu } from '@classic-homes/theme-svelte';
15781
- import { NotificationBadge, NotificationList } from '@classic-homes/theme-svelte/notifications';
16272
+ import { DropdownMenu } from '@classic-homes/theme-svelte';
16273
+ import { NotificationBadge } from '@classic-homes/theme-svelte/notifications';
15782
16274
  import { notificationService } from '@classic-homes/notifications/core';
15783
16275
  import type { Notification } from '@classic-homes/notifications/core';
15784
16276
  import { goto } from '$app/navigation';
@@ -15799,39 +16291,26 @@ var pattern_library_default = {
15799
16291
  }
15800
16292
  </script>
15801
16293
 
15802
- <DropdownMenu.Root>
15803
- <DropdownMenu.Trigger asChild let:builder>
15804
- <Button builders={[builder]} variant="ghost" size="icon" class="relative">
15805
- <NotificationBadge count={unreadCount} />
15806
- </Button>
15807
- </DropdownMenu.Trigger>
15808
-
15809
- <DropdownMenu.Content class="w-80" align="end">
15810
- <div class="flex items-center justify-between p-4 border-b">
15811
- <h3 class="font-semibold">Notifications</h3>
15812
- {#if unreadCount > 0}
15813
- <Button variant="ghost" size="sm" onclick={() => notificationService.markAllRead()}>
15814
- Mark all read
15815
- </Button>
15816
- {/if}
15817
- </div>
15818
-
15819
- <div class="max-h-96 overflow-y-auto">
15820
- <NotificationList
15821
- {notifications}
15822
- onNotificationClick={handleNotificationClick}
15823
- emptyTitle="No notifications"
15824
- emptyDescription="You're all caught up!"
15825
- />
15826
- </div>
15827
-
15828
- <div class="p-2 border-t">
15829
- <Button variant="ghost" class="w-full" onclick={() => goto('/notifications')}>
15830
- View all notifications
15831
- </Button>
15832
- </div>
15833
- </DropdownMenu.Content>
15834
- </DropdownMenu.Root>`
16294
+ <!-- DropdownMenu takes an items array (not compound parts); style the trigger via triggerClass. -->
16295
+ <DropdownMenu
16296
+ align="end"
16297
+ triggerLabel="Notifications"
16298
+ triggerClass="relative inline-flex h-10 w-10 items-center justify-center rounded-lg hover:bg-muted-hover"
16299
+ items={[
16300
+ { label: 'Notifications', type: 'label' },
16301
+ ...notifications.map((n) => ({
16302
+ label: n.title,
16303
+ onSelect: () => handleNotificationClick(n),
16304
+ })),
16305
+ { type: 'separator' },
16306
+ { label: 'Mark all read', icon: 'check', onSelect: () => notificationService.markAllRead() },
16307
+ { label: 'View all notifications', href: '/notifications' },
16308
+ ]}
16309
+ >
16310
+ {#snippet trigger()}
16311
+ <NotificationBadge count={unreadCount} />
16312
+ {/snippet}
16313
+ </DropdownMenu>`
15835
16314
  }
15836
16315
  ],
15837
16316
  panels: [
@@ -16129,7 +16608,7 @@ function registerLayoutResources(server) {
16129
16608
 
16130
16609
  // src/data/schema-catalog.json
16131
16610
  var schema_catalog_default = {
16132
- version: "0.2.2",
16611
+ version: "0.2.3",
16133
16612
  packageName: "@classic-homes/theme-svelte",
16134
16613
  importPath: "@classic-homes/theme-svelte",
16135
16614
  generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
@@ -16937,7 +17416,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
16937
17416
 
16938
17417
  // src/data/auth-catalog.json
16939
17418
  var auth_catalog_default = {
16940
- version: "0.2.2",
17419
+ version: "0.2.3",
16941
17420
  packageName: "@classic-homes/auth",
16942
17421
  description: "Authentication services and Svelte bindings for Classic Theme apps",
16943
17422
  subpackages: {
@@ -19974,7 +20453,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
19974
20453
 
19975
20454
  // src/data/notifications-catalog.json
19976
20455
  var notifications_catalog_default = {
19977
- version: "0.2.2",
20456
+ version: "0.2.3",
19978
20457
  packageName: "@classic-homes/notifications",
19979
20458
  description: "Notification services and Svelte bindings for Classic Theme apps",
19980
20459
  subpackages: {
@@ -20886,7 +21365,7 @@ function registerNotificationsResources(server) {
20886
21365
 
20887
21366
  // src/data/docs-catalog.json
20888
21367
  var docs_catalog_default = {
20889
- version: "0.2.2",
21368
+ version: "0.2.3",
20890
21369
  packageName: "@classic-homes/theme-docs",
20891
21370
  description: "Markdown documentation components for the Classic theme system",
20892
21371
  exports: {
@@ -21814,7 +22293,7 @@ function registerDocsResources(server) {
21814
22293
 
21815
22294
  // src/data/charts-catalog.json
21816
22295
  var charts_catalog_default = {
21817
- version: "0.2.2",
22296
+ version: "0.2.3",
21818
22297
  packageName: "@classic-homes/charts-core",
21819
22298
  description: "Core utilities, types, and themes for Classic Theme chart components",
21820
22299
  subpackages: {
@@ -23651,7 +24130,7 @@ interface SankeyData {
23651
24130
 
23652
24131
  // src/data/maps-catalog.json
23653
24132
  var maps_catalog_default = {
23654
- version: "0.2.2",
24133
+ version: "0.2.3",
23655
24134
  packageName: "@classic-homes/maps-core",
23656
24135
  description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
23657
24136
  subpackages: {
@@ -28982,7 +29461,7 @@ ${catalog5.quickReference.tailwindConfig}
28982
29461
 
28983
29462
  // src/data/native-catalog.json
28984
29463
  var native_catalog_default = {
28985
- version: "0.2.2",
29464
+ version: "0.2.3",
28986
29465
  packageName: "@classic-homes/native",
28987
29466
  description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
28988
29467
  subpackages: {
@@ -31357,7 +31836,7 @@ function registerPrompts(server) {
31357
31836
  // package.json
31358
31837
  var package_default = {
31359
31838
  name: "@classic-homes/theme-mcp",
31360
- version: "0.2.2",
31839
+ version: "0.2.3",
31361
31840
  description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
31362
31841
  type: "module",
31363
31842
  main: "dist/index.js",