@blocklet/constant 1.16.42-beta-20250412-084444-20b0cf19 → 1.16.42-beta-20250415-222652-04c5d2fe
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/index.d.ts +77 -0
- package/index.js +70 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1007,5 +1007,82 @@ export declare const SIG_VERSION: {
|
|
|
1007
1007
|
V1: string;
|
|
1008
1008
|
DEFAULT: string;
|
|
1009
1009
|
};
|
|
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
|
+
};
|
|
1010
1087
|
|
|
1011
1088
|
export {};
|
package/index.js
CHANGED
|
@@ -95,6 +95,7 @@ __export(lib_exports, {
|
|
|
95
95
|
SUSPENDED_REASON: () => SUSPENDED_REASON,
|
|
96
96
|
TeamEvents: () => TeamEvents,
|
|
97
97
|
baseLanguages: () => baseLanguages,
|
|
98
|
+
defaultTheme: () => defaultTheme,
|
|
98
99
|
fromBlockletSource: () => fromBlockletSource,
|
|
99
100
|
fromBlockletStatus: () => fromBlockletStatus,
|
|
100
101
|
toBlockletSource: () => toBlockletSource,
|
|
@@ -1194,6 +1195,74 @@ var SIG_VERSION = {
|
|
|
1194
1195
|
V1: "1",
|
|
1195
1196
|
DEFAULT: "1"
|
|
1196
1197
|
};
|
|
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
|
+
};
|
|
1197
1266
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1198
1267
|
0 && (module.exports = {
|
|
1199
1268
|
ALLOW_VERIFY_PROVIDERS,
|
|
@@ -1272,6 +1341,7 @@ var SIG_VERSION = {
|
|
|
1272
1341
|
SUSPENDED_REASON,
|
|
1273
1342
|
TeamEvents,
|
|
1274
1343
|
baseLanguages,
|
|
1344
|
+
defaultTheme,
|
|
1275
1345
|
fromBlockletSource,
|
|
1276
1346
|
fromBlockletStatus,
|
|
1277
1347
|
toBlockletSource,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.42-beta-
|
|
6
|
+
"version": "1.16.42-beta-20250415-222652-04c5d2fe",
|
|
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": "
|
|
39
|
+
"gitHead": "4458b1e7e92d62d93c70de7f636a0f6ae9a59f26"
|
|
40
40
|
}
|