@carto/meridian-ds 2.6.1-alpha-searchfield.4 → 2.6.1-alpha-searchfield.5

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.
@@ -5151,7 +5151,6 @@ const SearchFieldBase = material.styled(material.TextField, {
5151
5151
  // Variants
5152
5152
  ...emphasis === "filled" && {
5153
5153
  "& .MuiInputBase-root": {
5154
- backgroundColor: minimized ? "inherit !important" : void 0,
5155
5154
  // not disabled
5156
5155
  "&:not(.Mui-disabled):hover": {
5157
5156
  backgroundColor: `${theme.palette.action.hover} !important`
@@ -5162,10 +5161,10 @@ const SearchFieldBase = material.styled(material.TextField, {
5162
5161
  "& .MuiInputBase-root": {
5163
5162
  backgroundColor: "transparent !important",
5164
5163
  "&:hover": {
5165
- backgroundColor: "transparent"
5164
+ backgroundColor: minimized ? `${theme.palette.action.hover} !important` : "transparent !important"
5166
5165
  },
5167
5166
  "&.Mui-disabled": {
5168
- backgroundColor: "transparent"
5167
+ backgroundColor: "transparent !important"
5169
5168
  }
5170
5169
  }
5171
5170
  },
@@ -5174,10 +5173,10 @@ const SearchFieldBase = material.styled(material.TextField, {
5174
5173
  backgroundColor: `${theme.palette.background.paper} !important`,
5175
5174
  boxShadow: theme.shadows[1],
5176
5175
  "&:hover": {
5177
- backgroundColor: theme.palette.background.paper
5176
+ backgroundColor: minimized ? `${theme.palette.action.hover} !important` : `${theme.palette.background.paper} !important`
5178
5177
  },
5179
5178
  "&.Mui-disabled": {
5180
- backgroundColor: theme.palette.background.paper
5179
+ backgroundColor: `${theme.palette.background.paper} !important`
5181
5180
  }
5182
5181
  }
5183
5182
  }
@@ -5151,7 +5151,6 @@ const SearchFieldBase = styled(TextField, {
5151
5151
  // Variants
5152
5152
  ...emphasis === "filled" && {
5153
5153
  "& .MuiInputBase-root": {
5154
- backgroundColor: minimized ? "inherit !important" : void 0,
5155
5154
  // not disabled
5156
5155
  "&:not(.Mui-disabled):hover": {
5157
5156
  backgroundColor: `${theme.palette.action.hover} !important`
@@ -5162,10 +5161,10 @@ const SearchFieldBase = styled(TextField, {
5162
5161
  "& .MuiInputBase-root": {
5163
5162
  backgroundColor: "transparent !important",
5164
5163
  "&:hover": {
5165
- backgroundColor: "transparent"
5164
+ backgroundColor: minimized ? `${theme.palette.action.hover} !important` : "transparent !important"
5166
5165
  },
5167
5166
  "&.Mui-disabled": {
5168
- backgroundColor: "transparent"
5167
+ backgroundColor: "transparent !important"
5169
5168
  }
5170
5169
  }
5171
5170
  },
@@ -5174,10 +5173,10 @@ const SearchFieldBase = styled(TextField, {
5174
5173
  backgroundColor: `${theme.palette.background.paper} !important`,
5175
5174
  boxShadow: theme.shadows[1],
5176
5175
  "&:hover": {
5177
- backgroundColor: theme.palette.background.paper
5176
+ backgroundColor: minimized ? `${theme.palette.action.hover} !important` : `${theme.palette.background.paper} !important`
5178
5177
  },
5179
5178
  "&.Mui-disabled": {
5180
- backgroundColor: theme.palette.background.paper
5179
+ backgroundColor: `${theme.palette.background.paper} !important`
5181
5180
  }
5182
5181
  }
5183
5182
  }
@@ -67,9 +67,6 @@ export declare const Playground: {
67
67
  export declare const Variants: {
68
68
  render: ({ placeholder, ...rest }: StoryTemplateProps) => import("react/jsx-runtime").JSX.Element;
69
69
  };
70
- export declare const LabelAndHelperText: {
71
- render: ({ placeholder, ...rest }: StoryTemplateProps) => import("react/jsx-runtime").JSX.Element;
72
- };
73
70
  export declare const Medium: {
74
71
  render: ({ placeholder, defaultValue, ...rest }: StoryTemplateProps) => import("react/jsx-runtime").JSX.Element;
75
72
  args: {
@@ -1 +1 @@
1
- {"version":3,"file":"SearchField.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchField/SearchField.stories.tsx"],"names":[],"mappings":"AAQA,UAAU,kBAAkB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CuB,CAAA;AAEpC,eAAe,OAAO,CAAA;AA6YtB,eAAO,MAAM,UAAU;0BA3YkB,kBAAkB;;;;;;CAgZ1D,CAAA;AAED,eAAO,MAAM,QAAQ;uCAxY+B,kBAAkB;CA0YrE,CAAA;AAED,eAAO,MAAM,kBAAkB;uCA5W5B,kBAAkB;CA8WpB,CAAA;AAED,eAAO,MAAM,MAAM;qDApVhB,kBAAkB;;;;;;;;;;;;;;;;;CAwVpB,CAAA;AAED,eAAO,MAAM,KAAK;qDA1Vf,kBAAkB;;;;;;;;;;;;;;;;;CA8VpB,CAAA;AAED,eAAO,MAAM,QAAQ;uCA3G+B,kBAAkB;CA6GrE,CAAA"}
1
+ {"version":3,"file":"SearchField.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchField/SearchField.stories.tsx"],"names":[],"mappings":"AAQA,UAAU,kBAAkB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CuB,CAAA;AAEpC,eAAe,OAAO,CAAA;AAkXtB,eAAO,MAAM,UAAU;0BAhXkB,kBAAkB;;;;;;CAqX1D,CAAA;AAED,eAAO,MAAM,QAAQ;uCA7W+B,kBAAkB;CA+WrE,CAAA;AAED,eAAO,MAAM,MAAM;qDAhVhB,kBAAkB;;;;;;;;;;;;;;;;;CAoVpB,CAAA;AAED,eAAO,MAAM,KAAK;qDAtVf,kBAAkB;;;;;;;;;;;;;;;;;CA0VpB,CAAA;AAED,eAAO,MAAM,QAAQ;uCAvG+B,kBAAkB;CAyGrE,CAAA"}
@@ -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;UA2B3C,CAAA;AAED,eAAO,MAAM,eAAe;;;eAIf,OAAO;qBACD,OAAO;eACb,gBAAgB,CAAC,SAAS,CAAC;UA2FrC,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;UA2B3C,CAAA;AAED,eAAO,MAAM,eAAe;;;eAIf,OAAO;qBACD,OAAO;eACb,gBAAgB,CAAC,SAAS,CAAC;UA6FrC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "2.6.1-alpha-searchfield.4",
3
+ "version": "2.6.1-alpha-searchfield.5",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {