@dereekb/dbx-components-mcp 14.10.0 → 14.11.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.
- package/dbx-components-mcp.js +3 -3
- package/generated/dereekb-dbx-form.forge-fields.mcp.generated.json +21 -0
- package/generated/dereekb-dbx-web.css-utilities.mcp.generated.json +87 -0
- package/generated/dereekb-dbx-web.tokens.mcp.generated.json +26 -0
- package/generated/dereekb-dbx-web.ui-components.mcp.generated.json +46 -0
- package/package.json +3 -3
package/dbx-components-mcp.js
CHANGED
|
@@ -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: "14.
|
|
13
|
+
version: "14.11.0",
|
|
14
14
|
sideEffects: false,
|
|
15
15
|
type: "module",
|
|
16
16
|
bin: {
|
|
@@ -22,8 +22,8 @@ var package_default = {
|
|
|
22
22
|
"ts-morph": "^21.0.0"
|
|
23
23
|
},
|
|
24
24
|
peerDependencies: {
|
|
25
|
-
"@dereekb/dbx-cli": "14.
|
|
26
|
-
"@dereekb/util": "14.
|
|
25
|
+
"@dereekb/dbx-cli": "14.11.0",
|
|
26
|
+
"@dereekb/util": "14.11.0"
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -176,6 +176,27 @@
|
|
|
176
176
|
"generic": "<T = unknown>",
|
|
177
177
|
"configInterface": "DbxForgeComponentFieldConfig<T>"
|
|
178
178
|
},
|
|
179
|
+
{
|
|
180
|
+
"slug": "radio",
|
|
181
|
+
"factoryName": "dbxForgeRadioField",
|
|
182
|
+
"tier": "field-factory",
|
|
183
|
+
"produces": "T",
|
|
184
|
+
"arrayOutput": "no",
|
|
185
|
+
"description": "Radio button group for picking exactly one value, wrapped in a form-field container. Use for small static option sets where every option should be visible at once.\n\nThe wrapper provides the Material outlined form-field appearance (notched outline with floating label, hint/error subscript), matching the checkbox, toggle, and slider fields.\n\nOptions are passed at the top level of the config, not inside `props`. A `null` option value can represent an \"any\"/\"none\" choice; the form omits the key from its output when that option is selected.\nSet `nullable: true` alongside a `null` option, otherwise a `null` value (including `value: null` as the default) resolves to no selection instead of checking that option.",
|
|
186
|
+
"example": "dbxForgeRadioField<number>({\n key: 'minPay',\n label: 'Minimum Pay Rate',\n layout: 'vertical',\n options: [\n { label: '$120+', value: 120 },\n { label: '$150+', value: 150 }\n ]\n})",
|
|
187
|
+
"properties": [
|
|
188
|
+
{
|
|
189
|
+
"name": "layout",
|
|
190
|
+
"type": "Maybe<DbxForgeRadioFieldLayout>",
|
|
191
|
+
"description": "How the radio buttons are laid out. Defaults to `'horizontal'`.",
|
|
192
|
+
"required": false
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"wrapperPattern": "material-form-field-wrapped",
|
|
196
|
+
"ngFormType": "radio",
|
|
197
|
+
"generic": "<T = unknown>",
|
|
198
|
+
"configInterface": "DbxForgeRadioFieldConfig<T>"
|
|
199
|
+
},
|
|
179
200
|
{
|
|
180
201
|
"slug": "value-selection",
|
|
181
202
|
"factoryName": "dbxForgeValueSelectionField",
|
|
@@ -1066,6 +1066,93 @@
|
|
|
1066
1066
|
"--dbx-padding-3"
|
|
1067
1067
|
]
|
|
1068
1068
|
},
|
|
1069
|
+
{
|
|
1070
|
+
"slug": "card-image-caption",
|
|
1071
|
+
"selector": ".dbx-card-image-captioned",
|
|
1072
|
+
"source": "@dereekb/dbx-web",
|
|
1073
|
+
"module": "@dereekb/dbx-web",
|
|
1074
|
+
"file": "src/lib/layout/card/_card.scss",
|
|
1075
|
+
"line": 301,
|
|
1076
|
+
"declarations": [
|
|
1077
|
+
{
|
|
1078
|
+
"property": "position",
|
|
1079
|
+
"value": "absolute"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"property": "left",
|
|
1083
|
+
"value": "0"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"property": "right",
|
|
1087
|
+
"value": "0"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"property": "bottom",
|
|
1091
|
+
"value": "0"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"property": "padding",
|
|
1095
|
+
"value": "var(--dbx-padding-2) var(--dbx-padding-4)"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"property": "color",
|
|
1099
|
+
"value": "white"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"property": "background",
|
|
1103
|
+
"value": "color-mix(in srgb, var(--mat-sys-scrim, black) 55%, transparent)"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"property": "white-space",
|
|
1107
|
+
"value": "nowrap"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"property": "overflow",
|
|
1111
|
+
"value": "hidden"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"property": "text-overflow",
|
|
1115
|
+
"value": "ellipsis"
|
|
1116
|
+
}
|
|
1117
|
+
],
|
|
1118
|
+
"role": "layout",
|
|
1119
|
+
"intent": "single-line caption strip across the bottom of a `.dbx-card-image-captioned` image — light text on a translucent `--mat-sys-scrim` wash that stays readable over any picture in light and dark themes; long text ellipsizes. Pair with a type role utility such as `.dbx-text-title-small`.",
|
|
1120
|
+
"seeAlso": [
|
|
1121
|
+
"card-image-captioned",
|
|
1122
|
+
"text-title-small"
|
|
1123
|
+
],
|
|
1124
|
+
"parent": "card-image-captioned",
|
|
1125
|
+
"selectorContext": ".dbx-card-image-captioned > .dbx-card-image-caption",
|
|
1126
|
+
"tokensRead": [
|
|
1127
|
+
"--dbx-padding-2",
|
|
1128
|
+
"--dbx-padding-4",
|
|
1129
|
+
"--mat-sys-scrim"
|
|
1130
|
+
]
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"slug": "card-image-captioned",
|
|
1134
|
+
"selector": ".dbx-card-image-captioned",
|
|
1135
|
+
"source": "@dereekb/dbx-web",
|
|
1136
|
+
"module": "@dereekb/dbx-web",
|
|
1137
|
+
"file": "src/lib/layout/card/_card.scss",
|
|
1138
|
+
"line": 285,
|
|
1139
|
+
"declarations": [
|
|
1140
|
+
{
|
|
1141
|
+
"property": "position",
|
|
1142
|
+
"value": "relative"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"property": "overflow",
|
|
1146
|
+
"value": "hidden"
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
1149
|
+
"role": "layout",
|
|
1150
|
+
"intent": "`mat-card-image` wrapper that overlays a `.dbx-card-image-caption` strip on the bottom of its `<img>` (e.g. a place name over a map popup hero) — put `mat-card-image` on this wrapper `<div>` instead of the `<img>`, so the wrapper keeps mat-card's rounded top corners and clips the image to them.",
|
|
1151
|
+
"seeAlso": [
|
|
1152
|
+
"card-image-caption",
|
|
1153
|
+
"text-title-small"
|
|
1154
|
+
]
|
|
1155
|
+
},
|
|
1069
1156
|
{
|
|
1070
1157
|
"slug": "card-select",
|
|
1071
1158
|
"selector": ".dbx-card-select",
|
|
@@ -1776,6 +1776,32 @@
|
|
|
1776
1776
|
},
|
|
1777
1777
|
"componentScope": "list"
|
|
1778
1778
|
},
|
|
1779
|
+
{
|
|
1780
|
+
"cssVariable": "--dbx-mapbox-popup-tip-color",
|
|
1781
|
+
"source": "dbx-web",
|
|
1782
|
+
"role": "color",
|
|
1783
|
+
"intents": [
|
|
1784
|
+
"mapbox popup tip color"
|
|
1785
|
+
],
|
|
1786
|
+
"description": "Component-scoped override point (`mapbox`) read in `packages/dbx-web/src/lib/extension/mapbox/_mapbox.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low))`.",
|
|
1787
|
+
"defaults": {
|
|
1788
|
+
"light": "var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low))"
|
|
1789
|
+
},
|
|
1790
|
+
"componentScope": "mapbox"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"cssVariable": "--dbx-mapbox-popup-width",
|
|
1794
|
+
"source": "dbx-web",
|
|
1795
|
+
"role": "size",
|
|
1796
|
+
"intents": [
|
|
1797
|
+
"mapbox popup width"
|
|
1798
|
+
],
|
|
1799
|
+
"description": "Component-scoped override point (`mapbox`) read in `packages/dbx-web/src/lib/extension/mapbox/_mapbox.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `340px`.",
|
|
1800
|
+
"defaults": {
|
|
1801
|
+
"light": "340px"
|
|
1802
|
+
},
|
|
1803
|
+
"componentScope": "mapbox"
|
|
1804
|
+
},
|
|
1779
1805
|
{
|
|
1780
1806
|
"cssVariable": "--dbx-navbar-item-border-radius",
|
|
1781
1807
|
"source": "dbx-web",
|
|
@@ -808,6 +808,52 @@
|
|
|
808
808
|
"example": "<dbx-progress-spinner-button [config]=\"cfg\" (btnClick)=\"onClick()\"></dbx-progress-spinner-button>",
|
|
809
809
|
"minimalExample": "<dbx-progress-spinner-button [config]=\"cfg\"></dbx-progress-spinner-button>"
|
|
810
810
|
},
|
|
811
|
+
{
|
|
812
|
+
"slug": "browser-agent-view",
|
|
813
|
+
"category": "misc",
|
|
814
|
+
"kind": "component",
|
|
815
|
+
"selector": "dbx-browser-agent-view",
|
|
816
|
+
"className": "DbxBrowserAgentViewComponent",
|
|
817
|
+
"module": "@dereekb/dbx-web",
|
|
818
|
+
"description": "Renders the component of the first {@link DbxBrowserAgentViewEntry} whose match matches the current browser agent (OS, browser, and device), falling back to the config's default entry.\n\nAn optional override button lets the user pick another entry. Injected components can inject {@link DbxBrowserAgentViewContext} to read the detected agent or to switch entries.",
|
|
819
|
+
"inputs": [
|
|
820
|
+
{
|
|
821
|
+
"name": "config",
|
|
822
|
+
"type": "Maybe<DbxBrowserAgentViewConfig>",
|
|
823
|
+
"description": "",
|
|
824
|
+
"required": false
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "showOverrideButton",
|
|
828
|
+
"type": "Maybe<boolean>",
|
|
829
|
+
"description": "",
|
|
830
|
+
"required": false
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"outputs": [],
|
|
834
|
+
"relatedSlugs": [
|
|
835
|
+
"widget",
|
|
836
|
+
"browser-agent-view-override-button"
|
|
837
|
+
],
|
|
838
|
+
"example": "readonly config = makeDbxBrowserAgentViewConfigFromOsMap({\n ios: { componentClass: IosInstructionsComponent },\n android: { componentClass: AndroidInstructionsComponent },\n default: { componentClass: BookmarkInstructionsComponent },\n showOverrideButton: true\n});\n```\n\n```html\n<dbx-browser-agent-view [config]=\"config\" [(overrideKey)]=\"savedDeviceKey\"></dbx-browser-agent-view>",
|
|
839
|
+
"minimalExample": "<dbx-browser-agent-view [config]=\"config\"></dbx-browser-agent-view>"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"slug": "browser-agent-view-override-button",
|
|
843
|
+
"category": "misc",
|
|
844
|
+
"kind": "component",
|
|
845
|
+
"selector": "dbx-browser-agent-view-override-button",
|
|
846
|
+
"className": "DbxBrowserAgentViewOverrideButtonComponent",
|
|
847
|
+
"module": "@dereekb/dbx-web",
|
|
848
|
+
"description": "Button that opens a menu to manually select an entry of the parent {@link DbxBrowserAgentViewComponent}, or to return to the auto-detected entry.\n\nRendered by the view when `showOverrideButton` is enabled, but can also be placed inside the injected content to position it manually.",
|
|
849
|
+
"inputs": [],
|
|
850
|
+
"outputs": [],
|
|
851
|
+
"relatedSlugs": [
|
|
852
|
+
"browser-agent-view"
|
|
853
|
+
],
|
|
854
|
+
"example": "<!-- inside a component injected by dbx-browser-agent-view -->\n<p>Follow these steps to add the app to your home screen.</p>\n<dbx-browser-agent-view-override-button></dbx-browser-agent-view-override-button>",
|
|
855
|
+
"minimalExample": "<dbx-browser-agent-view-override-button></dbx-browser-agent-view-override-button>"
|
|
856
|
+
},
|
|
811
857
|
{
|
|
812
858
|
"slug": "page-title-info",
|
|
813
859
|
"category": "navigation",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.11.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"ts-morph": "^21.0.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@dereekb/dbx-cli": "14.
|
|
16
|
-
"@dereekb/util": "14.
|
|
15
|
+
"@dereekb/dbx-cli": "14.11.0",
|
|
16
|
+
"@dereekb/util": "14.11.0"
|
|
17
17
|
}
|
|
18
18
|
}
|