@carto/meridian-ds 2.5.5-alpha-translations.1 → 2.6.0-alpha-searchfield.1

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/{Alert-CRVceJ9N.js → Alert-C1VgP3N1.js} +1 -1
  3. package/dist/{Alert-Dyw7Z9wJ.cjs → Alert-F8G9P271.cjs} +7 -7
  4. package/dist/{MenuItem-o51jnNjL.cjs → MenuItem-Bssr5qGq.cjs} +6 -6
  5. package/dist/{MenuItem-h41wtQTz.js → MenuItem-COajCLkS.js} +1 -1
  6. package/dist/{SwatchSquare-CaaLsjAC.js → Search-C7wkXu3f.js} +4 -23
  7. package/dist/{SwatchSquare-B8PIY3Rd.cjs → Search-CMWbM9nD.cjs} +3 -22
  8. package/dist/SwatchSquare-B6KYVoqV.js +24 -0
  9. package/dist/SwatchSquare-DuXPIL7t.cjs +23 -0
  10. package/dist/components/index.cjs +370 -76
  11. package/dist/components/index.js +309 -15
  12. package/dist/{TablePaginationActions-CMC_ZxDN.cjs → css-utils-CqIN_t7x.cjs} +9 -0
  13. package/dist/{TablePaginationActions-DIFPc_wQ.js → css-utils-hxI-qUxK.js} +13 -4
  14. package/dist/custom-icons/index.cjs +3 -2
  15. package/dist/custom-icons/index.js +3 -2
  16. package/dist/theme/index.cjs +108 -114
  17. package/dist/theme/index.js +7 -13
  18. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +117 -0
  19. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts.map +1 -0
  20. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts +66 -0
  21. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts.map +1 -0
  22. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts +2 -0
  23. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts.map +1 -0
  24. package/dist/types/components/EllipsisWithTooltip/index.d.ts +3 -0
  25. package/dist/types/components/EllipsisWithTooltip/index.d.ts.map +1 -0
  26. package/dist/types/components/Link/Link.stories.d.ts +0 -7
  27. package/dist/types/components/Link/Link.stories.d.ts.map +1 -1
  28. package/dist/types/components/SearchField/SearchField.d.ts +32 -0
  29. package/dist/types/components/SearchField/SearchField.d.ts.map +1 -0
  30. package/dist/types/components/SearchField/SearchField.stories.d.ts +123 -0
  31. package/dist/types/components/SearchField/SearchField.stories.d.ts.map +1 -0
  32. package/dist/types/components/SearchField/index.d.ts +3 -0
  33. package/dist/types/components/SearchField/index.d.ts.map +1 -0
  34. package/dist/types/components/Tag/Tag.d.ts +176 -4
  35. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  36. package/dist/types/components/index.d.ts +4 -0
  37. package/dist/types/components/index.d.ts.map +1 -1
  38. package/dist/types/localization/en.d.ts +1 -0
  39. package/dist/types/localization/en.d.ts.map +1 -1
  40. package/dist/types/localization/es.d.ts +1 -0
  41. package/dist/types/localization/es.d.ts.map +1 -1
  42. package/dist/types/localization/id.d.ts +1 -0
  43. package/dist/types/localization/id.d.ts.map +1 -1
  44. package/dist/types/localization/index.d.ts +3 -0
  45. package/dist/types/localization/index.d.ts.map +1 -1
  46. package/dist/types/theme/components/forms.d.ts.map +1 -1
  47. package/dist/types/utils/css-utils.d.ts +14 -0
  48. package/dist/types/utils/css-utils.d.ts.map +1 -0
  49. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -1
  50. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.d.ts.map +1 -1
  51. package/dist/widgets/index.cjs +120 -124
  52. package/dist/widgets/index.js +6 -10
  53. package/package.json +1 -1
@@ -2,13 +2,14 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import React, { useMemo, useState, useEffect, useCallback, useRef, createContext, useContext, useLayoutEffect, createRef } from "react";
3
3
  import { useTheme, styled, Box, Skeleton, Grid, Link, darken, Button, Divider, TextField, InputAdornment, Checkbox, Tooltip, debounce, Slider, TableCell, Table, TableHead, TableRow, TableBody, TableContainer, TableSortLabel, TablePagination, IconButton as IconButton$1, Menu, MenuItem, SvgIcon, Icon, Collapse, LinearProgress, Typography as Typography$1, lighten, ClickAwayListener, ToggleButton, capitalize, ListItem, Chip, List, Paper, Popover, Select, ListItemText, Drawer } from "@mui/material";
4
4
  import { useIntl } from "react-intl";
5
- import { i as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, h as IconButton, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-DIFPc_wQ.js";
5
+ import { j as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, i as IconButton, B as BREAKPOINTS, a as TablePaginationActions, e as ellipsisStyles, b as ICON_SIZE_MEDIUM } from "../css-utils-hxI-qUxK.js";
6
6
  import _ReactEcharts from "echarts-for-react";
7
7
  import { FixedSizeList } from "react-window";
8
- import { S as Search, a as SwatchSquare } from "../SwatchSquare-CaaLsjAC.js";
9
- import { A as Alert, L as Link$1 } from "../Alert-CRVceJ9N.js";
8
+ import { S as Search } from "../Search-C7wkXu3f.js";
9
+ import { A as Alert, L as Link$1 } from "../Alert-C1VgP3N1.js";
10
10
  import { ChevronLeft, ChevronRight, ExpandLess, ExpandMore, MoreVert, KeyboardArrowDown, ErrorOutline, Cancel, VisibilityOutlined, VisibilityOffOutlined, Close, LayersOutlined } from "@mui/icons-material";
11
11
  import { a as getColorByCategory, c as commonPalette, b as getPalette } from "../palette-utils-BHqJlHm9.js";
12
+ import { S as SwatchSquare } from "../SwatchSquare-B6KYVoqV.js";
12
13
  function detectTouchscreen() {
13
14
  let result = false;
14
15
  if (window.PointerEvent && "maxTouchPoints" in navigator) {
@@ -2967,9 +2968,7 @@ const TableCellStyled = styled(TableCell)(() => ({
2967
2968
  overflow: "hidden",
2968
2969
  "& p": {
2969
2970
  maxWidth: "100%",
2970
- whiteSpace: "nowrap",
2971
- overflow: "hidden",
2972
- textOverflow: "ellipsis"
2971
+ ...ellipsisStyles
2973
2972
  }
2974
2973
  }));
2975
2974
  const StyledTablePagination = styled(TablePagination)(({ theme }) => ({
@@ -4917,10 +4916,7 @@ const Text = styled(Typography$1, {
4917
4916
  WebkitLineClamp: 2,
4918
4917
  WebkitBoxOrient: "vertical"
4919
4918
  },
4920
- ...!expanded && {
4921
- whiteSpace: "nowrap",
4922
- textOverflow: "ellipsis"
4923
- }
4919
+ ...!expanded && ellipsisStyles
4924
4920
  }));
4925
4921
  const HeaderItems = styled(Grid)(({ theme }) => ({
4926
4922
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "2.5.5-alpha-translations.1",
3
+ "version": "2.6.0-alpha-searchfield.1",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {