@blocklet/pages-kit 0.6.21 → 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 +3 -3
|
@@ -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",
|
|
@@ -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",
|