@trionesdev/antd-taro-react 0.0.2-beta.0 → 0.0.2-beta.2

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,85 +1,85 @@
1
- @import "@trionesdev/antd-mobile-base-react/dist/style/variable";
2
-
3
- $trionesSideBarCls: 'triones-antm-sidebar';
4
-
5
- .#{$trionesSideBarCls} {
6
- display: flex;
7
- height: 100%;
8
-
9
-
10
- &-tabs {
11
- min-width: 0;
12
- background-color: $trionesColorFill;
13
- overflow: auto;
14
- scrollbar-width: thin;
15
- flex-shrink: 0;
16
- }
17
-
18
- &-tab {
19
- cursor: pointer;
20
- padding: $trionesPadding $trionesPadding;
21
- color: $trionesColorTextSecondary;
22
-
23
- &-active {
24
- color: $trionesColorPrimaryText;
25
- background-color: $trionesColorBgBase;
26
- }
27
-
28
- }
29
-
30
- &-content {
31
- flex: 1 auto;
32
- min-width: 0;
33
- overflow: hidden;
34
- //overflow-y: auto;
35
- //scrollbar-width: none;
36
- position: relative;
37
- user-select: none;
38
- touch-action: none;
39
-
40
-
41
- &-wheel {
42
- width: 100%;
43
- cursor: grab;
44
- position: absolute;
45
- }
46
-
47
- &-item {
48
-
49
- &-active {
50
- display: block;
51
- }
52
- }
53
- }
54
-
55
- &-switch-mode {
56
- .#{$trionesSideBarCls} {
57
- &-content {
58
-
59
- &-item {
60
- height: 100%;
61
- display: none;
62
- &-active {
63
- display: block;
64
- }
65
- }
66
- }
67
- }
68
- }
69
-
70
- &-scroll-mode {
71
- .#{$trionesSideBarCls} {
72
- &-content {
73
-
74
- &-item {
75
-
76
-
77
- &-active {
78
- display: block;
79
- }
80
- }
81
- }
82
- }
83
- }
84
-
85
- }
1
+ @use "../style/variable" as *;
2
+
3
+ $trionesSideBarCls: 'triones-antm-sidebar';
4
+
5
+ .#{$trionesSideBarCls} {
6
+ display: flex;
7
+ height: 100%;
8
+
9
+
10
+ &-tabs {
11
+ min-width: 0;
12
+ background-color: $trionesColorFill;
13
+ overflow: auto;
14
+ scrollbar-width: thin;
15
+ flex-shrink: 0;
16
+ }
17
+
18
+ &-tab {
19
+ cursor: pointer;
20
+ padding: $trionesPadding $trionesPadding;
21
+ color: $trionesColorTextSecondary;
22
+
23
+ &-active {
24
+ color: $trionesColorPrimaryText;
25
+ background-color: $trionesColorBgBase;
26
+ }
27
+
28
+ }
29
+
30
+ &-content {
31
+ flex: 1 auto;
32
+ min-width: 0;
33
+ overflow: hidden;
34
+ //overflow-y: auto;
35
+ //scrollbar-width: none;
36
+ position: relative;
37
+ user-select: none;
38
+ touch-action: none;
39
+
40
+
41
+ &-wheel {
42
+ width: 100%;
43
+ cursor: grab;
44
+ position: absolute;
45
+ }
46
+
47
+ &-item {
48
+
49
+ &-active {
50
+ display: block;
51
+ }
52
+ }
53
+ }
54
+
55
+ &-switch-mode {
56
+ .#{$trionesSideBarCls} {
57
+ &-content {
58
+
59
+ &-item {
60
+ height: 100%;
61
+ display: none;
62
+ &-active {
63
+ display: block;
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+ &-scroll-mode {
71
+ .#{$trionesSideBarCls} {
72
+ &-content {
73
+
74
+ &-item {
75
+
76
+
77
+ &-active {
78
+ display: block;
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+
85
+ }
@@ -0,0 +1 @@
1
+ @forward "@trionesdev/antd-mobile-base-react/dist/style/variable";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trionesdev/antd-taro-react",
3
- "version": "0.0.2-beta.0",
3
+ "version": "0.0.2-beta.2",
4
4
  "description": "antd taro react",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,6 +29,7 @@
29
29
  "@tarojs/react": "^4.1.3",
30
30
  "@tarojs/taro": "^4.1.3",
31
31
  "classnames": "^2.5.1",
32
+ "lodash-es": "^4.17.21",
32
33
  "react": ">=16.9.0"
33
34
  },
34
35
  "devDependencies": {
@@ -46,16 +47,16 @@
46
47
  "@trionesdev/antd-mobile-base-react": "workspace:*",
47
48
  "@trionesdev/antd-mobile-icons-react": "workspace:*",
48
49
  "@types/crypto-js": "^4.2.2",
49
- "@types/lodash": "^4.17.14",
50
+ "@types/lodash-es": "^4.17.12",
50
51
  "@types/node": "^18.19.123",
51
52
  "@types/react": "^18.0.0",
52
53
  "classnames": "^2.5.1",
53
54
  "father": "^4.6.3",
54
- "lodash": "^4.17.21"
55
+ "lodash-es": "^4.17.21"
55
56
  },
56
57
  "dependencies": {
57
58
  "@tarojs/components": "^4.1.3",
58
- "@trionesdev/antd-mobile-base-react": "^0.0.2-beta.0",
59
+ "@trionesdev/antd-mobile-base-react": "0.0.2-beta.2",
59
60
  "crypto-js": "^4.2.0",
60
61
  "rc-field-form": "^2.7.0",
61
62
  "rc-util": "^5.44.3",
@@ -64,7 +65,7 @@
64
65
  },
65
66
  "optionalDependencies": {
66
67
  "@trionesdev/antd-mobile-base-react": "workspace:*",
67
- "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.0"
68
+ "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.2"
68
69
  },
69
- "gitHead": "77b0c4571a03a037fd0f54ce4bc0a330ba855ab2"
70
+ "gitHead": "750643002ea1b4b0092d84ec95e8d135b9b83750"
70
71
  }
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