@dereekb/dbx-components-mcp 14.17.0 → 14.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.
|
@@ -34,6 +34,16 @@
|
|
|
34
34
|
"name": "afterDistinctLoadingStateTypeChange",
|
|
35
35
|
"signature": "afterDistinctLoadingStateTypeChange(): Observable<ActionContextState<T, O>>",
|
|
36
36
|
"description": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "registerValueSnapshot",
|
|
40
|
+
"signature": "registerValueSnapshot(valueSnapshotFunction: DbxActionValueSnapshotFunction<T>): DestroyFunction",
|
|
41
|
+
"description": "Registers the function that returns the value a trigger would ready right now. Registered by the action's value source, such as dbxActionValue or dbxActionForm.\n\nOnly one function is kept, so a later registration replaces an earlier one."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "valueSnapshot",
|
|
45
|
+
"signature": "valueSnapshot(): Maybe<DbxActionValueGetterResult<T>>",
|
|
46
|
+
"description": "Returns the value a trigger would ready right now, without triggering the action.\n\nLets a change be applied synchronously when the action's own trigger path and its delays can no longer run, such as right before\nthe content that holds the action is destroyed."
|
|
37
47
|
}
|
|
38
48
|
],
|
|
39
49
|
"observables": [
|
|
@@ -2368,6 +2368,40 @@
|
|
|
2368
2368
|
"--mat-sys-corner-medium"
|
|
2369
2369
|
]
|
|
2370
2370
|
},
|
|
2371
|
+
{
|
|
2372
|
+
"slug": "filter-popover-content-buttons",
|
|
2373
|
+
"selector": ".dbx-filter-popover-content-buttons",
|
|
2374
|
+
"source": "@dereekb/dbx-web",
|
|
2375
|
+
"module": "@dereekb/dbx-web",
|
|
2376
|
+
"file": "src/lib/interaction/filter/_filter.scss",
|
|
2377
|
+
"line": 12,
|
|
2378
|
+
"declarations": [
|
|
2379
|
+
{
|
|
2380
|
+
"property": "display",
|
|
2381
|
+
"value": "flex"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"property": "align-items",
|
|
2385
|
+
"value": "center"
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"property": "justify-content",
|
|
2389
|
+
"value": "center"
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"property": "padding",
|
|
2393
|
+
"value": "var(--dbx-padding-2) var(--dbx-padding-3)"
|
|
2394
|
+
}
|
|
2395
|
+
],
|
|
2396
|
+
"role": "layout",
|
|
2397
|
+
"intent": "filter popover buttons below the filter content — holds the same switch and close buttons as the header when `showButtonsBelowContent` is set",
|
|
2398
|
+
"component": "DbxFilterPopoverComponent",
|
|
2399
|
+
"scope": "component-class",
|
|
2400
|
+
"tokensRead": [
|
|
2401
|
+
"--dbx-padding-2",
|
|
2402
|
+
"--dbx-padding-3"
|
|
2403
|
+
]
|
|
2404
|
+
},
|
|
2371
2405
|
{
|
|
2372
2406
|
"slug": "flex",
|
|
2373
2407
|
"selector": ".dbx-flex",
|
|
@@ -10911,6 +10911,44 @@
|
|
|
10911
10911
|
"string-from-date-factory"
|
|
10912
10912
|
]
|
|
10913
10913
|
},
|
|
10914
|
+
{
|
|
10915
|
+
"slug": "js-doc-inline-links-to-text",
|
|
10916
|
+
"name": "jsDocInlineLinksToText",
|
|
10917
|
+
"kind": "function",
|
|
10918
|
+
"category": "string",
|
|
10919
|
+
"module": "@dereekb/util",
|
|
10920
|
+
"subpath": "string/jsdoc",
|
|
10921
|
+
"signature": "jsDocInlineLinksToText(input: string): string",
|
|
10922
|
+
"description": "Replaces JSDoc/TSDoc inline link tags (`{@link X}`, `{@linkplain X}`, `{@linkcode X}`) with plain display text.\n\n- `{@link Foo}` → `Foo`\n- `{@link Foo.bar}` → `Foo.bar`\n- `{@link Foo | the foo}` and `{@link Foo the foo}` → `the foo`\n- `{@link Foo#bar}` → `Foo.bar`\n- `{@link ./path/mod#member}` → `member`\n- `{@linkcode Foo}` → `` `Foo` ``\n- `{@link https://example.com}` → `https://example.com`, and with a label, the label.\n\nText without tags, and malformed tags with no target, are returned unchanged.",
|
|
10923
|
+
"params": [
|
|
10924
|
+
{
|
|
10925
|
+
"name": "input",
|
|
10926
|
+
"type": "string",
|
|
10927
|
+
"description": "- The text to convert, typically a JSDoc description.",
|
|
10928
|
+
"optional": false
|
|
10929
|
+
}
|
|
10930
|
+
],
|
|
10931
|
+
"returns": "The text with every inline link tag replaced by its display text.",
|
|
10932
|
+
"tags": [
|
|
10933
|
+
"jsdoc",
|
|
10934
|
+
"tsdoc",
|
|
10935
|
+
"link",
|
|
10936
|
+
"markdown",
|
|
10937
|
+
"text",
|
|
10938
|
+
"documentation",
|
|
10939
|
+
"string",
|
|
10940
|
+
"js",
|
|
10941
|
+
"doc",
|
|
10942
|
+
"inline",
|
|
10943
|
+
"links",
|
|
10944
|
+
"to",
|
|
10945
|
+
"jsdocinlinelinkstotext"
|
|
10946
|
+
],
|
|
10947
|
+
"example": "jsDocInlineLinksToText('Creates a {@link NotificationBox} for the {@link Profile.uid}.');\n// 'Creates a NotificationBox for the Profile.uid.'",
|
|
10948
|
+
"relatedSlugs": [
|
|
10949
|
+
"first-sentence"
|
|
10950
|
+
]
|
|
10951
|
+
},
|
|
10914
10952
|
{
|
|
10915
10953
|
"slug": "replace-strings-function",
|
|
10916
10954
|
"name": "replaceStringsFunction",
|
|
@@ -11426,6 +11464,46 @@
|
|
|
11426
11464
|
"case-insensitive-filter-by-index-of-decision-factory"
|
|
11427
11465
|
]
|
|
11428
11466
|
},
|
|
11467
|
+
{
|
|
11468
|
+
"slug": "first-sentence",
|
|
11469
|
+
"name": "firstSentence",
|
|
11470
|
+
"kind": "function",
|
|
11471
|
+
"category": "string",
|
|
11472
|
+
"module": "@dereekb/util",
|
|
11473
|
+
"subpath": "string/sentence",
|
|
11474
|
+
"signature": "firstSentence(input: string, config?: Maybe<FirstSentenceConfig>): string",
|
|
11475
|
+
"description": "Returns the first sentence of the first paragraph of the input.\n\n- The first paragraph ends at the first blank line.\n- Soft line breaks and runs of whitespace are collapsed to single spaces.\n- A sentence ends at `.`, `!` or `?` (plus optional closing `\"`, `'`, `)` or `]`) followed by the end of the text, or by whitespace and a character that is not a lowercase letter.\n- A period after `e.g`, `i.e`, `cf` or `vs` never ends a sentence.\n- With no terminator, the whole flattened paragraph is returned.\n- When `maxLength` is set and exceeded, the text is cut at the last space that fits and `endText` is appended.",
|
|
11476
|
+
"params": [
|
|
11477
|
+
{
|
|
11478
|
+
"name": "input",
|
|
11479
|
+
"type": "string",
|
|
11480
|
+
"description": "- The text to read, typically a JSDoc description.",
|
|
11481
|
+
"optional": false
|
|
11482
|
+
},
|
|
11483
|
+
{
|
|
11484
|
+
"name": "config",
|
|
11485
|
+
"type": "Maybe<FirstSentenceConfig>",
|
|
11486
|
+
"description": "- Optional length cap and end text.",
|
|
11487
|
+
"optional": true
|
|
11488
|
+
}
|
|
11489
|
+
],
|
|
11490
|
+
"returns": "The first sentence, flattened to a single line.",
|
|
11491
|
+
"tags": [
|
|
11492
|
+
"sentence",
|
|
11493
|
+
"summary",
|
|
11494
|
+
"first-line",
|
|
11495
|
+
"truncate",
|
|
11496
|
+
"paragraph",
|
|
11497
|
+
"description",
|
|
11498
|
+
"string",
|
|
11499
|
+
"first",
|
|
11500
|
+
"firstsentence"
|
|
11501
|
+
],
|
|
11502
|
+
"example": "firstSentence('Creates the\\nthing for the user. Then more.');\n// 'Creates the thing for the user.'",
|
|
11503
|
+
"relatedSlugs": [
|
|
11504
|
+
"js-doc-inline-links-to-text"
|
|
11505
|
+
]
|
|
11506
|
+
},
|
|
11429
11507
|
{
|
|
11430
11508
|
"slug": "compare-strings",
|
|
11431
11509
|
"name": "compareStrings",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.18.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.18.0",
|
|
16
|
+
"@dereekb/util": "14.18.0"
|
|
17
17
|
}
|
|
18
18
|
}
|