@yuneta/gobj-ui 7.11.0 → 7.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.11.0",
3
+ "version": "7.11.1",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -179,10 +179,16 @@ function yui_selection_bar(t, opts)
179
179
  );
180
180
  $clear._yui_label = "clear selection";
181
181
 
182
+ /* NOT `is-flex` in the class list: Bulma's helpers all carry
183
+ * `!important`, so `is-flex` and `is-hidden` would fight as equals and
184
+ * the stylesheet's order would decide -- `is-flex` wins, and the bar
185
+ * sits there saying "0 selected" for ever. The layout goes inline (a
186
+ * plain declaration, which `is-hidden !important` beats whenever the
187
+ * class is on), and only `is-hidden` toggles. */
182
188
  let $el = createElement2(
183
- ["div", {class: `${name}_SELECTION_BAR is-flex is-align-items-center `
189
+ ["div", {class: `${name}_SELECTION_BAR is-align-items-center `
184
190
  + "is-flex-wrap-wrap mb-2 is-hidden",
185
- style: "gap:0.5rem;"},
191
+ style: "display:flex; gap:0.5rem;"},
186
192
  [$count].concat($buttons, [$clear])]
187
193
  );
188
194