@cloudtower/eagle 0.26.12 → 0.26.14
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.
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/ExpandableList/ExpandIcon.d.ts +13 -0
- package/dist/components/ExpandableList/ExpandableContainer.d.ts +5 -0
- package/dist/components/ExpandableList/ExpandableItem.d.ts +9 -0
- package/dist/components/ExpandableList/RoundOrder.d.ts +6 -0
- package/dist/components/ExpandableList/__test__/h5_css.test.d.ts +1 -0
- package/dist/components.css +183 -174
- package/dist/esm/index.js +7 -6
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +1 -1
- package/dist/style.css +909 -900
- package/dist/umd/index.js +5 -4
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +1 -0
- package/package.json +5 -5
|
@@ -12,5 +12,5 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
12
12
|
} & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
|
13
13
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
15
|
-
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "icon" | "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
export default Button;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
isActive?: boolean;
|
|
4
|
+
header?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
showArrow?: boolean;
|
|
8
|
+
forceRender?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
extra?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
declare const ExpandIcon: (props: IProps) => JSX.Element;
|
|
13
|
+
export default ExpandIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
header?: React.ReactNode;
|
|
4
|
+
order?: number;
|
|
5
|
+
disableExpand?: boolean;
|
|
6
|
+
defaultActive?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const ExpandableItem: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
9
|
+
export default ExpandableItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/components.css
CHANGED
|
@@ -29831,7 +29831,71 @@ html body {
|
|
|
29831
29831
|
font-family: "Inter var", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
|
|
29832
29832
|
}
|
|
29833
29833
|
}
|
|
29834
|
+
.fde5mpd {
|
|
29835
|
+
width: 100%;
|
|
29836
|
+
height: 100%;
|
|
29837
|
+
min-height: 124px;
|
|
29838
|
+
display: flex;
|
|
29839
|
+
flex-direction: column;
|
|
29840
|
+
justify-content: center;
|
|
29841
|
+
align-items: center;
|
|
29842
|
+
}
|
|
29843
|
+
.fde5mpd .error-text {
|
|
29844
|
+
color: rgba(10, 37, 85, 0.6);
|
|
29845
|
+
margin-bottom: 16px;
|
|
29846
|
+
font-size: 18px;
|
|
29847
|
+
}
|
|
29848
|
+
|
|
29849
|
+
.bpq0js6 {
|
|
29850
|
+
padding: 4px 11px;
|
|
29851
|
+
}
|
|
29852
|
+
|
|
29853
|
+
.b15sn34c {
|
|
29854
|
+
white-space: nowrap;
|
|
29855
|
+
filter: drop-shadow(0px 2px 8px rgba(0, 136, 255, 0.1));
|
|
29856
|
+
}
|
|
29857
|
+
.b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous) {
|
|
29858
|
+
--color: #0080ff;
|
|
29859
|
+
}
|
|
29860
|
+
.b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous)[disabled], .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous):hover[disabled] {
|
|
29861
|
+
--color: #0080ff;
|
|
29862
|
+
}
|
|
29863
|
+
.b15sn34c > .ant-btn:not(:only-child) + .ant-btn {
|
|
29864
|
+
margin-left: 1px;
|
|
29865
|
+
}
|
|
29866
|
+
.b15sn34c > .ant-btn:not(:only-child):first-child {
|
|
29867
|
+
border-top-right-radius: 0;
|
|
29868
|
+
border-bottom-right-radius: 0;
|
|
29869
|
+
}
|
|
29870
|
+
.b15sn34c > .ant-btn:not(:only-child):last-child {
|
|
29871
|
+
border-top-left-radius: 0;
|
|
29872
|
+
border-bottom-left-radius: 0;
|
|
29873
|
+
}
|
|
29874
|
+
.b15sn34c > .ant-btn:not(:only-child):not(:first-child, :last-child) {
|
|
29875
|
+
border-radius: unset;
|
|
29876
|
+
}
|
|
29877
|
+
|
|
29878
|
+
.iap75of {
|
|
29879
|
+
height: 18px;
|
|
29880
|
+
line-height: 18px;
|
|
29881
|
+
padding: 0 4px;
|
|
29882
|
+
border-radius: 4px;
|
|
29883
|
+
background: rgba(235, 239, 245, 0.6);
|
|
29884
|
+
border: 1px solid rgba(223, 228, 235, 0.6);
|
|
29885
|
+
display: flex;
|
|
29886
|
+
align-items: center;
|
|
29887
|
+
white-space: nowrap;
|
|
29888
|
+
margin-right: 4px;
|
|
29889
|
+
}
|
|
29890
|
+
|
|
29891
|
+
.buj61ew.ant-btn-icon-only {
|
|
29892
|
+
justify-content: center;
|
|
29893
|
+
}
|
|
29894
|
+
.buj61ew.ant-btn.ant-btn-link {
|
|
29895
|
+
padding: 0;
|
|
29896
|
+
}
|
|
29834
29897
|
.buj61ew.ant-btn {
|
|
29898
|
+
padding: 5px 12px;
|
|
29835
29899
|
height: 32px;
|
|
29836
29900
|
border-radius: 6px;
|
|
29837
29901
|
line-height: 22px;
|
|
@@ -29841,8 +29905,10 @@ html body {
|
|
|
29841
29905
|
.buj61ew.ant-btn.ant-btn-lg {
|
|
29842
29906
|
height: 40px;
|
|
29843
29907
|
line-height: 24px;
|
|
29908
|
+
padding: 8px 16px;
|
|
29844
29909
|
}
|
|
29845
29910
|
.buj61ew.ant-btn.ant-btn-sm {
|
|
29911
|
+
padding: 2px 8px;
|
|
29846
29912
|
height: 24px;
|
|
29847
29913
|
line-height: 20px;
|
|
29848
29914
|
}
|
|
@@ -30061,13 +30127,14 @@ html body {
|
|
|
30061
30127
|
.buj61ew.has-icon {
|
|
30062
30128
|
display: inline-flex;
|
|
30063
30129
|
align-items: center;
|
|
30130
|
+
justify-content: center;
|
|
30064
30131
|
}
|
|
30065
30132
|
.buj61ew .button-prefix-icon {
|
|
30066
|
-
margin-right:
|
|
30133
|
+
margin-right: 8px;
|
|
30067
30134
|
display: inline-flex;
|
|
30068
30135
|
}
|
|
30069
30136
|
.buj61ew .button-suffix-icon {
|
|
30070
|
-
margin-left:
|
|
30137
|
+
margin-left: 8px;
|
|
30071
30138
|
display: inline-flex;
|
|
30072
30139
|
}
|
|
30073
30140
|
.buj61ew .icon-wrapper {
|
|
@@ -30079,54 +30146,9 @@ html body {
|
|
|
30079
30146
|
padding: 0;
|
|
30080
30147
|
}
|
|
30081
30148
|
|
|
30082
|
-
.bpq0js6 {
|
|
30083
|
-
padding: 4px 11px;
|
|
30084
|
-
}
|
|
30085
|
-
|
|
30086
|
-
.b15sn34c {
|
|
30087
|
-
white-space: nowrap;
|
|
30088
|
-
filter: drop-shadow(0px 2px 8px rgba(0, 136, 255, 0.1));
|
|
30089
|
-
}
|
|
30090
|
-
.b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous) {
|
|
30091
|
-
--color: #0080ff;
|
|
30092
|
-
}
|
|
30093
|
-
.b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous)[disabled], .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous):hover[disabled] {
|
|
30094
|
-
--color: #0080ff;
|
|
30095
|
-
}
|
|
30096
|
-
.b15sn34c > .ant-btn:not(:only-child) + .ant-btn {
|
|
30097
|
-
margin-left: 1px;
|
|
30098
|
-
}
|
|
30099
|
-
.b15sn34c > .ant-btn:not(:only-child):first-child {
|
|
30100
|
-
border-top-right-radius: 0;
|
|
30101
|
-
border-bottom-right-radius: 0;
|
|
30102
|
-
}
|
|
30103
|
-
.b15sn34c > .ant-btn:not(:only-child):last-child {
|
|
30104
|
-
border-top-left-radius: 0;
|
|
30105
|
-
border-bottom-left-radius: 0;
|
|
30106
|
-
}
|
|
30107
|
-
.b15sn34c > .ant-btn:not(:only-child):not(:first-child, :last-child) {
|
|
30108
|
-
border-radius: unset;
|
|
30109
|
-
}
|
|
30110
|
-
|
|
30111
|
-
.fde5mpd {
|
|
30112
|
-
width: 100%;
|
|
30113
|
-
height: 100%;
|
|
30114
|
-
min-height: 124px;
|
|
30115
|
-
display: flex;
|
|
30116
|
-
flex-direction: column;
|
|
30117
|
-
justify-content: center;
|
|
30118
|
-
align-items: center;
|
|
30119
|
-
}
|
|
30120
|
-
.fde5mpd .error-text {
|
|
30121
|
-
color: rgba(10, 37, 85, 0.6);
|
|
30122
|
-
margin-bottom: 16px;
|
|
30123
|
-
font-size: 18px;
|
|
30124
|
-
}
|
|
30125
|
-
|
|
30126
30149
|
.i1mrf09m {
|
|
30127
30150
|
display: inline-flex;
|
|
30128
30151
|
align-items: center;
|
|
30129
|
-
vertical-align: middle;
|
|
30130
30152
|
}
|
|
30131
30153
|
.i1mrf09m .icon-inner {
|
|
30132
30154
|
display: inline-flex;
|
|
@@ -30142,26 +30164,59 @@ html body {
|
|
|
30142
30164
|
animation: rotate 680ms linear infinite;
|
|
30143
30165
|
}
|
|
30144
30166
|
|
|
30145
|
-
.
|
|
30146
|
-
|
|
30147
|
-
|
|
30148
|
-
|
|
30149
|
-
|
|
30150
|
-
background: rgba(235, 239, 245, 0.6);
|
|
30151
|
-
border: 1px solid rgba(223, 228, 235, 0.6);
|
|
30152
|
-
display: flex;
|
|
30153
|
-
align-items: center;
|
|
30154
|
-
white-space: nowrap;
|
|
30155
|
-
margin-right: 4px;
|
|
30167
|
+
.s34f1qb.ant-switch {
|
|
30168
|
+
min-width: 40px;
|
|
30169
|
+
height: 24px;
|
|
30170
|
+
background: rgba(172, 186, 211, 0.6);
|
|
30171
|
+
overflow: hidden;
|
|
30156
30172
|
}
|
|
30157
|
-
|
|
30158
|
-
.
|
|
30159
|
-
|
|
30173
|
+
.s34f1qb.ant-switch:focus {
|
|
30174
|
+
box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
|
|
30175
|
+
}
|
|
30176
|
+
.s34f1qb.ant-switch-small {
|
|
30177
|
+
min-width: 26px;
|
|
30178
|
+
height: 16px;
|
|
30179
|
+
}
|
|
30180
|
+
.s34f1qb.ant-switch-large {
|
|
30181
|
+
min-width: 52px;
|
|
30182
|
+
height: 32px;
|
|
30183
|
+
}
|
|
30184
|
+
.s34f1qb.ant-switch .ant-switch-handle {
|
|
30185
|
+
height: 20px;
|
|
30186
|
+
width: 20px;
|
|
30187
|
+
}
|
|
30188
|
+
.s34f1qb.ant-switch .ant-switch-handle::before {
|
|
30189
|
+
border-radius: 10px;
|
|
30190
|
+
transition-delay: 120ms;
|
|
30191
|
+
}
|
|
30192
|
+
.s34f1qb.ant-switch-small .ant-switch-handle {
|
|
30193
|
+
height: 14px;
|
|
30194
|
+
width: 14px;
|
|
30195
|
+
top: 1px;
|
|
30196
|
+
left: 1px;
|
|
30197
|
+
}
|
|
30198
|
+
.s34f1qb.ant-switch-large .ant-switch-handle {
|
|
30199
|
+
height: 28px;
|
|
30200
|
+
width: 28px;
|
|
30201
|
+
}
|
|
30202
|
+
.s34f1qb.ant-switch-large .ant-switch-handle::before {
|
|
30203
|
+
border-radius: 14px;
|
|
30204
|
+
}
|
|
30205
|
+
.s34f1qb.ant-switch-checked {
|
|
30206
|
+
background-color: #00ba5d;
|
|
30207
|
+
}
|
|
30208
|
+
.s34f1qb.ant-switch-checked .ant-switch-handle {
|
|
30209
|
+
left: calc(100% - 20px - 2px);
|
|
30210
|
+
}
|
|
30211
|
+
.s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
|
|
30212
|
+
left: calc(100% - 14px - 1px);
|
|
30213
|
+
}
|
|
30214
|
+
.s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
|
|
30215
|
+
left: calc(100% - 28px - 2px);
|
|
30160
30216
|
}
|
|
30161
30217
|
|
|
30162
|
-
.
|
|
30163
|
-
|
|
30164
|
-
position: absolute;
|
|
30218
|
+
.c1to9vb9 {
|
|
30219
|
+
margin-left: 5px;
|
|
30165
30220
|
}
|
|
30166
30221
|
|
|
30167
30222
|
.p12gwtiw {
|
|
@@ -30221,61 +30276,6 @@ html body {
|
|
|
30221
30276
|
line-height: 18px;
|
|
30222
30277
|
}
|
|
30223
30278
|
|
|
30224
|
-
.s34f1qb.ant-switch {
|
|
30225
|
-
min-width: 40px;
|
|
30226
|
-
height: 24px;
|
|
30227
|
-
background: rgba(172, 186, 211, 0.6);
|
|
30228
|
-
overflow: hidden;
|
|
30229
|
-
}
|
|
30230
|
-
.s34f1qb.ant-switch:focus {
|
|
30231
|
-
box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
|
|
30232
|
-
}
|
|
30233
|
-
.s34f1qb.ant-switch-small {
|
|
30234
|
-
min-width: 26px;
|
|
30235
|
-
height: 16px;
|
|
30236
|
-
}
|
|
30237
|
-
.s34f1qb.ant-switch-large {
|
|
30238
|
-
min-width: 52px;
|
|
30239
|
-
height: 32px;
|
|
30240
|
-
}
|
|
30241
|
-
.s34f1qb.ant-switch .ant-switch-handle {
|
|
30242
|
-
height: 20px;
|
|
30243
|
-
width: 20px;
|
|
30244
|
-
}
|
|
30245
|
-
.s34f1qb.ant-switch .ant-switch-handle::before {
|
|
30246
|
-
border-radius: 10px;
|
|
30247
|
-
transition-delay: 120ms;
|
|
30248
|
-
}
|
|
30249
|
-
.s34f1qb.ant-switch-small .ant-switch-handle {
|
|
30250
|
-
height: 14px;
|
|
30251
|
-
width: 14px;
|
|
30252
|
-
top: 1px;
|
|
30253
|
-
left: 1px;
|
|
30254
|
-
}
|
|
30255
|
-
.s34f1qb.ant-switch-large .ant-switch-handle {
|
|
30256
|
-
height: 28px;
|
|
30257
|
-
width: 28px;
|
|
30258
|
-
}
|
|
30259
|
-
.s34f1qb.ant-switch-large .ant-switch-handle::before {
|
|
30260
|
-
border-radius: 14px;
|
|
30261
|
-
}
|
|
30262
|
-
.s34f1qb.ant-switch-checked {
|
|
30263
|
-
background-color: #00ba5d;
|
|
30264
|
-
}
|
|
30265
|
-
.s34f1qb.ant-switch-checked .ant-switch-handle {
|
|
30266
|
-
left: calc(100% - 20px - 2px);
|
|
30267
|
-
}
|
|
30268
|
-
.s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
|
|
30269
|
-
left: calc(100% - 14px - 1px);
|
|
30270
|
-
}
|
|
30271
|
-
.s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
|
|
30272
|
-
left: calc(100% - 28px - 2px);
|
|
30273
|
-
}
|
|
30274
|
-
|
|
30275
|
-
.c1to9vb9 {
|
|
30276
|
-
margin-left: 5px;
|
|
30277
|
-
}
|
|
30278
|
-
|
|
30279
30279
|
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
|
|
30280
30280
|
flex-direction: row;
|
|
30281
30281
|
justify-content: stretch;
|
|
@@ -30505,6 +30505,15 @@ html body {
|
|
|
30505
30505
|
width: 36px;
|
|
30506
30506
|
}
|
|
30507
30507
|
|
|
30508
|
+
.obf05yr {
|
|
30509
|
+
display: inline-block;
|
|
30510
|
+
}
|
|
30511
|
+
|
|
30512
|
+
.hsms1n6 {
|
|
30513
|
+
visibility: hidden;
|
|
30514
|
+
position: absolute;
|
|
30515
|
+
}
|
|
30516
|
+
|
|
30508
30517
|
.cz04yix {
|
|
30509
30518
|
display: flex;
|
|
30510
30519
|
flex-direction: column;
|
|
@@ -31615,6 +31624,10 @@ input.rrg1fkn.ant-input {
|
|
|
31615
31624
|
opacity: 0;
|
|
31616
31625
|
}
|
|
31617
31626
|
|
|
31627
|
+
.i1e4sgug {
|
|
31628
|
+
display: inline-block;
|
|
31629
|
+
}
|
|
31630
|
+
|
|
31618
31631
|
.d6j0lbj {
|
|
31619
31632
|
font-family: Inter;
|
|
31620
31633
|
font-style: normal;
|
|
@@ -32090,10 +32103,6 @@ input.rrg1fkn.ant-input {
|
|
|
32090
32103
|
line-height: 12px;
|
|
32091
32104
|
}
|
|
32092
32105
|
|
|
32093
|
-
.i1e4sgug {
|
|
32094
|
-
display: inline-block;
|
|
32095
|
-
}
|
|
32096
|
-
|
|
32097
32106
|
.m15dvk92 {
|
|
32098
32107
|
display: flex;
|
|
32099
32108
|
justify-content: space-between;
|
|
@@ -32515,6 +32524,10 @@ input.rrg1fkn.ant-input {
|
|
|
32515
32524
|
background: rgba(163, 180, 204, 0.18);
|
|
32516
32525
|
}
|
|
32517
32526
|
|
|
32527
|
+
.c1k4vanq {
|
|
32528
|
+
padding: 0 16px 14px 16px;
|
|
32529
|
+
}
|
|
32530
|
+
|
|
32518
32531
|
.c1udgdh2 {
|
|
32519
32532
|
color: #2d3a56;
|
|
32520
32533
|
padding: 12px 16px 10px 16px;
|
|
@@ -32555,10 +32568,6 @@ input.rrg1fkn.ant-input {
|
|
|
32555
32568
|
margin-right: 2px;
|
|
32556
32569
|
}
|
|
32557
32570
|
|
|
32558
|
-
.c1k4vanq {
|
|
32559
|
-
padding: 0 16px 14px 16px;
|
|
32560
|
-
}
|
|
32561
|
-
|
|
32562
32571
|
.bab9xum {
|
|
32563
32572
|
box-shadow: 0px 0.119595px 0.438513px rgba(129, 138, 153, 0.14), 0px 0.271728px 0.996336px rgba(129, 138, 153, 0.106447), 0px 0.472931px 1.73408px rgba(129, 138, 153, 0.0912224), 0px 0.751293px 2.75474px rgba(129, 138, 153, 0.0799253), 0px 1.15919px 4.25036px rgba(129, 138, 153, 0.07), 0px 1.80882px 6.63236px rgba(129, 138, 153, 0.0600747), 0px 3.00293px 11.0107px rgba(129, 138, 153, 0.0487776), 0px 6px 22px rgba(129, 138, 153, 0.0335534);
|
|
32564
32573
|
}
|
|
@@ -32568,30 +32577,6 @@ input.rrg1fkn.ant-input {
|
|
|
32568
32577
|
background-color: white;
|
|
32569
32578
|
}
|
|
32570
32579
|
|
|
32571
|
-
.iwsze0q {
|
|
32572
|
-
margin-right: 4px;
|
|
32573
|
-
height: 16px;
|
|
32574
|
-
}
|
|
32575
|
-
|
|
32576
|
-
.sut42l0 {
|
|
32577
|
-
padding: 0 8px;
|
|
32578
|
-
height: 18px;
|
|
32579
|
-
}
|
|
32580
|
-
|
|
32581
|
-
.mfsz1jz {
|
|
32582
|
-
padding: 2px 8px;
|
|
32583
|
-
height: 24px;
|
|
32584
|
-
}
|
|
32585
|
-
|
|
32586
|
-
.tnd6h4m {
|
|
32587
|
-
margin: 0;
|
|
32588
|
-
}
|
|
32589
|
-
|
|
32590
|
-
.i1qw4clm {
|
|
32591
|
-
margin-right: 4px;
|
|
32592
|
-
height: 16px;
|
|
32593
|
-
}
|
|
32594
|
-
|
|
32595
32580
|
.tc40oxa {
|
|
32596
32581
|
margin-bottom: 4px;
|
|
32597
32582
|
color: rgba(44, 56, 82, 0.6);
|
|
@@ -32816,15 +32801,6 @@ input.rrg1fkn.ant-input {
|
|
|
32816
32801
|
min-height: 0px;
|
|
32817
32802
|
}
|
|
32818
32803
|
|
|
32819
|
-
.w1xcixj5.outside-tag {
|
|
32820
|
-
padding-left: 0;
|
|
32821
|
-
}
|
|
32822
|
-
.w1xcixj5.outside-tag .inside-tag {
|
|
32823
|
-
border-radius: 4px 0 0 4px;
|
|
32824
|
-
padding-right: 4px;
|
|
32825
|
-
margin-right: 4px;
|
|
32826
|
-
}
|
|
32827
|
-
|
|
32828
32804
|
.at4ovwe .ant-input-number-handler-wrap {
|
|
32829
32805
|
display: var(--at4ovwe-0);
|
|
32830
32806
|
}
|
|
@@ -32871,23 +32847,37 @@ input.rrg1fkn.ant-input {
|
|
|
32871
32847
|
font-size: inherit;
|
|
32872
32848
|
}
|
|
32873
32849
|
|
|
32874
|
-
.
|
|
32875
|
-
|
|
32850
|
+
.w1xcixj5.outside-tag {
|
|
32851
|
+
padding-left: 0;
|
|
32876
32852
|
}
|
|
32877
|
-
.
|
|
32878
|
-
|
|
32879
|
-
|
|
32880
|
-
margin-
|
|
32881
|
-
font-family: "Inter";
|
|
32882
|
-
font-weight: 400;
|
|
32883
|
-
font-size: 12px;
|
|
32884
|
-
line-height: 18px;
|
|
32853
|
+
.w1xcixj5.outside-tag .inside-tag {
|
|
32854
|
+
border-radius: 4px 0 0 4px;
|
|
32855
|
+
padding-right: 4px;
|
|
32856
|
+
margin-right: 4px;
|
|
32885
32857
|
}
|
|
32886
|
-
|
|
32887
|
-
|
|
32858
|
+
|
|
32859
|
+
.sut42l0 {
|
|
32860
|
+
padding: 0 8px;
|
|
32861
|
+
height: 18px;
|
|
32888
32862
|
}
|
|
32889
|
-
|
|
32890
|
-
|
|
32863
|
+
|
|
32864
|
+
.mfsz1jz {
|
|
32865
|
+
padding: 2px 8px;
|
|
32866
|
+
height: 24px;
|
|
32867
|
+
}
|
|
32868
|
+
|
|
32869
|
+
.tnd6h4m {
|
|
32870
|
+
margin: 0;
|
|
32871
|
+
}
|
|
32872
|
+
|
|
32873
|
+
.i1qw4clm {
|
|
32874
|
+
margin-right: 4px;
|
|
32875
|
+
height: 16px;
|
|
32876
|
+
}
|
|
32877
|
+
|
|
32878
|
+
.iwsze0q {
|
|
32879
|
+
margin-right: 4px;
|
|
32880
|
+
height: 16px;
|
|
32891
32881
|
}
|
|
32892
32882
|
|
|
32893
32883
|
.a6dbbkm .ant-input-number-handler-wrap {
|
|
@@ -32919,4 +32909,23 @@ input.rrg1fkn.ant-input {
|
|
|
32919
32909
|
margin: 0;
|
|
32920
32910
|
height: auto;
|
|
32921
32911
|
font-size: inherit;
|
|
32912
|
+
}
|
|
32913
|
+
|
|
32914
|
+
.feau332.ant-form-item {
|
|
32915
|
+
margin-bottom: 0;
|
|
32916
|
+
}
|
|
32917
|
+
.feau332 .ant-form-item-explain {
|
|
32918
|
+
display: none;
|
|
32919
|
+
min-height: 18px;
|
|
32920
|
+
margin-top: 5px;
|
|
32921
|
+
font-family: "Inter";
|
|
32922
|
+
font-weight: 400;
|
|
32923
|
+
font-size: 12px;
|
|
32924
|
+
line-height: 18px;
|
|
32925
|
+
}
|
|
32926
|
+
.feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) {
|
|
32927
|
+
white-space: pre-wrap;
|
|
32928
|
+
}
|
|
32929
|
+
.feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) .ant-form-item-explain {
|
|
32930
|
+
display: block;
|
|
32922
32931
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -10,11 +10,11 @@ export * from '@cloudtower/parrot';
|
|
|
10
10
|
import { useTranslation, withTranslation } from 'react-i18next';
|
|
11
11
|
import { cx } from '@linaria/core';
|
|
12
12
|
import { styled } from '@linaria/react';
|
|
13
|
-
import { ArrowRightGrayIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
13
|
+
import { ArrowRightGrayIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
14
14
|
import moment from 'moment';
|
|
15
15
|
import { findDOMNode } from 'react-dom';
|
|
16
16
|
import { isElement } from 'react-is';
|
|
17
|
-
import { CloseCircleFilled, CheckOutlined, SearchOutlined,
|
|
17
|
+
import { CloseCircleFilled, CheckOutlined, SearchOutlined, EyeOutlined, EyeInvisibleOutlined } from '@ant-design/icons';
|
|
18
18
|
import CheckCircleFilled from '@ant-design/icons/CheckCircleFilled';
|
|
19
19
|
import CloseCircleFilled$1 from '@ant-design/icons/CloseCircleFilled';
|
|
20
20
|
import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
|
|
@@ -974,9 +974,10 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
974
974
|
const [status, setStatus] = useState("normal");
|
|
975
975
|
const hasIcon = prefixIcon || suffixIcon;
|
|
976
976
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
977
|
+
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
977
978
|
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$K({
|
|
978
979
|
ref,
|
|
979
|
-
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`,
|
|
980
|
+
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, onlyIcon && "ant-btn-icon-only"),
|
|
980
981
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
981
982
|
onMouseEnter: e => {
|
|
982
983
|
onMouseEnter == null ? void 0 : onMouseEnter(e);
|
|
@@ -995,12 +996,12 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
995
996
|
icon: prefixIcon,
|
|
996
997
|
hoverEle: hoverPrefixIcon,
|
|
997
998
|
hover: status === "hover",
|
|
998
|
-
className: "button-prefix-icon"
|
|
999
|
+
className: !onlyIcon ? "button-prefix-icon" : ""
|
|
999
1000
|
}), children, suffixIcon && /* @__PURE__ */React__default.createElement(HoverableElement, {
|
|
1000
1001
|
icon: suffixIcon,
|
|
1001
1002
|
hoverEle: hoverSuffixIcon,
|
|
1002
1003
|
hover: status === "hover",
|
|
1003
|
-
className: "button-suffix-icon"
|
|
1004
|
+
className: !onlyIcon ? "button-suffix-icon" : ""
|
|
1004
1005
|
}));
|
|
1005
1006
|
});
|
|
1006
1007
|
|
|
@@ -3982,7 +3983,7 @@ const AddRowButton = (props) => {
|
|
|
3982
3983
|
__spreadProps$b(__spreadValues$b({}, restButtonProps), {
|
|
3983
3984
|
type: restButtonProps.type || "ordinary",
|
|
3984
3985
|
size: restButtonProps.size || "small",
|
|
3985
|
-
|
|
3986
|
+
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__default.createElement(PlusAddCreateNew16SecondaryIcon, null),
|
|
3986
3987
|
className: cx(Typo.Label.l3_regular, restButtonProps.className),
|
|
3987
3988
|
onClick: (e) => {
|
|
3988
3989
|
onAdd(e, data);
|