@officesdk/design 0.1.8 → 0.1.9
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/cjs/index.d.ts +339 -13
- package/dist/components/cjs/index.js +1260 -287
- package/dist/components/cjs/index.js.map +1 -1
- package/dist/components/esm/index.d.ts +339 -13
- package/dist/components/esm/index.js +1253 -289
- package/dist/components/esm/index.js.map +1 -1
- package/dist/theme/cjs/index.js +260 -155
- package/dist/theme/cjs/index.js.map +1 -1
- package/dist/theme/esm/index.js +260 -155
- package/dist/theme/esm/index.js.map +1 -1
- package/package.json +4 -2
package/dist/theme/esm/index.js
CHANGED
|
@@ -605,16 +605,6 @@ var toast = {
|
|
|
605
605
|
|
|
606
606
|
// src/light/components/input.ts
|
|
607
607
|
var input = {
|
|
608
|
-
icons: {
|
|
609
|
-
search: {
|
|
610
|
-
url: "",
|
|
611
|
-
size: { width: "16px", height: "16px" }
|
|
612
|
-
},
|
|
613
|
-
clear: {
|
|
614
|
-
url: "",
|
|
615
|
-
size: { width: "16px", height: "16px" }
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
608
|
outlined: {
|
|
619
609
|
state: {
|
|
620
610
|
borderColor: colors.palettes.transparency["10"],
|
|
@@ -627,13 +617,22 @@ var input = {
|
|
|
627
617
|
backgroundHover: colors.palettes.gray["0"],
|
|
628
618
|
backgroundActive: colors.palettes.gray["0"],
|
|
629
619
|
backgroundDisabled: colors.palettes.gray["5"],
|
|
630
|
-
backgroundReadonly: colors.palettes.gray["2"]
|
|
620
|
+
backgroundReadonly: colors.palettes.gray["2"],
|
|
621
|
+
placeholderColorNormal: colors.palettes.transparency["30"],
|
|
622
|
+
placeholderColorHover: colors.palettes.transparency["30"],
|
|
623
|
+
textColorNormal: colors.palettes.gray["120"],
|
|
624
|
+
textColorDisabled: colors.palettes.transparency["30"]
|
|
631
625
|
},
|
|
632
626
|
mini: {
|
|
627
|
+
height: "20px",
|
|
633
628
|
borderRadius: "4px",
|
|
629
|
+
padding: "0px 4px",
|
|
630
|
+
contentPadding: "0px 0",
|
|
631
|
+
gap: "4px",
|
|
634
632
|
iconSize: { width: "12px", height: "12px" },
|
|
635
|
-
|
|
636
|
-
|
|
633
|
+
clearIcon: {
|
|
634
|
+
size: { width: "12px", height: "12px" }
|
|
635
|
+
},
|
|
637
636
|
fontSize: "12px",
|
|
638
637
|
lineHeight: "20px",
|
|
639
638
|
boxShadow: "none",
|
|
@@ -642,10 +641,15 @@ var input = {
|
|
|
642
641
|
boxShadowDisabled: "none"
|
|
643
642
|
},
|
|
644
643
|
small: {
|
|
644
|
+
height: "24px",
|
|
645
645
|
borderRadius: "4px",
|
|
646
|
+
padding: "0px 4px",
|
|
647
|
+
contentPadding: "2px 4px",
|
|
648
|
+
gap: "4px",
|
|
646
649
|
iconSize: { width: "14px", height: "14px" },
|
|
647
|
-
|
|
648
|
-
|
|
650
|
+
clearIcon: {
|
|
651
|
+
size: { width: "14px", height: "14px" }
|
|
652
|
+
},
|
|
649
653
|
fontSize: "12px",
|
|
650
654
|
lineHeight: "20px",
|
|
651
655
|
boxShadow: "none",
|
|
@@ -654,22 +658,15 @@ var input = {
|
|
|
654
658
|
boxShadowDisabled: "none"
|
|
655
659
|
},
|
|
656
660
|
medium: {
|
|
657
|
-
borderRadius: "4px",
|
|
658
|
-
iconSize: { width: "18px", height: "18px" },
|
|
659
|
-
padding: "4px 8px",
|
|
660
661
|
height: "32px",
|
|
661
|
-
fontSize: "13px",
|
|
662
|
-
lineHeight: "20px",
|
|
663
|
-
boxShadow: "none",
|
|
664
|
-
boxShadowHover: "none",
|
|
665
|
-
boxShadowActive: "0 2px 8px 0 rgba(0, 0, 0, 0.04)",
|
|
666
|
-
boxShadowDisabled: "none"
|
|
667
|
-
},
|
|
668
|
-
large: {
|
|
669
662
|
borderRadius: "4px",
|
|
663
|
+
padding: "2px 8px",
|
|
664
|
+
contentPadding: "4px",
|
|
665
|
+
gap: "4px",
|
|
670
666
|
iconSize: { width: "18px", height: "18px" },
|
|
671
|
-
|
|
672
|
-
|
|
667
|
+
clearIcon: {
|
|
668
|
+
size: { width: "18px", height: "18px" }
|
|
669
|
+
},
|
|
673
670
|
fontSize: "13px",
|
|
674
671
|
lineHeight: "20px",
|
|
675
672
|
boxShadow: "none",
|
|
@@ -677,11 +674,16 @@ var input = {
|
|
|
677
674
|
boxShadowActive: "0 2px 8px 0 rgba(0, 0, 0, 0.04)",
|
|
678
675
|
boxShadowDisabled: "none"
|
|
679
676
|
},
|
|
680
|
-
|
|
677
|
+
large: {
|
|
678
|
+
height: "40px",
|
|
681
679
|
borderRadius: "4px",
|
|
680
|
+
padding: "4px 4px 4px 12px",
|
|
681
|
+
contentPadding: "4px 8px",
|
|
682
|
+
gap: "4px",
|
|
682
683
|
iconSize: { width: "20px", height: "20px" },
|
|
683
|
-
|
|
684
|
-
|
|
684
|
+
clearIcon: {
|
|
685
|
+
size: { width: "20px", height: "20px" }
|
|
686
|
+
},
|
|
685
687
|
fontSize: "14px",
|
|
686
688
|
lineHeight: "24px",
|
|
687
689
|
boxShadow: "none",
|
|
@@ -692,73 +694,85 @@ var input = {
|
|
|
692
694
|
},
|
|
693
695
|
underlined: {
|
|
694
696
|
state: {
|
|
695
|
-
borderColor:
|
|
697
|
+
borderColor: "transparent",
|
|
696
698
|
borderColorHover: colors.palettes.transparency["20"],
|
|
697
699
|
borderColorActive: colors.palettes.transparency["30"],
|
|
698
|
-
borderColorDisabled:
|
|
700
|
+
borderColorDisabled: "transparent",
|
|
699
701
|
borderColorError: colors.palettes.red["6"],
|
|
700
|
-
borderColorReadonly:
|
|
702
|
+
borderColorReadonly: "transparent",
|
|
701
703
|
background: "transparent",
|
|
702
704
|
backgroundHover: "transparent",
|
|
703
705
|
backgroundActive: "transparent",
|
|
704
706
|
backgroundDisabled: "transparent",
|
|
705
|
-
backgroundReadonly: "transparent"
|
|
707
|
+
backgroundReadonly: "transparent",
|
|
708
|
+
placeholderColorNormal: colors.palettes.transparency["30"],
|
|
709
|
+
placeholderColorHover: colors.palettes.transparency["30"],
|
|
710
|
+
textColorNormal: colors.palettes.gray["120"],
|
|
711
|
+
textColorDisabled: colors.palettes.transparency["30"]
|
|
706
712
|
},
|
|
707
713
|
mini: {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
714
|
+
height: "24px",
|
|
715
|
+
padding: "0 4px",
|
|
716
|
+
contentPadding: "4px 0 4px 4px",
|
|
717
|
+
gap: "4px",
|
|
712
718
|
fontSize: "12px",
|
|
713
719
|
lineHeight: "20px",
|
|
720
|
+
iconSize: { width: "16px", height: "16px" },
|
|
721
|
+
clearIcon: {
|
|
722
|
+
size: { width: "16px", height: "16px" }
|
|
723
|
+
},
|
|
724
|
+
borderRadius: "4px",
|
|
714
725
|
boxShadow: "none",
|
|
715
726
|
boxShadowHover: "none",
|
|
716
727
|
boxShadowActive: "none",
|
|
717
728
|
boxShadowDisabled: "none"
|
|
718
729
|
},
|
|
719
730
|
small: {
|
|
720
|
-
borderRadius: "0",
|
|
721
|
-
iconSize: { width: "14px", height: "14px" },
|
|
722
|
-
padding: "2px 0",
|
|
723
731
|
height: "24px",
|
|
732
|
+
padding: "0 4px",
|
|
733
|
+
contentPadding: "4px 0 4px 4px",
|
|
734
|
+
gap: "4px",
|
|
724
735
|
fontSize: "12px",
|
|
725
736
|
lineHeight: "20px",
|
|
737
|
+
iconSize: { width: "16px", height: "16px" },
|
|
738
|
+
clearIcon: {
|
|
739
|
+
size: { width: "16px", height: "16px" }
|
|
740
|
+
},
|
|
741
|
+
borderRadius: "4px",
|
|
726
742
|
boxShadow: "none",
|
|
727
743
|
boxShadowHover: "none",
|
|
728
744
|
boxShadowActive: "none",
|
|
729
745
|
boxShadowDisabled: "none"
|
|
730
746
|
},
|
|
731
747
|
medium: {
|
|
732
|
-
borderRadius: "0",
|
|
733
|
-
iconSize: { width: "18px", height: "18px" },
|
|
734
|
-
padding: "4px 0",
|
|
735
748
|
height: "32px",
|
|
749
|
+
padding: "0 8px",
|
|
750
|
+
contentPadding: "6px 0 6px 4px",
|
|
751
|
+
gap: "4px",
|
|
736
752
|
fontSize: "13px",
|
|
737
753
|
lineHeight: "20px",
|
|
738
|
-
boxShadow: "none",
|
|
739
|
-
boxShadowHover: "none",
|
|
740
|
-
boxShadowActive: "none",
|
|
741
|
-
boxShadowDisabled: "none"
|
|
742
|
-
},
|
|
743
|
-
large: {
|
|
744
|
-
borderRadius: "0",
|
|
745
754
|
iconSize: { width: "18px", height: "18px" },
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
755
|
+
clearIcon: {
|
|
756
|
+
size: { width: "16px", height: "16px" }
|
|
757
|
+
},
|
|
758
|
+
borderRadius: "4px",
|
|
750
759
|
boxShadow: "none",
|
|
751
760
|
boxShadowHover: "none",
|
|
752
761
|
boxShadowActive: "none",
|
|
753
762
|
boxShadowDisabled: "none"
|
|
754
763
|
},
|
|
755
|
-
|
|
756
|
-
borderRadius: "0",
|
|
757
|
-
iconSize: { width: "20px", height: "20px" },
|
|
758
|
-
padding: "6px 0",
|
|
764
|
+
large: {
|
|
759
765
|
height: "40px",
|
|
766
|
+
padding: "10px 12px",
|
|
767
|
+
contentPadding: "0 0 0 4px",
|
|
768
|
+
gap: "4px",
|
|
760
769
|
fontSize: "14px",
|
|
761
770
|
lineHeight: "24px",
|
|
771
|
+
iconSize: { width: "20px", height: "20px" },
|
|
772
|
+
clearIcon: {
|
|
773
|
+
size: { width: "16px", height: "16px" }
|
|
774
|
+
},
|
|
775
|
+
borderRadius: "4px",
|
|
762
776
|
boxShadow: "none",
|
|
763
777
|
boxShadowHover: "none",
|
|
764
778
|
boxShadowActive: "none",
|
|
@@ -767,6 +781,14 @@ var input = {
|
|
|
767
781
|
}
|
|
768
782
|
};
|
|
769
783
|
|
|
784
|
+
// src/light/components/inputSearch.ts
|
|
785
|
+
var inputSearch = {
|
|
786
|
+
searchIcon: {
|
|
787
|
+
url: ""
|
|
788
|
+
// Empty means use default icon
|
|
789
|
+
}
|
|
790
|
+
};
|
|
791
|
+
|
|
770
792
|
// src/light/components/radio.ts
|
|
771
793
|
var radio = {
|
|
772
794
|
unchecked: {
|
|
@@ -941,100 +963,6 @@ var switchComponent = {
|
|
|
941
963
|
}
|
|
942
964
|
};
|
|
943
965
|
|
|
944
|
-
// src/light/components/dropdown.ts
|
|
945
|
-
var dropdown = {
|
|
946
|
-
icons: {
|
|
947
|
-
arrow: {
|
|
948
|
-
url: "",
|
|
949
|
-
size: { width: "12px", height: "12px" },
|
|
950
|
-
expandedRotateAngel: "180deg"
|
|
951
|
-
},
|
|
952
|
-
check: {
|
|
953
|
-
url: "",
|
|
954
|
-
size: { width: "14px", height: "14px" }
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
|
-
button: {
|
|
958
|
-
trigger: {
|
|
959
|
-
borderColor: colors.palettes.transparency["20"],
|
|
960
|
-
borderColorHover: colors.palettes.transparency["30"],
|
|
961
|
-
borderColorActive: colors.palettes.transparency["30"],
|
|
962
|
-
borderColorDisabled: colors.palettes.transparency["10"],
|
|
963
|
-
background: colors.palettes.gray["0"],
|
|
964
|
-
backgroundHover: colors.palettes.gray["0"],
|
|
965
|
-
backgroundActive: colors.palettes.gray["0"],
|
|
966
|
-
backgroundDisabled: colors.palettes.gray["5"],
|
|
967
|
-
color: colors.palettes.brand,
|
|
968
|
-
colorDisabled: colors.palettes.transparency["30"],
|
|
969
|
-
boxShadow: "none",
|
|
970
|
-
boxShadowHover: "none",
|
|
971
|
-
boxShadowActive: "0 2px 8px 0 rgba(0, 0, 0, 0.04)",
|
|
972
|
-
boxShadowDisabled: "none"
|
|
973
|
-
},
|
|
974
|
-
menu: {
|
|
975
|
-
background: colors.palettes.gray["0"],
|
|
976
|
-
borderColor: colors.palettes.transparency["10"],
|
|
977
|
-
borderRadius: "8px",
|
|
978
|
-
padding: "4px",
|
|
979
|
-
boxShadow: "0 8px 18px 0 rgba(0, 0, 0, 0.06)",
|
|
980
|
-
maxHeight: "280px"
|
|
981
|
-
},
|
|
982
|
-
menuItem: {
|
|
983
|
-
background: "transparent",
|
|
984
|
-
backgroundHover: colors.palettes.transparency["5"],
|
|
985
|
-
backgroundDisabled: "transparent",
|
|
986
|
-
backgroundSelected: colors.palettes.transparency["8"],
|
|
987
|
-
color: colors.palettes.brand,
|
|
988
|
-
colorDisabled: colors.palettes.transparency["30"],
|
|
989
|
-
padding: "8px 12px"
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
input: {
|
|
993
|
-
trigger: {
|
|
994
|
-
borderColor: colors.palettes.transparency["10"],
|
|
995
|
-
borderColorHover: colors.palettes.transparency["20"],
|
|
996
|
-
borderColorActive: colors.palettes.transparency["30"],
|
|
997
|
-
borderColorDisabled: colors.palettes.transparency["10"],
|
|
998
|
-
background: colors.palettes.gray["0"],
|
|
999
|
-
backgroundHover: colors.palettes.gray["0"],
|
|
1000
|
-
backgroundActive: colors.palettes.gray["0"],
|
|
1001
|
-
backgroundDisabled: colors.palettes.gray["5"],
|
|
1002
|
-
color: colors.palettes.brand,
|
|
1003
|
-
colorDisabled: colors.palettes.transparency["30"],
|
|
1004
|
-
boxShadow: "none",
|
|
1005
|
-
boxShadowHover: "none",
|
|
1006
|
-
boxShadowActive: "0 2px 8px 0 rgba(0, 0, 0, 0.04)",
|
|
1007
|
-
boxShadowDisabled: "none"
|
|
1008
|
-
},
|
|
1009
|
-
menu: {
|
|
1010
|
-
background: colors.palettes.gray["0"],
|
|
1011
|
-
borderColor: colors.palettes.transparency["10"],
|
|
1012
|
-
borderRadius: "8px",
|
|
1013
|
-
padding: "4px",
|
|
1014
|
-
boxShadow: "0 8px 18px 0 rgba(0, 0, 0, 0.06)",
|
|
1015
|
-
maxHeight: "280px"
|
|
1016
|
-
},
|
|
1017
|
-
menuItem: {
|
|
1018
|
-
background: "transparent",
|
|
1019
|
-
backgroundHover: colors.palettes.transparency["5"],
|
|
1020
|
-
backgroundDisabled: "transparent",
|
|
1021
|
-
backgroundSelected: colors.palettes.transparency["8"],
|
|
1022
|
-
color: colors.palettes.brand,
|
|
1023
|
-
colorDisabled: colors.palettes.transparency["30"],
|
|
1024
|
-
padding: "8px 12px"
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
large: {
|
|
1028
|
-
height: "36px",
|
|
1029
|
-
padding: "8px 12px",
|
|
1030
|
-
fontSize: "14px",
|
|
1031
|
-
lineHeight: "20px",
|
|
1032
|
-
borderRadius: "4px",
|
|
1033
|
-
fontWeight: 400,
|
|
1034
|
-
iconSize: { width: "16px", height: "16px" }
|
|
1035
|
-
}
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
966
|
// src/light/components/tab.ts
|
|
1039
967
|
var tab = {
|
|
1040
968
|
line: {
|
|
@@ -1279,10 +1207,185 @@ var toolbarButton = {
|
|
|
1279
1207
|
}
|
|
1280
1208
|
};
|
|
1281
1209
|
|
|
1210
|
+
// src/light/components/menu.ts
|
|
1211
|
+
var menu = {
|
|
1212
|
+
// Menu item configuration
|
|
1213
|
+
menuItem: {
|
|
1214
|
+
// Background states
|
|
1215
|
+
background: {
|
|
1216
|
+
normal: "transparent",
|
|
1217
|
+
hover: colors.palettes.transparency["5"],
|
|
1218
|
+
active: colors.palettes.transparency["10"],
|
|
1219
|
+
disabled: "transparent"
|
|
1220
|
+
},
|
|
1221
|
+
// Layout
|
|
1222
|
+
layout: {
|
|
1223
|
+
padding: "6px 12px",
|
|
1224
|
+
gap: "8px"
|
|
1225
|
+
},
|
|
1226
|
+
// Icon configuration
|
|
1227
|
+
icon: {
|
|
1228
|
+
size: { width: "18px", height: "18px" }
|
|
1229
|
+
},
|
|
1230
|
+
// Label configuration
|
|
1231
|
+
label: {
|
|
1232
|
+
color: {
|
|
1233
|
+
normal: colors.palettes.gray["100"],
|
|
1234
|
+
hover: colors.palettes.gray["100"],
|
|
1235
|
+
active: colors.palettes.gray["100"],
|
|
1236
|
+
disabled: colors.palettes.transparency["30"]
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
// Description configuration
|
|
1240
|
+
description: {
|
|
1241
|
+
color: {
|
|
1242
|
+
normal: colors.palettes.transparency["60"],
|
|
1243
|
+
hover: colors.palettes.transparency["60"],
|
|
1244
|
+
active: colors.palettes.transparency["60"],
|
|
1245
|
+
disabled: colors.palettes.transparency["30"]
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
// Active/selected icon (checkmark)
|
|
1249
|
+
activeIcon: {
|
|
1250
|
+
url: ""
|
|
1251
|
+
// Use default checkmark
|
|
1252
|
+
},
|
|
1253
|
+
// Next level icon (arrow for submenu)
|
|
1254
|
+
nextLevelIcon: {
|
|
1255
|
+
url: ""
|
|
1256
|
+
// Use default arrow
|
|
1257
|
+
},
|
|
1258
|
+
// Size configurations
|
|
1259
|
+
size: {
|
|
1260
|
+
// Medium size (S - 28px)
|
|
1261
|
+
medium: {
|
|
1262
|
+
label: {
|
|
1263
|
+
fontSize: "12px",
|
|
1264
|
+
maxWidth: "200px"
|
|
1265
|
+
},
|
|
1266
|
+
description: {
|
|
1267
|
+
fontSize: "10px",
|
|
1268
|
+
maxWidth: "150px"
|
|
1269
|
+
},
|
|
1270
|
+
activeIcon: {
|
|
1271
|
+
size: { width: "16px", height: "16px" }
|
|
1272
|
+
},
|
|
1273
|
+
nextLevelIcon: {
|
|
1274
|
+
size: { width: "16px", height: "16px" }
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1277
|
+
// Large size (M - 36px)
|
|
1278
|
+
large: {
|
|
1279
|
+
label: {
|
|
1280
|
+
fontSize: "13px",
|
|
1281
|
+
maxWidth: "250px"
|
|
1282
|
+
},
|
|
1283
|
+
description: {
|
|
1284
|
+
fontSize: "10px",
|
|
1285
|
+
maxWidth: "180px"
|
|
1286
|
+
},
|
|
1287
|
+
activeIcon: {
|
|
1288
|
+
size: { width: "18px", height: "18px" }
|
|
1289
|
+
},
|
|
1290
|
+
nextLevelIcon: {
|
|
1291
|
+
size: { width: "18px", height: "18px" }
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
// Border configuration
|
|
1297
|
+
border: {
|
|
1298
|
+
color: colors.palettes.transparency["10"],
|
|
1299
|
+
width: "1px",
|
|
1300
|
+
radius: borderRadius.medium
|
|
1301
|
+
},
|
|
1302
|
+
// Divider configuration
|
|
1303
|
+
divider: {
|
|
1304
|
+
background: colors.palettes.transparency["10"],
|
|
1305
|
+
height: "1px",
|
|
1306
|
+
margin: "4px 0"
|
|
1307
|
+
},
|
|
1308
|
+
// Group title configuration
|
|
1309
|
+
groupTitle: {
|
|
1310
|
+
fontSize: "12px",
|
|
1311
|
+
fontWeight: "500",
|
|
1312
|
+
color: colors.palettes.transparency["60"]
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
|
|
1316
|
+
// src/light/components/dropdown.ts
|
|
1317
|
+
var dropdown = {
|
|
1318
|
+
borderRadius: borderRadius.medium,
|
|
1319
|
+
border: `1px solid ${colors.palettes.transparency["10"]}`,
|
|
1320
|
+
background: colors.palettes.gray["0"],
|
|
1321
|
+
boxShadow: boxShadow.large,
|
|
1322
|
+
padding: "4px 0"
|
|
1323
|
+
};
|
|
1324
|
+
var dropdownButton = {
|
|
1325
|
+
// Color states
|
|
1326
|
+
color: {
|
|
1327
|
+
normal: colors.palettes.gray["100"],
|
|
1328
|
+
hover: colors.palettes.gray["100"],
|
|
1329
|
+
active: colors.palettes.gray["100"],
|
|
1330
|
+
disabled: colors.palettes.transparency["30"]
|
|
1331
|
+
},
|
|
1332
|
+
// Background states
|
|
1333
|
+
background: {
|
|
1334
|
+
normal: colors.palettes.gray["0"],
|
|
1335
|
+
hover: colors.palettes.gray["0"],
|
|
1336
|
+
active: colors.palettes.gray["0"],
|
|
1337
|
+
disabled: colors.palettes.gray["5"]
|
|
1338
|
+
},
|
|
1339
|
+
// Icon configuration
|
|
1340
|
+
icon: {
|
|
1341
|
+
size: { width: "18px", height: "18px" },
|
|
1342
|
+
opacity: {
|
|
1343
|
+
normal: "1",
|
|
1344
|
+
hover: "1",
|
|
1345
|
+
active: "1",
|
|
1346
|
+
disabled: "0.3"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
// Indicator (arrow) configuration
|
|
1350
|
+
indicator: {
|
|
1351
|
+
url: "",
|
|
1352
|
+
// Use default arrow
|
|
1353
|
+
size: { width: "18px", height: "18px" },
|
|
1354
|
+
rotate: "90deg",
|
|
1355
|
+
// Arrow points right by default, rotate to point down
|
|
1356
|
+
opacity: {
|
|
1357
|
+
normal: "1",
|
|
1358
|
+
hover: "1",
|
|
1359
|
+
active: "1",
|
|
1360
|
+
disabled: "0.3"
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
// Size configurations
|
|
1364
|
+
size: {
|
|
1365
|
+
large: {
|
|
1366
|
+
padding: "10px 16px",
|
|
1367
|
+
fontSize: "13px",
|
|
1368
|
+
height: "40px",
|
|
1369
|
+
gap: "8px",
|
|
1370
|
+
iconSize: { width: "18px", height: "18px" },
|
|
1371
|
+
indicatorSize: { width: "18px", height: "18px" }
|
|
1372
|
+
},
|
|
1373
|
+
medium: {
|
|
1374
|
+
padding: "4px 8px",
|
|
1375
|
+
fontSize: "13px",
|
|
1376
|
+
height: "28px",
|
|
1377
|
+
gap: "8px",
|
|
1378
|
+
iconSize: { width: "18px", height: "18px" },
|
|
1379
|
+
indicatorSize: { width: "18px", height: "18px" }
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1282
1384
|
// src/light/components/index.ts
|
|
1283
1385
|
var components = {
|
|
1284
1386
|
toast,
|
|
1285
1387
|
input,
|
|
1388
|
+
inputSearch,
|
|
1286
1389
|
radio,
|
|
1287
1390
|
checkbox,
|
|
1288
1391
|
switch: switchComponent,
|
|
@@ -1292,7 +1395,9 @@ var components = {
|
|
|
1292
1395
|
slider,
|
|
1293
1396
|
inputNumber,
|
|
1294
1397
|
tooltip,
|
|
1295
|
-
toolbarButton
|
|
1398
|
+
toolbarButton,
|
|
1399
|
+
menu,
|
|
1400
|
+
dropdownButton
|
|
1296
1401
|
};
|
|
1297
1402
|
|
|
1298
1403
|
// src/light/index.ts
|