@yuneta/gobj-ui 7.2.0 → 7.2.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.
@@ -18883,8 +18883,8 @@ function make_toolbar(gobj) {
18883
18883
  ], [
18884
18884
  "div",
18885
18885
  {
18886
- class: "GRAPH_FIND_RESULT is-hidden is-flex is-align-items-center",
18887
- style: "gap:.3rem; margin-right:.5rem; font-size:.85rem;"
18886
+ class: "GRAPH_FIND_RESULT is-hidden",
18887
+ style: "display:flex; align-items:center; gap:.3rem; margin-right:.5rem; font-size:.85rem;"
18888
18888
  },
18889
18889
  [[
18890
18890
  "span",
@@ -18870,8 +18870,8 @@ function make_toolbar(gobj) {
18870
18870
  ], [
18871
18871
  "div",
18872
18872
  {
18873
- class: "GRAPH_FIND_RESULT is-hidden is-flex is-align-items-center",
18874
- style: "gap:.3rem; margin-right:.5rem; font-size:.85rem;"
18873
+ class: "GRAPH_FIND_RESULT is-hidden",
18874
+ style: "display:flex; align-items:center; gap:.3rem; margin-right:.5rem; font-size:.85rem;"
18875
18875
  },
18876
18876
  [[
18877
18877
  "span",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -543,8 +543,15 @@ function make_toolbar(gobj)
543
543
  /* Two spans, not one string: the number is DATA and "matches" is
544
544
  * the word, so a language switch re-translates the half that is a
545
545
  * word. Spaced with CSS because createElement2 trims text nodes. */
546
- ['div', {class: 'GRAPH_FIND_RESULT is-hidden is-flex is-align-items-center',
547
- style: 'gap:.3rem; margin-right:.5rem; font-size:.85rem;'}, [
546
+ /* `display:flex` inline and NOT the `is-flex` helper: both Bulma
547
+ * helpers carry !important, so `is-hidden is-flex` on one element
548
+ * is decided by whichever lands later in the stylesheet — and the
549
+ * count showed with an empty box. An inline rule loses to
550
+ * `is-hidden`'s !important and applies the moment it is removed,
551
+ * which is the toggle this needs. */
552
+ ['div', {class: 'GRAPH_FIND_RESULT is-hidden',
553
+ style: 'display:flex; align-items:center; gap:.3rem; ' +
554
+ 'margin-right:.5rem; font-size:.85rem;'}, [
548
555
  ['span', {class: 'GRAPH_FIND_COUNT'}, ''],
549
556
  ['span', {i18n: 'matches'}, 'matches']
550
557
  ]]