@neovici/cosmoz-bottom-bar 10.2.0 → 10.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.
@@ -166,7 +166,7 @@ const useMenuButtons = (host) => {
166
166
  .map((btn) => ({
167
167
  element: btn,
168
168
  priority: Number(btn.dataset.priority ?? 0),
169
- text: btn.textContent?.trim() || '',
169
+ text: btn.getAttribute('title') || btn.textContent?.trim() || '',
170
170
  }))
171
171
  .toSorted((a, b) => b.priority - a.priority), [allButtons]);
172
172
  const { maxToolbarItems = 1 } = host;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-bottom-bar",
3
- "version": "10.2.0",
3
+ "version": "10.2.1",
4
4
  "description": "A responsive bottom-bar that can house buttons/actions and a menu for the buttons that won't fit the available width.",
5
5
  "keywords": [
6
6
  "polymer",