@instructure/ui-tree-browser 11.7.3-snapshot-4 → 11.7.3-snapshot-7
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 +1 -1
- package/package.json +11 -11
- package/src/TreeBrowser/v2/TreeButton/props.ts +5 -2
- package/src/TreeBrowser/v2/TreeCollection/props.ts +5 -2
- package/src/TreeBrowser/v2/TreeNode/props.ts +5 -2
- package/src/TreeBrowser/v2/props.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/TreeBrowser/v2/TreeButton/props.d.ts +2 -2
- package/types/TreeBrowser/v2/TreeButton/props.d.ts.map +1 -1
- package/types/TreeBrowser/v2/TreeCollection/props.d.ts +2 -2
- package/types/TreeBrowser/v2/TreeCollection/props.d.ts.map +1 -1
- package/types/TreeBrowser/v2/TreeNode/props.d.ts +2 -2
- package/types/TreeBrowser/v2/TreeNode/props.d.ts.map +1 -1
- package/types/TreeBrowser/v2/props.d.ts +2 -2
- package/types/TreeBrowser/v2/props.d.ts.map +1 -1
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-
|
|
6
|
+
## [11.7.3-snapshot-7](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-7) (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-
|
|
3
|
+
"version": "11.7.3-snapshot-7",
|
|
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-
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-react-utils": "11.7.3-snapshot-
|
|
23
|
-
"@instructure/ui-img": "11.7.3-snapshot-
|
|
24
|
-
"@instructure/ui-
|
|
19
|
+
"@instructure/emotion": "11.7.3-snapshot-7",
|
|
20
|
+
"@instructure/shared-types": "11.7.3-snapshot-7",
|
|
21
|
+
"@instructure/ui-icons": "11.7.3-snapshot-7",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.3-snapshot-7",
|
|
23
|
+
"@instructure/ui-img": "11.7.3-snapshot-7",
|
|
24
|
+
"@instructure/ui-themes": "11.7.3-snapshot-7",
|
|
25
|
+
"@instructure/ui-utils": "11.7.3-snapshot-7"
|
|
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-
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-themes": "11.7.3-snapshot-4"
|
|
31
|
+
"@instructure/ui-babel-preset": "11.7.3-snapshot-7",
|
|
32
|
+
"@instructure/ui-color-utils": "11.7.3-snapshot-7",
|
|
33
|
+
"@instructure/ui-axe-check": "11.7.3-snapshot-7"
|
|
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 {
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
144
|
+
WithStyleProps<ReturnType<NewComponentTypes['TreeBrowser']>, TreeBrowserStyle>
|
|
145
145
|
|
|
146
146
|
type TreeBrowserStyle = ComponentStyle<'treeBrowser'>
|
|
147
147
|
|