@momentum-design/components 0.75.1 → 0.75.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.
@@ -235,5 +235,17 @@ const styles = css `
235
235
  --mdc-button-primary-disabled-background-color: var(--mds-color-theme-inverted-button-primary-disabled);
236
236
  --mdc-button-primary-disabled-color: var(--mds-color-theme-inverted-text-primary-disabled);
237
237
  }
238
+
239
+ :host([data-btn-type='pill']) ::slotted(mdc-text),
240
+ :host([data-btn-type='pill-with-icon']) ::slotted(mdc-text) {
241
+ white-space: nowrap;
242
+ overflow-x: hidden;
243
+ text-overflow: ellipsis;
244
+ }
245
+
246
+ :host::part(prefix-icon),
247
+ :host::part(postfix-icon) {
248
+ flex-shrink: 0;
249
+ }
238
250
  `;
239
251
  export default [styles];
package/package.json CHANGED
@@ -41,5 +41,5 @@
41
41
  "lottie-web": "^5.12.2",
42
42
  "uuid": "^11.0.5"
43
43
  },
44
- "version": "0.75.1"
44
+ "version": "0.75.3"
45
45
  }