dsh-plugin-core-demo 0.42.4 → 0.42.5
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 +16 -8
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -6586,6 +6586,8 @@ function hostIgnoredFields(opts, allowed) {
|
|
|
6586
6586
|
continue;
|
|
6587
6587
|
if (key === "closeOnMask" && value === true)
|
|
6588
6588
|
continue;
|
|
6589
|
+
if (key === "loadingText" && value === true)
|
|
6590
|
+
continue;
|
|
6589
6591
|
if (!allowed.includes(key))
|
|
6590
6592
|
ignored.push(key);
|
|
6591
6593
|
}
|
|
@@ -76724,7 +76726,7 @@ function subscribeTaskNotificationEvents(listener) {
|
|
|
76724
76726
|
}
|
|
76725
76727
|
|
|
76726
76728
|
// dist/adv/tasks/task-bar-css.generated.js
|
|
76727
|
-
var TASK_BAR_CSS = "/* \u2500\u2500 TaskBar \xB7 \u540E\u53F0\u4EFB\u52A1\u4E2D\u5FC3\u7684\u901A\u7528\u5C55\u793A\u680F \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n \u89E6\u53D1\u5668\u672C\u4F53\u662F Button\uFF08\u957F\u6761 / \u7EAF\u56FE\u6807\u6B63\u65B9\u5F62\uFF09\u7684\u63CF\u8FB9\u6863\uFF1A\n \u5706\u89D2 / \u8FB9\u6846 / hover / \u7126\u70B9\u73AF\u5168\u5728 button.css\uFF0C\u672C\u6587\u4EF6\u53EA\u8865\u5B83\u6CA1\u6709\u7684\uFF1A\n \u56FE\u6807\u4F4D\u7684\u5C0F\u7EFF\u70B9\u4E0E\u547C\u5438\u3001\u8BA1\u6570\u6587\u6848\u3001\u4E0B\u62C9\u91CC\u300C\u4E00\u6761\u865A\u7EBF\u4E00\u683C\u300D\u7684\u6392\u7248\u3002\n \u4E0B\u62C9\u5BB9\u5668\u8D70 PanelSurface(menu)\uFF0C\u8FD9\u91CC\u53EA\u7ED9\u5BBD\u5EA6\u4E0E\u6EDA\u52A8\u533A\uFF0C\u4E0D\u6539\u9762\u677F\u76AE\u80A4\u3002 */\n\n.dshpc-taskbar{display:inline-flex;}\n\n/* \u89E6\u53D1\u5668\uFF1A\u6574\u6BB5\u76AE\u80A4\u7167\u4E0B\u62C9\u6846\uFF08Picker \u7684 trigger\uFF09\u6765 \u2014\u2014 \u540C\u9AD8\u5EA6\u6863\u3001\u540C 1px \u52A0\u91CD\u63CF\u8FB9\u3001\n \u540C md \u5706\u89D2\u3001\u540C 8px \u5DE6\u53F3\u5185\u8DDD\uFF1B\u53F3\u4FA7\u4E09\u89D2\u4E5F\u5C31 6px\uFF0C\u522B\u518D\u653E\u5927\u4E00\u53F7\u3002\n \u4E24\u4E2A\u5F62\u6001\u4E00\u5957\u76AE\uFF1A--pill \u662F\u56FE\u6807 + \u6587\u5B57 + \u8BA1\u6570 + \u4E09\u89D2\uFF0C--icon \u53EA\u6709\u56FE\u6807\u4E14\u5BBD\u9AD8\u76F8\u7B49\u3002 */\n.dshpc-taskbar__trigger{\n display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;overflow:hidden;\n height:28px;padding:0 8px;\n color:var(--dshpc-fg);background:var(--dshpc-surface-1);\n border:1px solid var(--dshpc-border-heavy);border-radius:var(--dshpc-radius-md);\n font-family:inherit;font-size:var(--dshpc-font-md);line-height:1;cursor:pointer;\n}\n.dshpc-taskbar__trigger:hover{background:var(--dshpc-hover);}\n.dshpc-taskbar__trigger:focus-visible{outline:2px solid var(--dshpc-focus);outline-offset:1px;}\n.dshpc-taskbar__trigger--sm{height:24px;font-size:var(--dshpc-font-sm);}\n.dshpc-taskbar__trigger--lg{height:32px;}\n.dshpc-taskbar__trigger--icon{justify-content:center;padding:0;width:28px;}\n.dshpc-taskbar__trigger--icon.dshpc-taskbar__trigger--sm{width:24px;}\n.dshpc-taskbar__trigger--icon.dshpc-taskbar__trigger--lg{width:32px;}\n/* \u6587\u5B57\u5403\u5269\u4F59\u5BBD\uFF1A\u5B9A\u5BBD / \u7ED9\u4E86\u4E0A\u9650\u65F6\u5148\u538B\u5B83\uFF08\u56FE\u6807\u3001\u4E09\u89D2 flex:none \u4E0D\u8BA9\u4F4D\uFF09\u3002\n \u7701\u7565\u53F7\u4E0E hover \u8DD1\u9A6C\u706F\u7531 MarqueeText\uFF08.dshpc-mq\uFF09\u81EA\u5DF1\u7BA1\uFF0C\u672C\u6587\u4EF6\u53EA\u7ED9\u53EF\u6536\u7F29\u7684\u5916\u58F3\u3002 */\n.dshpc-taskbar__label{flex:0 1 auto;min-width:0;white-space:nowrap;}\n.dshpc-taskbar__count{flex:none;}\n/* \u4E09\u89D2\u6C38\u8FDC\u8D34\u53F3\uFF1Aauto \u5916\u8FB9\u8DDD\u5403\u6389\u5B9A\u5BBD\u65F6\u7684\u5269\u4F59\u7A7A\u95F4\uFF1B\u6536\u7F29\u65F6\u5B83\u662F\u6700\u540E\u4E00\u4E2A flex:none\uFF0C\u4E0D\u4F1A\u88AB\u6324\u51FA\u6846\u3002 */\n.dshpc-taskbar__caret{flex:none;color:var(--dshpc-fg-3);margin-left:auto;}\n\n/* \u56FE\u6807\u4F4D\uFF1A\u7EFF\u70B9\u9489\u5728\u53F3\u4E0A\u89D2\uFF0C\u4E0D\u53C2\u4E0E\u5E03\u5C40\u3002\n \u6709\u4EFB\u52A1\u5728\u8DD1\u65F6\u53EA\u6709\u5B57\u5F62\u81EA\u5DF1\u547C\u5438\uFF08\u5927\u5C0F\u5FAA\u73AF\uFF09\u2014\u2014 \u7EFF\u70B9\u8DDF\u7740\u7F29\u653E\u4F1A\u6643\u4F4D\u7F6E\uFF0C\u6240\u4EE5\u52A8\u753B\u6302\u5728 <i> \u4E0A\u3002 */\n.dshpc-taskbar__iconwrap{position:relative;display:inline-flex;align-items:center;justify-content:center;}\n.dshpc-taskbar__iconwrap--busy > .dshpc-icon{animation:dshpc-taskbar-breathe 1.6s var(--dshpc-ease) infinite;}\n@keyframes dshpc-taskbar-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.22)}}\n@media (prefers-reduced-motion:reduce){.dshpc-taskbar__iconwrap--busy > .dshpc-icon{animation:none}}\n.dshpc-taskbar__dot{\n position:absolute;top:-2px;right:-3px;width:5px;height:5px;border-radius:50%;\n background:var(--dshpc-success);box-shadow:0 0 0 2px var(--dshpc-surface-base);\n}\n.dshpc-taskbar__count{color:var(--dshpc-fg-3);font-variant-numeric:tabular-nums;margin-left:2px;}\n\n/* \u9762\u677F\u53EA\u8865\u5E03\u5C40\uFF1A\u5BBD\u5EA6\u8DDF\u7740\u89C6\u53E3\u6536\uFF0C\u5185\u8DDD\u5F52\u96F6 \u2014\u2014 \u884C\u81EA\u5DF1\u5E26\u5185\u8DDD\uFF0C\u865A\u7EBF\u624D\u80FD\u4E00\u6761\u901A\u5230\u5E95\u3002 */\n.dshpc-taskbar__panel{width:min(400px,calc(100vw - 24px));padding:0;overflow:hidden;}\n.dshpc-taskbar__list{max-height:320px;overflow:auto;}\n.dshpc-taskbar__empty{\n padding:var(--dshpc-space-4) var(--dshpc-space-3);text-align:center;\n color:var(--dshpc-fg-3);font-size:var(--dshpc-font-sm);line-height:var(--dshpc-line-sm);\n}\n\n/* \u4E00\u683C\u4E00\u6761\u865A\u7EBF\uFF1A\u884C\u4E0E\u884C\u4E4B\u95F4\u53EA\u753B\u5206\u9694\u7EBF\uFF0C\u884C\u672C\u8EAB\u4E0D\u5957\u5E95 / \u4E0D\u63CF\u8FB9 / \u4E0D\u5706\u89D2 \u2014\u2014 \u9762\u677F\u5DF2\u7ECF\u662F\u4E00\u5C42\u6846\u3002 */\n.dshpc-taskbar__item{\n display:flex;align-items:center;gap:var(--dshpc-space-2);\n padding:var(--dshpc-space-2) var(--dshpc-space-3);\n transition:background-color var(--dshpc-dur-fast) var(--dshpc-ease);\n}\n.dshpc-taskbar__item + .dshpc-taskbar__item{border-top:1px dashed var(--dshpc-border);}\n/* \u884C hover\uFF082026-11-15 \u7528\u6237\uFF1A\u8DDF\u8868\u683C\u9009\u4E2D\u90A3\u79CD\u84DD\u5DEE\u4E0D\u591A\u3001\u6216\u66F4\u6D45\u7684\u6781\u6DE1\u84DD\uFF09\u3002\n \u53EA\u662F\u300C\u9F20\u6807\u5728\u8FD9\u513F\u300D\u7684\u53CD\u9988 \u2014\u2014 \u884C\u4E0D\u7ED9 cursor / \u7126\u70B9\u73AF\uFF0C\u4E5F\u6CA1\u6709\u70B9\u51FB\u884C\u4E3A\uFF1B\u9009\u4E2D\u6001\u4E0D\u505A\u3002 */\n.dshpc-taskbar__item:hover{background:var(--dshpc-taskbar-row-hover);}\n@media (prefers-reduced-motion:reduce){.dshpc-taskbar__item{transition:none}}\n\n/* \u884C\u5185\uFF1A\u56FE\u6807 + \u4E24\u884C\u6587\u5B57 + \u53F3\u4FA7\u52A8\u4F5C\u3002\u56FE\u6807\u4E0D\u5E26\u5E95\u677F\uFF0C\u53EA\u7559\u5B57\u5F62\u3002 */\n.dshpc-taskbar__row-icon{flex:none;display:inline-flex;align-items:center;color:var(--dshpc-fg-2);}\n.dshpc-taskbar__row-main{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto;}\n.dshpc-taskbar__row-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}\n.dshpc-taskbar__row-meta{font-size:var(--dshpc-font-sm);line-height:var(--dshpc-line-sm);color:var(--dshpc-fg-3);}\n.dshpc-taskbar__row-actions{flex:none;display:inline-flex;align-items:center;gap:var(--dshpc-space-1);}\n";
|
|
76729
|
+
var TASK_BAR_CSS = "/* \u2500\u2500 TaskBar \xB7 \u540E\u53F0\u4EFB\u52A1\u4E2D\u5FC3\u7684\u901A\u7528\u5C55\u793A\u680F \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n \u89E6\u53D1\u5668\u672C\u4F53\u662F Button\uFF08\u957F\u6761 / \u7EAF\u56FE\u6807\u6B63\u65B9\u5F62\uFF09\u7684\u63CF\u8FB9\u6863\uFF1A\n \u5706\u89D2 / \u8FB9\u6846 / hover / \u7126\u70B9\u73AF\u5168\u5728 button.css\uFF0C\u672C\u6587\u4EF6\u53EA\u8865\u5B83\u6CA1\u6709\u7684\uFF1A\n \u56FE\u6807\u4F4D\u7684\u5C0F\u7EFF\u70B9\u4E0E\u547C\u5438\u3001\u8BA1\u6570\u6587\u6848\u3001\u4E0B\u62C9\u91CC\u300C\u4E00\u6761\u865A\u7EBF\u4E00\u683C\u300D\u7684\u6392\u7248\u3002\n \u4E0B\u62C9\u5BB9\u5668\u8D70 PanelSurface(menu)\uFF0C\u8FD9\u91CC\u53EA\u7ED9\u5BBD\u5EA6\u4E0E\u6EDA\u52A8\u533A\uFF0C\u4E0D\u6539\u9762\u677F\u76AE\u80A4\u3002 */\n\n.dshpc-taskbar{display:inline-flex;}\n\n/* \u89E6\u53D1\u5668\uFF1A\u6574\u6BB5\u76AE\u80A4\u7167\u4E0B\u62C9\u6846\uFF08Picker \u7684 trigger\uFF09\u6765 \u2014\u2014 \u540C\u9AD8\u5EA6\u6863\u3001\u540C 1px \u52A0\u91CD\u63CF\u8FB9\u3001\n \u540C md \u5706\u89D2\u3001\u540C 8px \u5DE6\u53F3\u5185\u8DDD\uFF1B\u53F3\u4FA7\u4E09\u89D2\u4E5F\u5C31 6px\uFF0C\u522B\u518D\u653E\u5927\u4E00\u53F7\u3002\n \u4E24\u4E2A\u5F62\u6001\u4E00\u5957\u76AE\uFF1A--pill \u662F\u56FE\u6807 + \u6587\u5B57 + \u8BA1\u6570 + \u4E09\u89D2\uFF0C--icon \u53EA\u6709\u56FE\u6807\u4E14\u5BBD\u9AD8\u76F8\u7B49\u3002 */\n.dshpc-taskbar__trigger{\n display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;overflow:hidden;\n height:28px;padding:0 8px;\n color:var(--dshpc-fg);background:var(--dshpc-surface-1);\n border:1px solid var(--dshpc-border-heavy);border-radius:var(--dshpc-radius-md);\n font-family:inherit;font-size:var(--dshpc-font-md);line-height:1;cursor:pointer;\n}\n.dshpc-taskbar__trigger:hover{background:var(--dshpc-hover);}\n.dshpc-taskbar__trigger:focus-visible{outline:2px solid var(--dshpc-focus);outline-offset:1px;}\n.dshpc-taskbar__trigger--sm{height:24px;font-size:var(--dshpc-font-sm);}\n.dshpc-taskbar__trigger--lg{height:32px;}\n.dshpc-taskbar__trigger--icon{justify-content:center;padding:0;width:28px;}\n.dshpc-taskbar__trigger--icon.dshpc-taskbar__trigger--sm{width:24px;}\n.dshpc-taskbar__trigger--icon.dshpc-taskbar__trigger--lg{width:32px;}\n/* \u6587\u5B57\u5403\u5269\u4F59\u5BBD\uFF1A\u5B9A\u5BBD / \u7ED9\u4E86\u4E0A\u9650\u65F6\u5148\u538B\u5B83\uFF08\u56FE\u6807\u3001\u4E09\u89D2 flex:none \u4E0D\u8BA9\u4F4D\uFF09\u3002\n \u7701\u7565\u53F7\u4E0E hover \u8DD1\u9A6C\u706F\u7531 MarqueeText\uFF08.dshpc-mq\uFF09\u81EA\u5DF1\u7BA1\uFF0C\u672C\u6587\u4EF6\u53EA\u7ED9\u53EF\u6536\u7F29\u7684\u5916\u58F3\u3002 */\n.dshpc-taskbar__label{flex:0 1 auto;min-width:0;white-space:nowrap;}\n.dshpc-taskbar__count{flex:none;}\n/* \u4E09\u89D2\u6C38\u8FDC\u8D34\u53F3\uFF1Aauto \u5916\u8FB9\u8DDD\u5403\u6389\u5B9A\u5BBD\u65F6\u7684\u5269\u4F59\u7A7A\u95F4\uFF1B\u6536\u7F29\u65F6\u5B83\u662F\u6700\u540E\u4E00\u4E2A flex:none\uFF0C\u4E0D\u4F1A\u88AB\u6324\u51FA\u6846\u3002 */\n.dshpc-taskbar__caret{flex:none;color:var(--dshpc-fg-3);margin-left:auto;}\n\n/* \u56FE\u6807\u4F4D\uFF1A\u7EFF\u70B9\u9489\u5728\u53F3\u4E0A\u89D2\uFF0C\u4E0D\u53C2\u4E0E\u5E03\u5C40\u3002\n \u6709\u4EFB\u52A1\u5728\u8DD1\u65F6\u53EA\u6709\u5B57\u5F62\u81EA\u5DF1\u547C\u5438\uFF08\u5927\u5C0F\u5FAA\u73AF\uFF09\u2014\u2014 \u7EFF\u70B9\u8DDF\u7740\u7F29\u653E\u4F1A\u6643\u4F4D\u7F6E\uFF0C\u6240\u4EE5\u52A8\u753B\u6302\u5728 <i> \u4E0A\u3002 */\n.dshpc-taskbar__iconwrap{position:relative;display:inline-flex;align-items:center;justify-content:center;}\n.dshpc-taskbar__iconwrap--busy > .dshpc-icon{animation:dshpc-taskbar-breathe 1.6s var(--dshpc-ease) infinite;}\n@keyframes dshpc-taskbar-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.22)}}\n@media (prefers-reduced-motion:reduce){.dshpc-taskbar__iconwrap--busy > .dshpc-icon{animation:none}}\n.dshpc-taskbar__dot{\n position:absolute;top:-2px;right:-3px;width:5px;height:5px;border-radius:50%;\n background:var(--dshpc-success);box-shadow:0 0 0 2px var(--dshpc-surface-base);\n}\n.dshpc-taskbar__count{color:var(--dshpc-fg-3);font-variant-numeric:tabular-nums;margin-left:2px;}\n\n/* \u6D6E\u52A8\u5C42\u63A5\u4E0E Picker \u540C\u4E00\u6863 z-index\uFF08popmenu\uFF09\uFF1ATaskBar \u7ECF FloatingPortal \u6302\u5230 body\uFF0C\n \u4E0D\u8BBE\u7684\u8BDD\u505C\u5728 z-index:auto\uFF0C\u540C\u9875\u4EFB\u4F55 z-index\u22651 \u7684\u5143\u7D20\u90FD\u80FD\u628A\u5B83\u76D6\u4F4F\u3002\n \u5FC5\u987B\u6302\u5728\u5916\u5C42\u5B9A\u4F4D div \u4E0A\uFF08floatingStyles \u5E26 transform\uFF0C\u4F1A\u5EFA stacking context\uFF09\u3002 */\n.dshpc-taskbar__float{z-index:var(--dshpc-z-popmenu);}\n\n/* \u9762\u677F\u53EA\u8865\u5E03\u5C40\uFF1A\u5BBD\u5EA6\u8DDF\u7740\u89C6\u53E3\u6536\uFF0C\u5185\u8DDD\u5F52\u96F6 \u2014\u2014 \u884C\u81EA\u5DF1\u5E26\u5185\u8DDD\uFF0C\u865A\u7EBF\u624D\u80FD\u4E00\u6761\u901A\u5230\u5E95\u3002 */\n.dshpc-taskbar__panel{width:min(400px,calc(100vw - 24px));padding:0;overflow:hidden;}\n.dshpc-taskbar__list{max-height:320px;overflow:auto;}\n.dshpc-taskbar__empty{\n padding:var(--dshpc-space-4) var(--dshpc-space-3);text-align:center;\n color:var(--dshpc-fg-3);font-size:var(--dshpc-font-sm);line-height:var(--dshpc-line-sm);\n}\n\n/* \u4E00\u683C\u4E00\u6761\u865A\u7EBF\uFF1A\u884C\u4E0E\u884C\u4E4B\u95F4\u53EA\u753B\u5206\u9694\u7EBF\uFF0C\u884C\u672C\u8EAB\u4E0D\u5957\u5E95 / \u4E0D\u63CF\u8FB9 / \u4E0D\u5706\u89D2 \u2014\u2014 \u9762\u677F\u5DF2\u7ECF\u662F\u4E00\u5C42\u6846\u3002 */\n.dshpc-taskbar__item{\n display:flex;align-items:center;gap:var(--dshpc-space-2);\n padding:var(--dshpc-space-2) var(--dshpc-space-3);\n transition:background-color var(--dshpc-dur-fast) var(--dshpc-ease);\n}\n.dshpc-taskbar__item + .dshpc-taskbar__item{border-top:1px dashed var(--dshpc-border);}\n/* \u884C hover\uFF082026-11-15 \u7528\u6237\uFF1A\u8DDF\u8868\u683C\u9009\u4E2D\u90A3\u79CD\u84DD\u5DEE\u4E0D\u591A\u3001\u6216\u66F4\u6D45\u7684\u6781\u6DE1\u84DD\uFF09\u3002\n \u53EA\u662F\u300C\u9F20\u6807\u5728\u8FD9\u513F\u300D\u7684\u53CD\u9988 \u2014\u2014 \u884C\u4E0D\u7ED9 cursor / \u7126\u70B9\u73AF\uFF0C\u4E5F\u6CA1\u6709\u70B9\u51FB\u884C\u4E3A\uFF1B\u9009\u4E2D\u6001\u4E0D\u505A\u3002 */\n.dshpc-taskbar__item:hover{background:var(--dshpc-taskbar-row-hover);}\n@media (prefers-reduced-motion:reduce){.dshpc-taskbar__item{transition:none}}\n\n/* \u884C\u5185\uFF1A\u56FE\u6807 + \u4E24\u884C\u6587\u5B57 + \u53F3\u4FA7\u52A8\u4F5C\u3002\u56FE\u6807\u4E0D\u5E26\u5E95\u677F\uFF0C\u53EA\u7559\u5B57\u5F62\u3002 */\n.dshpc-taskbar__row-icon{flex:none;display:inline-flex;align-items:center;color:var(--dshpc-fg-2);}\n.dshpc-taskbar__row-main{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto;}\n.dshpc-taskbar__row-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}\n.dshpc-taskbar__row-meta{font-size:var(--dshpc-font-sm);line-height:var(--dshpc-line-sm);color:var(--dshpc-fg-3);}\n.dshpc-taskbar__row-actions{flex:none;display:inline-flex;align-items:center;gap:var(--dshpc-space-1);}\n";
|
|
76728
76730
|
|
|
76729
76731
|
// dist/adv/tasks/TaskBar.js
|
|
76730
76732
|
var DEFAULT_ICON = "common.base:cpu";
|
|
@@ -76866,7 +76868,13 @@ function TaskBar(props) {
|
|
|
76866
76868
|
ref: refs.setReference,
|
|
76867
76869
|
className: className2 === void 0 ? "dshpc-taskbar" : `dshpc-taskbar ${className2}`,
|
|
76868
76870
|
style: style2
|
|
76869
|
-
}, trigger, open ? (0, import_react106.createElement)(FloatingPortal, null, (0, import_react106.createElement)(
|
|
76871
|
+
}, trigger, open ? (0, import_react106.createElement)(FloatingPortal, null, (0, import_react106.createElement)(
|
|
76872
|
+
"div",
|
|
76873
|
+
// 浮动层自身必须带 z-index:floatingStyles 的 transform 会给它建 stacking context,
|
|
76874
|
+
// 把 z-index 写在 PanelSurface 上会被困在内部,盖不住同页 z-index≥1 的元素。
|
|
76875
|
+
{ ref: refs.setFloating, style: floatingStyles, className: "dshpc-taskbar__float" },
|
|
76876
|
+
(0, import_react106.createElement)(PanelSurface, { tier: "menu", role: "menu", className: "dshpc-taskbar__panel" }, busy ? (0, import_react106.createElement)("div", { className: "dshpc-taskbar__list dshpc-scroll-thin" }, tasks2.map(renderRow)) : (0, import_react106.createElement)("div", { className: "dshpc-taskbar__empty" }, t("taskbarEmpty")))
|
|
76877
|
+
)) : null);
|
|
76870
76878
|
}
|
|
76871
76879
|
|
|
76872
76880
|
// packages/demo/src/sections/task-notifications.tsx
|
|
@@ -77270,9 +77278,9 @@ function ReferencePage() {
|
|
|
77270
77278
|
"tbody",
|
|
77271
77279
|
null,
|
|
77272
77280
|
[
|
|
77273
|
-
[t3("buildCore"), `v${"0.42.
|
|
77274
|
-
[t3("buildDemo"), `v${"0.42.
|
|
77275
|
-
[t3("buildStamp"), "261117-
|
|
77281
|
+
[t3("buildCore"), `v${"0.42.5"}`],
|
|
77282
|
+
[t3("buildDemo"), `v${"0.42.5"}`],
|
|
77283
|
+
[t3("buildStamp"), "261117-085005-465"]
|
|
77276
77284
|
].map(
|
|
77277
77285
|
([label, value]) => (0, import_react110.createElement)(
|
|
77278
77286
|
"tr",
|
|
@@ -77591,9 +77599,9 @@ function DemoPage() {
|
|
|
77591
77599
|
lineHeight: "14px"
|
|
77592
77600
|
}
|
|
77593
77601
|
},
|
|
77594
|
-
(0, import_react112.createElement)("span", null, `core v${"0.42.
|
|
77595
|
-
(0, import_react112.createElement)("span", null, `demo v${"0.42.
|
|
77596
|
-
(0, import_react112.createElement)("span", { style: { marginTop: "4px", fontSize: "9px" } }, "261117-
|
|
77602
|
+
(0, import_react112.createElement)("span", null, `core v${"0.42.5"}`),
|
|
77603
|
+
(0, import_react112.createElement)("span", null, `demo v${"0.42.5"}`),
|
|
77604
|
+
(0, import_react112.createElement)("span", { style: { marginTop: "4px", fontSize: "9px" } }, "261117-085005-465")
|
|
77597
77605
|
)
|
|
77598
77606
|
)
|
|
77599
77607
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-core-demo",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.5",
|
|
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": [
|