@morlay/dsh-client-ui-primitives 0.0.14-alpha.3 → 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-DUcGhzl3.cjs → client-DQkXL5cV.cjs} +2499 -1497
- package/dist/{client-ByhR__dK.mjs → client-XjliqAk1.mjs} +73 -73
- 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/dist/rolldown-runtime-3qf6kE1h.d.mts +1 -0
- 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
|
-
"lineRow": "oZhWGq_lineRow",
|
|
1463
|
-
"lineToken": "oZhWGq_lineToken",
|
|
1464
|
-
"lineKey": "oZhWGq_lineKey",
|
|
1465
1462
|
"compactTextField": "oZhWGq_compactTextField",
|
|
1466
|
-
"
|
|
1467
|
-
"
|
|
1468
|
-
"
|
|
1463
|
+
"addWrap": "oZhWGq_addWrap",
|
|
1464
|
+
"lineKey": "oZhWGq_lineKey",
|
|
1465
|
+
"editorRoot": "oZhWGq_editorRoot",
|
|
1469
1466
|
"lineBody": "oZhWGq_lineBody",
|
|
1470
1467
|
"hint": "oZhWGq_hint",
|
|
1468
|
+
"lineValue": "oZhWGq_lineValue",
|
|
1469
|
+
"lineNumber": "oZhWGq_lineNumber",
|
|
1471
1470
|
"lineInvalid": "oZhWGq_lineInvalid",
|
|
1472
|
-
"
|
|
1471
|
+
"lineRow": "oZhWGq_lineRow",
|
|
1472
|
+
"lineFoldSpacer": "oZhWGq_lineFoldSpacer",
|
|
1473
|
+
"compactInput": "oZhWGq_compactInput",
|
|
1473
1474
|
"lineComment": "oZhWGq_lineComment",
|
|
1474
|
-
"hoverActions": "oZhWGq_hoverActions",
|
|
1475
1475
|
"lineActions": "oZhWGq_lineActions",
|
|
1476
|
-
"
|
|
1477
|
-
"
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1476
|
+
"hoverActions": "oZhWGq_hoverActions",
|
|
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 }) {
|
|
@@ -2462,54 +2462,54 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2462
2462
|
}
|
|
2463
2463
|
var layout_module_css_default = {
|
|
2464
2464
|
"gap0": "uxI0LG_gap0",
|
|
2465
|
-
"
|
|
2466
|
-
"plain": "uxI0LG_plain",
|
|
2467
|
-
"truncate": "uxI0LG_truncate",
|
|
2468
|
-
"sizeBase": "uxI0LG_sizeBase",
|
|
2469
|
-
"padBody": "uxI0LG_padBody",
|
|
2470
|
-
"sizeSm": "uxI0LG_sizeSm",
|
|
2471
|
-
"justifyCenter": "uxI0LG_justifyCenter",
|
|
2472
|
-
"gap16": "uxI0LG_gap16",
|
|
2473
|
-
"toneSecondary": "uxI0LG_toneSecondary",
|
|
2474
|
-
"mono": "uxI0LG_mono",
|
|
2465
|
+
"gap2": "uxI0LG_gap2",
|
|
2475
2466
|
"gap6": "uxI0LG_gap6",
|
|
2476
|
-
"
|
|
2477
|
-
"wrap": "uxI0LG_wrap",
|
|
2478
|
-
"tonePrimary": "uxI0LG_tonePrimary",
|
|
2479
|
-
"stack": "uxI0LG_stack",
|
|
2480
|
-
"gap4": "uxI0LG_gap4",
|
|
2481
|
-
"justifyEnd": "uxI0LG_justifyEnd",
|
|
2482
|
-
"padPage": "uxI0LG_padPage",
|
|
2483
|
-
"gap8": "uxI0LG_gap8",
|
|
2484
|
-
"boxed": "uxI0LG_boxed",
|
|
2485
|
-
"fixed": "uxI0LG_fixed",
|
|
2486
|
-
"tabular": "uxI0LG_tabular",
|
|
2467
|
+
"toneDanger": "uxI0LG_toneDanger",
|
|
2487
2468
|
"row": "uxI0LG_row",
|
|
2469
|
+
"sizeBase": "uxI0LG_sizeBase",
|
|
2470
|
+
"push": "uxI0LG_push",
|
|
2488
2471
|
"wSearch": "uxI0LG_wSearch",
|
|
2489
|
-
"
|
|
2490
|
-
"
|
|
2472
|
+
"strong": "uxI0LG_strong",
|
|
2473
|
+
"scroll": "uxI0LG_scroll",
|
|
2491
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",
|
|
2481
|
+
"padBlocking": "uxI0LG_padBlocking",
|
|
2482
|
+
"fill": "uxI0LG_fill",
|
|
2492
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",
|
|
2493
2494
|
"alignCenter": "uxI0LG_alignCenter",
|
|
2494
|
-
"
|
|
2495
|
-
"sizeXs": "uxI0LG_sizeXs",
|
|
2496
|
-
"alignEnd": "uxI0LG_alignEnd",
|
|
2497
|
-
"toneDanger": "uxI0LG_toneDanger",
|
|
2498
|
-
"padNone": "uxI0LG_padNone",
|
|
2495
|
+
"gap4": "uxI0LG_gap4",
|
|
2499
2496
|
"text": "uxI0LG_text",
|
|
2500
|
-
"
|
|
2501
|
-
"
|
|
2497
|
+
"boxed": "uxI0LG_boxed",
|
|
2498
|
+
"alignEnd": "uxI0LG_alignEnd",
|
|
2499
|
+
"alignStart": "uxI0LG_alignStart",
|
|
2500
|
+
"padPage": "uxI0LG_padPage",
|
|
2502
2501
|
"gap12": "uxI0LG_gap12",
|
|
2503
|
-
"scroll": "uxI0LG_scroll",
|
|
2504
2502
|
"padRow": "uxI0LG_padRow",
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2507
|
-
"
|
|
2508
|
-
"fill": "uxI0LG_fill",
|
|
2509
|
-
"padBlocking": "uxI0LG_padBlocking",
|
|
2510
|
-
"gap10": "uxI0LG_gap10",
|
|
2503
|
+
"weightMedium": "uxI0LG_weightMedium",
|
|
2504
|
+
"truncate": "uxI0LG_truncate",
|
|
2505
|
+
"gap8": "uxI0LG_gap8",
|
|
2511
2506
|
"narrow": "uxI0LG_narrow",
|
|
2512
|
-
"
|
|
2507
|
+
"grow": "uxI0LG_grow",
|
|
2508
|
+
"tonePrimary": "uxI0LG_tonePrimary",
|
|
2509
|
+
"sizeXs": "uxI0LG_sizeXs",
|
|
2510
|
+
"mono": "uxI0LG_mono",
|
|
2511
|
+
"toneSecondary": "uxI0LG_toneSecondary",
|
|
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
|
-
"
|
|
2591
|
-
"
|
|
2590
|
+
"inline": "_0Kpzea_inline",
|
|
2591
|
+
"text": "_0Kpzea_text",
|
|
2592
|
+
"body": "_0Kpzea_body",
|
|
2592
2593
|
"hint": "_0Kpzea_hint",
|
|
2593
2594
|
"badge": "_0Kpzea_badge",
|
|
2594
|
-
"reset": "_0Kpzea_reset",
|
|
2595
|
-
"body": "_0Kpzea_body",
|
|
2596
|
-
"text": "_0Kpzea_text",
|
|
2597
2595
|
"label": "_0Kpzea_label",
|
|
2598
|
-
"
|
|
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 }) {
|
|
@@ -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
|
-
"expanded": "io5HbW_expanded",
|
|
2731
|
-
"icon": "io5HbW_icon",
|
|
2732
2730
|
"label": "io5HbW_label",
|
|
2733
2731
|
"chevron": "io5HbW_chevron",
|
|
2734
|
-
"
|
|
2732
|
+
"icon": "io5HbW_icon",
|
|
2733
|
+
"seat": "io5HbW_seat",
|
|
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 }) {
|
|
@@ -2826,8 +2826,8 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
2826
2826
|
document.head.appendChild(tag);
|
|
2827
2827
|
}
|
|
2828
2828
|
var IconButton_module_css_default = {
|
|
2829
|
-
"iconButton": "G842ma_iconButton",
|
|
2830
2829
|
"circle": "G842ma_circle",
|
|
2830
|
+
"iconButton": "G842ma_iconButton",
|
|
2831
2831
|
"sm": "G842ma_sm"
|
|
2832
2832
|
};
|
|
2833
2833
|
// src/client/controls/IconButton.tsx
|
|
@@ -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
|
+
"notice": "aGmQkW_notice",
|
|
2856
|
+
"id": "aGmQkW_id",
|
|
2855
2857
|
"error": "aGmQkW_error",
|
|
2858
|
+
"list": "aGmQkW_list",
|
|
2856
2859
|
"picked": "aGmQkW_picked",
|
|
2857
|
-
"
|
|
2858
|
-
"group": "aGmQkW_group",
|
|
2859
|
-
"name": "aGmQkW_name",
|
|
2860
|
+
"text": "aGmQkW_text",
|
|
2860
2861
|
"item": "aGmQkW_item",
|
|
2861
|
-
"
|
|
2862
|
-
"
|
|
2863
|
-
"
|
|
2864
|
-
"text": "aGmQkW_text"
|
|
2862
|
+
"group": "aGmQkW_group",
|
|
2863
|
+
"provider": "aGmQkW_provider",
|
|
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
2967
|
"searchRow": "pNIIcq_searchRow",
|
|
2968
|
+
"trigger": "pNIIcq_trigger",
|
|
2969
2969
|
"searchInput": "pNIIcq_searchInput",
|
|
2970
|
-
"
|
|
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
|
-
"chip": "_0uSpIq_chip",
|
|
3081
|
-
"input": "_0uSpIq_input",
|
|
3082
3080
|
"row": "_0uSpIq_row",
|
|
3081
|
+
"input": "_0uSpIq_input",
|
|
3083
3082
|
"box": "_0uSpIq_box",
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { __exportAll as t };
|
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"
|