@instructure/ui-tree-browser 11.7.2 → 11.7.3-snapshot-2

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.
@@ -9,7 +9,7 @@ id: TreeBrowser.Button
9
9
  **/
10
10
  declare class TreeButton extends Component<TreeBrowserButtonProps> {
11
11
  static readonly componentId = "TreeBrowser.Button";
12
- static allowedProps: readonly ("thumbnail" | "expanded" | keyof import("../props").TreeBrowserCommonProps | "id" | "name" | "descriptor" | "type" | "onClick" | "selected" | "focused" | "level" | "containerRef")[];
12
+ static allowedProps: readonly ("thumbnail" | "expanded" | "id" | "name" | "descriptor" | "type" | "onClick" | "selected" | "focused" | "level" | "containerRef" | keyof import("../props").TreeBrowserCommonProps)[];
13
13
  static contextType: import("react").Context<import("../TreeBrowserContext").TreeBrowserContextType>;
14
14
  context: ContextType<typeof TreeBrowserContext>;
15
15
  static defaultProps: {
@@ -11,7 +11,7 @@ id: TreeBrowser.Collection
11
11
  **/
12
12
  declare class TreeCollection extends Component<TreeBrowserCollectionProps, TreeCollectionState> {
13
13
  static readonly componentId = "TreeBrowser.Collection";
14
- static allowedProps: readonly ("collections" | "items" | "expanded" | "onItemClick" | "getItemProps" | "getCollectionProps" | "onCollectionClick" | keyof import("../props").TreeBrowserCommonProps | "level" | "position" | "onKeyDown" | "numChildren" | "selection" | "isCollectionFlattened" | "compareFunc" | keyof {
14
+ static allowedProps: readonly ("collections" | "items" | "expanded" | "selection" | "onItemClick" | "getItemProps" | "getCollectionProps" | "onCollectionClick" | "level" | "position" | "onKeyDown" | "numChildren" | "isCollectionFlattened" | "compareFunc" | keyof import("../props").TreeBrowserCommonProps | keyof {
15
15
  id: number | string;
16
16
  name: string;
17
17
  descriptor?: string;
@@ -11,7 +11,7 @@ declare class TreeButton extends Component<TreeBrowserButtonProps, {
11
11
  isHovered: boolean;
12
12
  }> {
13
13
  static readonly componentId = "TreeBrowser.Button";
14
- static allowedProps: readonly ("thumbnail" | "expanded" | "id" | "name" | "descriptor" | "type" | "onClick" | "selected" | "focused" | "level" | "containerRef" | keyof import("../props").TreeBrowserCommonProps | "hoverable")[];
14
+ static allowedProps: readonly ("thumbnail" | "expanded" | keyof import("../props").TreeBrowserCommonProps | "id" | "name" | "descriptor" | "type" | "onClick" | "selected" | "focused" | "level" | "containerRef" | "hoverable")[];
15
15
  static contextType: import("react").Context<import("../TreeBrowserContext").TreeBrowserContextType>;
16
16
  context: ContextType<typeof TreeBrowserContext>;
17
17
  static defaultProps: {
@@ -11,7 +11,7 @@ id: TreeBrowser.Collection
11
11
  **/
12
12
  declare class TreeCollection extends Component<TreeBrowserCollectionProps, TreeCollectionState> {
13
13
  static readonly componentId = "TreeBrowser.Collection";
14
- static allowedProps: readonly ("collections" | "items" | "expanded" | "onItemClick" | "getItemProps" | "getCollectionProps" | "onCollectionClick" | "level" | "position" | "onKeyDown" | "numChildren" | "selection" | "isCollectionFlattened" | "compareFunc" | keyof import("../props").TreeBrowserCommonProps | keyof {
14
+ static allowedProps: readonly ("collections" | "items" | "expanded" | "selection" | "onItemClick" | "getItemProps" | "getCollectionProps" | "onCollectionClick" | keyof import("../props").TreeBrowserCommonProps | "level" | "position" | "onKeyDown" | "numChildren" | "isCollectionFlattened" | "compareFunc" | keyof {
15
15
  id: number | string;
16
16
  name: string;
17
17
  descriptor?: string;
@@ -13,7 +13,7 @@ declare class TreeNode extends Component<TreeBrowserNodeProps, {
13
13
  isHovered: boolean;
14
14
  }> {
15
15
  static readonly componentId = "TreeBrowser.Node";
16
- static allowedProps: readonly ("thumbnail" | "size" | "variant" | "itemIcon" | "id" | "onClick" | "selected" | "focused" | "level" | "containerRef" | "children" | "onKeyDown" | "hoverable")[];
16
+ static allowedProps: readonly ("thumbnail" | "size" | "variant" | "itemIcon" | "id" | "onClick" | "selected" | "focused" | "level" | "containerRef" | "hoverable" | "children" | "onKeyDown")[];
17
17
  static contextType: import("react").Context<import("../TreeBrowserContext").TreeBrowserContextType>;
18
18
  context: ContextType<typeof TreeBrowserContext>;
19
19
  static defaultProps: {
@@ -10,7 +10,7 @@ category: components
10
10
  **/
11
11
  declare class TreeBrowser extends Component<TreeBrowserProps, TreeBrowserState> {
12
12
  static readonly componentId = "TreeBrowser";
13
- static allowedProps: readonly ("collections" | "items" | "rootId" | "expanded" | "defaultExpanded" | "selectionType" | "onCollectionToggle" | "onItemClick" | "showRootCollection" | "treeLabel" | "sortOrder" | "animation" | "getItemProps" | "getCollectionProps" | "onCollectionClick" | "selection" | "defaultSelection" | "onSelectionChange" | keyof import("./props").TreeBrowserCommonProps)[];
13
+ static allowedProps: readonly ("collections" | "items" | "rootId" | "expanded" | "defaultExpanded" | "selectionType" | "selection" | "defaultSelection" | "onSelectionChange" | "onCollectionToggle" | "onItemClick" | "showRootCollection" | "treeLabel" | "sortOrder" | "animation" | "getItemProps" | "getCollectionProps" | "onCollectionClick" | keyof import("./props").TreeBrowserCommonProps)[];
14
14
  static defaultProps: {
15
15
  size: string;
16
16
  variant: string;