@morlay/dsh-client-ui-primitives 0.0.6 → 0.0.7
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/README.md +3 -2
- package/dist/client.d.mts +26 -0
- package/dist/client.mjs +4576 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +20 -29
- package/src/client/index.ts +7 -7
- package/src/client/schema-form/Editor.tsx +20 -12
- package/src/client/schema-form/TruncatedTooltip.tsx +60 -0
- package/src/client/schema-form/index.ts +11 -0
- package/src/client/schema-form/styles.ts +26 -3
- package/src/client/schema-form/testing/resize-observer-stub.ts +63 -0
- package/src/client/schema-form/value.tsx +10 -8
- package/src/client/styling/styling.ts +6 -1
- package/src/client/theme.generated.ts +14 -1
- package/dist/client.cjs +0 -17075
- package/dist/client.d.cts +0 -11656
- package/dist/index.d.cts +0 -5
- package/dist/reference-BX54bj6_.d.cts +0 -30
package/README.md
CHANGED
|
@@ -48,5 +48,6 @@ import { SettingsFormModel, settingsNumberField } from "@morlay/dsh-client-ui-pr
|
|
|
48
48
|
const form = new SettingsFormModel(scope, [settingsNumberField("timeoutMs")]);
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
装配:**不是装配行**——client 半随用到它的 client 行内联(清单里标 `dsh.client.inline`,devkit 因此不把它当
|
|
52
|
+
模块表里的行外置),装配入口 `apply` 由那些行各自调用、按服务在场与否幂等去重;`styling` 单例跨副本共享一份。
|
|
53
|
+
取舍见 [ADR 基础面暂时内联而不是装配行](./.agents/adrs/20261001-暂时内联而不是装配行.md)。
|
package/dist/client.d.mts
CHANGED
|
@@ -9579,6 +9579,11 @@ export declare const designTokens: {
|
|
|
9579
9579
|
readonly tag: "var(--dsw-static-neutral-bluish-75)";
|
|
9580
9580
|
};
|
|
9581
9581
|
readonly menu: {
|
|
9582
|
+
readonly group: {
|
|
9583
|
+
readonly header: {
|
|
9584
|
+
readonly fill: "rgba(248, 249, 250, 0.94)";
|
|
9585
|
+
};
|
|
9586
|
+
};
|
|
9582
9587
|
readonly icon: "var(--dsw-static-neutral-bluish-800)";
|
|
9583
9588
|
};
|
|
9584
9589
|
readonly onboarding: {
|
|
@@ -9646,6 +9651,14 @@ export declare const designTokens: {
|
|
|
9646
9651
|
readonly bg: "color-mix(in srgb, var(--dsw-alias-tooltip-bg), white 18%)";
|
|
9647
9652
|
};
|
|
9648
9653
|
};
|
|
9654
|
+
readonly turn: {
|
|
9655
|
+
readonly trigger: {
|
|
9656
|
+
readonly bg: {
|
|
9657
|
+
readonly $: "var(--dsw-alias-markdown-code-block)";
|
|
9658
|
+
readonly hover: "var(--dsw-alias-interactive-bg-hover)";
|
|
9659
|
+
};
|
|
9660
|
+
};
|
|
9661
|
+
};
|
|
9649
9662
|
};
|
|
9650
9663
|
readonly corner: {
|
|
9651
9664
|
readonly shape: "superellipse(1.5)";
|
|
@@ -10405,6 +10418,11 @@ export declare const dsw: TokenVars<{
|
|
|
10405
10418
|
readonly tag: "var(--dsw-static-neutral-bluish-75)";
|
|
10406
10419
|
};
|
|
10407
10420
|
readonly menu: {
|
|
10421
|
+
readonly group: {
|
|
10422
|
+
readonly header: {
|
|
10423
|
+
readonly fill: "rgba(248, 249, 250, 0.94)";
|
|
10424
|
+
};
|
|
10425
|
+
};
|
|
10408
10426
|
readonly icon: "var(--dsw-static-neutral-bluish-800)";
|
|
10409
10427
|
};
|
|
10410
10428
|
readonly onboarding: {
|
|
@@ -10472,6 +10490,14 @@ export declare const dsw: TokenVars<{
|
|
|
10472
10490
|
readonly bg: "color-mix(in srgb, var(--dsw-alias-tooltip-bg), white 18%)";
|
|
10473
10491
|
};
|
|
10474
10492
|
};
|
|
10493
|
+
readonly turn: {
|
|
10494
|
+
readonly trigger: {
|
|
10495
|
+
readonly bg: {
|
|
10496
|
+
readonly $: "var(--dsw-alias-markdown-code-block)";
|
|
10497
|
+
readonly hover: "var(--dsw-alias-interactive-bg-hover)";
|
|
10498
|
+
};
|
|
10499
|
+
};
|
|
10500
|
+
};
|
|
10475
10501
|
};
|
|
10476
10502
|
readonly corner: {
|
|
10477
10503
|
readonly shape: "superellipse(1.5)";
|