@gobolt/genesis 0.0.11 → 0.1.0

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 (157) hide show
  1. package/README.md +6 -0
  2. package/dist/ClockCircleOutlined-BaXQuLIn.js +13 -0
  3. package/dist/{Compact-DBh6nSYB.js → Compact-Du9689ax.js} +8 -8
  4. package/dist/{ContextIsolator-CwuJooYf.js → ContextIsolator-BmfhJgG0.js} +2 -2
  5. package/dist/{DownOutlined-5-15jS0h.js → DownOutlined-Dcq69ZKM.js} +9 -9
  6. package/dist/{EllipsisOutlined-CJ2pgE2d.js → EllipsisOutlined-DGMph0Bj.js} +110 -110
  7. package/dist/{Keyframes-sPZXYuXt.js → Keyframes-C9_aCDvn.js} +1 -1
  8. package/dist/{Overflow-DdNKJLQh.js → Overflow-DWf4XIal.js} +31 -31
  9. package/dist/{Skeleton-B3vg9CbL.js → Skeleton-BVN4pcVe.js} +2 -2
  10. package/dist/TextArea-Bkf9hh7l.js +708 -0
  11. package/dist/{Typography-DqI7RslA.js → Typography-CoZ5qD-t.js} +3 -3
  12. package/dist/{button-B2Rgggx2.js → button-BwqpCxVM.js} +5 -5
  13. package/dist/components/Avatar/Avatar.js +3 -3
  14. package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
  15. package/dist/components/Avatar/styles.js +42 -42
  16. package/dist/components/Badge/Badge.js +3 -3
  17. package/dist/components/Badge/__tests__/Badge.test.js +1 -1
  18. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  19. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  20. package/dist/components/Breadcrumb/styles.js +4 -4
  21. package/dist/components/Button/__tests__/Button.test.js +1 -1
  22. package/dist/components/Button/styles.js +1 -1
  23. package/dist/components/Card/__tests__/Card.test.js +1 -1
  24. package/dist/components/Card/styles.js +1 -1
  25. package/dist/components/Checkbox/Checkbox.js +3 -3
  26. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  27. package/dist/components/Checkbox/styles.js +1 -1
  28. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +8 -8
  29. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +4 -4
  30. package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
  31. package/dist/components/DatePicker/DatePicker.d.ts +6 -0
  32. package/dist/components/DatePicker/DatePicker.js +5 -0
  33. package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
  34. package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  35. package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
  36. package/dist/components/DatePicker/index.d.ts +2 -0
  37. package/dist/components/DatePicker/index.js +4 -0
  38. package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
  39. package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
  40. package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
  41. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
  42. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
  43. package/dist/components/DateRangePicker/index.d.ts +2 -0
  44. package/dist/components/DateRangePicker/index.js +4 -0
  45. package/dist/components/ErrorBoundary/ErrorBoundary.js +3 -3
  46. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +1 -1
  47. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +3 -3
  48. package/dist/components/ErrorBoundaryFallback/styles.js +1 -1
  49. package/dist/components/Form/Form.js +2 -2
  50. package/dist/components/Form/__stories__/FormStory.js +4 -4
  51. package/dist/components/Form/__tests__/form.test.js +2 -2
  52. package/dist/components/Form/index.js +1 -1
  53. package/dist/components/Form/styles.js +1 -1
  54. package/dist/components/Input/Input.js +1 -1
  55. package/dist/components/Input/__tests__/Input.test.js +1 -1
  56. package/dist/components/Input/styles.js +1 -1
  57. package/dist/components/Layout/Content/ResponsiveContent.js +3 -3
  58. package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
  59. package/dist/components/Layout/__tests__/Layout.test.js +1 -1
  60. package/dist/components/Message/Message.js +3 -3
  61. package/dist/components/Message/__tests__/Message.test.js +1 -1
  62. package/dist/components/Notification/Notification.js +3 -3
  63. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +1 -1
  64. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  65. package/dist/components/Popover/Popover.js +1 -1
  66. package/dist/components/Popover/__tests__/Popover.test.js +1 -1
  67. package/dist/components/Popover/styles.js +1 -1
  68. package/dist/components/Progress/Progress.js +3 -3
  69. package/dist/components/Progress/Progress.util.js +3 -3
  70. package/dist/components/Progress/ProgressText.js +3 -3
  71. package/dist/components/Progress/__tests__/Progress.test.js +1 -1
  72. package/dist/components/Progress/styles.js +3 -3
  73. package/dist/components/Radio/Radio.js +3 -3
  74. package/dist/components/Radio/RadioGroup.js +1 -1
  75. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  76. package/dist/components/Row/Row.js +1 -1
  77. package/dist/components/Row/RowActions/RowActions.js +3 -3
  78. package/dist/components/Row/RowLabelValue/RowLabelValue.js +3 -3
  79. package/dist/components/Row/RowLabelValue/styles.js +1 -1
  80. package/dist/components/Row/__tests__/Row.test.js +1 -1
  81. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
  82. package/dist/components/SegmentedControls/styles.js +27 -27
  83. package/dist/components/Select/Select.js +1 -1
  84. package/dist/components/Select/__tests__/Select.test.js +1 -1
  85. package/dist/components/Select/styles.js +1 -1
  86. package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
  87. package/dist/components/Switch/__tests__/Switch.test.js +1 -1
  88. package/dist/components/Switch/styles.js +15 -15
  89. package/dist/components/Table/Table.js +1 -1
  90. package/dist/components/Table/__mocks__/table-mocks.js +3 -3
  91. package/dist/components/Table/__tests__/Table.test.js +1 -1
  92. package/dist/components/Table/styles.js +1 -1
  93. package/dist/components/Tabs/__tests__/Tabs.test.js +1 -1
  94. package/dist/components/Tabs/styles.js +1 -1
  95. package/dist/components/Tile/__tests__/Tile.test.js +1 -1
  96. package/dist/components/Toast/Toast.js +3 -3
  97. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  98. package/dist/components/Toast/index.js +1 -1
  99. package/dist/components/Tooltip/Tooltip.js +3 -3
  100. package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
  101. package/dist/components/Tooltip/styles.js +1 -1
  102. package/dist/components/Typography/Typography.js +1 -1
  103. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  104. package/dist/components/Typography/index.js +1 -1
  105. package/dist/components/Typography/styles.js +1 -1
  106. package/dist/components/index.d.ts +4 -0
  107. package/dist/components/index.js +46 -42
  108. package/dist/{context-Cx7GtZpz.js → context-DIFtNa4d.js} +70 -70
  109. package/dist/{dropdown-zGGFIyJ_.js → dropdown-Dp_PTQ2u.js} +60 -59
  110. package/dist/genesis/GenesisThemeBreakdown.js +86 -44
  111. package/dist/genesis/labs/Lab.stories.d.ts +6 -0
  112. package/dist/genesis/styles.js +2 -2
  113. package/dist/{index-CdiHBmVe.js → index-BPVue1Yd.js} +44 -44
  114. package/dist/{index-CRotrkWm.js → index-BQM5OniU.js} +7 -7
  115. package/dist/{index-BTGF--50.js → index-B_1Ge8na.js} +20 -19
  116. package/dist/{index-ByspLxrB.js → index-BbTV2Cw5.js} +32 -31
  117. package/dist/index-BeGv28kJ.js +5173 -0
  118. package/dist/{index-Dyl-ddV6.js → index-BpZSuIUV.js} +16 -16
  119. package/dist/{index-CodMmNWv.js → index-BvOLXELm.js} +3 -3
  120. package/dist/{index-hoPiccJv.js → index-CLSrpQRW.js} +9 -8
  121. package/dist/{index-D0P16DlX.js → index-CbVOl2U6.js} +26 -24
  122. package/dist/{index-DWUXwgXK.js → index-D0U6r5O7.js} +265 -294
  123. package/dist/{index-BW_7pvTr.js → index-DEu2PVzQ.js} +4 -4
  124. package/dist/{index-DmZOkMjs.js → index-DNQ-jnBx.js} +1207 -1514
  125. package/dist/index-DOsPeIWJ.js +1000 -0
  126. package/dist/{index-CSPlXIlA.js → index-DRGX1Wem.js} +7 -7
  127. package/dist/index-DWjq9XYj.js +899 -0
  128. package/dist/index.js +53 -49
  129. package/dist/motion-CUN72xsH.js +33 -0
  130. package/dist/providers/GenesisProvider.js +1 -1
  131. package/dist/providers/ToastProvider.js +3 -3
  132. package/dist/providers/index.js +1 -1
  133. package/dist/providers/useGenesis.js +1 -1
  134. package/dist/{responsiveObserver-O1kw80RG.js → responsiveObserver-dCkpy7Cb.js} +1 -1
  135. package/dist/roundedArrow-DI_Q-xdU.js +65 -0
  136. package/dist/{setup-CKu7-AfI.js → setup-CUbCc8fQ.js} +2 -2
  137. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +7 -7
  138. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +3 -3
  139. package/dist/styles/theme/genesis-theme.js +211 -349
  140. package/dist/styles/theme/theme-tree/ThemeTree.js +114 -113
  141. package/dist/{styles-BSD221S5.js → styles-CWdUpZom.js} +12 -12
  142. package/dist/{styles-BDbHpHsc.js → styles-D1vKDy9V.js} +9 -9
  143. package/dist/{styles-D9iYILpv.js → styles-qerRs7Rn.js} +493 -492
  144. package/dist/test/setup.js +2 -2
  145. package/dist/{toArray-DGvPoJP_.js → toArray-U3Az44CO.js} +1 -1
  146. package/dist/{useBreakpoint-CAMzKscx.js → useBreakpoint-TkMv121M.js} +2 -2
  147. package/dist/{useCSSVarCls-C-MlZC6a.js → useCSSVarCls-Dau77fzS.js} +1 -1
  148. package/dist/useIcons-Ck4JP1m9.js +321 -0
  149. package/dist/{useLocale-DWRfeMSS.js → useLocale-CTfNpakL.js} +1 -1
  150. package/dist/{useMergedState-BoELfaU9.js → useMergedState-D6toxSxh.js} +1 -1
  151. package/dist/{useSize-CPo2bUE3.js → useSize-DSq4r6zy.js} +1 -1
  152. package/dist/{useVariants-Cin23jEC.js → useVariants-DrLzUVLU.js} +2 -2
  153. package/dist/{useZIndex-D81lkWy4.js → useZIndex-DhyHuZTN.js} +1 -1
  154. package/dist/utils/icon-util.js +38 -44
  155. package/package.json +2 -1
  156. package/dist/TextArea-CKWbFr0u.js +0 -1698
  157. package/dist/index-CqqwGTME.js +0 -956
@@ -0,0 +1,1000 @@
1
+ import { m as g, f as a, j as T, k as m, n as z } from "./index-BbTV2Cw5.js";
2
+ import "react";
3
+ import "./presets-Djh_L_6R.js";
4
+ import { g as G } from "./compact-item-DH13cl8A.js";
5
+ import "./index-DLdU7Tpd.js";
6
+ function M(r) {
7
+ return g(r, {
8
+ inputAffixPadding: r.paddingXXS
9
+ });
10
+ }
11
+ const A = (r) => {
12
+ const {
13
+ controlHeight: o,
14
+ fontSize: i,
15
+ lineHeight: e,
16
+ lineWidth: t,
17
+ controlHeightSM: n,
18
+ controlHeightLG: l,
19
+ fontSizeLG: d,
20
+ lineHeightLG: s,
21
+ paddingSM: c,
22
+ controlPaddingHorizontalSM: B,
23
+ controlPaddingHorizontal: y,
24
+ colorFillAlter: I,
25
+ colorPrimaryHover: R,
26
+ colorPrimary: O,
27
+ controlOutlineWidth: u,
28
+ controlOutline: j,
29
+ colorErrorOutline: W,
30
+ colorWarningOutline: H,
31
+ colorBgContainer: b
32
+ } = r;
33
+ return {
34
+ paddingBlock: Math.max(Math.round((o - i * e) / 2 * 10) / 10 - t, 0),
35
+ paddingBlockSM: Math.max(Math.round((n - i * e) / 2 * 10) / 10 - t, 0),
36
+ paddingBlockLG: Math.ceil((l - d * s) / 2 * 10) / 10 - t,
37
+ paddingInline: c - t,
38
+ paddingInlineSM: B - t,
39
+ paddingInlineLG: y - t,
40
+ addonBg: I,
41
+ activeBorderColor: O,
42
+ hoverBorderColor: R,
43
+ activeShadow: `0 0 0 ${u}px ${j}`,
44
+ errorActiveShadow: `0 0 0 ${u}px ${W}`,
45
+ warningActiveShadow: `0 0 0 ${u}px ${H}`,
46
+ hoverBg: b,
47
+ activeBg: b,
48
+ inputFontSize: i,
49
+ inputFontSizeLG: d,
50
+ inputFontSizeSM: i
51
+ };
52
+ }, F = (r) => ({
53
+ borderColor: r.hoverBorderColor,
54
+ backgroundColor: r.hoverBg
55
+ }), p = (r) => ({
56
+ color: r.colorTextDisabled,
57
+ backgroundColor: r.colorBgContainerDisabled,
58
+ borderColor: r.colorBorder,
59
+ boxShadow: "none",
60
+ cursor: "not-allowed",
61
+ opacity: 1,
62
+ "input[disabled], textarea[disabled]": {
63
+ cursor: "not-allowed"
64
+ },
65
+ "&:hover:not([disabled])": Object.assign({}, F(g(r, {
66
+ hoverBorderColor: r.colorBorder,
67
+ hoverBg: r.colorBgContainerDisabled
68
+ })))
69
+ }), x = (r, o) => ({
70
+ background: r.colorBgContainer,
71
+ borderWidth: r.lineWidth,
72
+ borderStyle: r.lineType,
73
+ borderColor: o.borderColor,
74
+ "&:hover": {
75
+ borderColor: o.hoverBorderColor,
76
+ backgroundColor: r.hoverBg
77
+ },
78
+ "&:focus, &:focus-within": {
79
+ borderColor: o.activeBorderColor,
80
+ boxShadow: o.activeShadow,
81
+ outline: 0,
82
+ backgroundColor: r.activeBg
83
+ }
84
+ }), $ = (r, o) => ({
85
+ [`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, x(r, o)), {
86
+ [`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
87
+ color: o.affixColor
88
+ }
89
+ }),
90
+ [`&${r.componentCls}-status-${o.status}${r.componentCls}-disabled`]: {
91
+ borderColor: o.borderColor
92
+ }
93
+ }), L = (r, o) => ({
94
+ "&-outlined": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, x(r, {
95
+ borderColor: r.colorBorder,
96
+ hoverBorderColor: r.hoverBorderColor,
97
+ activeBorderColor: r.activeBorderColor,
98
+ activeShadow: r.activeShadow
99
+ })), {
100
+ [`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({}, p(r))
101
+ }), $(r, {
102
+ status: "error",
103
+ borderColor: r.colorError,
104
+ hoverBorderColor: r.colorErrorBorderHover,
105
+ activeBorderColor: r.colorError,
106
+ activeShadow: r.errorActiveShadow,
107
+ affixColor: r.colorError
108
+ })), $(r, {
109
+ status: "warning",
110
+ borderColor: r.colorWarning,
111
+ hoverBorderColor: r.colorWarningBorderHover,
112
+ activeBorderColor: r.colorWarning,
113
+ activeShadow: r.warningActiveShadow,
114
+ affixColor: r.colorWarning
115
+ })), o)
116
+ }), h = (r, o) => ({
117
+ [`&${r.componentCls}-group-wrapper-status-${o.status}`]: {
118
+ [`${r.componentCls}-group-addon`]: {
119
+ borderColor: o.addonBorderColor,
120
+ color: o.addonColor
121
+ }
122
+ }
123
+ }), D = (r) => ({
124
+ "&-outlined": Object.assign(Object.assign(Object.assign({
125
+ [`${r.componentCls}-group`]: {
126
+ "&-addon": {
127
+ background: r.addonBg,
128
+ border: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
129
+ },
130
+ "&-addon:first-child": {
131
+ borderInlineEnd: 0
132
+ },
133
+ "&-addon:last-child": {
134
+ borderInlineStart: 0
135
+ }
136
+ }
137
+ }, h(r, {
138
+ status: "error",
139
+ addonBorderColor: r.colorError,
140
+ addonColor: r.colorErrorText
141
+ })), h(r, {
142
+ status: "warning",
143
+ addonBorderColor: r.colorWarning,
144
+ addonColor: r.colorWarningText
145
+ })), {
146
+ [`&${r.componentCls}-group-wrapper-disabled`]: {
147
+ [`${r.componentCls}-group-addon`]: Object.assign({}, p(r))
148
+ }
149
+ })
150
+ }), P = (r, o) => {
151
+ const {
152
+ componentCls: i
153
+ } = r;
154
+ return {
155
+ "&-borderless": Object.assign({
156
+ background: "transparent",
157
+ border: "none",
158
+ "&:focus, &:focus-within": {
159
+ outline: "none"
160
+ },
161
+ // >>>>> Disabled
162
+ [`&${i}-disabled, &[disabled]`]: {
163
+ color: r.colorTextDisabled,
164
+ cursor: "not-allowed"
165
+ },
166
+ // >>>>> Status
167
+ [`&${i}-status-error`]: {
168
+ "&, & input, & textarea": {
169
+ color: r.colorError
170
+ }
171
+ },
172
+ [`&${i}-status-warning`]: {
173
+ "&, & input, & textarea": {
174
+ color: r.colorWarning
175
+ }
176
+ }
177
+ }, o)
178
+ };
179
+ }, C = (r, o) => ({
180
+ background: o.bg,
181
+ borderWidth: r.lineWidth,
182
+ borderStyle: r.lineType,
183
+ borderColor: "transparent",
184
+ "input&, & input, textarea&, & textarea": {
185
+ color: o == null ? void 0 : o.inputColor
186
+ },
187
+ "&:hover": {
188
+ background: o.hoverBg
189
+ },
190
+ "&:focus, &:focus-within": {
191
+ outline: 0,
192
+ borderColor: o.activeBorderColor,
193
+ backgroundColor: r.activeBg
194
+ }
195
+ }), f = (r, o) => ({
196
+ [`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, C(r, o)), {
197
+ [`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
198
+ color: o.affixColor
199
+ }
200
+ })
201
+ }), q = (r, o) => ({
202
+ "&-filled": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, C(r, {
203
+ bg: r.colorFillTertiary,
204
+ hoverBg: r.colorFillSecondary,
205
+ activeBorderColor: r.activeBorderColor
206
+ })), {
207
+ [`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({}, p(r))
208
+ }), f(r, {
209
+ status: "error",
210
+ bg: r.colorErrorBg,
211
+ hoverBg: r.colorErrorBgHover,
212
+ activeBorderColor: r.colorError,
213
+ inputColor: r.colorErrorText,
214
+ affixColor: r.colorError
215
+ })), f(r, {
216
+ status: "warning",
217
+ bg: r.colorWarningBg,
218
+ hoverBg: r.colorWarningBgHover,
219
+ activeBorderColor: r.colorWarning,
220
+ inputColor: r.colorWarningText,
221
+ affixColor: r.colorWarning
222
+ })), o)
223
+ }), S = (r, o) => ({
224
+ [`&${r.componentCls}-group-wrapper-status-${o.status}`]: {
225
+ [`${r.componentCls}-group-addon`]: {
226
+ background: o.addonBg,
227
+ color: o.addonColor
228
+ }
229
+ }
230
+ }), X = (r) => ({
231
+ "&-filled": Object.assign(Object.assign(Object.assign({
232
+ [`${r.componentCls}-group`]: {
233
+ "&-addon": {
234
+ background: r.colorFillTertiary
235
+ },
236
+ [`${r.componentCls}-filled:not(:focus):not(:focus-within)`]: {
237
+ "&:not(:first-child)": {
238
+ borderInlineStart: `${a(r.lineWidth)} ${r.lineType} ${r.colorSplit}`
239
+ },
240
+ "&:not(:last-child)": {
241
+ borderInlineEnd: `${a(r.lineWidth)} ${r.lineType} ${r.colorSplit}`
242
+ }
243
+ }
244
+ }
245
+ }, S(r, {
246
+ status: "error",
247
+ addonBg: r.colorErrorBg,
248
+ addonColor: r.colorErrorText
249
+ })), S(r, {
250
+ status: "warning",
251
+ addonBg: r.colorWarningBg,
252
+ addonColor: r.colorWarningText
253
+ })), {
254
+ [`&${r.componentCls}-group-wrapper-disabled`]: {
255
+ [`${r.componentCls}-group`]: {
256
+ "&-addon": {
257
+ background: r.colorFillTertiary,
258
+ color: r.colorTextDisabled
259
+ },
260
+ "&-addon:first-child": {
261
+ borderInlineStart: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
262
+ borderTop: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
263
+ borderBottom: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
264
+ },
265
+ "&-addon:last-child": {
266
+ borderInlineEnd: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
267
+ borderTop: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
268
+ borderBottom: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
269
+ }
270
+ }
271
+ }
272
+ })
273
+ }), _ = (r) => ({
274
+ // Firefox
275
+ "&::-moz-placeholder": {
276
+ opacity: 1
277
+ },
278
+ "&::placeholder": {
279
+ color: r,
280
+ userSelect: "none"
281
+ // https://github.com/ant-design/ant-design/pull/32639
282
+ },
283
+ "&:placeholder-shown": {
284
+ textOverflow: "ellipsis"
285
+ }
286
+ }), w = (r) => {
287
+ const {
288
+ paddingBlockLG: o,
289
+ lineHeightLG: i,
290
+ borderRadiusLG: e,
291
+ paddingInlineLG: t
292
+ } = r;
293
+ return {
294
+ padding: `${a(o)} ${a(t)}`,
295
+ fontSize: r.inputFontSizeLG,
296
+ lineHeight: i,
297
+ borderRadius: e
298
+ };
299
+ }, v = (r) => ({
300
+ padding: `${a(r.paddingBlockSM)} ${a(r.paddingInlineSM)}`,
301
+ fontSize: r.inputFontSizeSM,
302
+ borderRadius: r.borderRadiusSM
303
+ }), E = (r) => Object.assign(Object.assign({
304
+ position: "relative",
305
+ display: "inline-block",
306
+ width: "100%",
307
+ minWidth: 0,
308
+ padding: `${a(r.paddingBlock)} ${a(r.paddingInline)}`,
309
+ color: r.colorText,
310
+ fontSize: r.inputFontSize,
311
+ lineHeight: r.lineHeight,
312
+ borderRadius: r.borderRadius,
313
+ transition: `all ${r.motionDurationMid}`
314
+ }, _(r.colorTextPlaceholder)), {
315
+ // Reset height for `textarea`s
316
+ "textarea&": {
317
+ maxWidth: "100%",
318
+ // prevent textarea resize from coming out of its container
319
+ height: "auto",
320
+ minHeight: r.controlHeight,
321
+ lineHeight: r.lineHeight,
322
+ verticalAlign: "bottom",
323
+ transition: `all ${r.motionDurationSlow}, height 0s`,
324
+ resize: "vertical"
325
+ },
326
+ // Size
327
+ "&-lg": Object.assign({}, w(r)),
328
+ "&-sm": Object.assign({}, v(r)),
329
+ // RTL
330
+ "&-rtl, &-textarea-rtl": {
331
+ direction: "rtl"
332
+ }
333
+ }), Q = (r) => {
334
+ const {
335
+ componentCls: o,
336
+ antCls: i
337
+ } = r;
338
+ return {
339
+ position: "relative",
340
+ display: "table",
341
+ width: "100%",
342
+ borderCollapse: "separate",
343
+ borderSpacing: 0,
344
+ // Undo padding and float of grid classes
345
+ "&[class*='col-']": {
346
+ paddingInlineEnd: r.paddingXS,
347
+ "&:last-child": {
348
+ paddingInlineEnd: 0
349
+ }
350
+ },
351
+ // Sizing options
352
+ [`&-lg ${o}, &-lg > ${o}-group-addon`]: Object.assign({}, w(r)),
353
+ [`&-sm ${o}, &-sm > ${o}-group-addon`]: Object.assign({}, v(r)),
354
+ // Fix https://github.com/ant-design/ant-design/issues/5754
355
+ [`&-lg ${i}-select-single ${i}-select-selector`]: {
356
+ height: r.controlHeightLG
357
+ },
358
+ [`&-sm ${i}-select-single ${i}-select-selector`]: {
359
+ height: r.controlHeightSM
360
+ },
361
+ [`> ${o}`]: {
362
+ display: "table-cell",
363
+ "&:not(:first-child):not(:last-child)": {
364
+ borderRadius: 0
365
+ }
366
+ },
367
+ [`${o}-group`]: {
368
+ "&-addon, &-wrap": {
369
+ display: "table-cell",
370
+ width: 1,
371
+ whiteSpace: "nowrap",
372
+ verticalAlign: "middle",
373
+ "&:not(:first-child):not(:last-child)": {
374
+ borderRadius: 0
375
+ }
376
+ },
377
+ "&-wrap > *": {
378
+ display: "block !important"
379
+ },
380
+ "&-addon": {
381
+ position: "relative",
382
+ padding: `0 ${a(r.paddingInline)}`,
383
+ color: r.colorText,
384
+ fontWeight: "normal",
385
+ fontSize: r.inputFontSize,
386
+ textAlign: "center",
387
+ borderRadius: r.borderRadius,
388
+ transition: `all ${r.motionDurationSlow}`,
389
+ lineHeight: 1,
390
+ // Reset Select's style in addon
391
+ [`${i}-select`]: {
392
+ margin: `${a(r.calc(r.paddingBlock).add(1).mul(-1).equal())} ${a(r.calc(r.paddingInline).mul(-1).equal())}`,
393
+ [`&${i}-select-single:not(${i}-select-customize-input):not(${i}-pagination-size-changer)`]: {
394
+ [`${i}-select-selector`]: {
395
+ backgroundColor: "inherit",
396
+ border: `${a(r.lineWidth)} ${r.lineType} transparent`,
397
+ boxShadow: "none"
398
+ }
399
+ }
400
+ },
401
+ // https://github.com/ant-design/ant-design/issues/31333
402
+ [`${i}-cascader-picker`]: {
403
+ margin: `-9px ${a(r.calc(r.paddingInline).mul(-1).equal())}`,
404
+ backgroundColor: "transparent",
405
+ [`${i}-cascader-input`]: {
406
+ textAlign: "start",
407
+ border: 0,
408
+ boxShadow: "none"
409
+ }
410
+ }
411
+ }
412
+ },
413
+ [o]: {
414
+ width: "100%",
415
+ marginBottom: 0,
416
+ textAlign: "inherit",
417
+ "&:focus": {
418
+ zIndex: 1,
419
+ // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png
420
+ borderInlineEndWidth: 1
421
+ },
422
+ "&:hover": {
423
+ zIndex: 1,
424
+ borderInlineEndWidth: 1,
425
+ [`${o}-search-with-button &`]: {
426
+ zIndex: 0
427
+ }
428
+ }
429
+ },
430
+ // Reset rounded corners
431
+ [`> ${o}:first-child, ${o}-group-addon:first-child`]: {
432
+ borderStartEndRadius: 0,
433
+ borderEndEndRadius: 0,
434
+ // Reset Select's style in addon
435
+ [`${i}-select ${i}-select-selector`]: {
436
+ borderStartEndRadius: 0,
437
+ borderEndEndRadius: 0
438
+ }
439
+ },
440
+ [`> ${o}-affix-wrapper`]: {
441
+ [`&:not(:first-child) ${o}`]: {
442
+ borderStartStartRadius: 0,
443
+ borderEndStartRadius: 0
444
+ },
445
+ [`&:not(:last-child) ${o}`]: {
446
+ borderStartEndRadius: 0,
447
+ borderEndEndRadius: 0
448
+ }
449
+ },
450
+ [`> ${o}:last-child, ${o}-group-addon:last-child`]: {
451
+ borderStartStartRadius: 0,
452
+ borderEndStartRadius: 0,
453
+ // Reset Select's style in addon
454
+ [`${i}-select ${i}-select-selector`]: {
455
+ borderStartStartRadius: 0,
456
+ borderEndStartRadius: 0
457
+ }
458
+ },
459
+ [`${o}-affix-wrapper`]: {
460
+ "&:not(:last-child)": {
461
+ borderStartEndRadius: 0,
462
+ borderEndEndRadius: 0,
463
+ [`${o}-search &`]: {
464
+ borderStartStartRadius: r.borderRadius,
465
+ borderEndStartRadius: r.borderRadius
466
+ }
467
+ },
468
+ [`&:not(:first-child), ${o}-search &:not(:first-child)`]: {
469
+ borderStartStartRadius: 0,
470
+ borderEndStartRadius: 0
471
+ }
472
+ },
473
+ [`&${o}-group-compact`]: Object.assign(Object.assign({
474
+ display: "block"
475
+ }, z()), {
476
+ [`${o}-group-addon, ${o}-group-wrap, > ${o}`]: {
477
+ "&:not(:first-child):not(:last-child)": {
478
+ borderInlineEndWidth: r.lineWidth,
479
+ "&:hover, &:focus": {
480
+ zIndex: 1
481
+ }
482
+ }
483
+ },
484
+ "& > *": {
485
+ display: "inline-flex",
486
+ float: "none",
487
+ verticalAlign: "top",
488
+ // https://github.com/ant-design/ant-design-pro/issues/139
489
+ borderRadius: 0
490
+ },
491
+ [`
492
+ & > ${o}-affix-wrapper,
493
+ & > ${o}-number-affix-wrapper,
494
+ & > ${i}-picker-range
495
+ `]: {
496
+ display: "inline-flex"
497
+ },
498
+ "& > *:not(:last-child)": {
499
+ marginInlineEnd: r.calc(r.lineWidth).mul(-1).equal(),
500
+ borderInlineEndWidth: r.lineWidth
501
+ },
502
+ // Undo float for .ant-input-group .ant-input
503
+ [o]: {
504
+ float: "none"
505
+ },
506
+ // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input
507
+ [`& > ${i}-select > ${i}-select-selector,
508
+ & > ${i}-select-auto-complete ${o},
509
+ & > ${i}-cascader-picker ${o},
510
+ & > ${o}-group-wrapper ${o}`]: {
511
+ borderInlineEndWidth: r.lineWidth,
512
+ borderRadius: 0,
513
+ "&:hover, &:focus": {
514
+ zIndex: 1
515
+ }
516
+ },
517
+ [`& > ${i}-select-focused`]: {
518
+ zIndex: 1
519
+ },
520
+ // update z-index for arrow icon
521
+ [`& > ${i}-select > ${i}-select-arrow`]: {
522
+ zIndex: 1
523
+ // https://github.com/ant-design/ant-design/issues/20371
524
+ },
525
+ [`& > *:first-child,
526
+ & > ${i}-select:first-child > ${i}-select-selector,
527
+ & > ${i}-select-auto-complete:first-child ${o},
528
+ & > ${i}-cascader-picker:first-child ${o}`]: {
529
+ borderStartStartRadius: r.borderRadius,
530
+ borderEndStartRadius: r.borderRadius
531
+ },
532
+ [`& > *:last-child,
533
+ & > ${i}-select:last-child > ${i}-select-selector,
534
+ & > ${i}-cascader-picker:last-child ${o},
535
+ & > ${i}-cascader-picker-focused:last-child ${o}`]: {
536
+ borderInlineEndWidth: r.lineWidth,
537
+ borderStartEndRadius: r.borderRadius,
538
+ borderEndEndRadius: r.borderRadius
539
+ },
540
+ // https://github.com/ant-design/ant-design/issues/12493
541
+ [`& > ${i}-select-auto-complete ${o}`]: {
542
+ verticalAlign: "top"
543
+ },
544
+ [`${o}-group-wrapper + ${o}-group-wrapper`]: {
545
+ marginInlineStart: r.calc(r.lineWidth).mul(-1).equal(),
546
+ [`${o}-affix-wrapper`]: {
547
+ borderRadius: 0
548
+ }
549
+ },
550
+ [`${o}-group-wrapper:not(:last-child)`]: {
551
+ [`&${o}-search > ${o}-group`]: {
552
+ [`& > ${o}-group-addon > ${o}-search-button`]: {
553
+ borderRadius: 0
554
+ },
555
+ [`& > ${o}`]: {
556
+ borderStartStartRadius: r.borderRadius,
557
+ borderStartEndRadius: 0,
558
+ borderEndEndRadius: 0,
559
+ borderEndStartRadius: r.borderRadius
560
+ }
561
+ }
562
+ }
563
+ })
564
+ };
565
+ }, J = (r) => {
566
+ const {
567
+ componentCls: o,
568
+ controlHeightSM: i,
569
+ lineWidth: e,
570
+ calc: t
571
+ } = r, l = t(i).sub(t(e).mul(2)).sub(16).div(2).equal();
572
+ return {
573
+ [o]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, m(r)), E(r)), L(r)), q(r)), P(r)), {
574
+ '&[type="color"]': {
575
+ height: r.controlHeight,
576
+ [`&${o}-lg`]: {
577
+ height: r.controlHeightLG
578
+ },
579
+ [`&${o}-sm`]: {
580
+ height: i,
581
+ paddingTop: l,
582
+ paddingBottom: l
583
+ }
584
+ },
585
+ '&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration': {
586
+ "-webkit-appearance": "none"
587
+ }
588
+ })
589
+ };
590
+ }, K = (r) => {
591
+ const {
592
+ componentCls: o
593
+ } = r;
594
+ return {
595
+ // ========================= Input =========================
596
+ [`${o}-clear-icon`]: {
597
+ margin: 0,
598
+ padding: 0,
599
+ lineHeight: 0,
600
+ color: r.colorTextQuaternary,
601
+ fontSize: r.fontSizeIcon,
602
+ verticalAlign: -1,
603
+ // https://github.com/ant-design/ant-design/pull/18151
604
+ // https://codesandbox.io/s/wizardly-sun-u10br
605
+ cursor: "pointer",
606
+ transition: `color ${r.motionDurationSlow}`,
607
+ border: "none",
608
+ outline: "none",
609
+ backgroundColor: "transparent",
610
+ "&:hover": {
611
+ color: r.colorTextTertiary
612
+ },
613
+ "&:active": {
614
+ color: r.colorText
615
+ },
616
+ "&-hidden": {
617
+ visibility: "hidden"
618
+ },
619
+ "&-has-suffix": {
620
+ margin: `0 ${a(r.inputAffixPadding)}`
621
+ }
622
+ }
623
+ };
624
+ }, N = (r) => {
625
+ const {
626
+ componentCls: o,
627
+ inputAffixPadding: i,
628
+ colorTextDescription: e,
629
+ motionDurationSlow: t,
630
+ colorIcon: n,
631
+ colorIconHover: l,
632
+ iconCls: d
633
+ } = r, s = `${o}-affix-wrapper`, c = `${o}-affix-wrapper-disabled`;
634
+ return {
635
+ [s]: Object.assign(Object.assign(Object.assign(Object.assign({}, E(r)), {
636
+ display: "inline-flex",
637
+ [`&:not(${o}-disabled):hover`]: {
638
+ zIndex: 1,
639
+ [`${o}-search-with-button &`]: {
640
+ zIndex: 0
641
+ }
642
+ },
643
+ "&-focused, &:focus": {
644
+ zIndex: 1
645
+ },
646
+ [`> input${o}`]: {
647
+ padding: 0
648
+ },
649
+ [`> input${o}, > textarea${o}`]: {
650
+ fontSize: "inherit",
651
+ border: "none",
652
+ borderRadius: 0,
653
+ outline: "none",
654
+ background: "transparent",
655
+ color: "inherit",
656
+ "&::-ms-reveal": {
657
+ display: "none"
658
+ },
659
+ "&:focus": {
660
+ boxShadow: "none !important"
661
+ }
662
+ },
663
+ "&::before": {
664
+ display: "inline-block",
665
+ width: 0,
666
+ visibility: "hidden",
667
+ content: '"\\a0"'
668
+ },
669
+ [o]: {
670
+ "&-prefix, &-suffix": {
671
+ display: "flex",
672
+ flex: "none",
673
+ alignItems: "center",
674
+ "> *:not(:last-child)": {
675
+ marginInlineEnd: r.paddingXS
676
+ }
677
+ },
678
+ "&-show-count-suffix": {
679
+ color: e
680
+ },
681
+ "&-show-count-has-suffix": {
682
+ marginInlineEnd: r.paddingXXS
683
+ },
684
+ "&-prefix": {
685
+ marginInlineEnd: i
686
+ },
687
+ "&-suffix": {
688
+ marginInlineStart: i
689
+ }
690
+ }
691
+ }), K(r)), {
692
+ // password
693
+ [`${d}${o}-password-icon`]: {
694
+ color: n,
695
+ cursor: "pointer",
696
+ transition: `all ${t}`,
697
+ "&:hover": {
698
+ color: l
699
+ }
700
+ }
701
+ }),
702
+ [c]: {
703
+ // password disabled
704
+ [`${d}${o}-password-icon`]: {
705
+ color: n,
706
+ cursor: "not-allowed",
707
+ "&:hover": {
708
+ color: n
709
+ }
710
+ }
711
+ }
712
+ };
713
+ }, U = (r) => {
714
+ const {
715
+ componentCls: o,
716
+ borderRadiusLG: i,
717
+ borderRadiusSM: e
718
+ } = r;
719
+ return {
720
+ [`${o}-group`]: Object.assign(Object.assign(Object.assign({}, m(r)), Q(r)), {
721
+ "&-rtl": {
722
+ direction: "rtl"
723
+ },
724
+ "&-wrapper": Object.assign(Object.assign(Object.assign({
725
+ display: "inline-block",
726
+ width: "100%",
727
+ textAlign: "start",
728
+ verticalAlign: "top",
729
+ "&-rtl": {
730
+ direction: "rtl"
731
+ },
732
+ // Size
733
+ "&-lg": {
734
+ [`${o}-group-addon`]: {
735
+ borderRadius: i,
736
+ fontSize: r.inputFontSizeLG
737
+ }
738
+ },
739
+ "&-sm": {
740
+ [`${o}-group-addon`]: {
741
+ borderRadius: e
742
+ }
743
+ }
744
+ }, D(r)), X(r)), {
745
+ // '&-disabled': {
746
+ // [`${componentCls}-group-addon`]: {
747
+ // ...genDisabledStyle(token),
748
+ // },
749
+ // },
750
+ // Fix the issue of using icons in Space Compact mode
751
+ // https://github.com/ant-design/ant-design/issues/42122
752
+ [`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]: {
753
+ [`${o}, ${o}-group-addon`]: {
754
+ borderRadius: 0
755
+ }
756
+ },
757
+ [`&:not(${o}-compact-last-item)${o}-compact-first-item`]: {
758
+ [`${o}, ${o}-group-addon`]: {
759
+ borderStartEndRadius: 0,
760
+ borderEndEndRadius: 0
761
+ }
762
+ },
763
+ [`&:not(${o}-compact-first-item)${o}-compact-last-item`]: {
764
+ [`${o}, ${o}-group-addon`]: {
765
+ borderStartStartRadius: 0,
766
+ borderEndStartRadius: 0
767
+ }
768
+ },
769
+ // Fix the issue of input use show-count param in space compact mode
770
+ // https://github.com/ant-design/ant-design/issues/46872
771
+ [`&:not(${o}-compact-last-item)${o}-compact-item`]: {
772
+ [`${o}-affix-wrapper`]: {
773
+ borderStartEndRadius: 0,
774
+ borderEndEndRadius: 0
775
+ }
776
+ },
777
+ // Fix the issue of input use `addonAfter` param in space compact mode
778
+ // https://github.com/ant-design/ant-design/issues/52483
779
+ [`&:not(${o}-compact-first-item)${o}-compact-item`]: {
780
+ [`${o}-affix-wrapper`]: {
781
+ borderStartStartRadius: 0,
782
+ borderEndStartRadius: 0
783
+ }
784
+ }
785
+ })
786
+ })
787
+ };
788
+ }, V = (r) => {
789
+ const {
790
+ componentCls: o,
791
+ antCls: i
792
+ } = r, e = `${o}-search`;
793
+ return {
794
+ [e]: {
795
+ [o]: {
796
+ "&:hover, &:focus": {
797
+ [`+ ${o}-group-addon ${e}-button:not(${i}-btn-primary)`]: {
798
+ borderInlineStartColor: r.colorPrimaryHover
799
+ }
800
+ }
801
+ },
802
+ [`${o}-affix-wrapper`]: {
803
+ height: r.controlHeight,
804
+ borderRadius: 0
805
+ },
806
+ // fix slight height diff in Firefox:
807
+ // https://ant.design/components/auto-complete-cn/#auto-complete-demo-certain-category
808
+ [`${o}-lg`]: {
809
+ lineHeight: r.calc(r.lineHeightLG).sub(2e-4).equal()
810
+ },
811
+ [`> ${o}-group`]: {
812
+ [`> ${o}-group-addon:last-child`]: {
813
+ insetInlineStart: -1,
814
+ padding: 0,
815
+ border: 0,
816
+ [`${e}-button`]: {
817
+ // Fix https://github.com/ant-design/ant-design/issues/47150
818
+ marginInlineEnd: -1,
819
+ borderStartStartRadius: 0,
820
+ borderEndStartRadius: 0,
821
+ boxShadow: "none"
822
+ },
823
+ [`${e}-button:not(${i}-btn-primary)`]: {
824
+ color: r.colorTextDescription,
825
+ "&:hover": {
826
+ color: r.colorPrimaryHover
827
+ },
828
+ "&:active": {
829
+ color: r.colorPrimaryActive
830
+ },
831
+ [`&${i}-btn-loading::before`]: {
832
+ insetInlineStart: 0,
833
+ insetInlineEnd: 0,
834
+ insetBlockStart: 0,
835
+ insetBlockEnd: 0
836
+ }
837
+ }
838
+ }
839
+ },
840
+ [`${e}-button`]: {
841
+ height: r.controlHeight,
842
+ "&:hover, &:focus": {
843
+ zIndex: 1
844
+ }
845
+ },
846
+ "&-large": {
847
+ [`${o}-affix-wrapper, ${e}-button`]: {
848
+ height: r.controlHeightLG
849
+ }
850
+ },
851
+ "&-small": {
852
+ [`${o}-affix-wrapper, ${e}-button`]: {
853
+ height: r.controlHeightSM
854
+ }
855
+ },
856
+ "&-rtl": {
857
+ direction: "rtl"
858
+ },
859
+ // ===================== Compact Item Customized Styles =====================
860
+ [`&${o}-compact-item`]: {
861
+ [`&:not(${o}-compact-last-item)`]: {
862
+ [`${o}-group-addon`]: {
863
+ [`${o}-search-button`]: {
864
+ marginInlineEnd: r.calc(r.lineWidth).mul(-1).equal(),
865
+ borderRadius: 0
866
+ }
867
+ }
868
+ },
869
+ [`&:not(${o}-compact-first-item)`]: {
870
+ [`${o},${o}-affix-wrapper`]: {
871
+ borderRadius: 0
872
+ }
873
+ },
874
+ [`> ${o}-group-addon ${o}-search-button,
875
+ > ${o},
876
+ ${o}-affix-wrapper`]: {
877
+ "&:hover, &:focus, &:active": {
878
+ zIndex: 2
879
+ }
880
+ },
881
+ [`> ${o}-affix-wrapper-focused`]: {
882
+ zIndex: 2
883
+ }
884
+ }
885
+ }
886
+ };
887
+ }, Y = (r) => {
888
+ const {
889
+ componentCls: o,
890
+ paddingLG: i
891
+ } = r, e = `${o}-textarea`;
892
+ return {
893
+ [e]: {
894
+ position: "relative",
895
+ "&-show-count": {
896
+ // https://github.com/ant-design/ant-design/issues/33049
897
+ [`> ${o}`]: {
898
+ height: "100%"
899
+ },
900
+ [`${o}-data-count`]: {
901
+ position: "absolute",
902
+ bottom: r.calc(r.fontSize).mul(r.lineHeight).mul(-1).equal(),
903
+ insetInlineEnd: 0,
904
+ color: r.colorTextDescription,
905
+ whiteSpace: "nowrap",
906
+ pointerEvents: "none"
907
+ }
908
+ },
909
+ [`
910
+ &-allow-clear > ${o},
911
+ &-affix-wrapper${e}-has-feedback ${o}
912
+ `]: {
913
+ paddingInlineEnd: i
914
+ },
915
+ [`&-affix-wrapper${o}-affix-wrapper`]: {
916
+ padding: 0,
917
+ [`> textarea${o}`]: {
918
+ fontSize: "inherit",
919
+ border: "none",
920
+ outline: "none",
921
+ background: "transparent",
922
+ "&:focus": {
923
+ boxShadow: "none !important"
924
+ }
925
+ },
926
+ [`${o}-suffix`]: {
927
+ margin: 0,
928
+ "> *:not(:last-child)": {
929
+ marginInline: 0
930
+ },
931
+ // Clear Icon
932
+ [`${o}-clear-icon`]: {
933
+ position: "absolute",
934
+ insetInlineEnd: r.paddingInline,
935
+ insetBlockStart: r.paddingXS
936
+ },
937
+ // Feedback Icon
938
+ [`${e}-suffix`]: {
939
+ position: "absolute",
940
+ top: 0,
941
+ insetInlineEnd: r.paddingInline,
942
+ bottom: 0,
943
+ zIndex: 1,
944
+ display: "inline-flex",
945
+ alignItems: "center",
946
+ margin: "auto",
947
+ pointerEvents: "none"
948
+ }
949
+ }
950
+ },
951
+ [`&-affix-wrapper${o}-affix-wrapper-sm`]: {
952
+ [`${o}-suffix`]: {
953
+ [`${o}-clear-icon`]: {
954
+ insetInlineEnd: r.paddingInlineSM
955
+ }
956
+ }
957
+ }
958
+ }
959
+ };
960
+ }, Z = (r) => {
961
+ const {
962
+ componentCls: o
963
+ } = r;
964
+ return {
965
+ [`${o}-out-of-range`]: {
966
+ [`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]: {
967
+ color: r.colorError
968
+ }
969
+ }
970
+ };
971
+ }, ar = T("Input", (r) => {
972
+ const o = g(r, M(r));
973
+ return [
974
+ J(o),
975
+ Y(o),
976
+ N(o),
977
+ U(o),
978
+ V(o),
979
+ Z(o),
980
+ // =====================================================
981
+ // == Space Compact ==
982
+ // =====================================================
983
+ G(o)
984
+ ];
985
+ }, A, {
986
+ resetFont: !1
987
+ });
988
+ export {
989
+ A as a,
990
+ q as b,
991
+ P as c,
992
+ _ as d,
993
+ v as e,
994
+ E as f,
995
+ L as g,
996
+ x as h,
997
+ M as i,
998
+ p as j,
999
+ ar as u
1000
+ };