@neovici/cosmoz-bottom-bar 10.2.1 → 10.2.3

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
  }
@@ -94,6 +94,10 @@ const style = css `
94
94
  order: 9999;
95
95
  }
96
96
 
97
+ #bottomBarToolbar::slotted(:not(slot):not([unstyled]):not([processed])) {
98
+ visibility: hidden;
99
+ }
100
+
97
101
  #bottomBarToolbar::slotted(:not(slot)[disabled]) {
98
102
  opacity: var(--cosmoz-button-disabled-opacity, 0.15);
99
103
  pointer-events: none;
@@ -122,7 +126,7 @@ const style = css `
122
126
  --cosmoz-bottom-bar-button-color,
123
127
  var(--cosmoz-button-color, #fff)
124
128
  );
125
- border-radius: 50%;
129
+ border-radius: 2px;
126
130
  width: 40px;
127
131
  height: 40px;
128
132
  }
@@ -174,6 +178,7 @@ const useMenuButtons = (host) => {
174
178
  useEffect(() => {
175
179
  processedButtons.forEach(({ element, priority }, i) => {
176
180
  const isVisible = i < toolbarLimit;
181
+ element.toggleAttribute('processed', true);
177
182
  element.dataset.visibility = isVisible ? 'visible' : 'hidden';
178
183
  element.style.order = String(-priority);
179
184
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-bottom-bar",
3
- "version": "10.2.1",
3
+ "version": "10.2.3",
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",