@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.
Files changed (62) hide show
  1. package/LICENSE +21 -21
  2. package/dist/ActionSheet/style.scss +52 -52
  3. package/dist/Button/button.d.ts +2 -2
  4. package/dist/Button/button.js +2 -3
  5. package/dist/Button/style.scss +246 -235
  6. package/dist/Calendar/style.scss +88 -88
  7. package/dist/Calendar/touchable-calendar-grid.js +9 -9
  8. package/dist/CalendarDatetimePicker/style.scss +62 -62
  9. package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.d.ts +2 -2
  10. package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.js +3 -3
  11. package/dist/CalendarPicker/style.scss +32 -32
  12. package/dist/CalendarPickerCell/CalendarPickerCell.d.ts +2 -2
  13. package/dist/CalendarPickerCell/CalendarPickerCell.js +3 -3
  14. package/dist/CalendarPickerCell/CalendarRangePickerCell.d.ts +2 -2
  15. package/dist/CalendarPickerCell/CalendarRangePickerCell.js +3 -3
  16. package/dist/CascaderPicker/style.scss +45 -45
  17. package/dist/CascaderPickerCell/CascaderPickerCell.d.ts +2 -2
  18. package/dist/CascaderPickerCell/CascaderPickerCell.js +3 -3
  19. package/dist/DatePicker/style.scss +41 -41
  20. package/dist/FetchPicker/FetchPicker.d.ts +113 -0
  21. package/dist/FetchPicker/FetchPicker.js +322 -0
  22. package/dist/FetchPicker/index.d.ts +4 -0
  23. package/dist/FetchPicker/index.js +3 -0
  24. package/dist/FetchPicker/styles.scss +118 -0
  25. package/dist/FloatButton/style.scss +126 -126
  26. package/dist/Form/FormItem/{form-item-input.d.ts → form-item-content.d.ts} +3 -1
  27. package/dist/Form/FormItem/{form-item-input.js → form-item-content.js} +2 -2
  28. package/dist/Form/FormItem/form-item-label.js +2 -8
  29. package/dist/Form/FormItem/form-item.d.ts +3 -2
  30. package/dist/Form/FormItem/form-item.js +23 -19
  31. package/dist/Form/index.d.ts +2 -2
  32. package/dist/Form/style.scss +100 -78
  33. package/dist/FormCell/index.d.ts +3 -0
  34. package/dist/FormCell/index.js +2 -0
  35. package/dist/ImagesPreview/style.scss +34 -34
  36. package/dist/ImagesWall/style.scss +70 -70
  37. package/dist/Input/index.scss +282 -267
  38. package/dist/Input/input-affix-wrapper.js +1 -1
  39. package/dist/Input/taro-input.js +16 -3
  40. package/dist/Input/types.d.ts +3 -3
  41. package/dist/Loading/index.d.ts +4 -0
  42. package/dist/Loading/index.js +3 -0
  43. package/dist/Overlay/style.scss +20 -20
  44. package/dist/Picker/Picker.d.ts +8 -0
  45. package/dist/Picker/Picker.js +6 -7
  46. package/dist/Picker/style.scss +41 -41
  47. package/dist/PickerView/style.scss +13 -13
  48. package/dist/PickerView/types.d.ts +2 -2
  49. package/dist/Popup/style.scss +126 -124
  50. package/dist/SideBar/side-bar.js +6 -6
  51. package/dist/SideBar/style.scss +85 -85
  52. package/dist/Stepper/index.d.ts +3 -0
  53. package/dist/Stepper/index.js +2 -0
  54. package/dist/Toast/style.scss +63 -63
  55. package/dist/VerificationCodeInput/style.scss +20 -20
  56. package/dist/index.d.ts +10 -3
  57. package/dist/index.js +4 -1
  58. package/dist/style/variable.scss +34 -20
  59. package/package.json +20 -24
  60. package/readme.md +23 -23
  61. package/dist/SpinLoading/index.d.ts +0 -3
  62. package/dist/SpinLoading/index.js +0 -2
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) fengxiaotx@163.com
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) fengxiaotx@163.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,52 +1,52 @@
1
- @use "../style/variable" as variable;
2
-
3
- $actionSheetCls: 'triones-antm-action-sheet';
4
-
5
- .#{$actionSheetCls} {
6
- display: flex;
7
- flex-direction: column;
8
- background-color: variable.$trionesColorFill;
9
- border-top-left-radius: variable.$trionesBorderRadius;
10
- border-top-right-radius: variable.$trionesBorderRadius;
11
- overflow: hidden;
12
- gap: 2Px;
13
- &-body{
14
-
15
- }
16
- &-title{
17
- display: flex;
18
- justify-content: center;
19
- align-items: center;
20
- min-height: 48Px;
21
- background-color: white;
22
- font-size: 18Px;
23
- border-bottom: 1Px solid variable.$trionesBorderColor;
24
- }
25
- &-actions{
26
- &-item{
27
- display: flex;
28
- justify-content: center;
29
- align-items: center;
30
- min-height: 48Px;
31
- background-color: white;
32
- cursor: default;
33
- position: relative;
34
- font-size: 18Px;
35
- &:hover{
36
- opacity: 0.8;
37
- }
38
- }
39
- }
40
- &-cancel{
41
- display: flex;
42
- justify-content: center;
43
- align-items: center;
44
- min-height: 48Px;
45
- font-size: 18Px;
46
- background-color: white;
47
- cursor: default;
48
- &:hover{
49
- opacity: 0.8;
50
- }
51
- }
52
- }
1
+ @use "../style/variable" as variable;
2
+
3
+ $actionSheetCls: 'triones-antm-action-sheet';
4
+
5
+ .#{$actionSheetCls} {
6
+ display: flex;
7
+ flex-direction: column;
8
+ background-color: variable.$trionesColorFill;
9
+ border-top-left-radius: variable.$trionesBorderRadius;
10
+ border-top-right-radius: variable.$trionesBorderRadius;
11
+ overflow: hidden;
12
+ gap: 2Px;
13
+ &-body{
14
+
15
+ }
16
+ &-title{
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ min-height: 48Px;
21
+ background-color: white;
22
+ font-size: 18Px;
23
+ border-bottom: 1Px solid variable.$trionesBorderColor;
24
+ }
25
+ &-actions{
26
+ &-item{
27
+ display: flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ min-height: 48Px;
31
+ background-color: white;
32
+ cursor: default;
33
+ position: relative;
34
+ font-size: 18Px;
35
+ &:hover{
36
+ opacity: 0.8;
37
+ }
38
+ }
39
+ }
40
+ &-cancel{
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ min-height: 48Px;
45
+ font-size: 18Px;
46
+ background-color: white;
47
+ cursor: default;
48
+ &:hover{
49
+ opacity: 0.8;
50
+ }
51
+ }
52
+ }
@@ -2,7 +2,7 @@ import { ButtonProps as TaroButtonProps } from '@tarojs/components';
2
2
  import React, { FC, PropsWithChildren } from 'react';
3
3
  import './style.scss';
4
4
  import { CommonEventFunction } from '@tarojs/components/types/common';
5
- import { SizeType } from "@trionesdev/antd-mobile-base-react";
5
+ import { AntSize } from "@trionesdev/antd-mobile-base-react";
6
6
  export type ButtonProps = {
7
7
  /**
8
8
  * @description block 按钮宽高自适应
@@ -46,7 +46,7 @@ export type ButtonProps = {
46
46
  * @description 按钮样式
47
47
  */
48
48
  variant?: 'outlined' | 'dashed' | 'solid' | 'filled' | 'text' | 'link';
49
- size?: SizeType;
49
+ size?: AntSize;
50
50
  /**
51
51
  * @description 点击事件
52
52
  */
@@ -27,7 +27,7 @@ export var Button = function Button(_ref) {
27
27
  loading = _ref.loading,
28
28
  variant = _ref.variant,
29
29
  _ref$size = _ref.size,
30
- size = _ref$size === void 0 ? 'middle' : _ref$size,
30
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
31
31
  onClick = _ref.onClick,
32
32
  openType = _ref.openType,
33
33
  onGetPhoneNumber = _ref.onGetPhoneNumber,
@@ -57,9 +57,8 @@ export var Button = function Button(_ref) {
57
57
  finalColor = 'danger';
58
58
  }
59
59
  return /*#__PURE__*/React.createElement(TaroButton, {
60
- className: classNames(clsPrefix, "".concat(clsPrefix, "-").concat(size), className, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(clsPrefix, "-block"), block), "".concat(clsPrefix, "-type-").concat(type), type), "".concat(clsPrefix, "-color-").concat(finalColor), finalColor), "".concat(clsPrefix, "-variant-").concat(finalVariant), finalVariant)),
60
+ className: classNames(clsPrefix, "".concat(clsPrefix, "-").concat(size), className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(clsPrefix, "-block"), block), "".concat(clsPrefix, "-type-").concat(type), type), "".concat(clsPrefix, "-color-").concat(finalColor), finalColor), "".concat(clsPrefix, "-variant-").concat(finalVariant), finalVariant), "".concat(clsPrefix, "-disabled"), disabled)),
61
61
  style: style,
62
- disabled: disabled,
63
62
  openType: openType,
64
63
  onGetPhoneNumber: onGetPhoneNumber,
65
64
  onClick: onClick
@@ -1,235 +1,246 @@
1
- @use "../style/variable" as variable;
2
-
3
- $trionesButtonPendingInlineSm: 7Px;
4
- $trionesButtonHeightSm: 24Px;
5
-
6
- $trionesButtonPendingInline: 15Px;
7
- $trionesButtonHeight: 32Px;
8
-
9
- $trionesButtonContentFontSizeLg: variable.$trionesFontSizeLg;
10
- $trionesButtonPendingInlineLg: 15Px;
11
- $trionesButtonHeightLg: 40Px;
12
-
13
- $colorPrimary: variable.$trionesColorPrimary;
14
- $colorError: variable.$trionesColorErrorText;
15
- $colorWhite: variable.$trionesColorBgBase;
16
-
17
- button::after {
18
- content: none;
19
- width: 100%;
20
- }
21
-
22
- $buttonCls: 'triones-antm-button';
23
- .#{$buttonCls} {
24
- width: auto;
25
- position: relative;
26
- display: inline-flex;
27
- flex-direction: column;
28
- justify-self: center;
29
- align-items: center;
30
- justify-content: center;
31
- height: auto;
32
- line-height: normal;
33
- border-radius: 4Px;
34
- border: 1Px none;
35
- box-sizing: border-box;
36
- font-size: 14Px;
37
- z-index: 2;
38
- margin-top: 0;
39
-
40
- &:active {
41
- filter: brightness(92%);
42
- }
43
- &::after{
44
- content: none;
45
- }
46
-
47
- &[disabled=true] {
48
- opacity: 0.4;
49
-
50
- &:active {
51
- filter: none;
52
- }
53
- }
54
- &:not([disabled]):active{}
55
-
56
- &-color {
57
- &-default {
58
- background-color: $colorWhite;
59
-
60
- &.#{$buttonCls} {
61
- &-variant {
62
- &-solid {
63
- color: $colorWhite;
64
- background-color: rgba(0, 0, 0, 0.75);
65
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.75);
66
- }
67
-
68
- &-outlined {
69
- color: rgba(0, 0, 0, 0.75);
70
- border: 1px solid rgba(0, 0, 0, 0.75);
71
- background-color: $colorWhite;
72
- }
73
-
74
- &-dashed {
75
- color: rgba(0, 0, 0, 0.75);
76
- border: 1px dashed rgba(0, 0, 0, 0.75);
77
- background-color: $colorWhite;
78
- }
79
-
80
- &-filled {
81
- color: rgba(0, 0, 0, 0.75);
82
- background-color: rgba(0, 0, 0, 0.06);
83
- }
84
-
85
- &-text {
86
- color: rgba(0, 0, 0, 0.75);
87
- background-color: $colorWhite;
88
- }
89
-
90
- &-link {
91
- color: rgba(0, 0, 0, 0.75);
92
- background-color: $colorWhite;
93
-
94
- &:active {
95
- filter: none;
96
- }
97
- }
98
- }
99
- }
100
- }
101
-
102
- &-primary {
103
- &.#{$buttonCls} {
104
- &-variant {
105
- &-solid {
106
- color: $colorWhite;
107
- background-color: $colorPrimary;
108
- box-shadow: inset 0 0 0 1px $colorPrimary;
109
- }
110
-
111
- &-outlined {
112
- color: $colorPrimary;
113
- background-color: white;
114
- border: 1px solid $colorPrimary;
115
- }
116
-
117
- &-dashed {
118
- color: $colorPrimary;
119
- border: 1px dashed $colorPrimary;
120
- background-color: $colorWhite;
121
- }
122
-
123
- &-filled {
124
- color: $colorPrimary;
125
- background-color: variable.$trionesColorPrimaryBg;
126
- }
127
-
128
- &-text {
129
- color: $colorPrimary;
130
- background-color: $colorWhite;
131
- }
132
-
133
- &-link {
134
- color: $colorPrimary;
135
- background-color: $colorWhite;
136
-
137
- &:active {
138
- filter: none;
139
- }
140
- }
141
- }
142
- }
143
- }
144
-
145
- &-danger {
146
- &.#{$buttonCls} {
147
- &-variant {
148
- &-solid {
149
- color: $colorWhite;
150
- background-color:$colorError;
151
- box-shadow: inset 0 0 0 1px $colorError;
152
- }
153
-
154
- &-outlined {
155
- color: $colorError;
156
- background-color: $colorWhite;
157
- border: 1px solid $colorError;
158
- }
159
-
160
- &-dashed {
161
- color: $colorError;
162
- border: 1px dashed $colorError;
163
- background-color: $colorWhite;
164
- }
165
-
166
- &-filled {
167
- color: $colorError;
168
- background-color: #ffdfdc;
169
- }
170
-
171
- &-text {
172
- color: $colorError;
173
- background-color: $colorWhite;
174
- }
175
-
176
- &-link {
177
- color: $colorError;
178
- background-color: $colorWhite;
179
-
180
- &:active {
181
- filter: none;
182
- }
183
- }
184
- }
185
- }
186
- }
187
- }
188
-
189
- &-variant {
190
- &-solid {
191
- }
192
-
193
- &-outlined {
194
- background-color: $colorWhite;
195
- }
196
-
197
- &-dashed {
198
- border: 1px dashed #d9d9d9;
199
- background-color: $colorWhite;
200
- }
201
-
202
- &-text {
203
- background-color: $colorWhite;
204
- }
205
-
206
- &-link {
207
- background-color: $colorWhite;
208
- }
209
- }
210
-
211
- &-block {
212
- display: flex;
213
- width: 100%;
214
- }
215
-
216
- &-small {
217
- font-size: variable.$trionesFontSizeSm;
218
- padding-inline: $trionesButtonPendingInlineSm;
219
- height: $trionesButtonHeightSm;
220
- border-radius: variable.$trionesBorderRadiusSm;
221
- }
222
-
223
- &-middle {
224
- padding-inline: $trionesButtonPendingInline;
225
- height: $trionesButtonHeight;
226
- border-radius: variable.$trionesBorderRadius;
227
- }
228
-
229
- &-large {
230
- font-size: $trionesButtonContentFontSizeLg;
231
- padding-inline: $trionesButtonPendingInlineLg;
232
- height: $trionesButtonHeightLg;
233
- border-radius: variable.$trionesBorderRadiusLg;
234
- }
235
- }
1
+ @use "../style/variable" as variable;
2
+
3
+ $trionesButtonPendingInlineSm: 7Px;
4
+ $trionesButtonHeightSm: 24Px;
5
+
6
+ $trionesButtonPendingInline: 15Px;
7
+ $trionesButtonHeight: 32Px;
8
+
9
+ $trionesButtonContentFontSizeLg: variable.$trionesFontSizeLg;
10
+ $trionesButtonPendingInlineLg: 15Px;
11
+ $trionesButtonHeightLg: 40Px;
12
+
13
+ $colorPrimary: variable.$trionesColorPrimary;
14
+ $colorError: variable.$trionesColorErrorText;
15
+ $colorWhite: variable.$trionesColorBgBase;
16
+
17
+ button::after {
18
+ content: none;
19
+ width: 100%;
20
+ }
21
+
22
+ $buttonCls: 'triones-antm-button';
23
+ .#{$buttonCls} {
24
+ width: auto;
25
+ position: relative;
26
+ display: inline-flex;
27
+ flex-direction: row;
28
+ justify-self: center;
29
+ align-items: center;
30
+ justify-content: center;
31
+ height: auto;
32
+ line-height: normal;
33
+ border-radius: 4Px;
34
+ border: 1Px none;
35
+ box-sizing: border-box;
36
+ font-size: 14Px;
37
+ z-index: 2;
38
+ margin-top: 0;
39
+ gap: 8Px;
40
+
41
+ &:active {
42
+ filter: brightness(92%);
43
+ }
44
+
45
+ &::after {
46
+ content: none;
47
+ }
48
+
49
+ &[disabled=true] {
50
+ opacity: 0.4;
51
+
52
+ &:active {
53
+ filter: none;
54
+ }
55
+ }
56
+
57
+ &:not([disabled]):active {
58
+
59
+ }
60
+
61
+ &-color {
62
+ &-default {
63
+ background-color: $colorWhite;
64
+
65
+ &.#{$buttonCls} {
66
+ &-variant {
67
+ &-solid {
68
+ color: $colorWhite;
69
+ background-color: rgba(0, 0, 0, 0.75);
70
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.75);
71
+ }
72
+
73
+ &-outlined {
74
+ color: rgba(0, 0, 0, 0.75);
75
+ border: 1px solid rgba(0, 0, 0, 0.75);
76
+ background-color: $colorWhite;
77
+ }
78
+
79
+ &-dashed {
80
+ color: rgba(0, 0, 0, 0.75);
81
+ border: 1px dashed rgba(0, 0, 0, 0.75);
82
+ background-color: $colorWhite;
83
+ }
84
+
85
+ &-filled {
86
+ color: rgba(0, 0, 0, 0.75);
87
+ background-color: rgba(0, 0, 0, 0.06);
88
+ }
89
+
90
+ &-text {
91
+ color: rgba(0, 0, 0, 0.75);
92
+ background-color: $colorWhite;
93
+ }
94
+
95
+ &-link {
96
+ color: rgba(0, 0, 0, 0.75);
97
+ background-color: $colorWhite;
98
+
99
+ &:active {
100
+ filter: none;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+
107
+ &-primary {
108
+ &.#{$buttonCls} {
109
+ &-variant {
110
+ &-solid {
111
+ color: $colorWhite;
112
+ background-color: $colorPrimary;
113
+ box-shadow: inset 0 0 0 1px $colorPrimary;
114
+ }
115
+
116
+ &-outlined {
117
+ color: $colorPrimary;
118
+ background-color: white;
119
+ border: 1px solid $colorPrimary;
120
+ }
121
+
122
+ &-dashed {
123
+ color: $colorPrimary;
124
+ border: 1px dashed $colorPrimary;
125
+ background-color: $colorWhite;
126
+ }
127
+
128
+ &-filled {
129
+ color: $colorPrimary;
130
+ background-color: variable.$trionesColorPrimaryBg;
131
+ }
132
+
133
+ &-text {
134
+ color: $colorPrimary;
135
+ background-color: $colorWhite;
136
+ }
137
+
138
+ &-link {
139
+ color: $colorPrimary;
140
+ background-color: $colorWhite;
141
+
142
+ &:active {
143
+ filter: none;
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+
150
+ &-danger {
151
+ &.#{$buttonCls} {
152
+ &-variant {
153
+ &-solid {
154
+ color: $colorWhite;
155
+ background-color: $colorError;
156
+ box-shadow: inset 0 0 0 1px $colorError;
157
+ }
158
+
159
+ &-outlined {
160
+ color: $colorError;
161
+ background-color: $colorWhite;
162
+ border: 1px solid $colorError;
163
+ }
164
+
165
+ &-dashed {
166
+ color: $colorError;
167
+ border: 1px dashed $colorError;
168
+ background-color: $colorWhite;
169
+ }
170
+
171
+ &-filled {
172
+ color: $colorError;
173
+ background-color: #ffdfdc;
174
+ }
175
+
176
+ &-text {
177
+ color: $colorError;
178
+ background-color: $colorWhite;
179
+ }
180
+
181
+ &-link {
182
+ color: $colorError;
183
+ background-color: $colorWhite;
184
+
185
+ &:active {
186
+ filter: none;
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+
194
+ &-variant {
195
+ &-solid {
196
+ }
197
+
198
+ &-outlined {
199
+ background-color: $colorWhite;
200
+ }
201
+
202
+ &-dashed {
203
+ border: 1px dashed #d9d9d9;
204
+ background-color: $colorWhite;
205
+ }
206
+
207
+ &-text {
208
+ background-color: $colorWhite;
209
+ }
210
+
211
+ &-link {
212
+ background-color: $colorWhite;
213
+ }
214
+ }
215
+
216
+ &-block {
217
+ //display: flex;
218
+ //flex-direction: row;
219
+ width: 100%;
220
+ }
221
+
222
+ &-small {
223
+ font-size: variable.$trionesFontSizeSm;
224
+ padding-inline: $trionesButtonPendingInlineSm;
225
+ height: $trionesButtonHeightSm;
226
+ border-radius: variable.$trionesBorderRadiusSm;
227
+ }
228
+
229
+ &-medium {
230
+ padding-inline: $trionesButtonPendingInline;
231
+ height: $trionesButtonHeight;
232
+ border-radius: variable.$trionesBorderRadius;
233
+ }
234
+
235
+ &-large {
236
+ font-size: $trionesButtonContentFontSizeLg;
237
+ padding-inline: $trionesButtonPendingInlineLg;
238
+ height: $trionesButtonHeightLg;
239
+ border-radius: variable.$trionesBorderRadiusLg;
240
+ }
241
+
242
+ &-disabled {
243
+ opacity: 0.4;
244
+ }
245
+ }
246
+