@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.
- package/dist/fonts/Inter.var.woff2 +0 -0
- package/dist/index.js +912 -2486
- package/dist/types/components/UserState/user-state.d.ts +1 -3
- package/dist/types/components/UserState/user-state.types.d.ts +1 -13
- package/dist/types/index.d.ts +2 -0
- package/dist/types/wc.d.ts +5 -1
- package/dist/wc.js +920 -2487
- package/package.json +5 -8
|
@@ -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<
|
|
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:
|
|
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
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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 };
|
package/dist/types/wc.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
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';
|