@bluealba/pae-ui-react-core 4.5.0-feature-replace-eslint-prettier-b-299 → 4.5.1-develop-324

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 (45) hide show
  1. package/dist/index.cjs.js +46 -46
  2. package/dist/index.css +1 -1
  3. package/dist/index.esm.js +6526 -6588
  4. package/dist/index.systemjs.js +49 -49
  5. package/dist/index.umd.js +48 -48
  6. package/dist/src/components/ModulePlaceHolder/BaseContainer.d.ts +3 -2
  7. package/dist/src/components/ModulePlaceHolder/index.d.ts +1 -1
  8. package/dist/src/components/PAEModule.d.ts +2 -2
  9. package/dist/src/components/common/Alert/Alert.d.ts +2 -2
  10. package/dist/src/components/common/Alert/index.d.ts +1 -1
  11. package/dist/src/components/common/Dialog/Dialog.d.ts +4 -4
  12. package/dist/src/components/common/Dialog/index.d.ts +1 -1
  13. package/dist/src/components/common/DropdownList/index.d.ts +1 -1
  14. package/dist/src/components/common/ErrorState/ErrorState.d.ts +2 -1
  15. package/dist/src/components/common/ErrorState/WarningIcon.d.ts +2 -1
  16. package/dist/src/components/common/ErrorState/index.d.ts +1 -1
  17. package/dist/src/components/common/List/List.d.ts +7 -7
  18. package/dist/src/components/common/List/index.d.ts +1 -1
  19. package/dist/src/components/common/Pagination/Pagination.d.ts +2 -2
  20. package/dist/src/components/common/SearchAutocomplete/SearchAutocomplete.d.ts +2 -2
  21. package/dist/src/components/common/Select2/index.d.ts +2 -2
  22. package/dist/src/components/common/Skeleton/Skeleton.d.ts +2 -2
  23. package/dist/src/components/common/Table/Table.d.ts +1 -1
  24. package/dist/src/components/common/TextWithTooltip/TextWithTooltip.d.ts +1 -1
  25. package/dist/src/components/common/Tooltip/Tooltip.d.ts +1 -1
  26. package/dist/src/components/common/index.d.ts +47 -47
  27. package/dist/src/components/index.d.ts +3 -3
  28. package/dist/src/feature-flags/index.d.ts +2 -2
  29. package/dist/src/hocs/index.d.ts +1 -1
  30. package/dist/src/hooks/applications/useApplicationMenu.d.ts +1 -1
  31. package/dist/src/hooks/habits/mapEvent.d.ts +1 -1
  32. package/dist/src/hooks/habits/trackEvents.d.ts +1 -1
  33. package/dist/src/hooks/index.d.ts +22 -22
  34. package/dist/src/hooks/tenants/strategies/cookie.d.ts +2 -2
  35. package/dist/src/hooks/tenants/strategies/queryParams.d.ts +1 -1
  36. package/dist/src/hooks/tenants/strategies/sessionStorage.d.ts +1 -1
  37. package/dist/src/hooks/userState/UserStateApiClient.d.ts +2 -2
  38. package/dist/src/hooks/userState/useUserState.d.ts +1 -1
  39. package/dist/src/index.d.ts +8 -8
  40. package/dist/src/rooms/index.d.ts +3 -3
  41. package/dist/src/types.d.ts +4 -8
  42. package/dist/src/utils/immutable.d.ts +1 -1
  43. package/dist/src/utils/index.d.ts +3 -3
  44. package/package.json +2 -3
  45. package/src/global.css +3 -2
@@ -1,3 +1,4 @@
1
- export type BaseContainerProps = {};
2
- declare const BaseContainer: import('react').ForwardRefExoticComponent<import('react').RefAttributes<HTMLDivElement>>;
1
+ export interface BaseContainerProps {
2
+ }
3
+ declare const BaseContainer: import('react').ForwardRefExoticComponent<BaseContainerProps & import('react').RefAttributes<HTMLDivElement>>;
3
4
  export default BaseContainer;
@@ -1,2 +1,2 @@
1
- export * from './ModulePlaceHolder';
2
1
  export { ModulePlaceHolder } from './ModulePlaceHolder';
2
+ export * from './ModulePlaceHolder';
@@ -1,10 +1,10 @@
1
+ import { default as React, PropsWithChildren } from 'react';
1
2
  import { ModuleMetadata } from '@bluealba/pae-core';
2
- import { PropsWithChildren } from 'react';
3
3
 
4
4
  type Props = PropsWithChildren<{
5
5
  module: ModuleMetadata;
6
6
  }>;
7
- export declare const ModuleContext: import('react').Context<ModuleMetadata | null>;
7
+ export declare const ModuleContext: React.Context<ModuleMetadata | null>;
8
8
  /**
9
9
  * Root component for all PAE microfrontents.
10
10
  * All "rootComponent"'s from MF's get automatically wrapped with this component.
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
1
+ import * as React from "react";
2
2
  export interface TitleProps extends React.HTMLAttributes<HTMLDivElement> {
3
3
  }
4
4
  export interface DescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  }
6
6
  export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
7
- variant?: 'default' | 'destructive';
7
+ variant?: "default" | "destructive";
8
8
  }
9
9
  interface Component extends React.FC<AlertProps> {
10
10
  Title: typeof Title;
@@ -1,2 +1,2 @@
1
- export * from './Alert';
2
1
  export { default } from './Alert';
2
+ export * from './Alert';
@@ -1,11 +1,11 @@
1
1
  import { default as React, FC } from 'react';
2
- import { default as Actions } from './subComponents/Actions';
3
- import { default as Close } from './subComponents/Close';
2
+ import { default as Header } from './subComponents/Header';
4
3
  import { default as Content } from './subComponents/Content';
5
- import { default as Description } from './subComponents/Description';
6
4
  import { default as Footer } from './subComponents/Footer';
7
- import { default as Header } from './subComponents/Header';
8
5
  import { default as Title } from './subComponents/Title';
6
+ import { default as Close } from './subComponents/Close';
7
+ import { default as Actions } from './subComponents/Actions';
8
+ import { default as Description } from './subComponents/Description';
9
9
 
10
10
  export interface DialogProps {
11
11
  children: React.ReactNode;
@@ -1,2 +1,2 @@
1
- export * from './Dialog';
2
1
  export { default } from './Dialog';
2
+ export * from './Dialog';
@@ -1,3 +1,3 @@
1
- export * from './DropdownList';
2
1
  export { default } from './DropdownList';
2
+ export * from './DropdownList';
3
3
  export { default as styles } from './DropdownList.module.css';
@@ -1,6 +1,7 @@
1
1
  import { FC } from 'react';
2
2
 
3
- export type ErrorStateProps = {};
3
+ export interface ErrorStateProps {
4
+ }
4
5
  /**
5
6
  *
6
7
  */
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
 
3
- export type WarningIconProps = {};
3
+ export interface WarningIconProps {
4
+ }
4
5
  declare const WarningIcon: FC<WarningIconProps>;
5
6
  export default WarningIcon;
@@ -1,2 +1,2 @@
1
- export * from './ErrorState';
2
1
  export { default } from './ErrorState';
2
+ export * from './ErrorState';
@@ -1,15 +1,15 @@
1
1
  import { ForwardRefExoticComponent, HTMLAttributes } from 'react';
2
- import { default as Badge } from '../Badge/Badge';
3
- import { default as Badges } from '../Badge/Badges';
4
- import { default as Action } from './subComponents/Action';
5
- import { default as Actions } from './subComponents/Actions';
6
- import { default as Description } from './subComponents/Description';
7
- import { default as Icon } from './subComponents/Icon';
8
2
  import { default as Item } from './subComponents/Item';
9
3
  import { default as Title } from './subComponents/Title';
4
+ import { default as Description } from './subComponents/Description';
5
+ import { default as Actions } from './subComponents/Actions';
6
+ import { default as Action } from './subComponents/Action';
7
+ import { default as Icon } from './subComponents/Icon';
8
+ import { default as Badges } from '../Badge/Badges';
9
+ import { default as Badge } from '../Badge/Badge';
10
10
 
11
11
  export interface ListProps extends HTMLAttributes<HTMLUListElement> {
12
- variant?: 'primary' | 'secondary';
12
+ variant?: "primary" | "secondary";
13
13
  size?: 'small' | 'medium' | 'large';
14
14
  }
15
15
  interface Component extends ForwardRefExoticComponent<ListProps> {
@@ -1,2 +1,2 @@
1
- export * from './List';
2
1
  export { default } from './List';
2
+ export * from './List';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import * as React from "react";
2
2
  declare const Pagination: {
3
3
  ({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
@@ -7,7 +7,7 @@ declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.Deta
7
7
  declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
8
8
  type PaginationLinkProps = {
9
9
  isActive?: boolean;
10
- } & React.ComponentProps<'a'>;
10
+ } & React.ComponentProps<"a">;
11
11
  declare const PaginationLink: {
12
12
  ({ className, isActive, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
13
13
  displayName: string;
@@ -1,6 +1,6 @@
1
1
  import { default as React, HTMLAttributes } from 'react';
2
- import { SearchInputProps } from '../SearchInput/SearchInput';
3
2
  import { Suggestion } from './types';
3
+ import { SearchInputProps } from '../SearchInput/SearchInput';
4
4
 
5
5
  export interface SearchAutocompleteProps extends HTMLAttributes<HTMLDivElement> {
6
6
  searchInputProps?: SearchInputProps;
@@ -10,7 +10,7 @@ export interface SearchAutocompleteProps extends HTMLAttributes<HTMLDivElement>
10
10
  */
11
11
  canAdd?: boolean;
12
12
  /**
13
- * Callback when a suggestion is selected
13
+ * Callback when a suggestion is selected
14
14
  */
15
15
  onAccept?: (suggestion: Suggestion | null) => void;
16
16
  /**
@@ -1,2 +1,2 @@
1
- export type { SelectOption, SelectProps } from './Select';
2
- export { default, Select } from './Select';
1
+ export { Select, default } from './Select';
2
+ export type { SelectProps, SelectOption } from './Select';
@@ -1,6 +1,6 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
1
+ import { ReactNode, ComponentPropsWithoutRef } from 'react';
2
2
 
3
- export interface SkeletonProps extends ComponentPropsWithoutRef<'span'> {
3
+ export interface SkeletonProps extends ComponentPropsWithoutRef<"span"> {
4
4
  children?: ReactNode | ReactNode[];
5
5
  loading?: boolean;
6
6
  height?: number;
@@ -38,7 +38,7 @@ type TableProps<T> = {
38
38
  onRowClick?: (row: T) => void;
39
39
  };
40
40
  declare const Table: {
41
- <T>({ columns, data, isLoading, totalCount, headerLabel, sort, loadingConfig, pagination, onRowClick, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
41
+ <T>({ columns, data, isLoading, totalCount, headerLabel, sort, loadingConfig, pagination, onRowClick }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
42
42
  displayName: string;
43
43
  };
44
44
  export default Table;
@@ -3,7 +3,7 @@ import { FC } from 'react';
3
3
  export interface TextWithTooltipProps {
4
4
  children: string;
5
5
  className?: string;
6
- tooltipSide?: 'right' | 'top' | 'bottom' | 'left';
6
+ tooltipSide?: "right" | "top" | "bottom" | "left";
7
7
  tooltipClassName?: string;
8
8
  }
9
9
  export declare const TextWithTooltip: FC<TextWithTooltipProps>;
@@ -7,7 +7,7 @@ export interface TooltipProps {
7
7
  tooltipContent?: ReactNode;
8
8
  delayDuration?: number;
9
9
  disabled?: boolean;
10
- side?: 'right' | 'top' | 'bottom' | 'left';
10
+ side?: "right" | "top" | "bottom" | "left";
11
11
  sideOffset?: number;
12
12
  className?: string;
13
13
  }
@@ -1,62 +1,62 @@
1
- export * from './Alert';
2
- export { default as Alert } from './Alert';
1
+ export { Button } from './Button/Button';
2
+ export type { ButtonProps } from './Button/Button';
3
3
  export { Badge, type BadgeProps } from './Badge/Badge';
4
4
  export { Badges, type BadgesProps } from './Badge/Badges';
5
- export type { ButtonProps } from './Button/Button';
6
- export { Button } from './Button/Button';
7
- export type { ConfirmDialogProps } from './ConfirmDialog/ConfirmDialog';
8
- export { default as ConfirmDialog } from './ConfirmDialog/ConfirmDialog';
9
5
  export * from './CopyToClipboardButton/CopyToClipboardButton';
10
- export * from './Dialog';
11
- export { default as Dialog } from './Dialog';
12
- export { styles as dropdownListStyles } from './DropdownList';
13
- export type { DropdownListProps } from './DropdownList/DropdownList';
14
- export { DropdownList } from './DropdownList/DropdownList';
15
- export { default as EmptyState } from './EmptyState/EmptyState';
16
- export * from './ErrorState';
17
- export { default as ErrorState } from './ErrorState';
18
- export type { FieldGroupProps } from './FieldGroup/FieldGroup';
19
6
  export { FieldGroup } from './FieldGroup/FieldGroup';
20
- export * from './Icon/ClipboardCheckIcon';
21
- export * from './Icon/ClipboardIcon';
22
- export { default as EyeIcon } from './Icon/EyeIcon';
23
- export type { InputProps } from './Input/Input';
7
+ export type { FieldGroupProps } from './FieldGroup/FieldGroup';
24
8
  export { Input } from './Input/Input';
25
- export type { InputErrorProps } from './InputError/InputError';
9
+ export type { InputProps } from './Input/Input';
26
10
  export { InputError } from './InputError/InputError';
27
- export type { LabelProps } from './Label/Label';
11
+ export type { InputErrorProps } from './InputError/InputError';
28
12
  export { Label } from './Label/Label';
29
- export * from './List';
30
- export { default as List } from './List';
31
- export * from './Pagination/Pagination';
32
- export { default as PasswordInput } from './PasswordInput/PasswordInput';
33
- export type { PillProps } from './Pill/Pill';
34
- export { default as Pill } from './Pill/Pill';
35
- export { default as PluralizeCounter } from './PluralizeCounter/PluralizeCounter';
36
- export type { SearchAutocompleteProps } from './SearchAutocomplete/SearchAutocomplete';
37
- export { SearchAutocomplete } from './SearchAutocomplete/SearchAutocomplete';
38
- export type { Suggestion } from './SearchAutocomplete/types';
39
- export type { SearchInputProps } from './SearchInput/SearchInput';
40
- export { SearchInput } from './SearchInput/SearchInput';
41
- export type { SelectProps } from './Select/Select';
13
+ export type { LabelProps } from './Label/Label';
42
14
  export { default as Select } from './Select/Select';
43
- export type { SelectProps as Select2Props } from './Select2/Select';
15
+ export type { SelectProps } from './Select/Select';
44
16
  export { default as Select2 } from './Select2/Select';
17
+ export type { SelectProps as Select2Props } from './Select2/Select';
18
+ export { TextArea } from './TextArea/TextArea';
19
+ export type { TextAreaProps } from './TextArea/TextArea';
20
+ export { TextWithTooltip } from './TextWithTooltip/TextWithTooltip';
21
+ export type { TextWithTooltipProps } from './TextWithTooltip/TextWithTooltip';
22
+ export { SearchInput } from './SearchInput/SearchInput';
23
+ export type { SearchInputProps } from './SearchInput/SearchInput';
24
+ export { SearchAutocomplete } from './SearchAutocomplete/SearchAutocomplete';
25
+ export type { SearchAutocompleteProps } from './SearchAutocomplete/SearchAutocomplete';
26
+ export type { Suggestion } from './SearchAutocomplete/types';
45
27
  export { default as Show } from './Show/Show';
46
- export type { SkeletonProps } from './Skeleton/Skeleton';
47
28
  export { Skeleton } from './Skeleton/Skeleton';
48
- export type { SkeletonListProps } from './Skeleton/SkeletonList';
49
29
  export { SkeletonList } from './Skeleton/SkeletonList';
50
- export type { SpinnerProps } from './Spinner/Spinner';
30
+ export type { SkeletonProps } from './Skeleton/Skeleton';
31
+ export type { SkeletonListProps } from './Skeleton/SkeletonList';
32
+ export { DropdownList } from './DropdownList/DropdownList';
33
+ export { styles as dropdownListStyles } from './DropdownList';
34
+ export type { DropdownListProps } from './DropdownList/DropdownList';
35
+ export { Tooltip } from './Tooltip/Tooltip';
36
+ export type { TooltipProps } from './Tooltip/Tooltip';
51
37
  export { Spinner } from './Spinner/Spinner';
52
- export type { SwitchProps } from './Switch/Switch';
38
+ export type { SpinnerProps } from './Spinner/Spinner';
53
39
  export { Switch } from './Switch/Switch';
54
- export * from './Table/Table';
55
- export { default as Table } from './Table/Table';
40
+ export type { SwitchProps } from './Switch/Switch';
56
41
  export * from './Tabs/Tabs';
57
- export type { TextAreaProps } from './TextArea/TextArea';
58
- export { TextArea } from './TextArea/TextArea';
59
- export type { TextWithTooltipProps } from './TextWithTooltip/TextWithTooltip';
60
- export { TextWithTooltip } from './TextWithTooltip/TextWithTooltip';
61
- export type { TooltipProps } from './Tooltip/Tooltip';
62
- export { Tooltip } from './Tooltip/Tooltip';
42
+ export { default as EyeIcon } from './Icon/EyeIcon';
43
+ export * from './Icon/ClipboardIcon';
44
+ export * from './Icon/ClipboardCheckIcon';
45
+ export { default as PasswordInput } from './PasswordInput/PasswordInput';
46
+ export { default as Dialog } from './Dialog';
47
+ export * from './Dialog';
48
+ export { default as Pill } from './Pill/Pill';
49
+ export type { PillProps } from './Pill/Pill';
50
+ export { default as ConfirmDialog } from './ConfirmDialog/ConfirmDialog';
51
+ export type { ConfirmDialogProps } from './ConfirmDialog/ConfirmDialog';
52
+ export { default as ErrorState } from './ErrorState';
53
+ export * from './ErrorState';
54
+ export { default as List } from './List';
55
+ export * from './List';
56
+ export * from './Pagination/Pagination';
57
+ export { default as PluralizeCounter } from './PluralizeCounter/PluralizeCounter';
58
+ export { default as Table } from './Table/Table';
59
+ export * from './Table/Table';
60
+ export { default as EmptyState } from './EmptyState/EmptyState';
61
+ export { default as Alert } from './Alert';
62
+ export * from './Alert';
@@ -1,8 +1,8 @@
1
- export { default as ApplicationIcon } from './ApplicationIcon';
2
- export { default as Authorized } from './Authorized';
1
+ export { ModulePlaceHolder } from './ModulePlaceHolder';
3
2
  export { ExtendExtensionPoint } from './ExtendExtensionPoint';
4
3
  export { ExtensionPoint } from './ExtensionPoint';
5
- export { ModulePlaceHolder } from './ModulePlaceHolder';
4
+ export { default as Authorized } from './Authorized';
6
5
  export { default as PlatformEventListener } from './PlatformEventListener';
6
+ export { default as ApplicationIcon } from './ApplicationIcon';
7
7
  export { default as ThemeToggle } from './ThemeToggle/ThemeToggle';
8
8
  export { useTheme } from './ThemeToggle/useTheme';
@@ -1,3 +1,3 @@
1
- export { FeatureFlagGuard, type FeatureFlagGuardProps } from './FeatureFlagGuard';
2
- export { useFeatureFlag } from './useFeatureFlag';
3
1
  export { useFeatureFlags } from './useFeatureFlags';
2
+ export { useFeatureFlag } from './useFeatureFlag';
3
+ export { FeatureFlagGuard, type FeatureFlagGuardProps } from './FeatureFlagGuard';
@@ -1,2 +1,2 @@
1
- export { authorized } from './authorized';
2
1
  export { extensionPoint } from './extensionPoint';
2
+ export { authorized } from './authorized';
@@ -1,5 +1,5 @@
1
- import { ApplicationMenu } from './ApplicationMenu';
2
1
  import { PlatformApplication } from './PlatformApplication';
2
+ import { ApplicationMenu } from './ApplicationMenu';
3
3
 
4
4
  type UseApplicationMenuReturnType = {
5
5
  loading: boolean;
@@ -1,4 +1,4 @@
1
- import { AuthUserWithApplications, ModuleMetadata } from '@bluealba/pae-core';
1
+ import { ModuleMetadata, AuthUserWithApplications } from '@bluealba/pae-core';
2
2
  import { ApplicationEvent } from './ApplicationEvent';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { AuthUserWithApplications, ModuleMetadata } from '@bluealba/pae-core';
1
+ import { ModuleMetadata, AuthUserWithApplications } from '@bluealba/pae-core';
2
2
  import { ServiceInvoker } from '../useServiceInvoker';
3
3
  import { ApplicationEvent } from './ApplicationEvent';
4
4
 
@@ -1,44 +1,44 @@
1
+ export { usePAEState } from './usePAEState';
1
2
  export { useCatalog } from './catalog/useCatalog';
2
3
  export { useMutableCatalog } from './catalog/useMutableCatalog';
3
4
  export { useLocation } from './routing/useLocation';
4
5
  export { useHasNoSession } from './useHasNoSession';
5
- export { usePAEState } from './usePAEState';
6
- export { useModule } from './module/useModule';
7
- export { useModuleCommonPaths } from './module/useModuleCommonPaths';
6
+ export { useModuleMetadata } from './module/useModuleMetadata';
8
7
  export { useModuleConfig } from './module/useModuleConfig';
8
+ export { useModule } from './module/useModule';
9
9
  export { useModuleConfigByName } from './module/useModuleConfigByName';
10
- export { useModuleMetadata } from './module/useModuleMetadata';
11
- export type { ApplicationMenu, ApplicationMenuItem } from './applications/ApplicationMenu';
12
- export type { PlatformApplication } from './applications/PlatformApplication';
13
- export { useApplicationIcon } from './applications/useApplicationIcon';
14
- export { useApplicationJSModule } from './applications/useApplicationJSModule';
15
- export { useApplicationMenu } from './applications/useApplicationMenu';
10
+ export { useModuleCommonPaths } from './module/useModuleCommonPaths';
16
11
  export { useApplications } from './applications/useApplications';
12
+ export { useUIApplications } from './useUIApplications';
17
13
  export { useApplicationUIModule } from './applications/useApplicationUIModule';
18
- export { useCurrentApplication } from './applications/useCurrentApplication';
14
+ export { useApplicationIcon } from './applications/useApplicationIcon';
15
+ export { useModuleMenu } from './applications/useModuleMenu';
16
+ export { useApplicationMenu } from './applications/useApplicationMenu';
19
17
  export { useCurrentApplicationName } from './applications/useCurrentApplicationName';
18
+ export { useApplicationJSModule } from './applications/useApplicationJSModule';
19
+ export { useCurrentApplication } from './applications/useCurrentApplication';
20
20
  export { useCurrentJSModule } from './applications/useCurrentJSModule';
21
- export { useModuleMenu } from './applications/useModuleMenu';
22
- export { useUIApplications } from './useUIApplications';
21
+ export { type ApplicationMenu, type ApplicationMenuItem } from './applications/ApplicationMenu';
22
+ export { type PlatformApplication } from './applications/PlatformApplication';
23
23
  export { useAuth } from './useAuth';
24
24
  export { useOperations } from './useOperations';
25
+ export { useServiceInvoker, type ServiceInvoker } from './useServiceInvoker';
25
26
  export { useServiceBaseURL } from './useServiceBaseURL';
26
- export { type ServiceInvoker, useServiceInvoker } from './useServiceInvoker';
27
27
  export { useServiceWebSocketURL } from './useServiceWebSocketURL';
28
- export type { ApplicationEvent } from './habits/ApplicationEvent';
29
28
  export { useTrackEvent } from './habits/useTrackEvent';
30
29
  export { useTrackEvents } from './habits/useTrackEvents';
31
- export { useDynamicFonts } from './customizations/useDynamicFonts';
30
+ export { type ApplicationEvent } from './habits/ApplicationEvent';
31
+ export { useExtensionPoint } from './extensions/useExtensionPoint';
32
+ export { useExtendExtensionPoint } from './extensions/useExtendExtensionPoint';
33
+ export { usePlatformEventListener } from './events/usePlatformEventListener';
32
34
  export { useDynamicStyleSheet } from './customizations/useDynamicStyleSheet';
33
- export { useGetPlatformTheme } from './customizations/useGetPlatformTheme';
34
- export { usePAECustomizationsLoadingState } from './customizations/usePAECustomizationsLoadingState';
35
+ export { useDynamicFonts } from './customizations/useDynamicFonts';
35
36
  export { usePlatformCustomization } from './customizations/usePlatformCustomization';
37
+ export { usePAECustomizationsLoadingState } from './customizations/usePAECustomizationsLoadingState';
38
+ export { useGetPlatformTheme } from './customizations/useGetPlatformTheme';
36
39
  export * from './customizations/utils';
37
- export { usePlatformEventListener } from './events/usePlatformEventListener';
38
- export { useExtendExtensionPoint } from './extensions/useExtendExtensionPoint';
39
- export { useExtensionPoint } from './extensions/useExtensionPoint';
40
- export { useResource } from './commons/useResource';
41
- export { useResourceActions } from './commons/useResourceActions';
42
40
  export { useNotifications } from './useNotifications';
41
+ export { useResourceActions } from './commons/useResourceActions';
42
+ export { useResource } from './commons/useResource';
43
43
  export { useTenants } from './tenants/useTenants';
44
44
  export { useUserState } from './userState/useUserState';
@@ -1,7 +1,7 @@
1
- import { Tenant, TenantConfig } from '@bluealba/pae-core';
2
1
  import { TenantStrategy } from './tenantStrategy.interface';
2
+ import { Tenant, TenantConfig } from '@bluealba/pae-core';
3
3
 
4
4
  export declare class CookieStrategy implements TenantStrategy {
5
- setTenant(tenant: Tenant, _tenantConfig: TenantConfig): void;
5
+ setTenant(tenant: Tenant, tenantConfig: TenantConfig): void;
6
6
  getCurrentTenantName(): string | undefined;
7
7
  }
@@ -2,6 +2,6 @@ import { Tenant, TenantConfig } from '@bluealba/pae-core';
2
2
  import { TenantStrategy } from './tenantStrategy.interface';
3
3
 
4
4
  export declare class QueryParamStrategy implements TenantStrategy {
5
- setTenant(tenant: Tenant, _tenantConfig: TenantConfig): void;
5
+ setTenant(tenant: Tenant, tenantConfig: TenantConfig): void;
6
6
  getCurrentTenantName(): string | null;
7
7
  }
@@ -2,6 +2,6 @@ import { Tenant, TenantConfig } from '@bluealba/pae-core';
2
2
  import { TenantStrategy } from './tenantStrategy.interface';
3
3
 
4
4
  export declare class SessionStorageStrategy implements TenantStrategy {
5
- setTenant(tenant: Tenant, _tenantConfig: TenantConfig): void;
5
+ setTenant(tenant: Tenant, tenantConfig: TenantConfig): void;
6
6
  getCurrentTenantName(): string | null;
7
7
  }
@@ -3,7 +3,7 @@ import { UserState } from './UserState';
3
3
 
4
4
  export declare class UserStateApiClient {
5
5
  static get<T extends UserState>(invoker: ServiceInvoker, application: string, name: string): Promise<T | null>;
6
- static create<T extends UserState>(invoker: ServiceInvoker, application: string, name: string, value: T['value']): Promise<T>;
7
- static update<T extends UserState>(invoker: ServiceInvoker, application: string, name: string, value: T['value']): Promise<T>;
6
+ static create<T extends UserState>(invoker: ServiceInvoker, application: string, name: string, value: T["value"]): Promise<T>;
7
+ static update<T extends UserState>(invoker: ServiceInvoker, application: string, name: string, value: T["value"]): Promise<T>;
8
8
  static delete(invoker: ServiceInvoker, application: string, name: string): Promise<null>;
9
9
  }
@@ -10,7 +10,7 @@ export type UserStateHook<T> = {
10
10
  setValue: (newValue: T, shouldThrowError?: boolean) => Promise<T | null>;
11
11
  createValue: (params?: UserStateOperationParams<T>) => Promise<T | null>;
12
12
  updateValue: (params?: UserStateOperationParams<T>) => Promise<T | null>;
13
- deleteValue: (params?: Pick<UserStateOperationParams<T>, 'shouldThrowError'>) => Promise<T | null>;
13
+ deleteValue: (params?: Pick<UserStateOperationParams<T>, "shouldThrowError">) => Promise<T | null>;
14
14
  };
15
15
  /**
16
16
  * Provides UserState management with automatic persistence.
@@ -1,13 +1,13 @@
1
1
 
2
- export type { AuthUser, AuthUserWithApplications, BaseUser, ModuleMetadata } from '@bluealba/pae-core';
3
- export * from './components';
4
- export * from './components/common';
2
+ export type { ModuleMetadata, AuthUser, AuthUserWithApplications, BaseUser } from '@bluealba/pae-core';
5
3
  export * from './core';
6
- export * from './feature-flags';
7
- export * from './hocs';
8
4
  export * from './hooks';
9
- export * from './MicrofrontendProps';
10
- export * from './rooms';
11
- export { setupTestEnvironment } from './test-utils/setupTestEnvironment';
5
+ export * from './hocs';
12
6
  export * from './utils';
7
+ export * from './components';
8
+ export * from './components/common';
13
9
  export { default as initializeMicroFrontend } from './utils/initializeMicroFrontend';
10
+ export * from './MicrofrontendProps';
11
+ export { setupTestEnvironment } from './test-utils/setupTestEnvironment';
12
+ export * from './feature-flags';
13
+ export * from './rooms';
@@ -1,5 +1,5 @@
1
- export * from './components/RoomAvatars';
2
- export * from './hooks/useRoom';
3
- export * from './providers/RoomsProvider';
4
1
  export * from './types/rooms.types';
2
+ export * from './providers/RoomsProvider';
3
+ export * from './hooks/useRoom';
4
+ export * from './components/RoomAvatars';
5
5
  export * from './utils/user-color.utils';
@@ -1,6 +1,6 @@
1
1
  // TODO: these types are repeated between pae-ui-react-core and orchestrator's main.ts
2
2
 
3
- import { BehaviorSubject, Subject } from 'rxjs';
3
+ import { BehaviorSubject, Subject } from "rxjs";
4
4
  import type {
5
5
  AuthUserWithApplications,
6
6
  ModuleMetadata,
@@ -10,12 +10,7 @@ import type {
10
10
  TenantConfig,
11
11
  } from '@bluealba/pae-core';
12
12
 
13
- import {
14
- EXTENSION_POINTS_REGISTRY,
15
- GLOBAL_REACTIVE_STATE_KEY,
16
- PAE_CUSTOMIZATIONS_LOADING_STATE_KEY,
17
- PAE_GLOBAL_STATE_KEY,
18
- } from './constants';
13
+ import { EXTENSION_POINTS_REGISTRY, GLOBAL_REACTIVE_STATE_KEY, PAE_CUSTOMIZATIONS_LOADING_STATE_KEY, PAE_GLOBAL_STATE_KEY } from './constants';
19
14
 
20
15
  export type PAEReactiveState = Subject<PAEState>;
21
16
 
@@ -29,10 +24,11 @@ export type PAEState = {
29
24
  platformVersion: string;
30
25
  platformEnvironment?: string;
31
26
  featureFlags: Record<string, any>;
32
- };
27
+ }
33
28
 
34
29
  export type PAECustomizationsLoadingState = BehaviorSubject<boolean | undefined>;
35
30
 
31
+
36
32
  declare global {
37
33
  interface Window {
38
34
  [PAE_GLOBAL_STATE_KEY]: PAEState;
@@ -1,4 +1,4 @@
1
- export type Updater<T> = (current: T) => T;
1
+ export type Updater<T> = ((current: T) => T);
2
2
  export type SetOrUpdateParam<T> = T | Updater<T>;
3
3
  export type SetOrUpdateFn<T> = (valueOfUpdater: SetOrUpdateParam<T>) => void;
4
4
  /**
@@ -1,9 +1,9 @@
1
+ export { logout } from './logout';
2
+ export { hasAccess } from './hasAccess';
1
3
  export { getApplications } from './getApplications';
2
4
  export { getOperations } from './getOperations';
3
- export { hasAccess } from './hasAccess';
4
- export { isValidEmail } from './isValidEmail';
5
- export { logout } from './logout';
6
5
  export { navigateTo } from './navigateTo';
6
+ export { isValidEmail } from './isValidEmail';
7
7
  /**
8
8
  * Returns the initials from a given display name.
9
9
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluealba/pae-ui-react-core",
3
- "version": "4.5.0-feature-replace-eslint-prettier-b-299",
3
+ "version": "4.5.1-develop-324",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -19,8 +19,7 @@
19
19
  "publish-local:minor": "npm version minor && npm run publish",
20
20
  "publish-local:major": "npm version major && npm run publish",
21
21
  "test": "jest",
22
- "lint": "biome check ./src",
23
- "lint:fix": "biome check --fix ./src"
22
+ "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
24
23
  },
25
24
  "keywords": [],
26
25
  "author": "Blue Alba",
package/src/global.css CHANGED
@@ -27,5 +27,6 @@
27
27
  /* Outlined danger variant */
28
28
  --platform-button-outlined-danger-color: var(--platform-color-danger);
29
29
  /* Text danger variant */
30
- --platform-button-text-danger-color: var(--platform-color-danger);
31
- }
30
+ --platform-button-text-danger-color: var(--platform-color-danger);
31
+
32
+ }