@momentum-design/components 0.39.1 → 0.39.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.
@@ -84,7 +84,7 @@ class InputChip extends IconNameMixin(DisabledMixin(Component)) {
84
84
  render() {
85
85
  return html `
86
86
  ${this.renderIcon()}
87
- <mdc-text type="${DEFAULTS.TEXT_TYPE}" tagname="${DEFAULTS.TAG_NAME}">${this.label}</mdc-text>
87
+ <mdc-text part="label" type="${DEFAULTS.TEXT_TYPE}" tagname="${DEFAULTS.TAG_NAME}">${this.label}</mdc-text>
88
88
  <mdc-button
89
89
  ?disabled="${this.disabled}"
90
90
  variant="tertiary"
@@ -29,9 +29,5 @@ const styles = css `
29
29
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
30
30
  cursor: auto;
31
31
  }
32
-
33
- :host::part(close-icon){
34
- border-radius: 0.25rem;
35
- }
36
32
  `;
37
33
  export default [hostFitContentStyles, styles];
@@ -387,7 +387,7 @@ class Popover extends FocusTrapMixin(Component) {
387
387
  async updated(changedProperties) {
388
388
  super.updated(changedProperties);
389
389
  if (changedProperties.has('visible')) {
390
- const oldValue = changedProperties.get('visible');
390
+ const oldValue = changedProperties.get('visible') || false;
391
391
  await this.isOpenUpdated(oldValue, this.visible);
392
392
  }
393
393
  if (changedProperties.has('placement')) {