@nextelco/common-ui 1.7.101 → 1.7.104

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,8 +1,10 @@
1
1
  import React from 'react';
2
+ import { AcronymTheme } from '../../../types/themes/AcronymThemes';
2
3
  import './Acronym.scss';
3
4
  type Props = {
4
5
  name: string;
5
6
  acronymOnly?: boolean;
7
+ theme: AcronymTheme;
6
8
  };
7
- declare const Acronym: ({ name, acronymOnly }: Props) => React.JSX.Element;
9
+ declare const Acronym: ({ name, acronymOnly, theme }: Props) => React.JSX.Element;
8
10
  export default Acronym;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IconProp } from '@fortawesome/fontawesome-svg-core';
3
3
  import './IconText.scss';
4
- import { IconTextTheme } from '../../../types/themes/IconTextTheme';
4
+ import { IconTextTheme } from '../../../types/themes/IconTextThemes';
5
5
  interface IconTextProps {
6
6
  icon: IconProp;
7
7
  text: string;
@@ -6,5 +6,5 @@ type Props = {
6
6
  handleLogout: () => void;
7
7
  notifications?: ReactNode;
8
8
  };
9
- export declare const Profile: ({ user, handleLogout, notifications }: Props) => React.JSX.Element;
10
- export {};
9
+ declare const Profile: ({ user, handleLogout, notifications }: Props) => React.JSX.Element;
10
+ export default Profile;
@@ -1,3 +1,3 @@
1
- export { Profile } from '../components/organisms/Profile/Profile';
1
+ export { default as Profile } from '../components/organisms/Profile/Profile';
2
2
  export { LazyLoader } from '../components/organisms/LazyLoader/LazyLoader';
3
3
  export { Selector } from '../components/organisms/Selector/Selector';
@@ -1,4 +1,7 @@
1
1
  export { LoggedUser } from '../types/LoggedUser';
2
- export { ActionButtonTheme, IconButtonTheme, } from '../types/themes/ButtonThemes';
3
2
  export { Menu, Submenu } from '../types/SidebarMenu';
4
- export { IconTextTheme } from '../types/themes/IconTextTheme';
3
+ export { Fetcher } from '../types/Fetcher';
4
+ export { IconTextTheme } from '../types/themes/IconTextThemes';
5
+ export { ActionButtonTheme, IconButtonTheme, } from '../types/themes/ButtonThemes';
6
+ export { AcronymTheme } from '../types/themes/AcronymThemes';
7
+ export { CustomSwitchTheme } from '../types/themes/CustomSwitchThemes';
@@ -0,0 +1,3 @@
1
+ export interface AcronymTheme {
2
+ mode: 'dark' | 'light';
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextelco/common-ui",
3
- "version": "1.7.101",
3
+ "version": "1.7.104",
4
4
  "description": "",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/types/index.d.ts",