@neovici/cosmoz-bottom-bar 10.2.0 → 10.2.2

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.
@@ -58,7 +58,7 @@ const style = css `
58
58
  justify-content: flex-start;
59
59
  flex-direction: row-reverse;
60
60
  position: relative;
61
- margin: 0 8px;
61
+ margin: 0;
62
62
  min-width: 0;
63
63
  max-height: 40px;
64
64
  }
@@ -122,7 +122,7 @@ const style = css `
122
122
  --cosmoz-bottom-bar-button-color,
123
123
  var(--cosmoz-button-color, #fff)
124
124
  );
125
- border-radius: 50%;
125
+ border-radius: 2px;
126
126
  width: 40px;
127
127
  height: 40px;
128
128
  }
@@ -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.2",
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",