@graphcommerce/next-ui 3.20.4 → 3.20.5

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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.20.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.20.4...@graphcommerce/next-ui@3.20.5) (2021-12-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Accessibility, SEO ([a258837](https://github.com/ho-nl/m2-pwa/commit/a258837476d94d20d33e13a4c4f950fff57f7dca))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.20.4](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.20.3...@graphcommerce/next-ui@3.20.4) (2021-12-06)
7
18
 
8
19
 
@@ -159,7 +159,8 @@ const useStyles = makeStyles(
159
159
  top: `calc(50% - 28px)`,
160
160
  },
161
161
  dots: {
162
- background: alpha(theme.palette.background.paper, 0.7),
162
+ background: alpha(theme.palette.background.paper, 1),
163
+ boxShadow: theme.shadows[6],
163
164
  },
164
165
  }),
165
166
  { name: 'SidebarGallery' },
@@ -258,6 +259,7 @@ export default function SidebarGallery(props: SidebarGalleryProps) {
258
259
  0: '100vw',
259
260
  [theme.breakpoints.values.md]: zoomed ? '100vw' : '60vw',
260
261
  }}
262
+ alt={image.alt || `Product Image ${idx}` || undefined}
261
263
  dontReportWronglySizedImages
262
264
  />
263
265
  </CenterSlide>
@@ -114,12 +114,15 @@ export default function TextInputNumber(props: TextInputNumberProps) {
114
114
  inputRef={forkRef}
115
115
  className={clsx(textFieldProps.className, classes.quantity)}
116
116
  autoComplete='off'
117
+ label={' '}
118
+ id='quantity-input'
119
+ InputLabelProps={{ shrink: false }}
117
120
  InputProps={{
118
121
  ...textFieldProps.InputProps,
119
122
  startAdornment: (
120
123
  <IconButton
121
124
  aria-label='step down'
122
- size='small'
125
+ size='medium'
123
126
  edge='start'
124
127
  onPointerDown={() => setDirection('down')}
125
128
  onPointerUp={stop}
@@ -135,7 +138,7 @@ export default function TextInputNumber(props: TextInputNumberProps) {
135
138
  endAdornment: (
136
139
  <IconButton
137
140
  aria-label='step up'
138
- size='small'
141
+ size='medium'
139
142
  edge='end'
140
143
  onPointerDown={() => setDirection('up')}
141
144
  onPointerUp={() => setDirection(null)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/next-ui",
3
- "version": "3.20.4",
3
+ "version": "3.20.5",
4
4
  "author": "",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@apollo/client": "^3.4.16",
13
13
  "@graphcommerce/framer-next-pages": "^2.108.0",
14
- "@graphcommerce/framer-scroller": "^1.1.4",
14
+ "@graphcommerce/framer-scroller": "^1.1.5",
15
15
  "@graphcommerce/framer-utils": "^2.103.16",
16
16
  "@graphcommerce/graphql": "^2.105.6",
17
17
  "@graphcommerce/image": "^2.105.5",
@@ -52,5 +52,5 @@
52
52
  "project": "./tsconfig.json"
53
53
  }
54
54
  },
55
- "gitHead": "b992ac3fbe719310988edb8ad811366431509bc2"
55
+ "gitHead": "9a8007742437e8d0d88e60376c3402a46f20908d"
56
56
  }