Skip to content

Commit

Permalink
feat(nav-tree-group): pull requesst ajustments
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasMurtaVI committed Nov 22, 2024
1 parent f143090 commit 39ff009
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 11 deletions.
1 change: 1 addition & 0 deletions blip-ds-react/dist/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export declare const BdsModal: import("react").ForwardRefExoticComponent<JSX.Bds
export declare const BdsModalAction: import("react").ForwardRefExoticComponent<JSX.BdsModalAction & Omit<import("react").HTMLAttributes<HTMLBdsModalActionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsModalActionElement>>;
export declare const BdsModalCloseButton: import("react").ForwardRefExoticComponent<JSX.BdsModalCloseButton & Omit<import("react").HTMLAttributes<HTMLBdsModalCloseButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsModalCloseButtonElement>>;
export declare const BdsNavTree: import("react").ForwardRefExoticComponent<JSX.BdsNavTree & Omit<import("react").HTMLAttributes<HTMLBdsNavTreeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsNavTreeElement>>;
export declare const BdsNavTreeGroup: import("react").ForwardRefExoticComponent<JSX.BdsNavTreeGroup & Omit<import("react").HTMLAttributes<HTMLBdsNavTreeGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsNavTreeGroupElement>>;
export declare const BdsNavTreeItem: import("react").ForwardRefExoticComponent<JSX.BdsNavTreeItem & Omit<import("react").HTMLAttributes<HTMLBdsNavTreeItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsNavTreeItemElement>>;
export declare const BdsNavbar: import("react").ForwardRefExoticComponent<JSX.BdsNavbar & Omit<import("react").HTMLAttributes<HTMLBdsNavbarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsNavbarElement>>;
export declare const BdsNavbarContent: import("react").ForwardRefExoticComponent<JSX.BdsNavbarContent & Omit<import("react").HTMLAttributes<HTMLBdsNavbarContentElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBdsNavbarContentElement>>;
Expand Down
1 change: 1 addition & 0 deletions blip-ds-react/dist/components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blip-ds-react/dist/components.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ export namespace Components {
interface BdsNavTreeGroup {
"closeAll": (actNumber?: any) => Promise<void>;
/**
* Focus Selected. Used to add title in header accordion.
* Collapse. Used to set mode of iteraction of componente when navigate with menu. You can choose a option single or multiple.
*/
"collapse"?: collapses;
"openAll": (actNumber?: any) => Promise<void>;
Expand Down Expand Up @@ -2878,6 +2878,10 @@ export interface BdsNavTreeCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLBdsNavTreeElement;
}
export interface BdsNavTreeGroupCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLBdsNavTreeGroupElement;
}
export interface BdsNavTreeItemCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLBdsNavTreeItemElement;
Expand Down Expand Up @@ -5628,9 +5632,11 @@ declare namespace LocalJSX {
}
interface BdsNavTreeGroup {
/**
* Focus Selected. Used to add title in header accordion.
* Collapse. Used to set mode of iteraction of componente when navigate with menu. You can choose a option single or multiple.
*/
"collapse"?: collapses;
"onBdsNavTreeGroupCloseAll"?: (event: BdsNavTreeGroupCustomEvent<any>) => void;
"onBdsNavTreeGroupOpenAll"?: (event: BdsNavTreeGroupCustomEvent<any>) => void;
}
interface BdsNavTreeItem {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav-tree/nav-tree-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Story, ArgsTable, Canvas } from '@storybook/blocks';
import * as NavTreeGroupStories from './nav-tree-group.stories';
import { Meta, Title, Subtitle, Description, Primary, Controls, Stories, Source } from '@storybook/blocks';

# NavbarGroup
# Navbar Group


## Overview
Expand Down
Loading

0 comments on commit 39ff009

Please sign in to comment.