@instructure/ui-tree-browser 10.2.3-snapshot-5 → 10.2.3-snapshot-6
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 +5 -2
- package/es/TreeBrowser/TreeCollection/index.js +6 -3
- package/lib/TreeBrowser/TreeCollection/index.js +6 -3
- package/package.json +14 -14
- package/src/TreeBrowser/TreeCollection/index.tsx +3 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/TreeBrowser/TreeCollection/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
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
|
-
## [10.2.3-snapshot-
|
|
6
|
+
## [10.2.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-6) (2024-09-27)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui-progress,ui-range-input:** use just the native HTML elements instead of ARIA tags ([f0fa72c](https://github.com/instructure/instructure-ui/commit/f0fa72c7d716ab2cb0af191debe27db1e911c19a))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
|
@@ -178,7 +178,8 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
|
|
|
178
178
|
level: this.itemsLevel
|
|
179
179
|
});
|
|
180
180
|
return jsx("li", Object.assign({
|
|
181
|
-
id: key
|
|
181
|
+
id: key
|
|
182
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
182
183
|
role: "treeitem",
|
|
183
184
|
css: styles === null || styles === void 0 ? void 0 : styles.item,
|
|
184
185
|
tabIndex: -1,
|
|
@@ -252,7 +253,8 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
|
|
|
252
253
|
});
|
|
253
254
|
return jsx("li", Object.assign({
|
|
254
255
|
key: `i${position}`,
|
|
255
|
-
tabIndex: -1
|
|
256
|
+
tabIndex: -1
|
|
257
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
256
258
|
role: "treeitem",
|
|
257
259
|
"aria-label": item.name,
|
|
258
260
|
css: styles === null || styles === void 0 ? void 0 : styles.item,
|
|
@@ -309,7 +311,8 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
|
|
|
309
311
|
this.ref = el;
|
|
310
312
|
},
|
|
311
313
|
css: styles === null || styles === void 0 ? void 0 : styles.treeCollection,
|
|
312
|
-
tabIndex: -1
|
|
314
|
+
tabIndex: -1
|
|
315
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
313
316
|
role: "treeitem",
|
|
314
317
|
"aria-label": this.props.name,
|
|
315
318
|
"aria-level": level,
|
|
@@ -185,7 +185,8 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
|
|
|
185
185
|
level: this.itemsLevel
|
|
186
186
|
});
|
|
187
187
|
return (0, _emotion.jsx)("li", Object.assign({
|
|
188
|
-
id: key
|
|
188
|
+
id: key
|
|
189
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
189
190
|
role: "treeitem",
|
|
190
191
|
css: styles === null || styles === void 0 ? void 0 : styles.item,
|
|
191
192
|
tabIndex: -1,
|
|
@@ -259,7 +260,8 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
|
|
|
259
260
|
});
|
|
260
261
|
return (0, _emotion.jsx)("li", Object.assign({
|
|
261
262
|
key: `i${position}`,
|
|
262
|
-
tabIndex: -1
|
|
263
|
+
tabIndex: -1
|
|
264
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
263
265
|
role: "treeitem",
|
|
264
266
|
"aria-label": item.name,
|
|
265
267
|
css: styles === null || styles === void 0 ? void 0 : styles.item,
|
|
@@ -316,7 +318,8 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
|
|
|
316
318
|
this.ref = el;
|
|
317
319
|
},
|
|
318
320
|
css: styles === null || styles === void 0 ? void 0 : styles.treeCollection,
|
|
319
|
-
tabIndex: -1
|
|
321
|
+
tabIndex: -1
|
|
322
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
320
323
|
role: "treeitem",
|
|
321
324
|
"aria-label": this.props.name,
|
|
322
325
|
"aria-level": level,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-tree-browser",
|
|
3
|
-
"version": "10.2.3-snapshot-
|
|
3
|
+
"version": "10.2.3-snapshot-6",
|
|
4
4
|
"description": "A component for displaying a hierarchical view of information",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "10.2.3-snapshot-
|
|
27
|
-
"@instructure/ui-color-utils": "10.2.3-snapshot-
|
|
28
|
-
"@instructure/ui-test-locator": "10.2.3-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "10.2.3-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "10.2.3-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "10.2.3-snapshot-6",
|
|
27
|
+
"@instructure/ui-color-utils": "10.2.3-snapshot-6",
|
|
28
|
+
"@instructure/ui-test-locator": "10.2.3-snapshot-6",
|
|
29
|
+
"@instructure/ui-test-utils": "10.2.3-snapshot-6",
|
|
30
|
+
"@instructure/ui-themes": "10.2.3-snapshot-6"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.24.5",
|
|
34
|
-
"@instructure/emotion": "10.2.3-snapshot-
|
|
35
|
-
"@instructure/shared-types": "10.2.3-snapshot-
|
|
36
|
-
"@instructure/ui-icons": "10.2.3-snapshot-
|
|
37
|
-
"@instructure/ui-img": "10.2.3-snapshot-
|
|
38
|
-
"@instructure/ui-prop-types": "10.2.3-snapshot-
|
|
39
|
-
"@instructure/ui-react-utils": "10.2.3-snapshot-
|
|
40
|
-
"@instructure/ui-testable": "10.2.3-snapshot-
|
|
41
|
-
"@instructure/ui-utils": "10.2.3-snapshot-
|
|
34
|
+
"@instructure/emotion": "10.2.3-snapshot-6",
|
|
35
|
+
"@instructure/shared-types": "10.2.3-snapshot-6",
|
|
36
|
+
"@instructure/ui-icons": "10.2.3-snapshot-6",
|
|
37
|
+
"@instructure/ui-img": "10.2.3-snapshot-6",
|
|
38
|
+
"@instructure/ui-prop-types": "10.2.3-snapshot-6",
|
|
39
|
+
"@instructure/ui-react-utils": "10.2.3-snapshot-6",
|
|
40
|
+
"@instructure/ui-testable": "10.2.3-snapshot-6",
|
|
41
|
+
"@instructure/ui-utils": "10.2.3-snapshot-6",
|
|
42
42
|
"keycode": "^2",
|
|
43
43
|
"prop-types": "^15.8.1"
|
|
44
44
|
},
|
|
@@ -230,10 +230,10 @@ class TreeCollection extends Component<
|
|
|
230
230
|
focused: this.state.focused === `child_${key}`,
|
|
231
231
|
level: this.itemsLevel
|
|
232
232
|
})
|
|
233
|
-
|
|
234
233
|
return (
|
|
235
234
|
<li
|
|
236
235
|
id={key}
|
|
236
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
237
237
|
role="treeitem"
|
|
238
238
|
css={styles?.item}
|
|
239
239
|
tabIndex={-1}
|
|
@@ -314,6 +314,7 @@ class TreeCollection extends Component<
|
|
|
314
314
|
<li
|
|
315
315
|
key={`i${position}`}
|
|
316
316
|
tabIndex={-1}
|
|
317
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
317
318
|
role="treeitem"
|
|
318
319
|
aria-label={item.name}
|
|
319
320
|
css={styles?.item}
|
|
@@ -384,6 +385,7 @@ class TreeCollection extends Component<
|
|
|
384
385
|
}}
|
|
385
386
|
css={styles?.treeCollection}
|
|
386
387
|
tabIndex={-1}
|
|
388
|
+
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
387
389
|
role="treeitem"
|
|
388
390
|
aria-label={this.props.name}
|
|
389
391
|
aria-level={level}
|