@instructure/ui-tree-browser 11.7.3-snapshot-4 → 11.7.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 CHANGED
@@ -3,7 +3,7 @@
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.3-snapshot-4](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-4) (2026-04-28)
6
+ ## [11.7.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-6) (2026-04-29)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-tree-browser
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tree-browser",
3
- "version": "11.7.3-snapshot-4",
3
+ "version": "11.7.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",
@@ -16,21 +16,21 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.27.6",
18
18
  "keycode": "^2",
19
- "@instructure/emotion": "11.7.3-snapshot-4",
20
- "@instructure/ui-icons": "11.7.3-snapshot-4",
21
- "@instructure/shared-types": "11.7.3-snapshot-4",
22
- "@instructure/ui-react-utils": "11.7.3-snapshot-4",
23
- "@instructure/ui-img": "11.7.3-snapshot-4",
24
- "@instructure/ui-utils": "11.7.3-snapshot-4"
19
+ "@instructure/shared-types": "11.7.3-snapshot-6",
20
+ "@instructure/ui-icons": "11.7.3-snapshot-6",
21
+ "@instructure/emotion": "11.7.3-snapshot-6",
22
+ "@instructure/ui-img": "11.7.3-snapshot-6",
23
+ "@instructure/ui-react-utils": "11.7.3-snapshot-6",
24
+ "@instructure/ui-themes": "11.7.3-snapshot-6",
25
+ "@instructure/ui-utils": "11.7.3-snapshot-6"
25
26
  },
26
27
  "devDependencies": {
27
28
  "@testing-library/jest-dom": "^6.6.3",
28
29
  "@testing-library/react": "15.0.7",
29
30
  "vitest": "^3.2.2",
30
- "@instructure/ui-axe-check": "11.7.3-snapshot-4",
31
- "@instructure/ui-babel-preset": "11.7.3-snapshot-4",
32
- "@instructure/ui-color-utils": "11.7.3-snapshot-4",
33
- "@instructure/ui-themes": "11.7.3-snapshot-4"
31
+ "@instructure/ui-axe-check": "11.7.3-snapshot-6",
32
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-6",
33
+ "@instructure/ui-color-utils": "11.7.3-snapshot-6"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18 <=19"
@@ -24,7 +24,7 @@
24
24
 
25
25
  import React from 'react'
26
26
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
27
- import type { TreeBrowserButtonTheme } from '@instructure/shared-types'
27
+ import type { NewComponentTypes } from '@instructure/ui-themes'
28
28
  import type { TreeBrowserCommonProps } from '../props'
29
29
 
30
30
  type TreeBrowserButtonOwnProps = {
@@ -58,7 +58,10 @@ type PropKeys = keyof TreeBrowserButtonOwnProps
58
58
  type AllowedPropKeys = Readonly<Array<PropKeys>>
59
59
 
60
60
  type TreeBrowserButtonProps = TreeBrowserButtonOwnProps &
61
- WithStyleProps<TreeBrowserButtonTheme, TreeBrowserButtonStyle>
61
+ WithStyleProps<
62
+ ReturnType<NewComponentTypes['TreeBrowserTreeButton']>,
63
+ TreeBrowserButtonStyle
64
+ >
62
65
 
63
66
  type TreeBrowserButtonStyle = ComponentStyle<
64
67
  | 'treeButton'
@@ -25,8 +25,8 @@
25
25
  import React from 'react'
26
26
 
27
27
  import type { CollectionData } from '../props'
28
- import type { TreeBrowserCollectionTheme } from '@instructure/shared-types'
29
28
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
29
+ import type { NewComponentTypes } from '@instructure/ui-themes'
30
30
  import { CollectionProps, TreeBrowserBaseProps } from '../props'
31
31
 
32
32
  type TreeBrowserCollectionOwnProps = {
@@ -45,7 +45,10 @@ type PropKeys = keyof TreeBrowserCollectionOwnProps
45
45
  type AllowedPropKeys = Readonly<Array<PropKeys>>
46
46
 
47
47
  type TreeBrowserCollectionProps = TreeBrowserCollectionOwnProps &
48
- WithStyleProps<TreeBrowserCollectionTheme, TreeBrowserCollectionStyle>
48
+ WithStyleProps<
49
+ ReturnType<NewComponentTypes['TreeBrowserTreeCollection']>,
50
+ TreeBrowserCollectionStyle
51
+ >
49
52
 
50
53
  type TreeBrowserCollectionStyle = ComponentStyle<
51
54
  'treeCollection' | 'list' | 'item'
@@ -23,8 +23,8 @@
23
23
  */
24
24
 
25
25
  import React from 'react'
26
- import type { TreeBrowserButtonTheme } from '@instructure/shared-types'
27
26
  import type { WithStyleProps } from '@instructure/emotion'
27
+ import type { NewComponentTypes } from '@instructure/ui-themes'
28
28
 
29
29
  import type {
30
30
  TreeBrowserButtonProps,
@@ -63,7 +63,10 @@ type PropKeys = keyof TreeBrowserNodeOwnProps
63
63
  type AllowedPropKeys = Readonly<Array<PropKeys>>
64
64
 
65
65
  type TreeBrowserNodeProps = TreeBrowserNodeOwnProps &
66
- WithStyleProps<TreeBrowserButtonTheme, TreeBrowserButtonStyle>
66
+ WithStyleProps<
67
+ ReturnType<NewComponentTypes['TreeBrowserTreeButton']>,
68
+ TreeBrowserButtonStyle
69
+ >
67
70
  const allowedProps: AllowedPropKeys = [
68
71
  'id',
69
72
  'size',
@@ -22,8 +22,8 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- import type { TreeBrowserTheme } from '@instructure/shared-types'
26
25
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
26
+ import type { NewComponentTypes } from '@instructure/ui-themes'
27
27
  import React, { ReactElement } from 'react'
28
28
  import type { TreeBrowserButtonProps } from './TreeButton/props'
29
29
  import { Renderable } from '@instructure/shared-types'
@@ -141,7 +141,7 @@ type AllowedPropKeys = Readonly<Array<PropKeys>>
141
141
  // For now it doesn't need the OtherHTMLAttributes, because the extra props
142
142
  // get passed to TreeCollection and it doesn't handle them
143
143
  type TreeBrowserProps = TreeBrowserOwnProps &
144
- WithStyleProps<TreeBrowserTheme, TreeBrowserStyle>
144
+ WithStyleProps<ReturnType<NewComponentTypes['TreeBrowser']>, TreeBrowserStyle>
145
145
 
146
146
  type TreeBrowserStyle = ComponentStyle<'treeBrowser'>
147
147