@blocklet/pages-kit 0.6.80 → 0.6.82

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.
@@ -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' | 'layoutBlockPaddingX' | 'layoutBlockPaddingY' | 'layoutBlockAlignContent' | 'layoutBlockBorder' | 'layoutBlockBorderRadius' | 'layoutBlockJustifyContent' | 'layoutBlockHeight';
3
+ export type StyleEnum = 'baseSectionPaddingY' | 'paddingY' | 'paddingX' | 'maxWidth' | 'layoutBlockGap' | 'layoutBlockPadding' | 'layoutBlockPaddingX' | 'layoutBlockPaddingY' | 'layoutBlockAlignContent' | 'layoutBlockTextAlign' | 'layoutBlockBorder' | 'layoutBlockBorderRadius' | 'layoutBlockJustifyContent' | 'layoutBlockHeight';
4
4
  export type StyleFormat = 'sx';
5
5
  export type CommonPaddingItem = {
6
6
  title: string;
@@ -26,6 +26,13 @@ export interface LayoutBlockJustifyContentItem {
26
26
  justifyContent: string;
27
27
  };
28
28
  }
29
+ export interface LayoutBlockTextAlignItem {
30
+ title: string;
31
+ value: string;
32
+ sx: {
33
+ textAlign: string;
34
+ };
35
+ }
29
36
  export interface LayoutBlockBorderItem {
30
37
  title: string;
31
38
  value: string;
@@ -71,6 +78,7 @@ export type StyleConfig = {
71
78
  layoutBlockPaddingX?: SizeEnum;
72
79
  layoutBlockPaddingY?: SizeEnum;
73
80
  layoutBlockAlignContent?: LayoutBlockAlignContentItem;
81
+ layoutBlockTextAlign?: string;
74
82
  layoutBlockBorder?: string;
75
83
  layoutBlockBorderRadius?: string;
76
84
  layoutBlockJustifyContent?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.6.80",
3
+ "version": "0.6.82",
4
4
  "description": "Pages Kit components and utils for blocklet(s)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -150,7 +150,7 @@
150
150
  "yaml": "^2.5.0",
151
151
  "zod": "^3.25.76",
152
152
  "zustand": "^4.5.5",
153
- "@blocklet/pages-kit-core": "^0.6.80"
153
+ "@blocklet/pages-kit-core": "^0.6.82"
154
154
  },
155
155
  "peerDependencies": {
156
156
  "@arcblock/ux": "^3.1.39",