@morlay/dsh-client-ui-primitives 0.0.14 → 0.0.15
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/dist/{client-IP0d46V9.cjs → client-DQkXL5cV.cjs} +2439 -1459
- package/dist/{client-CxlXZo6u.mjs → client-XjliqAk1.mjs} +75 -75
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +1 -1
- package/dist/{index-DWlN5aPg.d.mts → index-C_sfS1QK.d.mts} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +14 -14
|
@@ -1459,25 +1459,25 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
1459
1459
|
document.head.appendChild(tag);
|
|
1460
1460
|
}
|
|
1461
1461
|
var schema_form_module_css_default = {
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1462
|
+
"compactTextField": "oZhWGq_compactTextField",
|
|
1463
|
+
"addWrap": "oZhWGq_addWrap",
|
|
1464
1464
|
"lineKey": "oZhWGq_lineKey",
|
|
1465
|
-
"
|
|
1466
|
-
"
|
|
1467
|
-
"lineRow": "oZhWGq_lineRow",
|
|
1468
|
-
"lineActions": "oZhWGq_lineActions",
|
|
1465
|
+
"editorRoot": "oZhWGq_editorRoot",
|
|
1466
|
+
"lineBody": "oZhWGq_lineBody",
|
|
1469
1467
|
"hint": "oZhWGq_hint",
|
|
1470
|
-
"lineComment": "oZhWGq_lineComment",
|
|
1471
1468
|
"lineValue": "oZhWGq_lineValue",
|
|
1472
|
-
"editorRoot": "oZhWGq_editorRoot",
|
|
1473
1469
|
"lineNumber": "oZhWGq_lineNumber",
|
|
1474
|
-
"
|
|
1470
|
+
"lineInvalid": "oZhWGq_lineInvalid",
|
|
1471
|
+
"lineRow": "oZhWGq_lineRow",
|
|
1472
|
+
"lineFoldSpacer": "oZhWGq_lineFoldSpacer",
|
|
1475
1473
|
"compactInput": "oZhWGq_compactInput",
|
|
1476
|
-
"
|
|
1474
|
+
"lineComment": "oZhWGq_lineComment",
|
|
1475
|
+
"lineActions": "oZhWGq_lineActions",
|
|
1477
1476
|
"hoverActions": "oZhWGq_hoverActions",
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1477
|
+
"lineToken": "oZhWGq_lineToken",
|
|
1478
|
+
"valueSlot": "oZhWGq_valueSlot",
|
|
1479
|
+
"valueTrigger": "oZhWGq_valueTrigger",
|
|
1480
|
+
"lineFold": "oZhWGq_lineFold"
|
|
1481
1481
|
};
|
|
1482
1482
|
// src/client/schema-form/TruncatedTooltip.tsx
|
|
1483
1483
|
function TruncatedTooltip({ label, children }) {
|
|
@@ -2461,55 +2461,55 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2461
2461
|
document.head.appendChild(tag);
|
|
2462
2462
|
}
|
|
2463
2463
|
var layout_module_css_default = {
|
|
2464
|
-
"
|
|
2465
|
-
"
|
|
2466
|
-
"
|
|
2467
|
-
"
|
|
2468
|
-
"padNone": "uxI0LG_padNone",
|
|
2464
|
+
"gap0": "uxI0LG_gap0",
|
|
2465
|
+
"gap2": "uxI0LG_gap2",
|
|
2466
|
+
"gap6": "uxI0LG_gap6",
|
|
2467
|
+
"toneDanger": "uxI0LG_toneDanger",
|
|
2469
2468
|
"row": "uxI0LG_row",
|
|
2470
|
-
"gap10": "uxI0LG_gap10",
|
|
2471
|
-
"sizeSm": "uxI0LG_sizeSm",
|
|
2472
|
-
"padPage": "uxI0LG_padPage",
|
|
2473
|
-
"tabular": "uxI0LG_tabular",
|
|
2474
2469
|
"sizeBase": "uxI0LG_sizeBase",
|
|
2470
|
+
"push": "uxI0LG_push",
|
|
2471
|
+
"wSearch": "uxI0LG_wSearch",
|
|
2472
|
+
"strong": "uxI0LG_strong",
|
|
2475
2473
|
"scroll": "uxI0LG_scroll",
|
|
2476
|
-
"
|
|
2474
|
+
"toneTertiary": "uxI0LG_toneTertiary",
|
|
2475
|
+
"plain": "uxI0LG_plain",
|
|
2476
|
+
"sizeMd": "uxI0LG_sizeMd",
|
|
2477
|
+
"padNone": "uxI0LG_padNone",
|
|
2478
|
+
"justifyEnd": "uxI0LG_justifyEnd",
|
|
2479
|
+
"justifyBetween": "uxI0LG_justifyBetween",
|
|
2480
|
+
"justifyCenter": "uxI0LG_justifyCenter",
|
|
2477
2481
|
"padBlocking": "uxI0LG_padBlocking",
|
|
2478
|
-
"
|
|
2482
|
+
"fill": "uxI0LG_fill",
|
|
2483
|
+
"sizeLg": "uxI0LG_sizeLg",
|
|
2484
|
+
"fixed": "uxI0LG_fixed",
|
|
2485
|
+
"padCard": "uxI0LG_padCard",
|
|
2486
|
+
"padBody": "uxI0LG_padBody",
|
|
2487
|
+
"stack": "uxI0LG_stack",
|
|
2488
|
+
"wrap": "uxI0LG_wrap",
|
|
2489
|
+
"gapWide": "uxI0LG_gapWide",
|
|
2490
|
+
"gap10": "uxI0LG_gap10",
|
|
2491
|
+
"sizeSm": "uxI0LG_sizeSm",
|
|
2492
|
+
"gap14": "uxI0LG_gap14",
|
|
2493
|
+
"gap16": "uxI0LG_gap16",
|
|
2494
|
+
"alignCenter": "uxI0LG_alignCenter",
|
|
2495
|
+
"gap4": "uxI0LG_gap4",
|
|
2496
|
+
"text": "uxI0LG_text",
|
|
2479
2497
|
"boxed": "uxI0LG_boxed",
|
|
2498
|
+
"alignEnd": "uxI0LG_alignEnd",
|
|
2499
|
+
"alignStart": "uxI0LG_alignStart",
|
|
2500
|
+
"padPage": "uxI0LG_padPage",
|
|
2480
2501
|
"gap12": "uxI0LG_gap12",
|
|
2481
2502
|
"padRow": "uxI0LG_padRow",
|
|
2482
|
-
"gap4": "uxI0LG_gap4",
|
|
2483
|
-
"stack": "uxI0LG_stack",
|
|
2484
|
-
"toneTertiary": "uxI0LG_toneTertiary",
|
|
2485
|
-
"gap16": "uxI0LG_gap16",
|
|
2486
2503
|
"weightMedium": "uxI0LG_weightMedium",
|
|
2487
|
-
"
|
|
2488
|
-
"
|
|
2489
|
-
"
|
|
2504
|
+
"truncate": "uxI0LG_truncate",
|
|
2505
|
+
"gap8": "uxI0LG_gap8",
|
|
2506
|
+
"narrow": "uxI0LG_narrow",
|
|
2490
2507
|
"grow": "uxI0LG_grow",
|
|
2508
|
+
"tonePrimary": "uxI0LG_tonePrimary",
|
|
2491
2509
|
"sizeXs": "uxI0LG_sizeXs",
|
|
2492
2510
|
"mono": "uxI0LG_mono",
|
|
2493
|
-
"sizeMd": "uxI0LG_sizeMd",
|
|
2494
|
-
"plain": "uxI0LG_plain",
|
|
2495
|
-
"sizeLg": "uxI0LG_sizeLg",
|
|
2496
|
-
"toneDanger": "uxI0LG_toneDanger",
|
|
2497
|
-
"strong": "uxI0LG_strong",
|
|
2498
|
-
"truncate": "uxI0LG_truncate",
|
|
2499
|
-
"push": "uxI0LG_push",
|
|
2500
|
-
"gapWide": "uxI0LG_gapWide",
|
|
2501
|
-
"gap14": "uxI0LG_gap14",
|
|
2502
|
-
"justifyCenter": "uxI0LG_justifyCenter",
|
|
2503
2511
|
"toneSecondary": "uxI0LG_toneSecondary",
|
|
2504
|
-
"
|
|
2505
|
-
"gap6": "uxI0LG_gap6",
|
|
2506
|
-
"alignCenter": "uxI0LG_alignCenter",
|
|
2507
|
-
"tonePrimary": "uxI0LG_tonePrimary",
|
|
2508
|
-
"fixed": "uxI0LG_fixed",
|
|
2509
|
-
"narrow": "uxI0LG_narrow",
|
|
2510
|
-
"fill": "uxI0LG_fill",
|
|
2511
|
-
"wrap": "uxI0LG_wrap",
|
|
2512
|
-
"wSearch": "uxI0LG_wSearch"
|
|
2512
|
+
"tabular": "uxI0LG_tabular"
|
|
2513
2513
|
};
|
|
2514
2514
|
// src/client/layout/scales.ts
|
|
2515
2515
|
function gapClass(css, gap) {
|
|
@@ -2587,15 +2587,15 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2587
2587
|
document.head.appendChild(tag);
|
|
2588
2588
|
}
|
|
2589
2589
|
var SettingsFieldRow_module_css_default = {
|
|
2590
|
-
"label": "_0Kpzea_label",
|
|
2591
2590
|
"inline": "_0Kpzea_inline",
|
|
2592
|
-
"row": "_0Kpzea_row",
|
|
2593
2591
|
"text": "_0Kpzea_text",
|
|
2594
|
-
"reset": "_0Kpzea_reset",
|
|
2595
2592
|
"body": "_0Kpzea_body",
|
|
2596
|
-
"badge": "_0Kpzea_badge",
|
|
2597
2593
|
"hint": "_0Kpzea_hint",
|
|
2598
|
-
"
|
|
2594
|
+
"badge": "_0Kpzea_badge",
|
|
2595
|
+
"label": "_0Kpzea_label",
|
|
2596
|
+
"row": "_0Kpzea_row",
|
|
2597
|
+
"invalid": "_0Kpzea_invalid",
|
|
2598
|
+
"reset": "_0Kpzea_reset"
|
|
2599
2599
|
};
|
|
2600
2600
|
// src/client/settings-form/SettingsFieldRow.tsx
|
|
2601
2601
|
function SettingsFieldRow({ label, hint, layout = "stack", divider = false, overriddenLabel, resetLabel, onReset, invalid, children, className, ...rest }) {
|
|
@@ -2705,8 +2705,8 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2705
2705
|
document.head.appendChild(tag);
|
|
2706
2706
|
}
|
|
2707
2707
|
var DisclosureRow_module_css_default = {
|
|
2708
|
-
"
|
|
2709
|
-
"
|
|
2708
|
+
"content": "BDL1HG_content",
|
|
2709
|
+
"contentLayout": "BDL1HG_contentLayout"
|
|
2710
2710
|
};
|
|
2711
2711
|
// src/client/controls/DisclosureRow.tsx
|
|
2712
2712
|
function DisclosureRow(props) {
|
|
@@ -2727,11 +2727,11 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2727
2727
|
document.head.appendChild(tag);
|
|
2728
2728
|
}
|
|
2729
2729
|
var SeatButton_module_css_default = {
|
|
2730
|
-
"
|
|
2730
|
+
"label": "io5HbW_label",
|
|
2731
2731
|
"chevron": "io5HbW_chevron",
|
|
2732
|
+
"icon": "io5HbW_icon",
|
|
2732
2733
|
"seat": "io5HbW_seat",
|
|
2733
|
-
"
|
|
2734
|
-
"icon": "io5HbW_icon"
|
|
2734
|
+
"expanded": "io5HbW_expanded"
|
|
2735
2735
|
};
|
|
2736
2736
|
// src/client/controls/SeatButton.tsx
|
|
2737
2737
|
function SeatButton({ icon, label, expanded = false, chevron, type = "button", className, ...rest }) {
|
|
@@ -2766,8 +2766,8 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2766
2766
|
document.head.appendChild(tag);
|
|
2767
2767
|
}
|
|
2768
2768
|
var Spinner_module_css_default = {
|
|
2769
|
-
"
|
|
2770
|
-
"
|
|
2769
|
+
"spin": "If7fBq_spin",
|
|
2770
|
+
"spinner": "If7fBq_spinner"
|
|
2771
2771
|
};
|
|
2772
2772
|
// src/client/controls/Spinner.tsx
|
|
2773
2773
|
function Spinner({ label }) {
|
|
@@ -2852,16 +2852,16 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2852
2852
|
document.head.appendChild(tag);
|
|
2853
2853
|
}
|
|
2854
2854
|
var ModelRouteList_module_css_default = {
|
|
2855
|
-
"text": "aGmQkW_text",
|
|
2856
|
-
"group": "aGmQkW_group",
|
|
2857
|
-
"error": "aGmQkW_error",
|
|
2858
|
-
"item": "aGmQkW_item",
|
|
2859
2855
|
"notice": "aGmQkW_notice",
|
|
2860
|
-
"list": "aGmQkW_list",
|
|
2861
2856
|
"id": "aGmQkW_id",
|
|
2857
|
+
"error": "aGmQkW_error",
|
|
2858
|
+
"list": "aGmQkW_list",
|
|
2859
|
+
"picked": "aGmQkW_picked",
|
|
2860
|
+
"text": "aGmQkW_text",
|
|
2861
|
+
"item": "aGmQkW_item",
|
|
2862
|
+
"group": "aGmQkW_group",
|
|
2862
2863
|
"provider": "aGmQkW_provider",
|
|
2863
|
-
"name": "aGmQkW_name"
|
|
2864
|
-
"picked": "aGmQkW_picked"
|
|
2864
|
+
"name": "aGmQkW_name"
|
|
2865
2865
|
};
|
|
2866
2866
|
// src/client/controls/ModelRouteList.tsx
|
|
2867
2867
|
function ModelRouteList({ label, candidates, selectedKey, disabled = false, status, loadingLabel, errorLabel, emptyLabel, onSelect }) {
|
|
@@ -2964,10 +2964,10 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2964
2964
|
document.head.appendChild(tag);
|
|
2965
2965
|
}
|
|
2966
2966
|
var SearchSelect_module_css_default = {
|
|
2967
|
-
"empty": "pNIIcq_empty",
|
|
2968
|
-
"searchInput": "pNIIcq_searchInput",
|
|
2969
2967
|
"searchRow": "pNIIcq_searchRow",
|
|
2970
|
-
"trigger": "pNIIcq_trigger"
|
|
2968
|
+
"trigger": "pNIIcq_trigger",
|
|
2969
|
+
"searchInput": "pNIIcq_searchInput",
|
|
2970
|
+
"empty": "pNIIcq_empty"
|
|
2971
2971
|
};
|
|
2972
2972
|
// src/client/controls/SearchSelect.tsx
|
|
2973
2973
|
function SearchSelect({ label, value, emptyLabel, options, disabled = false, searchLabel, noMatchLabel, onSelect }) {
|
|
@@ -3077,12 +3077,12 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
3077
3077
|
document.head.appendChild(tag);
|
|
3078
3078
|
}
|
|
3079
3079
|
var TagInput_module_css_default = {
|
|
3080
|
+
"row": "_0uSpIq_row",
|
|
3080
3081
|
"input": "_0uSpIq_input",
|
|
3081
|
-
"empty": "_0uSpIq_empty",
|
|
3082
3082
|
"box": "_0uSpIq_box",
|
|
3083
|
-
"chipRemove": "_0uSpIq_chipRemove",
|
|
3084
3083
|
"chip": "_0uSpIq_chip",
|
|
3085
|
-
"
|
|
3084
|
+
"chipRemove": "_0uSpIq_chipRemove",
|
|
3085
|
+
"empty": "_0uSpIq_empty",
|
|
3086
3086
|
"anchor": "_0uSpIq_anchor"
|
|
3087
3087
|
};
|
|
3088
3088
|
// src/client/controls/TagInput.tsx
|
package/dist/client.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_client = require("./client-
|
|
2
|
+
const require_client = require("./client-DQkXL5cV.cjs");
|
|
3
3
|
const require_reference = require("./reference-BExb65Ah.cjs");
|
|
4
4
|
exports.Bubble = require_client.Bubble;
|
|
5
5
|
exports.Button = require_client.Button;
|
package/dist/client.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Bubble, A as SearchSelect, B as VisuallyHidden, C as SuggestedKeys, D as parseTagList, E as mergeTags, F as ModelRouteCandidate, G as SpinnerProps, H as TimeLabel, I as ModelRouteList, J as DisclosureRow, K as SeatButton, L as ModelRouteListProps, M as SearchSelectProps, N as MultilineField, O as TagInput, P as MultilineFieldProps, Q as ButtonTone, R as IconButton, S as FieldNode, T as walkFields, U as TimeLabelProps, V as VisuallyHiddenProps, W as Spinner, X as Button, Y as DisclosureRowProps, Z as ButtonProps, _ as SelectOption, a as ReferenceMarkdownProps, at as Stack, b as failureOf, c as index_d_exports, ct as RowProps, d as SchemaFormActions, dt as LayoutJustify, et as BubbleProps, f as SchemaFormController, ft as LayoutPad, g as SchemaFormHints, gt as markdownLabels, h as projectRoot, ht as MarkdownCopySeat, i as ReferenceMarkdown, it as TextProps, j as SearchSelectOption, k as TagInputProps, l as rowRegistrations, lt as LayoutAlign, m as SchemaFormState, mt as TextTone, n as inject, nt as SettingsFieldRowProps, o as referenceMentions, ot as StackProps, p as SchemaFormFace, pt as TextSize, q as SeatButtonProps, r as ReferenceActions, rt as Text, s as NS, st as Row, t as apply, tt as SettingsFieldRow, u as SchemaFormLocaleKey, ut as LayoutGap, v as SelectSpec, w as WalkedField, x as FieldMeta, y as ValidationFailure, z as IconButtonProps } from "./index-
|
|
1
|
+
import { $ as Bubble, A as SearchSelect, B as VisuallyHidden, C as SuggestedKeys, D as parseTagList, E as mergeTags, F as ModelRouteCandidate, G as SpinnerProps, H as TimeLabel, I as ModelRouteList, J as DisclosureRow, K as SeatButton, L as ModelRouteListProps, M as SearchSelectProps, N as MultilineField, O as TagInput, P as MultilineFieldProps, Q as ButtonTone, R as IconButton, S as FieldNode, T as walkFields, U as TimeLabelProps, V as VisuallyHiddenProps, W as Spinner, X as Button, Y as DisclosureRowProps, Z as ButtonProps, _ as SelectOption, a as ReferenceMarkdownProps, at as Stack, b as failureOf, c as index_d_exports, ct as RowProps, d as SchemaFormActions, dt as LayoutJustify, et as BubbleProps, f as SchemaFormController, ft as LayoutPad, g as SchemaFormHints, gt as markdownLabels, h as projectRoot, ht as MarkdownCopySeat, i as ReferenceMarkdown, it as TextProps, j as SearchSelectOption, k as TagInputProps, l as rowRegistrations, lt as LayoutAlign, m as SchemaFormState, mt as TextTone, n as inject, nt as SettingsFieldRowProps, o as referenceMentions, ot as StackProps, p as SchemaFormFace, pt as TextSize, q as SeatButtonProps, r as ReferenceActions, rt as Text, s as NS, st as Row, t as apply, tt as SettingsFieldRow, u as SchemaFormLocaleKey, ut as LayoutGap, v as SelectSpec, w as WalkedField, x as FieldMeta, y as ValidationFailure, z as IconButtonProps } from "./index-C_sfS1QK.mjs";
|
|
2
2
|
import { a as formatReferenceMention, c as parseReferenceToken, i as formatReference, n as ReferenceSpan, o as isLocalReference, r as findReferences, s as parseReference, t as Reference } from "./reference-Bnz5fGkr.mjs";
|
|
3
3
|
export * from "@deepseek-ai/dsh-client-ui-primitives";
|
|
4
4
|
export { Bubble, type BubbleProps, Button, type ButtonProps, type ButtonTone, DisclosureRow, type DisclosureRowProps, type FieldMeta, type FieldNode, IconButton, type IconButtonProps, type LayoutAlign, type LayoutGap, type LayoutJustify, type LayoutPad, MarkdownCopySeat, type ModelRouteCandidate, ModelRouteList, type ModelRouteListProps, MultilineField, type MultilineFieldProps, type Reference, type ReferenceActions, ReferenceMarkdown, type ReferenceMarkdownProps, type ReferenceSpan, Row, type RowProps, NS as SCHEMA_FORM_NS, type SchemaFormActions, SchemaFormController, type SchemaFormFace, SchemaFormHints, type SchemaFormLocaleKey, type SchemaFormState, SearchSelect, type SearchSelectOption, type SearchSelectProps, SeatButton, type SeatButtonProps, type SelectOption, type SelectSpec, SettingsFieldRow, type SettingsFieldRowProps, Spinner, type SpinnerProps, Stack, type StackProps, type SuggestedKeys, TagInput, type TagInputProps, Text, type TextProps, type TextSize, type TextTone, TimeLabel, type TimeLabelProps, type ValidationFailure, VisuallyHidden, type VisuallyHiddenProps, type WalkedField, apply, failureOf, findReferences, formatReference, formatReferenceMention, inject, isLocalReference, markdownLabels, mergeTags, parseReference, parseReferenceToken, parseTagList, projectRoot, referenceMentions, rowRegistrations, index_d_exports as schemaForm, walkFields };
|
package/dist/client.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Bubble, A as SearchSelect, B as VisuallyHidden, C as SuggestedKeys, D as parseTagList, E as mergeTags, F as ModelRouteCandidate, G as SpinnerProps, H as TimeLabel, I as ModelRouteList, J as DisclosureRow, K as SeatButton, L as ModelRouteListProps, M as SearchSelectProps, N as MultilineField, O as TagInput, P as MultilineFieldProps, Q as ButtonTone, R as IconButton, S as FieldNode, T as walkFields, U as TimeLabelProps, V as VisuallyHiddenProps, W as Spinner, X as Button, Y as DisclosureRowProps, Z as ButtonProps, _ as SelectOption, a as ReferenceMarkdownProps, at as Stack, b as failureOf, c as index_d_exports, ct as RowProps, d as SchemaFormActions, dt as LayoutJustify, et as BubbleProps, f as SchemaFormController, ft as LayoutPad, g as SchemaFormHints, gt as markdownLabels, h as projectRoot, ht as MarkdownCopySeat, i as ReferenceMarkdown, it as TextProps, j as SearchSelectOption, k as TagInputProps, l as rowRegistrations, lt as LayoutAlign, m as SchemaFormState, mt as TextTone, n as inject, nt as SettingsFieldRowProps, o as referenceMentions, ot as StackProps, p as SchemaFormFace, pt as TextSize, q as SeatButtonProps, r as ReferenceActions, rt as Text, s as NS, st as Row, t as apply, tt as SettingsFieldRow, u as SchemaFormLocaleKey, ut as LayoutGap, v as SelectSpec, w as WalkedField, x as FieldMeta, y as ValidationFailure, z as IconButtonProps } from "./index-
|
|
1
|
+
import { $ as Bubble, A as SearchSelect, B as VisuallyHidden, C as SuggestedKeys, D as parseTagList, E as mergeTags, F as ModelRouteCandidate, G as SpinnerProps, H as TimeLabel, I as ModelRouteList, J as DisclosureRow, K as SeatButton, L as ModelRouteListProps, M as SearchSelectProps, N as MultilineField, O as TagInput, P as MultilineFieldProps, Q as ButtonTone, R as IconButton, S as FieldNode, T as walkFields, U as TimeLabelProps, V as VisuallyHiddenProps, W as Spinner, X as Button, Y as DisclosureRowProps, Z as ButtonProps, _ as SelectOption, a as ReferenceMarkdownProps, at as Stack, b as failureOf, c as index_d_exports, ct as RowProps, d as SchemaFormActions, dt as LayoutJustify, et as BubbleProps, f as SchemaFormController, ft as LayoutPad, g as SchemaFormHints, gt as markdownLabels, h as projectRoot, ht as MarkdownCopySeat, i as ReferenceMarkdown, it as TextProps, j as SearchSelectOption, k as TagInputProps, l as rowRegistrations, lt as LayoutAlign, m as SchemaFormState, mt as TextTone, n as inject, nt as SettingsFieldRowProps, o as referenceMentions, ot as StackProps, p as SchemaFormFace, pt as TextSize, q as SeatButtonProps, r as ReferenceActions, rt as Text, s as NS, st as Row, t as apply, tt as SettingsFieldRow, u as SchemaFormLocaleKey, ut as LayoutGap, v as SelectSpec, w as WalkedField, x as FieldMeta, y as ValidationFailure, z as IconButtonProps } from "./index-C_sfS1QK.mjs";
|
|
2
2
|
import { a as formatReferenceMention, c as parseReferenceToken, i as formatReference, n as ReferenceSpan, o as isLocalReference, r as findReferences, s as parseReference, t as Reference } from "./reference-Bnz5fGkr.mjs";
|
|
3
3
|
export * from "@deepseek-ai/dsh-client-ui-primitives";
|
|
4
4
|
export { Bubble, type BubbleProps, Button, type ButtonProps, type ButtonTone, DisclosureRow, type DisclosureRowProps, type FieldMeta, type FieldNode, IconButton, type IconButtonProps, type LayoutAlign, type LayoutGap, type LayoutJustify, type LayoutPad, MarkdownCopySeat, type ModelRouteCandidate, ModelRouteList, type ModelRouteListProps, MultilineField, type MultilineFieldProps, type Reference, type ReferenceActions, ReferenceMarkdown, type ReferenceMarkdownProps, type ReferenceSpan, Row, type RowProps, NS as SCHEMA_FORM_NS, type SchemaFormActions, SchemaFormController, type SchemaFormFace, SchemaFormHints, type SchemaFormLocaleKey, type SchemaFormState, SearchSelect, type SearchSelectOption, type SearchSelectProps, SeatButton, type SeatButtonProps, type SelectOption, type SelectSpec, SettingsFieldRow, type SettingsFieldRowProps, Spinner, type SpinnerProps, Stack, type StackProps, type SuggestedKeys, TagInput, type TagInputProps, Text, type TextProps, type TextSize, type TextTone, TimeLabel, type TimeLabelProps, type ValidationFailure, VisuallyHidden, type VisuallyHiddenProps, type WalkedField, apply, failureOf, findReferences, formatReference, formatReferenceMention, inject, isLocalReference, markdownLabels, mergeTags, parseReference, parseReferenceToken, parseTagList, projectRoot, referenceMentions, rowRegistrations, index_d_exports as schemaForm, walkFields };
|
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as failureOf, C as markdownLabels, D as SchemaFormHints, E as rowRegistrations, O as SchemaFormController, S as Row, T as schema_form_exports, _ as Button, a as TagInput, b as Text, c as SearchSelect, d as IconButton, f as VisuallyHidden, g as DisclosureRow, h as SeatButton, i as referenceMentions, j as walkFields, k as projectRoot, l as MultilineField, m as Spinner, n as inject, o as mergeTags, p as TimeLabel, r as ReferenceMarkdown, s as parseTagList, t as apply, u as ModelRouteList, v as Bubble, w as NS, x as Stack, y as SettingsFieldRow } from "./client-
|
|
1
|
+
import { A as failureOf, C as markdownLabels, D as SchemaFormHints, E as rowRegistrations, O as SchemaFormController, S as Row, T as schema_form_exports, _ as Button, a as TagInput, b as Text, c as SearchSelect, d as IconButton, f as VisuallyHidden, g as DisclosureRow, h as SeatButton, i as referenceMentions, j as walkFields, k as projectRoot, l as MultilineField, m as Spinner, n as inject, o as mergeTags, p as TimeLabel, r as ReferenceMarkdown, s as parseTagList, t as apply, u as ModelRouteList, v as Bubble, w as NS, x as Stack, y as SettingsFieldRow } from "./client-XjliqAk1.mjs";
|
|
2
2
|
import { a as parseReference, i as isLocalReference, n as formatReference, o as parseReferenceToken, r as formatReferenceMention, t as findReferences } from "./reference-DTa9OfbR.mjs";
|
|
3
3
|
export * from "@deepseek-ai/dsh-client-ui-primitives";
|
|
4
4
|
export { Bubble, Button, DisclosureRow, IconButton, ModelRouteList, MultilineField, ReferenceMarkdown, Row, NS as SCHEMA_FORM_NS, SchemaFormController, SchemaFormHints, SearchSelect, SeatButton, SettingsFieldRow, Spinner, Stack, TagInput, Text, TimeLabel, VisuallyHidden, apply, failureOf, findReferences, formatReference, formatReferenceMention, inject, isLocalReference, markdownLabels, mergeTags, parseReference, parseReferenceToken, parseTagList, projectRoot, referenceMentions, rowRegistrations, schema_form_exports as schemaForm, walkFields };
|
|
@@ -120,7 +120,7 @@ interface ModelRouteListProps {
|
|
|
120
120
|
}
|
|
121
121
|
declare function ModelRouteList({ label, candidates, selectedKey, disabled, status, loadingLabel, errorLabel, emptyLabel, onSelect }: ModelRouteListProps): ReactNode;
|
|
122
122
|
type MultilineFieldProps = TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
123
|
-
declare function MultilineField({ rows, className, ...rest }: MultilineFieldProps): import("react
|
|
123
|
+
declare function MultilineField({ rows, className, ...rest }: MultilineFieldProps): import("react").JSX.Element;
|
|
124
124
|
interface SearchSelectOption {
|
|
125
125
|
readonly value: string;
|
|
126
126
|
readonly label?: string | undefined;
|
|
@@ -581,7 +581,7 @@ interface ReferenceMarkdownProps {
|
|
|
581
581
|
readonly pathImages?: MarkdownPathImages | undefined;
|
|
582
582
|
}
|
|
583
583
|
declare function referenceMentions(actions?: ReferenceActions, tokens?: ReadonlyMap<string, Reference>): MarkdownFileMentions;
|
|
584
|
-
declare const ReferenceMarkdown: import("react").MemoExoticComponent<({ text, labels, actions, streaming, pathImages }: ReferenceMarkdownProps) => import("react
|
|
584
|
+
declare const ReferenceMarkdown: import("react").MemoExoticComponent<({ text, labels, actions, streaming, pathImages }: ReferenceMarkdownProps) => import("react").JSX.Element>;
|
|
585
585
|
declare const inject: readonly string[];
|
|
586
586
|
declare function apply(ctx: Context): void;
|
|
587
587
|
export { Bubble as $, SearchSelect as A, VisuallyHidden as B, SuggestedKeys as C, parseTagList as D, mergeTags as E, ModelRouteCandidate as F, SpinnerProps as G, TimeLabel as H, ModelRouteList as I, DisclosureRow$1 as J, SeatButton as K, ModelRouteListProps as L, SearchSelectProps as M, MultilineField as N, TagInput as O, MultilineFieldProps as P, ButtonTone as Q, IconButton as R, FieldNode as S, walkFields as T, TimeLabelProps as U, VisuallyHiddenProps as V, Spinner as W, Button$1 as X, DisclosureRowProps as Y, ButtonProps as Z, SelectOption as _, ReferenceMarkdownProps as a, Stack as at, failureOf as b, index_d_exports as c, RowProps as ct, SchemaFormActions as d, LayoutJustify as dt, BubbleProps as et, SchemaFormController as f, LayoutPad as ft, SchemaFormHints as g, markdownLabels as gt, projectRoot as h, MarkdownCopySeat as ht, ReferenceMarkdown as i, TextProps as it, SearchSelectOption as j, TagInputProps as k, rowRegistrations as l, LayoutAlign as lt, SchemaFormState as m, TextTone as mt, inject as n, SettingsFieldRowProps as nt, referenceMentions as o, StackProps as ot, SchemaFormFace as p, TextSize as pt, SeatButtonProps as q, ReferenceActions as r, Text as rt, NS as s, Row as st, apply as t, SettingsFieldRow as tt, SchemaFormLocaleKey as u, LayoutGap as ut, SelectSpec as v, WalkedField as w, FieldMeta as x, ValidationFailure as y, IconButtonProps as z };
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_client = require("./client-
|
|
2
|
+
const require_client = require("./client-DQkXL5cV.cjs");
|
|
3
3
|
const require_reference = require("./reference-BExb65Ah.cjs");
|
|
4
4
|
exports.Bubble = require_client.Bubble;
|
|
5
5
|
exports.Button = require_client.Button;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Bubble, A as SearchSelect, B as VisuallyHidden, C as SuggestedKeys, D as parseTagList, E as mergeTags, F as ModelRouteCandidate, G as SpinnerProps, H as TimeLabel, I as ModelRouteList, J as DisclosureRow, K as SeatButton, L as ModelRouteListProps, M as SearchSelectProps, N as MultilineField, O as TagInput, P as MultilineFieldProps, Q as ButtonTone, R as IconButton, S as FieldNode, T as walkFields, U as TimeLabelProps, V as VisuallyHiddenProps, W as Spinner, X as Button, Y as DisclosureRowProps, Z as ButtonProps, _ as SelectOption, a as ReferenceMarkdownProps, at as Stack, b as failureOf, c as index_d_exports, ct as RowProps, d as SchemaFormActions, dt as LayoutJustify, et as BubbleProps, f as SchemaFormController, ft as LayoutPad, g as SchemaFormHints, gt as markdownLabels, h as projectRoot, ht as MarkdownCopySeat, i as ReferenceMarkdown, it as TextProps, j as SearchSelectOption, k as TagInputProps, l as rowRegistrations, lt as LayoutAlign, m as SchemaFormState, mt as TextTone, n as inject, nt as SettingsFieldRowProps, o as referenceMentions, ot as StackProps, p as SchemaFormFace, pt as TextSize, q as SeatButtonProps, r as ReferenceActions, rt as Text, s as NS, st as Row, t as apply, tt as SettingsFieldRow, u as SchemaFormLocaleKey, ut as LayoutGap, v as SelectSpec, w as WalkedField, x as FieldMeta, y as ValidationFailure, z as IconButtonProps } from "./index-
|
|
1
|
+
import { $ as Bubble, A as SearchSelect, B as VisuallyHidden, C as SuggestedKeys, D as parseTagList, E as mergeTags, F as ModelRouteCandidate, G as SpinnerProps, H as TimeLabel, I as ModelRouteList, J as DisclosureRow, K as SeatButton, L as ModelRouteListProps, M as SearchSelectProps, N as MultilineField, O as TagInput, P as MultilineFieldProps, Q as ButtonTone, R as IconButton, S as FieldNode, T as walkFields, U as TimeLabelProps, V as VisuallyHiddenProps, W as Spinner, X as Button, Y as DisclosureRowProps, Z as ButtonProps, _ as SelectOption, a as ReferenceMarkdownProps, at as Stack, b as failureOf, c as index_d_exports, ct as RowProps, d as SchemaFormActions, dt as LayoutJustify, et as BubbleProps, f as SchemaFormController, ft as LayoutPad, g as SchemaFormHints, gt as markdownLabels, h as projectRoot, ht as MarkdownCopySeat, i as ReferenceMarkdown, it as TextProps, j as SearchSelectOption, k as TagInputProps, l as rowRegistrations, lt as LayoutAlign, m as SchemaFormState, mt as TextTone, n as inject, nt as SettingsFieldRowProps, o as referenceMentions, ot as StackProps, p as SchemaFormFace, pt as TextSize, q as SeatButtonProps, r as ReferenceActions, rt as Text, s as NS, st as Row, t as apply, tt as SettingsFieldRow, u as SchemaFormLocaleKey, ut as LayoutGap, v as SelectSpec, w as WalkedField, x as FieldMeta, y as ValidationFailure, z as IconButtonProps } from "./index-C_sfS1QK.mjs";
|
|
2
2
|
import { a as formatReferenceMention, c as parseReferenceToken, i as formatReference, n as ReferenceSpan, o as isLocalReference, r as findReferences, s as parseReference, t as Reference } from "./reference-Bnz5fGkr.mjs";
|
|
3
3
|
export * from "@deepseek-ai/dsh-client-ui-primitives";
|
|
4
4
|
export { Bubble, type BubbleProps, Button, type ButtonProps, type ButtonTone, DisclosureRow, type DisclosureRowProps, type FieldMeta, type FieldNode, IconButton, type IconButtonProps, type LayoutAlign, type LayoutGap, type LayoutJustify, type LayoutPad, MarkdownCopySeat, type ModelRouteCandidate, ModelRouteList, type ModelRouteListProps, MultilineField, type MultilineFieldProps, type Reference, type ReferenceActions, ReferenceMarkdown, type ReferenceMarkdownProps, type ReferenceSpan, Row, type RowProps, NS as SCHEMA_FORM_NS, type SchemaFormActions, SchemaFormController, type SchemaFormFace, SchemaFormHints, type SchemaFormLocaleKey, type SchemaFormState, SearchSelect, type SearchSelectOption, type SearchSelectProps, SeatButton, type SeatButtonProps, type SelectOption, type SelectSpec, SettingsFieldRow, type SettingsFieldRowProps, Spinner, type SpinnerProps, Stack, type StackProps, type SuggestedKeys, TagInput, type TagInputProps, Text, type TextProps, type TextSize, type TextTone, TimeLabel, type TimeLabelProps, type ValidationFailure, VisuallyHidden, type VisuallyHiddenProps, type WalkedField, apply, failureOf, findReferences, formatReference, formatReferenceMention, inject, isLocalReference, markdownLabels, mergeTags, parseReference, parseReferenceToken, parseTagList, projectRoot, referenceMentions, rowRegistrations, index_d_exports as schemaForm, walkFields };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as failureOf, C as markdownLabels, D as SchemaFormHints, E as rowRegistrations, O as SchemaFormController, S as Row, T as schema_form_exports, _ as Button, a as TagInput, b as Text, c as SearchSelect, d as IconButton, f as VisuallyHidden, g as DisclosureRow, h as SeatButton, i as referenceMentions, j as walkFields, k as projectRoot, l as MultilineField, m as Spinner, n as inject, o as mergeTags, p as TimeLabel, r as ReferenceMarkdown, s as parseTagList, t as apply, u as ModelRouteList, v as Bubble, w as NS, x as Stack, y as SettingsFieldRow } from "./client-
|
|
1
|
+
import { A as failureOf, C as markdownLabels, D as SchemaFormHints, E as rowRegistrations, O as SchemaFormController, S as Row, T as schema_form_exports, _ as Button, a as TagInput, b as Text, c as SearchSelect, d as IconButton, f as VisuallyHidden, g as DisclosureRow, h as SeatButton, i as referenceMentions, j as walkFields, k as projectRoot, l as MultilineField, m as Spinner, n as inject, o as mergeTags, p as TimeLabel, r as ReferenceMarkdown, s as parseTagList, t as apply, u as ModelRouteList, v as Bubble, w as NS, x as Stack, y as SettingsFieldRow } from "./client-XjliqAk1.mjs";
|
|
2
2
|
import { a as parseReference, i as isLocalReference, n as formatReference, o as parseReferenceToken, r as formatReferenceMention, t as findReferences } from "./reference-DTa9OfbR.mjs";
|
|
3
3
|
export * from "@deepseek-ai/dsh-client-ui-primitives";
|
|
4
4
|
export { Bubble, Button, DisclosureRow, IconButton, ModelRouteList, MultilineField, ReferenceMarkdown, Row, NS as SCHEMA_FORM_NS, SchemaFormController, SchemaFormHints, SearchSelect, SeatButton, SettingsFieldRow, Spinner, Stack, TagInput, Text, TimeLabel, VisuallyHidden, apply, failureOf, findReferences, formatReference, formatReferenceMention, inject, isLocalReference, markdownLabels, mergeTags, parseReference, parseReferenceToken, parseTagList, projectRoot, referenceMentions, rowRegistrations, schema_form_exports as schemaForm, walkFields };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/dsh-client-ui-primitives",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "client UI kit for this workspace: re-exports the official ui-primitives (Button / Menu / Input / Tag / Modal / Switch / SettingsForm …) plus our own layout primitives (Stack / Row / Text / Panel) and controls (TagInput / SearchSelect / ModelRouteList / Spinner …), all styled with the same CSS Modules + `--dsw-*` tokens as upstream; also the shared reference parser/renderer (findReferences / parseReferenceToken) and the schema-generated row config page. Ships as an inlined client library (`dsh.client.inline`), not as an assembly row.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"client",
|
|
@@ -46,28 +46,28 @@
|
|
|
46
46
|
"micromark-util-types": "^2.0.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@deepseek-ai/dsh-util-values": "^0.2.2-
|
|
50
|
-
"@deepseek-ai/schemastery": "^3.
|
|
51
|
-
"@morlay/session-rdb": "0.1.
|
|
49
|
+
"@deepseek-ai/dsh-util-values": "^0.2.2-rc.1",
|
|
50
|
+
"@deepseek-ai/schemastery": "^3.19.0",
|
|
51
|
+
"@morlay/session-rdb": "0.1.11",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
53
|
"@types/mdast": "^4.0.4",
|
|
54
54
|
"@types/react": "~18.3.1",
|
|
55
55
|
"react-dom": "^18.2.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@deepseek-ai/cordis": "^4.0
|
|
59
|
-
"@deepseek-ai/dsh-api-remotes": "^0.2.2-
|
|
60
|
-
"@deepseek-ai/dsh-client-locale": "^0.2.2-
|
|
61
|
-
"@deepseek-ai/dsh-client-store": "^0.2.2-
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-plugin-manager": "^0.2.2-
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-
|
|
64
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-
|
|
65
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.2.2-
|
|
66
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-
|
|
58
|
+
"@deepseek-ai/cordis": "^4.1.0",
|
|
59
|
+
"@deepseek-ai/dsh-api-remotes": "^0.2.2-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-locale": "^0.2.2-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-client-store": "^0.2.2-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "^0.2.2-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-rc.1",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-rc.1",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-rc.1",
|
|
67
67
|
"react": "^18.2.0"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
70
|
-
"dsh": ">= 0.2.2-
|
|
70
|
+
"dsh": ">= 0.2.2-rc.1 < 0.2.3"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "pnpm exec tsdown"
|