@instructure/ui-tree-browser 11.7.5-snapshot-15 → 11.7.5-snapshot-23
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/v1/TreeCollection/index.js +3 -6
- package/es/TreeBrowser/v1/TreeNode/index.js +1 -1
- package/es/TreeBrowser/v2/TreeCollection/index.js +3 -6
- package/es/TreeBrowser/v2/TreeNode/index.js +1 -1
- package/lib/TreeBrowser/v1/TreeCollection/index.js +3 -6
- package/lib/TreeBrowser/v1/TreeNode/index.js +1 -1
- package/lib/TreeBrowser/v2/TreeCollection/index.js +3 -6
- package/lib/TreeBrowser/v2/TreeNode/index.js +1 -1
- package/package.json +11 -11
- package/src/TreeBrowser/v1/TreeCollection/index.tsx +0 -3
- package/src/TreeBrowser/v1/TreeNode/index.tsx +1 -1
- package/src/TreeBrowser/v2/TreeCollection/index.tsx +0 -3
- package/src/TreeBrowser/v2/TreeNode/index.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/TreeBrowser/v1/TreeCollection/index.d.ts.map +1 -1
- package/types/TreeBrowser/v2/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
|
-
## [11.7.5-snapshot-
|
|
6
|
+
## [11.7.5-snapshot-23](https://github.com/instructure/instructure-ui/compare/v11.7.4...v11.7.5-snapshot-23) (2026-08-03)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** update eslint-disable comments for oxlint's rule IDs ([ea28383](https://github.com/instructure/instructure-ui/commit/ea283832859749546a065bd643ea778885d974b4))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
|
@@ -203,8 +203,7 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
|
|
|
203
203
|
level: this.itemsLevel
|
|
204
204
|
});
|
|
205
205
|
return _jsx("li", {
|
|
206
|
-
id: key
|
|
207
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
206
|
+
id: key,
|
|
208
207
|
role: "treeitem",
|
|
209
208
|
css: styles?.item,
|
|
210
209
|
tabIndex: -1,
|
|
@@ -279,8 +278,7 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
|
|
|
279
278
|
type: 'item'
|
|
280
279
|
});
|
|
281
280
|
return _jsx("li", {
|
|
282
|
-
tabIndex: -1
|
|
283
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
281
|
+
tabIndex: -1,
|
|
284
282
|
role: "treeitem",
|
|
285
283
|
"aria-label": item.name,
|
|
286
284
|
css: styles?.item,
|
|
@@ -342,8 +340,7 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
|
|
|
342
340
|
this.ref = el;
|
|
343
341
|
},
|
|
344
342
|
css: styles?.treeCollection,
|
|
345
|
-
tabIndex: -1
|
|
346
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
343
|
+
tabIndex: -1,
|
|
347
344
|
role: "treeitem",
|
|
348
345
|
"aria-label": `${this.props.name}${this.props.descriptor ? ` ${this.props.descriptor}` : ''}`,
|
|
349
346
|
"aria-level": level,
|
|
@@ -2,7 +2,7 @@ var _dec, _class;
|
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
6
6
|
*
|
|
7
7
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
8
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -205,8 +205,7 @@ let TreeCollection = (_dec = withStyleNew(generateStyles, 'TreeBrowserTreeCollec
|
|
|
205
205
|
variant: this.props.variant
|
|
206
206
|
});
|
|
207
207
|
return _jsx("li", {
|
|
208
|
-
id: key
|
|
209
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
208
|
+
id: key,
|
|
210
209
|
role: "treeitem",
|
|
211
210
|
css: styles?.item,
|
|
212
211
|
tabIndex: -1,
|
|
@@ -281,8 +280,7 @@ let TreeCollection = (_dec = withStyleNew(generateStyles, 'TreeBrowserTreeCollec
|
|
|
281
280
|
type: 'item'
|
|
282
281
|
});
|
|
283
282
|
return _jsx("li", {
|
|
284
|
-
tabIndex: -1
|
|
285
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
283
|
+
tabIndex: -1,
|
|
286
284
|
role: "treeitem",
|
|
287
285
|
"aria-label": item.name,
|
|
288
286
|
css: styles?.item,
|
|
@@ -344,8 +342,7 @@ let TreeCollection = (_dec = withStyleNew(generateStyles, 'TreeBrowserTreeCollec
|
|
|
344
342
|
this.ref = el;
|
|
345
343
|
},
|
|
346
344
|
css: styles?.treeCollection,
|
|
347
|
-
tabIndex: -1
|
|
348
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
345
|
+
tabIndex: -1,
|
|
349
346
|
role: "treeitem",
|
|
350
347
|
"aria-label": `${this.props.name}${this.props.descriptor ? ` ${this.props.descriptor}` : ''}`,
|
|
351
348
|
"aria-level": level,
|
|
@@ -2,7 +2,7 @@ var _dec, _class;
|
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
6
6
|
*
|
|
7
7
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
8
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -209,8 +209,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
|
|
|
209
209
|
level: this.itemsLevel
|
|
210
210
|
});
|
|
211
211
|
return (0, _jsxRuntime.jsx)("li", {
|
|
212
|
-
id: key
|
|
213
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
212
|
+
id: key,
|
|
214
213
|
role: "treeitem",
|
|
215
214
|
css: styles?.item,
|
|
216
215
|
tabIndex: -1,
|
|
@@ -285,8 +284,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
|
|
|
285
284
|
type: 'item'
|
|
286
285
|
});
|
|
287
286
|
return (0, _jsxRuntime.jsx)("li", {
|
|
288
|
-
tabIndex: -1
|
|
289
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
287
|
+
tabIndex: -1,
|
|
290
288
|
role: "treeitem",
|
|
291
289
|
"aria-label": item.name,
|
|
292
290
|
css: styles?.item,
|
|
@@ -348,8 +346,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
|
|
|
348
346
|
this.ref = el;
|
|
349
347
|
},
|
|
350
348
|
css: styles?.treeCollection,
|
|
351
|
-
tabIndex: -1
|
|
352
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
349
|
+
tabIndex: -1,
|
|
353
350
|
role: "treeitem",
|
|
354
351
|
"aria-label": `${this.props.name}${this.props.descriptor ? ` ${this.props.descriptor}` : ''}`,
|
|
355
352
|
"aria-level": level,
|
|
@@ -18,7 +18,7 @@ var _dec, _class;
|
|
|
18
18
|
/*
|
|
19
19
|
* The MIT License (MIT)
|
|
20
20
|
*
|
|
21
|
-
* Copyright (c)
|
|
21
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
22
22
|
*
|
|
23
23
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
24
24
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -211,8 +211,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyleNew)
|
|
|
211
211
|
variant: this.props.variant
|
|
212
212
|
});
|
|
213
213
|
return (0, _jsxRuntime.jsx)("li", {
|
|
214
|
-
id: key
|
|
215
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
214
|
+
id: key,
|
|
216
215
|
role: "treeitem",
|
|
217
216
|
css: styles?.item,
|
|
218
217
|
tabIndex: -1,
|
|
@@ -287,8 +286,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyleNew)
|
|
|
287
286
|
type: 'item'
|
|
288
287
|
});
|
|
289
288
|
return (0, _jsxRuntime.jsx)("li", {
|
|
290
|
-
tabIndex: -1
|
|
291
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
289
|
+
tabIndex: -1,
|
|
292
290
|
role: "treeitem",
|
|
293
291
|
"aria-label": item.name,
|
|
294
292
|
css: styles?.item,
|
|
@@ -350,8 +348,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyleNew)
|
|
|
350
348
|
this.ref = el;
|
|
351
349
|
},
|
|
352
350
|
css: styles?.treeCollection,
|
|
353
|
-
tabIndex: -1
|
|
354
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */,
|
|
351
|
+
tabIndex: -1,
|
|
355
352
|
role: "treeitem",
|
|
356
353
|
"aria-label": `${this.props.name}${this.props.descriptor ? ` ${this.props.descriptor}` : ''}`,
|
|
357
354
|
"aria-level": level,
|
|
@@ -17,7 +17,7 @@ var _dec, _class;
|
|
|
17
17
|
/*
|
|
18
18
|
* The MIT License (MIT)
|
|
19
19
|
*
|
|
20
|
-
* Copyright (c)
|
|
20
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
21
21
|
*
|
|
22
22
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
23
23
|
* of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-tree-browser",
|
|
3
|
-
"version": "11.7.5-snapshot-
|
|
3
|
+
"version": "11.7.5-snapshot-23",
|
|
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",
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
18
|
"keycode": "^2",
|
|
19
|
-
"@instructure/emotion": "11.7.5-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.5-snapshot-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-react-utils": "11.7.5-snapshot-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
19
|
+
"@instructure/emotion": "11.7.5-snapshot-23",
|
|
20
|
+
"@instructure/shared-types": "11.7.5-snapshot-23",
|
|
21
|
+
"@instructure/ui-icons": "11.7.5-snapshot-23",
|
|
22
|
+
"@instructure/ui-img": "11.7.5-snapshot-23",
|
|
23
|
+
"@instructure/ui-react-utils": "11.7.5-snapshot-23",
|
|
24
|
+
"@instructure/ui-themes": "11.7.5-snapshot-23",
|
|
25
|
+
"@instructure/ui-utils": "11.7.5-snapshot-23"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@testing-library/jest-dom": "^6.9.1",
|
|
29
29
|
"@testing-library/react": "16.3.2",
|
|
30
30
|
"vitest": "^4.1.9",
|
|
31
|
-
"@instructure/ui-axe-check": "11.7.5-snapshot-
|
|
32
|
-
"@instructure/ui-babel-preset": "11.7.5-snapshot-
|
|
33
|
-
"@instructure/ui-color-utils": "11.7.5-snapshot-
|
|
31
|
+
"@instructure/ui-axe-check": "11.7.5-snapshot-23",
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.5-snapshot-23",
|
|
33
|
+
"@instructure/ui-color-utils": "11.7.5-snapshot-23"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=18 <=19"
|
|
@@ -233,7 +233,6 @@ class TreeCollection extends Component<
|
|
|
233
233
|
return (
|
|
234
234
|
<li
|
|
235
235
|
id={key}
|
|
236
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
237
236
|
role="treeitem"
|
|
238
237
|
css={styles?.item}
|
|
239
238
|
tabIndex={-1}
|
|
@@ -314,7 +313,6 @@ class TreeCollection extends Component<
|
|
|
314
313
|
<li
|
|
315
314
|
key={`i${position}`}
|
|
316
315
|
tabIndex={-1}
|
|
317
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
318
316
|
role="treeitem"
|
|
319
317
|
aria-label={item.name}
|
|
320
318
|
css={styles?.item}
|
|
@@ -385,7 +383,6 @@ class TreeCollection extends Component<
|
|
|
385
383
|
}}
|
|
386
384
|
css={styles?.treeCollection}
|
|
387
385
|
tabIndex={-1}
|
|
388
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
389
386
|
role="treeitem"
|
|
390
387
|
aria-label={`${this.props.name}${
|
|
391
388
|
this.props.descriptor ? ` ${this.props.descriptor}` : ''
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* The MIT License (MIT)
|
|
3
3
|
*
|
|
4
|
-
* Copyright (c)
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
5
|
*
|
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -235,7 +235,6 @@ class TreeCollection extends Component<
|
|
|
235
235
|
return (
|
|
236
236
|
<li
|
|
237
237
|
id={key}
|
|
238
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
239
238
|
role="treeitem"
|
|
240
239
|
css={styles?.item}
|
|
241
240
|
tabIndex={-1}
|
|
@@ -316,7 +315,6 @@ class TreeCollection extends Component<
|
|
|
316
315
|
<li
|
|
317
316
|
key={`i${position}`}
|
|
318
317
|
tabIndex={-1}
|
|
319
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
320
318
|
role="treeitem"
|
|
321
319
|
aria-label={item.name}
|
|
322
320
|
css={styles?.item}
|
|
@@ -387,7 +385,6 @@ class TreeCollection extends Component<
|
|
|
387
385
|
}}
|
|
388
386
|
css={styles?.treeCollection}
|
|
389
387
|
tabIndex={-1}
|
|
390
|
-
/* eslint-disable-next-line jsx-a11y/role-has-required-aria-props */
|
|
391
388
|
role="treeitem"
|
|
392
389
|
aria-label={`${this.props.name}${
|
|
393
390
|
this.props.descriptor ? ` ${this.props.descriptor}` : ''
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* The MIT License (MIT)
|
|
3
3
|
*
|
|
4
|
-
* Copyright (c)
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
5
|
*
|
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|