dsh-plugin-core-demo 0.30.0 → 0.30.1
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.js +11 -11
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -7806,7 +7806,7 @@ function createToasterHost() {
|
|
|
7806
7806
|
fontWeight: 700
|
|
7807
7807
|
}
|
|
7808
7808
|
}, palette.glyph), (0, import_react32.createElement)("div", { style: { flex: 1, minWidth: 0 } }, (0, import_react32.createElement)("div", { style: { fontWeight: 600 } }, payload.message), payload.description !== void 0 ? (0, import_react32.createElement)("div", { style: { opacity: 0.9, fontSize: "13px", marginTop: "2px", whiteSpace: "pre-line" } }, payload.description) : null), actions2 !== void 0 && actions2.length > 0 ? (0, import_react32.createElement)("div", { style: { display: "flex", gap: "8px", flexShrink: 0 } }, ...actions2.slice(0, 2).map((a) => (0, import_react32.createElement)(Button, {
|
|
7809
|
-
variant: a.variant ?? "
|
|
7809
|
+
variant: a.variant ?? "info",
|
|
7810
7810
|
size: "md",
|
|
7811
7811
|
onClick: () => {
|
|
7812
7812
|
a.onClick();
|
|
@@ -67644,12 +67644,12 @@ notify('\u78C1\u76D8\u7A7A\u95F4\u4E0D\u8DB3', { variant: 'warning', description
|
|
|
67644
67644
|
notify('\u5DF2\u5220\u9664\u8BE5\u6587\u4EF6', {
|
|
67645
67645
|
variant: 'success',
|
|
67646
67646
|
description: '\u53EF\u5728 10 \u79D2\u5185\u64A4\u9500',
|
|
67647
|
-
actions: [{ text: '\u64A4\u9500', variant: '
|
|
67647
|
+
actions: [{ text: '\u64A4\u9500', variant: 'info', onClick: () => {} }],
|
|
67648
67648
|
})
|
|
67649
67649
|
notify('\u786E\u8BA4\u63D0\u4EA4\u5417\uFF1F', {
|
|
67650
67650
|
description: '\u63D0\u4EA4\u540E\u5C06\u901A\u77E5\u76F8\u5173\u6210\u5458',
|
|
67651
67651
|
actions: [
|
|
67652
|
-
{ text: '\u53D6\u6D88', variant: '
|
|
67652
|
+
{ text: '\u53D6\u6D88', variant: 'info', onClick: () => {} },
|
|
67653
67653
|
{ text: '\u63D0\u4EA4', variant: 'primary', onClick: () => {} },
|
|
67654
67654
|
],
|
|
67655
67655
|
})`;
|
|
@@ -68132,7 +68132,7 @@ function FeedbackPage() {
|
|
|
68132
68132
|
onClick: () => notify("\u5DF2\u5220\u9664\u8BE5\u6587\u4EF6", {
|
|
68133
68133
|
variant: "success",
|
|
68134
68134
|
description: "\u53EF\u5728 10 \u79D2\u5185\u64A4\u9500",
|
|
68135
|
-
actions: [{ text: "\u64A4\u9500", variant: "
|
|
68135
|
+
actions: [{ text: "\u64A4\u9500", variant: "info", onClick: () => notify("\u5DF2\u64A4\u9500") }]
|
|
68136
68136
|
})
|
|
68137
68137
|
},
|
|
68138
68138
|
"\u5355\u6309\u94AE+\u63CF\u8FF0"
|
|
@@ -68143,7 +68143,7 @@ function FeedbackPage() {
|
|
|
68143
68143
|
onClick: () => notify("\u786E\u8BA4\u63D0\u4EA4\u5417\uFF1F", {
|
|
68144
68144
|
description: "\u63D0\u4EA4\u540E\u5C06\u901A\u77E5\u76F8\u5173\u6210\u5458",
|
|
68145
68145
|
actions: [
|
|
68146
|
-
{ text: "\u53D6\u6D88", variant: "
|
|
68146
|
+
{ text: "\u53D6\u6D88", variant: "info", onClick: () => notify("\u5DF2\u53D6\u6D88") },
|
|
68147
68147
|
{ text: "\u63D0\u4EA4", variant: "primary", onClick: () => notify("\u5DF2\u63D0\u4EA4", { variant: "success" }) }
|
|
68148
68148
|
]
|
|
68149
68149
|
})
|
|
@@ -69416,9 +69416,9 @@ function ReferencePage() {
|
|
|
69416
69416
|
"tbody",
|
|
69417
69417
|
null,
|
|
69418
69418
|
[
|
|
69419
|
-
[t3("buildCore"), `v${"0.30.
|
|
69420
|
-
[t3("buildDemo"), `v${"0.30.
|
|
69421
|
-
[t3("buildStamp"), "261104-
|
|
69419
|
+
[t3("buildCore"), `v${"0.30.1"}`],
|
|
69420
|
+
[t3("buildDemo"), `v${"0.30.1"}`],
|
|
69421
|
+
[t3("buildStamp"), "261104-122345-889"]
|
|
69422
69422
|
].map(
|
|
69423
69423
|
([label, value]) => (0, import_react93.createElement)(
|
|
69424
69424
|
"tr",
|
|
@@ -69730,9 +69730,9 @@ function DemoPage() {
|
|
|
69730
69730
|
lineHeight: "14px"
|
|
69731
69731
|
}
|
|
69732
69732
|
},
|
|
69733
|
-
(0, import_react95.createElement)("span", null, `core v${"0.30.
|
|
69734
|
-
(0, import_react95.createElement)("span", null, `demo v${"0.30.
|
|
69735
|
-
(0, import_react95.createElement)("span", { style: { marginTop: "4px", fontSize: "9px" } }, "261104-
|
|
69733
|
+
(0, import_react95.createElement)("span", null, `core v${"0.30.1"}`),
|
|
69734
|
+
(0, import_react95.createElement)("span", null, `demo v${"0.30.1"}`),
|
|
69735
|
+
(0, import_react95.createElement)("span", { style: { marginTop: "4px", fontSize: "9px" } }, "261104-122345-889")
|
|
69736
69736
|
)
|
|
69737
69737
|
)
|
|
69738
69738
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-core-demo",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"description": "The shared UI foundation for DSH plugins, with a live component preview: design tokens, common controls, workspace browsing and notifications maintained in one place — install it to preview every component in a real host.",
|
|
5
5
|
"icon": "./assets/icon-components.svg",
|
|
6
6
|
"keywords": [
|