@trionesdev/antd-mobile-base-react 0.0.2-beta.17 → 0.0.2-beta.19

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 (68) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +23 -23
  3. package/dist/Alert/alert.js +1 -1
  4. package/dist/Alert/style.scss +69 -69
  5. package/dist/Avatar/style.scss +17 -17
  6. package/dist/Badge/style.scss +100 -100
  7. package/dist/Card/style.scss +35 -35
  8. package/dist/CascaderView/cascader-column-item.js +1 -1
  9. package/dist/CascaderView/style.scss +22 -22
  10. package/dist/Cell/styles.scss +81 -81
  11. package/dist/Checkbox/checkbox-button.js +1 -1
  12. package/dist/Checkbox/checkbox-round.js +1 -1
  13. package/dist/Checkbox/index.scss +165 -165
  14. package/dist/DemoBlock/index.scss +20 -20
  15. package/dist/DemoDescription/index.scss +3 -3
  16. package/dist/Descriptions/style.scss +65 -65
  17. package/dist/Divider/style.scss +62 -62
  18. package/dist/Ellipsis/style.scss +13 -13
  19. package/dist/Empty/style.scss +29 -29
  20. package/dist/ErrorBlock/demo/base.js +2 -2
  21. package/dist/ErrorBlock/style.scss +62 -62
  22. package/dist/Footer/style.scss +55 -55
  23. package/dist/Form/styles.scss +11 -11
  24. package/dist/FormCell/styles.scss +103 -103
  25. package/dist/Grid/style.scss +17 -17
  26. package/dist/Icon/demo/base.js +2 -2
  27. package/dist/InputNumber/style.scss +100 -100
  28. package/dist/Loading/DotLoading.d.ts +0 -1
  29. package/dist/Loading/DotLoading.js +0 -1
  30. package/dist/Loading/SpinLoading.d.ts +0 -1
  31. package/dist/Loading/SpinLoading.js +0 -1
  32. package/dist/Loading/index.d.ts +1 -0
  33. package/dist/Loading/index.js +1 -0
  34. package/dist/Loading/{dot-loading.scss → style.scss} +113 -72
  35. package/dist/NavBar/nav-bar.js +1 -1
  36. package/dist/NavBar/style.scss +65 -64
  37. package/dist/NoticeBar/style.scss +130 -130
  38. package/dist/PageIndicator/style.scss +59 -59
  39. package/dist/Progress/style.scss +33 -33
  40. package/dist/Radio/radio.js +1 -1
  41. package/dist/Radio/style.scss +154 -154
  42. package/dist/Rate/rate.js +1 -1
  43. package/dist/Rate/style.scss +37 -37
  44. package/dist/Result/demo/base.js +2 -2
  45. package/dist/Result/style.scss +73 -73
  46. package/dist/Result/use-result-icon.js +1 -1
  47. package/dist/SafeArea/style.scss +20 -20
  48. package/dist/Scaffold/style.scss +17 -17
  49. package/dist/Segmented/style.scss +75 -75
  50. package/dist/Skeleton/style.scss +215 -215
  51. package/dist/Space/style.scss +101 -101
  52. package/dist/Stepper/style.scss +100 -100
  53. package/dist/Steps/style.scss +153 -153
  54. package/dist/Switch/style.scss +127 -127
  55. package/dist/TabBar/demo/base.js +2 -2
  56. package/dist/TabBar/index.scss +37 -37
  57. package/dist/Tabs/style.scss +108 -108
  58. package/dist/Tag/style.scss +110 -110
  59. package/dist/WaterMark/style.scss +17 -17
  60. package/dist/style/css-variable.scss +6 -6
  61. package/dist/style/style.scss +52 -52
  62. package/dist/style/theme-dark.scss +24 -24
  63. package/dist/style/theme-default.scss +54 -54
  64. package/dist/style/variable.scss +180 -180
  65. package/dist/utils/type.js +36 -36
  66. package/dist/utils/with-default-props.js +4 -4
  67. package/package.json +3 -3
  68. package/dist/Loading/spin-loading.scss +0 -39
@@ -1,54 +1,54 @@
1
- :root {
2
- // Currently internal variables:
3
- --triones-antm-radius-s: 4Px;
4
- --triones-antm-radius-m: 8Px;
5
- --triones-antm-radius-l: 12Px;
6
-
7
- --triones-antm-font-size-1: 9Px;
8
- --triones-antm-font-size-2: 10Px;
9
- --triones-antm-font-size-3: 11Px;
10
- --triones-antm-font-size-4: 12Px;
11
- --triones-antm-font-size-5: 13Px;
12
- --triones-antm-font-size-6: 14Px;
13
- --triones-antm-font-size-7: 15Px;
14
- --triones-antm-font-size-8: 16Px;
15
- --triones-antm-font-size-9: 17Px;
16
- --triones-antm-font-size-10: 18Px;
17
-
18
- // variables should be exposed to users:
19
- --triones-antm-color-primary: #1677ff;
20
- --triones-antm-color-success: #00b578;
21
- --triones-antm-color-warning: #ff8f1f;
22
- --triones-antm-color-danger: #ff3141;
23
-
24
- --triones-antm-color-yellow: #ff9f18;
25
- --triones-antm-color-orange: #ff6430;
26
- --triones-antm-color-wathet: #e7f1ff;
27
-
28
- --triones-antm-color-text: #333333;
29
- --triones-antm-color-text-secondary: #666666;
30
- --triones-antm-color-weak: #999999;
31
- --triones-antm-color-light: #cccccc;
32
- --triones-antm-color-border: #eeeeee;
33
- --triones-antm-color-background: #ffffff;
34
-
35
- --triones-antm-color-highlight: var(--triones-antm-color-danger);
36
-
37
- // Deprecated. We use `--triones-antm-color-text-light-solid` in code
38
- // but keep here for compatible
39
- --triones-antm-color-white: #ffffff;
40
- --triones-antm-color-box: #f5f5f5;
41
-
42
- --triones-antm-color-text-light-solid: var(--triones-antm-color-white);
43
- --triones-antm-color-text-dark-solid: #000000;
44
- --triones-antm-color-fill-content: var(--triones-antm-color-box);
45
-
46
- --triones-antm-font-size-main: var(--triones-antm-font-size-5);
47
-
48
- --triones-antm-font-family: -apple-system, blinkmacsystemfont,
49
- 'Helvetica Neue', helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
50
- 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
51
-
52
- // The variables below are deprecated and only exist for backward compatibility:
53
- --triones-antm-border-color: var(--triones-antm-color-border);
54
- }
1
+ :root {
2
+ // Currently internal variables:
3
+ --triones-antm-radius-s: 4Px;
4
+ --triones-antm-radius-m: 8Px;
5
+ --triones-antm-radius-l: 12Px;
6
+
7
+ --triones-antm-font-size-1: 9Px;
8
+ --triones-antm-font-size-2: 10Px;
9
+ --triones-antm-font-size-3: 11Px;
10
+ --triones-antm-font-size-4: 12Px;
11
+ --triones-antm-font-size-5: 13Px;
12
+ --triones-antm-font-size-6: 14Px;
13
+ --triones-antm-font-size-7: 15Px;
14
+ --triones-antm-font-size-8: 16Px;
15
+ --triones-antm-font-size-9: 17Px;
16
+ --triones-antm-font-size-10: 18Px;
17
+
18
+ // variables should be exposed to users:
19
+ --triones-antm-color-primary: #1677ff;
20
+ --triones-antm-color-success: #00b578;
21
+ --triones-antm-color-warning: #ff8f1f;
22
+ --triones-antm-color-danger: #ff3141;
23
+
24
+ --triones-antm-color-yellow: #ff9f18;
25
+ --triones-antm-color-orange: #ff6430;
26
+ --triones-antm-color-wathet: #e7f1ff;
27
+
28
+ --triones-antm-color-text: #333333;
29
+ --triones-antm-color-text-secondary: #666666;
30
+ --triones-antm-color-weak: #999999;
31
+ --triones-antm-color-light: #cccccc;
32
+ --triones-antm-color-border: #eeeeee;
33
+ --triones-antm-color-background: #ffffff;
34
+
35
+ --triones-antm-color-highlight: var(--triones-antm-color-danger);
36
+
37
+ // Deprecated. We use `--triones-antm-color-text-light-solid` in code
38
+ // but keep here for compatible
39
+ --triones-antm-color-white: #ffffff;
40
+ --triones-antm-color-box: #f5f5f5;
41
+
42
+ --triones-antm-color-text-light-solid: var(--triones-antm-color-white);
43
+ --triones-antm-color-text-dark-solid: #000000;
44
+ --triones-antm-color-fill-content: var(--triones-antm-color-box);
45
+
46
+ --triones-antm-font-size-main: var(--triones-antm-font-size-5);
47
+
48
+ --triones-antm-font-family: -apple-system, blinkmacsystemfont,
49
+ 'Helvetica Neue', helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
50
+ 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
51
+
52
+ // The variables below are deprecated and only exist for backward compatibility:
53
+ --triones-antm-border-color: var(--triones-antm-color-border);
54
+ }
@@ -1,180 +1,180 @@
1
- @use "./css-variable";
2
-
3
- $trionesBlue: var(--triones-blue,#1677FF) !default;
4
- $trionesPurple: var(--triones-purple,#722ED1) !default;
5
-
6
- $trionesColorBgContainerDisabled: var(--triones-color-bg-container-disabled,rgba(0, 0, 0, 0.04)) !default;
7
- $trionesColorBorderBg: var(--triones-color-border-bg,#ffffff) !default;
8
- $trionesColorBorderSplit: var(--triones-color-border-split,rgba(5, 5, 5, 0.06)) !default;
9
-
10
-
11
- //region color text
12
- $trionesColorText: var(--triones-color-text,#333333) !default;
13
- $trionesColorTextBase: var(--triones-color-text-base,#000) !default;
14
- $trionesColorTextSecondary: var(--triones-color-text-secondary,rgba(0, 0, 0, 0.65)) !default;
15
- $trionesColorTextTertiary: var(--triones-color-text-tertiary,rgba(0, 0, 0, 0.45)) !default;
16
- $trionesColorTextQuaternary: var(--triones-color-text-quaternary,rgba(0, 0, 0, 0.25)) !default;
17
- $trionesColorTextPlaceholder: var(--triones-color-text-placeholder,rgba(0, 0, 0, 0.25)) !default;
18
- $trionesColorTextDisabled: var(--triones-color-text-disabled,rgba(0, 0, 0, 0.25)) !default;
19
- $trionesColorTextHeading: var(--triones-color-text-heading,rgba(0, 0, 0, 0.88)) !default;
20
- $trionesColorTextLabel: var(--triones-color-text-label,rgba(0, 0, 0, 0.65)) !default;
21
- $trionesColorTextDescription: var(--triones-color-text-description,rgba(0, 0, 0, 0.45)) !default;
22
- $trionesColorTextLightSolid: var(--triones-color-text-light-solid,#fff) !default;
23
- //endregion
24
-
25
-
26
- $trionesColorHighlight: var(--triones-color-highlight,#ff4d4f) !default;
27
- $trionesColorBgTextHover: var(--triones-color-bg-text-hover,rgba(0, 0, 0, 0.06)) !default;
28
- $trionesColorBgTextActive: var(--triones-color-bg-text-active,rgba(0, 0, 0, 0.15)) !default;
29
-
30
-
31
- $trionesColorFill: var(--triones-color-fill,rgba(0, 0, 0, 0.15)) !default;
32
- $trionesColorFillSecondary: var(--triones-color-fill-secondary,rgba(0, 0, 0, 0.06)) !default;
33
- $trionesColorFillTertiary: var(--triones-color-fill-tertiary,rgba(0, 0, 0, 0.04)) !default;
34
- $trionesColorFillQuaternary: var(--triones-color-fill-quaternary,rgba(0, 0, 0, 0.02)) !default;
35
- $trionesColorFillContent: var(--triones-color-fill-content,rgba(0, 0, 0, 0.06)) !default;
36
- $trionesColorFillContentHover: var(--triones-color-fill-content-hover,rgba(0, 0, 0, 0.15)) !default;
37
- $trionesColorFillContentAlter: var(--triones-color-fill-content-alter,rgba(0, 0, 0, 0.02)) !default;
38
-
39
-
40
- $trionesColorPrimary: var(--trioens-color-primary,#1677FF) !default;
41
- $trionesColorPrimaryBg: var(--triones-color-primary-bg,#e6f4ff) !default;
42
- $trionesColorPrimaryBgHover: var(--triones-color-primary-bg-hover,#bae0ff) !default;
43
- $trionesColorPrimaryBorder: var(--triones-color-primary-border,#91caff) !default;
44
- $trionesColorPrimaryBorderHover: var(--triones-color-primary-border-hover,#69b1ff) !default;
45
- $trionesColorPrimaryActive: var(--triones-color-primary-active,#0958d9) !default;
46
- $trionesColorPrimaryTextHover: var(--triones-color-primary-text-hover,#4096ff) !default;
47
- $trionesColorPrimaryText: var(--triones-color-primary-text,#1677ff) !default;
48
- $trionesColorPrimaryActive: var(--triones-color-primary-active,#0958d9) !default;
49
-
50
- $trionesColorSuccess: var(--triones-color-success,#00b578) !default;
51
- $trionesColorSuccessBg: var(--triones-color-success-bg,#f6ffed) !default;
52
- $trionesColorSuccessBgHover: var(--triones-color-success-bg-hover,#d9f7be) !default;
53
- $trionesColorSuccessBorder: var(--triones-color-success-border,#b7eb8f) !default;
54
- $trionesColorSuccessBorderHover: var(--triones-color-success-border-hover,#95de64) !default;
55
- $trionesColorSuccessHover: var(--triones-color-success-hover,#95de64) !default;
56
- $trionesColorSuccessActive: var(--triones-color-success-active,#389e0d) !default;
57
- $trionesColorSuccessText: var(--triones-color-success-text,#52c41a) !default;
58
- $trionesColorSuccessTextActive: var(--triones-color-success-text-active,#389e0d) !default;
59
-
60
-
61
- $trionesColorError: var(--triones-color-error,#ff4d4f) !default;
62
- $trionesColorErrorBg: var(--triones-color-error-bg,#fff2f0) !default;
63
- $trionesColorErrorBgHover: var(--triones-color-error-bg-hover,#fff1f0) !default;
64
- $trionesColorErrorBgFilledHover: var(--triones-color-error-bg-filled-hover,#ffdfdc) !default;
65
- $trionesColorErrorBgActive: var(--triones-color-error-bg-active,#ffccc7) !default;
66
- $trionesColorErrorBorder: var(--triones-color-error-border,#ffccc7) !default;
67
- $trionesColorErrorBorderHover: var(--triones-color-error-border-hover,#ffa39e) !default;
68
- $trionesColorErrorHover: var(--triones-color-error-hover,#ff7875) !default;
69
- $trionesColorErrorActive: var(--triones-color-error-active,#d9363e) !default;
70
- $trionesColorErrorTextHover: var(--triones-color-error-text-hover,#ff7875) !default;
71
- $trionesColorErrorText: var(--triones-color-error-text,#ff4d4f) !default;
72
- $trionesColorErrorTextActive: var(--triones-color-error-text-active,#d9363e) !default;
73
-
74
-
75
- $trionesColorWarning: var(--triones-color-warning,#ff8f1f) !default;
76
- $trionesColorWarningBg: var(--triones-color-warning-bg,#fffbe6) !default;
77
- $trionesColorWarningBgHover: var(--triones-color-warning-bg-hover,#fff1b8) !default;
78
- $trionesColorWarningBgActive: var(--triones-color-warning-bg-active,#d48806) !default;
79
- $trionesColorWarningBorder: var(--triones-color-warning-border,#ffe58f) !default;
80
- $trionesColorWarningBorderHover: var(--triones-color-warning-border-hover,#ffd666) !default;
81
- $trionesColorWarningHover: var(--triones-color-warning-hover,#ffd666) !default;
82
- $trionesColorWarningActive: var(--triones-color-warning-active,#d48806) !default;
83
- $trionesColorWarningTextHover: var(--triones-color-warning-text-hover,#ffc53d) !default;
84
- $trionesColorWarningText: var(--triones-color-warning-text,#faad14) !default;
85
- $trionesColorWarningTextActive: var(--triones-color-warning-text-active,#d48806) !default;
86
-
87
- $trionesColorInfo: var(--triones-color-info,#1677ff) !default;
88
- $trionesColorInfoBg: var(--triones-color-info-bg,#e6f4ff) !default;
89
- $trionesColorInfoBgHover: var(--triones-color-info-bg-hover,#bae0ff) !default;
90
- $trionesColorInfoBgActive: var(--triones-color-info-bg-active,#bae0ff) !default;
91
- $trionesColorInfoBorder: var(--triones-color-info-border,#91caff) !default;
92
- $trionesColorInfoBorderHover: var(--triones-color-info-border-hover,#69b1ff) !default;
93
- $trionesColorInfoHover: var(--triones-color-info-hover,#69b1ff) !default;
94
- $trionesColorInfoActive: var(--triones-color-info-active,#0958d9) !default;
95
- $trionesColorInfoTextHover: var(--triones-color-info-text-hover,#4096ff) !default;
96
- $trionesColorInfoText: var(--triones-color-info-text,#1677ff) !default;
97
- $trionesColorInfoTextActive: var(--triones-color-info-text-active,#0958d9) !default;
98
-
99
-
100
- $trionesColorLink: var(--triones-color-link,#1677ff) !default;
101
- $trionesColorLinkHover: var(--triones-color-link-hover,#69b1ff) !default;
102
- $trionesColorLinkActive: var(--triones-color-link-active,#0958d9) !default;
103
-
104
- $trionesColorDanger: var(--triones-color-danger,#ff4d4f) !default;
105
-
106
-
107
-
108
- $trionesColorBgBase: var(--triones-color-bg-base,#fff) !default;
109
- $trionesColorBgScaffold: var(--triones-color-bg-scaffold,#F6F7FA) !default;
110
-
111
- $trionesBorderRadius: var(--triones-border-radius,6Px) !default;
112
- $trionesBorderRadiusXs: var(--triones-border-radius-xs,2Px) !default;
113
- $trionesBorderRadiusSm: var(--triones-border-radius-sm,4Px) !default;
114
- $trionesBorderRadiusLg: var(--triones-border-radius-lg,8Px) !default;
115
- $trionesBorderRadiusOuter: var(--triones-border-radius-outer,4Px) !default;
116
- $trionesBorderColor: var(--triones-border-color,#d9d9d9) !default;
117
- $trionesBorderColorSecondary: var(--triones-border-color-secondary,#f0f0f0) !default;
118
-
119
-
120
- $trionesColorBgMask: var(--triones-color-bg-mask,rgba(0, 0, 0, 0.45)) !default;
121
-
122
- $trionesLineHeight: var(--triones-line-height,1.5714285714285714) !default;
123
- $trionesLineHeightLg: var(--triones-line-height-lg,1.5) !default;
124
- $trionesLineHeightSm: var(--triones-line-height-sm,1.6666666666666667) !default;
125
-
126
- $trionesPaddingXxs: var(--triones-padding-xxs,4Px) !default;
127
- $trionesPaddingXs: var(--triones-padding-xs,8Px) !default;
128
- $trionesPaddingSm: var(--triones-padding-sm,12Px) !default;
129
- $trionesPadding: var(--triones-padding,16Px) !default;
130
- $trionesPaddingMd: var(--triones-padding-md,20Px) !default;
131
- $trionesPaddingLg: var(--triones-padding-lg,24Px) !default;
132
- $trionesPaddingXl: var(--triones-padding-xl,32Px) !default;
133
- $trionesPaddingContentHorizontalLg: var(--triones-padding-content-horizontal-lg,24Px) !default;
134
- $trionesPaddingContentVerticalLg: var(--triones-padding-content-vertical-lg,16Px) !default;
135
- $trionesPaddingContentHorizontal: var(--triones-padding-content-horizontal,16Px) !default;
136
- $trionesPaddingContentVertical: var(--triones-padding-content-vertical,12Px) !default;
137
- $trionesPaddingContentHorizontalSm: var(--triones-padding-content-horizontal-sm,16Px) !default;
138
- $trionesPaddingContentVerticalSm: var(--triones-padding-content-vertical-sm,8Px) !default;
139
-
140
-
141
- $trionesInputPaddingBlock: var(--triones-input-padding-block,4Px) !default;
142
- $trionesInputPaddingBlockSm: var(--triones-input-padding-block-sm,0Px) !default;
143
- $trionesInputPaddingBlockLg: var(--triones-input-padding-block-lg,7Px) !default;
144
- $trionesInputPaddingInline: var(--triones-input-padding-inline,11Px) !default;
145
- $trionesInputPaddingInlineSm: var(--triones-input-padding-inline-sm,7Px) !default;
146
- $trionesInputPaddingInlineLg: var(--triones-input-padding-inline-lg,11Px) !default;
147
- $trionesInputAddonBg: var(--triones-input-addon-bg,rgba(0, 0, 0, 0.02)) !default;
148
- $trionesInputActiveBorderColor: var(--triones-input-active-border-color,#1677ff) !default;
149
- $trionesInputHoverBorderColor: var(--triones-input-hover-border-color,#4096ff) !default;
150
- $trionesInputActiveShadow: var(--triones-input-active-shadow,0 0 0 2px rgba(5, 145, 255, 0.1)) !default;
151
- $trionesInputErrorActiveShadow: var(--triones-input-error-active-shadow,0 0 0 2px rgba(255, 38, 5, 0.06)) !default;
152
- $trionesInputWarringActiveShadow: var(--triones-input-warring-active-shadow,0 0 0 2px rgba(255, 215, 5, 0.1)) !default;
153
- $trionesInputHoverBg: var(--triones-input-hover-bg,#ffffff) !default;
154
- $trionesInputActiveBg: var(--triones-input-active-bg,#ffffff) !default;
155
- $trionesInputInputFontSize: var(--triones-input-input-font-size,14Px) !default;
156
- $trionesInputInputFontSizeLg: var(--triones-input-input-font-size-lg,16Px) !default;
157
- $trionesInputInputFontSizeSm: var(--triones-input-input-font-size-sm,14Px) !default;
158
-
159
-
160
- $trionesFontSizeSm: var(--triones-font-size-sm,12Px) !default;
161
- $trionesFontSize: var(--triones-font-size,14Px) !default;
162
- $trionesFontSizeLg: var(--triones-font-size-lg,16Px) !default;
163
- $trionesFontSizeXl: var(--triones-font-size-xl,20Px) !default;
164
-
165
- $trionesColorIcon: var(--triones-color-icon,rgba(0, 0, 0, 0.45)) !default;
166
- $trionesColorIconHover: var(--triones-color-icon-hover,rgba(0, 0, 0, 0.88)) !default;
167
-
168
- $trionesFontSizeIcon: var(--triones-font-size-icon,12Px) !default;
169
-
170
- $trionesControlHeightXs: var(--control-height-xs,16Px) !default;
171
- $trionesControlHeightSm: var(--control-height-sm,22Px) !default;
172
- $trionesControlHeight: var(--control-height,32Px) !default;
173
- $trionesControlHeightLg: var(--control-height-lg,40Px) !default;
174
-
175
-
176
-
177
- /**
178
- * @description 安全区倍数
179
- */
180
- $trionesSafeAreaMultiple:var(--triones-safe-area-multiple,1)!default;
1
+ @use "./css-variable";
2
+
3
+ $trionesBlue: var(--triones-blue,#1677FF) !default;
4
+ $trionesPurple: var(--triones-purple,#722ED1) !default;
5
+
6
+ $trionesColorBgContainerDisabled: var(--triones-color-bg-container-disabled,rgba(0, 0, 0, 0.04)) !default;
7
+ $trionesColorBorderBg: var(--triones-color-border-bg,#ffffff) !default;
8
+ $trionesColorBorderSplit: var(--triones-color-border-split,rgba(5, 5, 5, 0.06)) !default;
9
+
10
+
11
+ //region color text
12
+ $trionesColorText: var(--triones-color-text,#333333) !default;
13
+ $trionesColorTextBase: var(--triones-color-text-base,#000) !default;
14
+ $trionesColorTextSecondary: var(--triones-color-text-secondary,rgba(0, 0, 0, 0.65)) !default;
15
+ $trionesColorTextTertiary: var(--triones-color-text-tertiary,rgba(0, 0, 0, 0.45)) !default;
16
+ $trionesColorTextQuaternary: var(--triones-color-text-quaternary,rgba(0, 0, 0, 0.25)) !default;
17
+ $trionesColorTextPlaceholder: var(--triones-color-text-placeholder,rgba(0, 0, 0, 0.25)) !default;
18
+ $trionesColorTextDisabled: var(--triones-color-text-disabled,rgba(0, 0, 0, 0.25)) !default;
19
+ $trionesColorTextHeading: var(--triones-color-text-heading,rgba(0, 0, 0, 0.88)) !default;
20
+ $trionesColorTextLabel: var(--triones-color-text-label,rgba(0, 0, 0, 0.65)) !default;
21
+ $trionesColorTextDescription: var(--triones-color-text-description,rgba(0, 0, 0, 0.45)) !default;
22
+ $trionesColorTextLightSolid: var(--triones-color-text-light-solid,#fff) !default;
23
+ //endregion
24
+
25
+
26
+ $trionesColorHighlight: var(--triones-color-highlight,#ff4d4f) !default;
27
+ $trionesColorBgTextHover: var(--triones-color-bg-text-hover,rgba(0, 0, 0, 0.06)) !default;
28
+ $trionesColorBgTextActive: var(--triones-color-bg-text-active,rgba(0, 0, 0, 0.15)) !default;
29
+
30
+
31
+ $trionesColorFill: var(--triones-color-fill,rgba(0, 0, 0, 0.15)) !default;
32
+ $trionesColorFillSecondary: var(--triones-color-fill-secondary,rgba(0, 0, 0, 0.06)) !default;
33
+ $trionesColorFillTertiary: var(--triones-color-fill-tertiary,rgba(0, 0, 0, 0.04)) !default;
34
+ $trionesColorFillQuaternary: var(--triones-color-fill-quaternary,rgba(0, 0, 0, 0.02)) !default;
35
+ $trionesColorFillContent: var(--triones-color-fill-content,rgba(0, 0, 0, 0.06)) !default;
36
+ $trionesColorFillContentHover: var(--triones-color-fill-content-hover,rgba(0, 0, 0, 0.15)) !default;
37
+ $trionesColorFillContentAlter: var(--triones-color-fill-content-alter,rgba(0, 0, 0, 0.02)) !default;
38
+
39
+
40
+ $trionesColorPrimary: var(--trioens-color-primary,#1677FF) !default;
41
+ $trionesColorPrimaryBg: var(--triones-color-primary-bg,#e6f4ff) !default;
42
+ $trionesColorPrimaryBgHover: var(--triones-color-primary-bg-hover,#bae0ff) !default;
43
+ $trionesColorPrimaryBorder: var(--triones-color-primary-border,#91caff) !default;
44
+ $trionesColorPrimaryBorderHover: var(--triones-color-primary-border-hover,#69b1ff) !default;
45
+ $trionesColorPrimaryActive: var(--triones-color-primary-active,#0958d9) !default;
46
+ $trionesColorPrimaryTextHover: var(--triones-color-primary-text-hover,#4096ff) !default;
47
+ $trionesColorPrimaryText: var(--triones-color-primary-text,#1677ff) !default;
48
+ $trionesColorPrimaryActive: var(--triones-color-primary-active,#0958d9) !default;
49
+
50
+ $trionesColorSuccess: var(--triones-color-success,#00b578) !default;
51
+ $trionesColorSuccessBg: var(--triones-color-success-bg,#f6ffed) !default;
52
+ $trionesColorSuccessBgHover: var(--triones-color-success-bg-hover,#d9f7be) !default;
53
+ $trionesColorSuccessBorder: var(--triones-color-success-border,#b7eb8f) !default;
54
+ $trionesColorSuccessBorderHover: var(--triones-color-success-border-hover,#95de64) !default;
55
+ $trionesColorSuccessHover: var(--triones-color-success-hover,#95de64) !default;
56
+ $trionesColorSuccessActive: var(--triones-color-success-active,#389e0d) !default;
57
+ $trionesColorSuccessText: var(--triones-color-success-text,#52c41a) !default;
58
+ $trionesColorSuccessTextActive: var(--triones-color-success-text-active,#389e0d) !default;
59
+
60
+
61
+ $trionesColorError: var(--triones-color-error,#ff4d4f) !default;
62
+ $trionesColorErrorBg: var(--triones-color-error-bg,#fff2f0) !default;
63
+ $trionesColorErrorBgHover: var(--triones-color-error-bg-hover,#fff1f0) !default;
64
+ $trionesColorErrorBgFilledHover: var(--triones-color-error-bg-filled-hover,#ffdfdc) !default;
65
+ $trionesColorErrorBgActive: var(--triones-color-error-bg-active,#ffccc7) !default;
66
+ $trionesColorErrorBorder: var(--triones-color-error-border,#ffccc7) !default;
67
+ $trionesColorErrorBorderHover: var(--triones-color-error-border-hover,#ffa39e) !default;
68
+ $trionesColorErrorHover: var(--triones-color-error-hover,#ff7875) !default;
69
+ $trionesColorErrorActive: var(--triones-color-error-active,#d9363e) !default;
70
+ $trionesColorErrorTextHover: var(--triones-color-error-text-hover,#ff7875) !default;
71
+ $trionesColorErrorText: var(--triones-color-error-text,#ff4d4f) !default;
72
+ $trionesColorErrorTextActive: var(--triones-color-error-text-active,#d9363e) !default;
73
+
74
+
75
+ $trionesColorWarning: var(--triones-color-warning,#ff8f1f) !default;
76
+ $trionesColorWarningBg: var(--triones-color-warning-bg,#fffbe6) !default;
77
+ $trionesColorWarningBgHover: var(--triones-color-warning-bg-hover,#fff1b8) !default;
78
+ $trionesColorWarningBgActive: var(--triones-color-warning-bg-active,#d48806) !default;
79
+ $trionesColorWarningBorder: var(--triones-color-warning-border,#ffe58f) !default;
80
+ $trionesColorWarningBorderHover: var(--triones-color-warning-border-hover,#ffd666) !default;
81
+ $trionesColorWarningHover: var(--triones-color-warning-hover,#ffd666) !default;
82
+ $trionesColorWarningActive: var(--triones-color-warning-active,#d48806) !default;
83
+ $trionesColorWarningTextHover: var(--triones-color-warning-text-hover,#ffc53d) !default;
84
+ $trionesColorWarningText: var(--triones-color-warning-text,#faad14) !default;
85
+ $trionesColorWarningTextActive: var(--triones-color-warning-text-active,#d48806) !default;
86
+
87
+ $trionesColorInfo: var(--triones-color-info,#1677ff) !default;
88
+ $trionesColorInfoBg: var(--triones-color-info-bg,#e6f4ff) !default;
89
+ $trionesColorInfoBgHover: var(--triones-color-info-bg-hover,#bae0ff) !default;
90
+ $trionesColorInfoBgActive: var(--triones-color-info-bg-active,#bae0ff) !default;
91
+ $trionesColorInfoBorder: var(--triones-color-info-border,#91caff) !default;
92
+ $trionesColorInfoBorderHover: var(--triones-color-info-border-hover,#69b1ff) !default;
93
+ $trionesColorInfoHover: var(--triones-color-info-hover,#69b1ff) !default;
94
+ $trionesColorInfoActive: var(--triones-color-info-active,#0958d9) !default;
95
+ $trionesColorInfoTextHover: var(--triones-color-info-text-hover,#4096ff) !default;
96
+ $trionesColorInfoText: var(--triones-color-info-text,#1677ff) !default;
97
+ $trionesColorInfoTextActive: var(--triones-color-info-text-active,#0958d9) !default;
98
+
99
+
100
+ $trionesColorLink: var(--triones-color-link,#1677ff) !default;
101
+ $trionesColorLinkHover: var(--triones-color-link-hover,#69b1ff) !default;
102
+ $trionesColorLinkActive: var(--triones-color-link-active,#0958d9) !default;
103
+
104
+ $trionesColorDanger: var(--triones-color-danger,#ff4d4f) !default;
105
+
106
+
107
+
108
+ $trionesColorBgBase: var(--triones-color-bg-base,#fff) !default;
109
+ $trionesColorBgScaffold: var(--triones-color-bg-scaffold,#F6F7FA) !default;
110
+
111
+ $trionesBorderRadius: var(--triones-border-radius,6Px) !default;
112
+ $trionesBorderRadiusXs: var(--triones-border-radius-xs,2Px) !default;
113
+ $trionesBorderRadiusSm: var(--triones-border-radius-sm,4Px) !default;
114
+ $trionesBorderRadiusLg: var(--triones-border-radius-lg,8Px) !default;
115
+ $trionesBorderRadiusOuter: var(--triones-border-radius-outer,4Px) !default;
116
+ $trionesBorderColor: var(--triones-border-color,#d9d9d9) !default;
117
+ $trionesBorderColorSecondary: var(--triones-border-color-secondary,#f0f0f0) !default;
118
+
119
+
120
+ $trionesColorBgMask: var(--triones-color-bg-mask,rgba(0, 0, 0, 0.45)) !default;
121
+
122
+ $trionesLineHeight: var(--triones-line-height,1.5714285714285714) !default;
123
+ $trionesLineHeightLg: var(--triones-line-height-lg,1.5) !default;
124
+ $trionesLineHeightSm: var(--triones-line-height-sm,1.6666666666666667) !default;
125
+
126
+ $trionesPaddingXxs: var(--triones-padding-xxs,4Px) !default;
127
+ $trionesPaddingXs: var(--triones-padding-xs,8Px) !default;
128
+ $trionesPaddingSm: var(--triones-padding-sm,12Px) !default;
129
+ $trionesPadding: var(--triones-padding,16Px) !default;
130
+ $trionesPaddingMd: var(--triones-padding-md,20Px) !default;
131
+ $trionesPaddingLg: var(--triones-padding-lg,24Px) !default;
132
+ $trionesPaddingXl: var(--triones-padding-xl,32Px) !default;
133
+ $trionesPaddingContentHorizontalLg: var(--triones-padding-content-horizontal-lg,24Px) !default;
134
+ $trionesPaddingContentVerticalLg: var(--triones-padding-content-vertical-lg,16Px) !default;
135
+ $trionesPaddingContentHorizontal: var(--triones-padding-content-horizontal,16Px) !default;
136
+ $trionesPaddingContentVertical: var(--triones-padding-content-vertical,12Px) !default;
137
+ $trionesPaddingContentHorizontalSm: var(--triones-padding-content-horizontal-sm,16Px) !default;
138
+ $trionesPaddingContentVerticalSm: var(--triones-padding-content-vertical-sm,8Px) !default;
139
+
140
+
141
+ $trionesInputPaddingBlock: var(--triones-input-padding-block,4Px) !default;
142
+ $trionesInputPaddingBlockSm: var(--triones-input-padding-block-sm,0Px) !default;
143
+ $trionesInputPaddingBlockLg: var(--triones-input-padding-block-lg,7Px) !default;
144
+ $trionesInputPaddingInline: var(--triones-input-padding-inline,11Px) !default;
145
+ $trionesInputPaddingInlineSm: var(--triones-input-padding-inline-sm,7Px) !default;
146
+ $trionesInputPaddingInlineLg: var(--triones-input-padding-inline-lg,11Px) !default;
147
+ $trionesInputAddonBg: var(--triones-input-addon-bg,rgba(0, 0, 0, 0.02)) !default;
148
+ $trionesInputActiveBorderColor: var(--triones-input-active-border-color,#1677ff) !default;
149
+ $trionesInputHoverBorderColor: var(--triones-input-hover-border-color,#4096ff) !default;
150
+ $trionesInputActiveShadow: var(--triones-input-active-shadow,0 0 0 2px rgba(5, 145, 255, 0.1)) !default;
151
+ $trionesInputErrorActiveShadow: var(--triones-input-error-active-shadow,0 0 0 2px rgba(255, 38, 5, 0.06)) !default;
152
+ $trionesInputWarringActiveShadow: var(--triones-input-warring-active-shadow,0 0 0 2px rgba(255, 215, 5, 0.1)) !default;
153
+ $trionesInputHoverBg: var(--triones-input-hover-bg,#ffffff) !default;
154
+ $trionesInputActiveBg: var(--triones-input-active-bg,#ffffff) !default;
155
+ $trionesInputInputFontSize: var(--triones-input-input-font-size,14Px) !default;
156
+ $trionesInputInputFontSizeLg: var(--triones-input-input-font-size-lg,16Px) !default;
157
+ $trionesInputInputFontSizeSm: var(--triones-input-input-font-size-sm,14Px) !default;
158
+
159
+
160
+ $trionesFontSizeSm: var(--triones-font-size-sm,12Px) !default;
161
+ $trionesFontSize: var(--triones-font-size,14Px) !default;
162
+ $trionesFontSizeLg: var(--triones-font-size-lg,16Px) !default;
163
+ $trionesFontSizeXl: var(--triones-font-size-xl,20Px) !default;
164
+
165
+ $trionesColorIcon: var(--triones-color-icon,rgba(0, 0, 0, 0.45)) !default;
166
+ $trionesColorIconHover: var(--triones-color-icon-hover,rgba(0, 0, 0, 0.88)) !default;
167
+
168
+ $trionesFontSizeIcon: var(--triones-font-size-icon,12Px) !default;
169
+
170
+ $trionesControlHeightXs: var(--control-height-xs,16Px) !default;
171
+ $trionesControlHeightSm: var(--control-height-sm,22Px) !default;
172
+ $trionesControlHeight: var(--control-height,32Px) !default;
173
+ $trionesControlHeightLg: var(--control-height-lg,40Px) !default;
174
+
175
+
176
+
177
+ /**
178
+ * @description 安全区倍数
179
+ */
180
+ $trionesSafeAreaMultiple:var(--triones-safe-area-multiple,1)!default;
@@ -1,45 +1,45 @@
1
1
  /** https://github.com/Microsoft/TypeScript/issues/29729 */
2
2
 
3
- /**
4
- * Get component props
5
- * @example
6
- * ```ts
7
- * import { Checkbox } from 'antd'
8
- * import type { GetProps } from 'antd';
9
- *
10
- * type CheckboxGroupProps = GetProps<typeof Checkbox.Group>
11
- * ```
12
- * @since 5.13.0
3
+ /**
4
+ * Get component props
5
+ * @example
6
+ * ```ts
7
+ * import { Checkbox } from 'antd'
8
+ * import type { GetProps } from 'antd';
9
+ *
10
+ * type CheckboxGroupProps = GetProps<typeof Checkbox.Group>
11
+ * ```
12
+ * @since 5.13.0
13
13
  */
14
14
 
15
- /**
16
- * Get component props by component name
17
- * @example
18
- * ```ts
19
- * import { Select } from 'antd';
20
- * import type { GetProp, SelectProps } from 'antd';
21
- *
22
- * type SelectOption1 = GetProp<SelectProps, 'options'>[number];
23
- * // or
24
- * type SelectOption2 = GetProp<typeof Select, 'options'>[number];
25
- *
26
- * const onChange: GetProp<typeof Select, 'onChange'> = (value, option) => {
27
- * // Do something
28
- * };
29
- * ```
30
- * @since 5.13.0
15
+ /**
16
+ * Get component props by component name
17
+ * @example
18
+ * ```ts
19
+ * import { Select } from 'antd';
20
+ * import type { GetProp, SelectProps } from 'antd';
21
+ *
22
+ * type SelectOption1 = GetProp<SelectProps, 'options'>[number];
23
+ * // or
24
+ * type SelectOption2 = GetProp<typeof Select, 'options'>[number];
25
+ *
26
+ * const onChange: GetProp<typeof Select, 'onChange'> = (value, option) => {
27
+ * // Do something
28
+ * };
29
+ * ```
30
+ * @since 5.13.0
31
31
  */
32
32
 
33
- /**
34
- * Get component ref
35
- * @example
36
- * ```ts
37
- * import { Input } from 'antd';
38
- * import type { GetRef } from 'antd';
39
- *
40
- * type InputRef = GetRef<typeof Input>;
41
- * ```
42
- * @since 5.13.0
33
+ /**
34
+ * Get component ref
35
+ * @example
36
+ * ```ts
37
+ * import { Input } from 'antd';
38
+ * import type { GetRef } from 'antd';
39
+ *
40
+ * type InputRef = GetRef<typeof Input>;
41
+ * ```
42
+ * @since 5.13.0
43
43
  */
44
44
 
45
45
  export var ComponentDefaults = {
@@ -15,10 +15,10 @@ export function mergeProps() {
15
15
  return ret;
16
16
  }
17
17
 
18
- /**
19
- * Merge props and return the first non-undefined value.
20
- * The later has higher priority. e.g. (10, 1, 5) => 5 wins.
21
- * This is useful with legacy props that have been deprecated.
18
+ /**
19
+ * Merge props and return the first non-undefined value.
20
+ * The later has higher priority. e.g. (10, 1, 5) => 5 wins.
21
+ * This is useful with legacy props that have been deprecated.
22
22
  */
23
23
  export function mergeProp(defaultProp) {
24
24
  for (var _len2 = arguments.length, propList = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trionesdev/antd-mobile-base-react",
3
- "version": "0.0.2-beta.17",
3
+ "version": "0.0.2-beta.19",
4
4
  "description": "antd mobile base react",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "react": ">=16.9.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.17",
33
+ "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.19",
34
34
  "@types/crypto-js": "^4.2.2",
35
35
  "@types/lodash-es": "^4.17.12",
36
36
  "@types/node": "^18.19.123",
@@ -47,5 +47,5 @@
47
47
  "react": "^18.0.0",
48
48
  "runes2": "^1.1.4"
49
49
  },
50
- "gitHead": "cd1e738ccd6ccaaab8405530264d8dcc525b28be"
50
+ "gitHead": "7e39f2da92ccf788edab1b76ac548dee2ddc3d21"
51
51
  }
@@ -1,39 +0,0 @@
1
- @use "../style/variable" as variable;
2
- $spinLoadingCls: triones-antm-spin-loading;
3
-
4
- .#{$spinLoadingCls} {
5
- --size: 32Px;
6
- width: var(--size);
7
- height: var(--size);
8
-
9
- &-default{
10
- color: #9D9D9D;
11
- }
12
- &-primary{
13
- color: variable.$trionesColorPrimary;
14
- }
15
- &-white{
16
- color: #ffffff;
17
- }
18
-
19
- &-spin {
20
- //color: var(--color);
21
- display: inline-block;
22
- height: 100%;
23
- width: 100%;
24
- background: currentColor;
25
- mask-image: var(--maskImage);
26
- -webkit-mask-image: var(--maskImage);
27
- animation: adm-spin-loading-rotate 2s infinite linear;
28
- }
29
-
30
- }
31
-
32
- @keyframes adm-spin-loading-rotate {
33
- from {
34
- transform: rotate(0deg);
35
- }
36
- to {
37
- transform: rotate(360deg);
38
- }
39
- }