@blocklet/pages-kit 0.6.20 → 0.6.22
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/builtin/async/image-preview.js +1 -1
- package/lib/cjs/builtin/color-picker.js +4 -4
- package/lib/cjs/contexts/color.js +34 -4
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/inject-global-components-dump-json.js +1 -1
- package/lib/esm/builtin/async/image-preview.js +1 -1
- package/lib/esm/builtin/color-picker.js +4 -4
- package/lib/esm/contexts/color.js +34 -4
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/inject-global-components-dump-json.js +1 -1
- package/lib/types/builtin/async/image-preview.d.ts +1 -1
- package/lib/types/builtin/color-picker.d.ts +2 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/types/style.d.ts +25 -1
- package/package.json +6 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
1
2
|
export type SizeEnum = 'none' | 'small' | 'normal' | 'large';
|
|
2
|
-
export type StyleEnum = 'baseSectionPaddingY' | 'paddingY' | 'paddingX' | 'maxWidth' | 'layoutBlockGap' | 'layoutBlockPadding' | 'layoutBlockAlignContent';
|
|
3
|
+
export type StyleEnum = 'baseSectionPaddingY' | 'paddingY' | 'paddingX' | 'maxWidth' | 'layoutBlockGap' | 'layoutBlockPadding' | 'layoutBlockAlignContent' | 'layoutBlockBorder' | 'layoutBlockBorderRadius' | 'layoutBlockJustifyContent';
|
|
3
4
|
export type StyleFormat = 'sx';
|
|
4
5
|
export type CommonPaddingItem = {
|
|
5
6
|
title: string;
|
|
@@ -18,6 +19,26 @@ export interface LayoutBlockAlignContentItem {
|
|
|
18
19
|
alignContent: string;
|
|
19
20
|
};
|
|
20
21
|
}
|
|
22
|
+
export interface LayoutBlockJustifyContentItem {
|
|
23
|
+
title: string;
|
|
24
|
+
value: string;
|
|
25
|
+
sx: {
|
|
26
|
+
justifyContent: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface LayoutBlockBorderItem {
|
|
30
|
+
title: string;
|
|
31
|
+
value: string;
|
|
32
|
+
sx: SxProps;
|
|
33
|
+
group?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface LayoutBlockBorderRadiusItem {
|
|
36
|
+
title: string;
|
|
37
|
+
value: string;
|
|
38
|
+
sx: {
|
|
39
|
+
borderRadius: number | string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
21
42
|
export type MaxWidthSizeEnum = 'full' | 'sm' | 'md' | 'lg' | 'xl' | string;
|
|
22
43
|
export type MaxWidthItem = {
|
|
23
44
|
title: string;
|
|
@@ -41,4 +62,7 @@ export type StyleConfig = {
|
|
|
41
62
|
layoutBlockGap?: SizeEnum;
|
|
42
63
|
layoutBlockPadding?: SizeEnum;
|
|
43
64
|
layoutBlockAlignContent?: LayoutBlockAlignContentItem;
|
|
65
|
+
layoutBlockBorder?: string;
|
|
66
|
+
layoutBlockBorderRadius?: string;
|
|
67
|
+
layoutBlockJustifyContent?: string;
|
|
44
68
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.22",
|
|
4
4
|
"description": "Pages Kit components and utils for blocklet(s)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@arcblock/did-connect": "^3.0.33",
|
|
104
|
-
"@blocklet/
|
|
104
|
+
"@blocklet/aigne-hub": "^0.2.18",
|
|
105
105
|
"@blocklet/js-sdk": "^1.16.46",
|
|
106
106
|
"@blocklet/sdk": "^1.16.46",
|
|
107
107
|
"@blocklet/uploader": "^0.2.4",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@types/file-saver": "^2.0.7",
|
|
114
114
|
"ahooks": "^3.8.1",
|
|
115
115
|
"ajv": "^8.17.1",
|
|
116
|
-
"axios": "^1.
|
|
116
|
+
"axios": "^1.11.0",
|
|
117
117
|
"dayjs": "^1.11.13",
|
|
118
118
|
"es-module-shims": "^2.0.10",
|
|
119
119
|
"eventsource-parser": "^2.0.1",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"yaml": "^2.5.0",
|
|
153
153
|
"zod": "^3.25.76",
|
|
154
154
|
"zustand": "^4.5.5",
|
|
155
|
-
"@blocklet/pages-kit-core": "^0.6.
|
|
155
|
+
"@blocklet/pages-kit-core": "^0.6.22"
|
|
156
156
|
},
|
|
157
157
|
"peerDependencies": {
|
|
158
158
|
"@arcblock/ux": "^3.0.8",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"@mui/icons-material": "^7.1.2",
|
|
167
167
|
"@mui/lab": "^7.0.0-beta.14",
|
|
168
168
|
"@mui/material": "^7.1.2",
|
|
169
|
-
"axios": "^1.
|
|
169
|
+
"axios": "^1.11.0",
|
|
170
170
|
"react": "^19.1.0",
|
|
171
171
|
"react-best-gradient-color-picker": "^3.0.14",
|
|
172
172
|
"react-dom": "^19.1.0",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"@types/react-scroll-to-bottom": "^4.2.5",
|
|
193
193
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
194
194
|
"@types/tinycolor2": "^1.4.6",
|
|
195
|
-
"axios": "^1.
|
|
195
|
+
"axios": "^1.11.0",
|
|
196
196
|
"npm-run-all": "^4.1.5",
|
|
197
197
|
"react": "^19.1.0",
|
|
198
198
|
"react-dom": "^19.1.0",
|