@carto/meridian-ds 2.0.0-alpha-external-link.6 → 2.0.0-alpha-external-link.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Alert-CmglMdw_.cjs → Alert-C-rl1sPM.cjs} +3 -2
- package/dist/{Alert-DWK8eGnD.js → Alert-DmbdMf46.js} +3 -2
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/types/components/atoms/Link.d.ts.map +1 -1
- package/dist/widgets/index.cjs +1 -1
- package/dist/widgets/index.js +1 -1
- package/package.json +1 -1
|
@@ -128,6 +128,7 @@ function _Link({
|
|
|
128
128
|
}, ref) {
|
|
129
129
|
const intl = reactIntl.useIntl();
|
|
130
130
|
const intlConfig = TablePaginationActions.useImperativeIntl(intl);
|
|
131
|
+
const isButtonLink = otherProps.component === "button";
|
|
131
132
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
132
133
|
StyledLink,
|
|
133
134
|
{
|
|
@@ -135,8 +136,8 @@ function _Link({
|
|
|
135
136
|
variant,
|
|
136
137
|
fontWeight,
|
|
137
138
|
"data-color": color,
|
|
138
|
-
"data-name": "link",
|
|
139
|
-
role: "link",
|
|
139
|
+
"data-name": isButtonLink ? "button-link" : "link",
|
|
140
|
+
role: isButtonLink ? "button" : "link",
|
|
140
141
|
color,
|
|
141
142
|
ref,
|
|
142
143
|
target: external ? "_blank" : void 0,
|
|
@@ -127,6 +127,7 @@ function _Link({
|
|
|
127
127
|
}, ref) {
|
|
128
128
|
const intl = useIntl();
|
|
129
129
|
const intlConfig = useImperativeIntl(intl);
|
|
130
|
+
const isButtonLink = otherProps.component === "button";
|
|
130
131
|
return /* @__PURE__ */ jsxs(
|
|
131
132
|
StyledLink,
|
|
132
133
|
{
|
|
@@ -134,8 +135,8 @@ function _Link({
|
|
|
134
135
|
variant,
|
|
135
136
|
fontWeight,
|
|
136
137
|
"data-color": color,
|
|
137
|
-
"data-name": "link",
|
|
138
|
-
role: "link",
|
|
138
|
+
"data-name": isButtonLink ? "button-link" : "link",
|
|
139
|
+
role: isButtonLink ? "button" : "link",
|
|
139
140
|
color,
|
|
140
141
|
ref,
|
|
141
142
|
target: external ? "_blank" : void 0,
|
|
@@ -6,7 +6,7 @@ const reactIntl = require("react-intl");
|
|
|
6
6
|
const material = require("@mui/material");
|
|
7
7
|
const iconsMaterial = require("@mui/icons-material");
|
|
8
8
|
const TablePaginationActions = require("../TablePaginationActions-MwqZJoRm.cjs");
|
|
9
|
-
const Alert$1 = require("../Alert-
|
|
9
|
+
const Alert$1 = require("../Alert-C-rl1sPM.cjs");
|
|
10
10
|
const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
|
|
11
11
|
const OpenDiagonallyRight = require("../OpenDiagonallyRight-CpL4ROwg.cjs");
|
|
12
12
|
require("cartocolor");
|
package/dist/components/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { styled, Box, Button as Button$1, CircularProgress, Popper, Grow, Paper,
|
|
|
5
5
|
import { OpenInNewOutlined, VisibilityOffOutlined, VisibilityOutlined, Cancel, AddCircleOutlineOutlined, ContentCopyOutlined, CloseOutlined, MenuOutlined, HelpOutline, TodayOutlined, MoreVertOutlined, ErrorOutline, Check } from "@mui/icons-material";
|
|
6
6
|
import { u as useImperativeIntl, T as Typography, c as ICON_SIZE_SMALL, f as MENU_ITEM_SIZE_EXTENDED, e as MENU_ITEM_SIZE_DENSE, d as MENU_LIST_MAX_SIZE, M as MENU_ITEM_SIZE_DEFAULT, N as NOTIFICATION_DURATION_IN_MS, A as APPBAR_SIZE } from "../TablePaginationActions-BWer8cmX.js";
|
|
7
7
|
import { a } from "../TablePaginationActions-BWer8cmX.js";
|
|
8
|
-
import { S as ScreenReaderOnly, I as IconButton$1, A as Alert$1 } from "../Alert-
|
|
9
|
-
import { L } from "../Alert-
|
|
8
|
+
import { S as ScreenReaderOnly, I as IconButton$1, A as Alert$1 } from "../Alert-DmbdMf46.js";
|
|
9
|
+
import { L } from "../Alert-DmbdMf46.js";
|
|
10
10
|
import { A as ArrowDown } from "../ArrowDown-d6bxUL0F.js";
|
|
11
11
|
import { A as ArrowUp, O as OpenDiagonallyRight, C as CloseDiagonallyRight } from "../OpenDiagonallyRight-CGdCEXlF.js";
|
|
12
12
|
import "cartocolor";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,SAAS,IAAI,YAAY,EAG1B,MAAM,eAAe,CAAA;AAqDtB,MAAM,MAAM,SAAS,GAAG,YAAY,CAClC,KAAK,CAAC,WAAW,EACjB;IACE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CACF,CAAA;
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,SAAS,IAAI,YAAY,EAG1B,MAAM,eAAe,CAAA;AAqDtB,MAAM,MAAM,SAAS,GAAG,YAAY,CAClC,KAAK,CAAC,WAAW,EACjB;IACE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CACF,CAAA;AA0DD,QAAA,MAAM,IAAI,sHAAoB,CAAA;AAC9B,eAAe,IAAI,CAAA"}
|
package/dist/widgets/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const _ReactEcharts = require("echarts-for-react");
|
|
|
9
9
|
const reactWindow = require("react-window");
|
|
10
10
|
const SwatchSquare = require("../SwatchSquare-B8PIY3Rd.cjs");
|
|
11
11
|
const iconsMaterial = require("@mui/icons-material");
|
|
12
|
-
const Alert = require("../Alert-
|
|
12
|
+
const Alert = require("../Alert-C-rl1sPM.cjs");
|
|
13
13
|
const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
|
|
14
14
|
function detectTouchscreen() {
|
|
15
15
|
let result = false;
|
package/dist/widgets/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import _ReactEcharts from "echarts-for-react";
|
|
|
7
7
|
import { FixedSizeList } from "react-window";
|
|
8
8
|
import { S as Search, a as SwatchSquare } from "../SwatchSquare-CaaLsjAC.js";
|
|
9
9
|
import { ChevronLeft, ChevronRight, KeyboardArrowDown, ErrorOutline, Cancel, VisibilityOutlined, VisibilityOffOutlined, ExpandLess, ExpandMore, Close, LayersOutlined, MoreVert } from "@mui/icons-material";
|
|
10
|
-
import { I as IconButton, L as Link$1, A as Alert } from "../Alert-
|
|
10
|
+
import { I as IconButton, L as Link$1, A as Alert } from "../Alert-DmbdMf46.js";
|
|
11
11
|
import { a as getColorByCategory, c as commonPalette, b as getPalette } from "../paletteUtils-BHqJlHm9.js";
|
|
12
12
|
function detectTouchscreen() {
|
|
13
13
|
let result = false;
|