@fairys/taro-tools-react 1.0.13 → 1.0.14
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/esm/components/MainPage/index.js +1 -1
- package/esm/context/page.data.instance.d.ts +1 -1
- package/esm/context/page.info.data.instance.d.ts +1 -2
- package/esm/styles/index.css +16 -11
- package/lib/components/MainPage/index.js +1 -1
- package/lib/context/index.js +2 -2
- package/lib/context/page.data.instance.d.ts +1 -1
- package/lib/context/page.info.data.instance.d.ts +1 -2
- package/lib/styles/index.css +16 -11
- package/package.json +1 -1
- package/src/components/MainPage/index.tsx +1 -1
- package/src/context/page.data.instance.tsx +1 -1
- package/src/context/page.info.data.instance.tsx +1 -2
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
const FairysTaroMainPage = (props)=>{
|
|
6
6
|
const { className: itemClassName, children, ...rest } = props;
|
|
7
|
-
const cls = useMemo(()=>clsx('fairys_taro-ui-main-page fairystaro__box-border fairystaro__w-full fairystaro__h-full fairystaro__flex fairystaro__flex-col fairystaro__overflow-auto', itemClassName), [
|
|
7
|
+
const cls = useMemo(()=>clsx('fairys_taro-ui-main-page fairystaro__text-red-100 fairystaro__box-border fairystaro__w-full fairystaro__h-full fairystaro__flex fairystaro__flex-col fairystaro__overflow-auto', itemClassName), [
|
|
8
8
|
itemClassName
|
|
9
9
|
]);
|
|
10
10
|
return /*#__PURE__*/ jsx(View, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProxyInstanceObjectBase } from '../utils/valtio/instance';
|
|
2
|
-
export interface PageInfoDataInstanceState extends
|
|
2
|
+
export interface PageInfoDataInstanceState extends Record<string, any> {
|
|
3
3
|
/**loading存储*/
|
|
4
4
|
loading?: Record<string, boolean>;
|
|
5
5
|
/**编辑表单数据*/
|
|
@@ -10,7 +10,6 @@ export interface PageInfoDataInstanceState extends Object {
|
|
|
10
10
|
isInfoSuccess?: boolean;
|
|
11
11
|
/**数据默认值不使用*/
|
|
12
12
|
__defaultValue?: string;
|
|
13
|
-
[s: string]: any;
|
|
14
13
|
}
|
|
15
14
|
export declare class PageInfoDataInstance<T extends PageInfoDataInstanceState = PageInfoDataInstanceState> extends ProxyInstanceObjectBase<T> {
|
|
16
15
|
notRefFields: string[];
|
package/esm/styles/index.css
CHANGED
|
@@ -120,11 +120,11 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.fairystaro__gap-_zkh1_0_dl_4rem_zhk2_ {
|
|
123
|
-
gap: .
|
|
123
|
+
gap: 6.4px;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.fairystaro__gap-2 {
|
|
127
|
-
gap:
|
|
127
|
+
gap: 8px;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.fairystaro__overflow-auto {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.fairystaro__rounded-md {
|
|
139
|
-
border-radius:
|
|
139
|
+
border-radius: 6px;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.fairystaro__border-solid {
|
|
@@ -148,29 +148,29 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.fairystaro__p-2 {
|
|
151
|
-
padding:
|
|
151
|
+
padding: 8px;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.fairystaro__p-x-_zkh1_0_dl_4rem_zhk2_ {
|
|
155
|
-
padding-left: .
|
|
156
|
-
padding-right: .
|
|
155
|
+
padding-left: 6.4px;
|
|
156
|
+
padding-right: 6.4px;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.fairystaro__p-y-_zkh1_0_dl_4rem_zhk2_ {
|
|
160
|
-
padding-top: .
|
|
161
|
-
padding-bottom: .
|
|
160
|
+
padding-top: 6.4px;
|
|
161
|
+
padding-bottom: 6.4px;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.fairystaro__p-t-_zkh1_0_dl_15rem_zhk2_ {
|
|
165
|
-
padding-top: .
|
|
165
|
+
padding-top: 2.4px;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.fairystaro__text-_zkh1_0_dl_6rem_zhk2_ {
|
|
169
|
-
font-size: .
|
|
169
|
+
font-size: 9.6px;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.fairystaro__text-_zkh1_0_dl_8rem_zhk2_ {
|
|
173
|
-
font-size: .
|
|
173
|
+
font-size: 12.8px;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.fairystaro__text-color-_zkh1_blue_zhk2_ {
|
|
@@ -189,6 +189,11 @@
|
|
|
189
189
|
color: red;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
.fairystaro__text-red-100 {
|
|
193
|
+
--un-text-opacity: 1;
|
|
194
|
+
color: rgb(254 226 226 / var(--un-text-opacity));
|
|
195
|
+
}
|
|
196
|
+
|
|
192
197
|
.fairystaro__font-bold {
|
|
193
198
|
font-weight: 700;
|
|
194
199
|
}
|
|
@@ -45,7 +45,7 @@ var external_clsx_default = /*#__PURE__*/ __webpack_require__.n(external_clsx_na
|
|
|
45
45
|
const external_react_namespaceObject = require("react");
|
|
46
46
|
const FairysTaroMainPage = (props)=>{
|
|
47
47
|
const { className: itemClassName, children, ...rest } = props;
|
|
48
|
-
const cls = (0, external_react_namespaceObject.useMemo)(()=>external_clsx_default()('fairys_taro-ui-main-page fairystaro__box-border fairystaro__w-full fairystaro__h-full fairystaro__flex fairystaro__flex-col fairystaro__overflow-auto', itemClassName), [
|
|
48
|
+
const cls = (0, external_react_namespaceObject.useMemo)(()=>external_clsx_default()('fairys_taro-ui-main-page fairystaro__text-red-100 fairystaro__box-border fairystaro__w-full fairystaro__h-full fairystaro__flex fairystaro__flex-col fairystaro__overflow-auto', itemClassName), [
|
|
49
49
|
itemClassName
|
|
50
50
|
]);
|
|
51
51
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(components_namespaceObject.View, {
|
package/lib/context/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var __webpack_modules__ = {
|
|
|
6
6
|
"./global.data.instance": function(module) {
|
|
7
7
|
module.exports = require("./global.data.instance.js");
|
|
8
8
|
},
|
|
9
|
-
"
|
|
9
|
+
"context/global.setting.data.instance": function(module) {
|
|
10
10
|
module.exports = require("./global.setting.data.instance.js");
|
|
11
11
|
},
|
|
12
12
|
"./page.data.instance": function(module) {
|
|
@@ -83,7 +83,7 @@ var __webpack_exports__ = {};
|
|
|
83
83
|
return _auth_data_instance__WEBPACK_IMPORTED_MODULE_3__[key];
|
|
84
84
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
85
85
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
86
|
-
var _global_setting_data_instance__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("
|
|
86
|
+
var _global_setting_data_instance__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("context/global.setting.data.instance");
|
|
87
87
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
88
88
|
for(var __WEBPACK_IMPORT_KEY__ in _global_setting_data_instance__WEBPACK_IMPORTED_MODULE_4__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
89
89
|
return _global_setting_data_instance__WEBPACK_IMPORTED_MODULE_4__[key];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProxyInstanceObjectBase } from '../utils/valtio/instance';
|
|
2
|
-
export interface PageInfoDataInstanceState extends
|
|
2
|
+
export interface PageInfoDataInstanceState extends Record<string, any> {
|
|
3
3
|
/**loading存储*/
|
|
4
4
|
loading?: Record<string, boolean>;
|
|
5
5
|
/**编辑表单数据*/
|
|
@@ -10,7 +10,6 @@ export interface PageInfoDataInstanceState extends Object {
|
|
|
10
10
|
isInfoSuccess?: boolean;
|
|
11
11
|
/**数据默认值不使用*/
|
|
12
12
|
__defaultValue?: string;
|
|
13
|
-
[s: string]: any;
|
|
14
13
|
}
|
|
15
14
|
export declare class PageInfoDataInstance<T extends PageInfoDataInstanceState = PageInfoDataInstanceState> extends ProxyInstanceObjectBase<T> {
|
|
16
15
|
notRefFields: string[];
|
package/lib/styles/index.css
CHANGED
|
@@ -120,11 +120,11 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.fairystaro__gap-_zkh1_0_dl_4rem_zhk2_ {
|
|
123
|
-
gap: .
|
|
123
|
+
gap: 6.4px;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.fairystaro__gap-2 {
|
|
127
|
-
gap:
|
|
127
|
+
gap: 8px;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.fairystaro__overflow-auto {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.fairystaro__rounded-md {
|
|
139
|
-
border-radius:
|
|
139
|
+
border-radius: 6px;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.fairystaro__border-solid {
|
|
@@ -148,29 +148,29 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.fairystaro__p-2 {
|
|
151
|
-
padding:
|
|
151
|
+
padding: 8px;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.fairystaro__p-x-_zkh1_0_dl_4rem_zhk2_ {
|
|
155
|
-
padding-left: .
|
|
156
|
-
padding-right: .
|
|
155
|
+
padding-left: 6.4px;
|
|
156
|
+
padding-right: 6.4px;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.fairystaro__p-y-_zkh1_0_dl_4rem_zhk2_ {
|
|
160
|
-
padding-top: .
|
|
161
|
-
padding-bottom: .
|
|
160
|
+
padding-top: 6.4px;
|
|
161
|
+
padding-bottom: 6.4px;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.fairystaro__p-t-_zkh1_0_dl_15rem_zhk2_ {
|
|
165
|
-
padding-top: .
|
|
165
|
+
padding-top: 2.4px;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.fairystaro__text-_zkh1_0_dl_6rem_zhk2_ {
|
|
169
|
-
font-size: .
|
|
169
|
+
font-size: 9.6px;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.fairystaro__text-_zkh1_0_dl_8rem_zhk2_ {
|
|
173
|
-
font-size: .
|
|
173
|
+
font-size: 12.8px;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.fairystaro__text-color-_zkh1_blue_zhk2_ {
|
|
@@ -189,6 +189,11 @@
|
|
|
189
189
|
color: red;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
.fairystaro__text-red-100 {
|
|
193
|
+
--un-text-opacity: 1;
|
|
194
|
+
color: rgb(254 226 226 / var(--un-text-opacity));
|
|
195
|
+
}
|
|
196
|
+
|
|
192
197
|
.fairystaro__font-bold {
|
|
193
198
|
font-weight: 700;
|
|
194
199
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "SunLxy <1011771396@qq.com>",
|
|
4
4
|
"description": "框架组件库",
|
|
5
5
|
"homepage": "https://github.com/autumn-fairy-tales/fairys-taro-react",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.14",
|
|
7
7
|
"main": "esm/index.js",
|
|
8
8
|
"types": "esm/index.d.ts",
|
|
9
9
|
"module": "esm/index.js",
|
|
@@ -10,7 +10,7 @@ export const FairysTaroMainPage = (props: FairysTaroMainPageProps) => {
|
|
|
10
10
|
const cls = useMemo(
|
|
11
11
|
() =>
|
|
12
12
|
clsx(
|
|
13
|
-
'fairys_taro-ui-main-page fairystaro__box-border fairystaro__w-full fairystaro__h-full fairystaro__flex fairystaro__flex-col fairystaro__overflow-auto',
|
|
13
|
+
'fairys_taro-ui-main-page fairystaro__text-red-100 fairystaro__box-border fairystaro__w-full fairystaro__h-full fairystaro__flex fairystaro__flex-col fairystaro__overflow-auto',
|
|
14
14
|
itemClassName,
|
|
15
15
|
),
|
|
16
16
|
[itemClassName],
|
|
@@ -4,7 +4,7 @@ import { createContext, useContext, useEffect, useMemo, useRef } from 'react';
|
|
|
4
4
|
import { globalSettingDataInstance } from './global.setting.data.instance';
|
|
5
5
|
import Taro, { useDidShow } from '@tarojs/taro';
|
|
6
6
|
|
|
7
|
-
export interface PageDataInstanceState extends
|
|
7
|
+
export interface PageDataInstanceState extends Record<string, any> {
|
|
8
8
|
/**loading存储*/
|
|
9
9
|
loading?: Record<string, boolean>;
|
|
10
10
|
/**当前页*/
|
|
@@ -7,7 +7,7 @@ import { globalSettingDataInstance } from './global.setting.data.instance';
|
|
|
7
7
|
import { useDidShow } from '@tarojs/taro';
|
|
8
8
|
import Taro from '@tarojs/taro';
|
|
9
9
|
|
|
10
|
-
export interface PageInfoDataInstanceState extends
|
|
10
|
+
export interface PageInfoDataInstanceState extends Record<string, any> {
|
|
11
11
|
/**loading存储*/
|
|
12
12
|
loading?: Record<string, boolean>;
|
|
13
13
|
/**编辑表单数据*/
|
|
@@ -18,7 +18,6 @@ export interface PageInfoDataInstanceState extends Object {
|
|
|
18
18
|
isInfoSuccess?: boolean;
|
|
19
19
|
/**数据默认值不使用*/
|
|
20
20
|
__defaultValue?: string;
|
|
21
|
-
[s: string]: any;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
export class PageInfoDataInstance<
|