@nutui/nutui-react 1.1.4-beta.1 → 1.1.4-beta.2

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 (53) hide show
  1. package/dist/esm/Avatar/style/index.js +1 -1
  2. package/dist/esm/Avatar.js +97 -20
  3. package/dist/esm/Barrage.js +0 -1
  4. package/dist/esm/CircleProgress.js +93 -56
  5. package/dist/esm/Skeleton.js +20 -12
  6. package/dist/esm/Step.js +14 -3
  7. package/dist/esm/Steps.js +4 -1
  8. package/dist/esm/Swiper.js +2 -1
  9. package/dist/esm/TabbarItem.js +9 -0
  10. package/dist/esm/Uploader/style/index.js +2 -1
  11. package/dist/esm/Uploader.js +84 -18
  12. package/dist/locales/base.js +1 -1
  13. package/dist/locales/en-US.js +1 -1
  14. package/dist/locales/zh-CN.js +1 -1
  15. package/dist/locales/zh-TW.js +1 -1
  16. package/dist/nutui.react.es.js +299 -110
  17. package/dist/nutui.react.umd.js +12 -12
  18. package/dist/packages/avatar/avatar.scss +16 -6
  19. package/dist/packages/avatargroup/avatargroup.scss +14 -0
  20. package/dist/packages/circleprogress/circleprogress.scss +12 -53
  21. package/dist/packages/configprovider/configprovider.scss +0 -2
  22. package/dist/packages/skeleton/skeleton.scss +1 -3
  23. package/dist/packages/step/step.scss +29 -29
  24. package/dist/packages/uploader/uploader.scss +97 -14
  25. package/dist/style.css +1 -1
  26. package/dist/style.es.js +1 -1
  27. package/dist/styles/themes/default.scss +1 -0
  28. package/dist/styles/variables.scss +36 -4
  29. package/dist/types/avatar/__tests__/avatar.spec.d.ts +1 -0
  30. package/dist/types/avatar/avatar.d.ts +6 -3
  31. package/dist/types/avatargroup/AvatarContext.d.ts +2 -0
  32. package/dist/types/avatargroup/__tests__/avatargroup.spec.d.ts +1 -0
  33. package/dist/types/avatargroup/avatargroup.d.ts +14 -0
  34. package/dist/types/avatargroup/index.d.ts +2 -0
  35. package/dist/types/barrage/__tests__/barrage.spec.d.ts +1 -0
  36. package/dist/types/button/button.d.ts +2 -2
  37. package/dist/types/checkbox/__test__/checkbox.spec.d.ts +1 -0
  38. package/dist/types/circleprogress/__tests__/circleprogress.spec.d.ts +1 -0
  39. package/dist/types/circleprogress/circleprogress.d.ts +11 -5
  40. package/dist/types/icon/__test__/icon.spec.d.ts +1 -0
  41. package/dist/types/infiniteloading/__tests__/infiniteloading.spec.d.ts +1 -0
  42. package/dist/types/inputnumber/__tests__/inputnumber.spec.d.ts +1 -0
  43. package/dist/types/overlay/__tests__/overlay.spec.d.ts +1 -0
  44. package/dist/types/skeleton/__test__/skeleton.spec.d.ts +1 -0
  45. package/dist/types/skeleton/skeleton.d.ts +2 -2
  46. package/dist/types/step/step.d.ts +1 -0
  47. package/dist/types/steps/__tests__/steps.spec.d.ts +1 -0
  48. package/dist/types/steps/steps.d.ts +1 -0
  49. package/dist/types/tabbaritem/tabbaritem.d.ts +1 -0
  50. package/dist/types/uploader/__tests__/uploader.spec.d.ts +1 -0
  51. package/dist/types/uploader/uploader.d.ts +9 -1
  52. package/package.json +6 -3
  53. package/dist/styles/variables-jdw.scss +0 -376
package/dist/style.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.1.4-beta.1 Wed May 11 2022 10:28:31 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.1.4-beta.2 Fri May 20 2022 09:39:04 GMT+0800 (China Standard Time)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -47,6 +47,7 @@
47
47
  @import '../../packages/swiper/swiper.scss';
48
48
  @import '../../packages/swiperitem/swiperitem.scss';
49
49
  @import '../../packages/avatar/avatar.scss';
50
+ @import '../../packages/avatargroup/avatargroup.scss';
50
51
  @import '../../packages/price/price.scss';
51
52
  @import '../../packages/badge/badge.scss';
52
53
  @import '../../packages/tag/tag.scss';
@@ -117,9 +117,9 @@ $icon-line-height: 20px;
117
117
 
118
118
  // uploader
119
119
 
120
- $uploader-width: 100px;
121
- $uploader-height: 100px;
122
- $uploader-background: #f7f8fa;
120
+ $uploader-picture-width: 100px !default;
121
+ $uploader-picture-height: 100px !default;
122
+ $uploader-background: #f7f8fa !default;
123
123
 
124
124
  //input
125
125
  $input-border-bottom: #eaf0fb;
@@ -252,7 +252,33 @@ $rang-bar-bg-color: linear-gradient(135deg, $primary-color 0%, $primary-color-en
252
252
  $address-region-tab-line: linear-gradient(90deg, $primary-color 0%, $primary-color-end 100%);
253
253
 
254
254
  //steps
255
- $step-wait-bg-color: #959fb1;
255
+ $steps-base-icon-width: 25px !default;
256
+ $steps-base-icon-height: 25px !default;
257
+ $steps-base-icon-line-height: 25px !default;
258
+ $steps-base-icon-font-size: 13px !default;
259
+ $steps-base-title-font-size: 14px !default;
260
+ $steps-base-line-color: #909ca4 !default;
261
+ $steps-base-title-color: #909ca4 !default;
262
+ $steps-base-title-margin-bottom: 10px !default;
263
+ $steps-base-content-font-size: 14px !default;
264
+ $steps-base-content-color: #666 !default;
265
+
266
+ $steps-wait-icon-bg-color: #959fb1 !default;
267
+ $steps-wait-icon-color: $white !default;
268
+ $steps-wait-head-color: #909ca4 !default;
269
+ $steps-wait-head-border-color: #909ca4 !default;
270
+ $steps-wait-content-color: #909ca4 !default;
271
+
272
+ $steps-finish-head-color: $primary-color !default;
273
+ $steps-finish-head-border-color: $primary-color !default;
274
+ $steps-finish-title-color: $primary-color !default;
275
+ $steps-finish-line-background: $primary-color !default;
276
+ $steps-finish-icon-text-color: $white !default;
277
+
278
+ $steps-process-head-color: $white !default;
279
+ $steps-process-head-border-color: $primary-color !default;
280
+ $steps-process-title-color: $primary-color !default;
281
+ $steps-process-icon-text-color: $primary-color !default;
256
282
 
257
283
  // dialog
258
284
  $dialog-width: 296px;
@@ -374,3 +400,9 @@ $tabs-vertical-tab-line-color: linear-gradient(
374
400
  $tabs-vertical-titles-item-height: 40px !default;
375
401
  $tabs-vertical-titles-item-active-line-height: 14px !default;
376
402
  $tabs-vertical-titles-width: 100px !default;
403
+
404
+ // circleProgress
405
+ $circleprogress-primary-color: $primary-color !default;
406
+ $circleprogress-path-color: #e5e9f2 !default;
407
+ $circleprogress-text-color: #000000 !default;
408
+ $circleprogress-text-size: $font-size-3 !default;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -1,14 +1,17 @@
1
1
  import React, { FunctionComponent } from 'react';
2
2
  export interface AvatarProps {
3
- size: AvatarSize;
3
+ size: string;
4
4
  icon: string;
5
5
  shape: AvatarShape;
6
6
  bgColor: string;
7
+ color: string;
7
8
  prefixCls: string;
8
- src: string;
9
+ url: string;
9
10
  className: string;
11
+ alt: string;
10
12
  style: React.CSSProperties;
13
+ activeAvatar: (e: MouseEvent) => void;
14
+ onError: (e: any) => void;
11
15
  }
12
- export declare type AvatarSize = 'large' | 'normal' | 'small';
13
16
  export declare type AvatarShape = 'round' | 'square';
14
17
  export declare const Avatar: FunctionComponent<Partial<AvatarProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const AvatarContext: import("react").Context<{}>;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,14 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ export interface AvatarGroupProps {
3
+ maxContent: string;
4
+ maxCount: string | number;
5
+ maxBgColor: string;
6
+ maxColor: string;
7
+ size: string;
8
+ shape: string;
9
+ span: string;
10
+ zIndex: string;
11
+ className: string;
12
+ style: React.CSSProperties;
13
+ }
14
+ export declare const AvatarGroup: FunctionComponent<Partial<AvatarGroupProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { AvatarGroup } from './avatargroup';
2
+ export default AvatarGroup;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
1
+ import React, { FunctionComponent } from 'react';
2
2
  export interface ButtonProps {
3
3
  className: string;
4
4
  color: string;
@@ -6,7 +6,7 @@ export interface ButtonProps {
6
6
  plain: boolean;
7
7
  loading: boolean;
8
8
  disabled: boolean;
9
- style: object;
9
+ style: React.CSSProperties;
10
10
  type: ButtonType;
11
11
  size: ButtonSize;
12
12
  block: boolean;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -1,9 +1,15 @@
1
1
  import React, { FunctionComponent } from 'react';
2
+ export interface IColor {
3
+ [key: string]: string;
4
+ }
2
5
  export interface CircleProgressProps {
3
- strokeInnerWidth: string | number;
4
6
  progress: string | number;
5
- isAuto: boolean;
6
- progressOption: object;
7
- className: string;
7
+ strokeWidth?: string | number;
8
+ radius?: number | string;
9
+ strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
10
+ circleColor?: object | string;
11
+ pathColor?: string;
12
+ clockwise?: boolean;
13
+ className?: string;
8
14
  }
9
- export declare const CircleProgress: FunctionComponent<Partial<CircleProgressProps> & React.HTMLAttributes<HTMLDivElement>>;
15
+ export declare const CircleProgress: FunctionComponent<CircleProgressProps & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -1,8 +1,8 @@
1
1
  import React, { FunctionComponent } from 'react';
2
2
  declare type avatarShape = 'round' | 'square';
3
3
  export interface SkeletonProps {
4
- width: number;
5
- height: number;
4
+ width: string;
5
+ height: string;
6
6
  animated: boolean;
7
7
  row: number;
8
8
  title: boolean;
@@ -4,6 +4,7 @@ export interface StepProps {
4
4
  content: string;
5
5
  activeIndex: number;
6
6
  icon: string;
7
+ iconColor: string;
7
8
  size: string;
8
9
  className: string;
9
10
  style: React.CSSProperties;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -5,5 +5,6 @@ export interface StepsProps {
5
5
  progressDot: boolean;
6
6
  className: string;
7
7
  style: React.CSSProperties;
8
+ clickStep: (index: number) => void;
8
9
  }
9
10
  export declare const Steps: FunctionComponent<Partial<StepsProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -3,6 +3,7 @@ export interface TabbarItemProps {
3
3
  tabTitle: string;
4
4
  icon: string;
5
5
  href: string;
6
+ to: object | string;
6
7
  num: string | number;
7
8
  active: boolean;
8
9
  activeColor: string;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -1,10 +1,17 @@
1
1
  import React from 'react';
2
2
  import { UploadOptions } from './upload';
3
+ export declare type FileType<T> = {
4
+ [key: string]: T;
5
+ };
6
+ export declare type FileItemStatus = 'ready' | 'uploading' | 'success' | 'error' | 'removed';
3
7
  export interface UploaderProps {
4
8
  url: string;
5
9
  maximum: string | number;
6
10
  maximize: number;
11
+ defaultFileList: FileType<string>[];
12
+ listType: string;
7
13
  uploadIcon: string;
14
+ uploadIconSize: string | number;
8
15
  name: string;
9
16
  accept: string;
10
17
  disabled: boolean;
@@ -45,10 +52,11 @@ export interface UploaderProps {
45
52
  }) => void;
46
53
  beforeUpload?: (file: File[]) => Promise<File[]>;
47
54
  beforeDelete?: (file: FileItem, files: FileItem[]) => boolean;
55
+ fileItemClick?: (file: FileItem) => void;
48
56
  }
49
- export declare type FileItemStatus = 'ready' | 'uploading' | 'success' | 'error' | 'removed';
50
57
  export declare class FileItem {
51
58
  status: FileItemStatus;
59
+ message: string;
52
60
  uid: string;
53
61
  name?: string;
54
62
  url?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react",
3
- "version": "1.1.4-beta.1",
3
+ "version": "1.1.4-beta.2",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",
@@ -50,7 +50,7 @@
50
50
  "build:replace": "npm run replace:scss",
51
51
  "build:es": "npx rollup -c rollup.config.es.js",
52
52
  "build:locales": "vite build --config vite.config.build.locales.ts",
53
- "build": "npm run checked && vite build --config vite.config.build.ts && npm run build:es && npm run build:css && npm run build:loader-style && npm run build:types && npm run build:locales",
53
+ "build": "npm run checked && npm run test && vite build --config vite.config.build.ts && npm run build:es && npm run build:css && npm run build:loader-style && npm run build:types && npm run build:locales",
54
54
  "build:site": "npm run checked && vite build --config vite.config.build.site.ts",
55
55
  "lint": "eslint .",
56
56
  "lint:fix": "eslint --fix .",
@@ -58,6 +58,9 @@
58
58
  "prepare": "husky install",
59
59
  "test": "jest"
60
60
  },
61
+ "engines": {
62
+ "node": "^14.18.0 || >=15.0.0"
63
+ },
61
64
  "lint-staged": {
62
65
  "*.md": "prettier --write",
63
66
  "*.{ts,tsx,js,vue,scss}": "prettier --write"
@@ -66,7 +69,7 @@
66
69
  "@babel/runtime": "^7.16.5",
67
70
  "@bem-react/classname": "^1.5.10",
68
71
  "@react-spring/web": "^9.3.2",
69
- "@use-gesture/react": "^10.2.4",
72
+ "@use-gesture/react": "10.2.9",
70
73
  "classnames": "^2.3.1",
71
74
  "react-router-dom": "^5.2.0",
72
75
  "react-transition-group": "^4.4.2"
@@ -1,376 +0,0 @@
1
- // color
2
-
3
- // 主色调
4
- $primary-color: #fa2c19 !default;
5
- $primary-color-end: #fa6419 !default;
6
- // 辅助色
7
- $help-color: #f5f5f5 !default;
8
- // 标题常规文字
9
- $title-color: #1a1a1a !default;
10
- // 副标题
11
- $title-color2: #666666 !default;
12
- // 次内容
13
- $text-color: #808080 !default;
14
- // 特殊禁用色
15
- $disable-color: #cccccc !default;
16
- $white: #fff;
17
- $black: #000;
18
-
19
- // padding
20
- $padding-xs: 12px;
21
-
22
- $font-family: PingFang SC, Microsoft YaHei, Helvetica, Hiragino Sans GB, SimSun, sans-serif !default;
23
-
24
- // ---- Animation ----
25
- $animation-duration: 0.25s !default;
26
- $animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
27
-
28
- // Font
29
- $font-size-0: 10px;
30
- $font-size-1: 12px;
31
- $font-size-2: 14px;
32
- $font-size-3: 16px;
33
- $font-size-4: 18px;
34
- $font-weight-bold: 400;
35
-
36
- $font-size-small: $font-size-1;
37
- $font-size-base: $font-size-2;
38
- $font-size-large: $font-size-3;
39
- $line-height-base: 1.5 !default;
40
- // button
41
- $button-border-radius: 25px;
42
- $button-border-width: 1px;
43
- $button-default-bg-color: $white;
44
- $button-default-border-color: rgba(204, 204, 204, 1);
45
- $button-default-color: rgba(102, 102, 102, 1);
46
- $button-small-height: 28px;
47
- $button-default-height: 38px;
48
- $button-large-height: 48px;
49
- $button-large-line-height: 46px;
50
- $button-small-line-height: 26px;
51
- $button-block-height: 48px;
52
- $button-default-line-height: 36px;
53
- $button-block-line-height: 46px;
54
- $button-default-font-size: $font-size-2;
55
- $button-disabled-opacity: 0.68;
56
- $button-primary-color: $white;
57
- $button-primary-border-color: $primary-color;
58
- $button-primary-background-color: linear-gradient(
59
- 135deg,
60
- $primary-color 0%,
61
- $primary-color-end 100%
62
- );
63
- $button-info-color: $white;
64
- $button-info-border-color: rgba(73, 106, 242, 1);
65
- $button-info-background-color: linear-gradient(
66
- 315deg,
67
- rgba(73, 143, 242, 1) 0%,
68
- rgba(73, 101, 242, 1) 100%
69
- );
70
- $button-success-color: $white;
71
- $button-success-border-color: rgba(38, 191, 38, 1);
72
- $button-success-background-color: linear-gradient(
73
- 135deg,
74
- rgba(38, 191, 38, 1) 0%,
75
- rgba(39, 197, 48, 1) 45%,
76
- rgba(40, 207, 63, 1) 83%,
77
- rgba(41, 212, 70, 1) 100%
78
- );
79
-
80
- $button-danger-color: $white;
81
- $button-danger-border-color: rgba(250, 44, 25, 1);
82
- $button-danger-background-color: rgba(250, 44, 25, 1);
83
- $button-warning-color: $white;
84
- $button-warning-border-color: rgba(255, 158, 13, 1);
85
- $button-warning-background-color: linear-gradient(
86
- 135deg,
87
- rgba(255, 158, 13, 1) 0%,
88
- rgba(255, 167, 13, 1) 45%,
89
- rgba(255, 182, 13, 1) 83%,
90
- rgba(255, 190, 13, 1) 100%
91
- );
92
- $button-plain-background-color: #fff;
93
- $button-plain-background-color: $white;
94
-
95
- // cell
96
-
97
- $cell-color: $title-color2;
98
- $cell-title-font: $font-size-2;
99
- $cell-title-desc-font: $font-size-1;
100
- $cell-desc-font: $font-size-2;
101
- $cell-desc-color: $disable-color;
102
- $cell-border-radius: 6px;
103
-
104
- // cell-group
105
-
106
- $cell-group-title-padding: 0 10px;
107
- $cell-group-title-color: #909ca4;
108
- $cell-group-title-font-size: $font-size-2;
109
- $cell-group-title-line-height: 20px;
110
- $cell-group-background-color: $white;
111
-
112
- // icon
113
-
114
- $icon-height: 20px;
115
- $icon-width: 20px;
116
- $icon-line-height: 20px;
117
-
118
- // uploader
119
-
120
- $uploader-width: 100px;
121
- $uploader-height: 100px;
122
- $uploader-background: #f7f8fa;
123
-
124
- //input
125
- $input-border-bottom: #eaf0fb;
126
- $input-disabled-color: #c8c9cc;
127
-
128
- // textarea
129
-
130
- $textarea-font: $font-size-2;
131
- $textarea-height: 100px;
132
- $textarea-limit-color: $text-color;
133
- $textarea-text-color: $title-color;
134
- $textarea-disabled-color: $disable-color;
135
-
136
- // inputnumber
137
-
138
- $inputnumber-icon-color: $title-color;
139
- $inputnumber-icon-void-color: $disable-color;
140
- $inputnumber-input-background-color: $help-color;
141
- $inputnumber-input-border-radius: 4px;
142
- $inputnumber-input-width: 40px;
143
- $inputnumber-icon-size: 20px;
144
-
145
- // actionsheet
146
- $zindex-actionsheet: 10001 !default;
147
- $body-background: #f6f6f6 !default;
148
- $light-color: #f6f6f6 !default;
149
- $font-size-base: $font-size-2;
150
- $font-size-small: $font-size-1;
151
-
152
- //shortpassword
153
- $shortpsd-background-color: rgba(245, 245, 245, 1);
154
- $shortpsd-border-color: #ddd;
155
- $shortpsd-error: rgba(242, 39, 12, 1);
156
- $shortpsd-forget: rgba(128, 128, 128, 1);
157
-
158
- //price
159
- $price-big-size: 24px;
160
-
161
- //avatar
162
- $avatar-square: 5px;
163
- $avatar-large-width: 60px;
164
- $avatar-large-height: 60px;
165
- $avatar-small-width: 32px;
166
- $avatar-small-height: 32px;
167
- $avatar-normal-width: 40px;
168
- $avatar-normal-height: 40px;
169
-
170
- //switch
171
- $switch-close-bg-color: #ebebeb;
172
- $switch-close--cline-bg-color: #f0f0f0;
173
-
174
- //backtop
175
- $backtop-border-color: #e0e0e0;
176
-
177
- // calendar
178
- $calendar-primary-color: $primary-color;
179
- $calendar-choose-color: #fef6f6;
180
- $calendar-base-color: #333333;
181
- $calendar-disable-color: #d1d0d0;
182
- $calendar-title-font: $font-size-4;
183
- $calendar-base-font: $font-size-3;
184
- $calendar-text-font: $font-size-1;
185
- $calendar-day-font: 18px;
186
-
187
- //overlay
188
- $overlay-bg-color: rgba(0, 0, 0, 0.7);
189
-
190
- //popup
191
- $popup-close-icon-margin: 16px;
192
- $popup-border-radius: 20px;
193
-
194
- // Notify
195
- $notify-text-color: $white;
196
- $notify-padding: 12px 0;
197
- $notify-font-size: 14px;
198
- $notify-height: 44px;
199
-
200
- // NoticeBar
201
- $noticeBar-font-size: 14px !default;
202
- $noticeBar-height: 40px !default;
203
- $noticeBar-line-height: 24px !default;
204
- $noticeBar-left-icon-width: 16px !default;
205
- $noticeBar-right-icon-width: 16px !default;
206
-
207
- $notify-base-background-color: linear-gradient(
208
- 135deg,
209
- rgba(250, 44, 25, 1) 0%,
210
- rgba(250, 63, 25, 1) 45%,
211
- rgba(250, 89, 25, 1) 83%,
212
- rgba(250, 100, 25, 1) 100%
213
- );
214
- $notify-primary-background-color: linear-gradient(
215
- 315deg,
216
- rgba(73, 143, 242, 1) 0%,
217
- rgba(73, 101, 242, 1) 100%
218
- );
219
- $notify-success-background-color: linear-gradient(
220
- 135deg,
221
- rgba(38, 191, 38, 1) 0%,
222
- rgba(39, 197, 48, 1) 45%,
223
- rgba(40, 207, 63, 1) 83%,
224
- rgba(41, 212, 70, 1) 100%
225
- );
226
- $notify-danger-background-color: rgba(250, 50, 25, 1);
227
- $notify-warning-background-color: linear-gradient(
228
- 135deg,
229
- rgba(255, 93, 13, 1) 0%,
230
- rgba(255, 154, 13, 1) 100%
231
- );
232
-
233
- // rate
234
-
235
- $rate-icon-color: $primary-color;
236
- $rate-icon-void-color: $disable-color;
237
-
238
- // tabbar
239
-
240
- $tabbar-active-color: $primary-color;
241
- $tabbar-border-color: #eee;
242
-
243
- //infiniteloading
244
- $infinite-bottom-color: #c8c8c8;
245
-
246
- //range
247
- $range-max: #333333;
248
- $rang-bg-color: rgba($primary-color, 0.5);
249
- $rang-bar-bg-color: linear-gradient(135deg, $primary-color 0%, $primary-color-end 100%);
250
-
251
- //address
252
- $address-region-tab-line: linear-gradient(90deg, $primary-color 0%, $primary-color-end 100%);
253
-
254
- //steps
255
- $step-wait-bg-color: #959fb1;
256
-
257
- // dialog
258
- $dialog-width: 296px;
259
-
260
- // checkbox
261
- $checkbox-label-color: #1d1e1e;
262
- $checkbox-label-disable-color: #999;
263
-
264
- //radio
265
- $radio-label-font-color: #1d1e1e !default;
266
- $radio-label-font-active-color: #f0250f !default;
267
- $radio-label-disable-color: #999 !default;
268
- $radio-icon-disable-color: #d6d6d6 !default;
269
-
270
- $radio-label-button-border-color: #f0250f !default;
271
- $radio-label-button-background: rgba(240, 37, 15, 0.05) !default;
272
-
273
- // signature
274
- $signature-border-color: #dadada;
275
-
276
- //fixednav
277
- $fixednav-bg-color: $white;
278
- $fixednav-font-color: $black;
279
- $fixednav-index: 201;
280
- $fixednav-btn-bg: linear-gradient(135deg, rgba(250, 25, 44, 1) 0%, rgba(250, 63, 25, 1) 100%);
281
-
282
- // Tag
283
- $tag-font-size: 12px !default;
284
- $tag-default-background-color: #000000 !default;
285
- $tag-primary-background-color: #3460fa !default;
286
- $tag-success-background-color: #4fc08d !default;
287
- $tag-danger-background-color: linear-gradient(
288
- 135deg,
289
- rgba(242, 20, 12, 1) 0%,
290
- rgba(232, 34, 14, 1) 69.83950099728881%,
291
- rgba(242, 77, 12, 1) 100%
292
- ) !default;
293
- $tag-warning-background-color: #f3812e !default;
294
- $tag-default-color: #ffffff !default;
295
- $tag-border-width: 1px !default;
296
-
297
- $tag-plain-background-color: #fff !default;
298
- $tag-plain-color: rgb(250, 36, 0) !default;
299
-
300
- //badge
301
- $badge-background-color: linear-gradient(
302
- 135deg,
303
- $primary-color 0%,
304
- $primary-color-end 100%
305
- ) !default;
306
- $badge-font-size: $font-size-1 !default;
307
- $badge-default-background-color: rgba(255, 255, 255, 1) !default;
308
-
309
- //popover
310
- $popover-white-background-color: rgba(255, 255, 255, 1) !default;
311
- $popover-dark-background-color: rgba(75, 76, 77, 1) !default;
312
- $popover-border-bottom-color: rgba(229, 229, 229, 1) !default;
313
- $popover-primary-text-color: rgba(51, 51, 51, 1) !default;
314
- $popover-disable-color: rgba(154, 155, 157, 1) !default;
315
-
316
- //pagination
317
- $pagination-color: $primary-color !default;
318
- $pagination-font-size: $font-size-2 !default;
319
- $pagination-item-border-color: #e4e7eb !default;
320
- $pagination-active-background-color: linear-gradient(
321
- 135deg,
322
- rgba(250, 44, 25, 1) 0%,
323
- rgba(250, 63, 25, 1) 44.59259259%,
324
- rgba(250, 89, 25, 1) 83.40740741%,
325
- rgba(250, 100, 25, 1) 100%
326
- ) !default;
327
- $pagination-disable-color: rgba(116, 116, 116, 0.31) !default;
328
- $pagination-disable-background-color: #f7f8fa !default;
329
- $pagination-item-border-width: 1px !default;
330
- $pagination-item-border-radius: 2px !default;
331
- $pagination-prev-next-padding: 0 11px !default;
332
-
333
- // dialog
334
- $dialog-min-height: 156px !default;
335
- $dialog-padding: 28px 24px 16px 24px !default;
336
- $dialog-header-height: 20px !default;
337
- $dialog-header-color: rgba(38, 38, 38, 1) !default;
338
- $dialog-content-margin: 20px 0 !default;
339
- $dialog-content-max-height: 268px !default;
340
- $dialog-content-line-height: 16px !default;
341
- $dialog-mask-z-index: 1050 !default;
342
- $dialog-mask-background-color: rgba($black, 0.7) !default;
343
- $dialog-outer-z-index: 2000 !default;
344
- $dialog-outer-bordder-radius: 20px !default;
345
- $dialog-vertical-footer-ok-margin-top: 10px !default;
346
- $dialog-footer-button-min-width: 100px !default;
347
- $dialog-footer-cancel-margin-right: 20px !default;
348
- $dialog-footer-ok-max-width: 128px !default;
349
- // 在组件中import
350
- //@import './mixins/index';
351
- //@import './animation/index';
352
-
353
- // tabs
354
- $tabs-tab-smile-color: $primary-color !default;
355
- $tabs-titles-border-radius: 0 !default;
356
- $tabs-titles-item-large-font-size: $font-size-3 !default;
357
- $tabs-titles-item-font-size: $font-size-2 !default;
358
- $tabs-titles-item-small-font-size: $font-size-1 !default;
359
- $tabs-titles-item-color: $title-color !default;
360
- $tabs-titles-background-color: $help-color !default;
361
- $tabs-horizontal-tab-line-color: linear-gradient(
362
- 90deg,
363
- $primary-color 0%,
364
- rgba($primary-color, 0.15) 100%
365
- ) !default;
366
- $tabs-horizontal-titles-height: 46px !default;
367
- $tabs-horizontal-titles-item-min-width: 50px !default;
368
- $tabs-horizontal-titles-item-active-line-width: 40px !default;
369
- $tabs-vertical-tab-line-color: linear-gradient(
370
- 180deg,
371
- $primary-color 0%,
372
- rgba($primary-color, 0.15) 100%
373
- ) !default;
374
- $tabs-vertical-titles-item-height: 40px !default;
375
- $tabs-vertical-titles-item-active-line-height: 14px !default;
376
- $tabs-vertical-titles-width: 100px !default;