@trionesdev/antd-taro-react 0.0.2-beta.22 → 0.0.2-beta.24

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,63 +1,63 @@
1
- $toastCls: 'triones-antm-toast';
2
-
3
- .#{$toastCls} {
4
- position: fixed;
5
- top: 0;
6
- left: 0;
7
- width: 100%;
8
- height: 100%;
9
- text-align: center;
10
- pointer-events: none;
11
-
12
- &-main {
13
-
14
- padding: 12Px;
15
- display: inline-block;
16
- position: relative;
17
- top: 50%;
18
- transform: translateY(-50%);
19
- width: auto;
20
- max-width: 204px;
21
- max-height: 70%;
22
- overflow: auto;
23
- color: #fff;
24
- word-break: break-all;
25
- background-color: rgba(0, 0, 0, .7);
26
- border-radius: 8px;
27
- pointer-events: all;
28
- font-size: var(--adm-font-size-7);
29
- line-height: 1.5;
30
- box-sizing: border-box;
31
- &-icon{
32
- padding: 35Px 12Px;
33
- min-width: 150Px;
34
- .#{$toastCls}{
35
- &-center{
36
- &-center{
37
- text-align: initial;
38
- }
39
- }
40
- }
41
- }
42
- }
43
-
44
- &-center{
45
- display: flex;
46
- flex-direction: column;
47
- justify-content: center;
48
- align-items: center;
49
- gap: 8Px;
50
- &-icon{
51
- .triones-antm-icon{
52
- font-size: 36Px;
53
- }
54
- }
55
- &-content{
56
- display: inline-block;
57
- color: #fff;
58
- word-break: break-all;
59
- pointer-events: all;
60
- text-align: initial;
61
- }
62
- }
63
- }
1
+ $toastCls: 'triones-antm-toast';
2
+
3
+ .#{$toastCls} {
4
+ position: fixed;
5
+ top: 0;
6
+ left: 0;
7
+ width: 100%;
8
+ height: 100%;
9
+ text-align: center;
10
+ pointer-events: none;
11
+
12
+ &-main {
13
+
14
+ padding: 12Px;
15
+ display: inline-block;
16
+ position: relative;
17
+ top: 50%;
18
+ transform: translateY(-50%);
19
+ width: auto;
20
+ max-width: 204px;
21
+ max-height: 70%;
22
+ overflow: auto;
23
+ color: #fff;
24
+ word-break: break-all;
25
+ background-color: rgba(0, 0, 0, .7);
26
+ border-radius: 8px;
27
+ pointer-events: all;
28
+ font-size: var(--adm-font-size-7);
29
+ line-height: 1.5;
30
+ box-sizing: border-box;
31
+ &-icon{
32
+ padding: 35Px 12Px;
33
+ min-width: 150Px;
34
+ .#{$toastCls}{
35
+ &-center{
36
+ &-center{
37
+ text-align: initial;
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ &-center{
45
+ display: flex;
46
+ flex-direction: column;
47
+ justify-content: center;
48
+ align-items: center;
49
+ gap: 8Px;
50
+ &-icon{
51
+ .triones-antm-icon{
52
+ font-size: 36Px;
53
+ }
54
+ }
55
+ &-content{
56
+ display: inline-block;
57
+ color: #fff;
58
+ word-break: break-all;
59
+ pointer-events: all;
60
+ text-align: initial;
61
+ }
62
+ }
63
+ }
@@ -1,20 +1,20 @@
1
- @use "../style/variable" as variable;
2
-
3
- $verificationCodeInputCls: 'triones-antm-verification-code-input';
4
-
5
- .#{$verificationCodeInputCls} {
6
- &-send {
7
- padding-inline: variable.$trionesPaddingContentHorizontal;
8
- cursor: pointer;
9
-
10
- &:hover {
11
- color: variable.$trionesColorPrimary;
12
- }
13
- }
14
-
15
- &-counting {
16
- padding-inline: variable.$trionesPaddingContentHorizontal;
17
- cursor: not-allowed;
18
- color: variable.$trionesColorTextDisabled;
19
- }
20
- }
1
+ @use "../style/variable" as variable;
2
+
3
+ $verificationCodeInputCls: 'triones-antm-verification-code-input';
4
+
5
+ .#{$verificationCodeInputCls} {
6
+ &-send {
7
+ padding-inline: variable.$trionesPaddingContentHorizontal;
8
+ cursor: pointer;
9
+
10
+ &:hover {
11
+ color: variable.$trionesColorPrimary;
12
+ }
13
+ }
14
+
15
+ &-counting {
16
+ padding-inline: variable.$trionesPaddingContentHorizontal;
17
+ cursor: not-allowed;
18
+ color: variable.$trionesColorTextDisabled;
19
+ }
20
+ }
@@ -1,34 +1,34 @@
1
- @forward "@trionesdev/antd-mobile-base-react/dist/style/variable";
2
-
3
- @mixin h5-label-size {
4
- height: 1.47059em;
5
- line-height: 1.47059;
6
- }
7
-
8
- @mixin h5-input-size {
9
- height: 1.47059em;
10
- line-height: 1.47059;
11
- }
12
-
13
- @mixin h5-line-height {
14
- line-height: 1.47059;
15
- }
16
-
17
- @mixin wx-input-size {
18
- min-height: 1.4rem;
19
- line-height: 1.4rem;
20
- }
21
-
22
-
23
- @mixin wx-line-height {
24
- line-height: 1.4rem;
25
- }
26
-
27
- page {
28
- font-size: 14Px;
29
- }
30
-
31
- view {
32
- box-sizing: border-box;
33
- font-size: 14Px;
34
- }
1
+ @forward "@trionesdev/antd-mobile-base-react/dist/style/variable";
2
+
3
+ @mixin h5-label-size {
4
+ height: 1.47059em;
5
+ line-height: 1.47059;
6
+ }
7
+
8
+ @mixin h5-input-size {
9
+ height: 1.47059em;
10
+ line-height: 1.47059;
11
+ }
12
+
13
+ @mixin h5-line-height {
14
+ line-height: 1.47059;
15
+ }
16
+
17
+ @mixin wx-input-size {
18
+ min-height: 1.4rem;
19
+ line-height: 1.4rem;
20
+ }
21
+
22
+
23
+ @mixin wx-line-height {
24
+ line-height: 1.4rem;
25
+ }
26
+
27
+ page {
28
+ font-size: 14Px;
29
+ }
30
+
31
+ view {
32
+ box-sizing: border-box;
33
+ font-size: 14Px;
34
+ }
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "@trionesdev/antd-taro-react",
3
- "version": "0.0.2-beta.22",
3
+ "version": "0.0.2-beta.24",
4
4
  "description": "antd taro react",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "dev": "father dev",
9
+ "build": "father build",
10
+ "build:deps": "father prebundle",
11
+ "prepublishOnly": "father doctor && npm run build",
12
+ "publish": "npm publish --tag latest --registry=https://registry.npmjs.org/",
13
+ "publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
14
+ },
7
15
  "keywords": [],
8
16
  "authors": [
9
17
  "fengxiaotx@163.com"
@@ -36,30 +44,24 @@
36
44
  "@tarojs/plugin-platform-weapp": "4.2.0",
37
45
  "@tarojs/react": "4.2.0",
38
46
  "@tarojs/taro": "4.2.0",
47
+ "@trionesdev/antd-mobile-base-react": "workspace:*",
48
+ "@trionesdev/antd-mobile-icons-react": "workspace:*",
39
49
  "@types/crypto-js": "^4.2.2",
40
50
  "@types/lodash-es": "^4.17.12",
41
51
  "@types/node": "^18.19.123",
42
52
  "@types/react": "^18.0.0",
43
53
  "classnames": "^2.5.1",
44
54
  "father": "^4.6.19",
45
- "lodash-es": "^4.17.23",
46
- "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.21",
47
- "@trionesdev/antd-mobile-base-react": "0.0.2-beta.22"
55
+ "lodash-es": "^4.17.23"
48
56
  },
49
57
  "dependencies": {
50
58
  "@tarojs/components": "4.2.0",
59
+ "@trionesdev/antd-mobile-base-react": "0.0.2-beta.24",
60
+ "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.24",
51
61
  "crypto-js": "^4.2.0",
52
62
  "dayjs": "^1.11.19",
53
63
  "rc-field-form": "^2.7.0",
54
- "react": "^18.0.0",
55
- "@trionesdev/antd-mobile-base-react": "0.0.2-beta.22",
56
- "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.21"
64
+ "react": "^18.0.0"
57
65
  },
58
- "gitHead": "6826587141b29a1e9eda58f95d92210671cbd31c",
59
- "scripts": {
60
- "dev": "father dev",
61
- "build": "father build",
62
- "build:deps": "father prebundle",
63
- "publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
64
- }
65
- }
66
+ "gitHead": "9de1572a49148828ee70665476bb64a39ff09adb"
67
+ }
package/readme.md CHANGED
@@ -1,23 +1,23 @@
1
- # @trionesdev/antd-taro-react
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@trionesdev/antd-taro-react.svg?style=flat)](https://npmjs.com/package/@trionesdev/antd-taro-react)
4
- [![NPM downloads](http://img.shields.io/npm/dm/@trionesdev/antd-taro-react.svg?style=flat)](https://npmjs.com/package/@trionesdev/antd-taro-react)
5
-
6
- ## Install
7
-
8
- ```bash
9
- $ pnpm install
10
- ```
11
-
12
- ```bash
13
- $ npm run dev
14
- $ npm run build
15
- ```
16
-
17
- ## Options
18
-
19
- TODO
20
-
21
- ## LICENSE
22
-
23
- MIT
1
+ # @trionesdev/antd-taro-react
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@trionesdev/antd-taro-react.svg?style=flat)](https://npmjs.com/package/@trionesdev/antd-taro-react)
4
+ [![NPM downloads](http://img.shields.io/npm/dm/@trionesdev/antd-taro-react.svg?style=flat)](https://npmjs.com/package/@trionesdev/antd-taro-react)
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ $ pnpm install
10
+ ```
11
+
12
+ ```bash
13
+ $ npm run dev
14
+ $ npm run build
15
+ ```
16
+
17
+ ## Options
18
+
19
+ TODO
20
+
21
+ ## LICENSE
22
+
23
+ MIT