@morlay/dsh-client-ui-primitives 0.0.15 → 0.0.16

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.
@@ -1237,7 +1237,6 @@ window.__ModuleLoader__.load({
1237
1237
  }
1238
1238
  return plans;
1239
1239
  }
1240
- const FALLBACK_PRIORITY = 100;
1241
1240
  var RowRegistration = class {
1242
1241
  #deps;
1243
1242
  #live = /* @__PURE__ */ new Map();
@@ -1272,18 +1271,6 @@ window.__ModuleLoader__.load({
1272
1271
  this.#live.delete(ns);
1273
1272
  this.#deps.release(ns);
1274
1273
  }
1275
- for (const [ns, plan] of wanted) {
1276
- if (this.#live.has(ns)) continue;
1277
- const entry = this.#deps.entryFor(ns);
1278
- if (entry === void 0) continue;
1279
- const dispose = this.#deps.slots.register({
1280
- name: "plugins.row.config",
1281
- key: plan.key,
1282
- priority: FALLBACK_PRIORITY,
1283
- locale: this.#deps.locale
1284
- }, entry.component);
1285
- this.#live.set(ns, dispose);
1286
- }
1287
1274
  }
1288
1275
  #release() {
1289
1276
  for (const [ns, dispose] of this.#live) {
@@ -1480,25 +1467,25 @@ window.__ModuleLoader__.load({
1480
1467
  document.head.appendChild(tag);
1481
1468
  }
1482
1469
  var schema_form_module_css_default = {
1483
- "lineFold": "oZhWGq_lineFold",
1484
- "lineNumber": "oZhWGq_lineNumber",
1485
- "lineBody": "oZhWGq_lineBody",
1486
1470
  "valueTrigger": "oZhWGq_valueTrigger",
1487
- "lineActions": "oZhWGq_lineActions",
1488
- "lineFoldSpacer": "oZhWGq_lineFoldSpacer",
1489
1471
  "editorRoot": "oZhWGq_editorRoot",
1490
- "hoverActions": "oZhWGq_hoverActions",
1491
- "addWrap": "oZhWGq_addWrap",
1492
1472
  "compactInput": "oZhWGq_compactInput",
1493
- "lineRow": "oZhWGq_lineRow",
1473
+ "lineNumber": "oZhWGq_lineNumber",
1494
1474
  "lineToken": "oZhWGq_lineToken",
1495
1475
  "lineComment": "oZhWGq_lineComment",
1476
+ "lineFoldSpacer": "oZhWGq_lineFoldSpacer",
1477
+ "addWrap": "oZhWGq_addWrap",
1478
+ "lineBody": "oZhWGq_lineBody",
1496
1479
  "hint": "oZhWGq_hint",
1497
1480
  "lineValue": "oZhWGq_lineValue",
1498
- "lineInvalid": "oZhWGq_lineInvalid",
1499
- "lineKey": "oZhWGq_lineKey",
1500
1481
  "valueSlot": "oZhWGq_valueSlot",
1501
- "compactTextField": "oZhWGq_compactTextField"
1482
+ "hoverActions": "oZhWGq_hoverActions",
1483
+ "compactTextField": "oZhWGq_compactTextField",
1484
+ "lineFold": "oZhWGq_lineFold",
1485
+ "lineRow": "oZhWGq_lineRow",
1486
+ "lineActions": "oZhWGq_lineActions",
1487
+ "lineInvalid": "oZhWGq_lineInvalid",
1488
+ "lineKey": "oZhWGq_lineKey"
1502
1489
  };
1503
1490
  // src/client/schema-form/TruncatedTooltip.tsx
1504
1491
  function TruncatedTooltip({ label, children }) {
@@ -2482,55 +2469,55 @@ window.__ModuleLoader__.load({
2482
2469
  document.head.appendChild(tag);
2483
2470
  }
2484
2471
  var layout_module_css_default = {
2485
- "tabular": "uxI0LG_tabular",
2486
2472
  "padBody": "uxI0LG_padBody",
2487
- "alignEnd": "uxI0LG_alignEnd",
2488
- "padPage": "uxI0LG_padPage",
2489
- "padRow": "uxI0LG_padRow",
2473
+ "sizeMd": "uxI0LG_sizeMd",
2474
+ "tonePrimary": "uxI0LG_tonePrimary",
2490
2475
  "gap8": "uxI0LG_gap8",
2476
+ "padRow": "uxI0LG_padRow",
2477
+ "wrap": "uxI0LG_wrap",
2491
2478
  "toneTertiary": "uxI0LG_toneTertiary",
2492
- "gap10": "uxI0LG_gap10",
2493
- "justifyEnd": "uxI0LG_justifyEnd",
2479
+ "truncate": "uxI0LG_truncate",
2480
+ "gap0": "uxI0LG_gap0",
2481
+ "gap6": "uxI0LG_gap6",
2494
2482
  "padBlocking": "uxI0LG_padBlocking",
2495
- "gap14": "uxI0LG_gap14",
2496
- "scroll": "uxI0LG_scroll",
2483
+ "padNone": "uxI0LG_padNone",
2484
+ "gapWide": "uxI0LG_gapWide",
2485
+ "justifyBetween": "uxI0LG_justifyBetween",
2486
+ "text": "uxI0LG_text",
2487
+ "alignStart": "uxI0LG_alignStart",
2488
+ "toneSecondary": "uxI0LG_toneSecondary",
2497
2489
  "narrow": "uxI0LG_narrow",
2498
2490
  "wSearch": "uxI0LG_wSearch",
2499
- "toneSecondary": "uxI0LG_toneSecondary",
2500
- "push": "uxI0LG_push",
2501
- "padNone": "uxI0LG_padNone",
2502
- "mono": "uxI0LG_mono",
2503
- "weightMedium": "uxI0LG_weightMedium",
2504
- "plain": "uxI0LG_plain",
2505
- "gap0": "uxI0LG_gap0",
2506
- "justifyCenter": "uxI0LG_justifyCenter",
2507
- "sizeBase": "uxI0LG_sizeBase",
2508
- "sizeMd": "uxI0LG_sizeMd",
2491
+ "justifyEnd": "uxI0LG_justifyEnd",
2509
2492
  "padCard": "uxI0LG_padCard",
2510
- "strong": "uxI0LG_strong",
2511
- "alignStart": "uxI0LG_alignStart",
2512
- "fixed": "uxI0LG_fixed",
2513
- "gap6": "uxI0LG_gap6",
2514
- "truncate": "uxI0LG_truncate",
2515
- "gapWide": "uxI0LG_gapWide",
2516
- "row": "uxI0LG_row",
2493
+ "plain": "uxI0LG_plain",
2517
2494
  "grow": "uxI0LG_grow",
2518
- "gap2": "uxI0LG_gap2",
2519
- "alignCenter": "uxI0LG_alignCenter",
2495
+ "padPage": "uxI0LG_padPage",
2496
+ "fill": "uxI0LG_fill",
2497
+ "row": "uxI0LG_row",
2498
+ "gap12": "uxI0LG_gap12",
2499
+ "justifyCenter": "uxI0LG_justifyCenter",
2500
+ "sizeSm": "uxI0LG_sizeSm",
2520
2501
  "stack": "uxI0LG_stack",
2521
- "sizeLg": "uxI0LG_sizeLg",
2522
2502
  "toneDanger": "uxI0LG_toneDanger",
2523
- "text": "uxI0LG_text",
2524
- "wrap": "uxI0LG_wrap",
2525
- "sizeSm": "uxI0LG_sizeSm",
2526
- "gap4": "uxI0LG_gap4",
2527
- "tonePrimary": "uxI0LG_tonePrimary",
2503
+ "alignCenter": "uxI0LG_alignCenter",
2504
+ "alignEnd": "uxI0LG_alignEnd",
2505
+ "strong": "uxI0LG_strong",
2506
+ "push": "uxI0LG_push",
2507
+ "gap10": "uxI0LG_gap10",
2508
+ "weightMedium": "uxI0LG_weightMedium",
2509
+ "sizeLg": "uxI0LG_sizeLg",
2510
+ "tabular": "uxI0LG_tabular",
2511
+ "gap14": "uxI0LG_gap14",
2512
+ "fixed": "uxI0LG_fixed",
2528
2513
  "gap16": "uxI0LG_gap16",
2529
- "fill": "uxI0LG_fill",
2530
- "justifyBetween": "uxI0LG_justifyBetween",
2514
+ "sizeBase": "uxI0LG_sizeBase",
2531
2515
  "boxed": "uxI0LG_boxed",
2532
- "gap12": "uxI0LG_gap12",
2533
- "sizeXs": "uxI0LG_sizeXs"
2516
+ "scroll": "uxI0LG_scroll",
2517
+ "gap2": "uxI0LG_gap2",
2518
+ "sizeXs": "uxI0LG_sizeXs",
2519
+ "mono": "uxI0LG_mono",
2520
+ "gap4": "uxI0LG_gap4"
2534
2521
  };
2535
2522
  // src/client/layout/scales.ts
2536
2523
  function gapClass(css, gap) {
@@ -2608,15 +2595,15 @@ window.__ModuleLoader__.load({
2608
2595
  document.head.appendChild(tag);
2609
2596
  }
2610
2597
  var SettingsFieldRow_module_css_default = {
2611
- "hint": "_0Kpzea_hint",
2612
- "reset": "_0Kpzea_reset",
2613
2598
  "inline": "_0Kpzea_inline",
2614
- "badge": "_0Kpzea_badge",
2615
- "text": "_0Kpzea_text",
2616
2599
  "row": "_0Kpzea_row",
2617
- "body": "_0Kpzea_body",
2600
+ "badge": "_0Kpzea_badge",
2618
2601
  "label": "_0Kpzea_label",
2619
- "invalid": "_0Kpzea_invalid"
2602
+ "reset": "_0Kpzea_reset",
2603
+ "hint": "_0Kpzea_hint",
2604
+ "invalid": "_0Kpzea_invalid",
2605
+ "text": "_0Kpzea_text",
2606
+ "body": "_0Kpzea_body"
2620
2607
  };
2621
2608
  // src/client/settings-form/SettingsFieldRow.tsx
2622
2609
  function SettingsFieldRow({ label, hint, layout = "stack", divider = false, overriddenLabel, resetLabel, onReset, invalid, children, className, ...rest }) {
@@ -2703,8 +2690,8 @@ window.__ModuleLoader__.load({
2703
2690
  document.head.appendChild(tag);
2704
2691
  }
2705
2692
  var Button_module_css_default = {
2706
- "label": "SBA8ka_label",
2707
- "danger": "SBA8ka_danger"
2693
+ "danger": "SBA8ka_danger",
2694
+ "label": "SBA8ka_label"
2708
2695
  };
2709
2696
  // src/client/controls/Button.tsx
2710
2697
  const Button = (0, react.forwardRef)(function Button({ className, tone, ...rest }, ref) {
@@ -2726,8 +2713,8 @@ window.__ModuleLoader__.load({
2726
2713
  document.head.appendChild(tag);
2727
2714
  }
2728
2715
  var DisclosureRow_module_css_default = {
2729
- "contentLayout": "BDL1HG_contentLayout",
2730
- "content": "BDL1HG_content"
2716
+ "content": "BDL1HG_content",
2717
+ "contentLayout": "BDL1HG_contentLayout"
2731
2718
  };
2732
2719
  // src/client/controls/DisclosureRow.tsx
2733
2720
  function DisclosureRow(props) {
@@ -2750,9 +2737,9 @@ window.__ModuleLoader__.load({
2750
2737
  var SeatButton_module_css_default = {
2751
2738
  "label": "io5HbW_label",
2752
2739
  "expanded": "io5HbW_expanded",
2740
+ "icon": "io5HbW_icon",
2753
2741
  "chevron": "io5HbW_chevron",
2754
- "seat": "io5HbW_seat",
2755
- "icon": "io5HbW_icon"
2742
+ "seat": "io5HbW_seat"
2756
2743
  };
2757
2744
  // src/client/controls/SeatButton.tsx
2758
2745
  function SeatButton({ icon, label, expanded = false, chevron, type = "button", className, ...rest }) {
@@ -2787,8 +2774,8 @@ window.__ModuleLoader__.load({
2787
2774
  document.head.appendChild(tag);
2788
2775
  }
2789
2776
  var Spinner_module_css_default = {
2790
- "spin": "If7fBq_spin",
2791
- "spinner": "If7fBq_spinner"
2777
+ "spinner": "If7fBq_spinner",
2778
+ "spin": "If7fBq_spin"
2792
2779
  };
2793
2780
  // src/client/controls/Spinner.tsx
2794
2781
  function Spinner({ label }) {
@@ -2848,8 +2835,8 @@ window.__ModuleLoader__.load({
2848
2835
  }
2849
2836
  var IconButton_module_css_default = {
2850
2837
  "sm": "G842ma_sm",
2851
- "iconButton": "G842ma_iconButton",
2852
- "circle": "G842ma_circle"
2838
+ "circle": "G842ma_circle",
2839
+ "iconButton": "G842ma_iconButton"
2853
2840
  };
2854
2841
  // src/client/controls/IconButton.tsx
2855
2842
  function IconButton({ label, children, type = "button", shape = "square", size = "md", className, ...rest }) {
@@ -2874,15 +2861,15 @@ window.__ModuleLoader__.load({
2874
2861
  }
2875
2862
  var ModelRouteList_module_css_default = {
2876
2863
  "provider": "aGmQkW_provider",
2877
- "id": "aGmQkW_id",
2878
2864
  "picked": "aGmQkW_picked",
2879
- "group": "aGmQkW_group",
2880
- "list": "aGmQkW_list",
2865
+ "item": "aGmQkW_item",
2866
+ "text": "aGmQkW_text",
2881
2867
  "name": "aGmQkW_name",
2868
+ "id": "aGmQkW_id",
2869
+ "group": "aGmQkW_group",
2882
2870
  "notice": "aGmQkW_notice",
2883
- "error": "aGmQkW_error",
2884
- "item": "aGmQkW_item",
2885
- "text": "aGmQkW_text"
2871
+ "list": "aGmQkW_list",
2872
+ "error": "aGmQkW_error"
2886
2873
  };
2887
2874
  // src/client/controls/ModelRouteList.tsx
2888
2875
  function ModelRouteList({ label, candidates, selectedKey, disabled = false, status, loadingLabel, errorLabel, emptyLabel, onSelect }) {
@@ -2985,9 +2972,9 @@ window.__ModuleLoader__.load({
2985
2972
  document.head.appendChild(tag);
2986
2973
  }
2987
2974
  var SearchSelect_module_css_default = {
2988
- "searchInput": "pNIIcq_searchInput",
2989
2975
  "searchRow": "pNIIcq_searchRow",
2990
2976
  "trigger": "pNIIcq_trigger",
2977
+ "searchInput": "pNIIcq_searchInput",
2991
2978
  "empty": "pNIIcq_empty"
2992
2979
  };
2993
2980
  // src/client/controls/SearchSelect.tsx
@@ -3098,12 +3085,12 @@ window.__ModuleLoader__.load({
3098
3085
  document.head.appendChild(tag);
3099
3086
  }
3100
3087
  var TagInput_module_css_default = {
3101
- "chip": "_0uSpIq_chip",
3102
- "anchor": "_0uSpIq_anchor",
3103
3088
  "input": "_0uSpIq_input",
3104
3089
  "chipRemove": "_0uSpIq_chipRemove",
3105
3090
  "empty": "_0uSpIq_empty",
3106
3091
  "box": "_0uSpIq_box",
3092
+ "anchor": "_0uSpIq_anchor",
3093
+ "chip": "_0uSpIq_chip",
3107
3094
  "row": "_0uSpIq_row"
3108
3095
  };
3109
3096
  // src/client/controls/TagInput.tsx
@@ -1217,7 +1217,6 @@ function rowRegistrations(namespaces, bundles) {
1217
1217
  }
1218
1218
  return plans;
1219
1219
  }
1220
- const FALLBACK_PRIORITY = 100;
1221
1220
  var RowRegistration = class {
1222
1221
  #deps;
1223
1222
  #live = /* @__PURE__ */ new Map();
@@ -1252,18 +1251,6 @@ var RowRegistration = class {
1252
1251
  this.#live.delete(ns);
1253
1252
  this.#deps.release(ns);
1254
1253
  }
1255
- for (const [ns, plan] of wanted) {
1256
- if (this.#live.has(ns)) continue;
1257
- const entry = this.#deps.entryFor(ns);
1258
- if (entry === void 0) continue;
1259
- const dispose = this.#deps.slots.register({
1260
- name: "plugins.row.config",
1261
- key: plan.key,
1262
- priority: FALLBACK_PRIORITY,
1263
- locale: this.#deps.locale
1264
- }, entry.component);
1265
- this.#live.set(ns, dispose);
1266
- }
1267
1254
  }
1268
1255
  #release() {
1269
1256
  for (const [ns, dispose] of this.#live) {
@@ -1459,25 +1446,25 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
1459
1446
  document.head.appendChild(tag);
1460
1447
  }
1461
1448
  var schema_form_module_css_default = {
1449
+ "valueTrigger": "oZhWGq_valueTrigger",
1450
+ "valueSlot": "oZhWGq_valueSlot",
1451
+ "lineComment": "oZhWGq_lineComment",
1452
+ "lineInvalid": "oZhWGq_lineInvalid",
1453
+ "lineActions": "oZhWGq_lineActions",
1454
+ "lineFold": "oZhWGq_lineFold",
1455
+ "lineBody": "oZhWGq_lineBody",
1456
+ "lineToken": "oZhWGq_lineToken",
1457
+ "lineNumber": "oZhWGq_lineNumber",
1462
1458
  "compactTextField": "oZhWGq_compactTextField",
1459
+ "hint": "oZhWGq_hint",
1463
1460
  "addWrap": "oZhWGq_addWrap",
1464
- "lineKey": "oZhWGq_lineKey",
1465
1461
  "editorRoot": "oZhWGq_editorRoot",
1466
- "lineBody": "oZhWGq_lineBody",
1467
- "hint": "oZhWGq_hint",
1468
- "lineValue": "oZhWGq_lineValue",
1469
- "lineNumber": "oZhWGq_lineNumber",
1470
- "lineInvalid": "oZhWGq_lineInvalid",
1462
+ "lineKey": "oZhWGq_lineKey",
1471
1463
  "lineRow": "oZhWGq_lineRow",
1472
- "lineFoldSpacer": "oZhWGq_lineFoldSpacer",
1464
+ "lineValue": "oZhWGq_lineValue",
1473
1465
  "compactInput": "oZhWGq_compactInput",
1474
- "lineComment": "oZhWGq_lineComment",
1475
- "lineActions": "oZhWGq_lineActions",
1476
1466
  "hoverActions": "oZhWGq_hoverActions",
1477
- "lineToken": "oZhWGq_lineToken",
1478
- "valueSlot": "oZhWGq_valueSlot",
1479
- "valueTrigger": "oZhWGq_valueTrigger",
1480
- "lineFold": "oZhWGq_lineFold"
1467
+ "lineFoldSpacer": "oZhWGq_lineFoldSpacer"
1481
1468
  };
1482
1469
  // src/client/schema-form/TruncatedTooltip.tsx
1483
1470
  function TruncatedTooltip({ label, children }) {
@@ -2461,55 +2448,55 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2461
2448
  document.head.appendChild(tag);
2462
2449
  }
2463
2450
  var layout_module_css_default = {
2464
- "gap0": "uxI0LG_gap0",
2465
- "gap2": "uxI0LG_gap2",
2466
- "gap6": "uxI0LG_gap6",
2467
- "toneDanger": "uxI0LG_toneDanger",
2468
- "row": "uxI0LG_row",
2469
- "sizeBase": "uxI0LG_sizeBase",
2470
2451
  "push": "uxI0LG_push",
2471
- "wSearch": "uxI0LG_wSearch",
2472
- "strong": "uxI0LG_strong",
2473
- "scroll": "uxI0LG_scroll",
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",
2452
+ "padPage": "uxI0LG_padPage",
2481
2453
  "padBlocking": "uxI0LG_padBlocking",
2482
- "fill": "uxI0LG_fill",
2454
+ "sizeMd": "uxI0LG_sizeMd",
2455
+ "sizeBase": "uxI0LG_sizeBase",
2483
2456
  "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",
2457
+ "plain": "uxI0LG_plain",
2458
+ "tonePrimary": "uxI0LG_tonePrimary",
2459
+ "alignEnd": "uxI0LG_alignEnd",
2460
+ "gap4": "uxI0LG_gap4",
2492
2461
  "gap14": "uxI0LG_gap14",
2493
- "gap16": "uxI0LG_gap16",
2462
+ "sizeXs": "uxI0LG_sizeXs",
2463
+ "tabular": "uxI0LG_tabular",
2494
2464
  "alignCenter": "uxI0LG_alignCenter",
2495
- "gap4": "uxI0LG_gap4",
2496
- "text": "uxI0LG_text",
2497
2465
  "boxed": "uxI0LG_boxed",
2498
- "alignEnd": "uxI0LG_alignEnd",
2466
+ "justifyBetween": "uxI0LG_justifyBetween",
2467
+ "text": "uxI0LG_text",
2468
+ "fixed": "uxI0LG_fixed",
2469
+ "strong": "uxI0LG_strong",
2470
+ "wSearch": "uxI0LG_wSearch",
2499
2471
  "alignStart": "uxI0LG_alignStart",
2500
- "padPage": "uxI0LG_padPage",
2472
+ "gap2": "uxI0LG_gap2",
2473
+ "justifyCenter": "uxI0LG_justifyCenter",
2501
2474
  "gap12": "uxI0LG_gap12",
2502
- "padRow": "uxI0LG_padRow",
2503
- "weightMedium": "uxI0LG_weightMedium",
2504
- "truncate": "uxI0LG_truncate",
2505
- "gap8": "uxI0LG_gap8",
2475
+ "toneSecondary": "uxI0LG_toneSecondary",
2506
2476
  "narrow": "uxI0LG_narrow",
2477
+ "stack": "uxI0LG_stack",
2478
+ "gap8": "uxI0LG_gap8",
2479
+ "sizeSm": "uxI0LG_sizeSm",
2480
+ "padCard": "uxI0LG_padCard",
2481
+ "gap16": "uxI0LG_gap16",
2482
+ "gap0": "uxI0LG_gap0",
2483
+ "justifyEnd": "uxI0LG_justifyEnd",
2484
+ "scroll": "uxI0LG_scroll",
2485
+ "gap10": "uxI0LG_gap10",
2486
+ "toneTertiary": "uxI0LG_toneTertiary",
2487
+ "truncate": "uxI0LG_truncate",
2488
+ "padNone": "uxI0LG_padNone",
2489
+ "gapWide": "uxI0LG_gapWide",
2507
2490
  "grow": "uxI0LG_grow",
2508
- "tonePrimary": "uxI0LG_tonePrimary",
2509
- "sizeXs": "uxI0LG_sizeXs",
2491
+ "fill": "uxI0LG_fill",
2492
+ "wrap": "uxI0LG_wrap",
2493
+ "padRow": "uxI0LG_padRow",
2510
2494
  "mono": "uxI0LG_mono",
2511
- "toneSecondary": "uxI0LG_toneSecondary",
2512
- "tabular": "uxI0LG_tabular"
2495
+ "row": "uxI0LG_row",
2496
+ "gap6": "uxI0LG_gap6",
2497
+ "weightMedium": "uxI0LG_weightMedium",
2498
+ "padBody": "uxI0LG_padBody",
2499
+ "toneDanger": "uxI0LG_toneDanger"
2513
2500
  };
2514
2501
  // src/client/layout/scales.ts
2515
2502
  function gapClass(css, gap) {
@@ -2587,15 +2574,15 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2587
2574
  document.head.appendChild(tag);
2588
2575
  }
2589
2576
  var SettingsFieldRow_module_css_default = {
2577
+ "reset": "_0Kpzea_reset",
2578
+ "row": "_0Kpzea_row",
2590
2579
  "inline": "_0Kpzea_inline",
2591
- "text": "_0Kpzea_text",
2580
+ "label": "_0Kpzea_label",
2592
2581
  "body": "_0Kpzea_body",
2593
- "hint": "_0Kpzea_hint",
2582
+ "text": "_0Kpzea_text",
2594
2583
  "badge": "_0Kpzea_badge",
2595
- "label": "_0Kpzea_label",
2596
- "row": "_0Kpzea_row",
2597
- "invalid": "_0Kpzea_invalid",
2598
- "reset": "_0Kpzea_reset"
2584
+ "hint": "_0Kpzea_hint",
2585
+ "invalid": "_0Kpzea_invalid"
2599
2586
  };
2600
2587
  // src/client/settings-form/SettingsFieldRow.tsx
2601
2588
  function SettingsFieldRow({ label, hint, layout = "stack", divider = false, overriddenLabel, resetLabel, onReset, invalid, children, className, ...rest }) {
@@ -2682,8 +2669,8 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2682
2669
  document.head.appendChild(tag);
2683
2670
  }
2684
2671
  var Button_module_css_default = {
2685
- "danger": "SBA8ka_danger",
2686
- "label": "SBA8ka_label"
2672
+ "label": "SBA8ka_label",
2673
+ "danger": "SBA8ka_danger"
2687
2674
  };
2688
2675
  // src/client/controls/Button.tsx
2689
2676
  const Button = forwardRef(function Button({ className, tone, ...rest }, ref) {
@@ -2705,8 +2692,8 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2705
2692
  document.head.appendChild(tag);
2706
2693
  }
2707
2694
  var DisclosureRow_module_css_default = {
2708
- "content": "BDL1HG_content",
2709
- "contentLayout": "BDL1HG_contentLayout"
2695
+ "contentLayout": "BDL1HG_contentLayout",
2696
+ "content": "BDL1HG_content"
2710
2697
  };
2711
2698
  // src/client/controls/DisclosureRow.tsx
2712
2699
  function DisclosureRow(props) {
@@ -2728,10 +2715,10 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2728
2715
  }
2729
2716
  var SeatButton_module_css_default = {
2730
2717
  "label": "io5HbW_label",
2718
+ "expanded": "io5HbW_expanded",
2731
2719
  "chevron": "io5HbW_chevron",
2732
- "icon": "io5HbW_icon",
2733
2720
  "seat": "io5HbW_seat",
2734
- "expanded": "io5HbW_expanded"
2721
+ "icon": "io5HbW_icon"
2735
2722
  };
2736
2723
  // src/client/controls/SeatButton.tsx
2737
2724
  function SeatButton({ icon, label, expanded = false, chevron, type = "button", className, ...rest }) {
@@ -2827,8 +2814,8 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2827
2814
  }
2828
2815
  var IconButton_module_css_default = {
2829
2816
  "circle": "G842ma_circle",
2830
- "iconButton": "G842ma_iconButton",
2831
- "sm": "G842ma_sm"
2817
+ "sm": "G842ma_sm",
2818
+ "iconButton": "G842ma_iconButton"
2832
2819
  };
2833
2820
  // src/client/controls/IconButton.tsx
2834
2821
  function IconButton({ label, children, type = "button", shape = "square", size = "md", className, ...rest }) {
@@ -2852,16 +2839,16 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2852
2839
  document.head.appendChild(tag);
2853
2840
  }
2854
2841
  var ModelRouteList_module_css_default = {
2855
- "notice": "aGmQkW_notice",
2842
+ "picked": "aGmQkW_picked",
2856
2843
  "id": "aGmQkW_id",
2857
- "error": "aGmQkW_error",
2858
2844
  "list": "aGmQkW_list",
2859
- "picked": "aGmQkW_picked",
2860
- "text": "aGmQkW_text",
2861
2845
  "item": "aGmQkW_item",
2846
+ "notice": "aGmQkW_notice",
2847
+ "name": "aGmQkW_name",
2862
2848
  "group": "aGmQkW_group",
2863
2849
  "provider": "aGmQkW_provider",
2864
- "name": "aGmQkW_name"
2850
+ "text": "aGmQkW_text",
2851
+ "error": "aGmQkW_error"
2865
2852
  };
2866
2853
  // src/client/controls/ModelRouteList.tsx
2867
2854
  function ModelRouteList({ label, candidates, selectedKey, disabled = false, status, loadingLabel, errorLabel, emptyLabel, onSelect }) {
@@ -2964,10 +2951,10 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
2964
2951
  document.head.appendChild(tag);
2965
2952
  }
2966
2953
  var SearchSelect_module_css_default = {
2967
- "searchRow": "pNIIcq_searchRow",
2968
- "trigger": "pNIIcq_trigger",
2954
+ "empty": "pNIIcq_empty",
2969
2955
  "searchInput": "pNIIcq_searchInput",
2970
- "empty": "pNIIcq_empty"
2956
+ "trigger": "pNIIcq_trigger",
2957
+ "searchRow": "pNIIcq_searchRow"
2971
2958
  };
2972
2959
  // src/client/controls/SearchSelect.tsx
2973
2960
  function SearchSelect({ label, value, emptyLabel, options, disabled = false, searchLabel, noMatchLabel, onSelect }) {
@@ -3077,13 +3064,13 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
3077
3064
  document.head.appendChild(tag);
3078
3065
  }
3079
3066
  var TagInput_module_css_default = {
3080
- "row": "_0uSpIq_row",
3081
- "input": "_0uSpIq_input",
3082
- "box": "_0uSpIq_box",
3083
- "chip": "_0uSpIq_chip",
3084
3067
  "chipRemove": "_0uSpIq_chipRemove",
3085
3068
  "empty": "_0uSpIq_empty",
3086
- "anchor": "_0uSpIq_anchor"
3069
+ "box": "_0uSpIq_box",
3070
+ "row": "_0uSpIq_row",
3071
+ "input": "_0uSpIq_input",
3072
+ "anchor": "_0uSpIq_anchor",
3073
+ "chip": "_0uSpIq_chip"
3087
3074
  };
3088
3075
  // src/client/controls/TagInput.tsx
3089
3076
  function TagInput({ value, onChange, options, placeholder, label, disabled = false, noMatchLabel = "", removeLabel }) {
package/dist/client.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_client = require("./client-DQkXL5cV.cjs");
2
+ const require_client = require("./client-DeSUWkTT.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.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-XjliqAk1.mjs";
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-mET8QV2B.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/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_client = require("./client-DQkXL5cV.cjs");
2
+ const require_client = require("./client-DeSUWkTT.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.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-XjliqAk1.mjs";
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-mET8QV2B.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.15",
3
+ "version": "0.0.16",
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",
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@deepseek-ai/dsh-util-values": "^0.2.2-rc.1",
50
50
  "@deepseek-ai/schemastery": "^3.19.0",
51
- "@morlay/session-rdb": "0.1.11",
51
+ "@morlay/session-rdb": "0.1.12",
52
52
  "@testing-library/react": "^16.3.0",
53
53
  "@types/mdast": "^4.0.4",
54
54
  "@types/react": "~18.3.1",
@@ -62,9 +62,6 @@ export interface RowRegistrationDeps {
62
62
  release(ns: string): void;
63
63
  }
64
64
 
65
- // 自动项的兜底优先级:手写卡片(默认 0)遮住它。
66
- const FALLBACK_PRIORITY = 100;
67
-
68
65
  // 自动注册的差分器:按 describe 与 bundle 清单把「该有的行」与「已在的行」对齐。
69
66
  export class RowRegistration {
70
67
  readonly #deps: RowRegistrationDeps;
@@ -106,21 +103,7 @@ export class RowRegistration {
106
103
  this.#live.delete(ns);
107
104
  this.#deps.release(ns);
108
105
  }
109
- for (const [ns, plan] of wanted) {
110
- if (this.#live.has(ns)) continue;
111
- const entry = this.#deps.entryFor(ns);
112
- if (entry === undefined) continue;
113
- const dispose = this.#deps.slots.register(
114
- {
115
- name: "plugins.row.config",
116
- key: plan.key,
117
- priority: FALLBACK_PRIORITY,
118
- locale: this.#deps.locale,
119
- },
120
- entry.component,
121
- );
122
- this.#live.set(ns, dispose);
123
- }
106
+ // 行配置入口(`plugins.row.config`)随配置页一起移除:这里不再注册该 keyed slot 的项。
124
107
  }
125
108
 
126
109
  // 注销全部并释放控制器。