@carto/meridian-ds 2.6.1-alpha-searchfield.8 → 2.6.1-alpha-searchfield.9

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.
@@ -5097,7 +5097,7 @@ const SearchFieldBase = material.styled(material.TextField, {
5097
5097
  paddingRight: theme.spacing(1),
5098
5098
  transition: theme.transitions.create(["width", "padding"], {
5099
5099
  easing: theme.transitions.easing.easeInOut,
5100
- duration: theme.transitions.duration.short
5100
+ duration: theme.transitions.duration.standard
5101
5101
  }),
5102
5102
  "&.MuiInputBase-sizeSmall": {
5103
5103
  paddingRight: theme.spacing(0.5)
@@ -5114,7 +5114,7 @@ const SearchFieldBase = material.styled(material.TextField, {
5114
5114
  // Fix Chrome scroll issue https://issues.chromium.org/issues/41245282
5115
5115
  transition: theme.transitions.create("width", {
5116
5116
  easing: theme.transitions.easing.easeInOut,
5117
- duration: theme.transitions.duration.short
5117
+ duration: theme.transitions.duration.standard
5118
5118
  })
5119
5119
  },
5120
5120
  // Error state
@@ -5141,6 +5141,10 @@ const SearchFieldBase = material.styled(material.TextField, {
5141
5141
  // Variants
5142
5142
  ...emphasis === "filled" && {
5143
5143
  "& .MuiInputBase-root": {
5144
+ backgroundColor: minimized ? "transparent !important" : void 0,
5145
+ "&:hover": {
5146
+ backgroundColor: `${theme.palette.action.hover} !important`
5147
+ },
5144
5148
  // not disabled
5145
5149
  "&:not(.Mui-disabled):hover": {
5146
5150
  backgroundColor: `${theme.palette.action.hover} !important`
@@ -5097,7 +5097,7 @@ const SearchFieldBase = styled(TextField, {
5097
5097
  paddingRight: theme.spacing(1),
5098
5098
  transition: theme.transitions.create(["width", "padding"], {
5099
5099
  easing: theme.transitions.easing.easeInOut,
5100
- duration: theme.transitions.duration.short
5100
+ duration: theme.transitions.duration.standard
5101
5101
  }),
5102
5102
  "&.MuiInputBase-sizeSmall": {
5103
5103
  paddingRight: theme.spacing(0.5)
@@ -5114,7 +5114,7 @@ const SearchFieldBase = styled(TextField, {
5114
5114
  // Fix Chrome scroll issue https://issues.chromium.org/issues/41245282
5115
5115
  transition: theme.transitions.create("width", {
5116
5116
  easing: theme.transitions.easing.easeInOut,
5117
- duration: theme.transitions.duration.short
5117
+ duration: theme.transitions.duration.standard
5118
5118
  })
5119
5119
  },
5120
5120
  // Error state
@@ -5141,6 +5141,10 @@ const SearchFieldBase = styled(TextField, {
5141
5141
  // Variants
5142
5142
  ...emphasis === "filled" && {
5143
5143
  "& .MuiInputBase-root": {
5144
+ backgroundColor: minimized ? "transparent !important" : void 0,
5145
+ "&:hover": {
5146
+ backgroundColor: `${theme.palette.action.hover} !important`
5147
+ },
5144
5148
  // not disabled
5145
5149
  "&:not(.Mui-disabled):hover": {
5146
5150
  backgroundColor: `${theme.palette.action.hover} !important`
@@ -1 +1 @@
1
- {"version":3,"file":"SearchField.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchField/SearchField.styled.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,UAAU;gBAEN,OAAO;eAAa,OAAO;UAY3C,CAAA;AAED,eAAO,MAAM,eAAe;;qPAEzB,CAAA;AAEH,eAAO,MAAM,iBAAiB,8KAI3B,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;gBAEhB,OAAO;eAAa,OAAO;UAgC3C,CAAA;AAED,eAAO,MAAM,eAAe;;;eAIf,OAAO;qBACD,OAAO;eACb,gBAAgB,CAAC,SAAS,CAAC;UAiGrC,CAAA"}
1
+ {"version":3,"file":"SearchField.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchField/SearchField.styled.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,UAAU;gBAEN,OAAO;eAAa,OAAO;UAY3C,CAAA;AAED,eAAO,MAAM,eAAe;;qPAEzB,CAAA;AAEH,eAAO,MAAM,iBAAiB,8KAI3B,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;gBAEhB,OAAO;eAAa,OAAO;UAgC3C,CAAA;AAED,eAAO,MAAM,eAAe;;;eAIf,OAAO;qBACD,OAAO;eACb,gBAAgB,CAAC,SAAS,CAAC;UAuGrC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "2.6.1-alpha-searchfield.8",
3
+ "version": "2.6.1-alpha-searchfield.9",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {