@kepler.gl/styles 3.0.0-alpha.0 → 3.0.0-alpha.2
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/base.d.ts +128 -0
- package/dist/base.js +131 -42
- package/dist/index.js +1 -21
- package/dist/media-breakpoints.js +1 -21
- package/package.json +7 -7
- package/umd/keplergl.min.js +3 -25
package/dist/base.d.ts
CHANGED
@@ -92,6 +92,8 @@ export declare const selectionBtnBgdHover = "#0F9668";
|
|
92
92
|
export declare const selectionBtnBorder = "1";
|
93
93
|
export declare const selectionBtnBorderColor = "#D3D8E0";
|
94
94
|
export declare const selectionBtnBorderActColor = "#0F9668";
|
95
|
+
export declare const scrollbarThumbColorLT = "#6A7485";
|
96
|
+
export declare const scrollbarThumbColorHoverLT = "#000000";
|
95
97
|
export declare const inputBoxHeight = "34px";
|
96
98
|
export declare const inputBoxHeightSmall = "24px";
|
97
99
|
export declare const inputBoxHeightTiny = "18px";
|
@@ -156,6 +158,7 @@ export declare const dropdownListBorderTopLT = "#D3D8E0";
|
|
156
158
|
export declare const dropdownListLineHeight = 20;
|
157
159
|
export declare const dropdownWrapperZ = 100;
|
158
160
|
export declare const dropdownWapperMargin = 4;
|
161
|
+
export declare const dndOverBackgroundColor = "rgba(128, 128, 128, 0.2)";
|
159
162
|
export declare const switchWidth = 24;
|
160
163
|
export declare const switchHeight = 12;
|
161
164
|
export declare const switchLabelMargin = 12;
|
@@ -220,7 +223,9 @@ export declare const panelBorderLT: string;
|
|
220
223
|
export declare const mapPanelBackgroundColor = "#242730";
|
221
224
|
export declare const mapPanelHeaderBackgroundColor = "#29323C";
|
222
225
|
export declare const tooltipBg = "#3A414C";
|
226
|
+
export declare const tooltipBgLT = "#1869B5";
|
223
227
|
export declare const tooltipColor = "#F0F0F0";
|
228
|
+
export declare const tooltipColorLT = "#FFFFFF";
|
224
229
|
export declare const tooltipBoxShadow = "0 1px 2px 0 rgba(0,0,0,0.10)";
|
225
230
|
export declare const tooltipFontSize = "10px";
|
226
231
|
export declare const layerTypeIconSizeL = 50;
|
@@ -282,6 +287,7 @@ export declare const geocoderWidth = 360;
|
|
282
287
|
export declare const geocoderTop = 20;
|
283
288
|
export declare const geocoderRight = 12;
|
284
289
|
export declare const geocoderInputHeight = 36;
|
290
|
+
export declare const mapControlTop = 52;
|
285
291
|
export declare const rangeBrushBgd = "#3A414C";
|
286
292
|
export declare const histogramFillInRange = "#1FBAD6";
|
287
293
|
export declare const histogramFillOutRange = "#6A7485";
|
@@ -318,6 +324,8 @@ export declare const notificationPanelItemHeight = 60;
|
|
318
324
|
export declare const actionPanelWidth = 110;
|
319
325
|
export declare const actionPanelHeight = 32;
|
320
326
|
export declare const fieldTokenRightMargin = 4;
|
327
|
+
export declare const fieldTokenHeight = 20;
|
328
|
+
export declare const fieldTokenWidth = 40;
|
321
329
|
export declare const textTruncate: {
|
322
330
|
maxWidth: string;
|
323
331
|
overflow: string;
|
@@ -340,6 +348,27 @@ export declare const breakPoints: {
|
|
340
348
|
palm: number;
|
341
349
|
desk: number;
|
342
350
|
};
|
351
|
+
export declare const effectConfiguratorMargin = "18px 0 18px 0";
|
352
|
+
export declare const effectConfiguratorPadding = "0 0 0 18px";
|
353
|
+
export declare const effectPanelWidth = 345;
|
354
|
+
export declare const effectPanelHeight = 180;
|
355
|
+
export declare const effectPanelPaddingSide = 16;
|
356
|
+
export declare const effectPanelPaddingTop = 16;
|
357
|
+
export declare const effectPanelAddEffectFontFamily = "ff-clan-web-pro, 'Helvetica Neue', Helvetica, sans-serif";
|
358
|
+
export declare const effectTypeIconMarginSide = 6;
|
359
|
+
export declare const effectTypeIconSizeL = 56;
|
360
|
+
export declare const effectTypeIconBgHoverColor = "#262D40";
|
361
|
+
export declare const effectPanelTextMain = "#F7F7F7";
|
362
|
+
export declare const effectPanelTextSecondary1 = "#A0A7B4";
|
363
|
+
export declare const effectPanelTextSecondary2 = "#6A7485";
|
364
|
+
export declare const effectPanelTextSecondary3 = "#5A6475";
|
365
|
+
export declare const effectPanelElementColor = "#29323C";
|
366
|
+
export declare const effectPanelElementColorActive = "#323843";
|
367
|
+
export declare const effectPanelElementColorHovered = "#3A414C";
|
368
|
+
export declare const effectPanelElementColorSelected = "#454e5d";
|
369
|
+
export declare const effectPanelElementColorSun = "#F7B26B";
|
370
|
+
export declare const rightPanelMarginTop = 12;
|
371
|
+
export declare const rightPanelMarginRight = 12;
|
343
372
|
export declare const modalScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
344
373
|
export declare const theme: {
|
345
374
|
input: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<InputProps, any>>;
|
@@ -365,6 +394,7 @@ export declare const theme: {
|
|
365
394
|
dropdownListShadow: string;
|
366
395
|
dropdownWrapperZ: number;
|
367
396
|
dropdownWapperMargin: number;
|
397
|
+
dndOverBackgroundColor: string;
|
368
398
|
modalScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
369
399
|
scrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
370
400
|
sidePanelScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
@@ -527,6 +557,8 @@ export declare const theme: {
|
|
527
557
|
selectionBtnBorder: string;
|
528
558
|
selectionBtnBorderColor: string;
|
529
559
|
selectionBtnBorderActColor: string;
|
560
|
+
scrollbarThumbColorLT: string;
|
561
|
+
scrollbarThumbColorHoverLT: string;
|
530
562
|
modalTitleColor: string;
|
531
563
|
modalTitleFontSize: string;
|
532
564
|
modalTitleFontSizeSmaller: string;
|
@@ -608,7 +640,9 @@ export declare const theme: {
|
|
608
640
|
};
|
609
641
|
titleColorLT: string;
|
610
642
|
tooltipBg: string;
|
643
|
+
tooltipBgLT: string;
|
611
644
|
tooltipColor: string;
|
645
|
+
tooltipColorLT: string;
|
612
646
|
tooltipBoxShadow: string;
|
613
647
|
tooltipFontSize: string;
|
614
648
|
logoColor: string;
|
@@ -647,6 +681,7 @@ export declare const theme: {
|
|
647
681
|
geocoderTop: number;
|
648
682
|
geocoderRight: number;
|
649
683
|
geocoderInputHeight: number;
|
684
|
+
mapControlTop: number;
|
650
685
|
rangeBrushBgd: string;
|
651
686
|
histogramFillInRange: string;
|
652
687
|
histogramFillOutRange: string;
|
@@ -681,6 +716,8 @@ export declare const theme: {
|
|
681
716
|
notificationPanelItemWidth: number;
|
682
717
|
notificationPanelItemHeight: number;
|
683
718
|
headerRowHeight: number;
|
719
|
+
headerRowWStatsHeight: number;
|
720
|
+
headerStatsControlHeight: number;
|
684
721
|
rowHeight: number;
|
685
722
|
headerPaddingTop: number;
|
686
723
|
headerPaddingBottom: number;
|
@@ -691,6 +728,8 @@ export declare const theme: {
|
|
691
728
|
optionButtonColor: string;
|
692
729
|
headerCellBackground: string;
|
693
730
|
headerCellBorderColor: string;
|
731
|
+
headerCellStatsBackground: string;
|
732
|
+
headerCellStatsControlBackground: string;
|
694
733
|
headerCellIconColor: string;
|
695
734
|
cellBorderColor: string;
|
696
735
|
evenRowBackground: string;
|
@@ -721,6 +760,29 @@ export declare const theme: {
|
|
721
760
|
layerConfiguratorMargin: string;
|
722
761
|
layerConfiguratorPadding: string;
|
723
762
|
fieldTokenRightMargin: number;
|
763
|
+
fieldTokenHeight: number;
|
764
|
+
fieldTokenWidth: number;
|
765
|
+
effectPanelWidth: number;
|
766
|
+
effectPanelHeight: number;
|
767
|
+
effectPanelPaddingSide: number;
|
768
|
+
effectPanelPaddingTop: number;
|
769
|
+
rightPanelMarginTop: number;
|
770
|
+
rightPanelMarginRight: number;
|
771
|
+
effectPanelAddEffectFontFamily: string;
|
772
|
+
effectTypeIconMarginSide: number;
|
773
|
+
effectTypeIconSizeL: number;
|
774
|
+
effectTypeIconBgHoverColor: string;
|
775
|
+
effectConfiguratorMargin: string;
|
776
|
+
effectConfiguratorPadding: string;
|
777
|
+
effectPanelTextMain: string;
|
778
|
+
effectPanelTextSecondary1: string;
|
779
|
+
effectPanelTextSecondary2: string;
|
780
|
+
effectPanelTextSecondary3: string;
|
781
|
+
effectPanelElementColor: string;
|
782
|
+
effectPanelElementColorActive: string;
|
783
|
+
effectPanelElementColorHovered: string;
|
784
|
+
effectPanelElementColorSun: string;
|
785
|
+
effectPanelElementColorSelected: string;
|
724
786
|
sidePanel: {
|
725
787
|
width: number;
|
726
788
|
margin: {
|
@@ -832,6 +894,7 @@ export declare const themeLT: {
|
|
832
894
|
dropdownListShadow: string;
|
833
895
|
dropdownWrapperZ: number;
|
834
896
|
dropdownWapperMargin: number;
|
897
|
+
dndOverBackgroundColor: string;
|
835
898
|
modalScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
836
899
|
scrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
837
900
|
sidePanelScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
@@ -958,6 +1021,8 @@ export declare const themeLT: {
|
|
958
1021
|
selectionBtnBorder: string;
|
959
1022
|
selectionBtnBorderColor: string;
|
960
1023
|
selectionBtnBorderActColor: string;
|
1024
|
+
scrollbarThumbColorLT: string;
|
1025
|
+
scrollbarThumbColorHoverLT: string;
|
961
1026
|
modalTitleColor: string;
|
962
1027
|
modalTitleFontSize: string;
|
963
1028
|
modalTitleFontSizeSmaller: string;
|
@@ -1021,6 +1086,8 @@ export declare const themeLT: {
|
|
1021
1086
|
wordWrap: string;
|
1022
1087
|
};
|
1023
1088
|
titleColorLT: string;
|
1089
|
+
tooltipBgLT: string;
|
1090
|
+
tooltipColorLT: string;
|
1024
1091
|
tooltipBoxShadow: string;
|
1025
1092
|
tooltipFontSize: string;
|
1026
1093
|
logoColor: string;
|
@@ -1052,6 +1119,7 @@ export declare const themeLT: {
|
|
1052
1119
|
geocoderTop: number;
|
1053
1120
|
geocoderRight: number;
|
1054
1121
|
geocoderInputHeight: number;
|
1122
|
+
mapControlTop: number;
|
1055
1123
|
axisFontSize: string;
|
1056
1124
|
timeTitleFontSize: string;
|
1057
1125
|
rangePlotMargin: {
|
@@ -1082,6 +1150,8 @@ export declare const themeLT: {
|
|
1082
1150
|
notificationPanelItemWidth: number;
|
1083
1151
|
notificationPanelItemHeight: number;
|
1084
1152
|
headerRowHeight: number;
|
1153
|
+
headerRowWStatsHeight: number;
|
1154
|
+
headerStatsControlHeight: number;
|
1085
1155
|
rowHeight: number;
|
1086
1156
|
headerPaddingTop: number;
|
1087
1157
|
headerPaddingBottom: number;
|
@@ -1092,6 +1162,8 @@ export declare const themeLT: {
|
|
1092
1162
|
optionButtonColor: string;
|
1093
1163
|
headerCellBackground: string;
|
1094
1164
|
headerCellBorderColor: string;
|
1165
|
+
headerCellStatsBackground: string;
|
1166
|
+
headerCellStatsControlBackground: string;
|
1095
1167
|
headerCellIconColor: string;
|
1096
1168
|
cellBorderColor: string;
|
1097
1169
|
evenRowBackground: string;
|
@@ -1122,6 +1194,29 @@ export declare const themeLT: {
|
|
1122
1194
|
layerConfiguratorMargin: string;
|
1123
1195
|
layerConfiguratorPadding: string;
|
1124
1196
|
fieldTokenRightMargin: number;
|
1197
|
+
fieldTokenHeight: number;
|
1198
|
+
fieldTokenWidth: number;
|
1199
|
+
effectPanelWidth: number;
|
1200
|
+
effectPanelHeight: number;
|
1201
|
+
effectPanelPaddingSide: number;
|
1202
|
+
effectPanelPaddingTop: number;
|
1203
|
+
rightPanelMarginTop: number;
|
1204
|
+
rightPanelMarginRight: number;
|
1205
|
+
effectPanelAddEffectFontFamily: string;
|
1206
|
+
effectTypeIconMarginSide: number;
|
1207
|
+
effectTypeIconSizeL: number;
|
1208
|
+
effectTypeIconBgHoverColor: string;
|
1209
|
+
effectConfiguratorMargin: string;
|
1210
|
+
effectConfiguratorPadding: string;
|
1211
|
+
effectPanelTextMain: string;
|
1212
|
+
effectPanelTextSecondary1: string;
|
1213
|
+
effectPanelTextSecondary2: string;
|
1214
|
+
effectPanelTextSecondary3: string;
|
1215
|
+
effectPanelElementColor: string;
|
1216
|
+
effectPanelElementColorActive: string;
|
1217
|
+
effectPanelElementColorHovered: string;
|
1218
|
+
effectPanelElementColorSun: string;
|
1219
|
+
effectPanelElementColorSelected: string;
|
1125
1220
|
sidePanel: {
|
1126
1221
|
width: number;
|
1127
1222
|
margin: {
|
@@ -1236,6 +1331,7 @@ export declare const themeBS: {
|
|
1236
1331
|
dropdownListShadow: string;
|
1237
1332
|
dropdownWrapperZ: number;
|
1238
1333
|
dropdownWapperMargin: number;
|
1334
|
+
dndOverBackgroundColor: string;
|
1239
1335
|
modalScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
1240
1336
|
scrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
1241
1337
|
sidePanelScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
@@ -1359,6 +1455,8 @@ export declare const themeBS: {
|
|
1359
1455
|
selectionBtnBorder: string;
|
1360
1456
|
selectionBtnBorderColor: string;
|
1361
1457
|
selectionBtnBorderActColor: string;
|
1458
|
+
scrollbarThumbColorLT: string;
|
1459
|
+
scrollbarThumbColorHoverLT: string;
|
1362
1460
|
modalTitleColor: string;
|
1363
1461
|
modalTitleFontSize: string;
|
1364
1462
|
modalTitleFontSizeSmaller: string;
|
@@ -1423,7 +1521,9 @@ export declare const themeBS: {
|
|
1423
1521
|
};
|
1424
1522
|
titleColorLT: string;
|
1425
1523
|
tooltipBg: string;
|
1524
|
+
tooltipBgLT: string;
|
1426
1525
|
tooltipColor: string;
|
1526
|
+
tooltipColorLT: string;
|
1427
1527
|
tooltipBoxShadow: string;
|
1428
1528
|
tooltipFontSize: string;
|
1429
1529
|
logoColor: string;
|
@@ -1456,6 +1556,7 @@ export declare const themeBS: {
|
|
1456
1556
|
geocoderTop: number;
|
1457
1557
|
geocoderRight: number;
|
1458
1558
|
geocoderInputHeight: number;
|
1559
|
+
mapControlTop: number;
|
1459
1560
|
axisFontSize: string;
|
1460
1561
|
axisFontColor: string;
|
1461
1562
|
timeTitleFontSize: string;
|
@@ -1487,6 +1588,8 @@ export declare const themeBS: {
|
|
1487
1588
|
notificationPanelItemWidth: number;
|
1488
1589
|
notificationPanelItemHeight: number;
|
1489
1590
|
headerRowHeight: number;
|
1591
|
+
headerRowWStatsHeight: number;
|
1592
|
+
headerStatsControlHeight: number;
|
1490
1593
|
rowHeight: number;
|
1491
1594
|
headerPaddingTop: number;
|
1492
1595
|
headerPaddingBottom: number;
|
@@ -1497,6 +1600,8 @@ export declare const themeBS: {
|
|
1497
1600
|
optionButtonColor: string;
|
1498
1601
|
headerCellBackground: string;
|
1499
1602
|
headerCellBorderColor: string;
|
1603
|
+
headerCellStatsBackground: string;
|
1604
|
+
headerCellStatsControlBackground: string;
|
1500
1605
|
headerCellIconColor: string;
|
1501
1606
|
cellBorderColor: string;
|
1502
1607
|
evenRowBackground: string;
|
@@ -1527,6 +1632,29 @@ export declare const themeBS: {
|
|
1527
1632
|
layerConfiguratorMargin: string;
|
1528
1633
|
layerConfiguratorPadding: string;
|
1529
1634
|
fieldTokenRightMargin: number;
|
1635
|
+
fieldTokenHeight: number;
|
1636
|
+
fieldTokenWidth: number;
|
1637
|
+
effectPanelWidth: number;
|
1638
|
+
effectPanelHeight: number;
|
1639
|
+
effectPanelPaddingSide: number;
|
1640
|
+
effectPanelPaddingTop: number;
|
1641
|
+
rightPanelMarginTop: number;
|
1642
|
+
rightPanelMarginRight: number;
|
1643
|
+
effectPanelAddEffectFontFamily: string;
|
1644
|
+
effectTypeIconMarginSide: number;
|
1645
|
+
effectTypeIconSizeL: number;
|
1646
|
+
effectTypeIconBgHoverColor: string;
|
1647
|
+
effectConfiguratorMargin: string;
|
1648
|
+
effectConfiguratorPadding: string;
|
1649
|
+
effectPanelTextMain: string;
|
1650
|
+
effectPanelTextSecondary1: string;
|
1651
|
+
effectPanelTextSecondary2: string;
|
1652
|
+
effectPanelTextSecondary3: string;
|
1653
|
+
effectPanelElementColor: string;
|
1654
|
+
effectPanelElementColorActive: string;
|
1655
|
+
effectPanelElementColorHovered: string;
|
1656
|
+
effectPanelElementColorSun: string;
|
1657
|
+
effectPanelElementColorSelected: string;
|
1530
1658
|
sidePanel: {
|
1531
1659
|
width: number;
|
1532
1660
|
margin: {
|