@adiba-banking-cloud/backoffice 0.0.16 → 0.0.17
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/build/index.cjs.js/index.js +218 -231
- package/build/index.esm.js/index.js +217 -228
- package/build/typings/components/general/title/Title.d.ts +1 -3
- package/build/typings/components/general/title/Title.stories.d.ts +2 -2
- package/build/typings/components/general/title/Title.types.d.ts +5 -4
- package/build/typings/components/index.d.ts +1 -1
- package/build/typings/components/panels/label/LabelItem.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { PageTitleProps
|
|
2
|
+
import { PageTitleProps } from "./Title.types";
|
|
3
3
|
export declare const PageTitle: React.FC<PageTitleProps>;
|
|
4
|
-
export declare const PageTitleWithCreate: React.FC<PageTitleWithCreateProps>;
|
|
5
|
-
export declare const PageTitleWithSwitcher: React.FC<PageTitleWithSwitcherProps>;
|
|
@@ -6,6 +6,6 @@ declare const _default: Meta<typeof PageTitle>;
|
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const SimplePageTitle: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").PageTitleProps>;
|
|
8
8
|
export declare const BreadcrumbsPageTitle: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").PageTitleProps>;
|
|
9
|
-
export declare const CreateButtonOnPageTitle: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").
|
|
10
|
-
export declare const SwitcherOnPageTitle: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").
|
|
9
|
+
export declare const CreateButtonOnPageTitle: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").PageTitleProps>;
|
|
10
|
+
export declare const SwitcherOnPageTitle: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").PageTitleProps>;
|
|
11
11
|
export declare const CardTitleWithIndex: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Title.types").TitleWithIndexProps>;
|
|
@@ -4,11 +4,12 @@ export interface PageTitleProps extends TitleProps {
|
|
|
4
4
|
title: string;
|
|
5
5
|
subtitle?: string | BreadCrumbItemProps[];
|
|
6
6
|
rightsection?: React.ReactNode;
|
|
7
|
+
create?: CreateButtonProps;
|
|
8
|
+
switcher?: SwitcherProps;
|
|
9
|
+
withSwitcher: boolean;
|
|
10
|
+
withCreate: boolean;
|
|
7
11
|
}
|
|
8
|
-
export interface
|
|
9
|
-
create: CreateButtonProps;
|
|
10
|
-
}
|
|
11
|
-
export interface PageTitleWithSwitcherProps extends PageTitleProps {
|
|
12
|
+
export interface SwitcherProps {
|
|
12
13
|
items: string[];
|
|
13
14
|
value?: string;
|
|
14
15
|
onChange?: () => void;
|
|
@@ -7,7 +7,7 @@ export { SideMenu } from "./menus/side/Side";
|
|
|
7
7
|
export { SimplePanel, SearchPanel, TitledPanel } from "./panels/simple/Simple";
|
|
8
8
|
export { LabelPanel, AvatarLabelPanel } from "./panels/label/Label";
|
|
9
9
|
export { SimpleText } from './general/text/Text';
|
|
10
|
-
export { PageTitle
|
|
10
|
+
export { PageTitle } from "./general/title/Title";
|
|
11
11
|
export { ConnectionPanel } from "./panels/connection/Connection";
|
|
12
12
|
export { ApplicationPanel } from "./panels/application/Application";
|
|
13
13
|
export { SubscriptionPlans } from "./widgets/subscription_plan/SubscriptionPlan";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adiba-banking-cloud/backoffice",
|
|
3
3
|
"author": "TUROG Technologies",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.17",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|