@huaqiu/dsh-sidebar-entry 0.6.8 → 0.6.10

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/lib/index.mjs CHANGED
@@ -177,11 +177,11 @@ function mountSidebarEntry(options) {
177
177
  * family row means adding its selector here (and to no plugin-local list).
178
178
  */
179
179
  const HUAQIU_SIDEBAR_ENTRY_FAMILY = [
180
- "[data-hq-plugin-update-entry]",
181
180
  "[data-hqcg-footprint-entry]",
182
181
  "[data-hqcg-symbol-entry]",
183
182
  "[data-hqcg-schematic-entry]",
184
- "[data-hq-dummy-entry]"
183
+ "[data-hq-dummy-entry]",
184
+ "[data-hq-plugin-update-entry]"
185
185
  ];
186
186
  /**
187
187
  * Read the host UI language from `<html lang>`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaqiu/dsh-sidebar-entry",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "type": "module",
5
5
  "main": "./lib/index.mjs",
6
6
  "types": "./lib/index.d.mts",
package/src/index.ts CHANGED
@@ -310,13 +310,13 @@ export function mountSidebarEntry(options: SidebarEntryOptions): () => void {
310
310
  * family row means adding its selector here (and to no plugin-local list).
311
311
  */
312
312
  export const HUAQIU_SIDEBAR_ENTRY_FAMILY: readonly string[] = [
313
- // Plugin Updates leads the family block: it is the most frequently used
314
- // toolbutton and carries the actionable-update badge, so it sits first.
315
- '[data-hq-plugin-update-entry]',
316
313
  '[data-hqcg-footprint-entry]',
317
314
  '[data-hqcg-symbol-entry]',
318
315
  '[data-hqcg-schematic-entry]',
319
316
  '[data-hq-dummy-entry]',
317
+ // Plugin Updates closes the family block: it carries the actionable-update
318
+ // badge, so it sits at the horizontal end of the toolbutton set.
319
+ '[data-hq-plugin-update-entry]',
320
320
  ]
321
321
 
322
322
  // ---- host locale detection (shared by every family sidebar row) ----