dfh-ui-library 1.13.6 → 1.13.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ArrowDropDown/ArrowDropDown.d.ts +2 -0
- package/dist/cjs/types/components/NavBar/NavBar.d.ts +1 -1
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput3.d.ts +6 -0
- package/dist/cjs/types/components/PhoneNumberInput/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/shared/models/components/common.model.d.ts +8 -2
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ArrowDropDown/ArrowDropDown.d.ts +2 -0
- package/dist/esm/types/components/NavBar/NavBar.d.ts +1 -1
- package/dist/esm/types/components/PhoneNumberInput/PhoneNumberInput3.d.ts +6 -0
- package/dist/esm/types/components/PhoneNumberInput/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +8 -2
- package/dist/index.d.ts +12 -4
- package/package.json +1 -1
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
|
+
import { AccountPopoverMenuItem } from "../../shared/models/components/common.model";
|
2
3
|
interface ArrowDropdownProps {
|
3
4
|
username?: string;
|
4
5
|
themeColor?: string;
|
5
6
|
handleLogout?: () => void;
|
6
7
|
userImage?: string;
|
8
|
+
accountPopoverMenuItems?: AccountPopoverMenuItem[];
|
7
9
|
}
|
8
10
|
declare const ArrowDropdown: React.FC<ArrowDropdownProps>;
|
9
11
|
export default ArrowDropdown;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { TabNavigationProps } from "../../shared/models/components/common.model";
|
3
|
-
declare const NavBar: ({ navigationData, additionalClasses, navItemClick,
|
3
|
+
declare const NavBar: ({ navigationData, additionalClasses, navItemClick, userImage, username, themeColor, accountPopoverMenuItems }: TabNavigationProps) => React.JSX.Element;
|
4
4
|
export default NavBar;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { PhoneNumberInputProps } from "../../shared/models/components/common.model";
|
3
|
+
import 'react-phone-number-input/style.css';
|
4
|
+
import './phoneInput.css';
|
5
|
+
declare const PhoneNumberInput3: React.FC<PhoneNumberInputProps>;
|
6
|
+
export default PhoneNumberInput3;
|
@@ -14,7 +14,7 @@ export { default as ImagePreview } from "./ImagePreview";
|
|
14
14
|
export { default as DatePicker } from "./Datepicker";
|
15
15
|
export { default as InputDatePicker } from "./InputDatepicker";
|
16
16
|
export { Row } from "./core";
|
17
|
-
export { PhoneNumberInput, PhoneNumberInput2 } from "./PhoneNumberInput";
|
17
|
+
export { PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3 } from "./PhoneNumberInput";
|
18
18
|
export { Tooltip } from "./Tooltip";
|
19
19
|
export { default as DialogBox } from "../components/core/DialogBox";
|
20
20
|
export { default as Modal } from "../components/Modal";
|
@@ -2,7 +2,7 @@ import "./index.css";
|
|
2
2
|
export * from "./components";
|
3
3
|
export * from "./hooks";
|
4
4
|
export { VariantTypes, BorderType, LogoProps, } from "./shared/models/components/base.model";
|
5
|
-
export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, } from "./shared/models/components/common.model";
|
5
|
+
export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, AccountPopoverMenuItem } from "./shared/models/components/common.model";
|
6
6
|
export { ColumnDef, SortingState } from "@tanstack/react-table";
|
7
7
|
export { usePagination } from "./hooks/usePagination";
|
8
8
|
export { useSorting } from "./hooks/useSorting";
|
@@ -96,14 +96,20 @@ export interface FileNameProps {
|
|
96
96
|
name: string;
|
97
97
|
ext: string;
|
98
98
|
}
|
99
|
+
export interface AccountPopoverMenuItem {
|
100
|
+
label: string;
|
101
|
+
onClick: () => void;
|
102
|
+
isVisible: boolean;
|
103
|
+
isDisabled?: boolean;
|
104
|
+
additionalClasses?: string;
|
105
|
+
}
|
99
106
|
export interface TabNavigationProps extends AdditionalClassesProp {
|
100
107
|
navigationData: any[];
|
101
108
|
navItemClick?: (url?: string) => void;
|
102
|
-
isEnableLogout?: boolean;
|
103
|
-
handleLogout?: () => void;
|
104
109
|
userImage?: string;
|
105
110
|
username?: string;
|
106
111
|
themeColor?: string;
|
112
|
+
accountPopoverMenuItems?: AccountPopoverMenuItem[];
|
107
113
|
}
|
108
114
|
export interface TabNavItemProps {
|
109
115
|
isActive: boolean;
|
package/dist/index.d.ts
CHANGED
@@ -82,14 +82,20 @@ interface FileNameProps {
|
|
82
82
|
name: string;
|
83
83
|
ext: string;
|
84
84
|
}
|
85
|
+
interface AccountPopoverMenuItem {
|
86
|
+
label: string;
|
87
|
+
onClick: () => void;
|
88
|
+
isVisible: boolean;
|
89
|
+
isDisabled?: boolean;
|
90
|
+
additionalClasses?: string;
|
91
|
+
}
|
85
92
|
interface TabNavigationProps extends AdditionalClassesProp$1 {
|
86
93
|
navigationData: any[];
|
87
94
|
navItemClick?: (url?: string) => void;
|
88
|
-
isEnableLogout?: boolean;
|
89
|
-
handleLogout?: () => void;
|
90
95
|
userImage?: string;
|
91
96
|
username?: string;
|
92
97
|
themeColor?: string;
|
98
|
+
accountPopoverMenuItems?: AccountPopoverMenuItem[];
|
93
99
|
}
|
94
100
|
interface MessageProps {
|
95
101
|
type: string;
|
@@ -1366,7 +1372,7 @@ declare const Logo: React__default.FC<LogoProps>;
|
|
1366
1372
|
|
1367
1373
|
declare const LoadingSpinner: React__default.FC<AdditionalClassesProp$1>;
|
1368
1374
|
|
1369
|
-
declare const NavBar: ({ navigationData, additionalClasses, navItemClick,
|
1375
|
+
declare const NavBar: ({ navigationData, additionalClasses, navItemClick, userImage, username, themeColor, accountPopoverMenuItems }: TabNavigationProps) => React__default.JSX.Element;
|
1370
1376
|
|
1371
1377
|
declare const Message: ({ type, text, onClose }: MessageProps) => React__default.JSX.Element | undefined;
|
1372
1378
|
|
@@ -1388,6 +1394,8 @@ declare const PhoneNumberInput: React__default.FC<PhoneNumberInputProps>;
|
|
1388
1394
|
|
1389
1395
|
declare const PhoneNumberInput2: React__default.FC<PhoneNumberInputProps>;
|
1390
1396
|
|
1397
|
+
declare const PhoneNumberInput3: React__default.FC<PhoneNumberInputProps>;
|
1398
|
+
|
1391
1399
|
/**
|
1392
1400
|
* Primary UI component for Tooltip
|
1393
1401
|
*/
|
@@ -1892,4 +1900,4 @@ declare const themeConfigs: {
|
|
1892
1900
|
plugins: any[];
|
1893
1901
|
};
|
1894
1902
|
|
1895
|
-
export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, type NoteChildrenProps, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PhoneNumberInput2, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
1903
|
+
export { type AccountPopoverMenuItem, BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, type NoteChildrenProps, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|