@inceptionbg/iui 2.0.29 → 2.0.32
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/NoAccessPage-BHCAfL2g.js +2 -0
- package/dist/{NoAccessPage-DTPU8bP2.js.map → NoAccessPage-BHCAfL2g.js.map} +1 -1
- package/dist/NotFoundPage-BD3WL_BG.js +2 -0
- package/dist/{NotFoundPage-PZunMooy.js.map → NotFoundPage-BD3WL_BG.js.map} +1 -1
- package/dist/index.d.ts +16 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/package.json +8 -12
- package/rollup.config.js +5 -29
- package/src/components/Accordions/Accordions.tsx +1 -2
- package/src/components/Dashboard/DashboardWidget.tsx +1 -1
- package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +1 -2
- package/src/components/Dialog/Dialog.tsx +20 -11
- package/src/components/Header/Components/Notifications.tsx +5 -3
- package/src/components/Inputs/DateInput/DateInput.tsx +1 -1
- package/src/components/Inputs/InputWrapper.tsx +1 -1
- package/src/components/Inputs/PasswordInput.tsx +1 -2
- package/src/components/Inputs/SearchInput.tsx +1 -1
- package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +1 -1
- package/src/components/Loader/Loader.tsx +7 -0
- package/src/components/Pullover/Pullover.tsx +1 -1
- package/src/components/Sidebar/SidebarItem.tsx +1 -1
- package/src/components/Table/components/columns/TableColumnsEdit.tsx +1 -1
- package/src/components/Table/components/edit/TableEditRow.tsx +1 -1
- package/src/components/Table/components/filters/TableFilters.tsx +1 -1
- package/src/components/Table/components/items/TableItemActions.tsx +1 -1
- package/src/components/Table/components/print/TablePrint.tsx +1 -1
- package/src/components/Table/components/select/TableSelect.tsx +1 -1
- package/src/components/Table/components/sort/TableSort.tsx +5 -3
- package/src/components/Table/components/templates/TableTemplates.tsx +1 -1
- package/src/components/Table/components/templates/TemplatesPullover.tsx +1 -1
- package/src/components/Tree/TreeItem.tsx +1 -1
- package/src/components/Wrappers/PageLayout.tsx +1 -2
- package/src/hooks/useLocalPopoverControl.ts +49 -19
- package/src/styles/components/_button.scss +1 -1
- package/src/styles/components/_inputCheckbox.scss +0 -57
- package/src/styles/components/_loader.scss +9 -0
- package/dist/NoAccessPage-DTPU8bP2.js +0 -2
- package/dist/NotFoundPage-PZunMooy.js +0 -2
- package/dist/icons/index.d.ts +0 -55
- package/dist/icons/index.js +0 -1
- package/src/assets/icons/index.ts +0 -26
- package/src/assets/icons/light/faArrowDownShortWide.ts +0 -15
- package/src/assets/icons/light/faArrowDownWideShort.ts +0 -15
- package/src/assets/icons/light/faArrowLeft.ts +0 -15
- package/src/assets/icons/light/faArrowRight.ts +0 -15
- package/src/assets/icons/light/faArrowUpArrowDown.ts +0 -15
- package/src/assets/icons/light/faArrowUpRightFromSquare.ts +0 -15
- package/src/assets/icons/light/faArrowsToLine.ts +0 -15
- package/src/assets/icons/light/faArrowsUpDown.ts +0 -15
- package/src/assets/icons/light/faBell.ts +0 -15
- package/src/assets/icons/light/faBookmark.ts +0 -15
- package/src/assets/icons/light/faBookmarkSlash.ts +0 -15
- package/src/assets/icons/light/faCalendarPlus.ts +0 -15
- package/src/assets/icons/light/faCheck.ts +0 -15
- package/src/assets/icons/light/faChevronDown.ts +0 -15
- package/src/assets/icons/light/faChevronRight.ts +0 -15
- package/src/assets/icons/light/faCircleCheck.ts +0 -15
- package/src/assets/icons/light/faCircleInfo.ts +0 -15
- package/src/assets/icons/light/faCircleXmark.ts +0 -15
- package/src/assets/icons/light/faClipboardCheck.ts +0 -15
- package/src/assets/icons/light/faClockRotateLeft.ts +0 -15
- package/src/assets/icons/light/faEllipsisVertical.ts +0 -15
- package/src/assets/icons/light/faEnvelope.ts +0 -15
- package/src/assets/icons/light/faEye.ts +0 -15
- package/src/assets/icons/light/faEyeSlash.ts +0 -15
- package/src/assets/icons/light/faFilter.ts +0 -15
- package/src/assets/icons/light/faGear.ts +0 -15
- package/src/assets/icons/light/faHouse.ts +0 -15
- package/src/assets/icons/light/faIdBadge.ts +0 -15
- package/src/assets/icons/light/faLineColumns.ts +0 -15
- package/src/assets/icons/light/faLink.ts +0 -15
- package/src/assets/icons/light/faMagnifyingGlass.ts +0 -15
- package/src/assets/icons/light/faPen.ts +0 -15
- package/src/assets/icons/light/faPrint.ts +0 -15
- package/src/assets/icons/light/faQuestion.ts +0 -15
- package/src/assets/icons/light/faRotateRight.ts +0 -15
- package/src/assets/icons/light/faTrashCan.ts +0 -15
- package/src/assets/icons/light/faTriangleExclamation.ts +0 -15
- package/src/assets/icons/light/faXmark.ts +0 -15
package/dist/index.d.ts
CHANGED
|
@@ -701,14 +701,12 @@ interface IDialogFooterActions {
|
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
|
|
705
|
-
control: ILocalPopupControl;
|
|
704
|
+
type BaseProps = {
|
|
706
705
|
title?: string;
|
|
707
706
|
titleEl?: ReactNode;
|
|
708
707
|
desc?: string;
|
|
709
708
|
descEl?: ReactNode;
|
|
710
709
|
onFormSubmit?: () => void;
|
|
711
|
-
onCloseCallback?: () => void;
|
|
712
710
|
isLoading?: boolean;
|
|
713
711
|
footer?: IDialogFooterActions;
|
|
714
712
|
isKeyboardDisabled?: boolean;
|
|
@@ -719,7 +717,20 @@ interface Props$k {
|
|
|
719
717
|
className?: string;
|
|
720
718
|
classNameContent?: string;
|
|
721
719
|
children?: ReactNode;
|
|
722
|
-
}
|
|
720
|
+
};
|
|
721
|
+
type ImperativeDialogProps = {
|
|
722
|
+
control: ILocalPopupControl;
|
|
723
|
+
onCloseCallback?: () => void;
|
|
724
|
+
isOpen?: never;
|
|
725
|
+
onClose?: undefined;
|
|
726
|
+
};
|
|
727
|
+
type DeclarativeDialogProps = {
|
|
728
|
+
isOpen: boolean;
|
|
729
|
+
onClose: () => void;
|
|
730
|
+
control?: never;
|
|
731
|
+
onCloseCallback?: undefined;
|
|
732
|
+
};
|
|
733
|
+
type Props$k = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
|
|
723
734
|
declare const Dialog: FC<Props$k>;
|
|
724
735
|
|
|
725
736
|
interface Props$j {
|
|
@@ -1256,7 +1267,7 @@ declare const PageLayout: FC<IPageLayoutProps>;
|
|
|
1256
1267
|
declare const useIsMenuOpen: () => {
|
|
1257
1268
|
isOpen: boolean;
|
|
1258
1269
|
onOpen: () => void;
|
|
1259
|
-
onClose: () =>
|
|
1270
|
+
onClose: () => NodeJS.Timeout;
|
|
1260
1271
|
};
|
|
1261
1272
|
|
|
1262
1273
|
declare const useOnEsc: (onEsc: () => void, disabled?: boolean) => void;
|