@blocklet/pages-kit 0.6.24 → 0.6.25
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/CustomComponentRenderer/ErrorComponent.js +2 -1
- package/lib/cjs/contexts/color.js +1 -0
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/common.js +2 -2
- package/lib/esm/components/CustomComponentRenderer/ErrorComponent.js +2 -1
- package/lib/esm/contexts/color.js +1 -0
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/common.js +2 -2
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/types/style.d.ts +11 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SxProps } from '@mui/material';
|
|
2
2
|
export type SizeEnum = 'none' | 'small' | 'normal' | 'large';
|
|
3
|
-
export type StyleEnum = 'baseSectionPaddingY' | 'paddingY' | 'paddingX' | 'maxWidth' | 'layoutBlockGap' | 'layoutBlockPadding' | 'layoutBlockAlignContent' | 'layoutBlockBorder' | 'layoutBlockBorderRadius' | 'layoutBlockJustifyContent';
|
|
3
|
+
export type StyleEnum = 'baseSectionPaddingY' | 'paddingY' | 'paddingX' | 'maxWidth' | 'layoutBlockGap' | 'layoutBlockPadding' | 'layoutBlockPaddingX' | 'layoutBlockPaddingY' | 'layoutBlockAlignContent' | 'layoutBlockBorder' | 'layoutBlockBorderRadius' | 'layoutBlockJustifyContent' | 'layoutBlockHeight';
|
|
4
4
|
export type StyleFormat = 'sx';
|
|
5
5
|
export type CommonPaddingItem = {
|
|
6
6
|
title: string;
|
|
@@ -39,6 +39,13 @@ export interface LayoutBlockBorderRadiusItem {
|
|
|
39
39
|
borderRadius: number | string;
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
+
export interface LayoutBlockHeightItem {
|
|
43
|
+
title: string;
|
|
44
|
+
value: string;
|
|
45
|
+
sx: {
|
|
46
|
+
height: string;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
42
49
|
export type MaxWidthSizeEnum = 'full' | 'sm' | 'md' | 'lg' | 'xl' | string;
|
|
43
50
|
export type MaxWidthItem = {
|
|
44
51
|
title: string;
|
|
@@ -61,8 +68,11 @@ export type StyleConfig = {
|
|
|
61
68
|
maxWidth?: MaxWidthSizeEnum;
|
|
62
69
|
layoutBlockGap?: SizeEnum;
|
|
63
70
|
layoutBlockPadding?: SizeEnum;
|
|
71
|
+
layoutBlockPaddingX?: SizeEnum;
|
|
72
|
+
layoutBlockPaddingY?: SizeEnum;
|
|
64
73
|
layoutBlockAlignContent?: LayoutBlockAlignContentItem;
|
|
65
74
|
layoutBlockBorder?: string;
|
|
66
75
|
layoutBlockBorderRadius?: string;
|
|
67
76
|
layoutBlockJustifyContent?: string;
|
|
77
|
+
layoutBlockHeight?: string;
|
|
68
78
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.25",
|
|
4
4
|
"description": "Pages Kit components and utils for blocklet(s)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -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.25"
|
|
156
156
|
},
|
|
157
157
|
"peerDependencies": {
|
|
158
158
|
"@arcblock/ux": "^3.0.8",
|