@trionesdev/antd-taro-react 0.0.2-beta.15 → 0.0.2-beta.17
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/LICENSE +21 -21
- package/dist/ActionSheet/style.scss +52 -52
- package/dist/Button/button.d.ts +2 -2
- package/dist/Button/button.js +2 -3
- package/dist/Button/style.scss +246 -235
- package/dist/Calendar/style.scss +88 -88
- package/dist/Calendar/touchable-calendar-grid.js +9 -9
- package/dist/CalendarDatetimePicker/style.scss +62 -62
- package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.d.ts +2 -2
- package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.js +3 -3
- package/dist/CalendarPicker/style.scss +32 -32
- package/dist/CalendarPickerCell/CalendarPickerCell.d.ts +2 -2
- package/dist/CalendarPickerCell/CalendarPickerCell.js +3 -3
- package/dist/CalendarPickerCell/CalendarRangePickerCell.d.ts +2 -2
- package/dist/CalendarPickerCell/CalendarRangePickerCell.js +3 -3
- package/dist/CascaderPicker/style.scss +45 -45
- package/dist/CascaderPickerCell/CascaderPickerCell.d.ts +2 -2
- package/dist/CascaderPickerCell/CascaderPickerCell.js +3 -3
- package/dist/DatePicker/style.scss +41 -41
- package/dist/FetchPicker/FetchPicker.d.ts +113 -0
- package/dist/FetchPicker/FetchPicker.js +322 -0
- package/dist/FetchPicker/index.d.ts +4 -0
- package/dist/FetchPicker/index.js +3 -0
- package/dist/FetchPicker/styles.scss +118 -0
- package/dist/FloatButton/style.scss +126 -126
- package/dist/Form/FormItem/{form-item-input.d.ts → form-item-content.d.ts} +3 -1
- package/dist/Form/FormItem/{form-item-input.js → form-item-content.js} +2 -2
- package/dist/Form/FormItem/form-item-label.js +2 -8
- package/dist/Form/FormItem/form-item.d.ts +3 -2
- package/dist/Form/FormItem/form-item.js +23 -19
- package/dist/Form/index.d.ts +2 -2
- package/dist/Form/style.scss +100 -78
- package/dist/FormCell/index.d.ts +3 -0
- package/dist/FormCell/index.js +2 -0
- package/dist/ImagesPreview/style.scss +34 -34
- package/dist/ImagesWall/style.scss +70 -70
- package/dist/Input/index.scss +282 -267
- package/dist/Input/input-affix-wrapper.js +1 -1
- package/dist/Input/taro-input.js +16 -3
- package/dist/Input/types.d.ts +3 -3
- package/dist/Loading/index.d.ts +4 -0
- package/dist/Loading/index.js +3 -0
- package/dist/Overlay/style.scss +20 -20
- package/dist/Picker/Picker.d.ts +8 -0
- package/dist/Picker/Picker.js +6 -7
- package/dist/Picker/style.scss +41 -41
- package/dist/PickerView/style.scss +13 -13
- package/dist/PickerView/types.d.ts +2 -2
- package/dist/Popup/style.scss +126 -124
- package/dist/SideBar/side-bar.js +6 -6
- package/dist/SideBar/style.scss +85 -85
- package/dist/Stepper/index.d.ts +3 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Toast/style.scss +63 -63
- package/dist/VerificationCodeInput/style.scss +20 -20
- package/dist/index.d.ts +10 -3
- package/dist/index.js +4 -1
- package/dist/style/variable.scss +34 -20
- package/package.json +20 -24
- package/readme.md +23 -23
- package/dist/SpinLoading/index.d.ts +0 -3
- package/dist/SpinLoading/index.js +0 -2
package/dist/Toast/style.scss
CHANGED
|
@@ -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
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -48,10 +48,14 @@ export { default as ErrorBlock } from './ErrorBlock';
|
|
|
48
48
|
export type { ErrorBlockStatus, ErrorBlockProps } from './ErrorBlock';
|
|
49
49
|
export { default as FloatButton } from './FloatButton';
|
|
50
50
|
export type { FloatButtonProps } from './FloatButton';
|
|
51
|
+
export { default as FetchPicker } from './FetchPicker';
|
|
52
|
+
export type { FetchPickerProps } from './FetchPicker';
|
|
51
53
|
export { default as Footer } from './Footer';
|
|
52
54
|
export type { FooterProps } from './Footer';
|
|
53
55
|
export { default as Form } from './Form';
|
|
54
|
-
export type { FormItemProps, FormProps } from './Form';
|
|
56
|
+
export type { FormItemProps, FormProps, FormInstance } from './Form';
|
|
57
|
+
export { default as FormCell } from './FormCell';
|
|
58
|
+
export type { FormCellProps } from './FormCell';
|
|
55
59
|
export { default as Grid } from './Grid';
|
|
56
60
|
export type { GridProps, GridItemProps } from './Grid';
|
|
57
61
|
export { default as Image } from './Image';
|
|
@@ -98,8 +102,10 @@ export { default as SideBar } from './SideBar';
|
|
|
98
102
|
export type { SideBarProps } from './SideBar';
|
|
99
103
|
export { default as Space } from './Space';
|
|
100
104
|
export type { SpaceProps } from './Space';
|
|
101
|
-
export {
|
|
102
|
-
export type { SpinLoadingProps } from './
|
|
105
|
+
export { SpinLoading, DotLoading } from './Loading/index';
|
|
106
|
+
export type { SpinLoadingProps, DotLoadingProps } from './Loading/index';
|
|
107
|
+
export { default as Stepper } from './Stepper';
|
|
108
|
+
export type { StepperProps } from './Stepper';
|
|
103
109
|
export { default as Steps } from "./Steps";
|
|
104
110
|
export type { StepsProps, StepsItemProps } from "./Steps";
|
|
105
111
|
export { default as Swiper } from "./Swiper";
|
|
@@ -119,3 +125,4 @@ export type { VerificationCodeInputProps } from './VerificationCodeInput';
|
|
|
119
125
|
export { default as WaterMark } from './WaterMark';
|
|
120
126
|
export type { WaterMarkProps } from './WaterMark';
|
|
121
127
|
export * from "./hooks";
|
|
128
|
+
export type { LabeledValue } from "@trionesdev/antd-mobile-base-react";
|
package/dist/index.js
CHANGED
|
@@ -23,8 +23,10 @@ export { default as Ellipsis } from "./Ellipsis";
|
|
|
23
23
|
export { default as Empty } from "./Empty";
|
|
24
24
|
export { default as ErrorBlock } from "./ErrorBlock";
|
|
25
25
|
export { default as FloatButton } from "./FloatButton";
|
|
26
|
+
export { default as FetchPicker } from "./FetchPicker";
|
|
26
27
|
export { default as Footer } from "./Footer";
|
|
27
28
|
export { default as Form } from "./Form";
|
|
29
|
+
export { default as FormCell } from "./FormCell";
|
|
28
30
|
export { default as Grid } from "./Grid";
|
|
29
31
|
export { default as Image } from "./Image";
|
|
30
32
|
export { default as ImagesPreview } from "./ImagesPreview";
|
|
@@ -48,7 +50,8 @@ export { default as ScrollView } from "./ScrollView";
|
|
|
48
50
|
export { default as Segmented } from "./Segmented";
|
|
49
51
|
export { default as SideBar } from "./SideBar";
|
|
50
52
|
export { default as Space } from "./Space";
|
|
51
|
-
export {
|
|
53
|
+
export { SpinLoading, DotLoading } from "./Loading/index";
|
|
54
|
+
export { default as Stepper } from "./Stepper";
|
|
52
55
|
export { default as Steps } from "./Steps";
|
|
53
56
|
export { default as Swiper } from "./Swiper";
|
|
54
57
|
export { default as Switch } from "./Switch";
|
package/dist/style/variable.scss
CHANGED
|
@@ -1,20 +1,34 @@
|
|
|
1
|
-
@forward "@trionesdev/antd-mobile-base-react/dist/style/variable";
|
|
2
|
-
|
|
3
|
-
@mixin h5-
|
|
4
|
-
height: 1.47059em;
|
|
5
|
-
line-height: 1.47059;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin
|
|
9
|
-
|
|
10
|
-
line-height: 1.
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trionesdev/antd-taro-react",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.17",
|
|
4
4
|
"description": "antd taro react",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,46 +25,42 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@tarojs/components": "
|
|
29
|
-
"@tarojs/react": "
|
|
30
|
-
"@tarojs/taro": "
|
|
28
|
+
"@tarojs/components": "4.2.0",
|
|
29
|
+
"@tarojs/react": "4.2.0",
|
|
30
|
+
"@tarojs/taro": "4.2.0",
|
|
31
31
|
"classnames": "^2.5.1",
|
|
32
32
|
"lodash-es": "4.17.23",
|
|
33
33
|
"react": ">=16.9.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@tarojs/components": "
|
|
37
|
-
"@tarojs/plugin-framework-react": "
|
|
38
|
-
"@tarojs/plugin-platform-alipay": "4.
|
|
39
|
-
"@tarojs/plugin-platform-h5": "
|
|
40
|
-
"@tarojs/plugin-platform-jd": "
|
|
41
|
-
"@tarojs/plugin-platform-qq": "
|
|
42
|
-
"@tarojs/plugin-platform-swan": "
|
|
43
|
-
"@tarojs/plugin-platform-tt": "
|
|
44
|
-
"@tarojs/plugin-platform-weapp": "
|
|
45
|
-
"@tarojs/react": "
|
|
46
|
-
"@tarojs/taro": "
|
|
36
|
+
"@tarojs/components": "4.2.0",
|
|
37
|
+
"@tarojs/plugin-framework-react": "4.2.0",
|
|
38
|
+
"@tarojs/plugin-platform-alipay": "4.2.0",
|
|
39
|
+
"@tarojs/plugin-platform-h5": "4.2.0",
|
|
40
|
+
"@tarojs/plugin-platform-jd": "4.2.0",
|
|
41
|
+
"@tarojs/plugin-platform-qq": "4.2.0",
|
|
42
|
+
"@tarojs/plugin-platform-swan": "4.2.0",
|
|
43
|
+
"@tarojs/plugin-platform-tt": "4.2.0",
|
|
44
|
+
"@tarojs/plugin-platform-weapp": "4.2.0",
|
|
45
|
+
"@tarojs/react": "4.2.0",
|
|
46
|
+
"@tarojs/taro": "4.2.0",
|
|
47
47
|
"@trionesdev/antd-mobile-base-react": "workspace:*",
|
|
48
|
-
"@trionesdev/antd-mobile-icons-react": "
|
|
48
|
+
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.17",
|
|
49
49
|
"@types/crypto-js": "^4.2.2",
|
|
50
50
|
"@types/lodash-es": "^4.17.12",
|
|
51
51
|
"@types/node": "^18.19.123",
|
|
52
52
|
"@types/react": "^18.0.0",
|
|
53
53
|
"classnames": "^2.5.1",
|
|
54
|
-
"father": "^4.6.
|
|
54
|
+
"father": "^4.6.19",
|
|
55
55
|
"lodash-es": "^4.17.23"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@tarojs/components": "
|
|
59
|
-
"@trionesdev/antd-mobile-base-react": "
|
|
58
|
+
"@tarojs/components": "4.2.0",
|
|
59
|
+
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.17",
|
|
60
60
|
"crypto-js": "^4.2.0",
|
|
61
61
|
"dayjs": "^1.11.19",
|
|
62
62
|
"rc-field-form": "^2.7.0",
|
|
63
63
|
"react": "^18.0.0"
|
|
64
64
|
},
|
|
65
|
-
"
|
|
66
|
-
"@trionesdev/antd-mobile-base-react": "workspace:*",
|
|
67
|
-
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.14"
|
|
68
|
-
},
|
|
69
|
-
"gitHead": "5d9e7dbf380ca19c5e35509f0a31865ec5bdcc06"
|
|
65
|
+
"gitHead": "cd1e738ccd6ccaaab8405530264d8dcc525b28be"
|
|
70
66
|
}
|
package/readme.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# @trionesdev/antd-taro-react
|
|
2
|
-
|
|
3
|
-
[](https://npmjs.com/package/@trionesdev/antd-taro-react)
|
|
4
|
-
[](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
|
+
[](https://npmjs.com/package/@trionesdev/antd-taro-react)
|
|
4
|
+
[](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
|