@carto/meridian-ds 5.2.3-alpha.2cd5dbc.43855242934 → 5.3.0
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/components/index.cjs +3 -7
- package/dist/components/index.js +3 -7
- package/dist/custom-icons/index.cjs +1397 -1239
- package/dist/custom-icons/index.js +1397 -1239
- package/dist/icons-screenshot.webp +0 -0
- package/dist/metadata.json +14 -2
- package/dist/types/components/ChipGroup/ChipGroup.stories.d.ts +0 -7
- package/dist/types/components/ChipGroup/ChipGroup.stories.d.ts.map +1 -1
- package/dist/types/components/ChipGroup/ChipGroupItem.d.ts.map +1 -1
- package/dist/types/custom-icons/CatalogView.d.ts.map +1 -1
- package/dist/types/custom-icons/DataCalendar.d.ts +4 -0
- package/dist/types/custom-icons/DataCalendar.d.ts.map +1 -0
- package/dist/types/custom-icons/EditingSettings.d.ts +4 -0
- package/dist/types/custom-icons/EditingSettings.d.ts.map +1 -0
- package/dist/types/custom-icons/LockedForm.d.ts +4 -0
- package/dist/types/custom-icons/LockedForm.d.ts.map +1 -0
- package/dist/types/custom-icons/NetworkDeployment.d.ts.map +1 -1
- package/dist/types/custom-icons/QueryTable.d.ts.map +1 -1
- package/dist/types/custom-icons/RiskAnalysis.d.ts.map +1 -1
- package/dist/types/custom-icons/SelectLayers.d.ts +4 -0
- package/dist/types/custom-icons/SelectLayers.d.ts.map +1 -0
- package/dist/types/custom-icons/TempTable.d.ts.map +1 -1
- package/dist/types/custom-icons/XLogo.d.ts.map +1 -1
- package/dist/types/custom-icons/__docs__/CustomIcons.stories.d.ts +1 -1
- package/dist/types/custom-icons/__figma__/DataCalendar.figma.d.ts +11 -0
- package/dist/types/custom-icons/__figma__/DataCalendar.figma.d.ts.map +1 -0
- package/dist/types/custom-icons/__figma__/EditingSettings.figma.d.ts +11 -0
- package/dist/types/custom-icons/__figma__/EditingSettings.figma.d.ts.map +1 -0
- package/dist/types/custom-icons/__figma__/LockedForm.figma.d.ts +11 -0
- package/dist/types/custom-icons/__figma__/LockedForm.figma.d.ts.map +1 -0
- package/dist/types/custom-icons/__figma__/SelectLayers.figma.d.ts +11 -0
- package/dist/types/custom-icons/__figma__/SelectLayers.figma.d.ts.map +1 -0
- package/dist/types/custom-icons/index.d.ts +4 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -98,7 +98,7 @@ function uniqueId(prefix = "$lodash$") {
|
|
|
98
98
|
}
|
|
99
99
|
return `${prefix}${id}`;
|
|
100
100
|
}
|
|
101
|
-
const TooltipAnchor
|
|
101
|
+
const TooltipAnchor = material.styled("span")({
|
|
102
102
|
display: "inline-flex",
|
|
103
103
|
"&[data-full-width]": { display: "flex", width: "100%" }
|
|
104
104
|
});
|
|
@@ -163,7 +163,7 @@ function _Button({
|
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
if (tooltip === void 0 || tooltip === null) return button;
|
|
166
|
-
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipAnchor
|
|
166
|
+
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipAnchor, { "data-full-width": otherProps.fullWidth || void 0, children: [
|
|
167
167
|
button,
|
|
168
168
|
/* @__PURE__ */ jsxRuntime.jsx("span", { hidden: true, id: tooltipId, children: tooltip })
|
|
169
169
|
] }) });
|
|
@@ -7963,10 +7963,6 @@ const Chip = material.styled(material.Chip)(() => ({
|
|
|
7963
7963
|
maxWidth: "100%",
|
|
7964
7964
|
width: "fit-content"
|
|
7965
7965
|
}));
|
|
7966
|
-
const TooltipAnchor = material.styled("span")({
|
|
7967
|
-
display: "inline-flex",
|
|
7968
|
-
maxWidth: "100%"
|
|
7969
|
-
});
|
|
7970
7966
|
function _ChipGroupItem({
|
|
7971
7967
|
chipData,
|
|
7972
7968
|
index,
|
|
@@ -8012,7 +8008,7 @@ function _ChipGroupItem({
|
|
|
8012
8008
|
if (!showTooltip && !chipData.tooltip) {
|
|
8013
8009
|
return chipElement;
|
|
8014
8010
|
}
|
|
8015
|
-
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: chipData.tooltip || chipData.label, children:
|
|
8011
|
+
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: chipData.tooltip || chipData.label, children: chipElement });
|
|
8016
8012
|
}
|
|
8017
8013
|
const ChipGroupItem = React.forwardRef(_ChipGroupItem);
|
|
8018
8014
|
ChipGroupItem.displayName = "ChipGroupItem";
|
package/dist/components/index.js
CHANGED
|
@@ -81,7 +81,7 @@ function uniqueId(prefix = "$lodash$") {
|
|
|
81
81
|
}
|
|
82
82
|
return `${prefix}${id}`;
|
|
83
83
|
}
|
|
84
|
-
const TooltipAnchor
|
|
84
|
+
const TooltipAnchor = styled("span")({
|
|
85
85
|
display: "inline-flex",
|
|
86
86
|
"&[data-full-width]": { display: "flex", width: "100%" }
|
|
87
87
|
});
|
|
@@ -146,7 +146,7 @@ function _Button({
|
|
|
146
146
|
}
|
|
147
147
|
);
|
|
148
148
|
if (tooltip === void 0 || tooltip === null) return button;
|
|
149
|
-
return /* @__PURE__ */ jsx(Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxs(TooltipAnchor
|
|
149
|
+
return /* @__PURE__ */ jsx(Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxs(TooltipAnchor, { "data-full-width": otherProps.fullWidth || void 0, children: [
|
|
150
150
|
button,
|
|
151
151
|
/* @__PURE__ */ jsx("span", { hidden: true, id: tooltipId, children: tooltip })
|
|
152
152
|
] }) });
|
|
@@ -7946,10 +7946,6 @@ const Chip = styled(Chip$1)(() => ({
|
|
|
7946
7946
|
maxWidth: "100%",
|
|
7947
7947
|
width: "fit-content"
|
|
7948
7948
|
}));
|
|
7949
|
-
const TooltipAnchor = styled("span")({
|
|
7950
|
-
display: "inline-flex",
|
|
7951
|
-
maxWidth: "100%"
|
|
7952
|
-
});
|
|
7953
7949
|
function _ChipGroupItem({
|
|
7954
7950
|
chipData,
|
|
7955
7951
|
index,
|
|
@@ -7995,7 +7991,7 @@ function _ChipGroupItem({
|
|
|
7995
7991
|
if (!showTooltip && !chipData.tooltip) {
|
|
7996
7992
|
return chipElement;
|
|
7997
7993
|
}
|
|
7998
|
-
return /* @__PURE__ */ jsx(Tooltip, { title: chipData.tooltip || chipData.label, children:
|
|
7994
|
+
return /* @__PURE__ */ jsx(Tooltip, { title: chipData.tooltip || chipData.label, children: chipElement });
|
|
7999
7995
|
}
|
|
8000
7996
|
const ChipGroupItem = forwardRef(_ChipGroupItem);
|
|
8001
7997
|
ChipGroupItem.displayName = "ChipGroupItem";
|