@carto/meridian-ds 1.4.3-alpha-tag.3 → 1.4.3-alpha-tag.4

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.
@@ -1860,12 +1860,12 @@ const TagIcon = material.styled("div")(({ theme }) => ({
1860
1860
  }
1861
1861
  }
1862
1862
  }));
1863
- const TagLabel = material.styled("span", {
1864
- shouldForwardProp: (prop) => !["type", "icon"].includes(prop)
1865
- })(({ type, icon, theme }) => ({
1863
+ const TagLabel = material.styled("div", {
1864
+ shouldForwardProp: (prop) => !["type"].includes(prop)
1865
+ })(({ type, theme }) => ({
1866
1866
  display: "flex",
1867
1867
  alignItems: "center",
1868
- paddingTop: type === "code" || icon ? theme.spacing(0.25) : void 0
1868
+ paddingTop: type === "code" ? theme.spacing(0.25) : void 0
1869
1869
  }));
1870
1870
  function _Tag({
1871
1871
  label,
@@ -1895,7 +1895,7 @@ function _Tag({
1895
1895
  ...otherProps,
1896
1896
  children: [
1897
1897
  icon && /* @__PURE__ */ jsxRuntime.jsx(TagIcon, { children: icon }),
1898
- /* @__PURE__ */ jsxRuntime.jsx(TagLabel, { icon: !!icon, type, children: /* @__PURE__ */ jsxRuntime.jsx(
1898
+ /* @__PURE__ */ jsxRuntime.jsx(TagLabel, { type, children: /* @__PURE__ */ jsxRuntime.jsx(
1899
1899
  TablePaginationActions.Typography,
1900
1900
  {
1901
1901
  component: "span",
@@ -1859,12 +1859,12 @@ const TagIcon = styled("div")(({ theme }) => ({
1859
1859
  }
1860
1860
  }
1861
1861
  }));
1862
- const TagLabel = styled("span", {
1863
- shouldForwardProp: (prop) => !["type", "icon"].includes(prop)
1864
- })(({ type, icon, theme }) => ({
1862
+ const TagLabel = styled("div", {
1863
+ shouldForwardProp: (prop) => !["type"].includes(prop)
1864
+ })(({ type, theme }) => ({
1865
1865
  display: "flex",
1866
1866
  alignItems: "center",
1867
- paddingTop: type === "code" || icon ? theme.spacing(0.25) : void 0
1867
+ paddingTop: type === "code" ? theme.spacing(0.25) : void 0
1868
1868
  }));
1869
1869
  function _Tag({
1870
1870
  label,
@@ -1894,7 +1894,7 @@ function _Tag({
1894
1894
  ...otherProps,
1895
1895
  children: [
1896
1896
  icon && /* @__PURE__ */ jsx(TagIcon, { children: icon }),
1897
- /* @__PURE__ */ jsx(TagLabel, { icon: !!icon, type, children: /* @__PURE__ */ jsx(
1897
+ /* @__PURE__ */ jsx(TagLabel, { type, children: /* @__PURE__ */ jsx(
1898
1898
  Typography,
1899
1899
  {
1900
1900
  component: "span",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "1.4.3-alpha-tag.3",
3
+ "version": "1.4.3-alpha-tag.4",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {