@arco-design/mobile-react 2.30.10 → 2.31.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 (142) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.en-US.md +2 -2
  3. package/README.md +2 -2
  4. package/cjs/form/form-item.d.ts +3 -0
  5. package/cjs/form/form-item.js +38 -10
  6. package/cjs/form/style/css/index.css +13 -0
  7. package/cjs/form/style/index.less +18 -0
  8. package/cjs/icon/IconCheck/index.js +1 -2
  9. package/cjs/icon/IconDownload/index.d.ts +7 -0
  10. package/cjs/icon/IconDownload/index.js +41 -0
  11. package/cjs/icon/IconFile/index.d.ts +7 -0
  12. package/cjs/icon/IconFile/index.js +41 -0
  13. package/cjs/icon/IconKeyboard/index.js +1 -0
  14. package/cjs/icon/IconQuestionCircle/index.js +1 -2
  15. package/cjs/icon/IconUpload/index.js +6 -4
  16. package/cjs/icon/IconUserFill/index.js +1 -2
  17. package/cjs/icon/index.d.ts +3 -1
  18. package/cjs/icon/index.js +17 -7
  19. package/cjs/icon/type.d.ts +3 -1
  20. package/cjs/image-picker/index.js +15 -161
  21. package/cjs/image-picker/type.d.ts +4 -73
  22. package/cjs/index.d.ts +1 -0
  23. package/cjs/index.js +6 -2
  24. package/cjs/input/hooks.js +2 -2
  25. package/cjs/input/props.d.ts +2 -2
  26. package/cjs/picker/index.js +59 -19
  27. package/cjs/picker/type.d.ts +6 -1
  28. package/cjs/style.d.ts +1 -0
  29. package/cjs/style.js +3 -1
  30. package/cjs/tabs/tab-cell.js +1 -1
  31. package/cjs/uploader/index.d.ts +16 -0
  32. package/cjs/uploader/index.js +180 -0
  33. package/cjs/uploader/style/css/index.css +650 -0
  34. package/cjs/uploader/style/css/index.d.ts +4 -0
  35. package/cjs/uploader/style/css/index.js +9 -0
  36. package/cjs/uploader/style/index.d.ts +4 -0
  37. package/cjs/uploader/style/index.js +9 -0
  38. package/cjs/uploader/style/index.less +161 -0
  39. package/cjs/uploader/type.d.ts +108 -0
  40. package/cjs/uploader/type.js +3 -0
  41. package/cjs/uploader/upload/index.d.ts +2 -0
  42. package/cjs/uploader/upload/index.js +19 -0
  43. package/cjs/uploader/upload/type.d.ts +107 -0
  44. package/cjs/uploader/upload/type.js +3 -0
  45. package/cjs/uploader/upload/upload.d.ts +20 -0
  46. package/cjs/uploader/upload/upload.js +189 -0
  47. package/dist/index.js +580 -265
  48. package/dist/index.min.js +4 -4
  49. package/dist/style.css +593 -0
  50. package/dist/style.min.css +1 -1
  51. package/esm/form/form-item.d.ts +3 -0
  52. package/esm/form/form-item.js +36 -10
  53. package/esm/form/style/css/index.css +13 -0
  54. package/esm/form/style/index.less +18 -0
  55. package/esm/icon/IconCheck/index.js +1 -2
  56. package/esm/icon/IconDownload/index.d.ts +7 -0
  57. package/esm/icon/IconDownload/index.js +30 -0
  58. package/esm/icon/IconFile/index.d.ts +7 -0
  59. package/esm/icon/IconFile/index.js +30 -0
  60. package/esm/icon/IconKeyboard/index.js +1 -0
  61. package/esm/icon/IconQuestionCircle/index.js +1 -2
  62. package/esm/icon/IconUpload/index.js +6 -4
  63. package/esm/icon/IconUserFill/index.js +1 -2
  64. package/esm/icon/index.d.ts +3 -1
  65. package/esm/icon/index.js +3 -1
  66. package/esm/icon/type.d.ts +3 -1
  67. package/esm/image-picker/index.js +14 -160
  68. package/esm/image-picker/type.d.ts +4 -73
  69. package/esm/index.d.ts +1 -0
  70. package/esm/index.js +2 -1
  71. package/esm/input/hooks.js +2 -2
  72. package/esm/input/props.d.ts +2 -2
  73. package/esm/picker/index.js +60 -20
  74. package/esm/picker/type.d.ts +6 -1
  75. package/esm/style.d.ts +1 -0
  76. package/esm/style.js +2 -1
  77. package/esm/tabs/tab-cell.js +2 -2
  78. package/esm/uploader/index.d.ts +16 -0
  79. package/esm/uploader/index.js +150 -0
  80. package/esm/uploader/style/css/index.css +650 -0
  81. package/esm/uploader/style/css/index.d.ts +4 -0
  82. package/esm/uploader/style/css/index.js +4 -0
  83. package/esm/uploader/style/index.d.ts +4 -0
  84. package/esm/uploader/style/index.js +4 -0
  85. package/esm/uploader/style/index.less +161 -0
  86. package/esm/uploader/type.d.ts +108 -0
  87. package/esm/uploader/type.js +1 -0
  88. package/esm/uploader/upload/index.d.ts +2 -0
  89. package/esm/uploader/upload/index.js +2 -0
  90. package/esm/uploader/upload/type.d.ts +107 -0
  91. package/esm/uploader/upload/type.js +1 -0
  92. package/esm/uploader/upload/upload.d.ts +20 -0
  93. package/esm/uploader/upload/upload.js +175 -0
  94. package/package.json +3 -3
  95. package/tokens/app/arcodesign/default/css-variables.less +27 -0
  96. package/tokens/app/arcodesign/default/index.d.ts +27 -0
  97. package/tokens/app/arcodesign/default/index.js +28 -1
  98. package/tokens/app/arcodesign/default/index.json +292 -0
  99. package/tokens/app/arcodesign/default/index.less +27 -0
  100. package/umd/form/form-item.d.ts +3 -0
  101. package/umd/form/form-item.js +38 -10
  102. package/umd/form/style/css/index.css +13 -0
  103. package/umd/form/style/index.less +18 -0
  104. package/umd/icon/IconCheck/index.js +1 -2
  105. package/umd/icon/IconDownload/index.d.ts +7 -0
  106. package/umd/icon/IconDownload/index.js +49 -0
  107. package/umd/icon/IconFile/index.d.ts +7 -0
  108. package/umd/icon/IconFile/index.js +49 -0
  109. package/umd/icon/IconKeyboard/index.js +1 -0
  110. package/umd/icon/IconQuestionCircle/index.js +1 -2
  111. package/umd/icon/IconUpload/index.js +6 -4
  112. package/umd/icon/IconUserFill/index.js +1 -2
  113. package/umd/icon/index.d.ts +3 -1
  114. package/umd/icon/index.js +15 -9
  115. package/umd/icon/type.d.ts +3 -1
  116. package/umd/image-picker/index.js +17 -163
  117. package/umd/image-picker/type.d.ts +4 -73
  118. package/umd/index.d.ts +1 -0
  119. package/umd/index.js +7 -5
  120. package/umd/input/hooks.js +2 -2
  121. package/umd/input/props.d.ts +2 -2
  122. package/umd/picker/index.js +59 -19
  123. package/umd/picker/type.d.ts +6 -1
  124. package/umd/style.d.ts +1 -0
  125. package/umd/style.js +4 -4
  126. package/umd/tabs/tab-cell.js +1 -1
  127. package/umd/uploader/index.d.ts +16 -0
  128. package/umd/uploader/index.js +178 -0
  129. package/umd/uploader/style/css/index.css +650 -0
  130. package/umd/uploader/style/css/index.d.ts +4 -0
  131. package/umd/uploader/style/css/index.js +15 -0
  132. package/umd/uploader/style/index.d.ts +4 -0
  133. package/umd/uploader/style/index.js +15 -0
  134. package/umd/uploader/style/index.less +161 -0
  135. package/umd/uploader/type.d.ts +108 -0
  136. package/umd/uploader/type.js +17 -0
  137. package/umd/uploader/upload/index.d.ts +2 -0
  138. package/umd/uploader/upload/index.js +27 -0
  139. package/umd/uploader/upload/type.d.ts +107 -0
  140. package/umd/uploader/upload/type.js +17 -0
  141. package/umd/uploader/upload/upload.d.ts +20 -0
  142. package/umd/uploader/upload/upload.js +200 -0
package/dist/style.css CHANGED
@@ -17251,6 +17251,13 @@ samp {
17251
17251
  height: 0.32rem ;
17252
17252
  line-height: 0.32rem ;
17253
17253
  }
17254
+ .arco-form-picker-link-container {
17255
+ font-size: 0.32rem;
17256
+ color: #1d2129 ;
17257
+ }
17258
+ .arco-form-picker-link-container-placeholder {
17259
+ color: #c9cdd4 ;
17260
+ }
17254
17261
 
17255
17262
  /**
17256
17263
  * @type mixin-var
@@ -34176,3 +34183,589 @@ samp {
34176
34183
  text-align: center;
34177
34184
  white-space: pre-line;
34178
34185
  }
34186
+
34187
+ /**
34188
+ * @type mixin-var
34189
+ * @name GeneralMixinVars
34190
+ * @name_en General Mixin
34191
+ */
34192
+ /**
34193
+ * 根据 base-font-size,设置单位尺寸为 rem
34194
+ * @desc {en} set the unit size to rem based on base-font-size
34195
+ * @param @property css属性名
34196
+ * @param @property {en} css property
34197
+ * @param @values css属性值,如果为复合属性,值可以用逗号分隔开
34198
+ * @param @values {en} css property value, the values can be separated by commas when the style is composite
34199
+ * @example
34200
+ * ```
34201
+ * @import '@arco-design/mobile-react/style/mixin.less';
34202
+ *
34203
+ * .demo {
34204
+ * .rem(font-size, 14);
34205
+ * .rem(padding, 16, 0);
34206
+ * }
34207
+ * ```
34208
+ */
34209
+ /**
34210
+ * 根据 base-font-size,设置常规模式和 rtl 模式下单位尺寸为 rem
34211
+ * @desc {en} set the unit size to rem for regular and RTL modes based on the base-font-size
34212
+ * @param @property css属性名
34213
+ * @param @property {en} css property
34214
+ * @param @values css属性值,如果为复合属性,值可以用逗号分隔开
34215
+ * @param @values {en} css property value, the values can be separated by commas when the style is composite
34216
+ * @example
34217
+ * ```
34218
+ * @import '@arco-design/mobile-react/style/mixin.less';
34219
+ *
34220
+ * .demo {
34221
+ * .rem-with-rtl(font-size, 14);
34222
+ * .rem-with-rtl(padding, 16, 0);
34223
+ * }
34224
+ * ```
34225
+ */
34226
+ /**
34227
+ * 当 less 变量 use-dark-mode=1 时,自定义暗黑模式样式规则
34228
+ * @desc {en} Customize dark mode style rules when the less variable use-dark-mode=1.
34229
+ * @param @rules 对应的暗黑模式规则
34230
+ * @param @rules {en} Corresponding dark mode rules
34231
+ * @example
34232
+ * ```
34233
+ * @import '@arco-design/mobile-react/style/mixin.less';
34234
+ *
34235
+ * .demo {
34236
+ * .use-dark-mode-query({
34237
+ * background-color: #000;
34238
+ * });
34239
+ * }
34240
+ * ```
34241
+ */
34242
+ /**
34243
+ * 为属性设置 arco 提供的 token 变量
34244
+ * @desc {en} set the token variable provided by Arco for the attribute
34245
+ * @param @property css属性名
34246
+ * @param @property {en} css property
34247
+ * @param @variables token变量名
34248
+ * @param @variables {en} token variable name
34249
+ * @param @preValues 复合属性css变量前缀
34250
+ * @param @preValues {en} prefix for Compound Attribute CSS Variables
34251
+ * @param @nextValues 复合属性css变量后缀
34252
+ * @param @nextValues {en} suffix for Compound Attribute CSS Variables
34253
+ * @example
34254
+ * ```
34255
+ * @import '@arco-design/mobile-react/style/mixin.less';
34256
+ *
34257
+ * .demo {
34258
+ * .use-var(background, primary-color);
34259
+ * .use-var(border, primary-color, 1px solid);
34260
+ * .use-var(border, cell-border-width, '', solid black);
34261
+ * }
34262
+ * ```
34263
+ */
34264
+ /**
34265
+ * 在常规模式和 rtl 模式下为属性设置 arco 提供的 token 变量
34266
+ * @desc {en} set the token variable provided by Arco for the attribute in regular mode and RTL mode
34267
+ * @param @property css 属性名
34268
+ * @param @property {en} css property
34269
+ * @param @variables token 变量名
34270
+ * @param @variables {en} token variable name
34271
+ * @param @preValues
34272
+ * @param @preValues {en}
34273
+ * @param @nextValues
34274
+ * @param @nextValues {en}
34275
+ * @example
34276
+ * ```
34277
+ * @import '@arco-design/mobile-react/style/mixin.less';
34278
+ *
34279
+ * .demo {
34280
+ * .use-var-with-rtl(margin-left, button-icon-text-gutter);
34281
+ * }
34282
+ * ```
34283
+ */
34284
+ /**
34285
+ * 0.5px 的边框线
34286
+ * @desc {en} a border line of 0.5 pixels
34287
+ * @param @color 使用 css 变量为线设置颜色
34288
+ * @param @color {en} set border-color by CSS variable
34289
+ * @param @direction 边框方向,默认为全部方向
34290
+ * @param @direction {en} border direction,default to all directions.
34291
+ * @example
34292
+ * ```
34293
+ * @import '@arco-design/mobile-react/style/mixin.less';
34294
+ *
34295
+ * .demo {
34296
+ * .hairline-var(line-color);
34297
+ * .hairline-var(line-color, top);
34298
+ * }
34299
+ * ```
34300
+ */
34301
+ /**
34302
+ * 字体加粗
34303
+ * @desc {en} font bold
34304
+ * @param @color 使用 css 变量设置加粗的字体颜色,默认继承文字当前颜色
34305
+ * @param @color {en} set color by CSS variable
34306
+ * @param @stroke 字体粗细,默认 0.3px
34307
+ * @param @stroke {en} font weight, default 0.3 pixel
34308
+ * @example
34309
+ * ```
34310
+ * @import '@arco-design/mobile-react/style/mixin.less';
34311
+ *
34312
+ * .demo {
34313
+ * .text-medium-var();
34314
+ * .text-medium-var(primary-color, 0.5PX);
34315
+ * }
34316
+ * ```
34317
+ */
34318
+ /**
34319
+ * 1px 边框
34320
+ * @desc {en} 1 pixel border
34321
+ * @param @direction 边框方向
34322
+ * @param @direction {en} border direction
34323
+ * @param @borderColor 使用 css 变量设置边框颜色
34324
+ * @param @borderColor {en} set border-color by CSS variable
34325
+ * @param @borderRadius border-radius,默认为 0
34326
+ * @param @borderRadius {en} border-radius, default value is 0
34327
+ * @param @borderWidth border-width,默认为 1px
34328
+ * @param @borderWidth {en} border-width, default value is 1 pixel
34329
+ * @param @borderStyle border-style,默认为 solid
34330
+ * @param @borderStyle {en} border-style, default value is solid
34331
+ * @example
34332
+ * ```
34333
+ * @import '@arco-design/mobile-react/style/mixin.less';
34334
+ *
34335
+ * .demo {
34336
+ * .onepx-border-var(top, line-color);
34337
+ * .onepx-border-var(all, line-color, 2, 2px, dashed);
34338
+ * }
34339
+ * ```
34340
+ */
34341
+ /**
34342
+ * 元素右下 0.5px 边框
34343
+ * @desc {en} 0.5px border on bottom right
34344
+ * @param @color 使用 css 变量设置边框颜色
34345
+ * @param @color {en} set border-color by CSS variable
34346
+ * @example
34347
+ * ```
34348
+ * @import '@arco-design/mobile-react/style/mixin.less';
34349
+ *
34350
+ * .demo {
34351
+ * .hairline-bottom-right-var(line-color);
34352
+ * }
34353
+ * ```
34354
+ */
34355
+ /**
34356
+ * 元素左上 0.5px 边框
34357
+ * @desc {en} 0.5px border on top left
34358
+ * @param @color 使用 css 变量设置边框颜色
34359
+ * @param @color {en} set border-color by CSS variable
34360
+ * @example
34361
+ * ```
34362
+ * @import '@arco-design/mobile-react/style/mixin.less';
34363
+ *
34364
+ * .demo {
34365
+ * .hairline-top-left-var(line-color);
34366
+ * }
34367
+ * ```
34368
+ */
34369
+ /**
34370
+ * 设置 Loading 组件颜色
34371
+ * @desc {en} set Loading component color
34372
+ * @param @color 使用 css 变量设置颜色
34373
+ * @param @color {en} set color by CSS variable
34374
+ * @example
34375
+ * ```
34376
+ * @import '@arco-design/mobile-react/style/mixin.less';
34377
+ *
34378
+ * .demo {
34379
+ * .set-loading-color-var(primary-color);
34380
+ * }
34381
+ * ```
34382
+ */
34383
+ /**
34384
+ * 设置最小字号
34385
+ * @desc {en} set minimum font-size
34386
+ * @param @size 使用 css 变量设置最小字号
34387
+ * @param @size {en} set minimum font-size by CSS variable
34388
+ * @param @scale 设置最小字号下文字缩放比例,默认为 0.9
34389
+ * @param @scale {en} set minimum font-size down text scale,default value is 0.9
34390
+ * @example
34391
+ * ```
34392
+ * @import '@arco-design/mobile-react/style/mixin.less';
34393
+ *
34394
+ * .demo {
34395
+ * .set-font-size-var(badge-font-size);
34396
+ * .set-font-size-var(badge-font-size, 0.5);
34397
+ * }
34398
+ * ```
34399
+ */
34400
+ /**
34401
+ * 设置 content-box 盒模型下元素宽度
34402
+ * @desc {en} set box width in content-box
34403
+ * @param @property css 属性名
34404
+ * @param @property {en} css property
34405
+ * @param @width 元素总宽度,包含内边距
34406
+ * @param @width element width, include padding
34407
+ * @param @padding-left 左侧内边距
34408
+ * @param @padding-left {en} padding-left
34409
+ * @param @padding-right 右侧内边距
34410
+ * @param @padding-right {en} padding-right
34411
+ * @example
34412
+ * ```
34413
+ * @import '@arco-design/mobile-react/style/mixin.less';
34414
+ *
34415
+ * .demo {
34416
+ * .set-content-box-width-var(min-width, badge-text-width, badge-text-padding-left, badge-text-padding-right);
34417
+ * }
34418
+ * ```
34419
+ */
34420
+ /**
34421
+ * 设置 Steps 组件颜色
34422
+ * @desc {en} set Steps component color
34423
+ * @param @color 使用 css 变量设置主颜色
34424
+ * @param @color {en} set main step color by CSS variable
34425
+ * @param @finish-color 使用 css 变量设置已完成步骤的颜色
34426
+ * @param @finish-color {en} set finished step color by CSS variable
34427
+ * @example
34428
+ * ```
34429
+ * @import '@arco-design/mobile-react/style/mixin.less';
34430
+ *
34431
+ * .demo {
34432
+ * .set-steps-color-var(primary-color, lighter-primary-color);
34433
+ * }
34434
+ * ```
34435
+ */
34436
+ /**
34437
+ * @type mixin
34438
+ * @name GeneralMixin
34439
+ * @name_en General Mixin
34440
+ */
34441
+ /**
34442
+ * 文本溢出,支持1行/多行文本
34443
+ * @desc {en} text overflow, support single line or multiple lines
34444
+ * @param @lines 最大展示行数,默认为1行
34445
+ * @param @lines {en} allows limiting of the contents of a block to the specified number of lines, default to 1
34446
+ * @example
34447
+ * ```
34448
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34449
+ * .demo1{
34450
+ * .text-overflow();
34451
+ * }
34452
+ * .demo2 {
34453
+ * .text-overflow(2);
34454
+ * }
34455
+ * ```
34456
+ */
34457
+ /**
34458
+ * 禁用用户选择文本
34459
+ * @desc {en} disable user selection of text
34460
+ * @example
34461
+ * ```
34462
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34463
+ *
34464
+ * .demo {
34465
+ * .noselect();
34466
+ * }
34467
+ */
34468
+ /**
34469
+ * 全屏布局
34470
+ * @desc {en} full-screen layout
34471
+ * @example
34472
+ * ```
34473
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34474
+ *
34475
+ * .demo {
34476
+ * .full-screen();
34477
+ * }
34478
+ */
34479
+ /**
34480
+ * 文本加粗,兼容安卓设备
34481
+ * @desc {en} text-bold, compatible with Android devices
34482
+ * @param @color 文本颜色,默认为currentColor
34483
+ * @param @color {en} text color, default to currentColor
34484
+ * @param @stroke 文本字符笔触宽度,默认为0.3PX
34485
+ * @param @stroke {en} the width of strokes for text characters, default to 0.3PX
34486
+ * @example
34487
+ * ```
34488
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34489
+ *
34490
+ * .demo1 {
34491
+ * .text-medium();
34492
+ * }
34493
+ * .demo2 {
34494
+ * .text-medium(#fff, 0.5px);
34495
+ * }
34496
+ */
34497
+ /**
34498
+ * 消除文本加粗样式,兼容安卓设备
34499
+ * @desc {en} remove text-bold, compatible with Android devices
34500
+ * @example
34501
+ * ```
34502
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34503
+ *
34504
+ * .demo {
34505
+ * .remove-text-medium();
34506
+ * }
34507
+ */
34508
+ /**
34509
+ * 1px(物理像素)边框
34510
+ * @desc {en} a border line of 1 pixel
34511
+ * @param @direction 边框方向
34512
+ * @param @direction {en} border direction
34513
+ * @param @borderColor 边框颜色,默认inherit
34514
+ * @param @borderColor {en} border color, default to inherit
34515
+ * @param @borderRadius 边框圆角,默认0
34516
+ * @param @borderRadius {en} border radius, default to 0
34517
+ * @param @borderWidth 边框宽度,默认1px
34518
+ * @param @borderWidth {en} border width, default to 1px
34519
+ * @param @borderStyle 边框样式,默认solid
34520
+ * @param @borderStyle {en} border style, default to solid
34521
+ * @example
34522
+ * ```
34523
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34524
+ *
34525
+ * .demo {
34526
+ * .onepx-border();
34527
+ * }
34528
+ */
34529
+ /**
34530
+ * 移除0.5px的边框线
34531
+ * @desc {en} remove border line of 0.5 pixels
34532
+ * @param @direction 边框方向,默认为全部方向
34533
+ * @param @direction {en} border direction,default to all directions.
34534
+ * @example
34535
+ * ```
34536
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34537
+ *
34538
+ * .demo {
34539
+ * .remove-hairline(all);
34540
+ * }
34541
+ * ```
34542
+ */
34543
+ /**
34544
+ * 元素右下 0.5px border
34545
+ * @desc {en} 0.5px border on bottom right
34546
+ * @param @color 边框颜色
34547
+ * @param @color {en} border-color
34548
+ * @example
34549
+ * ```
34550
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34551
+ *
34552
+ * .demo {
34553
+ * .hairline-bottom-right(#000);
34554
+ * }
34555
+ * ```
34556
+ */
34557
+ /**
34558
+ * 元素左上 0.5px border
34559
+ * @desc {en} 0.5px border on top left
34560
+ * @param @color 边框颜色
34561
+ * @param @color {en} border-color
34562
+ * @example
34563
+ * ```
34564
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34565
+ *
34566
+ * .demo {
34567
+ * .hairline-top-left(#000);
34568
+ * }
34569
+ * ```
34570
+ */
34571
+ /**
34572
+ * 输入涉及左右相关的属性名,获取方向相反的属性名,可用于处理rtl模式
34573
+ * @desc {en} get the property name in the opposite direction of the input property name, which can be used to process rtl mode
34574
+ * @param @origin-property css属性名
34575
+ * @param @origin-property {en} css property
34576
+ * @example
34577
+ * ```
34578
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34579
+ *
34580
+ * .demo {
34581
+ * @a: .prop-with-rtl(margin-left)[@property-name]; // @a 变量值为margin-right
34582
+ * }
34583
+ * ```
34584
+ */
34585
+ /**
34586
+ * 设置涉及左右相关的属性名,在rtl模式下自动替换为相反的属性名
34587
+ * @desc {en} set the property name related to left and right, and automatically replace it with the opposite attribute name in rtl mode
34588
+ * @param @property css属性名
34589
+ * @param @property {en} css property
34590
+ * @param @value css属性值
34591
+ * @param @value {en} css property value
34592
+ * @param @rules 自定义的复写规则,默认重置为initial
34593
+ * @param @rules {en} customized rewrite rules, default to initial
34594
+ * @example
34595
+ * ```
34596
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34597
+ *
34598
+ * .demo {
34599
+ * .set-prop-with-rtl(right, auto);
34600
+ * }
34601
+ * ```
34602
+ */
34603
+ /**
34604
+ * 设置涉及左右相关的属性值,在rtl模式下自动替换为相反的属性值
34605
+ * @desc {en} set the property value related to left and right, and automatically replace it with the opposite attribute value in rtl mode
34606
+ * @param @property css属性名
34607
+ * @param @property {en} css property
34608
+ * @param @value css属性值
34609
+ * @param @value {en} css property value
34610
+ * @example
34611
+ * ```
34612
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34613
+ *
34614
+ * .demo {
34615
+ * .set-value-with-rtl(text-align, left);
34616
+ * }
34617
+ * ```
34618
+ */
34619
+ /**
34620
+ * 设置Loading组件颜色
34621
+ * @desc {en} set Loading component color
34622
+ * @param @color 颜色
34623
+ * @param @color {en} color
34624
+ * @example
34625
+ * ```
34626
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34627
+ *
34628
+ * .demo {
34629
+ * .set-loading-color(#000);
34630
+ * }
34631
+ * ```
34632
+ */
34633
+ /**
34634
+ * 设置最小字号
34635
+ * @desc {en} set minimum font-size
34636
+ * @param @size 最小字号
34637
+ * @param @size {en} minimum font-size
34638
+ * @example
34639
+ * ```
34640
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34641
+ *
34642
+ * .demo {
34643
+ * .set-font-size(10px);
34644
+ * }
34645
+ * ```
34646
+ */
34647
+ /**
34648
+ * 设置content-box盒模型下元素宽度
34649
+ * @desc {en} set box width in content-box
34650
+ * @param @property css属性名
34651
+ * @param @property {en} css property
34652
+ * @param @width 元素总宽度,包含内边距
34653
+ * @param @width element width, include padding
34654
+ * @param @padding-left 左侧内边距
34655
+ * @param @padding-left {en} padding-left
34656
+ * @param @padding-right 右侧内边距
34657
+ * @param @padding-right {en} padding-right
34658
+ * @example
34659
+ * ```
34660
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34661
+ *
34662
+ * .demo {
34663
+ * .set-content-box-width(min-width, 300px, 10px, 10px);
34664
+ * }
34665
+ * ```
34666
+ */
34667
+ /**
34668
+ * 设置Steps组件当前步骤主要颜色,已完成步骤颜色自动计算为当前步骤颜色透明度10%
34669
+ * @desc {en} set Steps component color
34670
+ * @param @color 当前步骤背景、标题文本颜色
34671
+ * @param @color {en} color of current step background and title text
34672
+ * @param @finish-color 已完成步骤背景色
34673
+ * @param @finish-color {en} color of finished step background
34674
+ * @example
34675
+ * ```
34676
+ * @import '@arco-design/mobile-utils/style/mixin.less';
34677
+ *
34678
+ * .demo {
34679
+ * .set-steps-color(#FFB400);
34680
+ * }
34681
+ * ```
34682
+ */
34683
+ .arco-uploader-container {
34684
+ display: flex;
34685
+ flex-wrap: wrap;
34686
+ }
34687
+ .arco-uploader-add {
34688
+ position: relative;
34689
+ }
34690
+ .arco-uploader-add input {
34691
+ position: absolute;
34692
+ opacity: 0;
34693
+ left: 0;
34694
+ top: 0;
34695
+ width: 100%;
34696
+ height: 100%;
34697
+ display: none;
34698
+ }
34699
+ .arco-uploader-list {
34700
+ width: 100%;
34701
+ }
34702
+ .arco-uploader-list-item {
34703
+ display: flex;
34704
+ align-items: center;
34705
+ height: 0.72rem ;
34706
+ margin-top: 0.32rem ;
34707
+ }
34708
+ .arco-uploader-list-item-container {
34709
+ flex: 1;
34710
+ display: flex;
34711
+ align-items: center;
34712
+ height: 100%;
34713
+ border-radius: 0.04rem ;
34714
+ background-color: #F7F8FA ;
34715
+ padding: 0 0.24rem ;
34716
+ }
34717
+ .arco-uploader-list-item-wrapper {
34718
+ display: flex;
34719
+ flex: 1;
34720
+ align-items: center;
34721
+ }
34722
+ .arco-uploader-list-item-file {
34723
+ display: flex;
34724
+ font-size: 0.32rem ;
34725
+ margin-right: 0.24rem ;
34726
+ }
34727
+ [dir="rtl"] .arco-uploader-list-item-file {
34728
+ margin-right: initial;
34729
+ margin-left: 0.24rem ;
34730
+ }
34731
+ .arco-uploader-list-item-file-icon {
34732
+ color: #4e5969 ;
34733
+ }
34734
+ .arco-uploader-list-item-text {
34735
+ font-weight: 400;
34736
+ font-size: 0.28rem ;
34737
+ color: #1d2129 ;
34738
+ }
34739
+ .arco-uploader-list-item-text-error {
34740
+ color: #F53F3F ;
34741
+ }
34742
+ .arco-uploader-list-item-loaded {
34743
+ display: flex;
34744
+ font-size: 0.32rem ;
34745
+ color: #00B42A ;
34746
+ }
34747
+ .arco-uploader-list-item-error {
34748
+ font-weight: 400;
34749
+ font-size: 0.24rem ;
34750
+ color: #165DFF ;
34751
+ }
34752
+ .arco-uploader-list-item-delete {
34753
+ display: flex;
34754
+ height: 100%;
34755
+ align-items: center;
34756
+ padding-left: 0.24rem ;
34757
+ font-size: 0.24rem ;
34758
+ }
34759
+ [dir="rtl"] .arco-uploader-list-item-delete {
34760
+ padding-left: initial;
34761
+ padding-right: 0.24rem ;
34762
+ }
34763
+ .arco-uploader-list-item-delete-icon {
34764
+ color: #4e5969 ;
34765
+ }
34766
+ .arco-uploader-list-item-delete-icon-disabled {
34767
+ color: #c9cdd4 ;
34768
+ }
34769
+ .arco-uploader-disabled {
34770
+ pointer-events: none;
34771
+ }