@dereekb/dbx-components-mcp 13.17.0 → 13.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ var __export = (target, all) => {
10
10
  // packages/dbx-components-mcp/package.json
11
11
  var package_default = {
12
12
  name: "@dereekb/dbx-components-mcp",
13
- version: "13.17.0",
13
+ version: "13.18.0",
14
14
  type: "module",
15
15
  bin: {
16
16
  "dbx-components-mcp": "dbx-components-mcp.js"
@@ -21,8 +21,8 @@ var package_default = {
21
21
  "ts-morph": "^21.0.0"
22
22
  },
23
23
  peerDependencies: {
24
- "@dereekb/dbx-cli": "13.17.0",
25
- "@dereekb/util": "13.17.0"
24
+ "@dereekb/dbx-cli": "13.18.0",
25
+ "@dereekb/util": "13.18.0"
26
26
  }
27
27
  };
28
28
 
@@ -54630,7 +54630,7 @@ var SERVER_VERSION = package_default.version;
54630
54630
  var SERVER_INSTRUCTIONS = `dbx-components-mcp is the authoritative source for dbx-components form, model, UI, action, route, filter, pipe, and semantic-type lookup, scaffolding, and end-to-end wiring validation. Prefer these tools over manual codebase searches when the task matches a cluster.
54631
54631
 
54632
54632
  Tool clusters (each exposes lookup, search, examples, and/or scaffold/validate):
54633
- - form \u2014 @dereekb/dbx-form field catalog (formly + forge), examples, scaffold new fields
54633
+ - form \u2014 @dereekb/dbx-form field catalog (forge), examples, scaffold new fields
54634
54634
  - ui \u2014 @dereekb/dbx-web building blocks: layouts, sections, buttons, cards, examples
54635
54635
  - model \u2014 Firestore model catalog (identity, converters, collection, subcollections), wiring validation, Angular store scaffold
54636
54636
  - action \u2014 dbx-action directives, store, states; lookup/search/examples/scaffold
@@ -473,6 +473,12 @@
473
473
  "description": "",
474
474
  "required": false
475
475
  },
476
+ {
477
+ "name": "filterSelectedValues (props)",
478
+ "type": "PickableValueFieldFilterSelectedValuesFunction<T>",
479
+ "description": "Filters/modifies the selected values at selection time (user pick, remove, select-all).\n\nLets the field enforce rules like group exclusivity internally instead of round-tripping conflicting values through external sync.",
480
+ "required": false
481
+ },
476
482
  {
477
483
  "name": "sortItems (props)",
478
484
  "type": "PickableItemFieldItemSortFn<T, M>",
@@ -584,6 +590,12 @@
584
590
  "description": "",
585
591
  "required": false
586
592
  },
593
+ {
594
+ "name": "filterSelectedValues (props)",
595
+ "type": "PickableValueFieldFilterSelectedValuesFunction<T>",
596
+ "description": "Filters/modifies the selected values at selection time (user pick, remove, select-all).\n\nLets the field enforce rules like group exclusivity internally instead of round-tripping conflicting values through external sync.",
597
+ "required": false
598
+ },
587
599
  {
588
600
  "name": "sortItems (props)",
589
601
  "type": "PickableItemFieldItemSortFn<T, M>",
@@ -2255,7 +2267,7 @@
2255
2267
  "tier": "composite-builder",
2256
2268
  "produces": "GroupField",
2257
2269
  "arrayOutput": "no",
2258
- "description": "Creates a responsive flex layout container that arranges child fields horizontally\nwith configurable sizing, breakpoints, and responsive behavior.\n\nEach child field gets a `dbx-flex-N` CSS class applied (merged with any existing className).\nThe container hosts the `dbx-forge-flex` wrapper, which renders the `dbxFlexGroup`\ndirective for responsive breakpoint handling.\n\nA `container` is used (not a `group`) because flex layout is purely visual —\nthe wrapped fields should remain at the same level in the form value, not be\nnested under an extra object.\n\nThis is the forge equivalent of {@link formlyFlexLayoutWrapper}.",
2270
+ "description": "Creates a responsive flex layout container that arranges child fields horizontally\nwith configurable sizing, breakpoints, and responsive behavior.\n\nEach child field gets a `dbx-flex-N` CSS class applied (merged with any existing className).\nThe container hosts the `dbx-forge-flex` wrapper, which renders the `dbxFlexGroup`\ndirective for responsive breakpoint handling.\n\nA `container` is used (not a `group`) because flex layout is purely visual —\nthe wrapped fields should remain at the same level in the form value, not be\nnested under an extra object.",
2259
2271
  "example": "// Simple: all fields get default size (2)\ndbxForgeFlexLayout({ fields: [dbxForgeCityField({}), dbxForgeStateField({}), dbxForgeZipCodeField({})] })\n\n// Resulting form value shape (flat — no wrapper property):\n// { city: '...', state: '...', zip: '...' }\n\n// With per-field sizing and breakpoint\ndbxForgeFlexLayout({\n breakpoint: 'small',\n size: 1,\n fields: [\n { field: dbxForgeCityField({}), size: 4 },\n dbxForgeStateField({}),\n dbxForgeZipCodeField({})\n ]\n})\n\n// Full config\ndbxForgeFlexLayout({ breakpoint: 'large', breakToColumn: true, relative: true, size: 1, fields: [...] })",
2260
2272
  "properties": [
2261
2273
  {
@@ -5,6 +5,32 @@
5
5
  "generatedAt": "1970-01-01T00:00:00.000Z",
6
6
  "generator": "@dereekb/dbx-components-mcp/scripts/generate-css-tokens.mjs",
7
7
  "entries": [
8
+ {
9
+ "cssVariable": "--dbx-fixeddaterange-field-max-width",
10
+ "source": "dbx-form",
11
+ "role": "size",
12
+ "intents": [
13
+ "fixeddaterange field max width"
14
+ ],
15
+ "description": "Component-scoped override point (`date`) read in `packages/dbx-form/src/lib/forge/field/value/date/_date.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `320px`.",
16
+ "defaults": {
17
+ "light": "320px"
18
+ },
19
+ "componentScope": "date"
20
+ },
21
+ {
22
+ "cssVariable": "--dbx-fixeddaterange-field-min-width",
23
+ "source": "dbx-form",
24
+ "role": "size",
25
+ "intents": [
26
+ "fixeddaterange field min width"
27
+ ],
28
+ "description": "Component-scoped override point (`date`) read in `packages/dbx-form/src/lib/forge/field/value/date/_date.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `240px`.",
29
+ "defaults": {
30
+ "light": "240px"
31
+ },
32
+ "componentScope": "date"
33
+ },
8
34
  {
9
35
  "cssVariable": "--dbx-forge-list-item-field-height",
10
36
  "source": "dbx-form",
@@ -25,7 +51,7 @@
25
51
  "intents": [
26
52
  "form repeat array field container shape"
27
53
  ],
28
- "description": "Component-scoped override point (`array`) read in `packages/dbx-form/src/lib/formly/field/value/array/_array.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `var(--mat-sys-corner-medium)`.",
54
+ "description": "Component-scoped override point (`array`) read in `packages/dbx-form/src/lib/forge/field/value/array/_array.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `var(--mat-sys-corner-medium)`.",
29
55
  "defaults": {
30
56
  "light": "var(--mat-sys-corner-medium)"
31
57
  },
@@ -38,7 +64,7 @@
38
64
  "intents": [
39
65
  "phone field country selector width"
40
66
  ],
41
- "description": "Component-scoped override point (`phone`) read in `packages/dbx-form/src/lib/formly/field/value/phone/_phone.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `85px`.",
67
+ "description": "Component-scoped override point (`phone`) read in `packages/dbx-form/src/lib/forge/field/value/phone/_phone.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `85px`.",
42
68
  "defaults": {
43
69
  "light": "85px"
44
70
  },
@@ -51,11 +77,63 @@
51
77
  "intents": [
52
78
  "phone field extension input width"
53
79
  ],
54
- "description": "Component-scoped override point (`phone`) read in `packages/dbx-form/src/lib/formly/field/value/phone/_phone.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `40px`.",
80
+ "description": "Component-scoped override point (`phone`) read in `packages/dbx-form/src/lib/forge/field/value/phone/_phone.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `40px`.",
55
81
  "defaults": {
56
82
  "light": "40px"
57
83
  },
58
84
  "componentScope": "phone"
85
+ },
86
+ {
87
+ "cssVariable": "--dbx-pickable-item-field-list-content-max-height",
88
+ "source": "dbx-form",
89
+ "role": "size",
90
+ "intents": [
91
+ "pickable item field list content max height"
92
+ ],
93
+ "description": "Component-scoped override point (`pickable`) read in `packages/dbx-form/src/lib/forge/field/selection/pickable/_pickable.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `400px`.",
94
+ "defaults": {
95
+ "light": "400px"
96
+ },
97
+ "componentScope": "pickable"
98
+ },
99
+ {
100
+ "cssVariable": "--dbx-texteditor-field-compact-height",
101
+ "source": "dbx-form",
102
+ "role": "size",
103
+ "intents": [
104
+ "texteditor field compact height"
105
+ ],
106
+ "description": "Component-scoped override point (`texteditor`) read in `packages/dbx-form/src/lib/forge/field/texteditor/_texteditor.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `300px`.",
107
+ "defaults": {
108
+ "light": "300px"
109
+ },
110
+ "componentScope": "texteditor"
111
+ },
112
+ {
113
+ "cssVariable": "--dbx-texteditor-field-compact-min-height",
114
+ "source": "dbx-form",
115
+ "role": "size",
116
+ "intents": [
117
+ "texteditor field compact min height"
118
+ ],
119
+ "description": "Component-scoped override point (`texteditor`) read in `packages/dbx-form/src/lib/forge/field/texteditor/_texteditor.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `120px`.",
120
+ "defaults": {
121
+ "light": "120px"
122
+ },
123
+ "componentScope": "texteditor"
124
+ },
125
+ {
126
+ "cssVariable": "--dbx-texteditor-field-max-height",
127
+ "source": "dbx-form",
128
+ "role": "size",
129
+ "intents": [
130
+ "texteditor field max height"
131
+ ],
132
+ "description": "Component-scoped override point (`texteditor`) read in `packages/dbx-form/src/lib/forge/field/texteditor/_texteditor.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `400px`.",
133
+ "defaults": {
134
+ "light": "400px"
135
+ },
136
+ "componentScope": "texteditor"
59
137
  }
60
138
  ]
61
139
  }