@selfcommunity/react-core 0.3.9-alpha.30 → 0.3.9-alpha.31
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/lib/cjs/components/provider/SCThemeProvider/index.d.ts.map +1 -1
- package/lib/cjs/components/provider/SCThemeProvider/index.js.map +1 -1
- package/lib/cjs/index.d.ts +2 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/themes/theme.d.ts +3 -2
- package/lib/cjs/themes/theme.d.ts.map +1 -1
- package/lib/cjs/themes/theme.js +19 -39
- package/lib/cjs/themes/theme.js.map +1 -1
- package/lib/cjs/types/context.d.ts +3 -2
- package/lib/cjs/types/context.d.ts.map +1 -1
- package/lib/cjs/types/index.d.ts +2 -1
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/types/theme.d.ts +73 -0
- package/lib/cjs/types/theme.d.ts.map +1 -0
- package/lib/cjs/types/theme.js +3 -0
- package/lib/cjs/types/theme.js.map +1 -0
- package/lib/esm/components/provider/SCThemeProvider/index.d.ts.map +1 -1
- package/lib/esm/components/provider/SCThemeProvider/index.js.map +1 -1
- package/lib/esm/index.d.ts +2 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/themes/theme.d.ts +3 -2
- package/lib/esm/themes/theme.d.ts.map +1 -1
- package/lib/esm/themes/theme.js +19 -39
- package/lib/esm/themes/theme.js.map +1 -1
- package/lib/esm/types/context.d.ts +3 -2
- package/lib/esm/types/context.d.ts.map +1 -1
- package/lib/esm/types/index.d.ts +2 -1
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/types/theme.d.ts +73 -0
- package/lib/esm/types/theme.d.ts.map +1 -0
- package/lib/esm/types/theme.js +2 -0
- package/lib/esm/types/theme.js.map +1 -0
- package/lib/umd/react-core.js +1 -1
- package/package.json +6 -6
package/lib/esm/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SCUserContextType, SCFollowedManagerType, SCFollowersManagerType, SCFollowedCategoriesManagerType, SCSubscribedIncubatorsManagerType, SCConnectionsManagerType, SCContextProviderType, SCContextType, SCSettingsType, SCSessionType, SCPreferencesContextType, SCNotificationContextType, SCLocaleType, SCThemeContextType, SCRoutingContextType, SCLocaleContextType, SCAlertMessagesContextType } from './context';
|
|
2
|
-
|
|
2
|
+
import { SCThemeAvatarVariableType, SCThemeUserVariableType, SCThemeCategoryIconVariableType, SCThemeCategoryVariableType, SCThemeVariablesType, SCThemeType } from './theme';
|
|
3
|
+
export { SCUserContextType, SCFollowedCategoriesManagerType, SCContextProviderType, SCContextType, SCSettingsType, SCSessionType, SCFollowedManagerType, SCFollowersManagerType, SCConnectionsManagerType, SCSubscribedIncubatorsManagerType, SCLocaleType, SCNotificationContextType, SCPreferencesContextType, SCThemeContextType, SCRoutingContextType, SCLocaleContextType, SCAlertMessagesContextType, SCThemeAvatarVariableType, SCThemeUserVariableType, SCThemeCategoryIconVariableType, SCThemeCategoryVariableType, SCThemeVariablesType, SCThemeType, };
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,+BAA+B,EAC/B,iCAAiC,EACjC,wBAAwB,EACxB,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,iCAAiC,EACjC,YAAY,EACZ,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,+BAA+B,EAC/B,iCAAiC,EACjC,wBAAwB,EACxB,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,2BAA2B,EAC3B,oBAAoB,EACpB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,iCAAiC,EACjC,YAAY,EACZ,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,2BAA2B,EAC3B,oBAAoB,EACpB,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Theme as MuiTheme } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* Interface SCThemeAvatarVariableType
|
|
4
|
+
*/
|
|
5
|
+
export interface SCThemeAvatarVariableType {
|
|
6
|
+
/**
|
|
7
|
+
* Avatar size small
|
|
8
|
+
*/
|
|
9
|
+
sizeSmall: number;
|
|
10
|
+
/**
|
|
11
|
+
* Avatar size medium
|
|
12
|
+
*/
|
|
13
|
+
sizeMedium: number;
|
|
14
|
+
/**
|
|
15
|
+
* Avatar size large
|
|
16
|
+
*/
|
|
17
|
+
sizeLarge: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Interface SCThemeAvatarVariableType
|
|
21
|
+
*/
|
|
22
|
+
export interface SCThemeUserVariableType {
|
|
23
|
+
/**
|
|
24
|
+
* Avatar variables
|
|
25
|
+
*/
|
|
26
|
+
avatar: SCThemeAvatarVariableType;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Interface SCThemeCategoryVariableType
|
|
30
|
+
*/
|
|
31
|
+
export interface SCThemeCategoryIconVariableType {
|
|
32
|
+
/**
|
|
33
|
+
* Category size small
|
|
34
|
+
*/
|
|
35
|
+
sizeSmall: number;
|
|
36
|
+
/**
|
|
37
|
+
* Category size medium
|
|
38
|
+
*/
|
|
39
|
+
sizeMedium: number;
|
|
40
|
+
/**
|
|
41
|
+
* Category size large
|
|
42
|
+
*/
|
|
43
|
+
sizeLarge: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Interface SCThemeCategoryVariableType
|
|
47
|
+
*/
|
|
48
|
+
export interface SCThemeCategoryVariableType {
|
|
49
|
+
/**
|
|
50
|
+
* Category icon size
|
|
51
|
+
*/
|
|
52
|
+
icon: SCThemeCategoryIconVariableType;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Interface SCThemeVariablesType
|
|
56
|
+
*/
|
|
57
|
+
export interface SCThemeVariablesType {
|
|
58
|
+
/**
|
|
59
|
+
* Avatar
|
|
60
|
+
*/
|
|
61
|
+
user: SCThemeUserVariableType;
|
|
62
|
+
/**
|
|
63
|
+
* Category
|
|
64
|
+
*/
|
|
65
|
+
category: SCThemeCategoryVariableType;
|
|
66
|
+
}
|
|
67
|
+
export interface SCThemeType extends MuiTheme {
|
|
68
|
+
/**
|
|
69
|
+
* SelfCommunity variables
|
|
70
|
+
**/
|
|
71
|
+
selfcommunity: SCThemeVariablesType;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/types/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,IAAI,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,yBAAyB,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,IAAI,EAAE,+BAA+B,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;OAEG;IACH,QAAQ,EAAE,2BAA2B,CAAC;CACvC;AAED,MAAM,WAAW,WAAY,SAAQ,QAAQ;IAC3C;;QAEI;IACJ,aAAa,EAAE,oBAAoB,CAAC;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/types/theme.ts"],"names":[],"mappings":""}
|