@blocklet/pages-kit 0.4.109 → 0.4.111

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.
@@ -10,7 +10,7 @@ export type CommonPaddingItem = {
10
10
  };
11
11
  export type PaddingYItem = CommonPaddingItem;
12
12
  export type PaddingXItem = CommonPaddingItem;
13
- export type MaxWidthSizeEnum = 'full' | 'sm' | 'md' | 'lg' | 'xl';
13
+ export type MaxWidthSizeEnum = 'full' | 'sm' | 'md' | 'lg' | 'xl' | string;
14
14
  export type MaxWidthItem = {
15
15
  title: string;
16
16
  value: MaxWidthSizeEnum;
@@ -23,6 +23,7 @@ export interface StyleValueOptions {
23
23
  value: string;
24
24
  format?: StyleFormat;
25
25
  defaultValue?: any;
26
+ customValue?: string;
26
27
  }
27
28
  export type StyleConfig = {
28
29
  baseSectionPaddingY?: SizeEnum;
@@ -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.109",
3
+ "version": "0.4.111",
4
4
  "description": "Pages Kit components and utils for blocklet(s)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -100,15 +100,17 @@
100
100
  "url": "git+https://github.com/blocklet/pages-kit.git"
101
101
  },
102
102
  "dependencies": {
103
- "@arcblock/did-connect": "^2.12.58",
103
+ "@arcblock/did-connect": "^2.12.63",
104
104
  "@blocklet/ai-kit": "^0.1.72",
105
105
  "@blocklet/js-sdk": "^1.16.41",
106
106
  "@blocklet/sdk": "^1.16.41",
107
+ "@blocklet/uploader": "^0.1.82",
107
108
  "@faker-js/faker": "^9.0.3",
108
109
  "@iconify-icons/tabler": "^1.2.95",
109
110
  "@iconify/react": "^5.0.2",
110
111
  "@lottiefiles/lottie-player": "^2.0.4",
111
112
  "@types/file-saver": "^2.0.7",
113
+ "ahooks": "^3.8.1",
112
114
  "ajv": "^8.17.1",
113
115
  "axios": "^1.7.4",
114
116
  "dayjs": "^1.11.13",
@@ -127,6 +129,7 @@
127
129
  "material-ui-popup-state": "^5.1.2",
128
130
  "nanoid": "^3.3.7",
129
131
  "node-fetch": "^2.7.0",
132
+ "react-best-gradient-color-picker": "^3.0.14",
130
133
  "react-error-boundary": "^4.0.13",
131
134
  "react-flags-select": "^2.2.3",
132
135
  "react-frame-component": "^5.2.7",
@@ -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",