@epam/ai-dial-ui-kit 0.4.0-rc.17 → 0.4.0-rc.19

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.
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode, MouseEvent } from 'react';
2
2
  export interface DialCollapsibleSidebarProps {
3
3
  children: ReactNode;
4
- width: number;
4
+ width?: number;
5
5
  title: string;
6
6
  titleCssClass?: string;
7
7
  containerCssClass?: string;
@@ -30,7 +30,7 @@ export interface DialCollapsibleSidebarProps {
30
30
  * ```
31
31
  *
32
32
  * @param children - The content to display inside the collapsible bar when expanded
33
- * @param width - The width of the bar when expanded
33
+ * @param [width = 280] - The width of the bar when expanded
34
34
  * @param title - The title displayed when the bar is collapsed
35
35
  * @param [titleCssClass] - Additional CSS classes applied to the title element
36
36
  * @param [containerCssClass] - Additional CSS classes applied to the container element
@@ -5,5 +5,5 @@ export declare const contentGridClasses = "flex flex-col flex-1 min-h-0 min-w-0
5
5
  export declare const contentHeaderClasses = "items-center";
6
6
  export declare const treeBaseClasses = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0";
7
7
  export declare const gridBaseClasses = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0";
8
- export declare const sidebarWidth = 360;
8
+ export declare const sidebarWidth = 280;
9
9
  export declare const sidebarTitleDefault = "Files";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.4.0-rc.17",
3
+ "version": "0.4.0-rc.19",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",