@epam/ai-dial-ui-kit 0.3.0 → 0.4.0-rc.1
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/dist/dial-ui-kit.cjs.js +2 -2
- package/dist/dial-ui-kit.es.js +152 -157
- package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +3 -1
- package/dist/src/components/{FileManagerNavigationPanel → FileManager/components/FileManagerNavigationPanel}/FileManagerNavigationPanel.d.ts +2 -2
- package/dist/src/components/{FoldersTree → FileManager/components/FoldersTree}/FoldersTree.d.ts +2 -2
- package/dist/src/components/Steps/utils.d.ts +1 -1
- package/dist/src/index.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/src/components/{FileManagerNavigationPanel → FileManager/components/FileManagerNavigationPanel}/constants.d.ts +0 -0
- /package/dist/src/components/{FoldersTree → FileManager/components/FoldersTree}/constants.d.ts +0 -0
|
@@ -7,6 +7,7 @@ export interface DialCollapsibleSidebarProps {
|
|
|
7
7
|
containerCssClass?: string;
|
|
8
8
|
iconSize?: number;
|
|
9
9
|
additionalButtons?: ReactNode;
|
|
10
|
+
iconStroke?: number;
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
13
|
* A collapsible horizontal bar component that allows toggling between an expanded and collapsed state.
|
|
@@ -31,7 +32,8 @@ export interface DialCollapsibleSidebarProps {
|
|
|
31
32
|
* @param title - The title displayed when the bar is collapsed
|
|
32
33
|
* @param [titleCssClass] - Additional CSS classes applied to the title element
|
|
33
34
|
* @param [containerCssClass] - Additional CSS classes applied to the container element
|
|
34
|
-
* @param [iconSize] - The size of the toggle icons. Defaults to
|
|
35
|
+
* @param [iconSize = 32] - The size of the toggle icons. Defaults to 32
|
|
36
|
+
* @param [iconStroke = 1.5] - The stroke width of the toggle icons. Defaults to 1.5
|
|
35
37
|
* @param [additionalButtons] - Additional buttons or elements displayed next to the toggle button when expanded
|
|
36
38
|
*/
|
|
37
39
|
export declare const DialCollapsibleSidebar: FC<DialCollapsibleSidebarProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { DialBreadcrumbProps } from '
|
|
3
|
-
import { DialSearchProps } from '
|
|
2
|
+
import { DialBreadcrumbProps } from '../../../Breadcrumb/Breadcrumb';
|
|
3
|
+
import { DialSearchProps } from '../../../Search/Search';
|
|
4
4
|
export interface DialFileManagerNavigationPanelProps extends Omit<DialBreadcrumbProps, 'pathItems' | 'children' | 'cssClass' | 'separator'>, Omit<DialSearchProps, 'onChange' | 'elementId' | 'value' | 'cssClass' | 'containerCssClass' | 'placeholder' | 'size'> {
|
|
5
5
|
path?: string;
|
|
6
6
|
makeHref?: (segments: string[], index: number) => string | undefined;
|
package/dist/src/components/{FoldersTree → FileManager/components/FoldersTree}/FoldersTree.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { DialFile } from '
|
|
3
|
-
import { DropdownItem } from '
|
|
2
|
+
import { DialFile } from '../../../../models/file';
|
|
3
|
+
import { DropdownItem } from '../../../../models/dropdown';
|
|
4
4
|
export interface DialFoldersTreeProps {
|
|
5
5
|
items: DialFile[];
|
|
6
6
|
expandedPaths?: Set<string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Step } from '../../models/step';
|
|
2
|
-
export declare const getStepClass: (step: Step, currentStepId: string) => "border-accent-secondary text-primary" | "border-red-900 text-primary" | "border-accent-primary text-primary" | "border-primary text-
|
|
2
|
+
export declare const getStepClass: (step: Step, currentStepId: string) => "border-accent-secondary text-primary" | "border-red-900 text-primary" | "border-accent-primary text-primary" | "border-primary text-primary" | "border-red-900 text-error" | "border-primary text-secondary";
|
|
3
3
|
export declare const getCircleClass: (step: Step, currentStepId: string) => "bg-accent-secondary" | "bg-red-400" | "bg-accent-primary" | "bg-layer-4";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export { DialPopup } from './components/Popup/Popup';
|
|
|
33
33
|
export { DialConfirmationPopup } from './components/ConfirmationPopup/ConfirmationPopup';
|
|
34
34
|
export { DialRadioGroupPopupField } from './components/RadioGroupPopupField/RadioGroupPopupField';
|
|
35
35
|
export { DialFormPopup } from './components/FormPopup/FormPopup';
|
|
36
|
-
export { DialFileManagerNavigationPanel } from './components/FileManagerNavigationPanel/FileManagerNavigationPanel';
|
|
36
|
+
export { DialFileManagerNavigationPanel } from './components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel';
|
|
37
37
|
export { DialInput } from './components/Input/Input';
|
|
38
38
|
export type { DialInputProps } from './components/Input/Input';
|
|
39
39
|
export { DialNumberInputField } from './components/InputField/InputField';
|
package/package.json
CHANGED
|
File without changes
|
/package/dist/src/components/{FoldersTree → FileManager/components/FoldersTree}/constants.d.ts
RENAMED
|
File without changes
|