@trionesdev/antd-taro-react 0.0.2-beta.1 → 0.0.2-beta.3

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 (232) 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 +2 -2
  6. package/dist/Button/index.d.ts +0 -1
  7. package/dist/Button/style.scss +235 -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/CalendarDatetimePicker.js +22 -19
  18. package/dist/CalendarDatetimePicker/DateTimeSwitch.d.ts +0 -1
  19. package/dist/CalendarDatetimePicker/index.d.ts +0 -1
  20. package/dist/CalendarDatetimePicker/style.scss +62 -54
  21. package/dist/CalendarDatetimePicker/types.d.ts +0 -1
  22. package/dist/CalendarPicker/calendar-picker.d.ts +0 -1
  23. package/dist/CalendarPicker/calendar-picker.js +2 -1
  24. package/dist/CalendarPicker/calendar-range-picker.d.ts +0 -1
  25. package/dist/CalendarPicker/index.d.ts +0 -1
  26. package/dist/CalendarPicker/style.scss +31 -31
  27. package/dist/CalendarPicker/types.d.ts +0 -1
  28. package/dist/Card/index.d.ts +0 -1
  29. package/dist/CascaderPicker/index.d.ts +0 -1
  30. package/dist/CascaderView/index.d.ts +0 -1
  31. package/dist/Cell/index.d.ts +0 -1
  32. package/dist/Checkbox/index.d.ts +0 -1
  33. package/dist/ConfigProvider/index.d.ts +0 -1
  34. package/dist/Descriptions/index.d.ts +0 -1
  35. package/dist/Divider/index.d.ts +0 -1
  36. package/dist/Ellipsis/index.d.ts +0 -1
  37. package/dist/Empty/index.d.ts +0 -1
  38. package/dist/ErrorBlock/index.d.ts +0 -1
  39. package/dist/Footer/index.d.ts +0 -1
  40. package/dist/Form/FormItem/form-item-input.d.ts +15 -0
  41. package/dist/Form/FormItem/form-item-input.js +39 -0
  42. package/dist/Form/FormItem/form-item-label.d.ts +13 -0
  43. package/dist/Form/FormItem/form-item-label.js +35 -0
  44. package/dist/Form/FormItem/form-item.d.ts +22 -0
  45. package/dist/Form/FormItem/form-item.js +73 -0
  46. package/dist/Form/FormItem/index.d.ts +5 -0
  47. package/dist/Form/FormItem/index.js +3 -0
  48. package/dist/Form/index.d.ts +8 -2
  49. package/dist/Form/index.js +5 -1
  50. package/dist/Form/style.scss +78 -0
  51. package/dist/Grid/index.d.ts +0 -1
  52. package/dist/Icon/check-icon.d.ts +0 -1
  53. package/dist/Image/image.d.ts +0 -1
  54. package/dist/Image/index.d.ts +0 -1
  55. package/dist/ImagesPreview/ImagesPreview.d.ts +0 -1
  56. package/dist/ImagesPreview/ImagesPreview.js +2 -1
  57. package/dist/ImagesPreview/index.d.ts +0 -1
  58. package/dist/ImagesPreview/style.scss +34 -34
  59. package/dist/ImagesWall/ImagesWall.d.ts +0 -1
  60. package/dist/ImagesWall/ImagesWall.js +1 -1
  61. package/dist/ImagesWall/index.d.ts +0 -1
  62. package/dist/ImagesWall/style.scss +70 -70
  63. package/dist/Input/index.d.ts +17 -3
  64. package/dist/Input/index.js +13 -1
  65. package/dist/Input/index.scss +249 -0
  66. package/dist/Input/input-affix-wrapper.d.ts +11 -0
  67. package/dist/Input/input-affix-wrapper.js +32 -0
  68. package/dist/Input/input-digit.d.ts +7 -0
  69. package/dist/Input/input-digit.js +53 -0
  70. package/dist/Input/input-number.d.ts +7 -0
  71. package/dist/Input/input-number.js +50 -0
  72. package/dist/Input/input-opt.d.ts +16 -0
  73. package/dist/Input/input-opt.js +87 -0
  74. package/dist/Input/input-password.d.ts +8 -0
  75. package/dist/Input/input-password.js +49 -0
  76. package/dist/Input/input.d.ts +3 -0
  77. package/dist/Input/input.js +7 -0
  78. package/dist/Input/taro-input.d.ts +8 -0
  79. package/dist/Input/taro-input.js +54 -0
  80. package/dist/Input/textarea.d.ts +13 -0
  81. package/dist/Input/textarea.js +47 -0
  82. package/dist/Input/types.d.ts +17 -0
  83. package/dist/Input/types.js +2 -0
  84. package/dist/InputNumber/index.d.ts +0 -1
  85. package/dist/Mask/index.d.ts +0 -1
  86. package/dist/NavBar/index.d.ts +0 -1
  87. package/dist/NoticeBar/index.d.ts +0 -1
  88. package/dist/PageIndicator/index.d.ts +0 -1
  89. package/dist/Picker/index.d.ts +0 -1
  90. package/dist/PickerView/index.d.ts +0 -1
  91. package/dist/Popup/Popup.d.ts +3 -0
  92. package/dist/Popup/Popup.js +29 -0
  93. package/dist/Popup/index.d.ts +2 -2
  94. package/dist/Popup/index.js +1 -1
  95. package/dist/Progress/Progress.d.ts +2 -2
  96. package/dist/Progress/Progress.js +3 -0
  97. package/dist/Progress/ProgressCircle.d.ts +1 -2
  98. package/dist/Progress/ProgressCircle.js +21 -26
  99. package/dist/Progress/ProgressLine.d.ts +1 -2
  100. package/dist/Progress/index.d.ts +0 -1
  101. package/dist/Progress/style.scss +33 -33
  102. package/dist/Progress/types.d.ts +2 -1
  103. package/dist/Radio/index.d.ts +0 -1
  104. package/dist/Rate/index.d.ts +0 -1
  105. package/dist/Result/index.d.ts +0 -1
  106. package/dist/SafeArea/index.d.ts +0 -1
  107. package/dist/Scaffold/index.d.ts +0 -1
  108. package/dist/ScrollView/index.d.ts +0 -1
  109. package/dist/SideBar/SideBarContext.d.ts +0 -1
  110. package/dist/SideBar/index.d.ts +0 -1
  111. package/dist/SideBar/side-bar.d.ts +0 -1
  112. package/dist/SideBar/side-bar.js +6 -6
  113. package/dist/SideBar/style.scss +85 -85
  114. package/dist/SideBar/types.d.ts +0 -1
  115. package/dist/Space/index.d.ts +0 -1
  116. package/dist/SpinLoading/index.d.ts +0 -1
  117. package/dist/Steps/index.d.ts +0 -1
  118. package/dist/Swiper/index.d.ts +0 -1
  119. package/dist/Swiper/swiper.d.ts +0 -1
  120. package/dist/Switch/index.d.ts +0 -1
  121. package/dist/TabBar/index.d.ts +0 -1
  122. package/dist/Tabs/index.d.ts +0 -1
  123. package/dist/Tag/index.d.ts +0 -1
  124. package/dist/Toast/index.d.ts +0 -1
  125. package/dist/VerificationCodeInput/index.d.ts +2 -3
  126. package/dist/VerificationCodeInput/index.js +1 -1
  127. package/dist/VerificationCodeInput/style.scss +20 -0
  128. package/dist/VerificationCodeInput/verification-code-input.d.ts +24 -0
  129. package/dist/VerificationCodeInput/verification-code-input.js +99 -0
  130. package/dist/WaterMark/index.d.ts +0 -1
  131. package/dist/hooks/index.d.ts +0 -1
  132. package/dist/hooks/useTaro.d.ts +0 -1
  133. package/dist/index.d.ts +1 -2
  134. package/dist/locales/base.d.ts +0 -1
  135. package/dist/locales/en-US.d.ts +0 -1
  136. package/dist/locales/zh-CN.d.ts +0 -1
  137. package/dist/style/variable.scss +20 -1
  138. package/dist/types.d.ts +0 -2
  139. package/dist/utils/datetime-utils.d.ts +0 -1
  140. package/dist/utils/merge-locale.d.ts +0 -1
  141. package/dist/utils/native-props.d.ts +0 -1
  142. package/dist/utils/random-utils.d.ts +0 -1
  143. package/package.json +20 -20
  144. package/readme.md +23 -23
  145. package/dist/ActionSheet/index.d.ts.map +0 -1
  146. package/dist/Alert/index.d.ts.map +0 -1
  147. package/dist/Avatar/index.d.ts.map +0 -1
  148. package/dist/Badge/index.d.ts.map +0 -1
  149. package/dist/Button/button.d.ts.map +0 -1
  150. package/dist/Button/index.d.ts.map +0 -1
  151. package/dist/Calendar/calendar-grid.d.ts.map +0 -1
  152. package/dist/Calendar/calendar-header.d.ts.map +0 -1
  153. package/dist/Calendar/calendar-range.d.ts.map +0 -1
  154. package/dist/Calendar/calendar.d.ts.map +0 -1
  155. package/dist/Calendar/index.d.ts.map +0 -1
  156. package/dist/Calendar/touchable-calendar-grid.d.ts.map +0 -1
  157. package/dist/CalendarDatetimePicker/CalendarDatetimePicker.d.ts.map +0 -1
  158. package/dist/CalendarDatetimePicker/DateTimeSwitch.d.ts.map +0 -1
  159. package/dist/CalendarDatetimePicker/index.d.ts.map +0 -1
  160. package/dist/CalendarDatetimePicker/types.d.ts.map +0 -1
  161. package/dist/CalendarPicker/calendar-picker.d.ts.map +0 -1
  162. package/dist/CalendarPicker/calendar-range-picker.d.ts.map +0 -1
  163. package/dist/CalendarPicker/index.d.ts.map +0 -1
  164. package/dist/CalendarPicker/types.d.ts.map +0 -1
  165. package/dist/Card/index.d.ts.map +0 -1
  166. package/dist/CascaderPicker/index.d.ts.map +0 -1
  167. package/dist/CascaderView/index.d.ts.map +0 -1
  168. package/dist/Cell/index.d.ts.map +0 -1
  169. package/dist/Checkbox/index.d.ts.map +0 -1
  170. package/dist/ConfigProvider/index.d.ts.map +0 -1
  171. package/dist/Descriptions/index.d.ts.map +0 -1
  172. package/dist/Divider/index.d.ts.map +0 -1
  173. package/dist/Ellipsis/index.d.ts.map +0 -1
  174. package/dist/Empty/index.d.ts.map +0 -1
  175. package/dist/ErrorBlock/index.d.ts.map +0 -1
  176. package/dist/Footer/index.d.ts.map +0 -1
  177. package/dist/Form/index.d.ts.map +0 -1
  178. package/dist/Grid/index.d.ts.map +0 -1
  179. package/dist/Icon/check-icon.d.ts.map +0 -1
  180. package/dist/Image/image.d.ts.map +0 -1
  181. package/dist/Image/index.d.ts.map +0 -1
  182. package/dist/ImagesPreview/ImagesPreview.d.ts.map +0 -1
  183. package/dist/ImagesPreview/index.d.ts.map +0 -1
  184. package/dist/ImagesWall/ImagesWall.d.ts.map +0 -1
  185. package/dist/ImagesWall/index.d.ts.map +0 -1
  186. package/dist/Input/index.d.ts.map +0 -1
  187. package/dist/InputNumber/index.d.ts.map +0 -1
  188. package/dist/Mask/index.d.ts.map +0 -1
  189. package/dist/NavBar/index.d.ts.map +0 -1
  190. package/dist/NoticeBar/index.d.ts.map +0 -1
  191. package/dist/PageIndicator/index.d.ts.map +0 -1
  192. package/dist/Picker/index.d.ts.map +0 -1
  193. package/dist/PickerView/index.d.ts.map +0 -1
  194. package/dist/Popup/index.d.ts.map +0 -1
  195. package/dist/Progress/Progress.d.ts.map +0 -1
  196. package/dist/Progress/ProgressCircle.d.ts.map +0 -1
  197. package/dist/Progress/ProgressLine.d.ts.map +0 -1
  198. package/dist/Progress/index.d.ts.map +0 -1
  199. package/dist/Progress/types.d.ts.map +0 -1
  200. package/dist/Radio/index.d.ts.map +0 -1
  201. package/dist/Rate/index.d.ts.map +0 -1
  202. package/dist/Result/index.d.ts.map +0 -1
  203. package/dist/SafeArea/index.d.ts.map +0 -1
  204. package/dist/Scaffold/index.d.ts.map +0 -1
  205. package/dist/ScrollView/index.d.ts.map +0 -1
  206. package/dist/SideBar/SideBarContext.d.ts.map +0 -1
  207. package/dist/SideBar/index.d.ts.map +0 -1
  208. package/dist/SideBar/side-bar.d.ts.map +0 -1
  209. package/dist/SideBar/types.d.ts.map +0 -1
  210. package/dist/Space/index.d.ts.map +0 -1
  211. package/dist/SpinLoading/index.d.ts.map +0 -1
  212. package/dist/Steps/index.d.ts.map +0 -1
  213. package/dist/Swiper/index.d.ts.map +0 -1
  214. package/dist/Swiper/swiper.d.ts.map +0 -1
  215. package/dist/Switch/index.d.ts.map +0 -1
  216. package/dist/TabBar/index.d.ts.map +0 -1
  217. package/dist/Tabs/index.d.ts.map +0 -1
  218. package/dist/Tag/index.d.ts.map +0 -1
  219. package/dist/Toast/index.d.ts.map +0 -1
  220. package/dist/VerificationCodeInput/index.d.ts.map +0 -1
  221. package/dist/WaterMark/index.d.ts.map +0 -1
  222. package/dist/hooks/index.d.ts.map +0 -1
  223. package/dist/hooks/useTaro.d.ts.map +0 -1
  224. package/dist/index.d.ts.map +0 -1
  225. package/dist/locales/base.d.ts.map +0 -1
  226. package/dist/locales/en-US.d.ts.map +0 -1
  227. package/dist/locales/zh-CN.d.ts.map +0 -1
  228. package/dist/types.d.ts.map +0 -1
  229. package/dist/utils/datetime-utils.d.ts.map +0 -1
  230. package/dist/utils/merge-locale.d.ts.map +0 -1
  231. package/dist/utils/native-props.d.ts.map +0 -1
  232. package/dist/utils/random-utils.d.ts.map +0 -1
@@ -1,4 +1,3 @@
1
1
  import { ActionSheet, ActionSheetProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { ActionSheetProps };
3
3
  export default ActionSheet;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Alert, AlertProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { AlertProps };
3
3
  export default Alert;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Avatar, AvatarProps } from "@trionesdev/antd-mobile-base-react";
2
2
  export type { AvatarProps };
3
3
  export default Avatar;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Badge } from '@trionesdev/antd-mobile-base-react';
2
2
  export type { BadgeFill, BadgeProps } from '@trionesdev/antd-mobile-base-react';
3
3
  export default Badge;
4
- //# sourceMappingURL=index.d.ts.map
@@ -2,6 +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
6
  export type ButtonProps = {
6
7
  /**
7
8
  * @description block 按钮宽高自适应
@@ -45,7 +46,7 @@ export type ButtonProps = {
45
46
  * @description 按钮样式
46
47
  */
47
48
  variant?: 'outlined' | 'dashed' | 'solid' | 'filled' | 'text' | 'link';
48
- size?: 'small' | 'middle' | 'large';
49
+ size?: SizeType;
49
50
  /**
50
51
  * @description 点击事件
51
52
  */
@@ -55,4 +56,3 @@ export type ButtonProps = {
55
56
  onGetPhoneNumber?: CommonEventFunction<TaroButtonProps.onGetPhoneNumberEventDetail>;
56
57
  };
57
58
  export declare const Button: FC<PropsWithChildren<ButtonProps>>;
58
- //# sourceMappingURL=button.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Button, ButtonProps } from "./button";
2
2
  export type { ButtonProps };
3
3
  export default Button;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,231 +1,235 @@
1
- @use "../style/variable" as *;
2
-
3
- $trionesButtonPendingInlineSm: 7Px;
4
- $trionesButtonHeightSm: 24Px;
5
-
6
- $trionesButtonPendingInline: 15Px;
7
- $trionesButtonHeight: 32Px;
8
-
9
- $trionesButtonContentFontSizeLg: $trionesFontSizeLg;
10
- $trionesButtonPendingInlineLg: 15Px;
11
- $trionesButtonHeightLg: 40Px;
12
-
13
- button::after {
14
- content: none;
15
- width: 100%;
16
- }
17
-
18
- $buttonCls: 'triones-antm-button';
19
- .#{$buttonCls} {
20
- width: auto;
21
- position: relative;
22
- display: inline-flex;
23
- flex-direction: column;
24
- justify-self: center;
25
- align-items: center;
26
- justify-content: center;
27
- height: auto;
28
- line-height: normal;
29
- border-radius: 4Px;
30
- border: 1Px none;
31
- box-sizing: border-box;
32
- font-size: 14Px;
33
- z-index: 2;
34
- margin-top: 0;
35
-
36
- &:active {
37
- filter: brightness(92%);
38
- }
39
- &::after{
40
- content: none;
41
- }
42
-
43
- &[disabled] {
44
- opacity: 0.4;
45
-
46
- &:active {
47
- filter: none;
48
- }
49
- }
50
- &:not([disabled]):active{}
51
-
52
- &-color {
53
- &-default {
54
- background-color: #ffffff;
55
-
56
- &.#{$buttonCls} {
57
- &-variant {
58
- &-solid {
59
- color: #ffffff;
60
- background-color: rgba(0, 0, 0, 0.75);
61
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.75);
62
- }
63
-
64
- &-outlined {
65
- color: rgba(0, 0, 0, 0.75);
66
- border: 1px solid rgba(0, 0, 0, 0.75);
67
- background-color: white;
68
- }
69
-
70
- &-dashed {
71
- color: rgba(0, 0, 0, 0.75);
72
- border: 1px dashed rgba(0, 0, 0, 0.75);
73
- background-color: #ffffff;
74
- }
75
-
76
- &-filled {
77
- color: rgba(0, 0, 0, 0.75);
78
- background-color: rgba(0, 0, 0, 0.06);
79
- }
80
-
81
- &-text {
82
- color: rgba(0, 0, 0, 0.75);
83
- background-color: #ffffff;
84
- }
85
-
86
- &-link {
87
- color: rgba(0, 0, 0, 0.75);
88
- background-color: #ffffff;
89
-
90
- &:active {
91
- filter: none;
92
- }
93
- }
94
- }
95
- }
96
- }
97
-
98
- &-primary {
99
- &.#{$buttonCls} {
100
- &-variant {
101
- &-solid {
102
- color: #ffffff;
103
- background-color: $trionesColorPrimaryText;
104
- box-shadow: inset 0 0 0 1px $trionesColorPrimaryText;
105
- }
106
-
107
- &-outlined {
108
- color: #1677ff;
109
- background-color: white;
110
- border: 1px solid $trionesColorPrimaryText;
111
- }
112
-
113
- &-dashed {
114
- color: $trionesColorPrimaryText;
115
- border: 1px dashed $trionesColorPrimaryText;
116
- background-color: #ffffff;
117
- }
118
-
119
- &-filled {
120
- color: $trionesColorPrimaryText;
121
- background-color: $trionesColorPrimaryBg;
122
- }
123
-
124
- &-text {
125
- color: $trionesColorPrimaryText;
126
- background-color: #ffffff;
127
- }
128
-
129
- &-link {
130
- color: $trionesColorPrimaryText;
131
- background-color: #ffffff;
132
-
133
- &:active {
134
- filter: none;
135
- }
136
- }
137
- }
138
- }
139
- }
140
-
141
- &-danger {
142
- &.#{$buttonCls} {
143
- &-variant {
144
- &-solid {
145
- color: #ffffff;
146
- background-color: $trionesColorErrorText;
147
- box-shadow: inset 0 0 0 1px $trionesColorErrorText;
148
- }
149
-
150
- &-outlined {
151
- color: $trionesColorErrorText;
152
- background-color: #ffffff;
153
- border: 1px solid $trionesColorErrorText;
154
- }
155
-
156
- &-dashed {
157
- color: $trionesColorErrorText;
158
- border: 1px dashed $trionesColorErrorText;
159
- background-color: #ffffff;
160
- }
161
-
162
- &-filled {
163
- color: $trionesColorErrorText;
164
- background-color: #ffdfdc;
165
- }
166
-
167
- &-text {
168
- color: $trionesColorErrorText;
169
- background-color: #ffffff;
170
- }
171
-
172
- &-link {
173
- color: $trionesColorErrorText;
174
- background-color: #ffffff;
175
-
176
- &:active {
177
- filter: none;
178
- }
179
- }
180
- }
181
- }
182
- }
183
- }
184
-
185
- &-variant {
186
- &-solid {
187
- }
188
-
189
- &-outlined {
190
- background-color: #ffffff;
191
- }
192
-
193
- &-dashed {
194
- border: 1px dashed #d9d9d9;
195
- background-color: #ffffff;
196
- }
197
-
198
- &-text {
199
- background-color: #ffffff;
200
- }
201
-
202
- &-link {
203
- background-color: #ffffff;
204
- }
205
- }
206
-
207
- &-block {
208
- display: flex;
209
- width: 100%;
210
- }
211
-
212
- &-small {
213
- font-size: $trionesFontSizeSm;
214
- padding-inline: $trionesButtonPendingInlineSm;
215
- height: $trionesButtonHeightSm;
216
- border-radius: $trionesBorderRadiusSm;
217
- }
218
-
219
- &-middle {
220
- padding-inline: $trionesButtonPendingInline;
221
- height: $trionesButtonHeight;
222
- border-radius: $trionesBorderRadius;
223
- }
224
-
225
- &-large {
226
- font-size: $trionesButtonContentFontSizeLg;
227
- padding-inline: $trionesButtonPendingInlineLg;
228
- height: $trionesButtonHeightLg;
229
- border-radius: $trionesBorderRadiusLg;
230
- }
231
- }
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
+ }
@@ -25,4 +25,3 @@ export type CalendarCellProps = {
25
25
  onSelect?: (date: Date) => void;
26
26
  };
27
27
  export declare const CalendarGrid: FC<CalendarGridProps>;
28
- //# sourceMappingURL=calendar-grid.d.ts.map
@@ -5,4 +5,3 @@ type CalendarHeaderProps = {
5
5
  };
6
6
  export declare const CalendarHeader: FC<CalendarHeaderProps>;
7
7
  export {};
8
- //# sourceMappingURL=calendar-header.d.ts.map
@@ -8,4 +8,3 @@ type CalendarProps = {
8
8
  };
9
9
  export declare const CalendarRange: FC<CalendarProps>;
10
10
  export {};
11
- //# sourceMappingURL=calendar-range.d.ts.map
@@ -8,4 +8,3 @@ export type CalendarProps = {
8
8
  slideable?: boolean;
9
9
  };
10
10
  export declare const Calendar: React.MemoExoticComponent<React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>>;
11
- //# sourceMappingURL=calendar.d.ts.map
@@ -9,4 +9,3 @@ type CompoundedComponent = typeof InternalCalendar & {
9
9
  declare const Calendar: CompoundedComponent;
10
10
  export type { CalendarProps, CalendarGridProps };
11
11
  export default Calendar;
12
- //# sourceMappingURL=index.d.ts.map