@aquera/nile-elements 0.1.73 → 0.1.74

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.1.73",
6
+ "version": "0.1.74",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -131,6 +131,16 @@ export const styles = css`
131
131
  margin-right: 12px;
132
132
  }
133
133
 
134
+ .badge{
135
+ display: inline-flex;
136
+ align-items: center;
137
+ height: 20px;
138
+ }
139
+
140
+ nile-badge::part(content) {
141
+ line-height: 20px;
142
+ }
143
+
134
144
  `;
135
145
 
136
146
  export default [styles];
@@ -88,7 +88,7 @@ export class NileFilterChip extends NileElement {
88
88
  ${this.viewMoreCount
89
89
  ? html`
90
90
  <span class="badge-wrapper">
91
- <nile-badge variant="primary" pilltype="pill-color">
91
+ <nile-badge class="badge" part="badge" variant="primary" pilltype="pill-color" exportparts="content, base">
92
92
  +${this.viewMoreCount}
93
93
  </nile-badge>
94
94
  </span>