@inceptionbg/iui 2.0.28 → 2.0.31

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.
Files changed (84) hide show
  1. package/dist/NoAccessPage-BHCAfL2g.js +2 -0
  2. package/dist/{NoAccessPage-DTPU8bP2.js.map → NoAccessPage-BHCAfL2g.js.map} +1 -1
  3. package/dist/NotFoundPage-BD3WL_BG.js +2 -0
  4. package/dist/{NotFoundPage-PZunMooy.js.map → NotFoundPage-BD3WL_BG.js.map} +1 -1
  5. package/dist/index.d.ts +16 -5
  6. package/dist/index.js +1 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/iui.css +1 -1
  9. package/package.json +8 -12
  10. package/rollup.config.js +5 -29
  11. package/src/components/Accordions/Accordions.tsx +1 -2
  12. package/src/components/Dashboard/DashboardWidget.tsx +1 -1
  13. package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +1 -2
  14. package/src/components/Dialog/Dialog.tsx +20 -11
  15. package/src/components/Dialog/components/DialogFooter.tsx +1 -1
  16. package/src/components/Header/Components/EnvBadge.tsx +1 -1
  17. package/src/components/Header/Components/Notifications.tsx +5 -3
  18. package/src/components/Inputs/DateInput/DateInput.tsx +1 -1
  19. package/src/components/Inputs/InputWrapper.tsx +1 -1
  20. package/src/components/Inputs/PasswordInput.tsx +1 -2
  21. package/src/components/Inputs/SearchInput.tsx +1 -1
  22. package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +1 -1
  23. package/src/components/Pullover/Pullover.tsx +2 -2
  24. package/src/components/Sidebar/SidebarItem.tsx +1 -1
  25. package/src/components/Table/components/columns/TableColumnsEdit.tsx +1 -1
  26. package/src/components/Table/components/edit/TableEditRow.tsx +1 -1
  27. package/src/components/Table/components/filters/TableFilters.tsx +1 -1
  28. package/src/components/Table/components/items/TableItemActions.tsx +1 -1
  29. package/src/components/Table/components/print/TablePrint.tsx +1 -1
  30. package/src/components/Table/components/select/TableSelect.tsx +1 -1
  31. package/src/components/Table/components/sort/TableSort.tsx +5 -3
  32. package/src/components/Table/components/templates/TableTemplates.tsx +1 -1
  33. package/src/components/Table/components/templates/TemplatesPullover.tsx +1 -1
  34. package/src/components/Tree/TreeItem.tsx +1 -1
  35. package/src/components/Wrappers/PageLayout.tsx +8 -4
  36. package/src/hooks/useLocalPopoverControl.ts +53 -19
  37. package/src/styles/common/helpers/_base.scss +6 -2
  38. package/src/styles/components/_button.scss +1 -1
  39. package/src/styles/components/_inputCheckbox.scss +0 -57
  40. package/src/styles/components/_pullover.scss +1 -5
  41. package/src/styles/components/_table.scss +13 -0
  42. package/dist/NoAccessPage-DTPU8bP2.js +0 -2
  43. package/dist/NotFoundPage-PZunMooy.js +0 -2
  44. package/dist/icons/index.d.ts +0 -55
  45. package/dist/icons/index.js +0 -1
  46. package/src/assets/icons/index.ts +0 -26
  47. package/src/assets/icons/light/faArrowDownShortWide.ts +0 -15
  48. package/src/assets/icons/light/faArrowDownWideShort.ts +0 -15
  49. package/src/assets/icons/light/faArrowLeft.ts +0 -15
  50. package/src/assets/icons/light/faArrowRight.ts +0 -15
  51. package/src/assets/icons/light/faArrowUpArrowDown.ts +0 -15
  52. package/src/assets/icons/light/faArrowUpRightFromSquare.ts +0 -15
  53. package/src/assets/icons/light/faArrowsToLine.ts +0 -15
  54. package/src/assets/icons/light/faArrowsUpDown.ts +0 -15
  55. package/src/assets/icons/light/faBell.ts +0 -15
  56. package/src/assets/icons/light/faBookmark.ts +0 -15
  57. package/src/assets/icons/light/faBookmarkSlash.ts +0 -15
  58. package/src/assets/icons/light/faCalendarPlus.ts +0 -15
  59. package/src/assets/icons/light/faCheck.ts +0 -15
  60. package/src/assets/icons/light/faChevronDown.ts +0 -15
  61. package/src/assets/icons/light/faChevronRight.ts +0 -15
  62. package/src/assets/icons/light/faCircleCheck.ts +0 -15
  63. package/src/assets/icons/light/faCircleInfo.ts +0 -15
  64. package/src/assets/icons/light/faCircleXmark.ts +0 -15
  65. package/src/assets/icons/light/faClipboardCheck.ts +0 -15
  66. package/src/assets/icons/light/faClockRotateLeft.ts +0 -15
  67. package/src/assets/icons/light/faEllipsisVertical.ts +0 -15
  68. package/src/assets/icons/light/faEnvelope.ts +0 -15
  69. package/src/assets/icons/light/faEye.ts +0 -15
  70. package/src/assets/icons/light/faEyeSlash.ts +0 -15
  71. package/src/assets/icons/light/faFilter.ts +0 -15
  72. package/src/assets/icons/light/faGear.ts +0 -15
  73. package/src/assets/icons/light/faHouse.ts +0 -15
  74. package/src/assets/icons/light/faIdBadge.ts +0 -15
  75. package/src/assets/icons/light/faLineColumns.ts +0 -15
  76. package/src/assets/icons/light/faLink.ts +0 -15
  77. package/src/assets/icons/light/faMagnifyingGlass.ts +0 -15
  78. package/src/assets/icons/light/faPen.ts +0 -15
  79. package/src/assets/icons/light/faPrint.ts +0 -15
  80. package/src/assets/icons/light/faQuestion.ts +0 -15
  81. package/src/assets/icons/light/faRotateRight.ts +0 -15
  82. package/src/assets/icons/light/faTrashCan.ts +0 -15
  83. package/src/assets/icons/light/faTriangleExclamation.ts +0 -15
  84. 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
- interface Props$k {
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: () => number;
1270
+ onClose: () => NodeJS.Timeout;
1260
1271
  };
1261
1272
 
1262
1273
  declare const useOnEsc: (onEsc: () => void, disabled?: boolean) => void;