@trionesdev/antd-taro-react 0.0.2-beta.1 → 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.
Files changed (189) hide show
  1. package/dist/ActionSheet/index.d.ts +0 -1
  2. package/dist/Alert/index.d.ts +0 -1
  3. package/dist/Avatar/index.d.ts +0 -1
  4. package/dist/Badge/index.d.ts +0 -1
  5. package/dist/Button/button.d.ts +0 -1
  6. package/dist/Button/index.d.ts +0 -1
  7. package/dist/Button/style.scss +231 -231
  8. package/dist/Calendar/calendar-grid.d.ts +0 -1
  9. package/dist/Calendar/calendar-header.d.ts +0 -1
  10. package/dist/Calendar/calendar-range.d.ts +0 -1
  11. package/dist/Calendar/calendar.d.ts +0 -1
  12. package/dist/Calendar/index.d.ts +0 -1
  13. package/dist/Calendar/style.scss +85 -85
  14. package/dist/Calendar/touchable-calendar-grid.d.ts +0 -1
  15. package/dist/Calendar/touchable-calendar-grid.js +9 -9
  16. package/dist/CalendarDatetimePicker/CalendarDatetimePicker.d.ts +0 -1
  17. package/dist/CalendarDatetimePicker/DateTimeSwitch.d.ts +0 -1
  18. package/dist/CalendarDatetimePicker/index.d.ts +0 -1
  19. package/dist/CalendarDatetimePicker/style.scss +54 -54
  20. package/dist/CalendarDatetimePicker/types.d.ts +0 -1
  21. package/dist/CalendarPicker/calendar-picker.d.ts +0 -1
  22. package/dist/CalendarPicker/calendar-range-picker.d.ts +0 -1
  23. package/dist/CalendarPicker/index.d.ts +0 -1
  24. package/dist/CalendarPicker/style.scss +31 -31
  25. package/dist/CalendarPicker/types.d.ts +0 -1
  26. package/dist/Card/index.d.ts +0 -1
  27. package/dist/CascaderPicker/index.d.ts +0 -1
  28. package/dist/CascaderView/index.d.ts +0 -1
  29. package/dist/Cell/index.d.ts +0 -1
  30. package/dist/Checkbox/index.d.ts +0 -1
  31. package/dist/ConfigProvider/index.d.ts +0 -1
  32. package/dist/Descriptions/index.d.ts +0 -1
  33. package/dist/Divider/index.d.ts +0 -1
  34. package/dist/Ellipsis/index.d.ts +0 -1
  35. package/dist/Empty/index.d.ts +0 -1
  36. package/dist/ErrorBlock/index.d.ts +0 -1
  37. package/dist/Footer/index.d.ts +0 -1
  38. package/dist/Form/index.d.ts +0 -1
  39. package/dist/Grid/index.d.ts +0 -1
  40. package/dist/Icon/check-icon.d.ts +0 -1
  41. package/dist/Image/image.d.ts +0 -1
  42. package/dist/Image/index.d.ts +0 -1
  43. package/dist/ImagesPreview/ImagesPreview.d.ts +0 -1
  44. package/dist/ImagesPreview/index.d.ts +0 -1
  45. package/dist/ImagesPreview/style.scss +34 -34
  46. package/dist/ImagesWall/ImagesWall.d.ts +0 -1
  47. package/dist/ImagesWall/index.d.ts +0 -1
  48. package/dist/ImagesWall/style.scss +70 -70
  49. package/dist/Input/index.d.ts +0 -1
  50. package/dist/InputNumber/index.d.ts +0 -1
  51. package/dist/Mask/index.d.ts +0 -1
  52. package/dist/NavBar/index.d.ts +0 -1
  53. package/dist/NoticeBar/index.d.ts +0 -1
  54. package/dist/PageIndicator/index.d.ts +0 -1
  55. package/dist/Picker/index.d.ts +0 -1
  56. package/dist/PickerView/index.d.ts +0 -1
  57. package/dist/Popup/index.d.ts +0 -1
  58. package/dist/Progress/Progress.d.ts +0 -1
  59. package/dist/Progress/ProgressCircle.d.ts +0 -1
  60. package/dist/Progress/ProgressLine.d.ts +0 -1
  61. package/dist/Progress/index.d.ts +0 -1
  62. package/dist/Progress/style.scss +33 -33
  63. package/dist/Progress/types.d.ts +0 -1
  64. package/dist/Radio/index.d.ts +0 -1
  65. package/dist/Rate/index.d.ts +0 -1
  66. package/dist/Result/index.d.ts +0 -1
  67. package/dist/SafeArea/index.d.ts +0 -1
  68. package/dist/Scaffold/index.d.ts +0 -1
  69. package/dist/ScrollView/index.d.ts +0 -1
  70. package/dist/SideBar/SideBarContext.d.ts +0 -1
  71. package/dist/SideBar/index.d.ts +0 -1
  72. package/dist/SideBar/side-bar.d.ts +0 -1
  73. package/dist/SideBar/side-bar.js +6 -6
  74. package/dist/SideBar/style.scss +85 -85
  75. package/dist/SideBar/types.d.ts +0 -1
  76. package/dist/Space/index.d.ts +0 -1
  77. package/dist/SpinLoading/index.d.ts +0 -1
  78. package/dist/Steps/index.d.ts +0 -1
  79. package/dist/Swiper/index.d.ts +0 -1
  80. package/dist/Swiper/swiper.d.ts +0 -1
  81. package/dist/Switch/index.d.ts +0 -1
  82. package/dist/TabBar/index.d.ts +0 -1
  83. package/dist/Tabs/index.d.ts +0 -1
  84. package/dist/Tag/index.d.ts +0 -1
  85. package/dist/Toast/index.d.ts +0 -1
  86. package/dist/VerificationCodeInput/index.d.ts +0 -1
  87. package/dist/WaterMark/index.d.ts +0 -1
  88. package/dist/hooks/index.d.ts +0 -1
  89. package/dist/hooks/useTaro.d.ts +0 -1
  90. package/dist/index.d.ts +0 -1
  91. package/dist/locales/base.d.ts +0 -1
  92. package/dist/locales/en-US.d.ts +0 -1
  93. package/dist/locales/zh-CN.d.ts +0 -1
  94. package/dist/style/variable.scss +1 -1
  95. package/dist/types.d.ts +0 -1
  96. package/dist/utils/datetime-utils.d.ts +0 -1
  97. package/dist/utils/merge-locale.d.ts +0 -1
  98. package/dist/utils/native-props.d.ts +0 -1
  99. package/dist/utils/random-utils.d.ts +0 -1
  100. package/package.json +4 -4
  101. package/readme.md +23 -23
  102. package/dist/ActionSheet/index.d.ts.map +0 -1
  103. package/dist/Alert/index.d.ts.map +0 -1
  104. package/dist/Avatar/index.d.ts.map +0 -1
  105. package/dist/Badge/index.d.ts.map +0 -1
  106. package/dist/Button/button.d.ts.map +0 -1
  107. package/dist/Button/index.d.ts.map +0 -1
  108. package/dist/Calendar/calendar-grid.d.ts.map +0 -1
  109. package/dist/Calendar/calendar-header.d.ts.map +0 -1
  110. package/dist/Calendar/calendar-range.d.ts.map +0 -1
  111. package/dist/Calendar/calendar.d.ts.map +0 -1
  112. package/dist/Calendar/index.d.ts.map +0 -1
  113. package/dist/Calendar/touchable-calendar-grid.d.ts.map +0 -1
  114. package/dist/CalendarDatetimePicker/CalendarDatetimePicker.d.ts.map +0 -1
  115. package/dist/CalendarDatetimePicker/DateTimeSwitch.d.ts.map +0 -1
  116. package/dist/CalendarDatetimePicker/index.d.ts.map +0 -1
  117. package/dist/CalendarDatetimePicker/types.d.ts.map +0 -1
  118. package/dist/CalendarPicker/calendar-picker.d.ts.map +0 -1
  119. package/dist/CalendarPicker/calendar-range-picker.d.ts.map +0 -1
  120. package/dist/CalendarPicker/index.d.ts.map +0 -1
  121. package/dist/CalendarPicker/types.d.ts.map +0 -1
  122. package/dist/Card/index.d.ts.map +0 -1
  123. package/dist/CascaderPicker/index.d.ts.map +0 -1
  124. package/dist/CascaderView/index.d.ts.map +0 -1
  125. package/dist/Cell/index.d.ts.map +0 -1
  126. package/dist/Checkbox/index.d.ts.map +0 -1
  127. package/dist/ConfigProvider/index.d.ts.map +0 -1
  128. package/dist/Descriptions/index.d.ts.map +0 -1
  129. package/dist/Divider/index.d.ts.map +0 -1
  130. package/dist/Ellipsis/index.d.ts.map +0 -1
  131. package/dist/Empty/index.d.ts.map +0 -1
  132. package/dist/ErrorBlock/index.d.ts.map +0 -1
  133. package/dist/Footer/index.d.ts.map +0 -1
  134. package/dist/Form/index.d.ts.map +0 -1
  135. package/dist/Grid/index.d.ts.map +0 -1
  136. package/dist/Icon/check-icon.d.ts.map +0 -1
  137. package/dist/Image/image.d.ts.map +0 -1
  138. package/dist/Image/index.d.ts.map +0 -1
  139. package/dist/ImagesPreview/ImagesPreview.d.ts.map +0 -1
  140. package/dist/ImagesPreview/index.d.ts.map +0 -1
  141. package/dist/ImagesWall/ImagesWall.d.ts.map +0 -1
  142. package/dist/ImagesWall/index.d.ts.map +0 -1
  143. package/dist/Input/index.d.ts.map +0 -1
  144. package/dist/InputNumber/index.d.ts.map +0 -1
  145. package/dist/Mask/index.d.ts.map +0 -1
  146. package/dist/NavBar/index.d.ts.map +0 -1
  147. package/dist/NoticeBar/index.d.ts.map +0 -1
  148. package/dist/PageIndicator/index.d.ts.map +0 -1
  149. package/dist/Picker/index.d.ts.map +0 -1
  150. package/dist/PickerView/index.d.ts.map +0 -1
  151. package/dist/Popup/index.d.ts.map +0 -1
  152. package/dist/Progress/Progress.d.ts.map +0 -1
  153. package/dist/Progress/ProgressCircle.d.ts.map +0 -1
  154. package/dist/Progress/ProgressLine.d.ts.map +0 -1
  155. package/dist/Progress/index.d.ts.map +0 -1
  156. package/dist/Progress/types.d.ts.map +0 -1
  157. package/dist/Radio/index.d.ts.map +0 -1
  158. package/dist/Rate/index.d.ts.map +0 -1
  159. package/dist/Result/index.d.ts.map +0 -1
  160. package/dist/SafeArea/index.d.ts.map +0 -1
  161. package/dist/Scaffold/index.d.ts.map +0 -1
  162. package/dist/ScrollView/index.d.ts.map +0 -1
  163. package/dist/SideBar/SideBarContext.d.ts.map +0 -1
  164. package/dist/SideBar/index.d.ts.map +0 -1
  165. package/dist/SideBar/side-bar.d.ts.map +0 -1
  166. package/dist/SideBar/types.d.ts.map +0 -1
  167. package/dist/Space/index.d.ts.map +0 -1
  168. package/dist/SpinLoading/index.d.ts.map +0 -1
  169. package/dist/Steps/index.d.ts.map +0 -1
  170. package/dist/Swiper/index.d.ts.map +0 -1
  171. package/dist/Swiper/swiper.d.ts.map +0 -1
  172. package/dist/Switch/index.d.ts.map +0 -1
  173. package/dist/TabBar/index.d.ts.map +0 -1
  174. package/dist/Tabs/index.d.ts.map +0 -1
  175. package/dist/Tag/index.d.ts.map +0 -1
  176. package/dist/Toast/index.d.ts.map +0 -1
  177. package/dist/VerificationCodeInput/index.d.ts.map +0 -1
  178. package/dist/WaterMark/index.d.ts.map +0 -1
  179. package/dist/hooks/index.d.ts.map +0 -1
  180. package/dist/hooks/useTaro.d.ts.map +0 -1
  181. package/dist/index.d.ts.map +0 -1
  182. package/dist/locales/base.d.ts.map +0 -1
  183. package/dist/locales/en-US.d.ts.map +0 -1
  184. package/dist/locales/zh-CN.d.ts.map +0 -1
  185. package/dist/types.d.ts.map +0 -1
  186. package/dist/utils/datetime-utils.d.ts.map +0 -1
  187. package/dist/utils/merge-locale.d.ts.map +0 -1
  188. package/dist/utils/native-props.d.ts.map +0 -1
  189. package/dist/utils/random-utils.d.ts.map +0 -1
@@ -1,70 +1,70 @@
1
- @use "../style/variable" as variable;
2
-
3
- $imagesWallCls: 'triones-antm-images-wall';
4
-
5
- .#{$imagesWallCls} {
6
- display: grid;
7
- grid-gap: 4PX;
8
- width: 100%;
9
-
10
- &-item {
11
- aspect-ratio: 1;
12
- border-radius: variable.$trionesBorderRadius;
13
- overflow: hidden;
14
- position: relative;
15
-
16
- &-inner {
17
- width: 100%;
18
- height: 100%;
19
- }
20
-
21
- &-close {
22
- position: absolute;
23
- top: 0;
24
- right: 0;
25
- background-color: rgb(0 0 0 / 63%);
26
- width: 20Px;
27
- height: 20Px;
28
- border-bottom-left-radius: variable.$trionesBorderRadius;
29
- display: flex;
30
- justify-content: center;
31
- align-items: center;
32
-
33
- .triones-antm-icon {
34
- color: white;
35
- font-size: 12Px;
36
- }
37
- }
38
-
39
- &-input {
40
- position: absolute;
41
- width: 100%;
42
- height: 100%;
43
- top: 0;
44
- left: 0;
45
- margin: 0;
46
- padding: 0;
47
- z-index: 1;
48
- opacity: 0;
49
- }
50
-
51
- &-image {
52
- width: 100%;
53
- height: 100%;
54
- object-fit: cover;
55
- }
56
- }
57
-
58
- &-upload {
59
- display: flex;
60
- justify-content: center;
61
- align-items: center;
62
- background-color: variable.$trionesColorBgTextActive;
63
- }
64
-
65
- &-action-sheet {
66
-
67
- }
68
- }
69
-
70
-
1
+ @use "../style/variable" as variable;
2
+
3
+ $imagesWallCls: 'triones-antm-images-wall';
4
+
5
+ .#{$imagesWallCls} {
6
+ display: grid;
7
+ grid-gap: 4PX;
8
+ width: 100%;
9
+
10
+ &-item {
11
+ aspect-ratio: 1;
12
+ border-radius: variable.$trionesBorderRadius;
13
+ overflow: hidden;
14
+ position: relative;
15
+
16
+ &-inner {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+
21
+ &-close {
22
+ position: absolute;
23
+ top: 0;
24
+ right: 0;
25
+ background-color: rgb(0 0 0 / 63%);
26
+ width: 20Px;
27
+ height: 20Px;
28
+ border-bottom-left-radius: variable.$trionesBorderRadius;
29
+ display: flex;
30
+ justify-content: center;
31
+ align-items: center;
32
+
33
+ .triones-antm-icon {
34
+ color: white;
35
+ font-size: 12Px;
36
+ }
37
+ }
38
+
39
+ &-input {
40
+ position: absolute;
41
+ width: 100%;
42
+ height: 100%;
43
+ top: 0;
44
+ left: 0;
45
+ margin: 0;
46
+ padding: 0;
47
+ z-index: 1;
48
+ opacity: 0;
49
+ }
50
+
51
+ &-image {
52
+ width: 100%;
53
+ height: 100%;
54
+ object-fit: cover;
55
+ }
56
+ }
57
+
58
+ &-upload {
59
+ display: flex;
60
+ justify-content: center;
61
+ align-items: center;
62
+ background-color: variable.$trionesColorBgTextActive;
63
+ }
64
+
65
+ &-action-sheet {
66
+
67
+ }
68
+ }
69
+
70
+
@@ -1,4 +1,3 @@
1
1
  import { Input, InputProps, InputOPTProps, InputPasswordProps, InputTextareaProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { InputOPTProps, InputPasswordProps, InputProps, InputTextareaProps, };
3
3
  export default Input;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { InputNumber, InputNumberProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { InputNumberProps };
3
3
  export default InputNumber;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Mask, MaskProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { MaskProps };
3
3
  export default Mask;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { NavBar, NavBarProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { NavBarProps };
3
3
  export default NavBar;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { NoticeBar, NoticeBarProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { NoticeBarProps };
3
3
  export default NoticeBar;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { PageIndicator, PageIndicatorProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { PageIndicatorProps };
3
3
  export default PageIndicator;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Picker, PickerProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { PickerProps, };
3
3
  export default Picker;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { PickerView, PickerViewProps, PickerColumnOption } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { PickerViewProps, PickerColumnOption };
3
3
  export default PickerView;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Popup, PopupProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { PopupProps };
3
3
  export default Popup;
4
- //# sourceMappingURL=index.d.ts.map
@@ -36,4 +36,3 @@ export type ProgressProps = {
36
36
  percentPositionAlign?: PercentPositionAlign;
37
37
  };
38
38
  export declare const Progress: FC<ProgressProps>;
39
- //# sourceMappingURL=Progress.d.ts.map
@@ -14,4 +14,3 @@ type ProcessCircleProps = {
14
14
  };
15
15
  export declare const ProgressCircle: FC<ProcessCircleProps>;
16
16
  export {};
17
- //# sourceMappingURL=ProgressCircle.d.ts.map
@@ -13,4 +13,3 @@ type ProgressLineProps = {
13
13
  };
14
14
  export declare const ProgressLine: FC<ProgressLineProps>;
15
15
  export {};
16
- //# sourceMappingURL=ProgressLine.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Progress, ProgressProps } from "./Progress";
2
2
  export type { ProgressProps };
3
3
  export default Progress;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,33 +1,33 @@
1
- $progressLineCls: 'triones-antm-progress-line';
2
- $progressCircleCls: 'triones-antm-progress-circle';
3
-
4
- .#{$progressLineCls}{
5
- width: 100%;
6
- display: flex;
7
- align-items: center;
8
- gap: 4Px;
9
- &-rail{
10
- flex: 1 auto;
11
- border-radius: 90Px;
12
- }
13
- &-track{
14
- border-radius: 90Px;
15
- }
16
- &-indicator{}
17
- }
18
-
19
- .#{$progressCircleCls} {
20
- position: relative;
21
- &-indicator {
22
- position: absolute;
23
- inset-block-start: 50%;
24
- inset-inline-start: 0;
25
- width: 100%;
26
- margin: 0;
27
- padding: 0;
28
- line-height: 1;
29
- white-space: normal;
30
- text-align: center;
31
- transform: translatey(-50%);
32
- }
33
- }
1
+ $progressLineCls: 'triones-antm-progress-line';
2
+ $progressCircleCls: 'triones-antm-progress-circle';
3
+
4
+ .#{$progressLineCls}{
5
+ width: 100%;
6
+ display: flex;
7
+ align-items: center;
8
+ gap: 4Px;
9
+ &-rail{
10
+ flex: 1 auto;
11
+ border-radius: 90Px;
12
+ }
13
+ &-track{
14
+ border-radius: 90Px;
15
+ }
16
+ &-indicator{}
17
+ }
18
+
19
+ .#{$progressCircleCls} {
20
+ position: relative;
21
+ &-indicator {
22
+ position: absolute;
23
+ inset-block-start: 50%;
24
+ inset-inline-start: 0;
25
+ width: 100%;
26
+ margin: 0;
27
+ padding: 0;
28
+ line-height: 1;
29
+ white-space: normal;
30
+ text-align: center;
31
+ transform: translatey(-50%);
32
+ }
33
+ }
@@ -2,4 +2,3 @@ export type ProgressStatus = 'normal' | 'active' | 'success' | 'exception';
2
2
  export type PercentPositionAlign = 'start' | 'end';
3
3
  export declare const successColor = "#53C31B";
4
4
  export declare const exceptionColor = "#FF4D4F";
5
- //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Radio, RadioProps, RadioGroupProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { RadioProps, RadioGroupProps };
3
3
  export default Radio;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Rate, RateProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { RateProps };
3
3
  export default Rate;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Result } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { ResultProps } from '@trionesdev/antd-mobile-base-react';
3
3
  export default Result;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { SafeArea, SafeAreaProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { SafeAreaProps };
3
3
  export default SafeArea;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Scaffold, ScaffoldProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { ScaffoldProps };
3
3
  export default Scaffold;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { ScrollView, ScrollViewProps } from "@tarojs/components";
2
2
  export type { ScrollViewProps };
3
3
  export default ScrollView;
4
- //# sourceMappingURL=index.d.ts.map
@@ -16,4 +16,3 @@ type SideBarContextType = {
16
16
  };
17
17
  export declare const SideBarContext: import("react").Context<SideBarContextType>;
18
18
  export {};
19
- //# sourceMappingURL=SideBarContext.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { SideBar, SideBarProps } from './side-bar';
2
2
  export type { SideBarProps };
3
3
  export default SideBar;
4
- //# sourceMappingURL=index.d.ts.map
@@ -23,4 +23,3 @@ export type SideBarProps = {
23
23
  };
24
24
  export declare const SideBar: FC<SideBarProps>;
25
25
  export {};
26
- //# sourceMappingURL=side-bar.d.ts.map
@@ -106,8 +106,8 @@ var SideBarContent = /*#__PURE__*/memo(function (_ref2) {
106
106
  };
107
107
  }();
108
108
 
109
- /**
110
- * 计算当前页顶部,距离可滚动区域顶部的距离
109
+ /**
110
+ * 计算当前页顶部,距离可滚动区域顶部的距离
111
111
  */
112
112
  var computeReactiveOffsetTop = /*#__PURE__*/function () {
113
113
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
@@ -153,8 +153,8 @@ var SideBarContent = /*#__PURE__*/memo(function (_ref2) {
153
153
  };
154
154
  }();
155
155
 
156
- /**
157
- * 计算当前页底部,距离可滚动区域顶部的距离
156
+ /**
157
+ * 计算当前页底部,距离可滚动区域顶部的距离
158
158
  */
159
159
  var computeReactiveOffsetBottom = /*#__PURE__*/function () {
160
160
  var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
@@ -232,8 +232,8 @@ var SideBarContent = /*#__PURE__*/memo(function (_ref2) {
232
232
  }
233
233
  }, [activeKey]);
234
234
 
235
- /**
236
- * 监听滚动变化,只有在人为操作的时候才监听滚动的位置是否需要切换tab,如果是切换tab 引发的滚动则不执行
235
+ /**
236
+ * 监听滚动变化,只有在人为操作的时候才监听滚动的位置是否需要切换tab,如果是切换tab 引发的滚动则不执行
237
237
  */
238
238
  useEffect(function () {
239
239
  if (mode === 'scroll' && manual && scrollDetail !== null && scrollDetail !== void 0 && scrollDetail.manual) {
@@ -1,85 +1,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
- }
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
+ }
@@ -5,4 +5,3 @@ export type ScrollDetail = {
5
5
  manual?: boolean;
6
6
  top?: number;
7
7
  };
8
- //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Space, SpaceProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { SpaceProps };
3
3
  export default Space;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { SpinLoading, SpinLoadingProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { SpinLoadingProps };
3
3
  export default SpinLoading;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Steps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { StepsProps, StepsItemProps } from "@trionesdev/antd-mobile-base-react";
3
3
  export default Steps;
4
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@ type CompoundedComponent = typeof InternalSwiper & {
6
6
  declare const Swiper: CompoundedComponent;
7
7
  export type { SwiperProps, SwiperItemProps };
8
8
  export default Swiper;
9
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@ export type SwiperProps = Omit<TaroSwiperProps, 'style'> & {
9
9
  items?: SwiperItemType[];
10
10
  };
11
11
  export declare const Swiper: FC<SwiperProps>;
12
- //# sourceMappingURL=swiper.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Switch, SwitchProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { SwitchProps };
3
3
  export default Switch;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { TabBar, TabBarProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { TabBarProps };
3
3
  export default TabBar;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Tabs, TabsProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { TabsProps };
3
3
  export default Tabs;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Tag, TagProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { TagProps };
3
3
  export default Tag;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Toast, ToastProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { ToastProps };
3
3
  export default Toast;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { VerificationCodeInput, ValidationCodeInputProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { ValidationCodeInputProps };
3
3
  export default VerificationCodeInput;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { WaterMark, WaterMarkProps } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { WaterMarkProps };
3
3
  export default WaterMark;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "./useTaro";
2
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@ export declare const useTaro: () => {
5
5
  isTaroWeApp: boolean | null;
6
6
  isTaroWeb: boolean | null;
7
7
  };
8
- //# sourceMappingURL=useTaro.d.ts.map
package/dist/index.d.ts CHANGED
@@ -105,4 +105,3 @@ export type { ValidationCodeInputProps } from './VerificationCodeInput';
105
105
  export { default as WaterMark } from './WaterMark';
106
106
  export type { WaterMarkProps } from './WaterMark';
107
107
  export * from "./hooks";
108
- //# sourceMappingURL=index.d.ts.map
@@ -137,4 +137,3 @@ export declare const base: {
137
137
  };
138
138
  };
139
139
  export type Locale = typeof base;
140
- //# sourceMappingURL=base.d.ts.map