@scaleflex/widget-common 0.0.5 → 0.1.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/CHANGELOG.md +11 -0
- package/lib/VirtualGrid/index.js +5 -1
- package/package.json +4 -4
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
|
+
# [0.1.0](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.0.5...v0.1.0) (2025-07-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add roles and aria-labels for e2e testing ([7e5e36e](https://code.scaleflex.cloud/scaleflex/widget/commits/7e5e36e61fb0469ca54a6edccf2840149fd6d513))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.0.5](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.0.4...v0.0.5) (2025-07-22)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @scaleflex/widget-common
|
package/lib/VirtualGrid/index.js
CHANGED
|
@@ -58,7 +58,9 @@ var VirtualGrid = function VirtualGrid(_ref) {
|
|
|
58
58
|
_ref$stopChildEventsP = _ref.stopChildEventsPropagation,
|
|
59
59
|
stopChildEventsPropagation = _ref$stopChildEventsP === void 0 ? true : _ref$stopChildEventsP,
|
|
60
60
|
apiRef = _ref.apiRef,
|
|
61
|
-
gap = _ref.gap
|
|
61
|
+
gap = _ref.gap,
|
|
62
|
+
role = _ref.role,
|
|
63
|
+
ariaLabel = _ref.ariaLabel;
|
|
62
64
|
var _useState = useState(0),
|
|
63
65
|
_useState2 = _slicedToArray(_useState, 2),
|
|
64
66
|
scrollTop = _useState2[0],
|
|
@@ -240,6 +242,8 @@ var VirtualGrid = function VirtualGrid(_ref) {
|
|
|
240
242
|
$height: containerHeight,
|
|
241
243
|
columnMinWidth: columnMinWidth,
|
|
242
244
|
gap: gap,
|
|
245
|
+
role: role,
|
|
246
|
+
"aria-label": ariaLabel,
|
|
243
247
|
children: items.slice(startItemIndex, startItemIndex + visibleItemsCount).map(renderItem)
|
|
244
248
|
})
|
|
245
249
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-common",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "The common components shared between Scaleflex Media Asset Widget modules",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
18
18
|
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
19
|
-
"@scaleflex/widget-icons": "^0.0
|
|
20
|
-
"@scaleflex/widget-utils": "^0.0
|
|
19
|
+
"@scaleflex/widget-icons": "^0.1.0",
|
|
20
|
+
"@scaleflex/widget-utils": "^0.1.0",
|
|
21
21
|
"react-viewport-list": "^7.1.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"react": ">=19.0.0",
|
|
29
29
|
"react-dom": ">=19.0.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "6fa9b7a95c026352f3e3ef0cf2f8afcc66bfa23a"
|
|
32
32
|
}
|