@momentum-design/components 0.142.2 → 0.142.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.
@@ -5005,6 +5005,8 @@
5005
5005
  `}};Ro.styles=[...Q.styles,...by],h([u({type:Boolean,reflect:!0})],Ro.prototype,"checked",2),h([u({type:String,reflect:!0})],Ro.prototype,"size",2),h([u({type:Boolean,reflect:!0})],Ro.prototype,"readonly",2),h([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Ro.prototype,"softDisabled",2);var rm=Ro;rm.register(fy);var $0=rm;var il=$.constructTagName("tooltip"),Fr={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Qe={ARIA_HIDDEN:"true",BACKDROP:!1,DELAY:"0,0",DISABLE_ARIA_EXPANDED:!0,HIDE_ON_BLUR:!0,HIDE_ON_ESCAPE:!0,TRIGGER:`${_e.MOUSEENTER} ${_e.FOCUSIN}`,OFFSET:4,PLACEMENT:Mt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Fr.DESCRIPTION,ONLY_SHOW_WHEN_TRIGGER_OVERFLOWS:!1};var V0=z`
5006
5006
  :host {
5007
5007
  --mdc-tooltip-max-width: 400px;
5008
+ --mdc-popover-max-width: var(--mdc-tooltip-max-width);
5009
+ --mdc-popover-width: max-content;
5008
5010
  --mdc-tooltip-padding: 0.75rem;
5009
5011
  --mdc-tooltip-text-color: var(--mds-color-theme-text-primary-normal);
5010
5012
  --mdc-tooltip-text-color-contrast: var(--mds-color-theme-inverted-text-primary-normal);
@@ -5013,9 +5015,8 @@
5013
5015
  :host::part(popover-content) {
5014
5016
  padding: var(--mdc-tooltip-padding);
5015
5017
  color: var(--mdc-tooltip-text-color);
5016
- min-width: fit-content;
5017
5018
  max-width: var(--mdc-tooltip-max-width);
5018
-
5019
+ min-width: fit-content;
5019
5020
  font-size: var(--mds-font-apps-body-midsize-regular-font-size);
5020
5021
  font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
5021
5022
  line-height: var(--mds-font-apps-body-midsize-regular-line-height);