@lumx/core 3.7.6-alpha.8 → 3.7.6-test.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/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.7.6-alpha.8",
43
+ "version": "3.7.6-test.0",
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.18.13",
46
46
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -14,8 +14,9 @@
14
14
  }
15
15
 
16
16
  &__wrapper {
17
- display: flex;
18
- flex-direction: column;
17
+ > * {
18
+ max-width: 100%;
19
+ }
19
20
 
20
21
  #{$self}--fill-height & {
21
22
  flex-shrink: 0;
@@ -93,7 +93,7 @@
93
93
  &__pagination {
94
94
  align-items: center;
95
95
  // Compute max width for N items based on their size, margin and focus outline
96
- max-width: ($item-max-count * ($item-size + $item-margin-inline)) + $item-focus-outline * 2;
96
+ max-width: ($item-max-count * ($item-size + $item-margin-inline)) + $item-focus-outline;
97
97
  overflow: hidden;
98
98
  }
99
99
 
package/scss/lumx.scss CHANGED
@@ -36,7 +36,6 @@
36
36
  @import "./components/grid-column/index";
37
37
  @import "./components/icon/index";
38
38
  @import "./components/image-block/index";
39
- @import "./components/image-lightbox/index";
40
39
  @import "./components/inline-list/index";
41
40
  @import "./components/input-helper/index";
42
41
  @import "./components/input-label/index";
@@ -1,66 +0,0 @@
1
- @use "sass:map";
2
-
3
- /* ==========================================================================
4
- Image Lightbox
5
- ========================================================================== */
6
-
7
- .#{$lumx-base-prefix}-image-lightbox {
8
- // Remove lightbox animation & transition (use view transition instead)
9
- @supports (view-transition-name: name) {
10
- &.#{$lumx-base-prefix}-lightbox {
11
- transition: none;
12
- animation: none;
13
- }
14
- }
15
-
16
- .#{$lumx-base-prefix}-lightbox__wrapper {
17
- inset: 0;
18
- }
19
-
20
- .lumx-slideshow-item-group,
21
- .lumx-slideshow-item {
22
- display: flex;
23
- width: 100%;
24
- height: 100%;
25
- }
26
-
27
- &__image-slide {
28
- overflow: auto;
29
-
30
- // Do not scroll parents when reaching the end of the current scroll area
31
- overscroll-behavior: contain;
32
-
33
- // Need to disable native touch actions to implement pinch to zoom
34
- touch-action: none;
35
-
36
- // Reserve space for scrollbar gutters
37
- scrollbar-gutter: stable;
38
- scrollbar-color: $lumx-color-light-L4 $lumx-color-dark-L5;
39
- }
40
-
41
- &__thumbnail {
42
- margin: auto;
43
- }
44
-
45
- &__footer {
46
- flex-shrink: 0;
47
- padding: $lumx-spacing-unit-huge 0;
48
- background: $lumx-color-dark-L1;
49
- }
50
- }
51
-
52
- // Crop & scale transitioning pair of trigger image + opening image
53
- ::view-transition-image-pair(#{$lumx-base-prefix}-image-lightbox) {
54
- overflow: hidden;
55
- }
56
- ::view-transition-old(#{$lumx-base-prefix}-image-lightbox),
57
- ::view-transition-new(#{$lumx-base-prefix}-image-lightbox) {
58
- height: 100%;
59
- }
60
- ::view-transition-group(#{$lumx-base-prefix}-image-lightbox) {
61
- animation-duration: $lumx-lightbox-transition-duration;
62
-
63
- @media (prefers-reduced-motion: reduce) {
64
- animation: none;
65
- }
66
- }