@db-ux/core-components 4.4.0-loading-567cd0c → 4.4.1-floating-components-066d296

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/components/accordion-item/accordion-item.css +0 -6
  3. package/build/components/button/button.css +0 -43
  4. package/build/components/button/button.scss +0 -4
  5. package/build/components/custom-select-dropdown/custom-select-dropdown.css +21 -2
  6. package/build/components/custom-select-dropdown/custom-select-dropdown.scss +10 -2
  7. package/build/components/drawer/drawer.css +0 -6
  8. package/build/components/link/link.css +0 -6
  9. package/build/components/navigation-item/navigation-item.css +0 -6
  10. package/build/components/notification/notification.css +0 -6
  11. package/build/components/popover/popover.css +26 -6
  12. package/build/components/tab-list/tab-list.css +0 -6
  13. package/build/components/tag/tag.css +0 -6
  14. package/build/components/textarea/textarea.css +0 -6
  15. package/build/components/tooltip/tooltip.css +26 -6
  16. package/build/styles/absolute.css +4 -18
  17. package/build/styles/component-animations.css +1 -1
  18. package/build/styles/index.css +3 -17
  19. package/build/styles/index.scss +0 -2
  20. package/build/styles/internal/_custom-elements.scss +0 -2
  21. package/build/styles/internal/_popover-component.scss +15 -5
  22. package/build/styles/relative.css +4 -18
  23. package/build/styles/rollup.css +4 -18
  24. package/build/styles/wc-workarounds.css +1 -1
  25. package/build/styles/wc-workarounds.scss +0 -1
  26. package/build/styles/webpack.css +4 -18
  27. package/package.json +2 -2
  28. package/build/components/loading-indicator/loading-indicator.css +0 -591
  29. package/build/components/loading-indicator/loading-indicator.scss +0 -515
  30. package/build/styles/internal/_loading.scss +0 -76
@@ -35,5 +35,3 @@
35
35
  @forward "../components/custom-select-dropdown/custom-select-dropdown";
36
36
  @forward "../components/custom-select-list/custom-select-list";
37
37
  @forward "../components/custom-select-list-item/custom-select-list-item";
38
- @forward "../components/loading-indicator/loading-indicator";
39
-
@@ -1,6 +1,4 @@
1
1
  $custom-elements: //hygen-insert
2
- db-loading-indicator,
3
-
4
2
 
5
3
  db-custom-select-list-item, db-custom-select-list,
6
4
  db-custom-select-dropdown, db-custom-select-form-field, db-custom-select,
@@ -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
- opacity: 1;
162
- transform: translate(
163
- var(--db-popover-center-x, 0),
164
- var(--db-popover-center-y, 0)
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) {