@carto/meridian-ds 1.4.3-alpha-tag.5 → 1.4.3-alpha-icons-shapes.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 +2 -1
- package/dist/{Alert--QYebQp3.js → Alert-D8jI1sG4.js} +1 -1
- package/dist/{Alert-DFaAeTZf.cjs → Alert-zqtoWsBL.cjs} +1 -1
- package/dist/OpenDiagonallyRight-5HZXh46V.js +59 -0
- package/dist/OpenDiagonallyRight-BrRyCV4Q.cjs +58 -0
- package/dist/{TablePaginationActions-BG2gWq0M.cjs → TablePaginationActions-CFGXm44W.cjs} +21 -3
- package/dist/{TablePaginationActions-Dit3VW-A.js → TablePaginationActions-KpTvhN4Y.js} +21 -3
- package/dist/components/index.cjs +1062 -206
- package/dist/components/index.js +1064 -208
- package/dist/custom-icons/index.cjs +339 -390
- package/dist/custom-icons/index.js +339 -390
- package/dist/theme/index.cjs +8 -3
- package/dist/theme/index.js +9 -4
- package/dist/types/components/molecules/index.d.ts +0 -2
- package/dist/types/components/molecules/index.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.d.ts +16 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts +16 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts +10 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.d.ts +8 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaField.d.ts +4 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaField.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaFooter.d.ts +12 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaFooter.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts +9 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts +28 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts +7 -0
- package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/index.d.ts +9 -0
- package/dist/types/components/organisms/CodeArea/index.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/types.d.ts +38 -0
- package/dist/types/components/organisms/CodeArea/types.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/utils.d.ts +5 -0
- package/dist/types/components/organisms/CodeArea/utils.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/localization/en.d.ts +6 -0
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +6 -0
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +6 -0
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +18 -0
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/sections/components/data-display.d.ts.map +1 -1
- package/dist/widgets/index.cjs +2 -2
- package/dist/widgets/index.js +2 -2
- package/package.json +6 -1
- package/dist/types/components/molecules/Tag.d.ts +0 -31
- package/dist/types/components/molecules/Tag.d.ts.map +0 -1
package/dist/theme/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const material = require("@mui/material");
|
|
5
5
|
const jsxRuntime = require("react/jsx-runtime");
|
|
6
|
-
const TablePaginationActions = require("../TablePaginationActions-
|
|
6
|
+
const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
|
|
7
7
|
const iconsMaterial = require("@mui/icons-material");
|
|
8
8
|
const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
|
|
9
9
|
const xDatePickers = require("@mui/x-date-pickers");
|
|
@@ -520,8 +520,13 @@ const dataDisplayOverrides = {
|
|
|
520
520
|
// Svg Icons
|
|
521
521
|
MuiSvgIcon: {
|
|
522
522
|
styleOverrides: {
|
|
523
|
-
root: () => ({
|
|
524
|
-
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
523
|
+
root: ({ theme: theme2 }) => ({
|
|
524
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
525
|
+
// Force the size of the inner shapes to match the icon size
|
|
526
|
+
"& rect, & circle, & polygon": {
|
|
527
|
+
width: theme2.spacing(2),
|
|
528
|
+
height: theme2.spacing(2)
|
|
529
|
+
}
|
|
525
530
|
}),
|
|
526
531
|
fontSizeSmall: () => ({
|
|
527
532
|
fontSize: TablePaginationActions.ICON_SIZE_SMALL
|
package/dist/theme/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2
2
|
import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material";
|
|
3
3
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
4
|
-
import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-
|
|
5
|
-
import { N } from "../TablePaginationActions-
|
|
4
|
+
import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
5
|
+
import { N } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
6
6
|
import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
|
|
7
7
|
import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
|
|
8
8
|
import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
|
|
@@ -520,8 +520,13 @@ const dataDisplayOverrides = {
|
|
|
520
520
|
// Svg Icons
|
|
521
521
|
MuiSvgIcon: {
|
|
522
522
|
styleOverrides: {
|
|
523
|
-
root: () => ({
|
|
524
|
-
fontSize: ICON_SIZE_MEDIUM
|
|
523
|
+
root: ({ theme: theme2 }) => ({
|
|
524
|
+
fontSize: ICON_SIZE_MEDIUM,
|
|
525
|
+
// Force the size of the inner shapes to match the icon size
|
|
526
|
+
"& rect, & circle, & polygon": {
|
|
527
|
+
width: theme2.spacing(2),
|
|
528
|
+
height: theme2.spacing(2)
|
|
529
|
+
}
|
|
525
530
|
}),
|
|
526
531
|
fontSizeSmall: () => ({
|
|
527
532
|
fontSize: ICON_SIZE_SMALL
|
|
@@ -8,7 +8,6 @@ export { default as AccordionGroup } from './AccordionGroup';
|
|
|
8
8
|
export { default as Alert } from './Alert';
|
|
9
9
|
export { default as Avatar } from './Avatar';
|
|
10
10
|
export { default as Snackbar } from './Snackbar';
|
|
11
|
-
export { default as Tag } from './Tag';
|
|
12
11
|
export type * from './Menu';
|
|
13
12
|
export type * from './MultipleSelectField';
|
|
14
13
|
export type * from './Table';
|
|
@@ -19,5 +18,4 @@ export type * from './Autocomplete/types';
|
|
|
19
18
|
export type * from './Avatar';
|
|
20
19
|
export type * from './Snackbar';
|
|
21
20
|
export type * from './Copy';
|
|
22
|
-
export type * from './Tag';
|
|
23
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAEhD,mBAAmB,QAAQ,CAAA;AAC3B,mBAAmB,uBAAuB,CAAA;AAC1C,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,YAAY,CAAA;AAC/B,mBAAmB,QAAQ,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CodeAreaProps } from '../types';
|
|
3
|
+
interface CodeAreaDialogProps extends CodeAreaProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
title?: string | ReactNode;
|
|
7
|
+
showConfirmation?: boolean;
|
|
8
|
+
onCancelConfirm?: () => void;
|
|
9
|
+
onCloseConfirm?: () => void;
|
|
10
|
+
footerProps?: object;
|
|
11
|
+
'data-testid'?: string;
|
|
12
|
+
'aria-label'?: string;
|
|
13
|
+
}
|
|
14
|
+
export default function CodeAreaDialog({ open, onClose, title, error, helperText, onClickFooter, disabledButtonFooter, buttonFooterLabelId, disabled, showConfirmation, onCancelConfirm, onCloseConfirm, footerProps, saveLoading, showSaveSnackbar, onCloseSaveSnackbar, 'data-testid': dataTestId, 'aria-label': ariaLabel, ...props }: CodeAreaDialogProps): import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=CodeAreaDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,UAAU,mBAAoB,SAAQ,aAAa;IACjD,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAI,EACJ,OAAO,EACP,KAAK,EACL,KAAK,EACL,UAAU,EACV,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EAAE,UAAU,EACzB,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACT,EAAE,mBAAmB,kDAgErB"}
|
package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CartoAlertSeverity } from '../../..';
|
|
3
|
+
interface Props {
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
onCancel?: () => void;
|
|
6
|
+
cancelButton?: ReactNode;
|
|
7
|
+
closeButton?: ReactNode;
|
|
8
|
+
cancelLabelId?: string;
|
|
9
|
+
contentLabelId?: string;
|
|
10
|
+
titleLabelId?: string;
|
|
11
|
+
severity?: CartoAlertSeverity;
|
|
12
|
+
content?: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare function CodeAreaDialogConfirmation({ onClose, onCancel, cancelLabelId, cancelButton, closeButton, contentLabelId, titleLabelId, severity, content, }: Props): import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export default CodeAreaDialogConfirmation;
|
|
16
|
+
//# sourceMappingURL=CodeAreaDialogConfirmation.d.ts.map
|
package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaDialogConfirmation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,EAAU,kBAAkB,EAAsB,MAAM,cAAc,CAAA;AAE7E,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,OAAO,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,0BAA0B,CAAC,EAClC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,WAAW,EACX,cAAc,EACd,YAAY,EACZ,QAAoB,EACpB,OAAO,GACR,EAAE,KAAK,kDA+CP;AAED,eAAe,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface CodeAreaDialogContentProps {
|
|
3
|
+
children: string | ReactNode;
|
|
4
|
+
error?: boolean;
|
|
5
|
+
withBorder?: boolean;
|
|
6
|
+
withGutter?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export default function CodeAreaDialogContent({ children, error, withBorder, withGutter, }: CodeAreaDialogContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=CodeAreaDialogContent.d.ts.map
|
package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaDialogContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AA8BjC,UAAU,0BAA0B;IAClC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,QAAQ,EACR,KAAK,EACL,UAAiB,EACjB,UAAkB,GACnB,EAAE,0BAA0B,kDAQ5B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface CodeAreaDialogErrorProps {
|
|
3
|
+
children: string | ReactNode;
|
|
4
|
+
hasDivider?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export default function CodeAreaDialogError({ children, hasDivider, }: CodeAreaDialogErrorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=CodeAreaDialogError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaDialogError.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AA2CjC,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,QAAQ,EACR,UAAU,GACX,EAAE,wBAAwB,kDAiB1B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { CodeAreaProps } from './types';
|
|
3
|
+
export default function CodeAreaField({ value, defaultValue, validate, onChange, onBlur, onFocus, label, labelHelpTooltip, placeholder, type, disabled, copyValue, helperText, error, size, variant, onClickExpand, onClickFooter, disabledButtonFooter, buttonFooterLabelId, options, id, saveLoading, showSaveSnackbar, onCloseSaveSnackbar, fullScreen, isExpanded, ...props }: PropsWithChildren<CodeAreaProps>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=CodeAreaField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaField.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAY,MAAM,OAAO,CAAA;AAgBnD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAgMvC,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,KAAK,EACL,IAAc,EACd,OAAoB,EACpB,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,OAAO,EACP,EAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,aAAa,CAAC,2CAqGlC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonProps } from '../../atoms';
|
|
2
|
+
interface Props extends ButtonProps {
|
|
3
|
+
buttonFooterLabelId?: string;
|
|
4
|
+
disabledButtonFooter?: boolean;
|
|
5
|
+
withGutter?: boolean;
|
|
6
|
+
onClickFooter?: () => void;
|
|
7
|
+
showSnackbar?: boolean;
|
|
8
|
+
onCloseSnackbar?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export default function CodeAreaFooter({ onClickFooter, buttonFooterLabelId, disabledButtonFooter, withGutter, showSnackbar, onCloseSnackbar, loading, disabled, ...props }: Props): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=CodeAreaFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaFooter.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAU,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAyBxD,UAAU,KAAM,SAAQ,WAAW;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,UAAiB,EACjB,YAAY,EACZ,eAAe,EACf,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,kDAqCP"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
onClickExpand?: () => void;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
copyValue?: string;
|
|
5
|
+
size?: 'small' | 'medium';
|
|
6
|
+
}
|
|
7
|
+
export default function CodeAreaHeader({ disabled, copyValue, onClickExpand, size, }: Props): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=CodeAreaHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaHeader.tsx"],"names":[],"mappings":"AA8BA,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,IAAI,GACL,EAAE,KAAK,kDAsHP"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Editor } from 'codemirror';
|
|
2
|
+
interface CodeAreaInputProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
options?: {
|
|
6
|
+
mode?: string | {
|
|
7
|
+
name: string;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
id?: string;
|
|
13
|
+
onEditorDidMount?: (editor: Editor) => void;
|
|
14
|
+
onChange?: (value: string) => void;
|
|
15
|
+
onBlur?: (value: string) => void;
|
|
16
|
+
onFocus?: () => void;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
size?: 'small' | 'medium';
|
|
20
|
+
height?: number | string;
|
|
21
|
+
'data-testid'?: string;
|
|
22
|
+
'aria-label'?: string;
|
|
23
|
+
/** Whether to automatically fold control code blocks on initial mount */
|
|
24
|
+
autoFoldControlBlocks?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export default function CodeAreaInput({ options, value, defaultValue, id, onEditorDidMount, onChange, onBlur, onFocus, placeholder, disabled, size, height, autoFoldControlBlocks, 'data-testid': dataTestId, 'aria-label': ariaLabel, ...props }: CodeAreaInputProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=CodeAreaInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAUxC,OAAO,+BAA+B,CAAA;AACtC,OAAO,8BAA8B,CAAA;AAIrC,OAAO,4BAA4B,CAAA;AACnC,OAAO,0CAA0C,CAAA;AACjD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,sCAAsC,CAAA;AAC7C,OAAO,gCAAgC,CAAA;AACvC,OAAO,kCAAkC,CAAA;AAGzC,OAAO,sCAAsC,CAAA;AAC7C,OAAO,mCAAmC,CAAA;AAC1C,OAAO,qCAAqC,CAAA;AAC5C,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2CAA2C,CAAA;AAClD,OAAO,wCAAwC,CAAA;AAG/C,OAAO,mCAAmC,CAAA;AAC1C,OAAO,qCAAqC,CAAA;AAC5C,OAAO,sCAAsC,CAAA;AAC7C,OAAO,qCAAqC,CAAA;AAC5C,OAAO,mCAAmC,CAAA;AAC1C,OAAO,sCAAsC,CAAA;AAC7C,OAAO,wCAAwC,CAAA;AAC/C,OAAO,uCAAuC,CAAA;AAE9C,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,GAAG;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAA;QACxD,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KACvB,CAAA;IACD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yEAAyE;IACzE,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC;AAmBD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,OAAO,EACP,KAAK,EACL,YAAY,EACZ,EAAE,EACF,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EACX,QAAQ,EACR,IAAc,EACd,MAAM,EACN,qBAAqB,EACrB,aAAa,EAAE,UAAU,EACzB,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAqGpB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const CodeAreaTheme: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
4
|
+
size?: "small" | "medium";
|
|
5
|
+
height?: number | string;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
//# sourceMappingURL=CodeAreaTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeAreaTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaTheme.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;WAGjB,OAAO,GAAG,QAAQ;aAChB,MAAM,GAAG,MAAM;UAqLvB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as CodeAreaDialog } from './CodeAreaDialog/CodeAreaDialog';
|
|
2
|
+
export { default as CodeAreaDialogContent } from './CodeAreaDialog/CodeAreaDialogContent';
|
|
3
|
+
export { default as CodeAreaDialogConfirmation } from './CodeAreaDialog/CodeAreaDialogConfirmation';
|
|
4
|
+
export { default as CodeAreaDialogError } from './CodeAreaDialog/CodeAreaDialogError';
|
|
5
|
+
export { default as CodeAreaField } from './CodeAreaField';
|
|
6
|
+
export { default as CodeAreaFooter } from './CodeAreaFooter';
|
|
7
|
+
export { default as CodeAreaHeader } from './CodeAreaHeader';
|
|
8
|
+
export { default as CodeAreaInput } from './CodeAreaInput';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,6CAA6C,CAAA;AACnG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type CodeAreaOptions = {
|
|
3
|
+
readOnly?: boolean;
|
|
4
|
+
lineNumbers?: boolean;
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
};
|
|
7
|
+
export interface CodeAreaProps {
|
|
8
|
+
value?: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
validate?: (value: string) => boolean;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
onBlur?: (value: string) => void;
|
|
13
|
+
onFocus?: () => void;
|
|
14
|
+
label?: string | ReactNode;
|
|
15
|
+
labelHelpTooltip?: string | ReactNode;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
type?: 'optional' | 'required';
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
helperText?: string;
|
|
20
|
+
error?: boolean;
|
|
21
|
+
size?: 'small' | 'medium';
|
|
22
|
+
variant?: 'filled' | 'outlined' | null;
|
|
23
|
+
copyValue?: string;
|
|
24
|
+
onClickExpand?: () => void;
|
|
25
|
+
onClickFooter?: () => void;
|
|
26
|
+
disabledButtonFooter?: boolean;
|
|
27
|
+
buttonFooterLabelId?: string;
|
|
28
|
+
options?: CodeAreaOptions;
|
|
29
|
+
id?: string;
|
|
30
|
+
saveLoading?: boolean | string;
|
|
31
|
+
showSaveSnackbar?: boolean;
|
|
32
|
+
onCloseSaveSnackbar?: () => void;
|
|
33
|
+
height?: number | string;
|
|
34
|
+
fullScreen?: boolean;
|
|
35
|
+
isExpanded?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,IAAI,CAAA;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM;UAEzC,MAAM;SAAO,MAAM;IA2B3C"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './AppBar';
|
|
2
2
|
export * from './DatePickers';
|
|
3
3
|
export { default as TooltipData } from './TooltipData';
|
|
4
|
+
export * from './CodeArea';
|
|
4
5
|
export * from './Dialog';
|
|
5
6
|
export type * from './AppBar';
|
|
6
7
|
export type * from './DatePickers/types';
|
|
7
8
|
export type * from './TooltipData';
|
|
9
|
+
export type * from './CodeArea/types';
|
|
8
10
|
export type * from './Dialog/types';
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,cAAc,UAAU,CAAA;AAExB,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AAExB,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,gBAAgB,CAAA"}
|
|
@@ -3,8 +3,13 @@ declare const _default: {
|
|
|
3
3
|
button: {
|
|
4
4
|
cancel: string;
|
|
5
5
|
leave: string;
|
|
6
|
+
keepEditing: string;
|
|
6
7
|
close: string;
|
|
8
|
+
expand: string;
|
|
7
9
|
copy: string;
|
|
10
|
+
save: string;
|
|
11
|
+
add: string;
|
|
12
|
+
showOptions: string;
|
|
8
13
|
};
|
|
9
14
|
form: {
|
|
10
15
|
selectAll: string;
|
|
@@ -38,6 +43,7 @@ declare const _default: {
|
|
|
38
43
|
};
|
|
39
44
|
};
|
|
40
45
|
notifications: {
|
|
46
|
+
changesSaved: string;
|
|
41
47
|
copiedToClipboard: string;
|
|
42
48
|
};
|
|
43
49
|
widgets: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/localization/en.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/localization/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAsJ0B"}
|
|
@@ -3,8 +3,13 @@ declare const _default: {
|
|
|
3
3
|
button: {
|
|
4
4
|
cancel: string;
|
|
5
5
|
leave: string;
|
|
6
|
+
keepEditing: string;
|
|
6
7
|
close: string;
|
|
8
|
+
expand: string;
|
|
7
9
|
copy: string;
|
|
10
|
+
save: string;
|
|
11
|
+
add: string;
|
|
12
|
+
showOptions: string;
|
|
8
13
|
};
|
|
9
14
|
form: {
|
|
10
15
|
selectAll: string;
|
|
@@ -38,6 +43,7 @@ declare const _default: {
|
|
|
38
43
|
};
|
|
39
44
|
};
|
|
40
45
|
notifications: {
|
|
46
|
+
changesSaved: string;
|
|
41
47
|
copiedToClipboard: string;
|
|
42
48
|
};
|
|
43
49
|
widgets: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/localization/es.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/localization/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAwJ0B"}
|
|
@@ -3,8 +3,13 @@ declare const _default: {
|
|
|
3
3
|
button: {
|
|
4
4
|
cancel: string;
|
|
5
5
|
leave: string;
|
|
6
|
+
keepEditing: string;
|
|
6
7
|
close: string;
|
|
8
|
+
expand: string;
|
|
7
9
|
copy: string;
|
|
10
|
+
save: string;
|
|
11
|
+
add: string;
|
|
12
|
+
showOptions: string;
|
|
8
13
|
};
|
|
9
14
|
form: {
|
|
10
15
|
selectAll: string;
|
|
@@ -38,6 +43,7 @@ declare const _default: {
|
|
|
38
43
|
};
|
|
39
44
|
};
|
|
40
45
|
notifications: {
|
|
46
|
+
changesSaved: string;
|
|
41
47
|
copiedToClipboard: string;
|
|
42
48
|
};
|
|
43
49
|
widgets: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/localization/id.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/localization/id.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAsJ0B"}
|
|
@@ -4,8 +4,13 @@ export declare const messages: {
|
|
|
4
4
|
button: {
|
|
5
5
|
cancel: string;
|
|
6
6
|
leave: string;
|
|
7
|
+
keepEditing: string;
|
|
7
8
|
close: string;
|
|
9
|
+
expand: string;
|
|
8
10
|
copy: string;
|
|
11
|
+
save: string;
|
|
12
|
+
add: string;
|
|
13
|
+
showOptions: string;
|
|
9
14
|
};
|
|
10
15
|
form: {
|
|
11
16
|
selectAll: string;
|
|
@@ -39,6 +44,7 @@ export declare const messages: {
|
|
|
39
44
|
};
|
|
40
45
|
};
|
|
41
46
|
notifications: {
|
|
47
|
+
changesSaved: string;
|
|
42
48
|
copiedToClipboard: string;
|
|
43
49
|
};
|
|
44
50
|
widgets: {
|
|
@@ -146,8 +152,13 @@ export declare const messages: {
|
|
|
146
152
|
button: {
|
|
147
153
|
cancel: string;
|
|
148
154
|
leave: string;
|
|
155
|
+
keepEditing: string;
|
|
149
156
|
close: string;
|
|
157
|
+
expand: string;
|
|
150
158
|
copy: string;
|
|
159
|
+
save: string;
|
|
160
|
+
add: string;
|
|
161
|
+
showOptions: string;
|
|
151
162
|
};
|
|
152
163
|
form: {
|
|
153
164
|
selectAll: string;
|
|
@@ -181,6 +192,7 @@ export declare const messages: {
|
|
|
181
192
|
};
|
|
182
193
|
};
|
|
183
194
|
notifications: {
|
|
195
|
+
changesSaved: string;
|
|
184
196
|
copiedToClipboard: string;
|
|
185
197
|
};
|
|
186
198
|
widgets: {
|
|
@@ -286,8 +298,13 @@ export declare const messages: {
|
|
|
286
298
|
button: {
|
|
287
299
|
cancel: string;
|
|
288
300
|
leave: string;
|
|
301
|
+
keepEditing: string;
|
|
289
302
|
close: string;
|
|
303
|
+
expand: string;
|
|
290
304
|
copy: string;
|
|
305
|
+
save: string;
|
|
306
|
+
add: string;
|
|
307
|
+
showOptions: string;
|
|
291
308
|
};
|
|
292
309
|
form: {
|
|
293
310
|
selectAll: string;
|
|
@@ -321,6 +338,7 @@ export declare const messages: {
|
|
|
321
338
|
};
|
|
322
339
|
};
|
|
323
340
|
notifications: {
|
|
341
|
+
changesSaved: string;
|
|
324
342
|
copiedToClipboard: string;
|
|
325
343
|
};
|
|
326
344
|
widgets: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-display.d.ts","sourceRoot":"","sources":["../../../../../src/theme/sections/components/data-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAkBxD,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"data-display.d.ts","sourceRoot":"","sources":["../../../../../src/theme/sections/components/data-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAkBxD,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAgjB3D,CAAA"}
|
package/dist/widgets/index.cjs
CHANGED
|
@@ -4,12 +4,12 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const material = require("@mui/material");
|
|
6
6
|
const reactIntl = require("react-intl");
|
|
7
|
-
const TablePaginationActions = require("../TablePaginationActions-
|
|
7
|
+
const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
|
|
8
8
|
const _ReactEcharts = require("echarts-for-react");
|
|
9
9
|
const reactWindow = require("react-window");
|
|
10
10
|
const SwatchSquare = require("../SwatchSquare-w-U8-O-P.cjs");
|
|
11
11
|
const iconsMaterial = require("@mui/icons-material");
|
|
12
|
-
const Alert = require("../Alert-
|
|
12
|
+
const Alert = require("../Alert-zqtoWsBL.cjs");
|
|
13
13
|
const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
|
|
14
14
|
function detectTouchscreen() {
|
|
15
15
|
let result = false;
|
package/dist/widgets/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React, { useMemo, useState, useEffect, useCallback, useRef, forwardRef, createContext, useContext, useLayoutEffect, createRef } from "react";
|
|
3
3
|
import { useTheme, styled, Box, Skeleton, Grid, Link, darken, Button, Divider, TextField, InputAdornment, Checkbox, Tooltip, IconButton, debounce, Slider, TableCell, Table, TableHead, TableRow, TableBody, TableContainer, TableSortLabel, TablePagination, Menu, MenuItem, SvgIcon, lighten, Typography as Typography$1, ClickAwayListener, ToggleButton, capitalize, ListItem, Chip, List, Paper, Popover, Select, ListItemText, Collapse, Drawer, Icon, LinearProgress } from "@mui/material";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
|
-
import { d as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-
|
|
5
|
+
import { d as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
6
6
|
import _ReactEcharts from "echarts-for-react";
|
|
7
7
|
import { FixedSizeList } from "react-window";
|
|
8
8
|
import { S as Search, a as SwatchSquare } from "../SwatchSquare-DDi0beUM.js";
|
|
9
9
|
import { ChevronLeft, ChevronRight, KeyboardArrowDown, ErrorOutline, Cancel, VisibilityOutlined, VisibilityOffOutlined, ExpandLess, ExpandMore, Close, LayersOutlined, MoreVert } from "@mui/icons-material";
|
|
10
|
-
import { A as Alert } from "../Alert
|
|
10
|
+
import { A as Alert } from "../Alert-D8jI1sG4.js";
|
|
11
11
|
import { c as commonPalette, a as getColorByCategory, b as getPalette } from "../paletteUtils-BHqJlHm9.js";
|
|
12
12
|
function detectTouchscreen() {
|
|
13
13
|
let result = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carto/meridian-ds",
|
|
3
|
-
"version": "1.4.3-alpha-
|
|
3
|
+
"version": "1.4.3-alpha-icons-shapes.1",
|
|
4
4
|
"description": "CARTO Meridian Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@testing-library/dom": "^10.4.0",
|
|
54
54
|
"@testing-library/jest-dom": "^6.6.1",
|
|
55
55
|
"@testing-library/react": "^16.0.1",
|
|
56
|
+
"@types/codemirror": "^5.60.16",
|
|
56
57
|
"@types/geojson": "7946.0.14",
|
|
57
58
|
"@types/node": "22.10.2",
|
|
58
59
|
"@types/react": "^18.3.11",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"@vitejs/plugin-react-swc": "3.7.0",
|
|
65
66
|
"@vitest/coverage-istanbul": "^2.1.3",
|
|
66
67
|
"cartocolor": "5.0.2",
|
|
68
|
+
"codemirror": "^5.65.19",
|
|
67
69
|
"date-fns": "^2.29.1",
|
|
68
70
|
"echarts": "5.6.0",
|
|
69
71
|
"echarts-for-react": "3.0.2",
|
|
@@ -83,6 +85,7 @@
|
|
|
83
85
|
"lint-staged": "15.2.9",
|
|
84
86
|
"prettier": "3.3.3",
|
|
85
87
|
"react": "18.3.1",
|
|
88
|
+
"react-codemirror2": "^8.0.1",
|
|
86
89
|
"react-dom": "18.3.1",
|
|
87
90
|
"react-intl": "6.6.8",
|
|
88
91
|
"react-window": "1.8.11",
|
|
@@ -98,9 +101,11 @@
|
|
|
98
101
|
"@mui/material": ">=5.16.7",
|
|
99
102
|
"@mui/x-date-pickers": "^7.11.0",
|
|
100
103
|
"cartocolor": "5.0.2",
|
|
104
|
+
"codemirror": ">=5.65.19",
|
|
101
105
|
"echarts": ">=5.5.1",
|
|
102
106
|
"echarts-for-react": ">=3.0.2",
|
|
103
107
|
"react": ">=18.3.1",
|
|
108
|
+
"react-codemirror2": ">=8.0.1",
|
|
104
109
|
"react-dom": ">=18.3.1",
|
|
105
110
|
"react-intl": ">=6.6.8",
|
|
106
111
|
"react-window": ">=1.8.11"
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TypographyProps } from '../atoms';
|
|
3
|
-
export type TagColor = 'primary' | 'secondary' | 'error' | 'success' | 'warning' | 'default';
|
|
4
|
-
export type TagVariant = 'filled' | 'outlined';
|
|
5
|
-
export type TagType = 'default' | 'code';
|
|
6
|
-
export type TagProps = Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'size' | 'label' | 'type' | 'ref'> & {
|
|
7
|
-
/** Label, main content of tag, by default displayed as `caption` type typography. */
|
|
8
|
-
label: ReactNode;
|
|
9
|
-
color?: TagColor;
|
|
10
|
-
icon?: ReactNode;
|
|
11
|
-
variant?: TagVariant;
|
|
12
|
-
type?: TagType;
|
|
13
|
-
/** Options passed for Typography, use to override default styles */
|
|
14
|
-
typographyProps?: TypographyProps;
|
|
15
|
-
noWrap?: boolean;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
};
|
|
18
|
-
declare const Tag: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLProps<HTMLDivElement>, "label" | "ref" | "type" | "size" | "as"> & {
|
|
19
|
-
/** Label, main content of tag, by default displayed as `caption` type typography. */
|
|
20
|
-
label: ReactNode;
|
|
21
|
-
color?: TagColor;
|
|
22
|
-
icon?: ReactNode;
|
|
23
|
-
variant?: TagVariant;
|
|
24
|
-
type?: TagType;
|
|
25
|
-
/** Options passed for Typography, use to override default styles */
|
|
26
|
-
typographyProps?: TypographyProps;
|
|
27
|
-
noWrap?: boolean;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
-
export default Tag;
|
|
31
|
-
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,OAAO,CAAA;AAG3D,OAAO,EAAc,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEhE,MAAM,MAAM,QAAQ,GAChB,SAAS,GACT,WAAW,GACX,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,CAAA;AAEb,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAA;AAE9C,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAGxC,MAAM,MAAM,QAAQ,GAAG,IAAI,CACzB,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAC/B,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CACzC,GAAG;IACF,sFAAsF;IACtF,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,oEAAoE;IACpE,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAwND,QAAA,MAAM,GAAG;IAlOP,sFAAsF;WAC/E,SAAS;YACR,QAAQ;WACT,SAAS;cACN,UAAU;WACb,OAAO;IACd,oEAAoE;sBAClD,eAAe;aACxB,OAAO;eACL,OAAO;kDAyNQ,CAAA;AAC5B,eAAe,GAAG,CAAA"}
|