@ultraviolet/ui 1.56.0 → 1.57.0
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/Alert/index.cjs +1 -2
- package/dist/components/Alert/index.js +1 -2
- package/dist/components/Avatar/index.cjs +1 -2
- package/dist/components/Avatar/index.js +1 -2
- package/dist/components/Banner/index.cjs +1 -2
- package/dist/components/Banner/index.js +1 -2
- package/dist/components/Bullet/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts +14 -14
- package/dist/components/Checkbox/index.cjs +1 -2
- package/dist/components/Checkbox/index.js +1 -2
- package/dist/components/Dialog/Context.d.ts +0 -1
- package/dist/components/Dialog/index.d.ts +46 -46
- package/dist/components/Dialog/subComponents/Text.d.ts +0 -1
- package/dist/components/Expandable/index.d.ts +2 -2
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts +1 -1
- package/dist/components/GlobalAlert/index.cjs +1 -2
- package/dist/components/GlobalAlert/index.d.ts +1 -17
- package/dist/components/GlobalAlert/index.js +1 -2
- package/dist/components/LineChart/helpers.cjs +5 -10
- package/dist/components/LineChart/helpers.js +5 -10
- package/dist/components/Link/index.cjs +2 -4
- package/dist/components/Link/index.js +2 -4
- package/dist/components/List/Cell.cjs +1 -1
- package/dist/components/List/Cell.d.ts +2 -0
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/Row.cjs +4 -4
- package/dist/components/List/Row.d.ts +2 -2
- package/dist/components/List/Row.js +4 -4
- package/dist/components/List/constants.cjs +1 -1
- package/dist/components/List/constants.d.ts +1 -1
- package/dist/components/List/constants.js +1 -1
- package/dist/components/List/index.d.ts +9 -9
- package/dist/components/Menu/index.d.ts +4 -4
- package/dist/components/MenuV2/index.d.ts +41 -36
- package/dist/components/Modal/Dialog.d.ts +0 -1
- package/dist/components/Modal/Disclosure.d.ts +0 -1
- package/dist/components/NumberInput/index.cjs +6 -12
- package/dist/components/NumberInput/index.js +6 -12
- package/dist/components/NumberInputV2/index.cjs +19 -14
- package/dist/components/NumberInputV2/index.d.ts +20 -13
- package/dist/components/NumberInputV2/index.js +19 -14
- package/dist/components/Popover/index.d.ts +35 -30
- package/dist/components/Popup/index.cjs +4 -8
- package/dist/components/Popup/index.js +4 -8
- package/dist/components/Row/index.d.ts +2 -2
- package/dist/components/SearchInput/Key.cjs +30 -0
- package/dist/components/SearchInput/Key.d.ts +6 -0
- package/dist/components/SearchInput/Key.js +28 -0
- package/dist/components/SearchInput/KeyGroup.cjs +10 -0
- package/dist/components/SearchInput/KeyGroup.d.ts +8 -0
- package/dist/components/SearchInput/KeyGroup.js +10 -0
- package/dist/components/SearchInput/index.cjs +38 -7
- package/dist/components/SearchInput/index.d.ts +23 -22
- package/dist/components/SearchInput/index.js +40 -9
- package/dist/components/SearchInput/types.d.ts +5 -1
- package/dist/components/SelectInput/index.cjs +4 -8
- package/dist/components/SelectInput/index.js +4 -8
- package/dist/components/SelectInputV2/SelectBar.cjs +6 -5
- package/dist/components/SelectInputV2/SelectBar.d.ts +2 -1
- package/dist/components/SelectInputV2/SelectBar.js +6 -5
- package/dist/components/SelectInputV2/index.cjs +4 -4
- package/dist/components/SelectInputV2/index.d.ts +1 -1
- package/dist/components/SelectInputV2/index.js +4 -4
- package/dist/components/SelectableCard/index.cjs +4 -4
- package/dist/components/SelectableCard/index.d.ts +1 -2
- package/dist/components/SelectableCard/index.js +4 -4
- package/dist/components/SelectableCardGroup/index.cjs +2 -2
- package/dist/components/SelectableCardGroup/index.d.ts +1 -1
- package/dist/components/SelectableCardGroup/index.js +2 -2
- package/dist/components/Skeleton/IconSkeleton.d.ts +2 -3
- package/dist/components/Skeleton/Line.d.ts +2 -3
- package/dist/components/Skeleton/Square.d.ts +2 -3
- package/dist/components/Skeleton/index.d.ts +13 -14
- package/dist/components/Stack/index.d.ts +2 -2
- package/dist/components/Status/index.d.ts +1 -1
- package/dist/components/Stepper/Step.cjs +38 -20
- package/dist/components/Stepper/Step.js +38 -20
- package/dist/components/Stepper/index.cjs +9 -11
- package/dist/components/Stepper/index.d.ts +5 -8
- package/dist/components/Stepper/index.js +9 -11
- package/dist/components/SwitchButton/FocusOverlay.cjs +1 -2
- package/dist/components/SwitchButton/FocusOverlay.js +1 -2
- package/dist/components/SwitchButton/index.cjs +1 -2
- package/dist/components/SwitchButton/index.js +1 -2
- package/dist/components/Table/index.d.ts +8 -8
- package/dist/components/Tabs/Tab.cjs +1 -2
- package/dist/components/Tabs/Tab.d.ts +2 -2
- package/dist/components/Tabs/Tab.js +1 -2
- package/dist/components/Tabs/TabMenu.d.ts +2 -2
- package/dist/components/Tabs/TabMenuItem.d.ts +5 -5
- package/dist/components/Tabs/TabsContext.d.ts +0 -1
- package/dist/components/Tabs/index.cjs +1 -2
- package/dist/components/Tabs/index.d.ts +16 -16
- package/dist/components/Tabs/index.js +1 -2
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/TextArea/index.cjs +4 -4
- package/dist/components/TextArea/index.js +4 -4
- package/dist/components/TextInput/index.d.ts +1 -1
- package/dist/components/TextInputV2/index.cjs +12 -9
- package/dist/components/TextInputV2/index.d.ts +57 -15
- package/dist/components/TextInputV2/index.js +12 -9
- package/dist/components/Toggle/index.cjs +2 -4
- package/dist/components/Toggle/index.d.ts +11 -11
- package/dist/components/Toggle/index.js +2 -4
- package/dist/components/index.d.ts +9 -9
- package/dist/helpers/recursivelyGetChildrenString.cjs +3 -6
- package/dist/helpers/recursivelyGetChildrenString.js +3 -6
- package/dist/index.cjs +119 -119
- package/dist/index.js +9 -9
- package/dist/mocks/list.d.ts +1 -1
- package/dist/theme/index.d.ts +31 -799
- package/dist/utils/responsive/Breakpoint.d.ts +5 -5
- package/dist/utils/responsive/utilities.cjs +2 -4
- package/dist/utils/responsive/utilities.js +2 -4
- package/package.json +5 -5
package/dist/theme/index.d.ts
CHANGED
|
@@ -13,11 +13,6 @@ declare const colors: {
|
|
|
13
13
|
backgroundStrong: string;
|
|
14
14
|
backgroundStrongDisabled: string;
|
|
15
15
|
backgroundStrongHover: string;
|
|
16
|
-
/**
|
|
17
|
-
* Will extend theme with new theme properties
|
|
18
|
-
* @param {UltravioletUITheme} baseTheme the theme you want to extend from, by default it is set to light theme
|
|
19
|
-
* @param {RecursivePartial<UltravioletUITheme>} extendedTheme the properties of a new theme you want to apply from baseTheme
|
|
20
|
-
*/
|
|
21
16
|
border: string;
|
|
22
17
|
borderDisabled: string;
|
|
23
18
|
borderHover: string;
|
|
@@ -135,6 +130,15 @@ declare const colors: {
|
|
|
135
130
|
success: string;
|
|
136
131
|
};
|
|
137
132
|
};
|
|
133
|
+
elevation: {
|
|
134
|
+
background: {
|
|
135
|
+
fixed: string;
|
|
136
|
+
fixedReversed: string;
|
|
137
|
+
overlay: string;
|
|
138
|
+
raised: string;
|
|
139
|
+
raisedReversed: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
138
142
|
gradients: {
|
|
139
143
|
background: {
|
|
140
144
|
linear: {
|
|
@@ -422,6 +426,14 @@ declare const colors: {
|
|
|
422
426
|
defaultShadow: string;
|
|
423
427
|
drawer: string;
|
|
424
428
|
dropdown: string;
|
|
429
|
+
fixed: {
|
|
430
|
+
"0": string;
|
|
431
|
+
"1": string;
|
|
432
|
+
};
|
|
433
|
+
fixedReversed: {
|
|
434
|
+
"0": string;
|
|
435
|
+
"1": string;
|
|
436
|
+
};
|
|
425
437
|
focusDanger: string;
|
|
426
438
|
focusInfo: string;
|
|
427
439
|
focusNeutral: string;
|
|
@@ -436,7 +448,19 @@ declare const colors: {
|
|
|
436
448
|
hoverWarning: string;
|
|
437
449
|
menu: string;
|
|
438
450
|
modal: string;
|
|
451
|
+
overlay: {
|
|
452
|
+
"0": string;
|
|
453
|
+
"1": string;
|
|
454
|
+
};
|
|
439
455
|
popover: string;
|
|
456
|
+
raised: {
|
|
457
|
+
"0": string;
|
|
458
|
+
"1": string;
|
|
459
|
+
};
|
|
460
|
+
raisedReversed: {
|
|
461
|
+
"0": string;
|
|
462
|
+
"1": string;
|
|
463
|
+
};
|
|
440
464
|
tabBar: {
|
|
441
465
|
active: string;
|
|
442
466
|
off: string;
|
|
@@ -790,802 +814,10 @@ type RecursivePartial<T> = {
|
|
|
790
814
|
* @param {UltravioletUITheme} baseTheme the theme you want to extend from, by default it is set to light theme
|
|
791
815
|
* @param {RecursivePartial<UltravioletUITheme>} extendedTheme the properties of a new theme you want to apply from baseTheme
|
|
792
816
|
*/
|
|
793
|
-
declare const extendTheme: (extendedTheme: RecursivePartial<UltravioletUITheme>) =>
|
|
794
|
-
breakpoints: {
|
|
795
|
-
large: string;
|
|
796
|
-
medium: string;
|
|
797
|
-
small: string;
|
|
798
|
-
xlarge: string;
|
|
799
|
-
xsmall: string;
|
|
800
|
-
xxsmall: string;
|
|
801
|
-
};
|
|
802
|
-
colors: {
|
|
803
|
-
danger: {
|
|
804
|
-
background: string;
|
|
805
|
-
backgroundDisabled: string;
|
|
806
|
-
backgroundHover: string;
|
|
807
|
-
backgroundStrong: string;
|
|
808
|
-
backgroundStrongDisabled: string;
|
|
809
|
-
backgroundStrongHover: string;
|
|
810
|
-
/**
|
|
811
|
-
* Will extend theme with new theme properties
|
|
812
|
-
* @param {UltravioletUITheme} baseTheme the theme you want to extend from, by default it is set to light theme
|
|
813
|
-
* @param {RecursivePartial<UltravioletUITheme>} extendedTheme the properties of a new theme you want to apply from baseTheme
|
|
814
|
-
*/
|
|
815
|
-
border: string;
|
|
816
|
-
borderDisabled: string;
|
|
817
|
-
borderHover: string;
|
|
818
|
-
borderStrong: string;
|
|
819
|
-
borderStrongDisabled: string;
|
|
820
|
-
borderStrongHover: string;
|
|
821
|
-
icon: string;
|
|
822
|
-
iconDisabled: string;
|
|
823
|
-
iconHover: string;
|
|
824
|
-
iconStrong: string;
|
|
825
|
-
iconStrongDisabled: string;
|
|
826
|
-
iconStrongHover: string;
|
|
827
|
-
text: string;
|
|
828
|
-
textDisabled: string;
|
|
829
|
-
textHover: string;
|
|
830
|
-
textStrong: string;
|
|
831
|
-
textStrongDisabled: string;
|
|
832
|
-
textStrongHover: string;
|
|
833
|
-
};
|
|
834
|
-
info: {
|
|
835
|
-
background: string;
|
|
836
|
-
backgroundDisabled: string;
|
|
837
|
-
backgroundHover: string;
|
|
838
|
-
backgroundStrong: string;
|
|
839
|
-
backgroundStrongDisabled: string;
|
|
840
|
-
backgroundStrongHover: string;
|
|
841
|
-
border: string;
|
|
842
|
-
borderDisabled: string;
|
|
843
|
-
borderHover: string;
|
|
844
|
-
borderStrong: string;
|
|
845
|
-
borderStrongDisabled: string;
|
|
846
|
-
borderStrongHover: string;
|
|
847
|
-
icon: string;
|
|
848
|
-
iconDisabled: string;
|
|
849
|
-
iconHover: string;
|
|
850
|
-
iconStrong: string;
|
|
851
|
-
iconStrongDisabled: string;
|
|
852
|
-
iconStrongHover: string;
|
|
853
|
-
text: string;
|
|
854
|
-
textDisabled: string;
|
|
855
|
-
textHover: string;
|
|
856
|
-
textStrong: string;
|
|
857
|
-
textStrongDisabled: string;
|
|
858
|
-
textStrongHover: string;
|
|
859
|
-
};
|
|
860
|
-
neutral: {
|
|
861
|
-
background: string;
|
|
862
|
-
backgroundDisabled: string;
|
|
863
|
-
backgroundHover: string;
|
|
864
|
-
backgroundStrong: string;
|
|
865
|
-
backgroundStrongDisabled: string;
|
|
866
|
-
backgroundStrongHover: string;
|
|
867
|
-
backgroundStronger: string;
|
|
868
|
-
backgroundStrongerDisabled: string;
|
|
869
|
-
backgroundStrongerHover: string;
|
|
870
|
-
backgroundWeak: string;
|
|
871
|
-
backgroundWeakDisabled: string;
|
|
872
|
-
backgroundWeakElevated: string;
|
|
873
|
-
backgroundWeakHover: string;
|
|
874
|
-
border: string;
|
|
875
|
-
borderDisabled: string;
|
|
876
|
-
borderHover: string;
|
|
877
|
-
borderStrong: string;
|
|
878
|
-
borderStrongDisabled: string;
|
|
879
|
-
borderStrongHover: string;
|
|
880
|
-
borderStronger: string;
|
|
881
|
-
borderStrongerDisabled: string;
|
|
882
|
-
borderStrongerHover: string;
|
|
883
|
-
borderWeak: string;
|
|
884
|
-
borderWeakDisabled: string;
|
|
885
|
-
borderWeakHover: string;
|
|
886
|
-
icon: string;
|
|
887
|
-
iconDisabled: string;
|
|
888
|
-
iconHover: string;
|
|
889
|
-
iconStrong: string;
|
|
890
|
-
iconStrongDisabled: string;
|
|
891
|
-
iconStrongHover: string;
|
|
892
|
-
iconStronger: string;
|
|
893
|
-
iconStrongerDisabled: string;
|
|
894
|
-
iconStrongerHover: string;
|
|
895
|
-
iconWeak: string;
|
|
896
|
-
iconWeakDisabled: string;
|
|
897
|
-
iconWeakHover: string;
|
|
898
|
-
text: string;
|
|
899
|
-
textDisabled: string;
|
|
900
|
-
textHover: string;
|
|
901
|
-
textStrong: string;
|
|
902
|
-
textStrongDisabled: string;
|
|
903
|
-
textStrongHover: string;
|
|
904
|
-
textStronger: string;
|
|
905
|
-
textStrongerDisabled: string;
|
|
906
|
-
textStrongerHover: string;
|
|
907
|
-
textWeak: string;
|
|
908
|
-
textWeakDisabled: string;
|
|
909
|
-
textWeakHover: string;
|
|
910
|
-
};
|
|
911
|
-
other: {
|
|
912
|
-
data: {
|
|
913
|
-
charts: {
|
|
914
|
-
danger: string;
|
|
915
|
-
data1: string;
|
|
916
|
-
data10: string;
|
|
917
|
-
data11: string;
|
|
918
|
-
data12: string;
|
|
919
|
-
data13: string;
|
|
920
|
-
data14: string;
|
|
921
|
-
data2: string;
|
|
922
|
-
data3: string;
|
|
923
|
-
data4: string;
|
|
924
|
-
data5: string;
|
|
925
|
-
data6: string;
|
|
926
|
-
data7: string;
|
|
927
|
-
data8: string;
|
|
928
|
-
data9: string;
|
|
929
|
-
success: string;
|
|
930
|
-
};
|
|
931
|
-
};
|
|
932
|
-
gradients: {
|
|
933
|
-
background: {
|
|
934
|
-
linear: {
|
|
935
|
-
accent: string;
|
|
936
|
-
aqua: string;
|
|
937
|
-
blue: string;
|
|
938
|
-
emerald: string;
|
|
939
|
-
fuschia: string;
|
|
940
|
-
magenta: string;
|
|
941
|
-
primary: string;
|
|
942
|
-
};
|
|
943
|
-
radial: {
|
|
944
|
-
aquaFuschia: string;
|
|
945
|
-
aquaPurple: string;
|
|
946
|
-
fuschiaPurple: string;
|
|
947
|
-
lime: string;
|
|
948
|
-
magenta: string;
|
|
949
|
-
purple: string;
|
|
950
|
-
};
|
|
951
|
-
};
|
|
952
|
-
text: {
|
|
953
|
-
dark: string;
|
|
954
|
-
light: string;
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
icon: {
|
|
958
|
-
category: {
|
|
959
|
-
neutral: {
|
|
960
|
-
fill: string;
|
|
961
|
-
fillDisabled: string;
|
|
962
|
-
fillStrong: string;
|
|
963
|
-
fillStrongDisabled: string;
|
|
964
|
-
};
|
|
965
|
-
primary: {
|
|
966
|
-
fill: string;
|
|
967
|
-
fillDisabled: string;
|
|
968
|
-
fillStrong: string;
|
|
969
|
-
fillStrongDisabled: string;
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
product: {
|
|
973
|
-
danger: {
|
|
974
|
-
fill: string;
|
|
975
|
-
fillDisabled: string;
|
|
976
|
-
fillStrong: string;
|
|
977
|
-
fillStrongDisabled: string;
|
|
978
|
-
fillWeak: string;
|
|
979
|
-
fillWeakDisabled: string;
|
|
980
|
-
};
|
|
981
|
-
original: {
|
|
982
|
-
fill: string;
|
|
983
|
-
fillDisabled: string;
|
|
984
|
-
fillStrong: string;
|
|
985
|
-
fillStrongDisabled: string;
|
|
986
|
-
fillWeak: string;
|
|
987
|
-
fillWeakDisabled: string;
|
|
988
|
-
};
|
|
989
|
-
primary: {
|
|
990
|
-
fill: string;
|
|
991
|
-
fillDisabled: string;
|
|
992
|
-
fillStrong: string;
|
|
993
|
-
fillStrongDisabled: string;
|
|
994
|
-
fillWeak: string;
|
|
995
|
-
fillWeakDisabled: string;
|
|
996
|
-
};
|
|
997
|
-
warning: {
|
|
998
|
-
fill: string;
|
|
999
|
-
fillDisabled: string;
|
|
1000
|
-
fillStrong: string;
|
|
1001
|
-
fillStrongDisabled: string;
|
|
1002
|
-
fillWeak: string;
|
|
1003
|
-
fillWeakDisabled: string;
|
|
1004
|
-
};
|
|
1005
|
-
};
|
|
1006
|
-
};
|
|
1007
|
-
};
|
|
1008
|
-
overlay: string;
|
|
1009
|
-
primary: {
|
|
1010
|
-
background: string;
|
|
1011
|
-
backgroundDisabled: string;
|
|
1012
|
-
backgroundHover: string;
|
|
1013
|
-
backgroundStrong: string;
|
|
1014
|
-
backgroundStrongDisabled: string;
|
|
1015
|
-
backgroundStrongHover: string;
|
|
1016
|
-
border: string;
|
|
1017
|
-
borderDisabled: string;
|
|
1018
|
-
borderHover: string;
|
|
1019
|
-
borderStrong: string;
|
|
1020
|
-
borderStrongDisabled: string;
|
|
1021
|
-
borderStrongHover: string;
|
|
1022
|
-
icon: string;
|
|
1023
|
-
iconDisabled: string;
|
|
1024
|
-
iconHover: string;
|
|
1025
|
-
iconStrong: string;
|
|
1026
|
-
iconStrongDisabled: string;
|
|
1027
|
-
iconStrongHover: string;
|
|
1028
|
-
text: string;
|
|
1029
|
-
textDisabled: string;
|
|
1030
|
-
textHover: string;
|
|
1031
|
-
textStrong: string;
|
|
1032
|
-
textStrongDisabled: string;
|
|
1033
|
-
textStrongHover: string;
|
|
1034
|
-
};
|
|
1035
|
-
secondary: {
|
|
1036
|
-
background: string;
|
|
1037
|
-
backgroundDisabled: string;
|
|
1038
|
-
backgroundHover: string;
|
|
1039
|
-
backgroundStrong: string;
|
|
1040
|
-
backgroundStrongDisabled: string;
|
|
1041
|
-
backgroundStrongHover: string;
|
|
1042
|
-
border: string;
|
|
1043
|
-
borderDisabled: string;
|
|
1044
|
-
borderHover: string;
|
|
1045
|
-
borderStrong: string;
|
|
1046
|
-
borderStrongDisabled: string;
|
|
1047
|
-
borderStrongHover: string;
|
|
1048
|
-
icon: string;
|
|
1049
|
-
iconDisabled: string;
|
|
1050
|
-
iconHover: string;
|
|
1051
|
-
iconStrong: string;
|
|
1052
|
-
iconStrongDisabled: string;
|
|
1053
|
-
iconStrongHover: string;
|
|
1054
|
-
text: string;
|
|
1055
|
-
textDisabled: string;
|
|
1056
|
-
textHover: string;
|
|
1057
|
-
textStrong: string;
|
|
1058
|
-
textStrongDisabled: string;
|
|
1059
|
-
textStrongHover: string;
|
|
1060
|
-
};
|
|
1061
|
-
success: {
|
|
1062
|
-
background: string;
|
|
1063
|
-
backgroundDisabled: string;
|
|
1064
|
-
backgroundHover: string;
|
|
1065
|
-
backgroundStrong: string;
|
|
1066
|
-
backgroundStrongDisabled: string;
|
|
1067
|
-
backgroundStrongHover: string;
|
|
1068
|
-
border: string;
|
|
1069
|
-
borderDisabled: string;
|
|
1070
|
-
borderHover: string;
|
|
1071
|
-
borderStrong: string;
|
|
1072
|
-
borderStrongDisabled: string;
|
|
1073
|
-
borderStrongHover: string;
|
|
1074
|
-
icon: string;
|
|
1075
|
-
iconDisabled: string;
|
|
1076
|
-
iconHover: string;
|
|
1077
|
-
iconStrong: string;
|
|
1078
|
-
iconStrongDisabled: string;
|
|
1079
|
-
iconStrongHover: string;
|
|
1080
|
-
text: string;
|
|
1081
|
-
textDisabled: string;
|
|
1082
|
-
textHover: string;
|
|
1083
|
-
textStrong: string;
|
|
1084
|
-
textStrongDisabled: string;
|
|
1085
|
-
textStrongHover: string;
|
|
1086
|
-
};
|
|
1087
|
-
warning: {
|
|
1088
|
-
background: string;
|
|
1089
|
-
backgroundDisabled: string;
|
|
1090
|
-
backgroundHover: string;
|
|
1091
|
-
backgroundStrong: string;
|
|
1092
|
-
backgroundStrongDisabled: string;
|
|
1093
|
-
backgroundStrongHover: string;
|
|
1094
|
-
border: string;
|
|
1095
|
-
borderDisabled: string;
|
|
1096
|
-
borderHover: string;
|
|
1097
|
-
borderStrong: string;
|
|
1098
|
-
borderStrongDisabled: string;
|
|
1099
|
-
borderStrongHover: string;
|
|
1100
|
-
icon: string;
|
|
1101
|
-
iconDisabled: string;
|
|
1102
|
-
iconHover: string;
|
|
1103
|
-
iconStrong: string;
|
|
1104
|
-
iconStrongDisabled: string;
|
|
1105
|
-
iconStrongHover: string;
|
|
1106
|
-
text: string;
|
|
1107
|
-
textDisabled: string;
|
|
1108
|
-
textHover: string;
|
|
1109
|
-
textStrong: string;
|
|
1110
|
-
textStrongDisabled: string;
|
|
1111
|
-
textStrongHover: string;
|
|
1112
|
-
};
|
|
1113
|
-
} & {
|
|
1114
|
-
danger: {
|
|
1115
|
-
backgroundWeak: string;
|
|
1116
|
-
backgroundWeakDisabled: string;
|
|
1117
|
-
backgroundWeakHover: string;
|
|
1118
|
-
borderWeak: string;
|
|
1119
|
-
borderWeakDisabled: string;
|
|
1120
|
-
borderWeakHover: string;
|
|
1121
|
-
iconWeak: string;
|
|
1122
|
-
iconWeakDisabled: string;
|
|
1123
|
-
iconWeakHover: string;
|
|
1124
|
-
textWeak: string;
|
|
1125
|
-
textWeakDisabled: string;
|
|
1126
|
-
textWeakHover: string;
|
|
1127
|
-
};
|
|
1128
|
-
info: {
|
|
1129
|
-
backgroundWeak: string;
|
|
1130
|
-
backgroundWeakDisabled: string;
|
|
1131
|
-
backgroundWeakHover: string;
|
|
1132
|
-
borderWeak: string;
|
|
1133
|
-
borderWeakDisabled: string;
|
|
1134
|
-
borderWeakHover: string;
|
|
1135
|
-
iconWeak: string;
|
|
1136
|
-
iconWeakDisabled: string;
|
|
1137
|
-
iconWeakHover: string;
|
|
1138
|
-
textWeak: string;
|
|
1139
|
-
textWeakDisabled: string;
|
|
1140
|
-
textWeakHover: string;
|
|
1141
|
-
};
|
|
1142
|
-
primary: {
|
|
1143
|
-
backgroundWeak: string;
|
|
1144
|
-
backgroundWeakDisabled: string;
|
|
1145
|
-
backgroundWeakHover: string;
|
|
1146
|
-
borderWeak: string;
|
|
1147
|
-
borderWeakDisabled: string;
|
|
1148
|
-
borderWeakHover: string;
|
|
1149
|
-
iconWeak: string;
|
|
1150
|
-
iconWeakDisabled: string;
|
|
1151
|
-
iconWeakHover: string;
|
|
1152
|
-
textWeak: string;
|
|
1153
|
-
textWeakDisabled: string;
|
|
1154
|
-
textWeakHover: string;
|
|
1155
|
-
};
|
|
1156
|
-
secondary: {
|
|
1157
|
-
backgroundWeak: string;
|
|
1158
|
-
backgroundWeakDisabled: string;
|
|
1159
|
-
backgroundWeakHover: string;
|
|
1160
|
-
borderWeak: string;
|
|
1161
|
-
borderWeakDisabled: string;
|
|
1162
|
-
borderWeakHover: string;
|
|
1163
|
-
iconWeak: string;
|
|
1164
|
-
iconWeakDisabled: string;
|
|
1165
|
-
iconWeakHover: string;
|
|
1166
|
-
textWeak: string;
|
|
1167
|
-
textWeakDisabled: string;
|
|
1168
|
-
textWeakHover: string;
|
|
1169
|
-
};
|
|
1170
|
-
success: {
|
|
1171
|
-
backgroundWeak: string;
|
|
1172
|
-
backgroundWeakDisabled: string;
|
|
1173
|
-
backgroundWeakHover: string;
|
|
1174
|
-
borderWeak: string;
|
|
1175
|
-
borderWeakDisabled: string;
|
|
1176
|
-
borderWeakHover: string;
|
|
1177
|
-
iconWeak: string;
|
|
1178
|
-
iconWeakDisabled: string;
|
|
1179
|
-
iconWeakHover: string;
|
|
1180
|
-
textWeak: string;
|
|
1181
|
-
textWeakDisabled: string;
|
|
1182
|
-
textWeakHover: string;
|
|
1183
|
-
};
|
|
1184
|
-
warning: {
|
|
1185
|
-
backgroundWeak: string;
|
|
1186
|
-
backgroundWeakDisabled: string;
|
|
1187
|
-
backgroundWeakHover: string;
|
|
1188
|
-
borderWeak: string;
|
|
1189
|
-
borderWeakDisabled: string;
|
|
1190
|
-
borderWeakHover: string;
|
|
1191
|
-
iconWeak: string;
|
|
1192
|
-
iconWeakDisabled: string;
|
|
1193
|
-
iconWeakHover: string;
|
|
1194
|
-
textWeak: string;
|
|
1195
|
-
textWeakDisabled: string;
|
|
1196
|
-
textWeakHover: string;
|
|
1197
|
-
};
|
|
1198
|
-
other: {
|
|
1199
|
-
gradients: {
|
|
1200
|
-
background: {
|
|
1201
|
-
gold: string;
|
|
1202
|
-
purple: string;
|
|
1203
|
-
strong: string;
|
|
1204
|
-
accent: string;
|
|
1205
|
-
aqua: string;
|
|
1206
|
-
blue: string;
|
|
1207
|
-
emerald: string;
|
|
1208
|
-
fuschia: string;
|
|
1209
|
-
magenta: string;
|
|
1210
|
-
primary: string;
|
|
1211
|
-
};
|
|
1212
|
-
};
|
|
1213
|
-
};
|
|
1214
|
-
};
|
|
1215
|
-
radii: {
|
|
1216
|
-
circle: string;
|
|
1217
|
-
default: string;
|
|
1218
|
-
large: string;
|
|
1219
|
-
none: string;
|
|
1220
|
-
small: string;
|
|
1221
|
-
xlarge: string;
|
|
1222
|
-
};
|
|
1223
|
-
shadows: {
|
|
1224
|
-
bulk: string;
|
|
1225
|
-
defaultShadow: string;
|
|
1226
|
-
drawer: string;
|
|
1227
|
-
dropdown: string;
|
|
1228
|
-
focusDanger: string;
|
|
1229
|
-
focusInfo: string;
|
|
1230
|
-
focusNeutral: string;
|
|
1231
|
-
focusPrimary: string;
|
|
1232
|
-
focusSuccess: string;
|
|
1233
|
-
focusWarning: string;
|
|
1234
|
-
hoverDanger: string;
|
|
1235
|
-
hoverInfo: string;
|
|
1236
|
-
hoverNeutral: string;
|
|
1237
|
-
hoverPrimary: string;
|
|
1238
|
-
hoverSuccess: string;
|
|
1239
|
-
hoverWarning: string;
|
|
1240
|
-
menu: string;
|
|
1241
|
-
modal: string;
|
|
1242
|
-
popover: string;
|
|
1243
|
-
tabBar: {
|
|
1244
|
-
active: string;
|
|
1245
|
-
off: string;
|
|
1246
|
-
};
|
|
1247
|
-
tooltip: string;
|
|
1248
|
-
};
|
|
1249
|
-
space: {
|
|
1250
|
-
'0': string;
|
|
1251
|
-
'1': string;
|
|
1252
|
-
'2': string;
|
|
1253
|
-
'3': string;
|
|
1254
|
-
'4': string;
|
|
1255
|
-
'5': string;
|
|
1256
|
-
'6': string;
|
|
1257
|
-
'7': string;
|
|
1258
|
-
'8': string;
|
|
1259
|
-
'9': string;
|
|
1260
|
-
'10': string;
|
|
1261
|
-
'0.25': string;
|
|
1262
|
-
'0.5': string;
|
|
1263
|
-
'1.5': string;
|
|
1264
|
-
};
|
|
1265
|
-
theme: string;
|
|
1266
|
-
typography: {
|
|
1267
|
-
body: {
|
|
1268
|
-
fontFamily: string;
|
|
1269
|
-
fontSize: string;
|
|
1270
|
-
fontWeight: string;
|
|
1271
|
-
letterSpacing: string;
|
|
1272
|
-
lineHeight: string;
|
|
1273
|
-
paragraphSpacing: string;
|
|
1274
|
-
textCase: string;
|
|
1275
|
-
textDecoration: string;
|
|
1276
|
-
weight: string;
|
|
1277
|
-
};
|
|
1278
|
-
bodySmall: {
|
|
1279
|
-
fontFamily: string;
|
|
1280
|
-
fontSize: string;
|
|
1281
|
-
fontWeight: string;
|
|
1282
|
-
letterSpacing: string;
|
|
1283
|
-
lineHeight: string;
|
|
1284
|
-
paragraphSpacing: string;
|
|
1285
|
-
textCase: string;
|
|
1286
|
-
textDecoration: string;
|
|
1287
|
-
weight: string;
|
|
1288
|
-
};
|
|
1289
|
-
bodySmallStrong: {
|
|
1290
|
-
fontFamily: string;
|
|
1291
|
-
fontSize: string;
|
|
1292
|
-
fontWeight: string;
|
|
1293
|
-
letterSpacing: string;
|
|
1294
|
-
lineHeight: string;
|
|
1295
|
-
paragraphSpacing: string;
|
|
1296
|
-
textCase: string;
|
|
1297
|
-
textDecoration: string;
|
|
1298
|
-
weight: string;
|
|
1299
|
-
};
|
|
1300
|
-
bodySmallStronger: {
|
|
1301
|
-
fontFamily: string;
|
|
1302
|
-
fontSize: string;
|
|
1303
|
-
fontWeight: string;
|
|
1304
|
-
letterSpacing: string;
|
|
1305
|
-
lineHeight: string;
|
|
1306
|
-
paragraphSpacing: string;
|
|
1307
|
-
textCase: string;
|
|
1308
|
-
textDecoration: string;
|
|
1309
|
-
weight: string;
|
|
1310
|
-
};
|
|
1311
|
-
bodyStrong: {
|
|
1312
|
-
fontFamily: string;
|
|
1313
|
-
fontSize: string;
|
|
1314
|
-
fontWeight: string;
|
|
1315
|
-
letterSpacing: string;
|
|
1316
|
-
lineHeight: string;
|
|
1317
|
-
paragraphSpacing: string;
|
|
1318
|
-
textCase: string;
|
|
1319
|
-
textDecoration: string;
|
|
1320
|
-
weight: string;
|
|
1321
|
-
};
|
|
1322
|
-
bodyStronger: {
|
|
1323
|
-
fontFamily: string;
|
|
1324
|
-
fontSize: string;
|
|
1325
|
-
fontWeight: string;
|
|
1326
|
-
letterSpacing: string;
|
|
1327
|
-
lineHeight: string;
|
|
1328
|
-
paragraphSpacing: string;
|
|
1329
|
-
textCase: string;
|
|
1330
|
-
textDecoration: string;
|
|
1331
|
-
weight: string;
|
|
1332
|
-
};
|
|
1333
|
-
caption: {
|
|
1334
|
-
fontFamily: string;
|
|
1335
|
-
fontSize: string;
|
|
1336
|
-
fontWeight: string;
|
|
1337
|
-
letterSpacing: string;
|
|
1338
|
-
lineHeight: string;
|
|
1339
|
-
paragraphSpacing: string;
|
|
1340
|
-
textCase: string;
|
|
1341
|
-
textDecoration: string;
|
|
1342
|
-
weight: string;
|
|
1343
|
-
};
|
|
1344
|
-
captionSmall: {
|
|
1345
|
-
fontFamily: string;
|
|
1346
|
-
fontSize: string;
|
|
1347
|
-
fontWeight: string;
|
|
1348
|
-
letterSpacing: string;
|
|
1349
|
-
lineHeight: string;
|
|
1350
|
-
paragraphSpacing: string;
|
|
1351
|
-
textCase: string;
|
|
1352
|
-
textDecoration: string;
|
|
1353
|
-
weight: string;
|
|
1354
|
-
};
|
|
1355
|
-
captionSmallStrong: {
|
|
1356
|
-
fontFamily: string;
|
|
1357
|
-
fontSize: string;
|
|
1358
|
-
fontWeight: string;
|
|
1359
|
-
letterSpacing: string;
|
|
1360
|
-
lineHeight: string;
|
|
1361
|
-
paragraphSpacing: string;
|
|
1362
|
-
textCase: string;
|
|
1363
|
-
textDecoration: string;
|
|
1364
|
-
weight: string;
|
|
1365
|
-
};
|
|
1366
|
-
captionSmallStronger: {
|
|
1367
|
-
fontFamily: string;
|
|
1368
|
-
fontSize: string;
|
|
1369
|
-
fontWeight: string;
|
|
1370
|
-
letterSpacing: string;
|
|
1371
|
-
lineHeight: string;
|
|
1372
|
-
paragraphSpacing: string;
|
|
1373
|
-
textCase: string;
|
|
1374
|
-
textDecoration: string;
|
|
1375
|
-
weight: string;
|
|
1376
|
-
};
|
|
1377
|
-
captionStrong: {
|
|
1378
|
-
fontFamily: string;
|
|
1379
|
-
fontSize: string;
|
|
1380
|
-
fontWeight: string;
|
|
1381
|
-
letterSpacing: string;
|
|
1382
|
-
lineHeight: string;
|
|
1383
|
-
paragraphSpacing: string;
|
|
1384
|
-
textCase: string;
|
|
1385
|
-
textDecoration: string;
|
|
1386
|
-
weight: string;
|
|
1387
|
-
};
|
|
1388
|
-
captionStronger: {
|
|
1389
|
-
fontFamily: string;
|
|
1390
|
-
fontSize: string;
|
|
1391
|
-
fontWeight: string;
|
|
1392
|
-
letterSpacing: string;
|
|
1393
|
-
lineHeight: string;
|
|
1394
|
-
paragraphSpacing: string;
|
|
1395
|
-
textCase: string;
|
|
1396
|
-
textDecoration: string;
|
|
1397
|
-
weight: string;
|
|
1398
|
-
};
|
|
1399
|
-
code: {
|
|
1400
|
-
fontFamily: string;
|
|
1401
|
-
fontSize: string;
|
|
1402
|
-
fontWeight: string;
|
|
1403
|
-
letterSpacing: string;
|
|
1404
|
-
lineHeight: string;
|
|
1405
|
-
paragraphSpacing: string;
|
|
1406
|
-
textCase: string;
|
|
1407
|
-
textDecoration: string;
|
|
1408
|
-
weight: string;
|
|
1409
|
-
};
|
|
1410
|
-
codeStrong: {
|
|
1411
|
-
fontFamily: string;
|
|
1412
|
-
fontSize: string;
|
|
1413
|
-
fontWeight: string;
|
|
1414
|
-
letterSpacing: string;
|
|
1415
|
-
lineHeight: string;
|
|
1416
|
-
paragraphSpacing: string;
|
|
1417
|
-
textCase: string;
|
|
1418
|
-
textDecoration: string;
|
|
1419
|
-
weight: string;
|
|
1420
|
-
};
|
|
1421
|
-
codeStronger: {
|
|
1422
|
-
fontFamily: string;
|
|
1423
|
-
fontSize: string;
|
|
1424
|
-
fontWeight: string;
|
|
1425
|
-
letterSpacing: string;
|
|
1426
|
-
lineHeight: string;
|
|
1427
|
-
paragraphSpacing: string;
|
|
1428
|
-
textCase: string;
|
|
1429
|
-
textDecoration: string;
|
|
1430
|
-
weight: string;
|
|
1431
|
-
};
|
|
1432
|
-
heading: {
|
|
1433
|
-
fontFamily: string;
|
|
1434
|
-
fontSize: string;
|
|
1435
|
-
fontWeight: string;
|
|
1436
|
-
letterSpacing: string;
|
|
1437
|
-
lineHeight: string;
|
|
1438
|
-
paragraphSpacing: string;
|
|
1439
|
-
textCase: string;
|
|
1440
|
-
textDecoration: string;
|
|
1441
|
-
weight: string;
|
|
1442
|
-
};
|
|
1443
|
-
headingLarge: {
|
|
1444
|
-
fontFamily: string;
|
|
1445
|
-
fontSize: string;
|
|
1446
|
-
fontWeight: string;
|
|
1447
|
-
letterSpacing: string;
|
|
1448
|
-
lineHeight: string;
|
|
1449
|
-
paragraphSpacing: string;
|
|
1450
|
-
textCase: string;
|
|
1451
|
-
textDecoration: string;
|
|
1452
|
-
weight: string;
|
|
1453
|
-
};
|
|
1454
|
-
headingLargeStrong: {
|
|
1455
|
-
fontFamily: string;
|
|
1456
|
-
fontSize: string;
|
|
1457
|
-
fontWeight: string;
|
|
1458
|
-
letterSpacing: string;
|
|
1459
|
-
lineHeight: string;
|
|
1460
|
-
paragraphSpacing: string;
|
|
1461
|
-
textCase: string;
|
|
1462
|
-
textDecoration: string;
|
|
1463
|
-
weight: string;
|
|
1464
|
-
};
|
|
1465
|
-
headingLargeStronger: {
|
|
1466
|
-
fontFamily: string;
|
|
1467
|
-
fontSize: string;
|
|
1468
|
-
fontWeight: string;
|
|
1469
|
-
letterSpacing: string;
|
|
1470
|
-
lineHeight: string;
|
|
1471
|
-
paragraphSpacing: string;
|
|
1472
|
-
textCase: string;
|
|
1473
|
-
textDecoration: string;
|
|
1474
|
-
weight: string;
|
|
1475
|
-
};
|
|
1476
|
-
headingSmall: {
|
|
1477
|
-
fontFamily: string;
|
|
1478
|
-
fontSize: string;
|
|
1479
|
-
fontWeight: string;
|
|
1480
|
-
letterSpacing: string;
|
|
1481
|
-
lineHeight: string;
|
|
1482
|
-
paragraphSpacing: string;
|
|
1483
|
-
textCase: string;
|
|
1484
|
-
textDecoration: string;
|
|
1485
|
-
weight: string;
|
|
1486
|
-
};
|
|
1487
|
-
headingSmallStrong: {
|
|
1488
|
-
fontFamily: string;
|
|
1489
|
-
fontSize: string;
|
|
1490
|
-
fontWeight: string;
|
|
1491
|
-
letterSpacing: string;
|
|
1492
|
-
lineHeight: string;
|
|
1493
|
-
paragraphSpacing: string;
|
|
1494
|
-
textCase: string;
|
|
1495
|
-
textDecoration: string;
|
|
1496
|
-
weight: string;
|
|
1497
|
-
};
|
|
1498
|
-
headingSmallStronger: {
|
|
1499
|
-
fontFamily: string;
|
|
1500
|
-
fontSize: string;
|
|
1501
|
-
fontWeight: string;
|
|
1502
|
-
letterSpacing: string;
|
|
1503
|
-
lineHeight: string;
|
|
1504
|
-
paragraphSpacing: string;
|
|
1505
|
-
textCase: string;
|
|
1506
|
-
textDecoration: string;
|
|
1507
|
-
weight: string;
|
|
1508
|
-
};
|
|
1509
|
-
headingStrong: {
|
|
1510
|
-
fontFamily: string;
|
|
1511
|
-
fontSize: string;
|
|
1512
|
-
fontWeight: string;
|
|
1513
|
-
letterSpacing: string;
|
|
1514
|
-
lineHeight: string;
|
|
1515
|
-
paragraphSpacing: string;
|
|
1516
|
-
textCase: string;
|
|
1517
|
-
textDecoration: string;
|
|
1518
|
-
weight: string;
|
|
1519
|
-
};
|
|
1520
|
-
headingStronger: {
|
|
1521
|
-
fontFamily: string;
|
|
1522
|
-
fontSize: string;
|
|
1523
|
-
fontWeight: string;
|
|
1524
|
-
letterSpacing: string;
|
|
1525
|
-
lineHeight: string;
|
|
1526
|
-
paragraphSpacing: string;
|
|
1527
|
-
textCase: string;
|
|
1528
|
-
textDecoration: string;
|
|
1529
|
-
weight: string;
|
|
1530
|
-
};
|
|
1531
|
-
} & {
|
|
1532
|
-
body: {
|
|
1533
|
-
fontFamily: string;
|
|
1534
|
-
};
|
|
1535
|
-
bodySmall: {
|
|
1536
|
-
fontFamily: string;
|
|
1537
|
-
};
|
|
1538
|
-
bodySmallStrong: {
|
|
1539
|
-
fontFamily: string;
|
|
1540
|
-
};
|
|
1541
|
-
bodySmallStronger: {
|
|
1542
|
-
fontFamily: string;
|
|
1543
|
-
};
|
|
1544
|
-
bodyStrong: {
|
|
1545
|
-
fontFamily: string;
|
|
1546
|
-
};
|
|
1547
|
-
bodyStronger: {
|
|
1548
|
-
fontFamily: string;
|
|
1549
|
-
};
|
|
1550
|
-
caption: {
|
|
1551
|
-
fontFamily: string;
|
|
1552
|
-
};
|
|
1553
|
-
captionSmall: {
|
|
1554
|
-
fontFamily: string;
|
|
1555
|
-
};
|
|
1556
|
-
captionSmallStrong: {
|
|
1557
|
-
fontFamily: string;
|
|
1558
|
-
};
|
|
1559
|
-
captionSmallStronger: {
|
|
1560
|
-
fontFamily: string;
|
|
1561
|
-
};
|
|
1562
|
-
captionStrong: {
|
|
1563
|
-
fontFamily: string;
|
|
1564
|
-
};
|
|
1565
|
-
captionStronger: {
|
|
1566
|
-
fontFamily: string;
|
|
1567
|
-
};
|
|
1568
|
-
heading: {
|
|
1569
|
-
fontFamily: string;
|
|
1570
|
-
};
|
|
1571
|
-
headingLarge: {
|
|
1572
|
-
fontFamily: string;
|
|
1573
|
-
};
|
|
1574
|
-
headingSmall: {
|
|
1575
|
-
fontFamily: string;
|
|
1576
|
-
};
|
|
1577
|
-
};
|
|
1578
|
-
screens: {
|
|
1579
|
-
xsmall: number;
|
|
1580
|
-
small: number;
|
|
1581
|
-
medium: number;
|
|
1582
|
-
large: number;
|
|
1583
|
-
xlarge: number;
|
|
1584
|
-
};
|
|
1585
|
-
};
|
|
817
|
+
declare const extendTheme: (extendedTheme: RecursivePartial<UltravioletUITheme>) => UltravioletUITheme;
|
|
1586
818
|
type Color = Extract<keyof typeof consoleLightTheme.colors, 'primary' | 'secondary' | 'neutral' | 'success' | 'danger' | 'warning' | 'info'>;
|
|
1587
819
|
declare const SENTIMENTS: readonly ["primary", "secondary", "neutral", "success", "danger", "warning", "info"];
|
|
1588
|
-
declare const SENTIMENTS_WITHOUT_NEUTRAL: ("primary" | "secondary" | "
|
|
820
|
+
declare const SENTIMENTS_WITHOUT_NEUTRAL: ("primary" | "secondary" | "success" | "danger" | "warning" | "info")[];
|
|
1589
821
|
export type { SCWUITheme, UltravioletUITheme, Color };
|
|
1590
822
|
export { colors, shadows, space, radii, screens, consoleDarkTheme as darkTheme, extendTheme, SENTIMENTS, SENTIMENTS_WITHOUT_NEUTRAL, typography, };
|
|
1591
823
|
export default consoleLightTheme;
|