@kaiheila/ui-components 0.0.13 → 0.1.3
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/main.css +140 -169
- package/dist/ui-components.js +70 -116
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -229,7 +229,6 @@ textarea {
|
|
|
229
229
|
}
|
|
230
230
|
.chuanyu-button {
|
|
231
231
|
position: relative;
|
|
232
|
-
border-radius: 6px;
|
|
233
232
|
color: #ffffff;
|
|
234
233
|
text-align: center;
|
|
235
234
|
outline: none;
|
|
@@ -247,23 +246,28 @@ textarea {
|
|
|
247
246
|
min-width: 65px;
|
|
248
247
|
padding: 0 8px;
|
|
249
248
|
line-height: 24px;
|
|
249
|
+
border-radius: 8px;
|
|
250
250
|
}
|
|
251
251
|
.chuanyu-button.size-sm {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
height: 32px;
|
|
253
|
+
min-width: 80px;
|
|
254
|
+
font-size: 12px;
|
|
255
|
+
padding: 0 12px;
|
|
256
|
+
border-radius: 8px;
|
|
256
257
|
}
|
|
257
258
|
.chuanyu-button.size-md {
|
|
258
|
-
min-width: 81px;
|
|
259
|
-
font-size: 14px;
|
|
260
259
|
height: 36px;
|
|
260
|
+
min-width: 80px;
|
|
261
|
+
font-size: 14px;
|
|
261
262
|
padding: 0 12px;
|
|
263
|
+
border-radius: 12px;
|
|
262
264
|
}
|
|
263
265
|
.chuanyu-button.size-lg {
|
|
264
|
-
height:
|
|
266
|
+
height: 40px;
|
|
267
|
+
min-width: 88px;
|
|
265
268
|
font-size: 16px;
|
|
266
269
|
padding: 0 16px;
|
|
270
|
+
border-radius: 12px;
|
|
267
271
|
}
|
|
268
272
|
.chuanyu-button.block-button {
|
|
269
273
|
width: 100%;
|
|
@@ -277,20 +281,25 @@ textarea {
|
|
|
277
281
|
font-size: 16px;
|
|
278
282
|
}
|
|
279
283
|
.chuanyu-button.type-primary {
|
|
280
|
-
background-color: var(--color-primary
|
|
281
|
-
}
|
|
282
|
-
.chuanyu-button.type-primary.size-md {
|
|
283
|
-
height: 40px;
|
|
284
|
+
background-color: var(--color-primary);
|
|
284
285
|
}
|
|
285
286
|
.chuanyu-button.type-primary:not(.disabled):hover {
|
|
286
|
-
background-color: var(--color-primary-
|
|
287
|
+
background-color: var(--color-primary-hover);
|
|
287
288
|
}
|
|
288
|
-
.chuanyu-button.type-primary:active {
|
|
289
|
-
background-color: var(--color-primary-
|
|
289
|
+
.chuanyu-button.type-primary:not(.disabled):active {
|
|
290
|
+
background-color: var(--color-primary-active);
|
|
290
291
|
}
|
|
291
292
|
.chuanyu-button.type-primary:disabled {
|
|
292
293
|
opacity: 0.5;
|
|
293
|
-
background-color: var(--color-primary
|
|
294
|
+
background-color: var(--color-primary);
|
|
295
|
+
}
|
|
296
|
+
.chuanyu-button.type-primary-text {
|
|
297
|
+
background-color: transparent;
|
|
298
|
+
color: var(--color-primary);
|
|
299
|
+
}
|
|
300
|
+
.chuanyu-button.type-primary-text:hover {
|
|
301
|
+
background-color: var(--color-primary);
|
|
302
|
+
color: #fff;
|
|
294
303
|
}
|
|
295
304
|
.chuanyu-button.type-appprimary {
|
|
296
305
|
background-color: var(--color-primary);
|
|
@@ -345,15 +354,15 @@ textarea {
|
|
|
345
354
|
background-color: var(--color-warn);
|
|
346
355
|
}
|
|
347
356
|
.chuanyu-button.type-simple {
|
|
348
|
-
background-color:
|
|
357
|
+
background-color: var(--button-simple);
|
|
349
358
|
color: var(--text-tip-color);
|
|
350
359
|
}
|
|
351
360
|
.chuanyu-button.type-simple:not(.disabled):hover {
|
|
352
|
-
background-color:
|
|
361
|
+
background-color: var(--button-simple-hover);
|
|
353
362
|
color: var(--text-description-color);
|
|
354
363
|
}
|
|
355
364
|
.chuanyu-button.type-simple:not(.disabled):active {
|
|
356
|
-
background-color:
|
|
365
|
+
background-color: var(--button-simple-active);
|
|
357
366
|
color: var(--text-description-color);
|
|
358
367
|
}
|
|
359
368
|
.chuanyu-button.type-simple:disabled {
|
|
@@ -362,13 +371,13 @@ textarea {
|
|
|
362
371
|
}
|
|
363
372
|
.chuanyu-button.type-default {
|
|
364
373
|
color: var(--text-description-color);
|
|
365
|
-
background-color:
|
|
374
|
+
background-color: var(--button-default);
|
|
366
375
|
}
|
|
367
376
|
.chuanyu-button.type-default:hover {
|
|
368
|
-
background-color:
|
|
377
|
+
background-color: var(--button-default-hover);
|
|
369
378
|
}
|
|
370
379
|
.chuanyu-button.type-default:active {
|
|
371
|
-
background-color:
|
|
380
|
+
background-color: var(--button-default-active);
|
|
372
381
|
}
|
|
373
382
|
.chuanyu-button.type-default:disabled {
|
|
374
383
|
cursor: not-allowed;
|
|
@@ -377,18 +386,14 @@ textarea {
|
|
|
377
386
|
}
|
|
378
387
|
.chuanyu-button.type-ghost {
|
|
379
388
|
color: var(--text-description-color);
|
|
380
|
-
|
|
381
|
-
border
|
|
382
|
-
border-style: solid;
|
|
389
|
+
background-color: var(--button-simple);
|
|
390
|
+
border: 1px solid var(--border-color);
|
|
383
391
|
}
|
|
384
392
|
.chuanyu-button.type-ghost:not(.disabled):hover {
|
|
385
|
-
color: var(--
|
|
386
|
-
border-color: var(--color-bbb);
|
|
387
|
-
background-color: rgba(187, 190, 196, 0.3);
|
|
393
|
+
background-color: var(--button-simple-hover);
|
|
388
394
|
}
|
|
389
395
|
.chuanyu-button.type-ghost:not(.disabled):active {
|
|
390
|
-
color: var(--
|
|
391
|
-
border-color: var(--color-bbb);
|
|
396
|
+
background-color: var(--button-simple-active);
|
|
392
397
|
}
|
|
393
398
|
.chuanyu-button.type-ghost:disabled {
|
|
394
399
|
cursor: not-allowed;
|
|
@@ -483,13 +488,14 @@ textarea {
|
|
|
483
488
|
border-radius: 2px;
|
|
484
489
|
}
|
|
485
490
|
.kaihei-checkbox.disabled {
|
|
491
|
+
opacity: 0.5;
|
|
486
492
|
cursor: not-allowed;
|
|
487
493
|
}
|
|
488
494
|
.theme-light .kaihei-checkbox.active {
|
|
489
|
-
border-color:
|
|
495
|
+
border-color: var(--color-primary);
|
|
490
496
|
}
|
|
491
497
|
.theme-light .kaihei-checkbox.active:after {
|
|
492
|
-
background-color:
|
|
498
|
+
background-color: var(--color-primary);
|
|
493
499
|
}
|
|
494
500
|
.checkbox-box {
|
|
495
501
|
display: inline-flex;
|
|
@@ -497,8 +503,8 @@ textarea {
|
|
|
497
503
|
}
|
|
498
504
|
.kaihei-checkbox-mute {
|
|
499
505
|
display: inline-block;
|
|
500
|
-
width:
|
|
501
|
-
height:
|
|
506
|
+
width: 16px;
|
|
507
|
+
height: 16px;
|
|
502
508
|
font-size: 14px;
|
|
503
509
|
line-height: 14px;
|
|
504
510
|
color: var(--text-tip-color);
|
|
@@ -525,6 +531,7 @@ textarea {
|
|
|
525
531
|
color: white;
|
|
526
532
|
}
|
|
527
533
|
.kaihei-checkbox-mute.disabled {
|
|
534
|
+
opacity: 0.5;
|
|
528
535
|
cursor: not-allowed;
|
|
529
536
|
}
|
|
530
537
|
|
|
@@ -551,7 +558,7 @@ textarea {
|
|
|
551
558
|
color: var(--color-error);
|
|
552
559
|
}
|
|
553
560
|
.friendship-level.minus {
|
|
554
|
-
color: var(--color
|
|
561
|
+
color: var(--text-description-color);
|
|
555
562
|
}
|
|
556
563
|
.friendship-level .friendship-item {
|
|
557
564
|
width: 14px;
|
|
@@ -576,15 +583,12 @@ textarea {
|
|
|
576
583
|
outline: none;
|
|
577
584
|
width: 276px;
|
|
578
585
|
height: 40px;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
border-radius: 6px;
|
|
586
|
+
padding: 0 16px;
|
|
587
|
+
border-radius: 12px;
|
|
582
588
|
background-color: var(--color-f2f);
|
|
583
589
|
color: var(--main-color);
|
|
584
590
|
font-size: 14px;
|
|
585
|
-
border
|
|
586
|
-
border-style: solid;
|
|
587
|
-
border-color: transparent;
|
|
591
|
+
border: 1px solid transparent;
|
|
588
592
|
}
|
|
589
593
|
.chuanyu-input.ghost {
|
|
590
594
|
background-color: transparent;
|
|
@@ -600,8 +604,8 @@ textarea {
|
|
|
600
604
|
.chuanyu-input.block {
|
|
601
605
|
width: 100%;
|
|
602
606
|
}
|
|
603
|
-
.chuanyu-input
|
|
604
|
-
color:
|
|
607
|
+
.chuanyu-input::placeholder {
|
|
608
|
+
color: var(--text-tip-color);
|
|
605
609
|
}
|
|
606
610
|
.chuanyu-input:-webkit-autofill {
|
|
607
611
|
-webkit-text-fill-color: #fff !important;
|
|
@@ -637,15 +641,12 @@ textarea {
|
|
|
637
641
|
}
|
|
638
642
|
.normal-input {
|
|
639
643
|
height: 40px;
|
|
640
|
-
line-height: 14px;
|
|
641
|
-
font-size: 14px;
|
|
642
|
-
padding: 12px;
|
|
643
|
-
text-align: left;
|
|
644
|
-
border-width: 1px;
|
|
645
|
-
border-style: solid;
|
|
646
|
-
border-color: var(--border-color);
|
|
647
644
|
width: 100%;
|
|
648
|
-
|
|
645
|
+
padding: 0 16px;
|
|
646
|
+
text-align: left;
|
|
647
|
+
border: 1px solid var(--border-color);
|
|
648
|
+
border-radius: 12px;
|
|
649
|
+
font-size: 14px;
|
|
649
650
|
}
|
|
650
651
|
.normal-input.noTheme {
|
|
651
652
|
border-color: transparent;
|
|
@@ -658,9 +659,7 @@ textarea {
|
|
|
658
659
|
border-color: var(--border-hover-color);
|
|
659
660
|
box-shadow: 0 0 0 3px var(--border-active-color);
|
|
660
661
|
}
|
|
661
|
-
.normal-input::placeholder
|
|
662
|
-
.normal-input::-moz-placeholder,
|
|
663
|
-
.normal-input::-webkit-input-placeholder {
|
|
662
|
+
.normal-input::placeholder {
|
|
664
663
|
color: var(--text-tip-color);
|
|
665
664
|
}
|
|
666
665
|
.normal-input:disabled {
|
|
@@ -675,14 +674,14 @@ textarea {
|
|
|
675
674
|
height: 40px;
|
|
676
675
|
line-height: 14px;
|
|
677
676
|
font-size: 14px;
|
|
678
|
-
padding:
|
|
677
|
+
padding: 0 16px;
|
|
679
678
|
text-align: left;
|
|
680
|
-
border: 1px solid
|
|
679
|
+
border: 1px solid var(--border-color);
|
|
681
680
|
width: 100%;
|
|
682
|
-
border-radius:
|
|
681
|
+
border-radius: 12px;
|
|
683
682
|
}
|
|
684
|
-
.passowrd-input input
|
|
685
|
-
color:
|
|
683
|
+
.passowrd-input input::placeholder {
|
|
684
|
+
color: var(--text-tip-color);
|
|
686
685
|
}
|
|
687
686
|
.passowrd-input .switch-btn {
|
|
688
687
|
position: absolute;
|
|
@@ -690,17 +689,15 @@ textarea {
|
|
|
690
689
|
transform: translateY(-50%);
|
|
691
690
|
right: 12px;
|
|
692
691
|
font-size: 20px;
|
|
693
|
-
color:
|
|
692
|
+
color: var(--text-tip-color);
|
|
694
693
|
}
|
|
695
694
|
.normal-textarea {
|
|
696
695
|
height: 105px;
|
|
697
696
|
font-size: 14px;
|
|
698
|
-
|
|
699
|
-
border-style: solid;
|
|
700
|
-
padding: 12px;
|
|
697
|
+
padding: 10px 16px;
|
|
701
698
|
width: 100%;
|
|
702
699
|
outline: none;
|
|
703
|
-
border-radius:
|
|
700
|
+
border-radius: 12px;
|
|
704
701
|
border: 1px solid var(--border-color);
|
|
705
702
|
}
|
|
706
703
|
.normal-textarea:hover {
|
|
@@ -715,10 +712,13 @@ textarea {
|
|
|
715
712
|
cursor: not-allowed;
|
|
716
713
|
border-color: var(--border-color);
|
|
717
714
|
}
|
|
715
|
+
.normal-textarea::placeholder {
|
|
716
|
+
color: var(--text-tip-color);
|
|
717
|
+
}
|
|
718
718
|
.search-input {
|
|
719
719
|
position: relative;
|
|
720
720
|
display: flex;
|
|
721
|
-
border-radius:
|
|
721
|
+
border-radius: 12px;
|
|
722
722
|
line-height: 20px;
|
|
723
723
|
border: 1px solid var(--border-color);
|
|
724
724
|
font-size: 14px;
|
|
@@ -743,13 +743,16 @@ textarea {
|
|
|
743
743
|
box-shadow: 0 0 0 3px var(--border-active-color);
|
|
744
744
|
}
|
|
745
745
|
.search-input input {
|
|
746
|
-
padding: 3px 30px 3px
|
|
746
|
+
padding: 3px 30px 3px 16px;
|
|
747
747
|
width: 100%;
|
|
748
748
|
height: 100%;
|
|
749
749
|
border: none;
|
|
750
750
|
background: transparent;
|
|
751
751
|
color: var(--text-color);
|
|
752
752
|
}
|
|
753
|
+
.search-input input::placeholder {
|
|
754
|
+
color: var(--text-tip-color);
|
|
755
|
+
}
|
|
753
756
|
.search-input .button-clear,
|
|
754
757
|
.search-input .button-search {
|
|
755
758
|
right: 10px;
|
|
@@ -830,18 +833,26 @@ textarea {
|
|
|
830
833
|
}
|
|
831
834
|
|
|
832
835
|
.kaihei-radio {
|
|
833
|
-
width:
|
|
834
|
-
height:
|
|
836
|
+
width: 16px;
|
|
837
|
+
height: 16px;
|
|
835
838
|
border-radius: 50%;
|
|
836
839
|
display: inline-flex;
|
|
837
840
|
flex-shrink: 0;
|
|
838
841
|
justify-content: center;
|
|
839
842
|
align-items: center;
|
|
840
843
|
position: relative;
|
|
841
|
-
|
|
844
|
+
border: 2px solid var(--text-tip-color);
|
|
842
845
|
}
|
|
843
846
|
.kaihei-radio.checked {
|
|
844
|
-
color: var(--color-primary);
|
|
847
|
+
border-color: var(--color-primary);
|
|
848
|
+
}
|
|
849
|
+
.kaihei-radio.checked::after {
|
|
850
|
+
position: absolute;
|
|
851
|
+
content: "";
|
|
852
|
+
width: 8px;
|
|
853
|
+
height: 8px;
|
|
854
|
+
background-color: var(--color-primary);
|
|
855
|
+
border-radius: 50%;
|
|
845
856
|
}
|
|
846
857
|
.form-item-radio {
|
|
847
858
|
display: flex;
|
|
@@ -924,7 +935,7 @@ textarea {
|
|
|
924
935
|
width: 100%;
|
|
925
936
|
padding: 9px 35px 9px 16px;
|
|
926
937
|
border: 1px solid var(--border-color);
|
|
927
|
-
border-radius:
|
|
938
|
+
border-radius: 12px;
|
|
928
939
|
cursor: pointer;
|
|
929
940
|
}
|
|
930
941
|
.selector-select:hover {
|
|
@@ -964,12 +975,12 @@ textarea {
|
|
|
964
975
|
position: absolute;
|
|
965
976
|
width: 100%;
|
|
966
977
|
margin-top: 4px;
|
|
967
|
-
border-radius:
|
|
978
|
+
border-radius: 12px;
|
|
968
979
|
padding: 8px;
|
|
969
980
|
z-index: 1000;
|
|
970
981
|
max-height: 240px;
|
|
971
982
|
overflow-y: auto;
|
|
972
|
-
background-color: var(--
|
|
983
|
+
background-color: var(--color-grey-bg);
|
|
973
984
|
box-shadow: var(--box-shadow);
|
|
974
985
|
}
|
|
975
986
|
.selector-option.fixed {
|
|
@@ -1013,8 +1024,8 @@ textarea {
|
|
|
1013
1024
|
.selector-search-select {
|
|
1014
1025
|
position: relative;
|
|
1015
1026
|
width: 100%;
|
|
1016
|
-
padding: 9px 35px
|
|
1017
|
-
border-radius:
|
|
1027
|
+
padding: 9px 35px 9px 16px;
|
|
1028
|
+
border-radius: 12px;
|
|
1018
1029
|
border: 1px solid var(--border-color);
|
|
1019
1030
|
}
|
|
1020
1031
|
.selector-search-select:hover {
|
|
@@ -1033,7 +1044,7 @@ textarea {
|
|
|
1033
1044
|
position: absolute;
|
|
1034
1045
|
top: 50%;
|
|
1035
1046
|
transform: translateY(-50%);
|
|
1036
|
-
left:
|
|
1047
|
+
left: 16px;
|
|
1037
1048
|
display: inline-block;
|
|
1038
1049
|
width: calc(100% - 44px);
|
|
1039
1050
|
white-space: nowrap;
|
|
@@ -1068,7 +1079,7 @@ textarea {
|
|
|
1068
1079
|
margin-top: 4px;
|
|
1069
1080
|
max-height: 400px;
|
|
1070
1081
|
background-color: var(--menu-background);
|
|
1071
|
-
border-radius:
|
|
1082
|
+
border-radius: 12px;
|
|
1072
1083
|
z-index: 1000;
|
|
1073
1084
|
box-shadow: var(--box-shadow);
|
|
1074
1085
|
overflow-y: auto;
|
|
@@ -1240,21 +1251,16 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1240
1251
|
}
|
|
1241
1252
|
|
|
1242
1253
|
.ui-switch {
|
|
1243
|
-
background: #e8e8e8;
|
|
1244
|
-
border: 1px solid #dfdfdf;
|
|
1245
1254
|
position: relative;
|
|
1246
1255
|
display: inline-block;
|
|
1247
|
-
box-sizing:
|
|
1256
|
+
box-sizing: border-box;
|
|
1248
1257
|
overflow: visible;
|
|
1249
|
-
width:
|
|
1250
|
-
height:
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
border-radius: 20px;
|
|
1258
|
+
width: 32px;
|
|
1259
|
+
height: 20px;
|
|
1260
|
+
border-radius: 10px;
|
|
1261
|
+
border: 2px solid var(--text-tip-color);
|
|
1254
1262
|
cursor: pointer;
|
|
1255
|
-
box-shadow: #dfdfdf 0px 0px 0px 0px inset;
|
|
1256
1263
|
transition: 0.3s ease-out all;
|
|
1257
|
-
-webkit-transition: 0.3s ease-out all;
|
|
1258
1264
|
top: -1px;
|
|
1259
1265
|
}
|
|
1260
1266
|
/*adding a wide width for larger switch text*/
|
|
@@ -1262,23 +1268,22 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1262
1268
|
width: 80px;
|
|
1263
1269
|
}
|
|
1264
1270
|
.ui-switch small {
|
|
1265
|
-
background:
|
|
1271
|
+
background-color: var(--text-tip-color);
|
|
1266
1272
|
border-radius: 100%;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
height: 30px;
|
|
1273
|
+
width: 12px;
|
|
1274
|
+
height: 12px;
|
|
1270
1275
|
position: absolute;
|
|
1271
|
-
top:
|
|
1272
|
-
|
|
1276
|
+
top: 50%;
|
|
1277
|
+
margin-top: -6px;
|
|
1278
|
+
left: 2px;
|
|
1273
1279
|
transition: 0.3s ease-out all;
|
|
1274
|
-
-webkit-transition: 0.3s ease-out all;
|
|
1275
1280
|
}
|
|
1276
1281
|
.ui-switch.checked {
|
|
1277
|
-
background: var(--color-primary);
|
|
1278
1282
|
border-color: var(--color-primary);
|
|
1279
1283
|
}
|
|
1280
1284
|
.ui-switch.checked small {
|
|
1281
|
-
left:
|
|
1285
|
+
left: 14px;
|
|
1286
|
+
background-color: var(--color-primary);
|
|
1282
1287
|
}
|
|
1283
1288
|
/*wider switch text moves small further to the right*/
|
|
1284
1289
|
.ui-switch.wide.checked small {
|
|
@@ -1319,39 +1324,10 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1319
1324
|
}
|
|
1320
1325
|
/* Switchery sizes. */
|
|
1321
1326
|
/* Switchery size shorthand classes */
|
|
1322
|
-
.switchery-small {
|
|
1323
|
-
border-radius: 20px;
|
|
1324
|
-
height: 20px;
|
|
1325
|
-
width: 33px;
|
|
1326
|
-
}
|
|
1327
|
-
.switchery-small > small,
|
|
1328
|
-
.sm > small {
|
|
1329
|
-
height: 20px;
|
|
1330
|
-
width: 20px;
|
|
1331
|
-
}
|
|
1332
|
-
.ui-switch.switchery-small.checked small,
|
|
1333
|
-
.ui-switch.sm.checked small {
|
|
1334
|
-
left: 13px;
|
|
1335
|
-
}
|
|
1336
|
-
.switchery-large,
|
|
1337
|
-
.lg {
|
|
1338
|
-
border-radius: 40px;
|
|
1339
|
-
height: 40px;
|
|
1340
|
-
width: 66px;
|
|
1341
|
-
}
|
|
1342
|
-
.switchery-large > small,
|
|
1343
|
-
.lg > small {
|
|
1344
|
-
height: 40px;
|
|
1345
|
-
width: 40px;
|
|
1346
|
-
}
|
|
1347
|
-
.ui-switch.switchery-large.checked small,
|
|
1348
|
-
.ui-switch.lg.checked small {
|
|
1349
|
-
left: 26px;
|
|
1350
|
-
}
|
|
1351
1327
|
.kaihei-auth-switch {
|
|
1352
1328
|
display: inline-flex;
|
|
1353
|
-
width:
|
|
1354
|
-
height:
|
|
1329
|
+
width: 100px;
|
|
1330
|
+
height: 30px;
|
|
1355
1331
|
border-radius: 4px;
|
|
1356
1332
|
cursor: pointer;
|
|
1357
1333
|
}
|
|
@@ -1370,8 +1346,8 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1370
1346
|
font-size: 24px;
|
|
1371
1347
|
}
|
|
1372
1348
|
.kaihei-auth-switch .auth-status-item.close-status {
|
|
1373
|
-
border-top-left-radius:
|
|
1374
|
-
border-bottom-left-radius:
|
|
1349
|
+
border-top-left-radius: 8px;
|
|
1350
|
+
border-bottom-left-radius: 8px;
|
|
1375
1351
|
color: var(--color-error);
|
|
1376
1352
|
}
|
|
1377
1353
|
.kaihei-auth-switch .auth-status-item.close-status.active {
|
|
@@ -1380,14 +1356,14 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1380
1356
|
border-color: var(--color-error);
|
|
1381
1357
|
}
|
|
1382
1358
|
.kaihei-auth-switch .auth-status-item.open-status {
|
|
1383
|
-
border-top-right-radius:
|
|
1384
|
-
border-bottom-right-radius:
|
|
1385
|
-
color:
|
|
1359
|
+
border-top-right-radius: 8px;
|
|
1360
|
+
border-bottom-right-radius: 8px;
|
|
1361
|
+
color: var(--color-primary);
|
|
1386
1362
|
}
|
|
1387
1363
|
.kaihei-auth-switch .auth-status-item.open-status.active {
|
|
1388
1364
|
color: white;
|
|
1389
|
-
background-color:
|
|
1390
|
-
border-color:
|
|
1365
|
+
background-color: var(--color-primary);
|
|
1366
|
+
border-color: var(--color-primary);
|
|
1391
1367
|
}
|
|
1392
1368
|
.kaihei-auth-switch .auth-status-item.default-status {
|
|
1393
1369
|
border-left-width: 0;
|
|
@@ -1412,9 +1388,8 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1412
1388
|
|
|
1413
1389
|
.textarea-box {
|
|
1414
1390
|
position: relative;
|
|
1415
|
-
border
|
|
1416
|
-
border-
|
|
1417
|
-
border-radius: var(--button-radius);
|
|
1391
|
+
border: 1px solid var(--border-color);
|
|
1392
|
+
border-radius: 12px;
|
|
1418
1393
|
}
|
|
1419
1394
|
.textarea-box.show-max-length textarea {
|
|
1420
1395
|
padding-right: 24px;
|
|
@@ -1422,17 +1397,35 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1422
1397
|
.textarea-box textarea {
|
|
1423
1398
|
width: 100%;
|
|
1424
1399
|
height: 70px;
|
|
1425
|
-
padding: 8px 0 0
|
|
1400
|
+
padding: 8px 0 0 16px;
|
|
1426
1401
|
border: none;
|
|
1427
1402
|
background-color: initial;
|
|
1428
1403
|
color: inherit;
|
|
1429
1404
|
margin-top: 1px;
|
|
1430
|
-
border-radius: 6px;
|
|
1431
1405
|
line-height: 1.5;
|
|
1406
|
+
resize: none;
|
|
1432
1407
|
}
|
|
1433
1408
|
.textarea-box textarea::placeholder {
|
|
1434
1409
|
color: var(--text-tip-color);
|
|
1435
1410
|
}
|
|
1411
|
+
.textarea-box:hover:not(.disabled) {
|
|
1412
|
+
border-color: var(--border-hover-color);
|
|
1413
|
+
}
|
|
1414
|
+
.textarea-box:active {
|
|
1415
|
+
box-shadow: 0 0 3px var(--border-active-color);
|
|
1416
|
+
}
|
|
1417
|
+
.textarea-box:active:not(.disabled) {
|
|
1418
|
+
border-color: var(--border-hover-color);
|
|
1419
|
+
}
|
|
1420
|
+
.textarea-box:focus,
|
|
1421
|
+
.textarea-box.theme-focus {
|
|
1422
|
+
outline: none;
|
|
1423
|
+
border-color: var(--border-hover-color);
|
|
1424
|
+
box-shadow: 0 0 0 3px var(--border-active-color);
|
|
1425
|
+
}
|
|
1426
|
+
.textarea-box.disabled {
|
|
1427
|
+
opacity: 0.5;
|
|
1428
|
+
}
|
|
1436
1429
|
.textarea-box .footer {
|
|
1437
1430
|
font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
|
|
1438
1431
|
position: absolute;
|
|
@@ -1454,42 +1447,17 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1454
1447
|
.textarea-box.size-sm .footer {
|
|
1455
1448
|
bottom: 0px;
|
|
1456
1449
|
}
|
|
1457
|
-
.theme-textarea {
|
|
1458
|
-
border-radius: 6px;
|
|
1459
|
-
border-width: 1px;
|
|
1460
|
-
border-style: solid;
|
|
1461
|
-
border-color: var(--border-color);
|
|
1462
|
-
background-color: transparent;
|
|
1463
|
-
}
|
|
1464
|
-
.theme-textarea.disabled {
|
|
1465
|
-
opacity: 0.5;
|
|
1466
|
-
}
|
|
1467
|
-
.theme-dark .theme-textarea {
|
|
1468
|
-
background-color: transparent;
|
|
1469
|
-
}
|
|
1470
|
-
.theme-textarea:hover:not(.disabled) {
|
|
1471
|
-
border-color: var(--border-hover-color);
|
|
1472
|
-
}
|
|
1473
|
-
.theme-textarea:focus,
|
|
1474
|
-
.theme-textarea.theme-focus {
|
|
1475
|
-
outline: none;
|
|
1476
|
-
border-color: var(--border-hover-color);
|
|
1477
|
-
box-shadow: 0 0 0 3px var(--border-active-color);
|
|
1478
|
-
}
|
|
1479
|
-
.theme-textarea:active {
|
|
1480
|
-
box-shadow: 0 0 3px var(--border-active-color);
|
|
1481
|
-
}
|
|
1482
|
-
.theme-textarea:active:not(.disabled) {
|
|
1483
|
-
border-color: var(--border-hover-color);
|
|
1484
|
-
}
|
|
1485
1450
|
|
|
1451
|
+
.time-selector {
|
|
1452
|
+
position: relative;
|
|
1453
|
+
}
|
|
1486
1454
|
.time-selector-select {
|
|
1487
1455
|
position: relative;
|
|
1488
1456
|
height: 40px;
|
|
1489
1457
|
padding: 0 48px 0 16px;
|
|
1490
1458
|
line-height: 40px;
|
|
1491
1459
|
border: 1px solid var(--border-color);
|
|
1492
|
-
border-radius:
|
|
1460
|
+
border-radius: 12px;
|
|
1493
1461
|
font-size: 16px;
|
|
1494
1462
|
color: var(--text-color);
|
|
1495
1463
|
}
|
|
@@ -1513,14 +1481,17 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1513
1481
|
transition: transform 200ms linear;
|
|
1514
1482
|
}
|
|
1515
1483
|
.time-selector-option {
|
|
1516
|
-
position:
|
|
1484
|
+
position: absolute;
|
|
1485
|
+
width: 100%;
|
|
1517
1486
|
display: flex;
|
|
1518
1487
|
flex-wrap: wrap;
|
|
1519
1488
|
border-radius: 6px;
|
|
1489
|
+
background-color: var(--color-grey-bg);
|
|
1520
1490
|
box-shadow: var(--box-shadow);
|
|
1521
1491
|
overflow: hidden;
|
|
1522
1492
|
font-size: 14px;
|
|
1523
1493
|
color: var(--text-color);
|
|
1494
|
+
z-index: 1000;
|
|
1524
1495
|
}
|
|
1525
1496
|
.time-selector-option .footer {
|
|
1526
1497
|
height: 40px;
|
package/dist/ui-components.js
CHANGED
|
@@ -2803,7 +2803,7 @@ module.exports = require("react-dom");
|
|
|
2803
2803
|
/* 6 */
|
|
2804
2804
|
/***/ (function(module) {
|
|
2805
2805
|
|
|
2806
|
-
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.
|
|
2806
|
+
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.1.3\",\"description\":\"开黑啦 UI Components\",\"main\":\"dist/ui-components.js\",\"scripts\":{\"build\":\"webpack\",\"demo\":\"webpack-dev-server --config webpack.config.demo.js\"},\"keywords\":[\"UI\",\"Components\"],\"author\":\"yangchuan\",\"license\":\"ISC\",\"files\":[\"dist\"],\"devDependencies\":{\"@babel/core\":\"^7.15.5\",\"@babel/preset-env\":\"^7.15.6\",\"@babel/preset-react\":\"^7.14.5\",\"@webpack-cli/serve\":\"^1.6.0\",\"babel-loader\":\"^8.2.2\",\"classnames\":\"^2.3.1\",\"css-loader\":\"^2.1.1\",\"html-webpack-plugin\":\"^4.5.2\",\"less\":\"^4.1.2\",\"less-loader\":\"^5.0.0\",\"mini-css-extract-plugin\":\"^0.8.0\",\"prop-types\":\"^15.7.2\",\"react\":\"^16.9.0\",\"react-dom\":\"^16.9.0\",\"react-tooltip\":\"^4.2.21\",\"style-loader\":\"^1.0.0\",\"url-loader\":\"^2.1.0\",\"webpack\":\"^4.40.2\",\"webpack-cli\":\"^3.3.1\",\"webpack-dev-server\":\"^3.2.1\"},\"peerDependencies\":{\"react\":\"^16.9.0\",\"react-dom\":\"^16.9.0\"},\"browserslist\":{\"production\":[\">0.2%\",\"not dead\",\"not op_mini all\"],\"development\":[\"last 1 chrome version\",\"last 1 firefox version\",\"last 1 safari version\"]}}");
|
|
2807
2807
|
|
|
2808
2808
|
/***/ }),
|
|
2809
2809
|
/* 7 */
|
|
@@ -3990,48 +3990,94 @@ var friendship_Friendship = /*#__PURE__*/function (_Component) {
|
|
|
3990
3990
|
list.push( /*#__PURE__*/external_react_default.a.createElement("li", {
|
|
3991
3991
|
key: i,
|
|
3992
3992
|
className: external_classnames_default()('friendship-item', size)
|
|
3993
|
-
}, i < solid ? /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
3994
|
-
width: "
|
|
3995
|
-
height: "
|
|
3996
|
-
viewBox: "0 0
|
|
3993
|
+
}, i < solid ? value > 1000 ? /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
3994
|
+
width: "16px",
|
|
3995
|
+
height: "16px",
|
|
3996
|
+
viewBox: "0 0 16 16"
|
|
3997
3997
|
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
3998
|
-
id: "\
|
|
3998
|
+
id: "\u89C4\u8303",
|
|
3999
3999
|
stroke: "none",
|
|
4000
4000
|
strokeWidth: "1",
|
|
4001
4001
|
fill: "none",
|
|
4002
4002
|
fillRule: "evenodd"
|
|
4003
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4004
|
+
id: "Icons",
|
|
4005
|
+
transform: "translate(-1046.000000, -99.000000)"
|
|
4006
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4007
|
+
id: "Icon/Status/heart/solid",
|
|
4008
|
+
transform: "translate(1046.000000, 99.000000)"
|
|
4003
4009
|
}, /*#__PURE__*/external_react_default.a.createElement("rect", {
|
|
4004
|
-
id: "
|
|
4010
|
+
id: "bg",
|
|
4011
|
+
fill: "#037EF3",
|
|
4012
|
+
opacity: "0",
|
|
4005
4013
|
x: "0",
|
|
4006
4014
|
y: "0",
|
|
4007
|
-
width: "
|
|
4008
|
-
height: "
|
|
4015
|
+
width: "16",
|
|
4016
|
+
height: "16"
|
|
4009
4017
|
}), /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
4010
|
-
d: "
|
|
4018
|
+
d: "M7.99938095,4.57885678 L8.13319168,4.45756486 C10.0073078,2.75853096 10.7438561,2.78216485 12.2082694,4.15537999 L12.6080279,4.54397904 L12.9699236,4.91534863 L13.2794189,5.25793962 C14.2224383,6.35843642 14.2726472,7.0766575 13.2353103,8.38627962 L12.8912881,8.79788196 L12.4808448,9.25081043 L12.0028119,9.75090708 L11.1965922,10.5622149 L10.7123012,11.0353495 L10.517758,11.2393604 L10.304014,11.456021 C9.43215895,12.327876 8.82291292,12.8111211 8.17732284,12.8459657 L8.00012712,12.8443065 C7.34522529,12.8914834 6.7540587,12.4848243 5.92747846,11.6841197 L5.69598603,11.456021 C5.54760463,11.3076396 5.41047923,11.1668646 5.28490457,11.0322223 L4.54397904,10.304014 L3.99718814,9.75090708 L3.51915522,9.25081043 L3.10871187,8.79788196 C1.7262391,7.21647896 1.68325974,6.4684861 2.72058106,5.25793962 L3.03007645,4.91534863 L3.39197206,4.54397904 C5.17396461,2.76198649 5.85889099,2.60343708 7.99938095,4.57885678 Z",
|
|
4011
4019
|
id: "\u8DEF\u5F84",
|
|
4012
|
-
fill: "currentColor"
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4020
|
+
fill: "currentColor",
|
|
4021
|
+
fillRule: "nonzero"
|
|
4022
|
+
}))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
4023
|
+
width: "16px",
|
|
4024
|
+
height: "16px",
|
|
4025
|
+
viewBox: "0 0 16 16"
|
|
4026
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4027
|
+
id: "\u89C4\u8303",
|
|
4028
|
+
stroke: "none",
|
|
4029
|
+
strokeWidth: "1",
|
|
4030
|
+
fill: "none",
|
|
4031
|
+
fillRule: "evenodd"
|
|
4032
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4033
|
+
id: "Icons",
|
|
4034
|
+
transform: "translate(-1118.000000, -99.000000)"
|
|
4035
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4036
|
+
id: "Icon/Status/heart/broken",
|
|
4037
|
+
transform: "translate(1118.000000, 99.000000)"
|
|
4038
|
+
}, /*#__PURE__*/external_react_default.a.createElement("rect", {
|
|
4039
|
+
id: "bg",
|
|
4040
|
+
fill: "#037EF3",
|
|
4041
|
+
opacity: "0",
|
|
4042
|
+
x: "0",
|
|
4043
|
+
y: "0",
|
|
4044
|
+
width: "16",
|
|
4045
|
+
height: "16"
|
|
4046
|
+
}), /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
4047
|
+
d: "M12.2082694,4.15537999 L12.6080279,4.54397904 L12.9699236,4.91534863 L13.2794189,5.25793962 C14.2224383,6.35843642 14.2726472,7.0766575 13.2353103,8.38627962 L12.8912881,8.79788196 L12.4808448,9.25081043 L12.0028119,9.75090708 L11.1965922,10.5622149 L10.7123012,11.0353495 L10.517758,11.2393604 L10.304014,11.456021 C9.43215895,12.327876 8.82291292,12.8111211 8.17732284,12.8459657 L8.00012712,12.8443065 C7.7562096,12.8618775 7.52113332,12.8164931 7.27944262,12.7112426 L9.1887964,8.76528954 L8.19777042,6.54752876 L8.89406295,3.8171058 C10.2403668,2.79484939 10.9598065,2.98466662 12.2082694,4.15537999 Z M7.22855341,3.91217049 L6.67678556,6.54752876 L8.01161443,8.76528954 L6.77884966,12.4191104 C6.51787045,12.2323844 6.23944069,11.9863161 5.92747846,11.6841197 L5.69598603,11.456021 L5.28490457,11.0322223 L5.28490457,11.0322223 L4.54397904,10.304014 L3.99718814,9.75090708 L3.51915522,9.25081043 L3.10871187,8.79788196 C1.7262391,7.21647896 1.68325974,6.4684861 2.72058106,5.25793962 L3.03007645,4.91534863 L3.39197206,4.54397904 L3.70116574,4.2411199 C5.04426448,2.95800136 5.76908577,2.75815664 7.22855341,3.91217049 Z",
|
|
4048
|
+
id: "\u5F62\u72B6",
|
|
4049
|
+
fill: "currentColor",
|
|
4050
|
+
fillRule: "nonzero"
|
|
4051
|
+
}))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
4052
|
+
width: "16px",
|
|
4053
|
+
height: "16px",
|
|
4054
|
+
viewBox: "0 0 16 16"
|
|
4017
4055
|
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4018
|
-
id: "\
|
|
4056
|
+
id: "\u89C4\u8303",
|
|
4019
4057
|
stroke: "none",
|
|
4020
4058
|
strokeWidth: "1",
|
|
4021
4059
|
fill: "none",
|
|
4022
4060
|
fillRule: "evenodd"
|
|
4061
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4062
|
+
id: "Icons",
|
|
4063
|
+
transform: "translate(-1082.000000, -99.000000)"
|
|
4064
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4065
|
+
id: "Icon/Status/heart/outline",
|
|
4066
|
+
transform: "translate(1082.000000, 99.000000)"
|
|
4023
4067
|
}, /*#__PURE__*/external_react_default.a.createElement("rect", {
|
|
4024
|
-
id: "
|
|
4068
|
+
id: "bg",
|
|
4069
|
+
fill: "#037EF3",
|
|
4070
|
+
opacity: "0",
|
|
4025
4071
|
x: "0",
|
|
4026
4072
|
y: "0",
|
|
4027
|
-
width: "
|
|
4028
|
-
height: "
|
|
4073
|
+
width: "16",
|
|
4074
|
+
height: "16"
|
|
4029
4075
|
}), /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
4030
|
-
d: "
|
|
4076
|
+
d: "M8.0802226,4.04979046 L8,4.118 L7.86075974,4.00097345 C6.12373457,2.56540768 5.15265054,2.74117731 3.42851078,4.46531707 L3.09735899,4.80506626 L2.8032991,5.12993213 C1.63478956,6.49325784 1.73600509,7.49997414 3.14611708,9.11299348 L3.52263625,9.5286286 L3.96374543,9.99040483 L4.46288783,10.4954334 L5.13583834,11.1569206 L5.30038372,11.3300961 L5.71361083,11.743093 C6.64483396,12.6451949 7.27168184,13.0139044 8.04322465,12.9583251 L8.15397256,12.9613428 C8.87353865,12.9236281 9.43723102,12.5680195 10.3067109,11.7232537 L10.6931114,11.3368037 L10.875291,11.1458835 L11.2962249,10.735172 L12.0281272,9.99874377 L12.4664842,9.54031784 L12.8467628,9.12099298 L13.1721504,8.73243533 C14.2692576,7.34768826 14.2677221,6.37948971 13.2070849,5.14173375 L12.918155,4.82160024 L12.576935,4.47083362 L12.1978593,4.10216854 C10.7143721,2.71106739 9.7267848,2.66977457 8.0802226,4.04979046 Z M7.5925212,5.361896 C7.82082969,5.5725978 8.17221666,5.57417033 8.40240184,5.36552038 L8.82341891,4.98887715 L9.09191987,4.76298239 C9.89627629,4.11291656 10.2879228,4.08015429 10.9311373,4.58664986 L11.1433948,4.76443027 L11.3692259,4.97006857 L11.7290086,5.31980771 L12.0432214,5.64256128 L12.3062532,5.93435919 C12.9769116,6.71732917 12.9774328,7.04593881 12.2414484,7.97510788 L11.9417882,8.33331009 L11.5881569,8.72283017 L11.1688068,9.16122792 L10.4513365,9.88306598 L10.0217792,10.3026359 L9.83176226,10.5013554 L9.6464833,10.6890395 L9.49639801,10.837379 L9.22329663,11.0962289 C8.71113498,11.5651291 8.3950153,11.7477892 8.12725366,11.7622412 L8.0057324,11.7599021 C7.65689771,11.7831871 7.30589059,11.5930452 6.6973227,11.0230964 L6.34750721,10.6830336 L6.10292892,10.4336458 C6.06545493,10.3945516 6.02957111,10.3566258 5.99519593,10.3197684 L5.31015691,9.645692 L4.82416263,9.15399553 L4.40096359,8.71114093 L4.04244413,8.31519455 L3.79415629,8.02346816 C3.00375215,7.06298642 3.03303559,6.70572086 3.70413083,5.92255757 L3.97229265,5.6260273 L4.28248466,5.30832865 L4.56371039,5.03148587 L4.81614123,4.79562015 C5.69507591,4.00607509 6.0947157,4.04572723 7.13048327,4.94566818 L7.42957513,5.21245945 C7.48233175,5.26048737 7.53661219,5.31029857 7.5925212,5.361896 Z",
|
|
4031
4077
|
id: "\u8DEF\u5F84",
|
|
4032
4078
|
fill: "currentColor",
|
|
4033
4079
|
fillRule: "nonzero"
|
|
4034
|
-
})))));
|
|
4080
|
+
})))))));
|
|
4035
4081
|
}
|
|
4036
4082
|
|
|
4037
4083
|
return /*#__PURE__*/external_react_default.a.createElement("ul", {
|
|
@@ -5099,53 +5145,7 @@ var radio_Radio = /*#__PURE__*/function (_Component) {
|
|
|
5099
5145
|
onClick: function onClick() {
|
|
5100
5146
|
return _this2.handleClick();
|
|
5101
5147
|
}
|
|
5102
|
-
}
|
|
5103
|
-
width: "14px",
|
|
5104
|
-
height: "14px",
|
|
5105
|
-
viewBox: "0 0 14 14",
|
|
5106
|
-
version: "1.1",
|
|
5107
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5108
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5109
|
-
id: "10\u6708",
|
|
5110
|
-
stroke: "none",
|
|
5111
|
-
strokeWidth: "1",
|
|
5112
|
-
fill: "none",
|
|
5113
|
-
fillRule: "evenodd"
|
|
5114
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5115
|
-
id: "\u5355\u9009\u63A7\u4EF6",
|
|
5116
|
-
transform: "translate(-443.000000, -178.000000)",
|
|
5117
|
-
fill: "currentColor",
|
|
5118
|
-
fillRule: "nonzero"
|
|
5119
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5120
|
-
id: "\u7F16\u7EC4",
|
|
5121
|
-
transform: "translate(140.000000, 113.000000)"
|
|
5122
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5123
|
-
d: "M310,65 C313.865993,65 317,68.1340068 317,72 C317,75.8659932 313.865993,79 310,79 C306.134007,79 303,75.8659932 303,72 C303,68.1340068 306.134007,65 310,65 Z M310,66.5 C306.962434,66.5 304.5,68.9624339 304.5,72 C304.5,75.0375661 306.962434,77.5 310,77.5 C313.037566,77.5 315.5,75.0375661 315.5,72 C315.5,68.9624339 313.037566,66.5 310,66.5 Z M310,68 C312.209139,68 314,69.790861 314,72 C314,74.209139 312.209139,76 310,76 C307.790861,76 306,74.209139 306,72 C306,69.790861 307.790861,68 310,68 Z",
|
|
5124
|
-
id: "\u5355\u9009\u9009\u4E2D"
|
|
5125
|
-
}))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
5126
|
-
width: "14px",
|
|
5127
|
-
height: "14px",
|
|
5128
|
-
viewBox: "0 0 14 14",
|
|
5129
|
-
version: "1.1",
|
|
5130
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5131
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5132
|
-
id: "10\u6708",
|
|
5133
|
-
stroke: "none",
|
|
5134
|
-
strokeWidth: "1",
|
|
5135
|
-
fill: "none",
|
|
5136
|
-
fillRule: "evenodd"
|
|
5137
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5138
|
-
id: "\u5355\u9009\u63A7\u4EF6",
|
|
5139
|
-
transform: "translate(-365.000000, -178.000000)",
|
|
5140
|
-
fill: "currentColor",
|
|
5141
|
-
fillRule: "nonzero"
|
|
5142
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5143
|
-
id: "\u7F16\u7EC4",
|
|
5144
|
-
transform: "translate(140.000000, 113.000000)"
|
|
5145
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5146
|
-
d: "M232,65 C235.865993,65 239,68.1340068 239,72 C239,75.8659932 235.865993,79 232,79 C228.134007,79 225,75.8659932 225,72 C225,68.1340068 228.134007,65 232,65 Z M232,66.5 C228.962434,66.5 226.5,68.9624339 226.5,72 C226.5,75.0375661 228.962434,77.5 232,77.5 C235.037566,77.5 237.5,75.0375661 237.5,72 C237.5,68.9624339 235.037566,66.5 232,66.5 Z",
|
|
5147
|
-
id: "\u5355\u9009\u9ED8\u8BA4"
|
|
5148
|
-
}))))));
|
|
5148
|
+
});
|
|
5149
5149
|
}
|
|
5150
5150
|
}]);
|
|
5151
5151
|
|
|
@@ -5211,53 +5211,7 @@ var radio_RadioForm = /*#__PURE__*/function (_Component2) {
|
|
|
5211
5211
|
className: external_classnames_default()('kaihei-radio', className, {
|
|
5212
5212
|
'checked': is_checked
|
|
5213
5213
|
})
|
|
5214
|
-
},
|
|
5215
|
-
width: "14px",
|
|
5216
|
-
height: "14px",
|
|
5217
|
-
viewBox: "0 0 14 14",
|
|
5218
|
-
version: "1.1",
|
|
5219
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5220
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5221
|
-
id: "10\u6708",
|
|
5222
|
-
stroke: "none",
|
|
5223
|
-
strokeWidth: "1",
|
|
5224
|
-
fill: "none",
|
|
5225
|
-
fillRule: "evenodd"
|
|
5226
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5227
|
-
id: "\u5355\u9009\u63A7\u4EF6",
|
|
5228
|
-
transform: "translate(-443.000000, -178.000000)",
|
|
5229
|
-
fill: "currentColor",
|
|
5230
|
-
fillRule: "nonzero"
|
|
5231
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5232
|
-
id: "\u7F16\u7EC4",
|
|
5233
|
-
transform: "translate(140.000000, 113.000000)"
|
|
5234
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5235
|
-
d: "M310,65 C313.865993,65 317,68.1340068 317,72 C317,75.8659932 313.865993,79 310,79 C306.134007,79 303,75.8659932 303,72 C303,68.1340068 306.134007,65 310,65 Z M310,66.5 C306.962434,66.5 304.5,68.9624339 304.5,72 C304.5,75.0375661 306.962434,77.5 310,77.5 C313.037566,77.5 315.5,75.0375661 315.5,72 C315.5,68.9624339 313.037566,66.5 310,66.5 Z M310,68 C312.209139,68 314,69.790861 314,72 C314,74.209139 312.209139,76 310,76 C307.790861,76 306,74.209139 306,72 C306,69.790861 307.790861,68 310,68 Z",
|
|
5236
|
-
id: "\u5355\u9009\u9009\u4E2D"
|
|
5237
|
-
}))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
5238
|
-
width: "14px",
|
|
5239
|
-
height: "14px",
|
|
5240
|
-
viewBox: "0 0 14 14",
|
|
5241
|
-
version: "1.1",
|
|
5242
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5243
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5244
|
-
id: "10\u6708",
|
|
5245
|
-
stroke: "none",
|
|
5246
|
-
strokeWidth: "1",
|
|
5247
|
-
fill: "none",
|
|
5248
|
-
fillRule: "evenodd"
|
|
5249
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5250
|
-
id: "\u5355\u9009\u63A7\u4EF6",
|
|
5251
|
-
transform: "translate(-365.000000, -178.000000)",
|
|
5252
|
-
fill: "currentColor",
|
|
5253
|
-
fillRule: "nonzero"
|
|
5254
|
-
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5255
|
-
id: "\u7F16\u7EC4",
|
|
5256
|
-
transform: "translate(140.000000, 113.000000)"
|
|
5257
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5258
|
-
d: "M232,65 C235.865993,65 239,68.1340068 239,72 C239,75.8659932 235.865993,79 232,79 C228.134007,79 225,75.8659932 225,72 C225,68.1340068 228.134007,65 232,65 Z M232,66.5 C228.962434,66.5 226.5,68.9624339 226.5,72 C226.5,75.0375661 228.962434,77.5 232,77.5 C235.037566,77.5 237.5,75.0375661 237.5,72 C237.5,68.9624339 235.037566,66.5 232,66.5 Z",
|
|
5259
|
-
id: "\u5355\u9009\u9ED8\u8BA4"
|
|
5260
|
-
})))))), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5214
|
+
}), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5261
5215
|
className: "label"
|
|
5262
5216
|
}, item.label));
|
|
5263
5217
|
}));
|
|
@@ -6786,7 +6740,7 @@ var textarea_Textarea = /*#__PURE__*/function (_Component) {
|
|
|
6786
6740
|
value = _this$state$value === void 0 ? '' : _this$state$value;
|
|
6787
6741
|
var length = (this.props.maxLength || this.maxLength) - value.length;
|
|
6788
6742
|
return /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
6789
|
-
className: external_classnames_default()('textarea-box
|
|
6743
|
+
className: external_classnames_default()('textarea-box', className, size ? "size-".concat(size) : '', {
|
|
6790
6744
|
'theme-focus': themeFocus && focus,
|
|
6791
6745
|
disabled: disabled,
|
|
6792
6746
|
'show-max-length': showMaxLength
|