@trionesdev/antd-mobile-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.
Files changed (122) hide show
  1. package/LICENSE +21 -21
  2. package/dist/ActionSheet/style.scss +52 -52
  3. package/dist/Avatar/demo/base.js +2 -2
  4. package/dist/Avatar/demo/style.scss +6 -6
  5. package/dist/Badge/demo/base.js +2 -2
  6. package/dist/Badge/demo/base.scss +6 -6
  7. package/dist/Button/button.d.ts +2 -1
  8. package/dist/Button/button.js +1 -1
  9. package/dist/Button/demo/base.js +2 -2
  10. package/dist/Button/style.scss +234 -234
  11. package/dist/Calendar/style.scss +85 -85
  12. package/dist/Calendar/touchable-calendar-grid.js +9 -9
  13. package/dist/CalendarDatetimePicker/style.scss +54 -54
  14. package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.d.ts +5 -4
  15. package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.js +7 -6
  16. package/dist/CalendarDatetimePickerCell/demo/base.js +2 -3
  17. package/dist/CalendarDatetimePickerCell/index.d.ts +1 -1
  18. package/dist/CalendarDatetimePickerCell/index.js +1 -1
  19. package/dist/CalendarDatetimePickerCell/style.scss +10 -10
  20. package/dist/CalendarPicker/style.scss +31 -31
  21. package/dist/CalendarPickerCell/CalendarPickerCell.d.ts +2 -2
  22. package/dist/CalendarPickerCell/CalendarPickerCell.js +3 -3
  23. package/dist/CalendarPickerCell/CalendarRangePickerCell.d.ts +2 -2
  24. package/dist/CalendarPickerCell/CalendarRangePickerCell.js +3 -3
  25. package/dist/CalendarPickerCell/demo/base.js +2 -4
  26. package/dist/Card/demo/base.js +2 -2
  27. package/dist/Card/demo/base.scss +18 -18
  28. package/dist/CascaderPicker/style.scss +45 -45
  29. package/dist/CascaderPickerCell/CascaderPickerCell.d.ts +2 -2
  30. package/dist/CascaderPickerCell/CascaderPickerCell.js +3 -3
  31. package/dist/CascaderPickerCell/demo/base.js +1 -2
  32. package/dist/CascaderPickerCell/style.scss +24 -24
  33. package/dist/Cell/demo/base.js +1 -1
  34. package/dist/Checkbox/demo/base.js +2 -2
  35. package/dist/ConfigProvider/demo/base.js +2 -2
  36. package/dist/DemoBlock/index.scss +20 -20
  37. package/dist/DemoDescription/index.scss +3 -3
  38. package/dist/Divider/demo/base.js +2 -2
  39. package/dist/Ellipsis/demo/base.js +2 -2
  40. package/dist/Empty/demo/base.js +2 -2
  41. package/dist/ErrorBlock/demo/base.js +2 -2
  42. package/dist/FloatButton/style.scss +123 -123
  43. package/dist/Footer/demo/base.js +2 -2
  44. package/dist/Form/FormItem/{form-item-input.d.ts → form-item-content.d.ts} +3 -1
  45. package/dist/Form/FormItem/{form-item-input.js → form-item-content.js} +1 -1
  46. package/dist/Form/FormItem/form-item-label.d.ts +3 -3
  47. package/dist/Form/FormItem/form-item-label.js +10 -8
  48. package/dist/Form/FormItem/form-item.d.ts +33 -4
  49. package/dist/Form/FormItem/form-item.js +22 -21
  50. package/dist/Form/demo/input.js +6 -2
  51. package/dist/Form/demo/vertical.js +45 -0
  52. package/dist/Form/index.d.ts +2 -2
  53. package/dist/Form/style.scss +106 -67
  54. package/dist/FormCell/index.d.ts +3 -0
  55. package/dist/FormCell/index.js +2 -0
  56. package/dist/Grid/demo/base.js +2 -2
  57. package/dist/Grid/demo/base.scss +7 -7
  58. package/dist/Icon/demo/base.js +2 -2
  59. package/dist/Image/demo/base.js +2 -2
  60. package/dist/Image/demo/base.scss +4 -4
  61. package/dist/Image/style.scss +30 -30
  62. package/dist/ImagesPreview/style.scss +34 -34
  63. package/dist/ImagesWall/style.scss +70 -70
  64. package/dist/Input/demo/base.js +28 -2
  65. package/dist/Input/index.scss +240 -223
  66. package/dist/Input/input-affix-wrapper.d.ts +3 -1
  67. package/dist/Input/input-affix-wrapper.js +4 -4
  68. package/dist/Input/input.d.ts +3 -1
  69. package/dist/Input/input.js +5 -2
  70. package/dist/Loading/DotLoading.d.ts +1 -0
  71. package/dist/Loading/DotLoading.js +1 -0
  72. package/dist/Loading/SpinLoading.d.ts +1 -0
  73. package/dist/Loading/SpinLoading.js +1 -0
  74. package/dist/Loading/demo/base.d.ts +3 -0
  75. package/dist/{SpinLoading → Loading}/demo/base.js +8 -2
  76. package/dist/Loading/demo/dot-loading.d.ts +3 -0
  77. package/dist/Loading/demo/dot-loading.js +25 -0
  78. package/dist/Loading/index.d.ts +5 -0
  79. package/dist/Loading/index.js +3 -0
  80. package/dist/NavBar/demo/base.scss +5 -5
  81. package/dist/NoticeBar/demo/base.js +2 -2
  82. package/dist/Overlay/style.scss +20 -20
  83. package/dist/PageIndicator/demo/base.js +2 -2
  84. package/dist/Picker/style.scss +44 -44
  85. package/dist/PickerView/style.scss +72 -72
  86. package/dist/Popup/demo/base.js +2 -2
  87. package/dist/Popup/style.scss +129 -129
  88. package/dist/Radio/demo/base.scss +4 -4
  89. package/dist/Result/demo/base.js +2 -2
  90. package/dist/SafeArea/demo/base.scss +18 -18
  91. package/dist/ScrollView/style.scss +19 -19
  92. package/dist/SideBar/side-bar.js +6 -6
  93. package/dist/SideBar/style.scss +85 -85
  94. package/dist/Skeleton/demo/base.d.ts +3 -0
  95. package/dist/Skeleton/demo/base.js +8 -0
  96. package/dist/Skeleton/index.d.ts +3 -0
  97. package/dist/Skeleton/index.js +2 -0
  98. package/dist/Space/demo/base.js +2 -2
  99. package/dist/Stepper/demo/base.d.ts +3 -0
  100. package/dist/Stepper/demo/base.js +23 -0
  101. package/dist/Stepper/index.d.ts +3 -0
  102. package/dist/Stepper/index.js +2 -0
  103. package/dist/Swiper/style.scss +54 -54
  104. package/dist/Switch/demo/base.js +2 -2
  105. package/dist/TabBar/demo/base.js +2 -2
  106. package/dist/Tag/demo/base.js +2 -2
  107. package/dist/Tag/demo/style.scss +8 -8
  108. package/dist/Toast/style.scss +63 -63
  109. package/dist/VerificationCodeInput/style.scss +20 -20
  110. package/dist/WaterMark/demo/demo1.js +2 -2
  111. package/dist/WaterMark/demo/demo1.scss +6 -6
  112. package/dist/WaterMark/demo/demo2.js +2 -2
  113. package/dist/index.d.ts +22 -18
  114. package/dist/index.js +3 -1
  115. package/dist/style/variable.scss +1 -1
  116. package/dist/utils/type.js +36 -36
  117. package/dist/utils/with-default-props.js +4 -4
  118. package/package.json +9 -13
  119. package/readme.md +43 -43
  120. package/dist/SpinLoading/index.d.ts +0 -3
  121. package/dist/SpinLoading/index.js +0 -2
  122. /package/dist/{SpinLoading/demo/base.d.ts → Form/demo/vertical.d.ts} +0 -0
@@ -70,8 +70,8 @@ var SideBarContent = /*#__PURE__*/memo(function (_ref2) {
70
70
  };
71
71
  }();
72
72
 
73
- /**
74
- * 计算当前页顶部,距离可滚动区域顶部的距离
73
+ /**
74
+ * 计算当前页顶部,距离可滚动区域顶部的距离
75
75
  */
76
76
  var computeReactiveOffsetTop = /*#__PURE__*/function () {
77
77
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
@@ -90,8 +90,8 @@ var SideBarContent = /*#__PURE__*/memo(function (_ref2) {
90
90
  };
91
91
  }();
92
92
 
93
- /**
94
- * 计算当前页底部,距离可滚动区域顶部的距离
93
+ /**
94
+ * 计算当前页底部,距离可滚动区域顶部的距离
95
95
  */
96
96
  var computeReactiveOffsetBottom = /*#__PURE__*/function () {
97
97
  var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
@@ -138,8 +138,8 @@ var SideBarContent = /*#__PURE__*/memo(function (_ref2) {
138
138
  }
139
139
  }, [activeKey]);
140
140
 
141
- /**
142
- * 监听滚动变化,只有在人为操作的时候才监听滚动的位置是否需要切换tab,如果是切换tab 引发的滚动则不执行
141
+ /**
142
+ * 监听滚动变化,只有在人为操作的时候才监听滚动的位置是否需要切换tab,如果是切换tab 引发的滚动则不执行
143
143
  */
144
144
  useEffect(function () {
145
145
  // return;
@@ -1,85 +1,85 @@
1
- @use "../style/variable" as 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: variable.$trionesColorFill;
13
- overflow: auto;
14
- scrollbar-width: thin;
15
- flex-shrink: 0;
16
- }
17
-
18
- &-tab {
19
- cursor: pointer;
20
- padding: variable.$trionesPadding variable.$trionesPadding;
21
- color: variable.$trionesColorTextSecondary;
22
-
23
- &-active {
24
- color: variable.$trionesColorPrimaryText;
25
- background-color: variable.$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 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: variable.$trionesColorFill;
13
+ overflow: auto;
14
+ scrollbar-width: thin;
15
+ flex-shrink: 0;
16
+ }
17
+
18
+ &-tab {
19
+ cursor: pointer;
20
+ padding: variable.$trionesPadding variable.$trionesPadding;
21
+ color: variable.$trionesColorTextSecondary;
22
+
23
+ &-active {
24
+ color: variable.$trionesColorPrimaryText;
25
+ background-color: variable.$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,3 @@
1
+ import React from 'react';
2
+ declare const _default: () => React.JSX.Element;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DemoBlock } from "../../DemoBlock";
3
+ import { Skeleton } from "../../index";
4
+ export default (function () {
5
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DemoBlock, {
6
+ title: "\u57FA\u7840\u7528\u6CD5"
7
+ }, /*#__PURE__*/React.createElement(Skeleton, null)));
8
+ });
@@ -0,0 +1,3 @@
1
+ import { Skeleton } from '@trionesdev/antd-mobile-base-react';
2
+ export type { SkeletonAvatarProps, SkeletonAvatarShape, SkeletonAvatarSize, SkeletonBlockType, SkeletonButtonProps, SkeletonButtonShape, SkeletonInputProps, SkeletonParagraphProps, SkeletonProps, SkeletonTitleProps, } from '@trionesdev/antd-mobile-base-react';
3
+ export default Skeleton;
@@ -0,0 +1,2 @@
1
+ import { Skeleton } from '@trionesdev/antd-mobile-base-react';
2
+ export default Skeleton;
@@ -1,5 +1,5 @@
1
- /**
2
- * compact: true
1
+ /**
2
+ * compact: true
3
3
  */
4
4
  import { DemoBlock } from "../../DemoBlock";
5
5
  import React from 'react';
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: () => React.JSX.Element;
3
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import Stepper from "../index";
3
+ import { DemoBlock } from "../../DemoBlock";
4
+ export default (function () {
5
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(DemoBlock, {
6
+ title: "\u57FA\u672C\u4F7F\u7528"
7
+ }, /*#__PURE__*/React.createElement(Stepper, null)), /*#__PURE__*/React.createElement(DemoBlock, {
8
+ title: "\u6700\u5927\u503C\u6700\u5C0F\u503C"
9
+ }, /*#__PURE__*/React.createElement(Stepper, {
10
+ min: 0,
11
+ max: 10
12
+ })), /*#__PURE__*/React.createElement(DemoBlock, {
13
+ title: "\u57FA\u672C\u4F7F\u7528"
14
+ }, /*#__PURE__*/React.createElement(Stepper, {
15
+ max: 10
16
+ })), /*#__PURE__*/React.createElement(DemoBlock, {
17
+ title: "\u5360\u6EE1"
18
+ }, /*#__PURE__*/React.createElement(Stepper, {
19
+ block: true,
20
+ min: 0,
21
+ max: 10
22
+ })));
23
+ });
@@ -0,0 +1,3 @@
1
+ import { Stepper, StepperProps } from "@trionesdev/antd-mobile-base-react";
2
+ export type { StepperProps };
3
+ export default Stepper;
@@ -0,0 +1,2 @@
1
+ import { Stepper } from "@trionesdev/antd-mobile-base-react";
2
+ export default Stepper;
@@ -1,54 +1,54 @@
1
- @use "../style/variable" as variable;
2
- $swiperCls: 'triones-antm-swiper';
3
-
4
- .#{$swiperCls} {
5
- max-height: 100%;
6
- display: flex;
7
- justify-items: center;
8
- align-items: center;
9
- }
10
- .#{$swiperCls}-core {
11
- position: relative;
12
- width: 100%;
13
- height: 100%;
14
- overflow: hidden;
15
- box-sizing: border-box;
16
- &-box{
17
- position: relative;
18
- width: 100%;
19
- height: 100%;
20
- }
21
- &-wrapper{
22
- position: relative;
23
- width: 100%;
24
- height: 100%;
25
- display: flex;
26
- transition-property: transform;
27
- justify-content: center;
28
- align-items: center;
29
- &-horizontal{
30
- flex-direction: row;
31
- touch-action: pan-x;
32
- }
33
- &-vertical{
34
- flex-direction: column;
35
- touch-action: pan-y;
36
- }
37
- }
38
- &-item {
39
- position: relative;
40
- flex-shrink: 0;
41
- display: flex;
42
- justify-content: center;
43
- align-items: center;
44
- }
45
- }
46
-
47
- .#{$swiperCls}-taro {
48
- width: 100%;
49
- height: 100%;
50
- &-item{
51
- display: flex;
52
- align-items: center;
53
- }
54
- }
1
+ @use "../style/variable" as variable;
2
+ $swiperCls: 'triones-antm-swiper';
3
+
4
+ .#{$swiperCls} {
5
+ max-height: 100%;
6
+ display: flex;
7
+ justify-items: center;
8
+ align-items: center;
9
+ }
10
+ .#{$swiperCls}-core {
11
+ position: relative;
12
+ width: 100%;
13
+ height: 100%;
14
+ overflow: hidden;
15
+ box-sizing: border-box;
16
+ &-box{
17
+ position: relative;
18
+ width: 100%;
19
+ height: 100%;
20
+ }
21
+ &-wrapper{
22
+ position: relative;
23
+ width: 100%;
24
+ height: 100%;
25
+ display: flex;
26
+ transition-property: transform;
27
+ justify-content: center;
28
+ align-items: center;
29
+ &-horizontal{
30
+ flex-direction: row;
31
+ touch-action: pan-x;
32
+ }
33
+ &-vertical{
34
+ flex-direction: column;
35
+ touch-action: pan-y;
36
+ }
37
+ }
38
+ &-item {
39
+ position: relative;
40
+ flex-shrink: 0;
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ }
45
+ }
46
+
47
+ .#{$swiperCls}-taro {
48
+ width: 100%;
49
+ height: 100%;
50
+ &-item{
51
+ display: flex;
52
+ align-items: center;
53
+ }
54
+ }
@@ -8,8 +8,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
- /**
12
- * compact: true
11
+ /**
12
+ * compact: true
13
13
  */
14
14
  import { CheckOutline, CloseOutline } from '@trionesdev/antd-mobile-icons-react';
15
15
  import { DemoBlock } from "../../DemoBlock";
@@ -1,5 +1,5 @@
1
- /**
2
- * compact: true
1
+ /**
2
+ * compact: true
3
3
  */
4
4
  import React from "react";
5
5
  import { FaceRecognitionOutline, AppstoreOutline, UserOutline } from "../../../../antd-mobile-icons-react";
@@ -1,5 +1,5 @@
1
- /**
2
- * compact: true
1
+ /**
2
+ * compact: true
3
3
  */
4
4
  import React from 'react';
5
5
  import "./style.scss";
@@ -1,8 +1,8 @@
1
- .tag-demo-style {
2
- &-content {
3
- display: flex;
4
- flex-wrap: wrap;
5
- gap: 8px;
6
- row-gap: 8px;
7
- }
8
- }
1
+ .tag-demo-style {
2
+ &-content {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ gap: 8px;
6
+ row-gap: 8px;
7
+ }
8
+ }
@@ -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
+ }
@@ -4,8 +4,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- /**
8
- * compact: true
7
+ /**
8
+ * compact: true
9
9
  */
10
10
  import React, { useState } from 'react';
11
11
  import "./demo1.scss";
@@ -1,6 +1,6 @@
1
- .water-mark-overlay {
2
- padding: 12px;
3
- button {
4
- margin-bottom: 12px;
5
- }
6
- }
1
+ .water-mark-overlay {
2
+ padding: 12px;
3
+ button {
4
+ margin-bottom: 12px;
5
+ }
6
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * compact: true
1
+ /**
2
+ * compact: true
3
3
  */
4
4
  import { DemoBlock } from "../../DemoBlock";
5
5
  import React from 'react';