@dereekb/dbx-components-mcp 14.10.0 → 14.12.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-date.utils.mcp.generated.json +116 -0
- package/generated/dereekb-dbx-core.filters.mcp.generated.json +27 -1
- 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 +53 -1
- 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.12.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.12.0",
|
|
26
|
+
"@dereekb/util": "14.12.0"
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -1616,6 +1616,122 @@
|
|
|
1616
1616
|
"format-date-range"
|
|
1617
1617
|
]
|
|
1618
1618
|
},
|
|
1619
|
+
{
|
|
1620
|
+
"slug": "date-or-day-string-range-to-date-range",
|
|
1621
|
+
"name": "dateOrDayStringRangeToDateRange",
|
|
1622
|
+
"kind": "function",
|
|
1623
|
+
"category": "date",
|
|
1624
|
+
"module": "@dereekb/date",
|
|
1625
|
+
"subpath": "date/date.range.string",
|
|
1626
|
+
"signature": "dateOrDayStringRangeToDateRange(range: DateOrDayStringRange): DateRange",
|
|
1627
|
+
"description": "Converts a {@link DateOrDayStringRange} to a {@link DateRange} by parsing any string values to the start of their respective days.",
|
|
1628
|
+
"params": [
|
|
1629
|
+
{
|
|
1630
|
+
"name": "range",
|
|
1631
|
+
"type": "DateOrDayStringRange",
|
|
1632
|
+
"description": "- The range with Date or string values.",
|
|
1633
|
+
"optional": false
|
|
1634
|
+
}
|
|
1635
|
+
],
|
|
1636
|
+
"returns": "A DateRange with concrete Date objects.",
|
|
1637
|
+
"tags": [
|
|
1638
|
+
"date",
|
|
1639
|
+
"range",
|
|
1640
|
+
"day",
|
|
1641
|
+
"string",
|
|
1642
|
+
"iso8601",
|
|
1643
|
+
"parse",
|
|
1644
|
+
"convert",
|
|
1645
|
+
"to",
|
|
1646
|
+
"or",
|
|
1647
|
+
"dateordaystringrangetodaterange"
|
|
1648
|
+
],
|
|
1649
|
+
"example": "const range = dateOrDayStringRangeToDateRange({ start: '2024-01-01', end: '2024-01-31' });\n// range.start and range.end are Date objects at start of day",
|
|
1650
|
+
"relatedSlugs": [
|
|
1651
|
+
"date-or-day-string-range-to-iso8601-day-string-range",
|
|
1652
|
+
"iso8601-day-string-range-params-to-date-range"
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"slug": "date-or-day-string-range-to-iso8601-day-string-range",
|
|
1657
|
+
"name": "dateOrDayStringRangeToISO8601DayStringRange",
|
|
1658
|
+
"kind": "function",
|
|
1659
|
+
"category": "date",
|
|
1660
|
+
"module": "@dereekb/date",
|
|
1661
|
+
"subpath": "date/date.range.string",
|
|
1662
|
+
"signature": "dateOrDayStringRangeToISO8601DayStringRange(range: DateOrDayStringRange): ISO8601DayStringRange",
|
|
1663
|
+
"description": "Converts a {@link DateOrDayStringRange} to an {@link ISO8601DayStringRange} by formatting any Date values as ISO 8601 day strings using the system timezone.",
|
|
1664
|
+
"params": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "range",
|
|
1667
|
+
"type": "DateOrDayStringRange",
|
|
1668
|
+
"description": "- The range with Date or string values.",
|
|
1669
|
+
"optional": false
|
|
1670
|
+
}
|
|
1671
|
+
],
|
|
1672
|
+
"returns": "A range with both start and end as ISO 8601 day strings.",
|
|
1673
|
+
"tags": [
|
|
1674
|
+
"date",
|
|
1675
|
+
"range",
|
|
1676
|
+
"day",
|
|
1677
|
+
"string",
|
|
1678
|
+
"iso8601",
|
|
1679
|
+
"params",
|
|
1680
|
+
"url",
|
|
1681
|
+
"query",
|
|
1682
|
+
"route",
|
|
1683
|
+
"format",
|
|
1684
|
+
"convert",
|
|
1685
|
+
"to",
|
|
1686
|
+
"or",
|
|
1687
|
+
"dateordaystringrangetoiso8601daystringrange"
|
|
1688
|
+
],
|
|
1689
|
+
"example": "const stringRange = dateOrDayStringRangeToISO8601DayStringRange({\n start: new Date('2024-01-01T10:00:00Z'),\n end: '2024-01-31'\n});\n// stringRange.start === '2024-01-01', stringRange.end === '2024-01-31'",
|
|
1690
|
+
"relatedSlugs": [
|
|
1691
|
+
"date-or-day-string-range-to-date-range",
|
|
1692
|
+
"iso8601-day-string-range-params-to-date-range"
|
|
1693
|
+
]
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"slug": "iso8601-day-string-range-params-to-date-range",
|
|
1697
|
+
"name": "iso8601DayStringRangeParamsToDateRange",
|
|
1698
|
+
"kind": "function",
|
|
1699
|
+
"category": "date",
|
|
1700
|
+
"module": "@dereekb/date",
|
|
1701
|
+
"subpath": "date/date.range.string",
|
|
1702
|
+
"signature": "iso8601DayStringRangeParamsToDateRange(params: Maybe<ISO8601DayStringRangeParams>): Maybe<DateRange>",
|
|
1703
|
+
"description": "Converts {@link ISO8601DayStringRangeParams} to a {@link DateRange}, reading the days in the system timezone.\n\nUnlike {@link dateOrDayStringRangeToDateRange}, the values are checked first, and the range ends at the end of the end day.\nA start that is missing or not a valid ISO 8601 day string returns undefined. An end that is missing, invalid, or before the\nstart is ignored, so the range covers just the start day.",
|
|
1704
|
+
"params": [
|
|
1705
|
+
{
|
|
1706
|
+
"name": "params",
|
|
1707
|
+
"type": "Maybe<ISO8601DayStringRangeParams>",
|
|
1708
|
+
"description": "- The params to read, typically the current route's params.",
|
|
1709
|
+
"optional": false
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"returns": "The date range, or undefined when there is no valid start day.",
|
|
1713
|
+
"tags": [
|
|
1714
|
+
"date",
|
|
1715
|
+
"range",
|
|
1716
|
+
"day",
|
|
1717
|
+
"string",
|
|
1718
|
+
"iso8601",
|
|
1719
|
+
"params",
|
|
1720
|
+
"url",
|
|
1721
|
+
"query",
|
|
1722
|
+
"route",
|
|
1723
|
+
"parse",
|
|
1724
|
+
"validate",
|
|
1725
|
+
"convert",
|
|
1726
|
+
"to",
|
|
1727
|
+
"iso8601daystringrangeparamstodaterange"
|
|
1728
|
+
],
|
|
1729
|
+
"example": "iso8601DayStringRangeParamsToDateRange({ start: '2026-10-14', end: '2026-10-20' });\n// { start: 2026-10-14T00:00:00, end: 2026-10-20T23:59:59.999 } (system timezone)\n\niso8601DayStringRangeParamsToDateRange({ start: '2026-10-14' });\n// { start: 2026-10-14T00:00:00, end: 2026-10-14T23:59:59.999 }\n\niso8601DayStringRangeParamsToDateRange({ start: 'tomorrow' });\n// undefined",
|
|
1730
|
+
"relatedSlugs": [
|
|
1731
|
+
"date-or-day-string-range-to-iso8601-day-string-range",
|
|
1732
|
+
"date-or-day-string-range-to-date-range"
|
|
1733
|
+
]
|
|
1734
|
+
},
|
|
1619
1735
|
{
|
|
1620
1736
|
"slug": "date-range-days-count",
|
|
1621
1737
|
"name": "dateRangeDaysCount",
|
|
@@ -108,6 +108,31 @@
|
|
|
108
108
|
"dbx__ref__dbx-component-patterns"
|
|
109
109
|
]
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "directive",
|
|
113
|
+
"slug": "map-route-params",
|
|
114
|
+
"selector": "[dbxFilterMapRouteParams]",
|
|
115
|
+
"className": "DbxFilterMapRouteParamsDirective",
|
|
116
|
+
"module": "@dereekb/dbx-core",
|
|
117
|
+
"description": "Loads the filter of a keyed entry in an ancestor {@link FilterMap} from the current route params, so a link can open the page on a specific filter.\n\nThe params' filter becomes the key's default filter when the page loads, and a later change to the params (such as a link to\nthe same page with other params) sets the key's filter. When {@link DbxFilterMapRouteParamsConfig.paramsFromFilter} is set,\nevery change to the key is also written back to the URL, so reloading the page keeps the filter.\n\nThe params must be declared on the current route (for UIRouter, as query params of an ancestor state, ideally `dynamic: true`\nso writing them does not reload the state). Do not use it together with {@link DbxFilterMapStorageDirective} on the same key,\nsince both set the key's default filter.",
|
|
118
|
+
"inputs": [
|
|
119
|
+
{
|
|
120
|
+
"name": "dbxFilterMapRouteParams",
|
|
121
|
+
"type": "Maybe<DbxFilterMapRouteParamsConfig<F>>",
|
|
122
|
+
"description": "The key to load and how to read and write its params."
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"outputs": [],
|
|
126
|
+
"example": "<div dbxFilterMap>\n <my-filter-button [dbxFilterMapSourceConnector]=\"'list'\" [dbxFilterMapRouteParams]=\"routeParamsConfig\"></my-filter-button>\n</div>",
|
|
127
|
+
"relatedSlugs": [
|
|
128
|
+
"map",
|
|
129
|
+
"map-storage",
|
|
130
|
+
"map-source-connector"
|
|
131
|
+
],
|
|
132
|
+
"skillRefs": [
|
|
133
|
+
"dbx__ref__dbx-component-patterns"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
111
136
|
{
|
|
112
137
|
"kind": "directive",
|
|
113
138
|
"slug": "map-source",
|
|
@@ -151,7 +176,8 @@
|
|
|
151
176
|
"relatedSlugs": [
|
|
152
177
|
"map",
|
|
153
178
|
"map-source-connector",
|
|
154
|
-
"map-merge-source"
|
|
179
|
+
"map-merge-source",
|
|
180
|
+
"map-route-params"
|
|
155
181
|
],
|
|
156
182
|
"skillRefs": [
|
|
157
183
|
"dbx__ref__dbx-component-patterns"
|
|
@@ -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",
|
|
@@ -2688,6 +2734,12 @@
|
|
|
2688
2734
|
"required": false,
|
|
2689
2735
|
"default": "false"
|
|
2690
2736
|
},
|
|
2737
|
+
{
|
|
2738
|
+
"name": "buttonStyle",
|
|
2739
|
+
"type": "Maybe<DbxButtonStyle>",
|
|
2740
|
+
"description": "Style passed to the button when the navbar renders as a button (the \"button\" and \"icon\" modes), such as a flat type and a color.\n\nThe active anchor's activeButton style is used instead, if it has one. Has no effect on the tab bar.",
|
|
2741
|
+
"required": false
|
|
2742
|
+
},
|
|
2691
2743
|
{
|
|
2692
2744
|
"name": "fab",
|
|
2693
2745
|
"type": "boolean",
|
|
@@ -2743,7 +2795,7 @@
|
|
|
2743
2795
|
},
|
|
2744
2796
|
{
|
|
2745
2797
|
"name": "anchors",
|
|
2746
|
-
"type": "Maybe<
|
|
2798
|
+
"type": "Maybe<DbxNavbarClickableAnchorLinkSegueRef[]>",
|
|
2747
2799
|
"description": "",
|
|
2748
2800
|
"required": false,
|
|
2749
2801
|
"default": "[]"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.12.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.12.0",
|
|
16
|
+
"@dereekb/util": "14.12.0"
|
|
17
17
|
}
|
|
18
18
|
}
|