@carto/meridian-ds 1.4.3-alpha-codemirror.6 → 1.4.3-alpha-tag.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/CHANGELOG.md +1 -1
- package/dist/{Alert-CpgfD3bq.js → Alert--QYebQp3.js} +1 -1
- package/dist/{Alert-ChcvNOU6.cjs → Alert-DFaAeTZf.cjs} +3 -3
- package/dist/{palette-CD5ph5A-.cjs → TablePaginationActions-BG2gWq0M.cjs} +3 -232
- package/dist/{palette-DI1CmQ2J.js → TablePaginationActions-Dit3VW-A.js} +5 -234
- package/dist/components/index.cjs +236 -1098
- package/dist/components/index.js +202 -1064
- package/dist/custom-icons/index.cjs +390 -339
- package/dist/custom-icons/index.js +390 -339
- package/dist/paletteUtils-B9ybmwiI.cjs +304 -0
- package/dist/paletteUtils-BHqJlHm9.js +288 -0
- package/dist/theme/index.cjs +103 -103
- package/dist/theme/index.js +4 -3
- package/dist/types/components/molecules/Tag.d.ts +20 -0
- package/dist/types/components/molecules/Tag.d.ts.map +1 -0
- package/dist/types/components/molecules/index.d.ts +2 -0
- package/dist/types/components/molecules/index.d.ts.map +1 -1
- package/dist/types/components/organisms/index.d.ts +0 -2
- package/dist/types/components/organisms/index.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +0 -6
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +0 -6
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +0 -6
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +0 -18
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/widgets/index.cjs +136 -136
- package/dist/widgets/index.js +3 -3
- package/package.json +1 -6
- package/dist/OpenDiagonallyRight-5HZXh46V.js +0 -59
- package/dist/OpenDiagonallyRight-BrRyCV4Q.cjs +0 -58
- package/dist/paletteUtils-DEHchy2r.cjs +0 -93
- package/dist/paletteUtils-DTaXyq2Z.js +0 -77
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.d.ts +0 -16
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts +0 -16
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts +0 -10
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.d.ts +0 -8
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaField.d.ts +0 -4
- package/dist/types/components/organisms/CodeArea/CodeAreaField.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaFooter.d.ts +0 -12
- package/dist/types/components/organisms/CodeArea/CodeAreaFooter.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts +0 -9
- package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts +0 -26
- package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts +0 -7
- package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/index.d.ts +0 -9
- package/dist/types/components/organisms/CodeArea/index.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/types.d.ts +0 -38
- package/dist/types/components/organisms/CodeArea/types.d.ts.map +0 -1
- package/dist/types/components/organisms/CodeArea/utils.d.ts +0 -5
- package/dist/types/components/organisms/CodeArea/utils.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
- New
|
|
5
|
+
- New Tag component [#191](https://github.com/CartoDB/meridian-ds/pull/191)
|
|
6
6
|
- New CopiableComponent component [#187](https://github.com/CartoDB/meridian-ds/pull/187)
|
|
7
7
|
- Expose OrderTypes enum in widgets [#192](https://github.com/CartoDB/meridian-ds/pull/192)
|
|
8
8
|
- Disable minification in published builds [#190](https://github.com/CartoDB/meridian-ds/pull/190)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { b as ICON_SIZE_MEDIUM, T as Typography } from "./
|
|
2
|
+
import { b as ICON_SIZE_MEDIUM, T as Typography } from "./TablePaginationActions-Dit3VW-A.js";
|
|
3
3
|
import { styled, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
|
|
4
4
|
import { forwardRef, useState } from "react";
|
|
5
5
|
const StyledAlert = styled(Alert$1, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const
|
|
3
|
+
const TablePaginationActions = require("./TablePaginationActions-BG2gWq0M.cjs");
|
|
4
4
|
const material = require("@mui/material");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
const StyledAlert = material.styled(material.Alert, {
|
|
@@ -30,7 +30,7 @@ const StyledAlert = material.styled(material.Alert, {
|
|
|
30
30
|
"icon message"
|
|
31
31
|
"icon actions"
|
|
32
32
|
`,
|
|
33
|
-
gridTemplateColumns: hasCloseButton ? `${
|
|
33
|
+
gridTemplateColumns: hasCloseButton ? `${TablePaginationActions.ICON_SIZE_MEDIUM} 1fr ${theme.spacing(3)}` : `${TablePaginationActions.ICON_SIZE_MEDIUM}`
|
|
34
34
|
},
|
|
35
35
|
...isNeutral && {
|
|
36
36
|
backgroundColor: theme.palette.default.background,
|
|
@@ -124,7 +124,7 @@ function _Alert({
|
|
|
124
124
|
...otherProps,
|
|
125
125
|
children: [
|
|
126
126
|
title && /* @__PURE__ */ jsxRuntime.jsx(material.AlertTitle, { children: title }),
|
|
127
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
127
|
+
/* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", color: "inherit", component: "div", children })
|
|
128
128
|
]
|
|
129
129
|
}
|
|
130
130
|
) });
|
|
@@ -808,13 +808,8 @@ const en = {
|
|
|
808
808
|
button: {
|
|
809
809
|
cancel: "Cancel",
|
|
810
810
|
leave: "Leave",
|
|
811
|
-
keepEditing: "Keep editing",
|
|
812
811
|
close: "Close",
|
|
813
|
-
|
|
814
|
-
copy: "Copy",
|
|
815
|
-
save: "Save",
|
|
816
|
-
add: "Add",
|
|
817
|
-
showOptions: "Show options"
|
|
812
|
+
copy: "Copy"
|
|
818
813
|
},
|
|
819
814
|
form: {
|
|
820
815
|
selectAll: "Select all",
|
|
@@ -848,7 +843,6 @@ const en = {
|
|
|
848
843
|
}
|
|
849
844
|
},
|
|
850
845
|
notifications: {
|
|
851
|
-
changesSaved: "Changes saved successfully",
|
|
852
846
|
copiedToClipboard: "Copied to clipboard"
|
|
853
847
|
},
|
|
854
848
|
widgets: {
|
|
@@ -956,13 +950,8 @@ const es = {
|
|
|
956
950
|
button: {
|
|
957
951
|
cancel: "Cancelar",
|
|
958
952
|
leave: "Salir",
|
|
959
|
-
keepEditing: "Seguir editando",
|
|
960
953
|
close: "Cerrar",
|
|
961
|
-
|
|
962
|
-
copy: "Copiar",
|
|
963
|
-
save: "Guardar",
|
|
964
|
-
add: "Añadir",
|
|
965
|
-
showOptions: "Mostrar opciones"
|
|
954
|
+
copy: "Copiar"
|
|
966
955
|
},
|
|
967
956
|
form: {
|
|
968
957
|
selectAll: "Seleccionar todos",
|
|
@@ -996,7 +985,6 @@ const es = {
|
|
|
996
985
|
}
|
|
997
986
|
},
|
|
998
987
|
notifications: {
|
|
999
|
-
changesSaved: "Cambios guardados correctamente",
|
|
1000
988
|
copiedToClipboard: "Copiado al portapapeles"
|
|
1001
989
|
},
|
|
1002
990
|
widgets: {
|
|
@@ -1102,13 +1090,8 @@ const id = {
|
|
|
1102
1090
|
button: {
|
|
1103
1091
|
cancel: "Batal",
|
|
1104
1092
|
leave: "Keluar",
|
|
1105
|
-
keepEditing: "Terus mengedit",
|
|
1106
1093
|
close: "Tutup",
|
|
1107
|
-
|
|
1108
|
-
copy: "Salin",
|
|
1109
|
-
save: "Simpan",
|
|
1110
|
-
add: "Tambah",
|
|
1111
|
-
showOptions: "Tampilkan opsi"
|
|
1094
|
+
copy: "Salin"
|
|
1112
1095
|
},
|
|
1113
1096
|
form: {
|
|
1114
1097
|
selectAll: "Select all",
|
|
@@ -1142,7 +1125,6 @@ const id = {
|
|
|
1142
1125
|
}
|
|
1143
1126
|
},
|
|
1144
1127
|
notifications: {
|
|
1145
|
-
changesSaved: "Changes saved successfully",
|
|
1146
1128
|
copiedToClipboard: "Tersalin ke clipboard"
|
|
1147
1129
|
},
|
|
1148
1130
|
widgets: {
|
|
@@ -5647,216 +5629,6 @@ function TablePaginationActions({
|
|
|
5647
5629
|
)
|
|
5648
5630
|
] });
|
|
5649
5631
|
}
|
|
5650
|
-
const COLOR_BLACK = "#2C3032";
|
|
5651
|
-
const COLOR_WHITE = "#FFFFFF";
|
|
5652
|
-
const COLOR_UNUSED = "#e91e63";
|
|
5653
|
-
const baseColors = {
|
|
5654
|
-
common: {
|
|
5655
|
-
black: COLOR_BLACK,
|
|
5656
|
-
white: COLOR_WHITE
|
|
5657
|
-
},
|
|
5658
|
-
neutral: {
|
|
5659
|
-
50: "#f8f9f9",
|
|
5660
|
-
100: "#e1e3e4",
|
|
5661
|
-
200: "#cbcdcf",
|
|
5662
|
-
300: "#b4b8ba",
|
|
5663
|
-
400: "#9da2a6",
|
|
5664
|
-
500: "#868d91",
|
|
5665
|
-
600: "#6f777c",
|
|
5666
|
-
700: "#595f63",
|
|
5667
|
-
800: "#43474a",
|
|
5668
|
-
900: COLOR_BLACK,
|
|
5669
|
-
A100: "#ddddde",
|
|
5670
|
-
A200: "#b9babb",
|
|
5671
|
-
A400: "#7c7e7f",
|
|
5672
|
-
A700: "#16191A"
|
|
5673
|
-
},
|
|
5674
|
-
blue: {
|
|
5675
|
-
100: "#B9DAF9",
|
|
5676
|
-
200: "#5DB2F6",
|
|
5677
|
-
300: "#358BE7",
|
|
5678
|
-
400: "#036FE2",
|
|
5679
|
-
500: "#024D9E"
|
|
5680
|
-
},
|
|
5681
|
-
green: {
|
|
5682
|
-
300: "#6BE2AD",
|
|
5683
|
-
400: "#47DB99",
|
|
5684
|
-
500: "#31996B"
|
|
5685
|
-
},
|
|
5686
|
-
lightGreen: {
|
|
5687
|
-
300: "#8CB24A",
|
|
5688
|
-
400: "#709F1D",
|
|
5689
|
-
500: "#435F11"
|
|
5690
|
-
},
|
|
5691
|
-
indigo: {
|
|
5692
|
-
300: "#34689F",
|
|
5693
|
-
400: "#024388",
|
|
5694
|
-
500: "#012C5A"
|
|
5695
|
-
},
|
|
5696
|
-
orange: {
|
|
5697
|
-
300: "#F4B134",
|
|
5698
|
-
400: "#F29E02",
|
|
5699
|
-
500: "#A96E01"
|
|
5700
|
-
},
|
|
5701
|
-
red: {
|
|
5702
|
-
300: "#CD593B",
|
|
5703
|
-
400: "#C1300B",
|
|
5704
|
-
500: "#872107"
|
|
5705
|
-
},
|
|
5706
|
-
qualitative: {
|
|
5707
|
-
// CARTO colors
|
|
5708
|
-
// TODO: Related discussion https://app.shortcut.com/cartoteam/story/264834/
|
|
5709
|
-
bold: {
|
|
5710
|
-
0: "#7F3C8D",
|
|
5711
|
-
1: "#11A579",
|
|
5712
|
-
2: "#3969AC",
|
|
5713
|
-
3: "#F2B701",
|
|
5714
|
-
4: "#E73F74",
|
|
5715
|
-
5: "#80BA5A",
|
|
5716
|
-
6: "#E68310",
|
|
5717
|
-
7: "#008695",
|
|
5718
|
-
8: "#CF1C90",
|
|
5719
|
-
9: "#f97b72",
|
|
5720
|
-
10: "#4b4b8f",
|
|
5721
|
-
11: "#A5AA99"
|
|
5722
|
-
}
|
|
5723
|
-
},
|
|
5724
|
-
shades: {
|
|
5725
|
-
dark: {
|
|
5726
|
-
90: material.alpha(COLOR_BLACK, 0.9),
|
|
5727
|
-
60: material.alpha(COLOR_BLACK, 0.6),
|
|
5728
|
-
40: material.alpha(COLOR_BLACK, 0.4),
|
|
5729
|
-
25: material.alpha(COLOR_BLACK, 0.25),
|
|
5730
|
-
12: material.alpha(COLOR_BLACK, 0.12),
|
|
5731
|
-
8: material.alpha(COLOR_BLACK, 0.08),
|
|
5732
|
-
4: material.alpha(COLOR_BLACK, 0.04)
|
|
5733
|
-
},
|
|
5734
|
-
light: {
|
|
5735
|
-
90: material.alpha(COLOR_WHITE, 0.9),
|
|
5736
|
-
60: material.alpha(COLOR_WHITE, 0.6),
|
|
5737
|
-
40: material.alpha(COLOR_WHITE, 0.4),
|
|
5738
|
-
25: material.alpha(COLOR_WHITE, 0.25),
|
|
5739
|
-
12: material.alpha(COLOR_WHITE, 0.12),
|
|
5740
|
-
8: material.alpha(COLOR_WHITE, 0.08),
|
|
5741
|
-
4: material.alpha(COLOR_WHITE, 0.04)
|
|
5742
|
-
}
|
|
5743
|
-
}
|
|
5744
|
-
};
|
|
5745
|
-
const commonPalette = {
|
|
5746
|
-
mode: "light",
|
|
5747
|
-
contrastThreshold: 3,
|
|
5748
|
-
tonalOffset: 0.2,
|
|
5749
|
-
common: { ...baseColors.common },
|
|
5750
|
-
primary: {
|
|
5751
|
-
main: baseColors.blue[400],
|
|
5752
|
-
dark: baseColors.blue[500],
|
|
5753
|
-
light: baseColors.blue[300],
|
|
5754
|
-
contrastText: baseColors.common.white,
|
|
5755
|
-
background: material.alpha(baseColors.blue[400], 0.08),
|
|
5756
|
-
relatedLight: "#EAF2FC",
|
|
5757
|
-
relatedDark: COLOR_UNUSED
|
|
5758
|
-
},
|
|
5759
|
-
secondary: {
|
|
5760
|
-
main: baseColors.green[400],
|
|
5761
|
-
dark: baseColors.green[500],
|
|
5762
|
-
light: baseColors.green[300],
|
|
5763
|
-
contrastText: baseColors.common.black,
|
|
5764
|
-
background: material.alpha(baseColors.green[400], 0.08),
|
|
5765
|
-
relatedLight: "#EFFCF5",
|
|
5766
|
-
relatedDark: COLOR_UNUSED
|
|
5767
|
-
},
|
|
5768
|
-
text: {
|
|
5769
|
-
primary: baseColors.common.black,
|
|
5770
|
-
secondary: baseColors.shades.dark[60],
|
|
5771
|
-
disabled: baseColors.shades.dark[25],
|
|
5772
|
-
hint: baseColors.shades.dark[40]
|
|
5773
|
-
},
|
|
5774
|
-
background: {
|
|
5775
|
-
paper: baseColors.common.white,
|
|
5776
|
-
default: baseColors.neutral[50]
|
|
5777
|
-
},
|
|
5778
|
-
action: {
|
|
5779
|
-
active: baseColors.shades.dark[40],
|
|
5780
|
-
hover: baseColors.shades.dark[8],
|
|
5781
|
-
disabledBackground: baseColors.neutral[100],
|
|
5782
|
-
disabled: baseColors.shades.dark[25],
|
|
5783
|
-
selected: baseColors.shades.dark[12],
|
|
5784
|
-
focus: baseColors.shades.dark[12],
|
|
5785
|
-
activatedOpacity: 0.12,
|
|
5786
|
-
hoverOpacity: 0.04,
|
|
5787
|
-
selectedOpacity: 0.08,
|
|
5788
|
-
disabledOpacity: 0.38,
|
|
5789
|
-
focusOpacity: 0.12
|
|
5790
|
-
},
|
|
5791
|
-
info: {
|
|
5792
|
-
main: baseColors.indigo[400],
|
|
5793
|
-
dark: baseColors.indigo[500],
|
|
5794
|
-
light: baseColors.indigo[300],
|
|
5795
|
-
contrastText: baseColors.common.white,
|
|
5796
|
-
relatedDark: "#0D2B4A",
|
|
5797
|
-
relatedLight: "#E9EEF4",
|
|
5798
|
-
background: COLOR_UNUSED
|
|
5799
|
-
},
|
|
5800
|
-
success: {
|
|
5801
|
-
main: baseColors.lightGreen[400],
|
|
5802
|
-
dark: baseColors.lightGreen[500],
|
|
5803
|
-
light: baseColors.lightGreen[300],
|
|
5804
|
-
contrastText: baseColors.common.white,
|
|
5805
|
-
relatedDark: "#3D541A",
|
|
5806
|
-
relatedLight: "#F2F5EB",
|
|
5807
|
-
background: COLOR_UNUSED
|
|
5808
|
-
},
|
|
5809
|
-
warning: {
|
|
5810
|
-
main: baseColors.orange[400],
|
|
5811
|
-
dark: baseColors.orange[500],
|
|
5812
|
-
light: baseColors.orange[300],
|
|
5813
|
-
contrastText: baseColors.common.black,
|
|
5814
|
-
relatedDark: "#78540F",
|
|
5815
|
-
relatedLight: "#FEF6EA",
|
|
5816
|
-
background: COLOR_UNUSED
|
|
5817
|
-
},
|
|
5818
|
-
error: {
|
|
5819
|
-
main: baseColors.red[400],
|
|
5820
|
-
light: baseColors.red[300],
|
|
5821
|
-
dark: baseColors.red[500],
|
|
5822
|
-
contrastText: baseColors.common.white,
|
|
5823
|
-
relatedDark: "#622215",
|
|
5824
|
-
relatedLight: "#F9EDEA",
|
|
5825
|
-
background: COLOR_UNUSED
|
|
5826
|
-
},
|
|
5827
|
-
grey: {
|
|
5828
|
-
...baseColors.neutral
|
|
5829
|
-
},
|
|
5830
|
-
divider: baseColors.shades.dark[12],
|
|
5831
|
-
// Custom common colors
|
|
5832
|
-
default: {
|
|
5833
|
-
main: baseColors.neutral[100],
|
|
5834
|
-
dark: baseColors.neutral[200],
|
|
5835
|
-
light: baseColors.neutral[50],
|
|
5836
|
-
outlinedBorder: baseColors.shades.dark[25],
|
|
5837
|
-
background: baseColors.shades.dark[4],
|
|
5838
|
-
relatedLight: COLOR_UNUSED,
|
|
5839
|
-
relatedDark: COLOR_UNUSED,
|
|
5840
|
-
contrastText: COLOR_UNUSED
|
|
5841
|
-
},
|
|
5842
|
-
brand: {
|
|
5843
|
-
navyBlue: "#162945",
|
|
5844
|
-
locationRed: "#EB1510",
|
|
5845
|
-
predictionBlue: "#1785FB",
|
|
5846
|
-
softBlue: "#F2F6F9",
|
|
5847
|
-
appBarMain: "#162945",
|
|
5848
|
-
appBarContrastText: baseColors.common.white
|
|
5849
|
-
},
|
|
5850
|
-
white: {
|
|
5851
|
-
...baseColors.shades.light
|
|
5852
|
-
},
|
|
5853
|
-
black: {
|
|
5854
|
-
...baseColors.shades.dark
|
|
5855
|
-
},
|
|
5856
|
-
qualitative: {
|
|
5857
|
-
...baseColors.qualitative
|
|
5858
|
-
}
|
|
5859
|
-
};
|
|
5860
5632
|
exports.APPBAR_SIZE = APPBAR_SIZE;
|
|
5861
5633
|
exports.BREAKPOINTS = BREAKPOINTS;
|
|
5862
5634
|
exports.ICON_SIZE_LARGE = ICON_SIZE_LARGE;
|
|
@@ -5866,7 +5638,6 @@ exports.NOTIFICATION_DURATION_IN_MS = NOTIFICATION_DURATION_IN_MS;
|
|
|
5866
5638
|
exports.SPACING = SPACING;
|
|
5867
5639
|
exports.TablePaginationActions = TablePaginationActions;
|
|
5868
5640
|
exports.Typography = Typography;
|
|
5869
|
-
exports.commonPalette = commonPalette;
|
|
5870
5641
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
5871
5642
|
exports.getSpacing = getSpacing;
|
|
5872
5643
|
exports.useImperativeIntl = useImperativeIntl;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import require$$0 from "react-is";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Typography as Typography$1, Tooltip, IconButton, styled, Box
|
|
3
|
+
import { Typography as Typography$1, Tooltip, IconButton, styled, Box } from "@mui/material";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { KeyboardArrowLeftOutlined, KeyboardArrowRightOutlined } from "@mui/icons-material";
|
|
6
6
|
import { createIntlCache, createIntl, useIntl } from "react-intl";
|
|
@@ -807,13 +807,8 @@ const en = {
|
|
|
807
807
|
button: {
|
|
808
808
|
cancel: "Cancel",
|
|
809
809
|
leave: "Leave",
|
|
810
|
-
keepEditing: "Keep editing",
|
|
811
810
|
close: "Close",
|
|
812
|
-
|
|
813
|
-
copy: "Copy",
|
|
814
|
-
save: "Save",
|
|
815
|
-
add: "Add",
|
|
816
|
-
showOptions: "Show options"
|
|
811
|
+
copy: "Copy"
|
|
817
812
|
},
|
|
818
813
|
form: {
|
|
819
814
|
selectAll: "Select all",
|
|
@@ -847,7 +842,6 @@ const en = {
|
|
|
847
842
|
}
|
|
848
843
|
},
|
|
849
844
|
notifications: {
|
|
850
|
-
changesSaved: "Changes saved successfully",
|
|
851
845
|
copiedToClipboard: "Copied to clipboard"
|
|
852
846
|
},
|
|
853
847
|
widgets: {
|
|
@@ -955,13 +949,8 @@ const es = {
|
|
|
955
949
|
button: {
|
|
956
950
|
cancel: "Cancelar",
|
|
957
951
|
leave: "Salir",
|
|
958
|
-
keepEditing: "Seguir editando",
|
|
959
952
|
close: "Cerrar",
|
|
960
|
-
|
|
961
|
-
copy: "Copiar",
|
|
962
|
-
save: "Guardar",
|
|
963
|
-
add: "Añadir",
|
|
964
|
-
showOptions: "Mostrar opciones"
|
|
953
|
+
copy: "Copiar"
|
|
965
954
|
},
|
|
966
955
|
form: {
|
|
967
956
|
selectAll: "Seleccionar todos",
|
|
@@ -995,7 +984,6 @@ const es = {
|
|
|
995
984
|
}
|
|
996
985
|
},
|
|
997
986
|
notifications: {
|
|
998
|
-
changesSaved: "Cambios guardados correctamente",
|
|
999
987
|
copiedToClipboard: "Copiado al portapapeles"
|
|
1000
988
|
},
|
|
1001
989
|
widgets: {
|
|
@@ -1101,13 +1089,8 @@ const id = {
|
|
|
1101
1089
|
button: {
|
|
1102
1090
|
cancel: "Batal",
|
|
1103
1091
|
leave: "Keluar",
|
|
1104
|
-
keepEditing: "Terus mengedit",
|
|
1105
1092
|
close: "Tutup",
|
|
1106
|
-
|
|
1107
|
-
copy: "Salin",
|
|
1108
|
-
save: "Simpan",
|
|
1109
|
-
add: "Tambah",
|
|
1110
|
-
showOptions: "Tampilkan opsi"
|
|
1093
|
+
copy: "Salin"
|
|
1111
1094
|
},
|
|
1112
1095
|
form: {
|
|
1113
1096
|
selectAll: "Select all",
|
|
@@ -1141,7 +1124,6 @@ const id = {
|
|
|
1141
1124
|
}
|
|
1142
1125
|
},
|
|
1143
1126
|
notifications: {
|
|
1144
|
-
changesSaved: "Changes saved successfully",
|
|
1145
1127
|
copiedToClipboard: "Tersalin ke clipboard"
|
|
1146
1128
|
},
|
|
1147
1129
|
widgets: {
|
|
@@ -5646,216 +5628,6 @@ function TablePaginationActions({
|
|
|
5646
5628
|
)
|
|
5647
5629
|
] });
|
|
5648
5630
|
}
|
|
5649
|
-
const COLOR_BLACK = "#2C3032";
|
|
5650
|
-
const COLOR_WHITE = "#FFFFFF";
|
|
5651
|
-
const COLOR_UNUSED = "#e91e63";
|
|
5652
|
-
const baseColors = {
|
|
5653
|
-
common: {
|
|
5654
|
-
black: COLOR_BLACK,
|
|
5655
|
-
white: COLOR_WHITE
|
|
5656
|
-
},
|
|
5657
|
-
neutral: {
|
|
5658
|
-
50: "#f8f9f9",
|
|
5659
|
-
100: "#e1e3e4",
|
|
5660
|
-
200: "#cbcdcf",
|
|
5661
|
-
300: "#b4b8ba",
|
|
5662
|
-
400: "#9da2a6",
|
|
5663
|
-
500: "#868d91",
|
|
5664
|
-
600: "#6f777c",
|
|
5665
|
-
700: "#595f63",
|
|
5666
|
-
800: "#43474a",
|
|
5667
|
-
900: COLOR_BLACK,
|
|
5668
|
-
A100: "#ddddde",
|
|
5669
|
-
A200: "#b9babb",
|
|
5670
|
-
A400: "#7c7e7f",
|
|
5671
|
-
A700: "#16191A"
|
|
5672
|
-
},
|
|
5673
|
-
blue: {
|
|
5674
|
-
100: "#B9DAF9",
|
|
5675
|
-
200: "#5DB2F6",
|
|
5676
|
-
300: "#358BE7",
|
|
5677
|
-
400: "#036FE2",
|
|
5678
|
-
500: "#024D9E"
|
|
5679
|
-
},
|
|
5680
|
-
green: {
|
|
5681
|
-
300: "#6BE2AD",
|
|
5682
|
-
400: "#47DB99",
|
|
5683
|
-
500: "#31996B"
|
|
5684
|
-
},
|
|
5685
|
-
lightGreen: {
|
|
5686
|
-
300: "#8CB24A",
|
|
5687
|
-
400: "#709F1D",
|
|
5688
|
-
500: "#435F11"
|
|
5689
|
-
},
|
|
5690
|
-
indigo: {
|
|
5691
|
-
300: "#34689F",
|
|
5692
|
-
400: "#024388",
|
|
5693
|
-
500: "#012C5A"
|
|
5694
|
-
},
|
|
5695
|
-
orange: {
|
|
5696
|
-
300: "#F4B134",
|
|
5697
|
-
400: "#F29E02",
|
|
5698
|
-
500: "#A96E01"
|
|
5699
|
-
},
|
|
5700
|
-
red: {
|
|
5701
|
-
300: "#CD593B",
|
|
5702
|
-
400: "#C1300B",
|
|
5703
|
-
500: "#872107"
|
|
5704
|
-
},
|
|
5705
|
-
qualitative: {
|
|
5706
|
-
// CARTO colors
|
|
5707
|
-
// TODO: Related discussion https://app.shortcut.com/cartoteam/story/264834/
|
|
5708
|
-
bold: {
|
|
5709
|
-
0: "#7F3C8D",
|
|
5710
|
-
1: "#11A579",
|
|
5711
|
-
2: "#3969AC",
|
|
5712
|
-
3: "#F2B701",
|
|
5713
|
-
4: "#E73F74",
|
|
5714
|
-
5: "#80BA5A",
|
|
5715
|
-
6: "#E68310",
|
|
5716
|
-
7: "#008695",
|
|
5717
|
-
8: "#CF1C90",
|
|
5718
|
-
9: "#f97b72",
|
|
5719
|
-
10: "#4b4b8f",
|
|
5720
|
-
11: "#A5AA99"
|
|
5721
|
-
}
|
|
5722
|
-
},
|
|
5723
|
-
shades: {
|
|
5724
|
-
dark: {
|
|
5725
|
-
90: alpha(COLOR_BLACK, 0.9),
|
|
5726
|
-
60: alpha(COLOR_BLACK, 0.6),
|
|
5727
|
-
40: alpha(COLOR_BLACK, 0.4),
|
|
5728
|
-
25: alpha(COLOR_BLACK, 0.25),
|
|
5729
|
-
12: alpha(COLOR_BLACK, 0.12),
|
|
5730
|
-
8: alpha(COLOR_BLACK, 0.08),
|
|
5731
|
-
4: alpha(COLOR_BLACK, 0.04)
|
|
5732
|
-
},
|
|
5733
|
-
light: {
|
|
5734
|
-
90: alpha(COLOR_WHITE, 0.9),
|
|
5735
|
-
60: alpha(COLOR_WHITE, 0.6),
|
|
5736
|
-
40: alpha(COLOR_WHITE, 0.4),
|
|
5737
|
-
25: alpha(COLOR_WHITE, 0.25),
|
|
5738
|
-
12: alpha(COLOR_WHITE, 0.12),
|
|
5739
|
-
8: alpha(COLOR_WHITE, 0.08),
|
|
5740
|
-
4: alpha(COLOR_WHITE, 0.04)
|
|
5741
|
-
}
|
|
5742
|
-
}
|
|
5743
|
-
};
|
|
5744
|
-
const commonPalette = {
|
|
5745
|
-
mode: "light",
|
|
5746
|
-
contrastThreshold: 3,
|
|
5747
|
-
tonalOffset: 0.2,
|
|
5748
|
-
common: { ...baseColors.common },
|
|
5749
|
-
primary: {
|
|
5750
|
-
main: baseColors.blue[400],
|
|
5751
|
-
dark: baseColors.blue[500],
|
|
5752
|
-
light: baseColors.blue[300],
|
|
5753
|
-
contrastText: baseColors.common.white,
|
|
5754
|
-
background: alpha(baseColors.blue[400], 0.08),
|
|
5755
|
-
relatedLight: "#EAF2FC",
|
|
5756
|
-
relatedDark: COLOR_UNUSED
|
|
5757
|
-
},
|
|
5758
|
-
secondary: {
|
|
5759
|
-
main: baseColors.green[400],
|
|
5760
|
-
dark: baseColors.green[500],
|
|
5761
|
-
light: baseColors.green[300],
|
|
5762
|
-
contrastText: baseColors.common.black,
|
|
5763
|
-
background: alpha(baseColors.green[400], 0.08),
|
|
5764
|
-
relatedLight: "#EFFCF5",
|
|
5765
|
-
relatedDark: COLOR_UNUSED
|
|
5766
|
-
},
|
|
5767
|
-
text: {
|
|
5768
|
-
primary: baseColors.common.black,
|
|
5769
|
-
secondary: baseColors.shades.dark[60],
|
|
5770
|
-
disabled: baseColors.shades.dark[25],
|
|
5771
|
-
hint: baseColors.shades.dark[40]
|
|
5772
|
-
},
|
|
5773
|
-
background: {
|
|
5774
|
-
paper: baseColors.common.white,
|
|
5775
|
-
default: baseColors.neutral[50]
|
|
5776
|
-
},
|
|
5777
|
-
action: {
|
|
5778
|
-
active: baseColors.shades.dark[40],
|
|
5779
|
-
hover: baseColors.shades.dark[8],
|
|
5780
|
-
disabledBackground: baseColors.neutral[100],
|
|
5781
|
-
disabled: baseColors.shades.dark[25],
|
|
5782
|
-
selected: baseColors.shades.dark[12],
|
|
5783
|
-
focus: baseColors.shades.dark[12],
|
|
5784
|
-
activatedOpacity: 0.12,
|
|
5785
|
-
hoverOpacity: 0.04,
|
|
5786
|
-
selectedOpacity: 0.08,
|
|
5787
|
-
disabledOpacity: 0.38,
|
|
5788
|
-
focusOpacity: 0.12
|
|
5789
|
-
},
|
|
5790
|
-
info: {
|
|
5791
|
-
main: baseColors.indigo[400],
|
|
5792
|
-
dark: baseColors.indigo[500],
|
|
5793
|
-
light: baseColors.indigo[300],
|
|
5794
|
-
contrastText: baseColors.common.white,
|
|
5795
|
-
relatedDark: "#0D2B4A",
|
|
5796
|
-
relatedLight: "#E9EEF4",
|
|
5797
|
-
background: COLOR_UNUSED
|
|
5798
|
-
},
|
|
5799
|
-
success: {
|
|
5800
|
-
main: baseColors.lightGreen[400],
|
|
5801
|
-
dark: baseColors.lightGreen[500],
|
|
5802
|
-
light: baseColors.lightGreen[300],
|
|
5803
|
-
contrastText: baseColors.common.white,
|
|
5804
|
-
relatedDark: "#3D541A",
|
|
5805
|
-
relatedLight: "#F2F5EB",
|
|
5806
|
-
background: COLOR_UNUSED
|
|
5807
|
-
},
|
|
5808
|
-
warning: {
|
|
5809
|
-
main: baseColors.orange[400],
|
|
5810
|
-
dark: baseColors.orange[500],
|
|
5811
|
-
light: baseColors.orange[300],
|
|
5812
|
-
contrastText: baseColors.common.black,
|
|
5813
|
-
relatedDark: "#78540F",
|
|
5814
|
-
relatedLight: "#FEF6EA",
|
|
5815
|
-
background: COLOR_UNUSED
|
|
5816
|
-
},
|
|
5817
|
-
error: {
|
|
5818
|
-
main: baseColors.red[400],
|
|
5819
|
-
light: baseColors.red[300],
|
|
5820
|
-
dark: baseColors.red[500],
|
|
5821
|
-
contrastText: baseColors.common.white,
|
|
5822
|
-
relatedDark: "#622215",
|
|
5823
|
-
relatedLight: "#F9EDEA",
|
|
5824
|
-
background: COLOR_UNUSED
|
|
5825
|
-
},
|
|
5826
|
-
grey: {
|
|
5827
|
-
...baseColors.neutral
|
|
5828
|
-
},
|
|
5829
|
-
divider: baseColors.shades.dark[12],
|
|
5830
|
-
// Custom common colors
|
|
5831
|
-
default: {
|
|
5832
|
-
main: baseColors.neutral[100],
|
|
5833
|
-
dark: baseColors.neutral[200],
|
|
5834
|
-
light: baseColors.neutral[50],
|
|
5835
|
-
outlinedBorder: baseColors.shades.dark[25],
|
|
5836
|
-
background: baseColors.shades.dark[4],
|
|
5837
|
-
relatedLight: COLOR_UNUSED,
|
|
5838
|
-
relatedDark: COLOR_UNUSED,
|
|
5839
|
-
contrastText: COLOR_UNUSED
|
|
5840
|
-
},
|
|
5841
|
-
brand: {
|
|
5842
|
-
navyBlue: "#162945",
|
|
5843
|
-
locationRed: "#EB1510",
|
|
5844
|
-
predictionBlue: "#1785FB",
|
|
5845
|
-
softBlue: "#F2F6F9",
|
|
5846
|
-
appBarMain: "#162945",
|
|
5847
|
-
appBarContrastText: baseColors.common.white
|
|
5848
|
-
},
|
|
5849
|
-
white: {
|
|
5850
|
-
...baseColors.shades.light
|
|
5851
|
-
},
|
|
5852
|
-
black: {
|
|
5853
|
-
...baseColors.shades.dark
|
|
5854
|
-
},
|
|
5855
|
-
qualitative: {
|
|
5856
|
-
...baseColors.qualitative
|
|
5857
|
-
}
|
|
5858
|
-
};
|
|
5859
5631
|
export {
|
|
5860
5632
|
APPBAR_SIZE as A,
|
|
5861
5633
|
BREAKPOINTS as B,
|
|
@@ -5866,8 +5638,7 @@ export {
|
|
|
5866
5638
|
TablePaginationActions as a,
|
|
5867
5639
|
ICON_SIZE_MEDIUM as b,
|
|
5868
5640
|
ICON_SIZE_SMALL as c,
|
|
5869
|
-
|
|
5870
|
-
getDefaultExportFromCjs as e,
|
|
5641
|
+
getDefaultExportFromCjs as d,
|
|
5871
5642
|
getSpacing as g,
|
|
5872
5643
|
useImperativeIntl as u
|
|
5873
5644
|
};
|