@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/index.js CHANGED
@@ -6,8 +6,201 @@ 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.2.2",
9
+ version: "0.2.3",
10
10
  components: [
11
+ {
12
+ name: "ActionHeader",
13
+ description: "Responsive app page header with back link, badges and actions that fold into an overflow menu instead of wrapping",
14
+ category: "layout",
15
+ importPath: "@classic-homes/theme-svelte",
16
+ props: [
17
+ {
18
+ name: "title",
19
+ type: "string",
20
+ required: false,
21
+ description: "Page or record title (clamped to two lines)"
22
+ },
23
+ {
24
+ name: "subtitle",
25
+ type: "string",
26
+ required: false,
27
+ description: "Description under the title"
28
+ },
29
+ {
30
+ name: "headingLevel",
31
+ type: "1 | 2 | 3",
32
+ default: "1",
33
+ required: false,
34
+ description: "Heading element for the title"
35
+ },
36
+ {
37
+ name: "caption",
38
+ type: "string",
39
+ required: false,
40
+ description: 'Small note under the actions, right-aligned (e.g. "Updated 5 minutes ago")'
41
+ },
42
+ {
43
+ name: "backHref",
44
+ type: "string",
45
+ required: false,
46
+ description: "Shows a back arrow linking here"
47
+ },
48
+ {
49
+ name: "backLabel",
50
+ type: "string",
51
+ required: false,
52
+ description: 'Back target name; the aria-label becomes "Back to {backLabel}"'
53
+ },
54
+ {
55
+ name: "actions",
56
+ type: "ActionHeaderAction[]",
57
+ default: "[]",
58
+ required: false,
59
+ description: "Header actions (see below)"
60
+ },
61
+ {
62
+ name: "collapseAt",
63
+ type: "'auto' | 'sm' | 'md' | 'lg' | 'never'",
64
+ default: "'auto'",
65
+ required: false,
66
+ 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`"
67
+ },
68
+ {
69
+ name: "moreLabel",
70
+ type: "string",
71
+ default: "'More actions'",
72
+ required: false,
73
+ description: "Accessible name of the \u22EF trigger"
74
+ },
75
+ {
76
+ name: "media",
77
+ type: "Snippet",
78
+ required: false,
79
+ description: "Leading visual after the back button, e.g. a thumbnail"
80
+ },
81
+ {
82
+ name: "titleSuffix",
83
+ type: "Snippet",
84
+ required: false,
85
+ description: "Small inline content right after the title"
86
+ },
87
+ {
88
+ name: "badges",
89
+ type: "Snippet",
90
+ required: false,
91
+ description: "Status badges or a meta line under the title"
92
+ },
93
+ {
94
+ name: "tools",
95
+ type: "Snippet",
96
+ required: false,
97
+ description: "Icon buttons that are always visible at the end of the header"
98
+ },
99
+ {
100
+ name: "toolbar",
101
+ type: "Snippet",
102
+ required: false,
103
+ description: "Row of controls under the header (view toggles, selects)"
104
+ },
105
+ {
106
+ name: "class",
107
+ type: "string",
108
+ required: false,
109
+ description: "Additional classes"
110
+ }
111
+ ],
112
+ variants: [
113
+ {
114
+ name: "collapseAt",
115
+ values: [
116
+ "auto",
117
+ "sm",
118
+ "md",
119
+ "lg",
120
+ "never"
121
+ ],
122
+ default: "auto"
123
+ }
124
+ ],
125
+ slots: [
126
+ {
127
+ name: "children",
128
+ description: "Main content",
129
+ required: false
130
+ }
131
+ ],
132
+ events: [],
133
+ examples: [
134
+ {
135
+ title: "Basic Usage",
136
+ code: `<ActionHeader
137
+ title="Signs"
138
+ subtitle="Physical signage inventory across all communities."
139
+ actions={[
140
+ { label: 'Export CSV', icon: 'download', onSelect: exportCsv },
141
+ { label: 'Add sign', icon: 'plus', priority: 'primary', onSelect: openCreate },
142
+ ]}
143
+ />`
144
+ },
145
+ {
146
+ title: "Record detail",
147
+ code: `<ActionHeader
148
+ title={sign.name}
149
+ subtitle={sign.community}
150
+ backHref="/marketing/signs"
151
+ backLabel="Signs"
152
+ actions={[
153
+ { label: 'Check in', icon: 'check', priority: 'primary', onSelect: checkIn },
154
+ { label: 'Edit', icon: 'edit', onSelect: edit },
155
+ { label: 'Retire', priority: 'overflow', destructive: true, onSelect: retire },
156
+ ]}
157
+ >
158
+ {#snippet badges()}
159
+ <Badge>Installed</Badge>
160
+ {/snippet}
161
+ {#snippet tools()}
162
+ <RecordTools />
163
+ {/snippet}
164
+ </ActionHeader>`
165
+ },
166
+ {
167
+ title: "With a toolbar",
168
+ code: `<script>
169
+ let groupBy = $state('community');
170
+ let view = $state('list');
171
+ </script>
172
+
173
+ <ActionHeader
174
+ title="All Available Homes"
175
+ subtitle="89 quick move-in homes across all communities"
176
+ caption="Updated 5 minutes ago"
177
+ actions={[{ label: 'PDF', icon: 'file-text', priority: 'primary', variant: 'secondary' }]}
178
+ >
179
+ {#snippet toolbar()}
180
+ <Toolbar label="Inventory tools" class="w-full">
181
+ <Input placeholder="Search homes\u2026" class="max-w-sm" />
182
+ <Button variant="secondary" size="sm">Filters</Button>
183
+ <span class="text-sm">89 homes</span>
184
+ {#snippet end()}
185
+ <SegmentedControl
186
+ label="Group homes by"
187
+ size="sm"
188
+ bind:value={groupBy}
189
+ options={[
190
+ { value: 'community', label: 'Community' },
191
+ { value: 'collection', label: 'Collection' },
192
+ { value: 'floor-plan', label: 'Floor Plan' },
193
+ ]}
194
+ />
195
+ <ViewToggle bind:value={view} />
196
+ {/snippet}
197
+ </Toolbar>
198
+ {/snippet}
199
+ </ActionHeader>`
200
+ }
201
+ ],
202
+ relatedComponents: []
203
+ },
11
204
  {
12
205
  name: "Alert",
13
206
  description: "Contextual feedback messages for user actions and system status",
@@ -1505,21 +1698,11 @@ var component_catalog_default = {
1505
1698
  description: "The primary action button with solid background.",
1506
1699
  code: '<Button variant="default">Default Button</Button>'
1507
1700
  },
1508
- {
1509
- title: "Secondary",
1510
- description: "For secondary actions that need less visual emphasis.",
1511
- code: '<Button variant="secondary">Secondary Button</Button>'
1512
- },
1513
1701
  {
1514
1702
  title: "Destructive",
1515
1703
  description: "For dangerous or irreversible actions like delete.",
1516
1704
  code: '<Button variant="destructive">Delete</Button>'
1517
1705
  },
1518
- {
1519
- title: "Outline",
1520
- description: "Bordered button with transparent background.",
1521
- code: '<Button variant="outline">Outline Button</Button>'
1522
- },
1523
1706
  {
1524
1707
  title: "Ghost",
1525
1708
  description: "Minimal button with no background until hovered.",
@@ -8000,7 +8183,7 @@ var component_catalog_default = {
8000
8183
  name: "subtitle",
8001
8184
  type: "string",
8002
8185
  required: false,
8003
- description: "Optional subtitle text"
8186
+ description: "Optional product label (Figtree 600, uppercase, brand red, left-aligned under the wordmark)"
8004
8187
  },
8005
8188
  {
8006
8189
  name: "environment",
@@ -9756,6 +9939,13 @@ var component_catalog_default = {
9756
9939
  required: false,
9757
9940
  description: "Visual variant"
9758
9941
  },
9942
+ {
9943
+ name: "as",
9944
+ type: "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
9945
+ default: "'h1'",
9946
+ required: false,
9947
+ description: "Heading element"
9948
+ },
9759
9949
  {
9760
9950
  name: "class",
9761
9951
  type: "string",
@@ -9779,6 +9969,18 @@ var component_catalog_default = {
9779
9969
  "form"
9780
9970
  ],
9781
9971
  default: "default"
9972
+ },
9973
+ {
9974
+ name: "as",
9975
+ values: [
9976
+ "h1",
9977
+ "h2",
9978
+ "h3",
9979
+ "h4",
9980
+ "h5",
9981
+ "h6"
9982
+ ],
9983
+ default: "h1"
9782
9984
  }
9783
9985
  ],
9784
9986
  slots: [
@@ -11056,6 +11258,100 @@ var component_catalog_default = {
11056
11258
  "Separator"
11057
11259
  ]
11058
11260
  },
11261
+ {
11262
+ name: "SegmentedControl",
11263
+ description: "Single-choice pill group for switching grouping or modes",
11264
+ category: "layout",
11265
+ importPath: "@classic-homes/theme-svelte",
11266
+ props: [
11267
+ {
11268
+ name: "options",
11269
+ type: "SegmentedControlOption[]",
11270
+ required: false,
11271
+ description: "`{ value, label, icon?, disabled? }`"
11272
+ },
11273
+ {
11274
+ name: "value",
11275
+ type: "string",
11276
+ default: "First enabled option",
11277
+ required: false,
11278
+ description: "Selected value (bindable)"
11279
+ },
11280
+ {
11281
+ name: "onValueChange",
11282
+ type: "(value: string) => void",
11283
+ required: false,
11284
+ description: "Called after the selection changes"
11285
+ },
11286
+ {
11287
+ name: "label",
11288
+ type: "string",
11289
+ required: false,
11290
+ description: "Accessible name (required)"
11291
+ },
11292
+ {
11293
+ name: "size",
11294
+ type: "'sm' | 'md'",
11295
+ default: "'md'",
11296
+ required: false,
11297
+ description: "Track height 36px / 40px"
11298
+ },
11299
+ {
11300
+ name: "disabled",
11301
+ type: "boolean",
11302
+ default: "false",
11303
+ required: false,
11304
+ description: "Disables every option"
11305
+ },
11306
+ {
11307
+ name: "class",
11308
+ type: "string",
11309
+ required: false,
11310
+ description: "Additional classes"
11311
+ }
11312
+ ],
11313
+ variants: [
11314
+ {
11315
+ name: "size",
11316
+ values: [
11317
+ "sm",
11318
+ "md"
11319
+ ],
11320
+ default: "md"
11321
+ }
11322
+ ],
11323
+ slots: [
11324
+ {
11325
+ name: "children",
11326
+ description: "Main content",
11327
+ required: false
11328
+ }
11329
+ ],
11330
+ events: [],
11331
+ examples: [
11332
+ {
11333
+ title: "Basic Usage",
11334
+ code: `<script>
11335
+ import { SegmentedControl } from '@classic-homes/theme-svelte';
11336
+
11337
+ let groupBy = $state('community');
11338
+
11339
+ const options = [
11340
+ { value: 'community', label: 'Community' },
11341
+ { value: 'collection', label: 'Collection' },
11342
+ { value: 'floor-plan', label: 'Floor Plan' },
11343
+ ];
11344
+ </script>
11345
+
11346
+ <SegmentedControl label="Group homes by" {options} bind:value={groupBy} />`
11347
+ }
11348
+ ],
11349
+ relatedComponents: [
11350
+ "Toolbar",
11351
+ "ViewToggle",
11352
+ "Tabs"
11353
+ ]
11354
+ },
11059
11355
  {
11060
11356
  name: "Select",
11061
11357
  description: "Dropdown for selecting from a list of options with grouping support",
@@ -13157,6 +13453,91 @@ var component_catalog_default = {
13157
13453
  "AppShell"
13158
13454
  ]
13159
13455
  },
13456
+ {
13457
+ name: "Toolbar",
13458
+ description: "Dark control strip for search, filters, grouping and view toggles under a page header",
13459
+ category: "layout",
13460
+ importPath: "@classic-homes/theme-svelte",
13461
+ props: [
13462
+ {
13463
+ name: "label",
13464
+ type: "string",
13465
+ required: false,
13466
+ description: "Accessible name of the group (required)"
13467
+ },
13468
+ {
13469
+ name: "children",
13470
+ type: "Snippet",
13471
+ required: false,
13472
+ description: "Leading controls (search, filters, count)"
13473
+ },
13474
+ {
13475
+ name: "end",
13476
+ type: "Snippet",
13477
+ required: false,
13478
+ description: "Right-aligned cluster (grouping control, view toggle)"
13479
+ },
13480
+ {
13481
+ name: "class",
13482
+ type: "string",
13483
+ required: false,
13484
+ description: "Additional classes"
13485
+ }
13486
+ ],
13487
+ variants: [],
13488
+ slots: [
13489
+ {
13490
+ name: "children",
13491
+ description: "Main content",
13492
+ required: false
13493
+ }
13494
+ ],
13495
+ events: [],
13496
+ examples: [
13497
+ {
13498
+ title: "Basic Usage",
13499
+ code: `<script>
13500
+ import {
13501
+ Toolbar,
13502
+ SegmentedControl,
13503
+ ViewToggle,
13504
+ Button,
13505
+ Input,
13506
+ Separator,
13507
+ } from '@classic-homes/theme-svelte';
13508
+
13509
+ let groupBy = $state('community');
13510
+ let view = $state('list');
13511
+ </script>
13512
+
13513
+ <Toolbar label="Inventory tools">
13514
+ <Input placeholder="Search homes, communities, floor plans\u2026" class="max-w-sm" />
13515
+ <Button variant="secondary" size="sm">Filters</Button>
13516
+ <span class="text-sm">89 homes</span>
13517
+
13518
+ {#snippet end()}
13519
+ <SegmentedControl
13520
+ label="Group homes by"
13521
+ size="sm"
13522
+ bind:value={groupBy}
13523
+ options={[
13524
+ { value: 'community', label: 'Community' },
13525
+ { value: 'collection', label: 'Collection' },
13526
+ { value: 'floor-plan', label: 'Floor Plan' },
13527
+ ]}
13528
+ />
13529
+ <Separator orientation="vertical" class="h-6 bg-secondary-soft" />
13530
+ <ViewToggle bind:value={view} />
13531
+ {/snippet}
13532
+ </Toolbar>`
13533
+ }
13534
+ ],
13535
+ relatedComponents: [
13536
+ "SegmentedControl",
13537
+ "ViewToggle",
13538
+ "ActionHeader"
13539
+ ]
13540
+ },
13160
13541
  {
13161
13542
  name: "Tooltip",
13162
13543
  description: "Contextual information displayed on hover",
@@ -13610,6 +13991,84 @@ var component_catalog_default = {
13610
13991
  "Lightbox",
13611
13992
  "MediaCarousel"
13612
13993
  ]
13994
+ },
13995
+ {
13996
+ name: "ViewToggle",
13997
+ description: "Icon-only switch between list, grid and map views",
13998
+ category: "layout",
13999
+ importPath: "@classic-homes/theme-svelte",
14000
+ props: [
14001
+ {
14002
+ name: "options",
14003
+ type: "ViewToggleOption[]",
14004
+ default: "list / grid / map",
14005
+ required: false,
14006
+ description: "`{ value, icon, label, disabled? }`"
14007
+ },
14008
+ {
14009
+ name: "value",
14010
+ type: "string",
14011
+ default: "First enabled option",
14012
+ required: false,
14013
+ description: "Selected view (bindable)"
14014
+ },
14015
+ {
14016
+ name: "onValueChange",
14017
+ type: "(value: string) => void",
14018
+ required: false,
14019
+ description: "Called after the selection changes"
14020
+ },
14021
+ {
14022
+ name: "label",
14023
+ type: "string",
14024
+ default: "'View'",
14025
+ required: false,
14026
+ description: "Accessible name of the group"
14027
+ },
14028
+ {
14029
+ name: "disabled",
14030
+ type: "boolean",
14031
+ default: "false",
14032
+ required: false,
14033
+ description: "Disables every option"
14034
+ },
14035
+ {
14036
+ name: "class",
14037
+ type: "string",
14038
+ required: false,
14039
+ description: "Additional classes"
14040
+ }
14041
+ ],
14042
+ variants: [],
14043
+ slots: [
14044
+ {
14045
+ name: "children",
14046
+ description: "Main content",
14047
+ required: false
14048
+ }
14049
+ ],
14050
+ events: [],
14051
+ examples: [
14052
+ {
14053
+ title: "Basic Usage",
14054
+ code: `<script>
14055
+ import { Toolbar, ViewToggle } from '@classic-homes/theme-svelte';
14056
+
14057
+ let view = $state('list');
14058
+ </script>
14059
+
14060
+ <Toolbar label="Inventory tools">
14061
+ <span class="text-sm">89 homes</span>
14062
+ {#snippet end()}
14063
+ <ViewToggle bind:value={view} />
14064
+ {/snippet}
14065
+ </Toolbar>`
14066
+ }
14067
+ ],
14068
+ relatedComponents: [
14069
+ "Toolbar",
14070
+ "SegmentedControl"
14071
+ ]
13613
14072
  }
13614
14073
  ]
13615
14074
  };
@@ -13694,7 +14153,7 @@ function registerComponentResources(server) {
13694
14153
 
13695
14154
  // src/data/token-definitions.json
13696
14155
  var token_definitions_default = {
13697
- version: "0.2.2",
14156
+ version: "0.2.3",
13698
14157
  colors: {
13699
14158
  brand: [
13700
14159
  {
@@ -13937,16 +14396,41 @@ var token_definitions_default = {
13937
14396
  foreground: "#ffffff"
13938
14397
  },
13939
14398
  secondary: {
13940
- light: "sage-100 (#eaebe6)",
14399
+ light: "#6c705b (filled sage controls; spec sage-600 #969a82 fails 4.5:1 under white)",
13941
14400
  dark: "sage-800 (#54574e)",
13942
14401
  hover: {
13943
- light: "#d4d6cc",
13944
- dark: "#5c6156"
14402
+ light: "red-700 (#a91c22)",
14403
+ dark: "red-700 (#a91c22)"
13945
14404
  },
13946
14405
  foreground: {
13947
- light: "gray-600 (#4f4f4f)",
14406
+ light: "#ffffff",
13948
14407
  dark: "gray-100 (#f3f4f6)"
13949
- }
14408
+ },
14409
+ border: {
14410
+ light: "#ffffff",
14411
+ dark: "charcoal-900 (#292424)"
14412
+ },
14413
+ soft: {
14414
+ light: "sage-600 (#969a82)",
14415
+ dark: "sage-700 (#757968)"
14416
+ },
14417
+ note: "Filled sage action color (e.g. PDF / Filters buttons). Use `muted` for subtle light-sage surfaces."
14418
+ },
14419
+ outline: {
14420
+ light: "sage-600 (#969a82)",
14421
+ dark: "sage-500 (#b6baa4)",
14422
+ hover: {
14423
+ light: "#d5d7cd",
14424
+ dark: "sage-300 (#d0d3c5)"
14425
+ },
14426
+ note: "Outline button border; hover pairs with the primary fill."
14427
+ },
14428
+ toolbar: {
14429
+ light: "#1b373b",
14430
+ dark: "#1b373b",
14431
+ foreground: "#ffffff",
14432
+ border: "#d5d7cd",
14433
+ note: "Dark toolbar strip under page headers (Toolbar component)."
13950
14434
  },
13951
14435
  accent: {
13952
14436
  light: "teal-500 (#3ba4a7)",
@@ -14232,7 +14716,7 @@ var token_definitions_default = {
14232
14716
  typography: {
14233
14717
  fontFamilies: {
14234
14718
  sans: "Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif",
14235
- serif: "Source Serif Variable, Source Serif Pro, ui-serif, Georgia, Cambria, Times New Roman, Times, serif",
14719
+ serif: "Spectral, ui-serif, Georgia, Cambria, Times New Roman, Times, serif",
14236
14720
  mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace"
14237
14721
  },
14238
14722
  fontSizes: {
@@ -14304,39 +14788,46 @@ var token_definitions_default = {
14304
14788
  },
14305
14789
  headingSizes: {
14306
14790
  h1: {
14307
- size: "2.25rem",
14308
- lineHeight: "2.5rem",
14309
- fontWeight: "600",
14310
- pixels: "36px"
14791
+ size: "2.5rem",
14792
+ lineHeight: "2rem",
14793
+ fontWeight: "500",
14794
+ fontFamily: "serif (Spectral)",
14795
+ fontStyle: "italic",
14796
+ pixels: "40px"
14311
14797
  },
14312
14798
  h2: {
14313
- size: "1.875rem",
14799
+ size: "1.75rem",
14314
14800
  lineHeight: "2.25rem",
14315
14801
  fontWeight: "600",
14316
- pixels: "30px"
14802
+ fontFamily: "sans (Figtree)",
14803
+ pixels: "28px"
14317
14804
  },
14318
14805
  h3: {
14319
14806
  size: "1.5rem",
14320
14807
  lineHeight: "2rem",
14321
14808
  fontWeight: "600",
14809
+ fontFamily: "sans (Figtree)",
14322
14810
  pixels: "24px"
14323
14811
  },
14324
14812
  h4: {
14325
14813
  size: "1.25rem",
14326
14814
  lineHeight: "1.75rem",
14327
14815
  fontWeight: "600",
14816
+ fontFamily: "sans (Figtree)",
14328
14817
  pixels: "20px"
14329
14818
  },
14330
14819
  h5: {
14331
14820
  size: "1.125rem",
14332
- lineHeight: "1.75rem",
14821
+ lineHeight: "1.5rem",
14333
14822
  fontWeight: "600",
14823
+ fontFamily: "sans (Figtree)",
14334
14824
  pixels: "18px"
14335
14825
  },
14336
14826
  h6: {
14337
14827
  size: "1rem",
14338
14828
  lineHeight: "1.5rem",
14339
14829
  fontWeight: "600",
14830
+ fontFamily: "sans (Figtree)",
14340
14831
  pixels: "16px"
14341
14832
  }
14342
14833
  },
@@ -14511,6 +15002,8 @@ var token_definitions_default = {
14511
15002
  "border",
14512
15003
  "input",
14513
15004
  "ring",
15005
+ "outline",
15006
+ "toolbar",
14514
15007
  "background",
14515
15008
  "foreground",
14516
15009
  "primary",
@@ -14530,6 +15023,7 @@ var token_definitions_default = {
14530
15023
  withForeground: [
14531
15024
  "primary",
14532
15025
  "secondary",
15026
+ "toolbar",
14533
15027
  "destructive",
14534
15028
  "muted",
14535
15029
  "accent",
@@ -14545,7 +15039,8 @@ var token_definitions_default = {
14545
15039
  "secondary",
14546
15040
  "destructive",
14547
15041
  "muted",
14548
- "accent"
15042
+ "accent",
15043
+ "outline"
14549
15044
  ]
14550
15045
  }
14551
15046
  },
@@ -14641,7 +15136,7 @@ function registerTokenResources(server) {
14641
15136
 
14642
15137
  // src/data/styles-catalog.json
14643
15138
  var styles_catalog_default = {
14644
- version: "0.2.2",
15139
+ version: "0.2.3",
14645
15140
  package: "@classic-homes/theme-styles",
14646
15141
  description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
14647
15142
  integration: {
@@ -14666,7 +15161,7 @@ var styles_catalog_default = {
14666
15161
  features: [
14667
15162
  {
14668
15163
  name: "Brand Fonts",
14669
- description: "Imports Google Fonts: Figtree (sans-serif) and Source Serif 4 (serif)",
15164
+ description: "Imports Google Fonts: Figtree (sans-serif) and Spectral (serif, 400/500/600 + italics)",
14670
15165
  cssVariables: [
14671
15166
  "--font-sans",
14672
15167
  "--font-serif"
@@ -14678,10 +15173,10 @@ var styles_catalog_default = {
14678
15173
  },
14679
15174
  {
14680
15175
  name: "Heading Styles",
14681
- description: "h1-h6 with serif font (Source Serif 4), proper sizing, and brand-consistent styling",
15176
+ description: "h1 is the display face (Spectral 500 italic); h2-h6 are Figtree 600",
14682
15177
  sizes: {
14683
- h1: "2.25rem (36px)",
14684
- h2: "1.875rem (30px)",
15178
+ h1: "2.5rem (40px) / line-height 2rem, Spectral 500 italic",
15179
+ h2: "1.75rem (28px) / line-height 2.25rem, Figtree 600",
14685
15180
  h3: "1.5rem (24px)",
14686
15181
  h4: "1.25rem (20px)",
14687
15182
  h5: "1.125rem (18px)",
@@ -15014,7 +15509,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
15014
15509
 
15015
15510
  // src/data/pattern-library.json
15016
15511
  var pattern_library_default = {
15017
- version: "0.2.2",
15512
+ version: "0.2.3",
15018
15513
  layouts: [
15019
15514
  {
15020
15515
  id: "dashboard-page",
@@ -15766,14 +16261,11 @@ var pattern_library_default = {
15766
16261
  description: "Notification bell icon with dropdown panel for header integration",
15767
16262
  components: [
15768
16263
  "NotificationBadge",
15769
- "NotificationList",
15770
- "NotificationItem",
15771
- "DropdownMenu",
15772
- "Button"
16264
+ "DropdownMenu"
15773
16265
  ],
15774
16266
  example: `<script lang="ts">
15775
- import { Button, DropdownMenu } from '@classic-homes/theme-svelte';
15776
- import { NotificationBadge, NotificationList } from '@classic-homes/theme-svelte/notifications';
16267
+ import { DropdownMenu } from '@classic-homes/theme-svelte';
16268
+ import { NotificationBadge } from '@classic-homes/theme-svelte/notifications';
15777
16269
  import { notificationService } from '@classic-homes/notifications/core';
15778
16270
  import type { Notification } from '@classic-homes/notifications/core';
15779
16271
  import { goto } from '$app/navigation';
@@ -15794,39 +16286,26 @@ var pattern_library_default = {
15794
16286
  }
15795
16287
  </script>
15796
16288
 
15797
- <DropdownMenu.Root>
15798
- <DropdownMenu.Trigger asChild let:builder>
15799
- <Button builders={[builder]} variant="ghost" size="icon" class="relative">
15800
- <NotificationBadge count={unreadCount} />
15801
- </Button>
15802
- </DropdownMenu.Trigger>
15803
-
15804
- <DropdownMenu.Content class="w-80" align="end">
15805
- <div class="flex items-center justify-between p-4 border-b">
15806
- <h3 class="font-semibold">Notifications</h3>
15807
- {#if unreadCount > 0}
15808
- <Button variant="ghost" size="sm" onclick={() => notificationService.markAllRead()}>
15809
- Mark all read
15810
- </Button>
15811
- {/if}
15812
- </div>
15813
-
15814
- <div class="max-h-96 overflow-y-auto">
15815
- <NotificationList
15816
- {notifications}
15817
- onNotificationClick={handleNotificationClick}
15818
- emptyTitle="No notifications"
15819
- emptyDescription="You're all caught up!"
15820
- />
15821
- </div>
15822
-
15823
- <div class="p-2 border-t">
15824
- <Button variant="ghost" class="w-full" onclick={() => goto('/notifications')}>
15825
- View all notifications
15826
- </Button>
15827
- </div>
15828
- </DropdownMenu.Content>
15829
- </DropdownMenu.Root>`
16289
+ <!-- DropdownMenu takes an items array (not compound parts); style the trigger via triggerClass. -->
16290
+ <DropdownMenu
16291
+ align="end"
16292
+ triggerLabel="Notifications"
16293
+ triggerClass="relative inline-flex h-10 w-10 items-center justify-center rounded-lg hover:bg-muted-hover"
16294
+ items={[
16295
+ { label: 'Notifications', type: 'label' },
16296
+ ...notifications.map((n) => ({
16297
+ label: n.title,
16298
+ onSelect: () => handleNotificationClick(n),
16299
+ })),
16300
+ { type: 'separator' },
16301
+ { label: 'Mark all read', icon: 'check', onSelect: () => notificationService.markAllRead() },
16302
+ { label: 'View all notifications', href: '/notifications' },
16303
+ ]}
16304
+ >
16305
+ {#snippet trigger()}
16306
+ <NotificationBadge count={unreadCount} />
16307
+ {/snippet}
16308
+ </DropdownMenu>`
15830
16309
  }
15831
16310
  ],
15832
16311
  panels: [
@@ -16124,7 +16603,7 @@ function registerLayoutResources(server) {
16124
16603
 
16125
16604
  // src/data/schema-catalog.json
16126
16605
  var schema_catalog_default = {
16127
- version: "0.2.2",
16606
+ version: "0.2.3",
16128
16607
  packageName: "@classic-homes/theme-svelte",
16129
16608
  importPath: "@classic-homes/theme-svelte",
16130
16609
  generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
@@ -16932,7 +17411,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
16932
17411
 
16933
17412
  // src/data/auth-catalog.json
16934
17413
  var auth_catalog_default = {
16935
- version: "0.2.2",
17414
+ version: "0.2.3",
16936
17415
  packageName: "@classic-homes/auth",
16937
17416
  description: "Authentication services and Svelte bindings for Classic Theme apps",
16938
17417
  subpackages: {
@@ -19969,7 +20448,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
19969
20448
 
19970
20449
  // src/data/notifications-catalog.json
19971
20450
  var notifications_catalog_default = {
19972
- version: "0.2.2",
20451
+ version: "0.2.3",
19973
20452
  packageName: "@classic-homes/notifications",
19974
20453
  description: "Notification services and Svelte bindings for Classic Theme apps",
19975
20454
  subpackages: {
@@ -20881,7 +21360,7 @@ function registerNotificationsResources(server) {
20881
21360
 
20882
21361
  // src/data/docs-catalog.json
20883
21362
  var docs_catalog_default = {
20884
- version: "0.2.2",
21363
+ version: "0.2.3",
20885
21364
  packageName: "@classic-homes/theme-docs",
20886
21365
  description: "Markdown documentation components for the Classic theme system",
20887
21366
  exports: {
@@ -21809,7 +22288,7 @@ function registerDocsResources(server) {
21809
22288
 
21810
22289
  // src/data/charts-catalog.json
21811
22290
  var charts_catalog_default = {
21812
- version: "0.2.2",
22291
+ version: "0.2.3",
21813
22292
  packageName: "@classic-homes/charts-core",
21814
22293
  description: "Core utilities, types, and themes for Classic Theme chart components",
21815
22294
  subpackages: {
@@ -23646,7 +24125,7 @@ interface SankeyData {
23646
24125
 
23647
24126
  // src/data/maps-catalog.json
23648
24127
  var maps_catalog_default = {
23649
- version: "0.2.2",
24128
+ version: "0.2.3",
23650
24129
  packageName: "@classic-homes/maps-core",
23651
24130
  description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
23652
24131
  subpackages: {
@@ -28977,7 +29456,7 @@ ${catalog5.quickReference.tailwindConfig}
28977
29456
 
28978
29457
  // src/data/native-catalog.json
28979
29458
  var native_catalog_default = {
28980
- version: "0.2.2",
29459
+ version: "0.2.3",
28981
29460
  packageName: "@classic-homes/native",
28982
29461
  description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
28983
29462
  subpackages: {
@@ -31352,7 +31831,7 @@ function registerPrompts(server) {
31352
31831
  // package.json
31353
31832
  var package_default = {
31354
31833
  name: "@classic-homes/theme-mcp",
31355
- version: "0.2.2",
31834
+ version: "0.2.3",
31356
31835
  description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
31357
31836
  type: "module",
31358
31837
  main: "dist/index.js",