@webex/cc-components 1.28.0-ccconnectors.3 → 1.28.0-ccwidgets.15

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,7 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IUserState } from './user-state.types';
3
3
  import './user-state.scss';
4
- declare const UserStateComponent: React.FunctionComponent<Omit<IUserState, "setCurrentState"> & {
5
- currentTheme: 'DARK' | 'LIGHT';
6
- }>;
4
+ declare const UserStateComponent: React.FunctionComponent<IUserState>;
7
5
  export default UserStateComponent;
@@ -34,21 +34,9 @@ export interface IUserState {
34
34
  /**
35
35
  * The idle code of the current user state
36
36
  */
37
- currentState: IdleCode;
38
- /**
39
- * Function to set the current state
40
- * of the user.
41
- * @param state The state to set.
42
- * @returns void
43
- */
44
- setCurrentState: (state: IdleCode) => void;
37
+ currentState: string;
45
38
  /**
46
39
  * The preferred theme
47
40
  */
48
41
  currentTheme: string;
49
- /**
50
- * Boolean indicating if the user is in RONA state.
51
- */
52
- customStatus: string;
53
- setCustomStatus: (customStatus: string) => void;
54
42
  }
@@ -1,3 +1,5 @@
1
1
  import UserStateComponent from './components/UserState/user-state';
2
2
  import { IUserState } from './components/UserState/user-state.types';
3
+ import '@momentum-design/fonts/dist/css/fonts.css';
4
+ import '@momentum-design/tokens/dist/css/components/complete.css';
3
5
  export { UserStateComponent, type IUserState };
@@ -1 +1,5 @@
1
- export {};
1
+ import '@momentum-design/components/components/button';
2
+ import '@momentum-design/components/components/themeprovider';
3
+ import '@momentum-design/components/components/iconprovider';
4
+ import '@momentum-design/fonts/dist/css/fonts.css';
5
+ import '@momentum-design/tokens/dist/css/components/complete.css';