@db-ux/core-components 4.4.2 → 4.4.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.
- package/CHANGELOG.md +10 -0
- package/build/components/accordion/accordion.css +0 -14
- package/build/components/accordion-item/accordion-item.css +0 -22
- package/build/components/badge/badge.css +0 -22
- package/build/components/brand/brand.css +0 -18
- package/build/components/button/button.css +0 -22
- package/build/components/card/card.css +0 -14
- package/build/components/checkbox/checkbox.css +0 -22
- package/build/components/custom-select/custom-select.css +0 -22
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +0 -22
- package/build/components/custom-select-form-field/custom-select-form-field.css +0 -22
- package/build/components/custom-select-list/custom-select-list.css +0 -22
- package/build/components/custom-select-list-item/custom-select-list-item.css +0 -22
- package/build/components/divider/divider.css +0 -10
- package/build/components/drawer/drawer.css +0 -14
- package/build/components/header/header.css +0 -22
- package/build/components/icon/icon.css +0 -10
- package/build/components/infotext/infotext.css +0 -18
- package/build/components/input/input.css +0 -22
- package/build/components/link/link.css +0 -22
- package/build/components/navigation/navigation.css +0 -22
- package/build/components/navigation-item/navigation-item.css +0 -22
- package/build/components/notification/notification.css +0 -22
- package/build/components/page/page.css +0 -10
- package/build/components/popover/popover.css +26 -14
- package/build/components/radio/radio.css +0 -22
- package/build/components/section/section.css +0 -14
- package/build/components/select/select.css +0 -22
- package/build/components/stack/stack-web-component.css +0 -10
- package/build/components/stack/stack.css +0 -10
- package/build/components/switch/switch.css +0 -22
- package/build/components/tab-item/tab-item.css +0 -22
- package/build/components/tab-list/tab-list.css +0 -22
- package/build/components/tab-panel/tab-panel.css +0 -10
- package/build/components/tabs/tabs.css +0 -22
- package/build/components/tag/tag.css +15 -37
- package/build/components/textarea/textarea.css +0 -22
- package/build/components/tooltip/tooltip.css +26 -22
- package/build/styles/absolute.css +3 -3
- package/build/styles/index.css +3 -3
- package/build/styles/internal/_popover-component.scss +15 -5
- package/build/styles/internal/_tag-components.scss +1 -0
- package/build/styles/relative.css +3 -3
- package/build/styles/rollup.css +3 -3
- package/build/styles/webpack.css +3 -3
- package/package.json +9 -8
|
@@ -17,6 +17,7 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size});
|
|
|
17
17
|
--db-popover-center-x: -50%;
|
|
18
18
|
|
|
19
19
|
inset-inline-start: 50%;
|
|
20
|
+
transform: translateX(var(--db-popover-center-x, 0));
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
&[data-corrected-placement="left"],
|
|
@@ -26,6 +27,7 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size});
|
|
|
26
27
|
--db-popover-center-y: -50%;
|
|
27
28
|
|
|
28
29
|
inset-block-start: 50%;
|
|
30
|
+
transform: translateY(var(--db-popover-center-y, 0));
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
|
|
@@ -155,14 +157,22 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size});
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
|
|
160
|
+
@mixin set-no-animation {
|
|
161
|
+
opacity: 1;
|
|
162
|
+
transform: translate(
|
|
163
|
+
var(--db-popover-center-x, 0),
|
|
164
|
+
var(--db-popover-center-y, 0)
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
|
|
158
168
|
@mixin get-popover-show() {
|
|
159
169
|
&:not([data-animation]),
|
|
160
170
|
&[data-animation="false"] {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
171
|
+
@include set-no-animation;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
175
|
+
@include set-no-animation;
|
|
166
176
|
}
|
|
167
177
|
|
|
168
178
|
@media screen and (prefers-reduced-motion: no-preference) {
|