@magento/pagebuilder 7.4.2 → 8.0.0-alpha.1
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.
|
@@ -6,7 +6,7 @@ import Button from '@magento/venia-ui/lib/components/Button/button';
|
|
|
6
6
|
import resolveLinkProps from '@magento/peregrine/lib/util/resolveLinkProps';
|
|
7
7
|
import { Link, useHistory } from 'react-router-dom';
|
|
8
8
|
import resourceUrl from '@magento/peregrine/lib/util/makeUrl';
|
|
9
|
-
import useIntersectionObserver from '@magento/peregrine/lib/hooks/useIntersectionObserver';
|
|
9
|
+
import { useIntersectionObserver } from '@magento/peregrine/lib/hooks/useIntersectionObserver';
|
|
10
10
|
import { useMediaQuery } from '@magento/peregrine/lib/hooks/useMediaQuery';
|
|
11
11
|
import handleHtmlContentClick from '../../handleHtmlContentClick';
|
|
12
12
|
|
|
@@ -74,6 +74,7 @@ const Slider = props => {
|
|
|
74
74
|
paddingLeft
|
|
75
75
|
};
|
|
76
76
|
const jarallaxInstances = {};
|
|
77
|
+
|
|
77
78
|
const sliderSettings = {
|
|
78
79
|
dots: showDots,
|
|
79
80
|
arrows: showArrows,
|
|
@@ -88,7 +89,6 @@ const Slider = props => {
|
|
|
88
89
|
autoplaySpeed,
|
|
89
90
|
fade
|
|
90
91
|
};
|
|
91
|
-
|
|
92
92
|
// Override classes on banner to ensure min height is respected
|
|
93
93
|
Children.map(children, (child, index) => {
|
|
94
94
|
if (child.props && child.props.data) {
|
|
@@ -125,16 +125,6 @@
|
|
|
125
125
|
display: none;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.root :global .slick-prev,
|
|
129
|
-
.root :global .slick-next {
|
|
130
|
-
opacity: 0;
|
|
131
|
-
transition: 0.3s;
|
|
132
|
-
}
|
|
133
|
-
.root:hover :global .slick-prev,
|
|
134
|
-
.root:hover :global .slick-next {
|
|
135
|
-
opacity: 1;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
128
|
.root :global .slick-prev {
|
|
139
129
|
left: 1.6rem;
|
|
140
130
|
}
|
|
@@ -160,6 +150,7 @@
|
|
|
160
150
|
font-size: 0;
|
|
161
151
|
height: 40px;
|
|
162
152
|
line-height: 0;
|
|
153
|
+
opacity: 1;
|
|
163
154
|
outline: none;
|
|
164
155
|
padding: 0;
|
|
165
156
|
position: absolute;
|
|
@@ -169,6 +160,12 @@
|
|
|
169
160
|
z-index: 101;
|
|
170
161
|
}
|
|
171
162
|
|
|
163
|
+
.root :global .slick-prev:focus-visible,
|
|
164
|
+
.root :global .slick-next:focus-visible {
|
|
165
|
+
outline: auto;
|
|
166
|
+
outline: -webkit-focus-ring-color auto 1px;
|
|
167
|
+
}
|
|
168
|
+
|
|
172
169
|
.root :global .slick-dots {
|
|
173
170
|
display: block;
|
|
174
171
|
list-style: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magento/pagebuilder",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-alpha.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"homepage": "https://github.com/magento/pwa-studio/tree/main/packages/pagebuilder#readme",
|
|
35
35
|
"dependencies": {},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@magento/peregrine": "
|
|
37
|
+
"@magento/peregrine": "13.0.0-alpha.1",
|
|
38
38
|
"@magento/pwa-buildpack": "~11.4.1",
|
|
39
|
-
"@magento/venia-ui": "
|
|
39
|
+
"@magento/venia-ui": "10.0.0-alpha.1",
|
|
40
40
|
"@storybook/react": "~6.3.7",
|
|
41
41
|
"jarallax": "~1.11.1",
|
|
42
42
|
"load-google-maps-api": "~2.0.1",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@apollo/client": "~3.5.0",
|
|
52
52
|
"@magento/babel-preset-peregrine": "~1.2.2",
|
|
53
|
-
"@magento/peregrine": "
|
|
53
|
+
"@magento/peregrine": "13.0.0-alpha.1",
|
|
54
54
|
"@magento/pwa-buildpack": "~11.4.1",
|
|
55
|
-
"@magento/venia-ui": "
|
|
55
|
+
"@magento/venia-ui": "10.0.0-alpha.1",
|
|
56
56
|
"jarallax": "~1.11.1",
|
|
57
57
|
"load-google-maps-api": "~2.0.1",
|
|
58
58
|
"lodash.escape": "~4.0.1",
|