@momentum-design/components 0.109.1 → 0.110.0
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/dist/browser/index.js +3 -2
- package/dist/browser/index.js.map +2 -2
- package/dist/components/popover/popover.component.d.ts +1 -0
- package/dist/components/popover/popover.component.js +1 -0
- package/dist/components/popover/popover.styles.js +3 -2
- package/dist/custom-elements.json +1206 -1170
- package/dist/react/brandvisual/index.d.ts +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/dist/react/popover/index.d.ts +1 -0
- package/dist/react/popover/index.js +1 -0
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
@@ -2144,6 +2144,7 @@
|
|
2144
2144
|
--mdc-popover-inverted-border-color: var(--mds-color-theme-inverted-outline-primary-normal);
|
2145
2145
|
--mdc-popover-inverted-text-color: var(--mds-color-theme-inverted-text-primary-normal);
|
2146
2146
|
--mdc-popover-elevation-3: var(--mds-elevation-3);
|
2147
|
+
--mdc-popover-width: unset;
|
2147
2148
|
--mdc-popover-max-width: max-content;
|
2148
2149
|
--mdc-popover-max-height: auto;
|
2149
2150
|
|
@@ -2157,7 +2158,8 @@
|
|
2157
2158
|
border-radius: 0.5rem;
|
2158
2159
|
border: 0.0625rem solid var(--mdc-popover-border-color);
|
2159
2160
|
filter: var(--mdc-popover-elevation-3);
|
2160
|
-
width: var(--mdc-popover-max-width);
|
2161
|
+
max-width: var(--mdc-popover-max-width);
|
2162
|
+
width: var(--mdc-popover-width, var(--mdc-popover-max-width));
|
2161
2163
|
}
|
2162
2164
|
|
2163
2165
|
:host([strategy='absolute']) {
|
@@ -2191,7 +2193,6 @@
|
|
2191
2193
|
position: relative;
|
2192
2194
|
cursor: default;
|
2193
2195
|
padding: 0.75rem;
|
2194
|
-
min-width: max-content;
|
2195
2196
|
z-index: 9998;
|
2196
2197
|
max-height: var(--mdc-popover-max-height);
|
2197
2198
|
}
|