@carto/meridian-ds 1.2.1-alpha.1 → 1.3.0-alpha.1
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 +10 -2
- package/dist/{Alert-FLV5jJYV.cjs → Alert-C0xmyi3Z.cjs} +1 -1
- package/dist/{Alert-DDz3-_16.js → Alert-DbN79ENW.js} +1 -1
- package/dist/{MenuItem-BTaTqbU8.js → MenuItem-B3IDLBB1.js} +1 -1
- package/dist/{MenuItem-CxZTr9gk.cjs → MenuItem-DUV2TC2p.cjs} +1 -1
- package/dist/{TablePaginationActions-GazQOp5y.js → TablePaginationActions-BmvmVQd9.js} +183 -149
- package/dist/TablePaginationActions-Bv-6vZ7z.cjs +9 -0
- package/dist/components/index.cjs +5 -5
- package/dist/components/index.js +4448 -3623
- package/dist/custom-icons/index.cjs +1 -1
- package/dist/custom-icons/index.js +519 -415
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +176 -71
- package/dist/types/components/atoms/Button.d.ts +4 -0
- package/dist/types/components/atoms/Button.d.ts.map +1 -1
- package/dist/types/components/atoms/IconButton.d.ts +28 -0
- package/dist/types/components/atoms/IconButton.d.ts.map +1 -0
- package/dist/types/components/atoms/index.d.ts +2 -0
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/components/molecules/Snackbar.d.ts +11 -0
- package/dist/types/components/molecules/Snackbar.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/DatePickers/PickersDay.d.ts.map +1 -1
- package/dist/types/components/organisms/Dialog/Dialog.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/Dialog.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogAlert.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/DialogAlert.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogConfirmation.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/DialogConfirmation.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogContent.d.ts +7 -0
- package/dist/types/components/organisms/Dialog/DialogContent.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogFooter.d.ts +7 -0
- package/dist/types/components/organisms/Dialog/DialogFooter.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogHeader.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/DialogHeader.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogPaper.d.ts +32 -0
- package/dist/types/components/organisms/Dialog/DialogPaper.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogStepper.d.ts +3 -0
- package/dist/types/components/organisms/Dialog/DialogStepper.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/index.d.ts +9 -0
- package/dist/types/components/organisms/Dialog/index.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/types.d.ts +69 -0
- package/dist/types/components/organisms/Dialog/types.d.ts.map +1 -0
- package/dist/types/components/organisms/index.d.ts +2 -0
- package/dist/types/components/organisms/index.d.ts.map +1 -1
- package/dist/types/custom-icons/Comments.d.ts +4 -0
- package/dist/types/custom-icons/Comments.d.ts.map +1 -0
- package/dist/types/custom-icons/Rain.d.ts.map +1 -1
- package/dist/types/custom-icons/SelectDestination.d.ts +4 -0
- package/dist/types/custom-icons/SelectDestination.d.ts.map +1 -0
- package/dist/types/custom-icons/index.d.ts +3 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +11 -0
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +11 -0
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +11 -0
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +33 -0
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/sections/components/buttons.d.ts.map +1 -1
- package/dist/types/theme/theme-constants.d.ts +1 -0
- package/dist/types/theme/theme-constants.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +10 -0
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts.map +1 -1
- package/dist/widgets/index.cjs +8 -8
- package/dist/widgets/index.js +508 -508
- package/package.json +3 -2
- package/dist/TablePaginationActions-DyJEKn3l.cjs +0 -9
package/dist/theme/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { alpha as x, responsiveFontSizes as
|
|
1
|
+
import { alpha as x, responsiveFontSizes as ao, createTheme as to } from "@mui/material";
|
|
2
2
|
import { jsxs as eo, Fragment as no, jsx as s } from "react/jsx-runtime";
|
|
3
|
-
import { T as po, a as lo, I as e, b as r, c as u, g as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { T as po, a as lo, I as e, b as r, c as u, g as t, A as T, B as g, S as P } from "../TablePaginationActions-BmvmVQd9.js";
|
|
4
|
+
import { N as Ao } from "../TablePaginationActions-BmvmVQd9.js";
|
|
5
|
+
import { Cancel as v, EventOutlined as L, ChevronRightOutlined as so, ChevronLeftOutlined as co, ExpandMoreOutlined as oo, CheckCircleOutlined as go } from "@mui/icons-material";
|
|
6
|
+
import { A as h } from "../ArrowDown-B1AG0MlL.js";
|
|
7
|
+
import { r as W, M as A } from "../MenuItem-B3IDLBB1.js";
|
|
7
8
|
import { c as p } from "../paletteUtils-BEwZhrLg.js";
|
|
8
|
-
import { g as
|
|
9
|
+
import { g as Do } from "../paletteUtils-BEwZhrLg.js";
|
|
9
10
|
const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z", H = "50%", D = 0.5, bo = {
|
|
10
11
|
// Divider
|
|
11
12
|
MuiDivider: {
|
|
@@ -517,7 +518,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
517
518
|
})
|
|
518
519
|
}
|
|
519
520
|
}
|
|
520
|
-
}, F =
|
|
521
|
+
}, F = t(2), l = t(3), n = t(4), d = t(6), E = t(0.5), xo = {
|
|
521
522
|
// Button Base
|
|
522
523
|
MuiButtonBase: {
|
|
523
524
|
defaultProps: {
|
|
@@ -765,6 +766,8 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
765
766
|
MuiIconButton: {
|
|
766
767
|
styleOverrides: {
|
|
767
768
|
root: ({ ownerState: o, theme: i }) => ({
|
|
769
|
+
position: "relative",
|
|
770
|
+
overflow: "hidden",
|
|
768
771
|
borderRadius: i.spacing(0.5),
|
|
769
772
|
...o.color === "default" && {
|
|
770
773
|
color: i.palette.text.secondary
|
|
@@ -775,9 +778,18 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
775
778
|
minWidth: r,
|
|
776
779
|
height: r
|
|
777
780
|
},
|
|
781
|
+
"& svg": {
|
|
782
|
+
fill: "currentColor",
|
|
783
|
+
"& path": {
|
|
784
|
+
fillOpacity: 1
|
|
785
|
+
}
|
|
786
|
+
},
|
|
778
787
|
"& svg:not(.doNotFillIcon) path": {
|
|
779
788
|
fill: "currentColor"
|
|
780
789
|
},
|
|
790
|
+
"&.Mui-disabled svg:not(.doNotFillIcon) path": {
|
|
791
|
+
fill: i.palette.text.disabled
|
|
792
|
+
},
|
|
781
793
|
"&:hover, &:focus-visible": {
|
|
782
794
|
...o.color === "default" && {
|
|
783
795
|
backgroundColor: i.palette.action.hover
|
|
@@ -787,6 +799,12 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
787
799
|
},
|
|
788
800
|
...o.color === "secondary" && {
|
|
789
801
|
backgroundColor: i.palette.secondary.background
|
|
802
|
+
},
|
|
803
|
+
...o.color === "error" && {
|
|
804
|
+
backgroundColor: i.palette.error.relatedLight
|
|
805
|
+
},
|
|
806
|
+
...o.color === "warning" && {
|
|
807
|
+
backgroundColor: i.palette.warning.relatedLight
|
|
790
808
|
}
|
|
791
809
|
}
|
|
792
810
|
}),
|
|
@@ -817,6 +835,92 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
817
835
|
height: u
|
|
818
836
|
}
|
|
819
837
|
})
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
props: { variant: "contained" },
|
|
841
|
+
style: ({ theme: o }) => ({
|
|
842
|
+
// Default
|
|
843
|
+
color: o.palette.text.primary,
|
|
844
|
+
backgroundColor: o.palette.default.main,
|
|
845
|
+
"&:hover": {
|
|
846
|
+
backgroundColor: o.palette.default.dark
|
|
847
|
+
},
|
|
848
|
+
"&.MuiIconButton-colorSecondary": {
|
|
849
|
+
color: o.palette.secondary.contrastText,
|
|
850
|
+
backgroundColor: o.palette.secondary.main,
|
|
851
|
+
"&:hover": {
|
|
852
|
+
backgroundColor: o.palette.secondary.light
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"&.MuiIconButton-colorPrimary": {
|
|
856
|
+
color: o.palette.primary.contrastText,
|
|
857
|
+
backgroundColor: o.palette.primary.main,
|
|
858
|
+
"&:hover": {
|
|
859
|
+
backgroundColor: o.palette.primary.dark
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"&.MuiIconButton-colorError": {
|
|
863
|
+
color: o.palette.error.contrastText,
|
|
864
|
+
backgroundColor: o.palette.error.main,
|
|
865
|
+
"&:hover": {
|
|
866
|
+
backgroundColor: o.palette.error.dark
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
"&.MuiIconButton-colorWarning": {
|
|
870
|
+
color: o.palette.warning.contrastText,
|
|
871
|
+
backgroundColor: o.palette.warning.main,
|
|
872
|
+
"&:hover": {
|
|
873
|
+
backgroundColor: o.palette.warning.light
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"&[disabled]": {
|
|
877
|
+
color: o.palette.text.disabled,
|
|
878
|
+
backgroundColor: o.palette.action.disabledBackground
|
|
879
|
+
}
|
|
880
|
+
})
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
props: { variant: "outlined" },
|
|
884
|
+
style: ({ theme: o }) => ({
|
|
885
|
+
// Default
|
|
886
|
+
color: o.palette.text.primary,
|
|
887
|
+
border: `1px solid ${o.palette.text.primary}`,
|
|
888
|
+
"&:hover": {
|
|
889
|
+
backgroundColor: o.palette.action.hover
|
|
890
|
+
},
|
|
891
|
+
"&.MuiIconButton-colorSecondary": {
|
|
892
|
+
color: o.palette.secondary.main,
|
|
893
|
+
borderColor: o.palette.secondary.main,
|
|
894
|
+
"&:hover": {
|
|
895
|
+
backgroundColor: o.palette.secondary.background
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
"&.MuiIconButton-colorPrimary": {
|
|
899
|
+
color: o.palette.primary.main,
|
|
900
|
+
borderColor: o.palette.primary.main,
|
|
901
|
+
"&:hover": {
|
|
902
|
+
backgroundColor: o.palette.primary.background
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"&.MuiIconButton-colorError": {
|
|
906
|
+
color: o.palette.error.main,
|
|
907
|
+
borderColor: o.palette.error.main,
|
|
908
|
+
"&:hover": {
|
|
909
|
+
backgroundColor: o.palette.error.relatedLight
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"&.MuiIconButton-colorWarning": {
|
|
913
|
+
color: o.palette.warning.main,
|
|
914
|
+
borderColor: o.palette.warning.main,
|
|
915
|
+
"&:hover": {
|
|
916
|
+
backgroundColor: o.palette.warning.relatedLight
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"&[disabled]": {
|
|
920
|
+
color: o.palette.text.disabled,
|
|
921
|
+
borderColor: o.palette.default.outlinedBorder
|
|
922
|
+
}
|
|
923
|
+
})
|
|
820
924
|
}
|
|
821
925
|
]
|
|
822
926
|
},
|
|
@@ -1017,7 +1121,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1017
1121
|
})
|
|
1018
1122
|
}
|
|
1019
1123
|
}
|
|
1020
|
-
}, M = 2.25, f = 3, $ = 2,
|
|
1124
|
+
}, M = 2.25, f = 3, $ = 2, N = 3, G = 4, V = {
|
|
1021
1125
|
root: ({ ownerState: o, theme: i }) => ({
|
|
1022
1126
|
padding: i.spacing(0.5),
|
|
1023
1127
|
...o.size === "small" && {
|
|
@@ -1093,7 +1197,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1093
1197
|
size: "small"
|
|
1094
1198
|
},
|
|
1095
1199
|
styleOverrides: {
|
|
1096
|
-
...
|
|
1200
|
+
...V
|
|
1097
1201
|
}
|
|
1098
1202
|
},
|
|
1099
1203
|
// Radio Button
|
|
@@ -1102,7 +1206,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1102
1206
|
size: "small"
|
|
1103
1207
|
},
|
|
1104
1208
|
styleOverrides: {
|
|
1105
|
-
...
|
|
1209
|
+
...V
|
|
1106
1210
|
}
|
|
1107
1211
|
},
|
|
1108
1212
|
// Text Field
|
|
@@ -1114,7 +1218,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1114
1218
|
shrink: !0
|
|
1115
1219
|
},
|
|
1116
1220
|
SelectProps: {
|
|
1117
|
-
IconComponent:
|
|
1221
|
+
IconComponent: h,
|
|
1118
1222
|
size: "small"
|
|
1119
1223
|
}
|
|
1120
1224
|
},
|
|
@@ -1453,7 +1557,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1453
1557
|
// Select
|
|
1454
1558
|
MuiSelect: {
|
|
1455
1559
|
defaultProps: {
|
|
1456
|
-
IconComponent:
|
|
1560
|
+
IconComponent: h,
|
|
1457
1561
|
fullWidth: !0,
|
|
1458
1562
|
size: "small"
|
|
1459
1563
|
},
|
|
@@ -1536,8 +1640,8 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1536
1640
|
defaultProps: {
|
|
1537
1641
|
size: "small",
|
|
1538
1642
|
fullWidth: !0,
|
|
1539
|
-
popupIcon: /* @__PURE__ */ s(
|
|
1540
|
-
clearIcon: /* @__PURE__ */ s(
|
|
1643
|
+
popupIcon: /* @__PURE__ */ s(h, {}),
|
|
1644
|
+
clearIcon: /* @__PURE__ */ s(v, { "data-testid": "cancel-icon-autocomplete" }),
|
|
1541
1645
|
ChipProps: { color: "default" },
|
|
1542
1646
|
limitTags: 1,
|
|
1543
1647
|
componentsProps: {
|
|
@@ -1716,7 +1820,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1716
1820
|
},
|
|
1717
1821
|
styleOverrides: {
|
|
1718
1822
|
root: ({ theme: o }) => ({
|
|
1719
|
-
width: o.spacing(
|
|
1823
|
+
width: o.spacing(N),
|
|
1720
1824
|
height: o.spacing($),
|
|
1721
1825
|
padding: 0,
|
|
1722
1826
|
overflow: "visible",
|
|
@@ -1729,8 +1833,8 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1729
1833
|
}
|
|
1730
1834
|
}),
|
|
1731
1835
|
switchBase: ({ ownerState: o, theme: i }) => ({
|
|
1732
|
-
width: i.spacing(
|
|
1733
|
-
height: i.spacing(
|
|
1836
|
+
width: i.spacing(G),
|
|
1837
|
+
height: i.spacing(G),
|
|
1734
1838
|
padding: i.spacing(0.5),
|
|
1735
1839
|
borderRadius: "50%",
|
|
1736
1840
|
color: i.palette.text.secondary,
|
|
@@ -1772,7 +1876,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1772
1876
|
}
|
|
1773
1877
|
}),
|
|
1774
1878
|
input: ({ theme: o }) => ({
|
|
1775
|
-
width: o.spacing(
|
|
1879
|
+
width: o.spacing(N),
|
|
1776
1880
|
height: o.spacing($),
|
|
1777
1881
|
left: 0
|
|
1778
1882
|
}),
|
|
@@ -2144,7 +2248,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2144
2248
|
},
|
|
2145
2249
|
slots: {
|
|
2146
2250
|
openPickerIcon: L,
|
|
2147
|
-
clearIcon:
|
|
2251
|
+
clearIcon: v
|
|
2148
2252
|
}
|
|
2149
2253
|
}
|
|
2150
2254
|
},
|
|
@@ -2159,7 +2263,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2159
2263
|
},
|
|
2160
2264
|
styleOverrides: {
|
|
2161
2265
|
root: ({ ownerState: o, theme: i }) => {
|
|
2162
|
-
var c, m, S,
|
|
2266
|
+
var c, m, S, I, w, B, z, O, R;
|
|
2163
2267
|
return {
|
|
2164
2268
|
width: i.spacing(U),
|
|
2165
2269
|
height: i.spacing(C),
|
|
@@ -2171,7 +2275,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2171
2275
|
maxHeight: i.spacing(33.5)
|
|
2172
2276
|
},
|
|
2173
2277
|
// Month only view
|
|
2174
|
-
...((
|
|
2278
|
+
...((I = o.views) == null ? void 0 : I.includes("month")) && !((w = o.views) != null && w.includes("year")) && !((B = o.views) != null && B.includes("day")) && {
|
|
2175
2279
|
height: i.spacing(29),
|
|
2176
2280
|
// 232px
|
|
2177
2281
|
maxHeight: i.spacing(29),
|
|
@@ -2333,7 +2437,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2333
2437
|
// Remove ok button at bottom
|
|
2334
2438
|
},
|
|
2335
2439
|
slots: {
|
|
2336
|
-
clearIcon:
|
|
2440
|
+
clearIcon: v,
|
|
2337
2441
|
digitalClockItem: (o) => /* @__PURE__ */ s(A, { ...o, disableRipple: !0 })
|
|
2338
2442
|
}
|
|
2339
2443
|
}
|
|
@@ -2356,7 +2460,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2356
2460
|
},
|
|
2357
2461
|
slots: {
|
|
2358
2462
|
openPickerIcon: L,
|
|
2359
|
-
clearIcon:
|
|
2463
|
+
clearIcon: v,
|
|
2360
2464
|
digitalClockItem: (o) => /* @__PURE__ */ s(A, { ...o, disableRipple: !0 })
|
|
2361
2465
|
}
|
|
2362
2466
|
}
|
|
@@ -2380,7 +2484,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2380
2484
|
}
|
|
2381
2485
|
}
|
|
2382
2486
|
};
|
|
2383
|
-
function
|
|
2487
|
+
function a(o) {
|
|
2384
2488
|
return 0.0625 * o + "rem";
|
|
2385
2489
|
}
|
|
2386
2490
|
const k = {
|
|
@@ -2396,77 +2500,77 @@ const k = {
|
|
|
2396
2500
|
h1: {
|
|
2397
2501
|
fontFamily: "Inter, sans-serif",
|
|
2398
2502
|
fontWeight: 600,
|
|
2399
|
-
fontSize:
|
|
2503
|
+
fontSize: a(96),
|
|
2400
2504
|
lineHeight: 1.167,
|
|
2401
2505
|
letterSpacing: "-1.5px"
|
|
2402
2506
|
},
|
|
2403
2507
|
h2: {
|
|
2404
2508
|
fontFamily: "Inter, sans-serif",
|
|
2405
2509
|
fontWeight: 600,
|
|
2406
|
-
fontSize:
|
|
2510
|
+
fontSize: a(60),
|
|
2407
2511
|
lineHeight: 1.2,
|
|
2408
2512
|
letterSpacing: "-0.5px"
|
|
2409
2513
|
},
|
|
2410
2514
|
h3: {
|
|
2411
2515
|
fontFamily: "Inter, sans-serif",
|
|
2412
2516
|
fontWeight: 600,
|
|
2413
|
-
fontSize:
|
|
2517
|
+
fontSize: a(48),
|
|
2414
2518
|
lineHeight: 1.167,
|
|
2415
2519
|
letterSpacing: 0
|
|
2416
2520
|
},
|
|
2417
2521
|
h4: {
|
|
2418
2522
|
fontFamily: "Inter, sans-serif",
|
|
2419
2523
|
fontWeight: 600,
|
|
2420
|
-
fontSize:
|
|
2524
|
+
fontSize: a(32),
|
|
2421
2525
|
lineHeight: 1.25,
|
|
2422
2526
|
letterSpacing: 0
|
|
2423
2527
|
},
|
|
2424
2528
|
h5: {
|
|
2425
2529
|
fontFamily: "Inter, sans-serif",
|
|
2426
2530
|
fontWeight: 600,
|
|
2427
|
-
fontSize:
|
|
2531
|
+
fontSize: a(24),
|
|
2428
2532
|
lineHeight: 1.167,
|
|
2429
2533
|
letterSpacing: 0
|
|
2430
2534
|
},
|
|
2431
2535
|
h6: {
|
|
2432
2536
|
fontFamily: "Inter, sans-serif",
|
|
2433
2537
|
fontWeight: 500,
|
|
2434
|
-
fontSize:
|
|
2538
|
+
fontSize: a(18),
|
|
2435
2539
|
lineHeight: 1.333,
|
|
2436
2540
|
letterSpacing: 0
|
|
2437
2541
|
},
|
|
2438
2542
|
subtitle1: {
|
|
2439
2543
|
fontFamily: "Inter, sans-serif",
|
|
2440
2544
|
fontWeight: 500,
|
|
2441
|
-
fontSize:
|
|
2545
|
+
fontSize: a(16),
|
|
2442
2546
|
lineHeight: 1.5,
|
|
2443
2547
|
letterSpacing: 0
|
|
2444
2548
|
},
|
|
2445
2549
|
subtitle2: {
|
|
2446
2550
|
fontFamily: "Inter, sans-serif",
|
|
2447
2551
|
fontWeight: 600,
|
|
2448
|
-
fontSize:
|
|
2552
|
+
fontSize: a(13),
|
|
2449
2553
|
lineHeight: 1.538,
|
|
2450
2554
|
letterSpacing: 0
|
|
2451
2555
|
},
|
|
2452
2556
|
body1: {
|
|
2453
2557
|
fontFamily: "Inter, sans-serif",
|
|
2454
2558
|
fontWeight: 400,
|
|
2455
|
-
fontSize:
|
|
2559
|
+
fontSize: a(16),
|
|
2456
2560
|
lineHeight: 1.5,
|
|
2457
2561
|
letterSpacing: 0
|
|
2458
2562
|
},
|
|
2459
2563
|
body2: {
|
|
2460
2564
|
fontFamily: "Inter, sans-serif",
|
|
2461
2565
|
fontWeight: 400,
|
|
2462
|
-
fontSize:
|
|
2566
|
+
fontSize: a(13),
|
|
2463
2567
|
lineHeight: 1.538,
|
|
2464
2568
|
letterSpacing: 0
|
|
2465
2569
|
},
|
|
2466
2570
|
button: {
|
|
2467
2571
|
fontFamily: "Inter, sans-serif",
|
|
2468
2572
|
fontWeight: 500,
|
|
2469
|
-
fontSize:
|
|
2573
|
+
fontSize: a(13),
|
|
2470
2574
|
lineHeight: 1.538,
|
|
2471
2575
|
letterSpacing: 0,
|
|
2472
2576
|
textTransform: "inherit"
|
|
@@ -2474,19 +2578,19 @@ const k = {
|
|
|
2474
2578
|
caption: {
|
|
2475
2579
|
fontFamily: "Inter, sans-serif",
|
|
2476
2580
|
fontWeight: 400,
|
|
2477
|
-
fontSize:
|
|
2581
|
+
fontSize: a(11),
|
|
2478
2582
|
lineHeight: 1.454,
|
|
2479
2583
|
letterSpacing: 0
|
|
2480
2584
|
},
|
|
2481
2585
|
overline: {
|
|
2482
2586
|
fontFamily: "Inter, sans-serif",
|
|
2483
2587
|
fontWeight: 500,
|
|
2484
|
-
fontSize:
|
|
2588
|
+
fontSize: a(10),
|
|
2485
2589
|
lineHeight: 1.2,
|
|
2486
2590
|
letterSpacing: "1.2px",
|
|
2487
2591
|
textTransform: "uppercase"
|
|
2488
2592
|
}
|
|
2489
|
-
},
|
|
2593
|
+
}, vo = {
|
|
2490
2594
|
captionMedium: {
|
|
2491
2595
|
...k.caption,
|
|
2492
2596
|
fontWeight: 500,
|
|
@@ -2500,7 +2604,7 @@ const k = {
|
|
|
2500
2604
|
code1: {
|
|
2501
2605
|
fontFamily: '"Overpass Mono", monospace',
|
|
2502
2606
|
fontWeight: 400,
|
|
2503
|
-
fontSize:
|
|
2607
|
+
fontSize: a(16),
|
|
2504
2608
|
lineHeight: 1.5,
|
|
2505
2609
|
letterSpacing: 0,
|
|
2506
2610
|
fontVariantLigatures: "no-common-ligatures"
|
|
@@ -2508,7 +2612,7 @@ const k = {
|
|
|
2508
2612
|
code2: {
|
|
2509
2613
|
fontFamily: '"Overpass Mono", monospace',
|
|
2510
2614
|
fontWeight: 400,
|
|
2511
|
-
fontSize:
|
|
2615
|
+
fontSize: a(14),
|
|
2512
2616
|
lineHeight: 1.428,
|
|
2513
2617
|
letterSpacing: 0,
|
|
2514
2618
|
fontVariantLigatures: "no-common-ligatures"
|
|
@@ -2516,21 +2620,21 @@ const k = {
|
|
|
2516
2620
|
code3: {
|
|
2517
2621
|
fontFamily: '"Overpass Mono", monospace',
|
|
2518
2622
|
fontWeight: 400,
|
|
2519
|
-
fontSize:
|
|
2623
|
+
fontSize: a(12),
|
|
2520
2624
|
lineHeight: 1.333,
|
|
2521
2625
|
letterSpacing: 0,
|
|
2522
2626
|
fontVariantLigatures: "no-common-ligatures"
|
|
2523
2627
|
}
|
|
2524
2628
|
}, ro = {
|
|
2525
2629
|
...k,
|
|
2526
|
-
...
|
|
2630
|
+
...vo
|
|
2527
2631
|
};
|
|
2528
|
-
var Z, K, q, Q, Y,
|
|
2529
|
-
const
|
|
2632
|
+
var Z, _, K, q, Q, Y, X, J;
|
|
2633
|
+
const ho = {
|
|
2530
2634
|
// Accessibility focus (keyboard only)
|
|
2531
2635
|
"*:focus-visible": {
|
|
2532
2636
|
outline: `2px solid ${(Z = p.primary) == null ? void 0 : Z.main} !important`,
|
|
2533
|
-
boxShadow: `0 0 0 4px ${(
|
|
2637
|
+
boxShadow: `0 0 0 4px ${(_ = p.primary) == null ? void 0 : _.background} !important`,
|
|
2534
2638
|
borderRadius: "4px"
|
|
2535
2639
|
},
|
|
2536
2640
|
// Custom scrollbars
|
|
@@ -2549,42 +2653,42 @@ const vo = {
|
|
|
2549
2653
|
},
|
|
2550
2654
|
"*::-webkit-scrollbar-thumb": {
|
|
2551
2655
|
borderRadius: "3px",
|
|
2552
|
-
background: (
|
|
2656
|
+
background: (K = p.action) == null ? void 0 : K.focus,
|
|
2553
2657
|
outline: "none"
|
|
2554
2658
|
},
|
|
2555
2659
|
// iOS Search clear button
|
|
2556
2660
|
'input[type="search"]::-webkit-search-cancel-button': {
|
|
2557
2661
|
WebkitAppearance: "none",
|
|
2558
2662
|
appearance: "none",
|
|
2559
|
-
height:
|
|
2560
|
-
width:
|
|
2663
|
+
height: t(2),
|
|
2664
|
+
width: t(2),
|
|
2561
2665
|
display: "block",
|
|
2562
2666
|
backgroundImage: "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)",
|
|
2563
2667
|
backgroundRepeat: "no-repeat",
|
|
2564
|
-
backgroundSize:
|
|
2668
|
+
backgroundSize: t(2)
|
|
2565
2669
|
},
|
|
2566
2670
|
// Mapbox controls
|
|
2567
2671
|
".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
|
|
2568
|
-
padding:
|
|
2569
|
-
borderRadius:
|
|
2672
|
+
padding: t(0, 1),
|
|
2673
|
+
borderRadius: t(0.5, 0, 0, 0),
|
|
2570
2674
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
2571
2675
|
...ro.overline,
|
|
2572
2676
|
textTransform: "none",
|
|
2573
2677
|
letterSpacing: "0.75px",
|
|
2574
2678
|
"& a": {
|
|
2575
|
-
color: (
|
|
2679
|
+
color: (q = p.primary) == null ? void 0 : q.main
|
|
2576
2680
|
}
|
|
2577
2681
|
},
|
|
2578
2682
|
"&.mapboxgl-compact": {
|
|
2579
2683
|
backgroundColor: "transparent",
|
|
2580
|
-
right:
|
|
2581
|
-
bottom:
|
|
2684
|
+
right: t(0.5),
|
|
2685
|
+
bottom: t(2.5),
|
|
2582
2686
|
// Mobile
|
|
2583
2687
|
"@media (max-width: 600px)": {
|
|
2584
|
-
bottom:
|
|
2688
|
+
bottom: t(0.5)
|
|
2585
2689
|
},
|
|
2586
2690
|
"& .mapboxgl-ctrl-attrib-button": {
|
|
2587
|
-
backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(
|
|
2691
|
+
backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(Q = p.text) == null ? void 0 : Q.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
|
|
2588
2692
|
backgroundColor: "rgba(255,255,255,.8)",
|
|
2589
2693
|
top: "auto",
|
|
2590
2694
|
bottom: 0,
|
|
@@ -2595,10 +2699,10 @@ const vo = {
|
|
|
2595
2699
|
},
|
|
2596
2700
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
2597
2701
|
backgroundColor: "rgba(255,255,255,.8)",
|
|
2598
|
-
padding:
|
|
2599
|
-
borderRadius:
|
|
2600
|
-
marginRight:
|
|
2601
|
-
color: (
|
|
2702
|
+
padding: t(0.5, 1),
|
|
2703
|
+
borderRadius: t(1.5),
|
|
2704
|
+
marginRight: t(2.5),
|
|
2705
|
+
color: (Y = p.text) == null ? void 0 : Y.secondary
|
|
2602
2706
|
},
|
|
2603
2707
|
"&.mapboxgl-compact-show": {
|
|
2604
2708
|
"& .mapboxgl-ctrl-attrib-button": {
|
|
@@ -2701,7 +2805,7 @@ const vo = {
|
|
|
2701
2805
|
flexDirection: "row",
|
|
2702
2806
|
alignItems: "center",
|
|
2703
2807
|
justifyContent: "space-between",
|
|
2704
|
-
height:
|
|
2808
|
+
height: T,
|
|
2705
2809
|
backgroundColor: o.palette.brand.navyBlue,
|
|
2706
2810
|
color: o.palette.common.white,
|
|
2707
2811
|
boxShadow: o.shadows[0],
|
|
@@ -2709,7 +2813,7 @@ const vo = {
|
|
|
2709
2813
|
justifyContent: "space-between",
|
|
2710
2814
|
width: "100%",
|
|
2711
2815
|
padding: o.spacing(0, 1),
|
|
2712
|
-
minHeight:
|
|
2816
|
+
minHeight: T
|
|
2713
2817
|
},
|
|
2714
2818
|
"& .MuiAvatar-root": {
|
|
2715
2819
|
width: o.spacing(4),
|
|
@@ -2851,9 +2955,9 @@ const vo = {
|
|
|
2851
2955
|
palette: p,
|
|
2852
2956
|
shadows: mo,
|
|
2853
2957
|
typography: ro,
|
|
2854
|
-
spacingValue:
|
|
2958
|
+
spacingValue: P,
|
|
2855
2959
|
// For situations where we can't use theme.spacing(), mainly math calculations.er
|
|
2856
|
-
spacing:
|
|
2960
|
+
spacing: P,
|
|
2857
2961
|
// For custom spacing: https://material-ui.com/customization/spacing/#custom-spacing
|
|
2858
2962
|
shape: {
|
|
2859
2963
|
borderRadius: 4
|
|
@@ -2890,7 +2994,7 @@ const vo = {
|
|
|
2890
2994
|
components: {
|
|
2891
2995
|
MuiCssBaseline: {
|
|
2892
2996
|
styleOverrides: {
|
|
2893
|
-
...
|
|
2997
|
+
...ho
|
|
2894
2998
|
}
|
|
2895
2999
|
},
|
|
2896
3000
|
...xo,
|
|
@@ -2901,16 +3005,17 @@ const vo = {
|
|
|
2901
3005
|
...ko,
|
|
2902
3006
|
...fo
|
|
2903
3007
|
}
|
|
2904
|
-
},
|
|
3008
|
+
}, Po = ao(to(So));
|
|
2905
3009
|
export {
|
|
2906
|
-
|
|
3010
|
+
T as APPBAR_SIZE,
|
|
2907
3011
|
g as BREAKPOINTS,
|
|
2908
3012
|
e as ICON_SIZE_LARGE,
|
|
2909
3013
|
r as ICON_SIZE_MEDIUM,
|
|
2910
3014
|
u as ICON_SIZE_SMALL,
|
|
2911
|
-
|
|
3015
|
+
Ao as NOTIFICATION_DURATION_IN_MS,
|
|
3016
|
+
P as SPACING,
|
|
2912
3017
|
So as cartoThemeOptions,
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
3018
|
+
Do as getCartoColorStylePropsForItem,
|
|
3019
|
+
t as getSpacing,
|
|
3020
|
+
Po as theme
|
|
2916
3021
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { ButtonProps as MUIButtonProps } from '@mui/material';
|
|
2
3
|
export type ButtonProps = MUIButtonProps<React.ElementType, {
|
|
3
4
|
target?: string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
loadingIndicator?: ReactNode;
|
|
7
|
+
loadingPosition?: 'start' | 'end';
|
|
4
8
|
}>;
|
|
5
9
|
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
6
10
|
export default Button;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,cAAc,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAA;AAC3D,OAAO,EACL,WAAW,IAAI,cAAc,EAK9B,MAAM,eAAe,CAAA;AAmBtB,MAAM,MAAM,WAAW,GAAG,cAAc,CACtC,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAClC,CACF,CAAA;AAoED,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReactNode, MouseEvent } from 'react';
|
|
2
|
+
import { IconButtonProps as MuiIconButtonProps, TooltipProps } from '@mui/material';
|
|
3
|
+
export type IconButtonProps = Omit<MuiIconButtonProps, 'ref'> & {
|
|
4
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
5
|
+
/** @deprecated Use ToggleButton component instead */
|
|
6
|
+
active?: boolean;
|
|
7
|
+
icon: ReactNode;
|
|
8
|
+
variant?: 'contained' | 'outlined' | 'icon';
|
|
9
|
+
tooltip?: TooltipProps['title'];
|
|
10
|
+
tooltipPlacement?: TooltipProps['placement'];
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
/** Add support for React Router's 'to' prop */
|
|
13
|
+
to?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const IconButton: import('react').ForwardRefExoticComponent<Omit<MuiIconButtonProps, "ref"> & {
|
|
16
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
17
|
+
/** @deprecated Use ToggleButton component instead */
|
|
18
|
+
active?: boolean;
|
|
19
|
+
icon: ReactNode;
|
|
20
|
+
variant?: "contained" | "outlined" | "icon";
|
|
21
|
+
tooltip?: TooltipProps["title"];
|
|
22
|
+
tooltipPlacement?: TooltipProps["placement"];
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
/** Add support for React Router's 'to' prop */
|
|
25
|
+
to?: string;
|
|
26
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
export default IconButton;
|
|
28
|
+
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAA4B,MAAM,OAAO,CAAA;AACvE,OAAO,EAGL,eAAe,IAAI,kBAAkB,EAErC,YAAY,EAEb,MAAM,eAAe,CAAA;AAEtB,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;IAC9D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IACxD,qDAAqD;IACrD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;IAC3C,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAA;IAC/B,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAsED,QAAA,MAAM,UAAU;cAhFJ,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI;IACxD,qDAAqD;aAC5C,OAAO;UACV,SAAS;cACL,WAAW,GAAG,UAAU,GAAG,MAAM;cACjC,YAAY,CAAC,OAAO,CAAC;uBACZ,YAAY,CAAC,WAAW,CAAC;cAClC,OAAO;IACjB,+CAA+C;SAC1C,MAAM;qDAuEiE,CAAA;AAC9E,eAAe,UAAU,CAAA"}
|
|
@@ -4,10 +4,12 @@ export { default as PasswordField } from './PasswordField';
|
|
|
4
4
|
export { default as SelectField } from './SelectField';
|
|
5
5
|
export { default as ToggleButtonGroup } from './ToggleButtonGroup';
|
|
6
6
|
export { default as Typography } from './Typography';
|
|
7
|
+
export { default as IconButton } from './IconButton';
|
|
7
8
|
export type * from './Button';
|
|
8
9
|
export type * from './LabelWithIndicator';
|
|
9
10
|
export type * from './PasswordField';
|
|
10
11
|
export type * from './SelectField';
|
|
11
12
|
export type * from './ToggleButtonGroup';
|
|
12
13
|
export type * from './Typography';
|
|
14
|
+
export type * from './IconButton';
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAEpD,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAEpD,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SnackbarProps as MuiSnackbarProps } from '@mui/material';
|
|
3
|
+
import { AlertProps } from './Alert';
|
|
4
|
+
export interface SnackbarProps extends Omit<MuiSnackbarProps, 'content' | 'title' | 'children'>, Pick<AlertProps, 'severity' | 'content' | 'icon' | 'title'> {
|
|
5
|
+
closeable?: boolean;
|
|
6
|
+
autoWidth?: boolean;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
declare function Snackbar({ severity, autoHideDuration, closeable, children, title, action, open, onClose, autoWidth, icon, ...rest }: SnackbarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Snackbar;
|
|
11
|
+
//# sourceMappingURL=Snackbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snackbar.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Snackbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,EAIL,aAAa,IAAI,gBAAgB,EAIlC,MAAM,eAAe,CAAA;AAItB,OAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAkHhD,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC,EAC9D,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,QAAQ,CAAC,EAChB,QAAoB,EACpB,gBAA8C,EAC9C,SAAgB,EAChB,QAAQ,EACR,KAAK,EACL,MAAM,EACN,IAAI,EACJ,OAAsB,EACtB,SAAS,EACT,IAAI,EACJ,GAAG,IAAI,EACR,EAAE,aAAa,2CAsDf;AAED,eAAe,QAAQ,CAAA"}
|