@blocklet/pages-kit 0.4.108 → 0.4.110

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,5 +1,5 @@
1
1
  export type SizeEnum = 'none' | 'small' | 'normal' | 'large';
2
- export type StyleEnum = 'paddingY' | 'paddingX' | 'maxWidth';
2
+ export type StyleEnum = 'baseSectionPaddingY' | 'paddingY' | 'paddingX' | 'maxWidth';
3
3
  export type StyleFormat = 'sx';
4
4
  export type CommonPaddingItem = {
5
5
  title: string;
@@ -25,6 +25,7 @@ export interface StyleValueOptions {
25
25
  defaultValue?: any;
26
26
  }
27
27
  export type StyleConfig = {
28
+ baseSectionPaddingY?: SizeEnum;
28
29
  paddingY?: SizeEnum;
29
30
  paddingX?: SizeEnum;
30
31
  maxWidth?: MaxWidthSizeEnum;
@@ -40,4 +40,6 @@ export declare const BuiltinModules: {
40
40
  '@blocklet/pages-kit/builtin/async/react-syntax-highlighter': {};
41
41
  '@blocklet/pages-kit/builtin/async/image-preview': {};
42
42
  '@blocklet/pages-kit/builtin/async/ai-runtime': {};
43
+ '@blocklet/pages-kit/builtin/uploader': {};
44
+ '@blocklet/pages-kit/builtin/color-picker': {};
43
45
  };
@@ -20,4 +20,4 @@ export declare function parseColor(color?: string): string;
20
20
  * @param _theme - 主题对象,默认为全局主题
21
21
  * @returns 转换后的颜色字符串
22
22
  */
23
- export declare function colorConvert(color: string, _theme?: Theme): any;
23
+ export declare function colorConvert(color: string, _theme?: Theme): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.4.108",
3
+ "version": "0.4.110",
4
4
  "description": "Pages Kit components and utils for blocklet(s)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -100,16 +100,19 @@
100
100
  "url": "git+https://github.com/blocklet/pages-kit.git"
101
101
  },
102
102
  "dependencies": {
103
- "@arcblock/did-connect": "^2.12.58",
103
+ "react-best-gradient-color-picker": "^3.0.14",
104
+ "@arcblock/did-connect": "^2.12.63",
104
105
  "@blocklet/ai-kit": "^0.1.72",
105
106
  "@blocklet/js-sdk": "^1.16.41",
106
107
  "@blocklet/sdk": "^1.16.41",
108
+ "@blocklet/uploader": "^0.1.82",
107
109
  "@faker-js/faker": "^9.0.3",
108
110
  "@iconify-icons/tabler": "^1.2.95",
109
111
  "@iconify/react": "^5.0.2",
110
112
  "@lottiefiles/lottie-player": "^2.0.4",
111
113
  "@types/file-saver": "^2.0.7",
112
114
  "ajv": "^8.17.1",
115
+ "ahooks": "^3.8.1",
113
116
  "axios": "^1.7.4",
114
117
  "dayjs": "^1.11.13",
115
118
  "es-module-shims": "^2.0.10",
@@ -160,10 +163,12 @@
160
163
  "axios": "^1.6.5",
161
164
  "react": "^18.2.0",
162
165
  "react-dom": "^18.2.0",
163
- "react-router-dom": "^6.16.0"
166
+ "react-router-dom": "^6.16.0",
167
+ "@blocklet/uploader": "^0.1.82",
168
+ "react-best-gradient-color-picker": "^3.0.14"
164
169
  },
165
170
  "devDependencies": {
166
- "@arcblock/ux": "^2.12.58",
171
+ "@arcblock/ux": "^2.12.63",
167
172
  "@blocklet/ai-runtime": "^0.4.256",
168
173
  "@blocklet/js-sdk": "^1.16.41",
169
174
  "@blocklet/sdk": "^1.16.41",