@dereekb/dbx-components-mcp 14.13.0 → 14.14.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 +62 -0
- package/generated/dereekb-dbx-web.css-utilities.mcp.generated.json +189 -1
- package/generated/dereekb-dbx-web.tokens.mcp.generated.json +91 -0
- package/generated/dereekb-dbx-web.ui-components.mcp.generated.json +49 -3
- package/generated/dereekb-util.utils.mcp.generated.json +38 -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.14.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.14.0",
|
|
26
|
+
"@dereekb/util": "14.14.0"
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -123,6 +123,68 @@
|
|
|
123
123
|
],
|
|
124
124
|
"configInterface": "DbxForgeUsernameLoginFieldUsernameConfigInput"
|
|
125
125
|
},
|
|
126
|
+
{
|
|
127
|
+
"slug": "website-url",
|
|
128
|
+
"factoryName": "dbxForgeWebsiteUrlField",
|
|
129
|
+
"tier": "field-factory",
|
|
130
|
+
"produces": "string",
|
|
131
|
+
"arrayOutput": "no",
|
|
132
|
+
"description": "Website url input with website url validation.\n\nDefaults to the key `'website'` and label `'Website Url'` unless overridden in the config.\n\nWhen a `baseUrl` is configured (e.g. `'https://linkedin.com/in/'`), the base url is shown as a prefix and the user only types the relative path\nthat follows it (e.g. a username). Pasting a full url, or a url without the protocol, removes the base url from the input. The `valueMode`\ndetermines whether the full url or only the relative path is saved. The `requirePrefix`, `allowPorts`, and `validDomains` validation options\nonly apply when no base url is configured.",
|
|
133
|
+
"example": "const field = dbxForgeWebsiteUrlField();\nconst linkedInField = dbxForgeWebsiteUrlField({ key: 'linkedIn', label: 'LinkedIn', baseUrl: 'https://linkedin.com/in/' });\nconst linkedInUsernameField = dbxForgeWebsiteUrlField({ key: 'linkedInUsername', label: 'LinkedIn', baseUrl: 'https://linkedin.com/in/', valueMode: 'relative' });",
|
|
134
|
+
"properties": [
|
|
135
|
+
{
|
|
136
|
+
"name": "autocomplete",
|
|
137
|
+
"type": "FieldAutocompleteAttributeOption",
|
|
138
|
+
"description": "",
|
|
139
|
+
"required": false
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "notWebsiteUrlMessage",
|
|
143
|
+
"type": "DynamicText",
|
|
144
|
+
"description": "Optional override for the \"is not a valid website url\" error message.",
|
|
145
|
+
"required": false
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "notWebsiteUrlWithPrefixMessage",
|
|
149
|
+
"type": "DynamicText",
|
|
150
|
+
"description": "Optional override for the \"is not a valid website url with an http/https prefix\" error message.",
|
|
151
|
+
"required": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "notWebsiteUrlWithExpectedDomainMessage",
|
|
155
|
+
"type": "DynamicText",
|
|
156
|
+
"description": "Optional override for the \"is not a valid website url with an expected domain\" error message.",
|
|
157
|
+
"required": false
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "valueMode",
|
|
161
|
+
"type": "DbxForgeWebsiteUrlFieldValueMode",
|
|
162
|
+
"description": "The value saved when a base url is configured.\n\n- `'url'`: the full website url, e.g. `https://linkedin.com/in/dereekb`\n- `'relative'`: only the relative path that follows the base url, e.g. `dereekb`\n\nDefaults to `'url'`.",
|
|
163
|
+
"required": false
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "notWebsiteUrlWithExpectedBaseUrlMessage",
|
|
167
|
+
"type": "DynamicText",
|
|
168
|
+
"description": "Optional override for the \"is not a website url with the expected base url\" error message.\n\nOnly used when a base url is configured.",
|
|
169
|
+
"required": false
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "type (props)",
|
|
173
|
+
"type": "DbxForgeTextFieldInputType",
|
|
174
|
+
"description": "HTML input type. Defaults to `'text'`.",
|
|
175
|
+
"required": false
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "valueMode (props)",
|
|
179
|
+
"type": "DbxForgeWebsiteUrlFieldValueMode",
|
|
180
|
+
"description": "The value saved when a base url is configured.\n\nDefaults to `'url'`.",
|
|
181
|
+
"required": false
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"wrapperPattern": "unwrapped",
|
|
185
|
+
"ngFormType": "websiteurl",
|
|
186
|
+
"configInterface": "DbxForgeWebsiteUrlFieldConfig"
|
|
187
|
+
},
|
|
126
188
|
{
|
|
127
189
|
"slug": "checklist",
|
|
128
190
|
"factoryName": "dbxForgeChecklistField",
|
|
@@ -584,6 +584,194 @@
|
|
|
584
584
|
"--dbx-padding-2"
|
|
585
585
|
]
|
|
586
586
|
},
|
|
587
|
+
{
|
|
588
|
+
"slug": "button-floating",
|
|
589
|
+
"selector": ".dbx-button-floating",
|
|
590
|
+
"source": "@dereekb/dbx-web",
|
|
591
|
+
"module": "@dereekb/dbx-web",
|
|
592
|
+
"file": "src/lib/button/_button.scss",
|
|
593
|
+
"line": 205,
|
|
594
|
+
"declarations": [
|
|
595
|
+
{
|
|
596
|
+
"property": "position",
|
|
597
|
+
"value": "sticky"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"property": "z-index",
|
|
601
|
+
"value": "var(--dbx-button-floating-z-index, 10)"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"property": "bottom",
|
|
605
|
+
"value": "$button-floating-offset-y"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"property": "display",
|
|
609
|
+
"value": "flex"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"property": "gap",
|
|
613
|
+
"value": "var(--dbx-padding-2)"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"property": "width",
|
|
617
|
+
"value": "fit-content"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"property": "margin-left",
|
|
621
|
+
"value": "auto"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"property": "--mat-button-protected-container-elevation-shadow",
|
|
625
|
+
"value": "var(--mat-sys-level3)"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"property": "--mat-button-protected-focus-container-elevation-shadow",
|
|
629
|
+
"value": "var(--mat-sys-level3)"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"property": "--mat-button-protected-pressed-container-elevation-shadow",
|
|
633
|
+
"value": "var(--mat-sys-level3)"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"property": "--mat-button-protected-hover-container-elevation-shadow",
|
|
637
|
+
"value": "var(--mat-sys-level4)"
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"role": "layout",
|
|
641
|
+
"intent": "float a button (or a wrapper holding several buttons) over the content with `position: sticky` — pinned `offset-y` from the bottom of its scroll container while its parent section is on screen, right-aligned by default. Raised buttons get FAB-level elevation. Compose with `.dbx-button-floating-top` / `-left` / `-center` to reposition, or `.dbx-button-floating-fixed` to pin to the viewport. Sticky breaks when an ancestor between the host and the scroller sets `overflow`. Tune with `--dbx-button-floating-offset` (or `-offset-x` / `-offset-y`) and `--dbx-button-floating-z-index`",
|
|
642
|
+
"seeAlso": [
|
|
643
|
+
"button-floating-fixed",
|
|
644
|
+
"button-floating-top",
|
|
645
|
+
"button-floating-left",
|
|
646
|
+
"button-floating-center",
|
|
647
|
+
"content-pit-floating-button"
|
|
648
|
+
],
|
|
649
|
+
"tokensRead": [
|
|
650
|
+
"--dbx-button-floating-z-index",
|
|
651
|
+
"--dbx-padding-2",
|
|
652
|
+
"--mat-sys-level3",
|
|
653
|
+
"--mat-sys-level4"
|
|
654
|
+
],
|
|
655
|
+
"tokensSet": [
|
|
656
|
+
"--mat-button-protected-container-elevation-shadow",
|
|
657
|
+
"--mat-button-protected-focus-container-elevation-shadow",
|
|
658
|
+
"--mat-button-protected-hover-container-elevation-shadow",
|
|
659
|
+
"--mat-button-protected-pressed-container-elevation-shadow"
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"slug": "button-floating-center",
|
|
664
|
+
"selector": ".dbx-button-floating-center",
|
|
665
|
+
"source": "@dereekb/dbx-web",
|
|
666
|
+
"module": "@dereekb/dbx-web",
|
|
667
|
+
"file": "src/lib/button/_button.scss",
|
|
668
|
+
"line": 265,
|
|
669
|
+
"declarations": [
|
|
670
|
+
{
|
|
671
|
+
"property": "margin-left",
|
|
672
|
+
"value": "auto"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"property": "margin-right",
|
|
676
|
+
"value": "auto"
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"role": "layout",
|
|
680
|
+
"intent": "horizontally center a `.dbx-button-floating` instead of right-aligning it",
|
|
681
|
+
"seeAlso": [
|
|
682
|
+
"button-floating",
|
|
683
|
+
"button-floating-top",
|
|
684
|
+
"button-floating-left"
|
|
685
|
+
],
|
|
686
|
+
"parent": "button-floating"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"slug": "button-floating-fixed",
|
|
690
|
+
"selector": ".dbx-button-floating-fixed",
|
|
691
|
+
"source": "@dereekb/dbx-web",
|
|
692
|
+
"module": "@dereekb/dbx-web",
|
|
693
|
+
"file": "src/lib/button/_button.scss",
|
|
694
|
+
"line": 226,
|
|
695
|
+
"declarations": [
|
|
696
|
+
{
|
|
697
|
+
"property": "position",
|
|
698
|
+
"value": "fixed"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"property": "margin",
|
|
702
|
+
"value": "0"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"property": "right",
|
|
706
|
+
"value": "$button-floating-offset-x"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"property": "bottom",
|
|
710
|
+
"value": "$button-floating-offset-y"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"role": "layout",
|
|
714
|
+
"intent": "pin a `.dbx-button-floating` to the viewport with `position: fixed` — a classic floating action button, `offset-x` / `offset-y` from the bottom-right corner by default (composes with `-top` / `-left` / `-center`). Breaks when an ancestor sets `transform`, `filter` or `contain`, which re-anchors fixed positioning to that ancestor",
|
|
715
|
+
"seeAlso": [
|
|
716
|
+
"button-floating",
|
|
717
|
+
"button-floating-top",
|
|
718
|
+
"button-floating-left",
|
|
719
|
+
"button-floating-center"
|
|
720
|
+
],
|
|
721
|
+
"parent": "button-floating"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"slug": "button-floating-left",
|
|
725
|
+
"selector": ".dbx-button-floating-left",
|
|
726
|
+
"source": "@dereekb/dbx-web",
|
|
727
|
+
"module": "@dereekb/dbx-web",
|
|
728
|
+
"file": "src/lib/button/_button.scss",
|
|
729
|
+
"line": 250,
|
|
730
|
+
"declarations": [
|
|
731
|
+
{
|
|
732
|
+
"property": "margin-left",
|
|
733
|
+
"value": "0"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"property": "margin-right",
|
|
737
|
+
"value": "auto"
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"role": "layout",
|
|
741
|
+
"intent": "align a `.dbx-button-floating` to the left edge instead of the right",
|
|
742
|
+
"seeAlso": [
|
|
743
|
+
"button-floating",
|
|
744
|
+
"button-floating-top",
|
|
745
|
+
"button-floating-center"
|
|
746
|
+
],
|
|
747
|
+
"parent": "button-floating"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"slug": "button-floating-top",
|
|
751
|
+
"selector": ".dbx-button-floating-top",
|
|
752
|
+
"source": "@dereekb/dbx-web",
|
|
753
|
+
"module": "@dereekb/dbx-web",
|
|
754
|
+
"file": "src/lib/button/_button.scss",
|
|
755
|
+
"line": 240,
|
|
756
|
+
"declarations": [
|
|
757
|
+
{
|
|
758
|
+
"property": "top",
|
|
759
|
+
"value": "$button-floating-offset-y"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"property": "bottom",
|
|
763
|
+
"value": "auto"
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
"role": "layout",
|
|
767
|
+
"intent": "pin a `.dbx-button-floating` to the top edge (`offset-y` from the top) instead of the bottom — in sticky mode place the host at the start of its section",
|
|
768
|
+
"seeAlso": [
|
|
769
|
+
"button-floating",
|
|
770
|
+
"button-floating-left",
|
|
771
|
+
"button-floating-center"
|
|
772
|
+
],
|
|
773
|
+
"parent": "button-floating"
|
|
774
|
+
},
|
|
587
775
|
{
|
|
588
776
|
"slug": "button-form-field-height",
|
|
589
777
|
"selector": ".dbx-button-form-field-height",
|
|
@@ -1511,7 +1699,7 @@
|
|
|
1511
1699
|
}
|
|
1512
1700
|
],
|
|
1513
1701
|
"role": "layout",
|
|
1514
|
-
"intent": "recessed surface pit (\"negative elevation\") — a semi-transparent tonal wash of the active dbxColor over `--mat-sys-surface-dim` (the dimmest/greyest M3 surface, the opposite end of the dim/bright pair from `.dbx-content-elevate`) so the lighter surface behind shows through, with a `padding-4` inset, used to visually nest content (e.g. logs, JSON, quoted blocks); rounded by default, opt out with `.dbx-corners-none`",
|
|
1702
|
+
"intent": "recessed surface pit (\"negative elevation\") — a semi-transparent tonal wash of the active dbxColor over `--mat-sys-surface-dim` (the dimmest/greyest M3 surface, the opposite end of the dim/bright pair from `.dbx-content-elevate`) so the lighter surface behind shows through, with a `padding-4` inset, used to visually nest content (e.g. logs, JSON, quoted blocks); rounded by default, opt out with `.dbx-corners-none`. Draws a thin 1px edge derived from its own background (a translucent ink of the active dbxColor + `on-surface` laid over the fill), so the edge follows dbxColor and background overrides — tune it with `--dbx-content-pit-border-width` (`0` removes it), `--dbx-content-pit-border-tone` (percentage), or `--dbx-content-pit-border-color`",
|
|
1515
1703
|
"seeAlso": [
|
|
1516
1704
|
"dbx-content-pit-scrollable",
|
|
1517
1705
|
"dbx-content-border",
|
|
@@ -430,6 +430,58 @@
|
|
|
430
430
|
},
|
|
431
431
|
"componentScope": "button"
|
|
432
432
|
},
|
|
433
|
+
{
|
|
434
|
+
"cssVariable": "--dbx-button-floating-offset",
|
|
435
|
+
"source": "dbx-web",
|
|
436
|
+
"role": "misc",
|
|
437
|
+
"intents": [
|
|
438
|
+
"button floating offset"
|
|
439
|
+
],
|
|
440
|
+
"description": "Component-scoped override point (`button`) read in `packages/dbx-web/src/lib/button/_button.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `var(--dbx-padding-4)`.",
|
|
441
|
+
"defaults": {
|
|
442
|
+
"light": "var(--dbx-padding-4)"
|
|
443
|
+
},
|
|
444
|
+
"componentScope": "button"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"cssVariable": "--dbx-button-floating-offset-x",
|
|
448
|
+
"source": "dbx-web",
|
|
449
|
+
"role": "misc",
|
|
450
|
+
"intents": [
|
|
451
|
+
"button floating offset x"
|
|
452
|
+
],
|
|
453
|
+
"description": "Component-scoped override point (`button`) read in `packages/dbx-web/src/lib/button/_button.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `var(--dbx-button-floating-offset, var(--dbx-padding-4))`.",
|
|
454
|
+
"defaults": {
|
|
455
|
+
"light": "var(--dbx-button-floating-offset, var(--dbx-padding-4))"
|
|
456
|
+
},
|
|
457
|
+
"componentScope": "button"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"cssVariable": "--dbx-button-floating-offset-y",
|
|
461
|
+
"source": "dbx-web",
|
|
462
|
+
"role": "misc",
|
|
463
|
+
"intents": [
|
|
464
|
+
"button floating offset y"
|
|
465
|
+
],
|
|
466
|
+
"description": "Component-scoped override point (`button`) read in `packages/dbx-web/src/lib/button/_button.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `var(--dbx-button-floating-offset, var(--dbx-padding-4))`.",
|
|
467
|
+
"defaults": {
|
|
468
|
+
"light": "var(--dbx-button-floating-offset, var(--dbx-padding-4))"
|
|
469
|
+
},
|
|
470
|
+
"componentScope": "button"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"cssVariable": "--dbx-button-floating-z-index",
|
|
474
|
+
"source": "dbx-web",
|
|
475
|
+
"role": "misc",
|
|
476
|
+
"intents": [
|
|
477
|
+
"button floating z index"
|
|
478
|
+
],
|
|
479
|
+
"description": "Component-scoped override point (`button`) read in `packages/dbx-web/src/lib/button/_button.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `10`.",
|
|
480
|
+
"defaults": {
|
|
481
|
+
"light": "10"
|
|
482
|
+
},
|
|
483
|
+
"componentScope": "button"
|
|
484
|
+
},
|
|
433
485
|
{
|
|
434
486
|
"cssVariable": "--dbx-button-icon-color",
|
|
435
487
|
"source": "dbx-web",
|
|
@@ -991,6 +1043,45 @@
|
|
|
991
1043
|
},
|
|
992
1044
|
"componentScope": "content"
|
|
993
1045
|
},
|
|
1046
|
+
{
|
|
1047
|
+
"cssVariable": "--dbx-content-pit-border-color",
|
|
1048
|
+
"source": "dbx-web",
|
|
1049
|
+
"role": "color",
|
|
1050
|
+
"intents": [
|
|
1051
|
+
"content pit border color"
|
|
1052
|
+
],
|
|
1053
|
+
"description": "Component-scoped override point (`content`) read in `packages/dbx-web/src/lib/layout/content/_content.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `color-mix(in srgb, color-mix(in srgb, #{theming.$dbx-bg-color} 50%, var(--mat-sys-on-surface)) var(--dbx-content-pit-border-tone, 8%), transparent)`.",
|
|
1054
|
+
"defaults": {
|
|
1055
|
+
"light": "color-mix(in srgb, color-mix(in srgb, #{theming.$dbx-bg-color} 50%, var(--mat-sys-on-surface)) var(--dbx-content-pit-border-tone, 8%), transparent)"
|
|
1056
|
+
},
|
|
1057
|
+
"componentScope": "content"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"cssVariable": "--dbx-content-pit-border-tone",
|
|
1061
|
+
"source": "dbx-web",
|
|
1062
|
+
"role": "misc",
|
|
1063
|
+
"intents": [
|
|
1064
|
+
"content pit border tone"
|
|
1065
|
+
],
|
|
1066
|
+
"description": "Component-scoped override point (`content`) read in `packages/dbx-web/src/lib/layout/content/_content.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `8%`.",
|
|
1067
|
+
"defaults": {
|
|
1068
|
+
"light": "8%"
|
|
1069
|
+
},
|
|
1070
|
+
"componentScope": "content"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"cssVariable": "--dbx-content-pit-border-width",
|
|
1074
|
+
"source": "dbx-web",
|
|
1075
|
+
"role": "size",
|
|
1076
|
+
"intents": [
|
|
1077
|
+
"content pit border width"
|
|
1078
|
+
],
|
|
1079
|
+
"description": "Component-scoped override point (`content`) read in `packages/dbx-web/src/lib/layout/content/_content.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `1px`.",
|
|
1080
|
+
"defaults": {
|
|
1081
|
+
"light": "1px"
|
|
1082
|
+
},
|
|
1083
|
+
"componentScope": "content"
|
|
1084
|
+
},
|
|
994
1085
|
{
|
|
995
1086
|
"cssVariable": "--dbx-content-pit-opacity",
|
|
996
1087
|
"source": "dbx-web",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"selector": "dbx-button",
|
|
76
76
|
"className": "DbxButtonComponent",
|
|
77
77
|
"module": "@dereekb/dbx-web",
|
|
78
|
-
"description": "Feature-rich button component that supports loading indicators, multiple Material button styles,\ncustom colors, icons, and floating action button (FAB) mode. Integrates with the dbxAction system\nfor automatic working/disabled state management.",
|
|
78
|
+
"description": "Feature-rich button component that supports loading indicators, multiple Material button styles,\ncustom colors, icons, and floating action button (FAB / extended FAB) mode. Integrates with the dbxAction system\nfor automatic working/disabled state management.",
|
|
79
79
|
"inputs": [
|
|
80
80
|
{
|
|
81
81
|
"name": "bar",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
{
|
|
166
166
|
"name": "fab",
|
|
167
167
|
"type": "boolean",
|
|
168
|
-
"description": "",
|
|
168
|
+
"description": "Renders a Material FAB, or an extended FAB when the button has text. Combine with {@link iconOnly} for a round icon button.",
|
|
169
169
|
"required": false,
|
|
170
170
|
"default": "false"
|
|
171
171
|
},
|
|
@@ -203,6 +203,52 @@
|
|
|
203
203
|
"example": "<dbx-button [text]=\"'Save'\" raised [dbxAction]=\"saveAction\">\n</dbx-button>",
|
|
204
204
|
"minimalExample": "<dbx-button text=\"Save\" raised [dbxAction]=\"saveAction\"></dbx-button>"
|
|
205
205
|
},
|
|
206
|
+
{
|
|
207
|
+
"slug": "button-floating",
|
|
208
|
+
"category": "button",
|
|
209
|
+
"kind": "directive",
|
|
210
|
+
"selector": "[dbxButtonFloating]",
|
|
211
|
+
"className": "DbxButtonFloatingDirective",
|
|
212
|
+
"module": "@dereekb/dbx-web",
|
|
213
|
+
"description": "Floats its host — typically a `dbx-button` with `dbxActionButton`, or a wrapper holding several buttons — over the content\nby applying the `.dbx-button-floating` utility classes.\n\nIn the default `'sticky'` mode the host stays pinned to the edge of its scroll container while its parent section is on\nscreen, which suits a Save button at the end of a long form. Place the host at the end of its section for bottom positions and\nat the start for top positions. Sticky stops working when an ancestor between the host and the scroll container sets\n`overflow`. In `'fixed'` mode the host is pinned to the viewport; fixed positioning is re-anchored to any ancestor that sets\n`transform`, `filter` or `contain`.\n\nSet `fab` on the `dbx-button` for the Material FAB presentation (an extended FAB when it has text). Pair with\n`dbxActionEnforceModified` on the action to keep a floating Save button disabled until the form has changes.",
|
|
214
|
+
"inputs": [
|
|
215
|
+
{
|
|
216
|
+
"name": "dbxButtonFloating",
|
|
217
|
+
"type": "Maybe<DbxButtonFloatingConfig | DbxButtonFloatingPosition | ''>",
|
|
218
|
+
"description": "Config for the floating button, or a {@link DbxButtonFloatingPosition} shorthand. Empty when used as a bare attribute.",
|
|
219
|
+
"required": false
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "dbxButtonFloatingMode",
|
|
223
|
+
"type": "Maybe<DbxButtonFloatingMode>",
|
|
224
|
+
"description": "",
|
|
225
|
+
"required": false
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "dbxButtonFloatingPosition",
|
|
229
|
+
"type": "Maybe<DbxButtonFloatingPosition>",
|
|
230
|
+
"description": "",
|
|
231
|
+
"required": false
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "dbxButtonFloatingOffset",
|
|
235
|
+
"type": "Maybe<DbxButtonFloatingOffset>",
|
|
236
|
+
"description": "",
|
|
237
|
+
"required": false
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"outputs": [],
|
|
241
|
+
"relatedSlugs": [
|
|
242
|
+
"button",
|
|
243
|
+
"button-spacer",
|
|
244
|
+
"content-pit"
|
|
245
|
+
],
|
|
246
|
+
"skillRefs": [
|
|
247
|
+
"dbx__ref__dbx-ui-building-blocks"
|
|
248
|
+
],
|
|
249
|
+
"example": "<div dbxAction dbxActionEnforceModified [dbxActionHandler]=\"handleSave\">\n <my-form dbxActionForm></my-form>\n <dbx-button dbxButtonFloating fab color=\"primary\" icon=\"save\" text=\"Save\" dbxActionButton></dbx-button>\n</div>",
|
|
250
|
+
"minimalExample": "<dbx-button dbxButtonFloating fab color=\"primary\" icon=\"save\" text=\"Save\" dbxActionButton></dbx-button>"
|
|
251
|
+
},
|
|
206
252
|
{
|
|
207
253
|
"slug": "button-spacer",
|
|
208
254
|
"category": "button",
|
|
@@ -757,7 +803,7 @@
|
|
|
757
803
|
"selector": "dbx-progress-spinner-button,dbx-spinner-button",
|
|
758
804
|
"className": "DbxProgressSpinnerButtonComponent",
|
|
759
805
|
"module": "@dereekb/dbx-web",
|
|
760
|
-
"description": "Progress button that overlays a Material progress spinner on the button while working.\nSupports icon-only, FAB, and text button modes with automatic spinner sizing.",
|
|
806
|
+
"description": "Progress button that overlays a Material progress spinner on the button while working.\nSupports icon-only, FAB, extended FAB, and text button modes with automatic spinner sizing.\n\nA `fab` config renders a Material `mat-fab` — an extended FAB when the button has text — while `fab` + `iconOnly` renders a\nround icon button.",
|
|
761
807
|
"inputs": [
|
|
762
808
|
{
|
|
763
809
|
"name": "config",
|
|
@@ -12369,6 +12369,44 @@
|
|
|
12369
12369
|
"read-website-protocol"
|
|
12370
12370
|
]
|
|
12371
12371
|
},
|
|
12372
|
+
{
|
|
12373
|
+
"slug": "website-url-relative-path-functions",
|
|
12374
|
+
"name": "websiteUrlRelativePathFunctions",
|
|
12375
|
+
"kind": "factory",
|
|
12376
|
+
"category": "string",
|
|
12377
|
+
"module": "@dereekb/util",
|
|
12378
|
+
"subpath": "string/url",
|
|
12379
|
+
"signature": "websiteUrlRelativePathFunctions(config: WebsiteUrlRelativePathFunctionsConfig): WebsiteUrlRelativePathFunctions",
|
|
12380
|
+
"description": "Creates {@link WebsiteUrlRelativePathFunctions} for the configured base url.\n\nInputs may be the relative path (`dereekb`), a url without a protocol (`linkedin.com/in/dereekb`), or a full url (`https://www.linkedin.com/in/dereekb/?trk=abc`).\nDomains are compared case-insensitively and a leading `www.` is ignored. Query parameters and trailing slashes are removed from the relative path.",
|
|
12381
|
+
"params": [
|
|
12382
|
+
{
|
|
12383
|
+
"name": "config",
|
|
12384
|
+
"type": "WebsiteUrlRelativePathFunctionsConfig",
|
|
12385
|
+
"description": "- The base url and protocol configuration.",
|
|
12386
|
+
"optional": false
|
|
12387
|
+
}
|
|
12388
|
+
],
|
|
12389
|
+
"returns": "Functions for reading relative paths and building full website urls.",
|
|
12390
|
+
"tags": [
|
|
12391
|
+
"string",
|
|
12392
|
+
"url",
|
|
12393
|
+
"path",
|
|
12394
|
+
"relative",
|
|
12395
|
+
"base",
|
|
12396
|
+
"slug",
|
|
12397
|
+
"username",
|
|
12398
|
+
"profile",
|
|
12399
|
+
"factory",
|
|
12400
|
+
"website",
|
|
12401
|
+
"functions",
|
|
12402
|
+
"websiteurlrelativepathfunctions"
|
|
12403
|
+
],
|
|
12404
|
+
"example": "const linkedIn = websiteUrlRelativePathFunctions({ baseUrl: 'https://linkedin.com/in/' });\n\nlinkedIn.toRelativePath('linkedin.com/in/dereekb'); // 'dereekb'\nlinkedIn.toWebsiteUrl('dereekb'); // 'https://linkedin.com/in/dereekb'\nlinkedIn.toWebsiteUrl('https://twitter.com/dereekb'); // undefined",
|
|
12405
|
+
"relatedSlugs": [
|
|
12406
|
+
"isolate-website-path-function",
|
|
12407
|
+
"website-url-details"
|
|
12408
|
+
]
|
|
12409
|
+
},
|
|
12372
12410
|
{
|
|
12373
12411
|
"slug": "expand-flatten-tree-function",
|
|
12374
12412
|
"name": "expandFlattenTreeFunction",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.14.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.14.0",
|
|
16
|
+
"@dereekb/util": "14.14.0"
|
|
17
17
|
}
|
|
18
18
|
}
|