@interopio/home-ui-react 1.1.1 → 1.2.0
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/common/types.d.ts +8 -0
- package/constants/sortOrder.d.ts +5 -0
- package/constants/storageKeys.d.ts +3 -2
- package/decoders/base.d.ts +2 -0
- package/decoders/config.d.ts +3 -0
- package/decoders/user.d.ts +3 -0
- package/helpers/sort.d.ts +11 -0
- package/hooks/useIsBrowserSupported.d.ts +1 -0
- package/index.css +1 -1
- package/index.d.ts +12 -8
- package/index.js +17 -12
- package/index.js.map +1 -1
- package/index.mjs +6353 -4606
- package/index.mjs.map +1 -1
- package/lib/applications-section/applications-section.d.ts +2 -1
- package/lib/applications-section/helpers.d.ts +2 -1
- package/lib/applications-section/types.d.ts +4 -0
- package/lib/base-section/base-section-header.d.ts +3 -0
- package/lib/base-section/base-section.d.ts +1 -1
- package/lib/base-section/types.d.ts +13 -3
- package/lib/browser-not-supported/additional-information.d.ts +5 -0
- package/lib/browser-not-supported/browser-not-supported.d.ts +11 -0
- package/lib/browser-not-supported/constants.d.ts +6 -0
- package/lib/favorites-section/favorites-section.d.ts +2 -1
- package/lib/favorites-section/helpers.d.ts +2 -2
- package/lib/home-app-workspace/home-app-workspace-logo-area.d.ts +1 -0
- package/lib/home-app-workspace/home-app-workspace.d.ts +9 -0
- package/lib/home-app-workspace/index.d.ts +2 -0
- package/lib/home-app-workspace/workspace-components-context.d.ts +10 -0
- package/lib/home-app-workspace/workspace-logo.d.ts +10 -0
- package/lib/icon-components/google-chrome-icon.d.ts +2 -0
- package/lib/icon-components/index.d.ts +3 -0
- package/lib/icon-components/microsoft-edge-icon.d.ts +2 -0
- package/lib/icon-components/opera-icon.d.ts +2 -0
- package/lib/info-card/info-card.d.ts +10 -0
- package/lib/info-page-container/info-page-container.d.ts +10 -0
- package/lib/io-connect-home/auth0-login-home.d.ts +8 -0
- package/lib/io-connect-home/helpers.d.ts +2 -0
- package/lib/io-connect-home/home-app.d.ts +2 -0
- package/lib/io-connect-home/io-connect-home.d.ts +2 -0
- package/lib/io-connect-home/no-login-home.d.ts +2 -0
- package/lib/io-connect-home/simple-login-home.d.ts +8 -0
- package/lib/io-connect-home/types.d.ts +56 -0
- package/lib/launchpad/default-sections.d.ts +2 -0
- package/lib/launchpad/launchpad.d.ts +4 -6
- package/lib/launchpad/types.d.ts +16 -0
- package/lib/layouts-panel/types.d.ts +1 -0
- package/lib/loader/index.d.ts +1 -0
- package/lib/loader/loader.d.ts +2 -0
- package/lib/login/auth0/auth0-login-form.d.ts +4 -0
- package/lib/login/auth0/auth0-login-page.d.ts +9 -0
- package/lib/login/index.d.ts +5 -3
- package/lib/login/login-heading.d.ts +1 -2
- package/lib/login/login-logo.d.ts +1 -2
- package/lib/login/logout-page.d.ts +7 -0
- package/lib/login/simple/reducers.d.ts +2 -0
- package/lib/login/simple/simple-login-form.d.ts +10 -0
- package/lib/login/simple/simple-login-page.d.ts +8 -0
- package/lib/login/types.d.ts +5 -8
- package/lib/login/verifying-credentials.d.ts +1 -0
- package/lib/panels/launchpad-slide-panel.d.ts +5 -7
- package/lib/panels/slide-panel.d.ts +1 -1
- package/lib/section/section.d.ts +1 -1
- package/lib/user-panel/support-card.d.ts +11 -0
- package/lib/user-panel/user-details-card.d.ts +6 -0
- package/lib/user-panel/user-panel-icon.d.ts +6 -0
- package/lib/user-panel/user-panel.d.ts +7 -0
- package/lib/workspaces-section/helpers.d.ts +2 -1
- package/lib/workspaces-section/workspaces-section.d.ts +2 -1
- package/package.json +4 -6
- package/lib/launchpad/features/profile-settings/profile-icon.d.ts +0 -6
- package/lib/launchpad/features/profile-settings/profile-settings.d.ts +0 -9
- package/lib/login/login-auth0.d.ts +0 -6
- package/lib/login/login-form.d.ts +0 -11
- package/lib/login/login-loader.d.ts +0 -3
- package/lib/login/login.d.ts +0 -8
- package/lib/login/reducers.d.ts +0 -3
- package/lib/permissions-setup/permissions-card.d.ts +0 -10
- package/lib/profile-details-card/profile-details-card.d.ts +0 -8
- package/lib/support-card/support-card.d.ts +0 -9
- /package/lib/{settings-card → user-panel}/settings-card.d.ts +0 -0
package/common/types.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import { SORT_ORDER } from '../constants/sortOrder';
|
|
2
|
+
import { PaginationSettings } from '../lib/base-section/types';
|
|
1
3
|
import { SectionItemType } from '../lib/section/types';
|
|
2
4
|
export type FavoriteEntity = Omit<SectionItemType, 'isOpen'>;
|
|
5
|
+
export type SortOrder = (typeof SORT_ORDER)[keyof typeof SORT_ORDER];
|
|
6
|
+
export type SortCompareFunction<Type> = (a: Type, b: Type) => number;
|
|
7
|
+
export type DefaultSectionProps = {
|
|
8
|
+
isSectionCollapsible?: boolean;
|
|
9
|
+
sortOrder?: SortOrder;
|
|
10
|
+
} & PaginationSettings;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export declare const SELECTED_LAYOUT_SESSION_STORAGE_KEY = "
|
|
2
|
-
export declare const FAVORITE_ENTITIES_LOCAL_STORAGE_KEY = "
|
|
1
|
+
export declare const SELECTED_LAYOUT_SESSION_STORAGE_KEY = "interopio_home_ui_selected_layout";
|
|
2
|
+
export declare const FAVORITE_ENTITIES_LOCAL_STORAGE_KEY = "interopio_home_ui_favorite_entities";
|
|
3
|
+
export declare const USER_LOCAL_STORAGE_KEY = "interopio_home_ui_user";
|
package/decoders/base.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FavoriteEntity, SortCompareFunction, SortOrder } from '../common/types';
|
|
2
|
+
import { Workspace } from '../lib/workspaces-section/types';
|
|
3
|
+
export declare const collator: Intl.Collator;
|
|
4
|
+
export declare const ascendingTitleCompare: SortCompareFunction<FavoriteEntity | Workspace>;
|
|
5
|
+
export declare const descendingTitleCompare: SortCompareFunction<FavoriteEntity | Workspace>;
|
|
6
|
+
export declare const sortItems: <Type>(config: {
|
|
7
|
+
items: Type[];
|
|
8
|
+
sortOrder: SortOrder;
|
|
9
|
+
ascendingCompare: SortCompareFunction<Type>;
|
|
10
|
+
descendingCompare: SortCompareFunction<Type>;
|
|
11
|
+
}) => Type[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIsBrowserSupported: () => boolean;
|