aquasis-fe-components 1.2.12 → 1.2.13

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.
@@ -1,10 +1,16 @@
1
+ import { Themes } from '../enums/app';
1
2
  import { AppDispatch, RootState } from '../store';
3
+ import { ColorsThemeKey } from '../themes';
2
4
  import { FlagType } from '../types/app';
3
5
  import { TypedUseSelectorHook } from 'react-redux';
4
6
  type DispatchFunc = () => AppDispatch;
5
7
  export declare const useAppDispatch: DispatchFunc;
6
8
  export declare const useAppSelector: TypedUseSelectorHook<RootState>;
7
9
  export declare const useGetLanguage: () => FlagType;
10
+ export declare const useGetTheme: () => Themes;
11
+ export declare const useGetColorTheme: () => {
12
+ getColor: (attribute: keyof ColorsThemeKey) => string;
13
+ };
8
14
  export declare const useDevice: () => {
9
15
  isMobile: boolean;
10
16
  isTablet: boolean;
@@ -1,11 +1,9 @@
1
- import { Themes } from '../../../enums/app';
2
1
  import { IReleaseNote } from '../../../types/releaseNotes';
3
2
  import { FC } from 'react';
4
3
  export interface CreateReleaseNoteProps {
5
4
  addBtnLabel?: string;
6
5
  addBtnTooltipText?: string;
7
6
  release2edit?: IReleaseNote;
8
- theme?: Themes;
9
7
  beforeOpenModal?: () => void;
10
8
  beforeCloseModal?: () => void;
11
9
  afterSubmit?: () => void;
@@ -1,5 +1,4 @@
1
1
  declare const ReleaseNotesConnector: import('react-redux').ConnectedComponent<import('react').FC<import('.').ReleaseNoteProps>, {
2
- theme?: import('../../enums/app').Themes | undefined;
3
2
  addBtnLabel?: string | undefined;
4
3
  addBtnTooltipText?: string | undefined;
5
4
  release2edit?: import('../..').IReleaseNote | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aquasis-fe-components",
3
3
  "private": false,
4
- "version": "1.2.12",
4
+ "version": "1.2.13",
5
5
  "type": "module",
6
6
  "license": "ISC",
7
7
  "author": "Ewerton Souza",