@yuneta/gobj-ui 7.23.117 → 7.23.118

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.
@@ -62785,7 +62785,13 @@ function make_toolbar(gobj) {
62785
62785
  ],
62786
62786
  [
62787
62787
  "button",
62788
- { class: "GRAPH_REFRESH button" },
62788
+ {
62789
+ class: "GRAPH_REFRESH button",
62790
+ title: (0, i18next.t)("refresh"),
62791
+ "data-i18n-title": "refresh",
62792
+ "aria-label": (0, i18next.t)("refresh"),
62793
+ "data-i18n-aria-label": "refresh"
62794
+ },
62789
62795
  [yui_toolbar_icon("yi-arrows-rotate"), [
62790
62796
  "span",
62791
62797
  {
@@ -62780,7 +62780,13 @@ function make_toolbar(gobj) {
62780
62780
  ],
62781
62781
  [
62782
62782
  "button",
62783
- { class: "GRAPH_REFRESH button" },
62783
+ {
62784
+ class: "GRAPH_REFRESH button",
62785
+ title: t("refresh"),
62786
+ "data-i18n-title": "refresh",
62787
+ "aria-label": t("refresh"),
62788
+ "data-i18n-aria-label": "refresh"
62789
+ },
62784
62790
  [yui_toolbar_icon("yi-arrows-rotate"), [
62785
62791
  "span",
62786
62792
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.23.117",
3
+ "version": "7.23.118",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -730,7 +730,11 @@ function make_toolbar(gobj)
730
730
  }
731
731
  }],
732
732
 
733
- ['button', {class: 'GRAPH_REFRESH button'}, [
733
+ /* Icon + label, and the label is `is-hidden-mobile`: on a phone
734
+ * this is a bare icon, so the name has to be on the button. */
735
+ ['button', {class: 'GRAPH_REFRESH button',
736
+ title: t('refresh'), 'data-i18n-title': 'refresh',
737
+ 'aria-label': t('refresh'), 'data-i18n-aria-label': 'refresh'}, [
734
738
  yui_toolbar_icon('yi-arrows-rotate'),
735
739
  ['span', {class: 'is-hidden-mobile', style: 'padding-left:5px;', i18n: 'refresh'}, 'refresh']
736
740
  ], {