@instructure/ui-tree-browser 10.0.1-snapshot-13 → 10.1.1-snapshot-4973

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,7 +3,15 @@
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.0.1-snapshot-13](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.0.1-snapshot-13) (2024-08-21)
6
+ ## [10.1.1-snapshot-4973](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.1-snapshot-4973) (2024-08-23)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-tree-browser
9
+
10
+
11
+
12
+
13
+
14
+ # [10.1.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.0) (2024-08-23)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-tree-browser
9
17
 
@@ -25,7 +25,6 @@ var _dec, _dec2, _class, _TreeCollection;
25
25
 
26
26
  /** @jsx jsx */
27
27
  /** @jsxFrag React.Fragment */
28
- // eslint-disable-next-line no-unused-vars
29
28
  import React, { Component } from 'react';
30
29
  import { testable } from '@instructure/ui-testable';
31
30
  import { withStyle, jsx } from '@instructure/emotion';
@@ -179,10 +178,7 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
179
178
  level: this.itemsLevel
180
179
  });
181
180
  return jsx("li", Object.assign({
182
- id: key
183
- // it's complaining about the aria-selected type which is there
184
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
185
- ,
181
+ id: key,
186
182
  role: "treeitem",
187
183
  css: styles === null || styles === void 0 ? void 0 : styles.item,
188
184
  tabIndex: -1,
@@ -256,10 +252,7 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
256
252
  });
257
253
  return jsx("li", Object.assign({
258
254
  key: `i${position}`,
259
- tabIndex: -1
260
- // it's complaining about the aria-selected type which is there
261
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
262
- ,
255
+ tabIndex: -1,
263
256
  role: "treeitem",
264
257
  "aria-label": item.name,
265
258
  css: styles === null || styles === void 0 ? void 0 : styles.item,
@@ -316,10 +309,7 @@ let TreeCollection = (_dec = withStyle(generateStyles, generateComponentTheme),
316
309
  this.ref = el;
317
310
  },
318
311
  css: styles === null || styles === void 0 ? void 0 : styles.treeCollection,
319
- tabIndex: -1
320
- // it's complaining about the aria-selected type which is there
321
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
322
- ,
312
+ tabIndex: -1,
323
313
  role: "treeitem",
324
314
  "aria-label": this.props.name,
325
315
  "aria-level": level,
@@ -24,7 +24,6 @@ var _dec, _dec2, _class, _TreeNode;
24
24
  */
25
25
 
26
26
  /** @jsx jsx */
27
- // eslint-disable-next-line no-unused-vars
28
27
  import { Component } from 'react';
29
28
  import { Img } from '@instructure/ui-img';
30
29
  import { callRenderProp } from '@instructure/ui-react-utils';
@@ -40,7 +40,6 @@ var _dec, _dec2, _class, _TreeCollection;
40
40
  */
41
41
  /** @jsx jsx */
42
42
  /** @jsxFrag React.Fragment */
43
- // eslint-disable-next-line no-unused-vars
44
43
  /**
45
44
  ---
46
45
  parent: TreeBrowser
@@ -186,10 +185,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
186
185
  level: this.itemsLevel
187
186
  });
188
187
  return (0, _emotion.jsx)("li", Object.assign({
189
- id: key
190
- // it's complaining about the aria-selected type which is there
191
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
192
- ,
188
+ id: key,
193
189
  role: "treeitem",
194
190
  css: styles === null || styles === void 0 ? void 0 : styles.item,
195
191
  tabIndex: -1,
@@ -263,10 +259,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
263
259
  });
264
260
  return (0, _emotion.jsx)("li", Object.assign({
265
261
  key: `i${position}`,
266
- tabIndex: -1
267
- // it's complaining about the aria-selected type which is there
268
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
269
- ,
262
+ tabIndex: -1,
270
263
  role: "treeitem",
271
264
  "aria-label": item.name,
272
265
  css: styles === null || styles === void 0 ? void 0 : styles.item,
@@ -323,10 +316,7 @@ let TreeCollection = exports.TreeCollection = (_dec = (0, _emotion.withStyle)(_s
323
316
  this.ref = el;
324
317
  },
325
318
  css: styles === null || styles === void 0 ? void 0 : styles.treeCollection,
326
- tabIndex: -1
327
- // it's complaining about the aria-selected type which is there
328
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
329
- ,
319
+ tabIndex: -1,
330
320
  role: "treeitem",
331
321
  "aria-label": this.props.name,
332
322
  "aria-level": level,
@@ -38,7 +38,6 @@ var _dec, _dec2, _class, _TreeNode;
38
38
  * SOFTWARE.
39
39
  */
40
40
  /** @jsx jsx */
41
- // eslint-disable-next-line no-unused-vars
42
41
  // Todo: merge TreeButton and TreeNode: TreeButton should be a special type of TreeNode
43
42
  /**
44
43
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tree-browser",
3
- "version": "10.0.1-snapshot-13",
3
+ "version": "10.1.1-snapshot-4973",
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.0.1-snapshot-13",
27
- "@instructure/ui-color-utils": "10.0.1-snapshot-13",
28
- "@instructure/ui-test-locator": "10.0.1-snapshot-13",
29
- "@instructure/ui-test-utils": "10.0.1-snapshot-13",
30
- "@instructure/ui-themes": "10.0.1-snapshot-13"
26
+ "@instructure/ui-babel-preset": "10.1.1-snapshot-4973",
27
+ "@instructure/ui-color-utils": "10.1.1-snapshot-4973",
28
+ "@instructure/ui-test-locator": "10.1.1-snapshot-4973",
29
+ "@instructure/ui-test-utils": "10.1.1-snapshot-4973",
30
+ "@instructure/ui-themes": "10.1.1-snapshot-4973"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.24.5",
34
- "@instructure/emotion": "10.0.1-snapshot-13",
35
- "@instructure/shared-types": "10.0.1-snapshot-13",
36
- "@instructure/ui-icons": "10.0.1-snapshot-13",
37
- "@instructure/ui-img": "10.0.1-snapshot-13",
38
- "@instructure/ui-prop-types": "10.0.1-snapshot-13",
39
- "@instructure/ui-react-utils": "10.0.1-snapshot-13",
40
- "@instructure/ui-testable": "10.0.1-snapshot-13",
41
- "@instructure/ui-utils": "10.0.1-snapshot-13",
34
+ "@instructure/emotion": "10.1.1-snapshot-4973",
35
+ "@instructure/shared-types": "10.1.1-snapshot-4973",
36
+ "@instructure/ui-icons": "10.1.1-snapshot-4973",
37
+ "@instructure/ui-img": "10.1.1-snapshot-4973",
38
+ "@instructure/ui-prop-types": "10.1.1-snapshot-4973",
39
+ "@instructure/ui-react-utils": "10.1.1-snapshot-4973",
40
+ "@instructure/ui-testable": "10.1.1-snapshot-4973",
41
+ "@instructure/ui-utils": "10.1.1-snapshot-4973",
42
42
  "keycode": "^2",
43
43
  "prop-types": "^15.8.1"
44
44
  },
@@ -24,7 +24,6 @@
24
24
 
25
25
  /** @jsx jsx */
26
26
  /** @jsxFrag React.Fragment */
27
- // eslint-disable-next-line no-unused-vars
28
27
  import React, { Component, ReactElement, SyntheticEvent } from 'react'
29
28
 
30
29
  import { testable } from '@instructure/ui-testable'
@@ -235,8 +234,6 @@ class TreeCollection extends Component<
235
234
  return (
236
235
  <li
237
236
  id={key}
238
- // it's complaining about the aria-selected type which is there
239
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
240
237
  role="treeitem"
241
238
  css={styles?.item}
242
239
  tabIndex={-1}
@@ -317,8 +314,6 @@ class TreeCollection extends Component<
317
314
  <li
318
315
  key={`i${position}`}
319
316
  tabIndex={-1}
320
- // it's complaining about the aria-selected type which is there
321
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
322
317
  role="treeitem"
323
318
  aria-label={item.name}
324
319
  css={styles?.item}
@@ -389,8 +384,6 @@ class TreeCollection extends Component<
389
384
  }}
390
385
  css={styles?.treeCollection}
391
386
  tabIndex={-1}
392
- // it's complaining about the aria-selected type which is there
393
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
394
387
  role="treeitem"
395
388
  aria-label={this.props.name}
396
389
  aria-level={level}
@@ -23,7 +23,6 @@
23
23
  */
24
24
 
25
25
  /** @jsx jsx */
26
- // eslint-disable-next-line no-unused-vars
27
26
  import { Component } from 'react'
28
27
 
29
28
  import { Img } from '@instructure/ui-img'