@blocklet/constant 1.16.42 → 1.16.43-beta-20250420-132156-d732158a

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.
Files changed (3) hide show
  1. package/index.d.ts +2 -77
  2. package/index.js +4 -71
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -813,6 +813,8 @@ export declare const BlockletEvents: Readonly<{
813
813
  nftConsumed: "blocklet.nftConsumed";
814
814
  securityConfigUpdated: "blocklet.securityConfigUpdated";
815
815
  configTheme: "blocklet.configTheme";
816
+ addUserSession: "blocklet.addUserSession";
817
+ updateUserSession: "blocklet.updateUserSession";
816
818
  }>;
817
819
  export declare const BlockletInternalEvents: Readonly<{
818
820
  appConfigChanged: "blocklet.appConfigChanged";
@@ -1007,82 +1009,5 @@ export declare const SIG_VERSION: {
1007
1009
  V1: string;
1008
1010
  DEFAULT: string;
1009
1011
  };
1010
- export declare const defaultTheme: {
1011
- palette: {
1012
- primary: {
1013
- main: string;
1014
- contrastText: string;
1015
- };
1016
- secondary: {
1017
- main: string;
1018
- contrastText: string;
1019
- };
1020
- storeSecondary: {
1021
- main: string;
1022
- contrastText: string;
1023
- };
1024
- divider: string;
1025
- text: {
1026
- primary: string;
1027
- secondary: string;
1028
- disabled: string;
1029
- lighter: string;
1030
- link: string;
1031
- };
1032
- };
1033
- typography: {
1034
- fontSize: number;
1035
- button: {
1036
- textTransform: string;
1037
- };
1038
- allVariants: {
1039
- textTransform: string;
1040
- };
1041
- h1: {
1042
- fontSize: number;
1043
- fontWeight: number;
1044
- lineHeight: number;
1045
- textAlign: string;
1046
- };
1047
- h2: {
1048
- fontSize: number;
1049
- fontWeight: number;
1050
- lineHeight: number;
1051
- textAlign: string;
1052
- };
1053
- h3: {
1054
- fontSize: number;
1055
- fontWeight: number;
1056
- lineHeight: number;
1057
- textAlign: string;
1058
- };
1059
- fontWeightLight: number;
1060
- fontWeightRegular: number;
1061
- fontWeightMedium: number;
1062
- fontWeightBold: number;
1063
- };
1064
- overrides: {
1065
- MuiTableRow: {
1066
- root: {
1067
- "&:nth-child(even)": {
1068
- backgroundColor: string;
1069
- };
1070
- };
1071
- head: {
1072
- backgroundColor: string;
1073
- };
1074
- };
1075
- };
1076
- breakpoints: {
1077
- values: {
1078
- xs: number;
1079
- sm: number;
1080
- md: number;
1081
- lg: number;
1082
- xl: number;
1083
- };
1084
- };
1085
- disableBlockletTheme: boolean;
1086
- };
1087
1012
 
1088
1013
  export {};
package/index.js CHANGED
@@ -95,7 +95,6 @@ __export(lib_exports, {
95
95
  SUSPENDED_REASON: () => SUSPENDED_REASON,
96
96
  TeamEvents: () => TeamEvents,
97
97
  baseLanguages: () => baseLanguages,
98
- defaultTheme: () => defaultTheme,
99
98
  fromBlockletSource: () => fromBlockletSource,
100
99
  fromBlockletStatus: () => fromBlockletStatus,
101
100
  toBlockletSource: () => toBlockletSource,
@@ -966,7 +965,10 @@ var BlockletEvents = Object.freeze({
966
965
  // securityConfig
967
966
  securityConfigUpdated: "blocklet.securityConfigUpdated",
968
967
  // appearance
969
- configTheme: "blocklet.configTheme"
968
+ configTheme: "blocklet.configTheme",
969
+ // user session
970
+ addUserSession: "blocklet.addUserSession",
971
+ updateUserSession: "blocklet.updateUserSession"
970
972
  });
971
973
  var BlockletInternalEvents = Object.freeze({
972
974
  appConfigChanged: "blocklet.appConfigChanged",
@@ -1195,74 +1197,6 @@ var SIG_VERSION = {
1195
1197
  V1: "1",
1196
1198
  DEFAULT: "1"
1197
1199
  };
1198
- var defaultTheme = {
1199
- palette: {
1200
- primary: { main: "#1DC1C7", contrastText: "#fff" },
1201
- secondary: { main: "#030712", contrastText: "#fff" },
1202
- storeSecondary: { main: "#EBFEFF", contrastText: "#fff" },
1203
- divider: "#F4F4F5",
1204
- text: {
1205
- primary: "#18181B",
1206
- secondary: "#71717B",
1207
- disabled: "#D4D4D8",
1208
- lighter: "#9ca3af",
1209
- link: "#0086FF"
1210
- }
1211
- },
1212
- typography: {
1213
- fontSize: 14,
1214
- button: {
1215
- textTransform: "none"
1216
- },
1217
- allVariants: {
1218
- textTransform: "none"
1219
- },
1220
- h1: {
1221
- fontSize: 32,
1222
- fontWeight: 700,
1223
- lineHeight: 1.375,
1224
- textAlign: "left"
1225
- },
1226
- h2: {
1227
- fontSize: 24,
1228
- fontWeight: 700,
1229
- lineHeight: 1.3333333,
1230
- textAlign: "left"
1231
- },
1232
- h3: {
1233
- fontSize: 18,
1234
- fontWeight: 600,
1235
- lineHeight: 1.5,
1236
- textAlign: "left"
1237
- },
1238
- fontWeightLight: 300,
1239
- fontWeightRegular: 400,
1240
- fontWeightMedium: 500,
1241
- fontWeightBold: 700
1242
- },
1243
- overrides: {
1244
- MuiTableRow: {
1245
- root: {
1246
- "&:nth-child(even)": {
1247
- backgroundColor: "rgba(0, 0, 0, 0.02)"
1248
- }
1249
- },
1250
- head: {
1251
- backgroundColor: "transparent"
1252
- }
1253
- }
1254
- },
1255
- breakpoints: {
1256
- values: {
1257
- xs: 0,
1258
- sm: 600,
1259
- md: 960,
1260
- lg: 1280,
1261
- xl: 1920
1262
- }
1263
- },
1264
- disableBlockletTheme: true
1265
- };
1266
1200
  // Annotate the CommonJS export names for ESM import in node:
1267
1201
  0 && (module.exports = {
1268
1202
  ALLOW_VERIFY_PROVIDERS,
@@ -1341,7 +1275,6 @@ var defaultTheme = {
1341
1275
  SUSPENDED_REASON,
1342
1276
  TeamEvents,
1343
1277
  baseLanguages,
1344
- defaultTheme,
1345
1278
  fromBlockletSource,
1346
1279
  fromBlockletStatus,
1347
1280
  toBlockletSource,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.42",
6
+ "version": "1.16.43-beta-20250420-132156-d732158a",
7
7
  "description": "Blocklet constants",
8
8
  "main": "index.js",
9
9
  "type": "commonjs",
@@ -36,5 +36,5 @@
36
36
  "ts-jest": "^29.2.5",
37
37
  "typescript": "^5.6.3"
38
38
  },
39
- "gitHead": "04e4adf8f2c1d6289850c66159c0a68ea946d5e6"
39
+ "gitHead": "f66c266e63a7da8438133b3a4fa9a398b0bd58ed"
40
40
  }