@dereekb/dbx-components-mcp 13.11.17 → 13.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.
|
@@ -533,6 +533,26 @@
|
|
|
533
533
|
"dbx-flex-bar"
|
|
534
534
|
]
|
|
535
535
|
},
|
|
536
|
+
{
|
|
537
|
+
"slug": "card-banner",
|
|
538
|
+
"selector": ".dbx-card-banner",
|
|
539
|
+
"source": "@dereekb/dbx-web",
|
|
540
|
+
"module": "@dereekb/dbx-web",
|
|
541
|
+
"file": "src/lib/layout/card/_card.scss",
|
|
542
|
+
"line": 24,
|
|
543
|
+
"declarations": [],
|
|
544
|
+
"role": "layout",
|
|
545
|
+
"intent": "banner-style `<mat-card>` — pair with `[dbxColor]` (+ `[dbxColorTone]`) for the tonal surface. Drop `<mat-card-header>` entirely; put the icon + `<mat-card-title>` row inside `<mat-card-content>` via a `.dbx-card-banner-header` child, and the action buttons inside `<mat-card-footer>`.",
|
|
546
|
+
"seeAlso": [
|
|
547
|
+
"color",
|
|
548
|
+
"color-tonal",
|
|
549
|
+
"button-wrap-group"
|
|
550
|
+
],
|
|
551
|
+
"tokensRead": [
|
|
552
|
+
"--dbx-padding-2",
|
|
553
|
+
"--dbx-padding-3"
|
|
554
|
+
]
|
|
555
|
+
},
|
|
536
556
|
{
|
|
537
557
|
"slug": "chip",
|
|
538
558
|
"selector": ".dbx-chip",
|
|
@@ -706,7 +726,7 @@
|
|
|
706
726
|
"source": "@dereekb/dbx-web",
|
|
707
727
|
"module": "@dereekb/dbx-web",
|
|
708
728
|
"file": "src/lib/layout/content/_content.scss",
|
|
709
|
-
"line":
|
|
729
|
+
"line": 144,
|
|
710
730
|
"declarations": [
|
|
711
731
|
{
|
|
712
732
|
"property": "margin",
|
|
@@ -762,6 +782,47 @@
|
|
|
762
782
|
"dbx-content-elevate"
|
|
763
783
|
]
|
|
764
784
|
},
|
|
785
|
+
{
|
|
786
|
+
"slug": "content-pit-floating-button",
|
|
787
|
+
"selector": ".dbx-content-pit-floating-button",
|
|
788
|
+
"source": "@dereekb/dbx-web",
|
|
789
|
+
"module": "@dereekb/dbx-web",
|
|
790
|
+
"file": "src/lib/layout/content/_content.scss",
|
|
791
|
+
"line": 96,
|
|
792
|
+
"declarations": [
|
|
793
|
+
{
|
|
794
|
+
"property": "float",
|
|
795
|
+
"value": "right"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"property": "position",
|
|
799
|
+
"value": "sticky"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"property": "top",
|
|
803
|
+
"value": "$dbx-content-pit-floating-button-margin"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"property": "z-index",
|
|
807
|
+
"value": "10"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"property": "margin-right",
|
|
811
|
+
"value": "$dbx-content-pit-floating-button-margin"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"property": "margin-bottom",
|
|
815
|
+
"value": "$dbx-content-pit-floating-button-margin"
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"role": "layout",
|
|
819
|
+
"intent": "floats a button (typically a `dbx-button`) to the top-right of a `.dbx-content-pit` using `position: sticky` so it stays visible while the pit scrolls — used for inline pit actions like expand/collapse or copy",
|
|
820
|
+
"seeAlso": [
|
|
821
|
+
"dbx-content-pit",
|
|
822
|
+
"dbx-content-pit-scrollable"
|
|
823
|
+
],
|
|
824
|
+
"parent": "content-pit"
|
|
825
|
+
},
|
|
765
826
|
{
|
|
766
827
|
"slug": "content-pit-rounded",
|
|
767
828
|
"selector": ".dbx-content-pit-rounded",
|
|
@@ -810,6 +871,35 @@
|
|
|
810
871
|
],
|
|
811
872
|
"parent": "content-pit"
|
|
812
873
|
},
|
|
874
|
+
{
|
|
875
|
+
"slug": "content-scroll-lock",
|
|
876
|
+
"selector": ".dbx-content-scroll-lock",
|
|
877
|
+
"source": "@dereekb/dbx-web",
|
|
878
|
+
"module": "@dereekb/dbx-web",
|
|
879
|
+
"file": "src/lib/layout/content/_content.scss",
|
|
880
|
+
"line": 135,
|
|
881
|
+
"declarations": [
|
|
882
|
+
{
|
|
883
|
+
"property": "height",
|
|
884
|
+
"value": "100%"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"property": "overflow",
|
|
888
|
+
"value": "hidden"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"property": "padding",
|
|
892
|
+
"value": "0 2px"
|
|
893
|
+
}
|
|
894
|
+
],
|
|
895
|
+
"role": "layout",
|
|
896
|
+
"intent": "locks a region to `height: 100%` with `overflow: hidden` so its children can scroll independently of the page — wrap potentially-infinite-height content (calendars, virtual lists) and let the inner element handle its own `overflow: scroll`",
|
|
897
|
+
"seeAlso": [
|
|
898
|
+
"dbx-content",
|
|
899
|
+
"dbx-content-page",
|
|
900
|
+
"dbx-scroll-content"
|
|
901
|
+
]
|
|
902
|
+
},
|
|
813
903
|
{
|
|
814
904
|
"slug": "detail-block",
|
|
815
905
|
"selector": ".dbx-detail-block",
|
|
@@ -2029,6 +2119,27 @@
|
|
|
2029
2119
|
"content-elevate"
|
|
2030
2120
|
]
|
|
2031
2121
|
},
|
|
2122
|
+
{
|
|
2123
|
+
"slug": "scroll-content",
|
|
2124
|
+
"selector": ".dbx-scroll-content",
|
|
2125
|
+
"source": "@dereekb/dbx-web",
|
|
2126
|
+
"module": "@dereekb/dbx-web",
|
|
2127
|
+
"file": "src/lib/layout/content/_content.scss",
|
|
2128
|
+
"line": 216,
|
|
2129
|
+
"declarations": [
|
|
2130
|
+
{
|
|
2131
|
+
"property": "padding-bottom",
|
|
2132
|
+
"value": "$scroll-content-bottom-padding"
|
|
2133
|
+
}
|
|
2134
|
+
],
|
|
2135
|
+
"role": "spacing",
|
|
2136
|
+
"intent": "adds a small bottom padding (~42px) to a scrollable content region so the last item doesn't sit flush against the bottom edge of the viewport — apply to the scrolling element itself (typically a `.dbx-content-container` rendered inside a `dbx-two-column-right`, `dbx-content-page`, or any host whose body overflows)",
|
|
2137
|
+
"seeAlso": [
|
|
2138
|
+
"dbx-content-container",
|
|
2139
|
+
"dbx-content-page",
|
|
2140
|
+
"dbx-content-pit-scrollable"
|
|
2141
|
+
]
|
|
2142
|
+
},
|
|
2032
2143
|
{
|
|
2033
2144
|
"slug": "section",
|
|
2034
2145
|
"selector": ".dbx-section",
|
|
@@ -254,6 +254,27 @@
|
|
|
254
254
|
}
|
|
255
255
|
]
|
|
256
256
|
},
|
|
257
|
+
{
|
|
258
|
+
"slug": "card-support-chat-banner",
|
|
259
|
+
"category": "card",
|
|
260
|
+
"summary": "Outlined mat-card status banner with `[dbxColor]` + `[dbxColorTone]` painting the tonal background. The `.dbx-card-banner` utility lays out a `.dbx-card-banner-header` row inside `<mat-card-content>` (skipping mat-card-header) pairing a vibrant-colored `<dbx-icon-tile [round]>` avatar with a `<mat-card-title>` plus a `<mat-card-footer>` wrap-row of action buttons — toggles between an active-chat (notice) and ending-chat (warn) variant.",
|
|
261
|
+
"header": "Support Chat Banner Card",
|
|
262
|
+
"className": "DocSupportBannerCardExampleComponent",
|
|
263
|
+
"selector": "doc-support-banner-card-example",
|
|
264
|
+
"module": "apps/demo",
|
|
265
|
+
"appRef": "apps/demo",
|
|
266
|
+
"hint": "Outlined mat-card with [dbxColor] tonal background, mat-card-header icon + title, content body, and a footer action row.",
|
|
267
|
+
"relatedSlugs": [
|
|
268
|
+
"mat-card",
|
|
269
|
+
"dbx-card-banner",
|
|
270
|
+
"dbx-icon-tile",
|
|
271
|
+
"dbx-color",
|
|
272
|
+
"dbx-button"
|
|
273
|
+
],
|
|
274
|
+
"info": "<p>\n Reimplements the \"you're already in a chat\" / \"your chat is wrapping up\" status banner from a downstream support page using stock Material card slots plus dbx-web color theming. The host is\n <code><mat-card class=\"dbx-card-banner\" appearance=\"outlined\" [dbxColor]=\"view.color\" [dbxColorTone]=\"18\"></code>\n . The dbx-web card stylesheet contributes two pieces here: a generic\n <code>mat-card.dbx-color</code>\n rule that re-emits the dbx-color background paint at higher specificity than MDC's\n <code>.mat-mdc-card</code>\n background-color (so the tonal wash actually shows through every appearance variant), and the\n <code>.dbx-card-banner</code>\n utility that centers an\n <code><mat-icon mat-card-avatar></code>\n and turns\n <code><mat-card-footer></code>\n into a wrapping action row.\n</p>\n<p>\n <code><mat-card-header></code>\n is dropped on purpose — its default padding made the banner feel tall. Instead a\n <code><dbx-icon-tile></code>\n +\n <code><mat-card-title></code>\n row lives inside\n <code><mat-card-content></code>\n via a\n <code>.dbx-card-banner-header</code>\n child (centered flex row, gap from\n <code>--dbx-padding-3</code>\n ), the body paragraph follows directly underneath, and the action buttons live in\n <code><mat-card-footer></code>\n . The icon tile passes\n <code>[dbxColor]=\"view.color\"</code>\n with\n <code>[round]=\"true\"</code>\n so it renders as a solid circular avatar in the vibrant theme color, popping out of the tonal banner without any per-component CSS. The\n <code>.dbx-card-banner</code>\n utility supplies the header-row flex and the footer wrap-row spacing + padding. The toggle controls at the top reuse the existing\n <code>.dbx-button-wrap-group</code>\n utility.\n</p>\n<p>\n The \"Open chat\" action passes\n <code>[color]=\"view.color\"</code>\n so its label tracks the banner's vibrant color while keeping a transparent background that lets the tonal wash show through; \"Dismiss\" stays as a basic\n <code><dbx-button></code>\n . Action clicks pop a\n <code>MatSnackBar</code>\n so the demo proves the wiring without depending on routing or chat infrastructure.\n</p>\n<p>\n The\n <code>kindSignal</code>\n swaps the entire view between the two presets without re-templating, modelling the real-world pattern where the banner is driven by a derived store selector.\n</p>",
|
|
275
|
+
"snippet": "<div class=\"dbx-button-wrap-group dbx-mb3\">\n <button mat-stroked-button (click)=\"setKind('activeChat')\" [disabled]=\"kindSignal() === 'activeChat'\">Show active chat</button>\n <button mat-stroked-button (click)=\"setKind('endedChat')\" [disabled]=\"kindSignal() === 'endedChat'\">Show ending chat</button>\n</div>\n@if (viewSignal(); as view) {\n <mat-card class=\"dbx-card-banner\" appearance=\"outlined\" role=\"status\" [dbxColor]=\"view.color\" [dbxColorTone]=\"18\">\n <mat-card-content>\n <div class=\"dbx-card-banner-header\">\n <dbx-icon-tile [icon]=\"view.icon\" [round]=\"true\" [dbxColor]=\"view.color\"></dbx-icon-tile>\n <mat-card-title>{{ view.title }}</mat-card-title>\n </div>\n <p>{{ view.text }}</p>\n </mat-card-content>\n <mat-card-footer>\n <dbx-button [color]=\"view.color\" text=\"Open chat\" icon=\"chat_bubble\" (buttonClick)=\"resumeChat()\"></dbx-button>\n <dbx-button text=\"Dismiss\" (buttonClick)=\"dismissBanner()\"></dbx-button>\n </mat-card-footer>\n </mat-card>\n}",
|
|
276
|
+
"uses": []
|
|
277
|
+
},
|
|
257
278
|
{
|
|
258
279
|
"slug": "layout-support-page",
|
|
259
280
|
"category": "layout",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dbx-components-mcp": "dbx-components-mcp.js"
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
"@angular/core": "21.2.11",
|
|
16
16
|
"@angular/forms": "21.2.11",
|
|
17
17
|
"@angular/material": "^21.2.9",
|
|
18
|
-
"@dereekb/dbx-cli": "13.
|
|
19
|
-
"@dereekb/dbx-core": "13.
|
|
20
|
-
"@dereekb/dbx-firebase": "13.
|
|
21
|
-
"@dereekb/dbx-form": "13.
|
|
22
|
-
"@dereekb/dbx-web": "13.
|
|
23
|
-
"@dereekb/firebase": "13.
|
|
24
|
-
"@dereekb/firebase-server": "13.
|
|
25
|
-
"@dereekb/rxjs": "13.
|
|
26
|
-
"@dereekb/util": "13.
|
|
18
|
+
"@dereekb/dbx-cli": "13.12.0",
|
|
19
|
+
"@dereekb/dbx-core": "13.12.0",
|
|
20
|
+
"@dereekb/dbx-firebase": "13.12.0",
|
|
21
|
+
"@dereekb/dbx-form": "13.12.0",
|
|
22
|
+
"@dereekb/dbx-web": "13.12.0",
|
|
23
|
+
"@dereekb/firebase": "13.12.0",
|
|
24
|
+
"@dereekb/firebase-server": "13.12.0",
|
|
25
|
+
"@dereekb/rxjs": "13.12.0",
|
|
26
|
+
"@dereekb/util": "13.12.0",
|
|
27
27
|
"@uirouter/angular": "21.0.0",
|
|
28
28
|
"rxjs": "^7.8.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@dereekb/model": "13.
|
|
31
|
+
"@dereekb/model": "13.12.0"
|
|
32
32
|
}
|
|
33
33
|
}
|