dsh-design-studio 2.0.0 → 2.0.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/assets/demo.gif CHANGED
Binary file
Binary file
package/lib/client.js CHANGED
@@ -89,7 +89,7 @@ window.__ModuleLoader__.load({
89
89
  handTool: '平移',
90
90
  editElements: '编辑元素',
91
91
  interact: '交互',
92
- addPicks: '选元素加入对话',
92
+ addPicks: '加入对话',
93
93
  copyScreens: '复制屏幕',
94
94
  pasteScreens: '粘贴屏幕',
95
95
  removeScreens: '移除屏幕',
@@ -1597,7 +1597,7 @@ window.__ModuleLoader__.load({
1597
1597
  handTool: 'Pan',
1598
1598
  editElements: 'Edit elements',
1599
1599
  interact: 'Interact',
1600
- addPicks: 'Add elements to chat',
1600
+ addPicks: 'Add to chat',
1601
1601
  copyScreens: 'Copy screens',
1602
1602
  pasteScreens: 'Paste screens',
1603
1603
  removeScreens: 'Remove screens',
@@ -5561,7 +5561,8 @@ body[data-ds-dark-theme] .ddp .ddp-cont .wk{background:var(--dd-s2)}
5561
5561
  .ddp .dd-edbar:has(>.tx):has(>.dd-bt){height:auto;padding-block:0;flex-wrap:wrap;justify-content:center;row-gap:0}
5562
5562
  .ddp .dd-edbar:has(>.tx):has(>.dd-bt)>.n{padding-block:0;line-height:var(--sub-h)}
5563
5563
  }
5564
- .ddp .dd-edbar>.dd-bt{height:calc(var(--sub-h) - 8px);margin-block:4px;padding:0 10px;font-size:12px}
5564
+ .ddp .dd-edbar>.dd-bt{max-width:none;height:calc(var(--sub-h) - 8px);margin-block:4px;padding:0 10px;font-size:12px}
5565
+ .ddp .dd-edbar>.dd-bt:first-child{margin-inline-start:-6px}
5565
5566
  @keyframes dd-msg-in{from{opacity:0;transform:translate(-50%,var(--dd-x2))}}
5566
5567
  /* ── 灵动条的几种形态:试用、看旧版本、和做出来的比(原来顶上的横幅) ── */
5567
5568
  .ddp .dd-isl.dd-mode{gap:6px;padding:0 ${ICO_PAD}px 0 12px;animation:dd-fade var(--dd-d3) var(--dd-out) backwards}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-design-studio",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test --test-concurrency=1 test/*.mjs"