@carto/meridian-ds 2.7.0-alpha-loader.1 → 2.7.0-alpha-loader.3

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.
@@ -876,34 +876,36 @@ function _ToggleButtonGroup({
876
876
  );
877
877
  }
878
878
  const ToggleButtonGroup = React.forwardRef(_ToggleButtonGroup);
879
- const StyledGrid = material.styled(material.Grid, {
880
- shouldForwardProp: (prop) => prop !== "fullHeight" && prop !== "height"
879
+ const Wrapper = material.styled(material.Stack, {
880
+ shouldForwardProp: (prop) => prop !== "fullHeight"
881
881
  })(({ fullHeight, theme }) => ({
882
- display: "flex",
883
- flexDirection: "column",
884
882
  alignItems: "center",
885
883
  justifyContent: "center",
886
884
  gap: theme.spacing(1.5),
885
+ width: "100%",
887
886
  ...fullHeight && {
888
887
  flex: 1,
889
- height: "100%",
890
- width: "100%"
888
+ height: "100%"
891
889
  }
892
890
  }));
893
891
  function _Loader({
894
892
  label,
895
893
  secondLabel,
896
894
  color = "primary",
895
+ size = 40,
897
896
  fullHeight,
897
+ labelTypographyProps,
898
+ secondLabelTypographyProps,
899
+ sx,
898
900
  ...otherProps
899
901
  }, ref) {
900
902
  const labelText = cssUtils.useTranslationWithFallback("c4r.utils.loader.label", label);
901
903
  const hasAnyLabel = labelText || secondLabel;
902
904
  return /* @__PURE__ */ jsxRuntime.jsxs(
903
- StyledGrid,
905
+ Wrapper,
904
906
  {
905
- container: true,
906
907
  fullHeight,
908
+ sx,
907
909
  ...otherProps,
908
910
  ref,
909
911
  "aria-busy": true,
@@ -914,16 +916,27 @@ function _Loader({
914
916
  material.CircularProgress,
915
917
  {
916
918
  color,
919
+ size,
917
920
  "aria-labelledby": hasAnyLabel ? "loader-label" : void 0
918
921
  }
919
922
  ),
920
923
  hasAnyLabel && /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { direction: "column", alignItems: "center", children: [
921
- labelText && /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "body2", color: "textSecondary", id: "loader-label", children: labelText }),
924
+ labelText && /* @__PURE__ */ jsxRuntime.jsx(
925
+ cssUtils.Typography,
926
+ {
927
+ variant: "body2",
928
+ color: "textSecondary",
929
+ ...labelTypographyProps,
930
+ id: "loader-label",
931
+ children: labelText
932
+ }
933
+ ),
922
934
  secondLabel && /* @__PURE__ */ jsxRuntime.jsx(
923
935
  cssUtils.Typography,
924
936
  {
925
937
  variant: "body2",
926
938
  color: "textSecondary",
939
+ ...secondLabelTypographyProps,
927
940
  id: labelText ? void 0 : "loader-label",
928
941
  children: secondLabel
929
942
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import React, { forwardRef, useState, useRef, useEffect, useMemo, createElement, Fragment as Fragment$1, useCallback, useImperativeHandle } from "react";
3
- import { styled, Box, Button as Button$1, CircularProgress, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, TextField, InputAdornment, Select, FormControl, InputLabel, FormHelperText, Link, Checkbox, IconButton as IconButton$1, ListItemText, Tooltip, ToggleButtonGroup as ToggleButtonGroup$1, Grid, Stack, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, alpha, useTheme, AppBar as AppBar$1, Toolbar, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1, Slide, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Menu as Menu$2, useMediaQuery, Snackbar as Snackbar$1, Portal, Fade } from "@mui/material";
3
+ import { styled, Box, Button as Button$1, CircularProgress, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, TextField, InputAdornment, Select, FormControl, InputLabel, FormHelperText, Link, Checkbox, IconButton as IconButton$1, ListItemText, Tooltip, ToggleButtonGroup as ToggleButtonGroup$1, Stack, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, alpha, useTheme, AppBar as AppBar$1, Toolbar, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1, Slide, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Menu as Menu$2, useMediaQuery, Snackbar as Snackbar$1, Portal, Fade } from "@mui/material";
4
4
  import { OpenInNewOutlined, VisibilityOffOutlined, VisibilityOutlined, Cancel, ContentCopyOutlined, AddCircleOutlineOutlined, MenuOutlined, MoreVertOutlined, HelpOutline, ErrorOutline, CloseOutlined, Check, TodayOutlined } from "@mui/icons-material";
5
5
  import { u as useTranslationWithFallback, T as Typography, c as ICON_SIZE_SMALL, i as IconButton, f as MENU_ITEM_SIZE_DENSE, d as MENU_LIST_MAX_SIZE, h as MENU_ITEM_SIZE_EXTENDED, M as MENU_ITEM_SIZE_DEFAULT, A as APPBAR_SIZE, j as useImperativeIntl, b as ICON_SIZE_MEDIUM, N as NOTIFICATION_DURATION_IN_MS, e as ellipsisStyles } from "../css-utils-CjUBRJVK.js";
6
6
  import { a } from "../css-utils-CjUBRJVK.js";
@@ -876,34 +876,36 @@ function _ToggleButtonGroup({
876
876
  );
877
877
  }
878
878
  const ToggleButtonGroup = forwardRef(_ToggleButtonGroup);
879
- const StyledGrid = styled(Grid, {
880
- shouldForwardProp: (prop) => prop !== "fullHeight" && prop !== "height"
879
+ const Wrapper = styled(Stack, {
880
+ shouldForwardProp: (prop) => prop !== "fullHeight"
881
881
  })(({ fullHeight, theme }) => ({
882
- display: "flex",
883
- flexDirection: "column",
884
882
  alignItems: "center",
885
883
  justifyContent: "center",
886
884
  gap: theme.spacing(1.5),
885
+ width: "100%",
887
886
  ...fullHeight && {
888
887
  flex: 1,
889
- height: "100%",
890
- width: "100%"
888
+ height: "100%"
891
889
  }
892
890
  }));
893
891
  function _Loader({
894
892
  label,
895
893
  secondLabel,
896
894
  color = "primary",
895
+ size = 40,
897
896
  fullHeight,
897
+ labelTypographyProps,
898
+ secondLabelTypographyProps,
899
+ sx,
898
900
  ...otherProps
899
901
  }, ref) {
900
902
  const labelText = useTranslationWithFallback("c4r.utils.loader.label", label);
901
903
  const hasAnyLabel = labelText || secondLabel;
902
904
  return /* @__PURE__ */ jsxs(
903
- StyledGrid,
905
+ Wrapper,
904
906
  {
905
- container: true,
906
907
  fullHeight,
908
+ sx,
907
909
  ...otherProps,
908
910
  ref,
909
911
  "aria-busy": true,
@@ -914,16 +916,27 @@ function _Loader({
914
916
  CircularProgress,
915
917
  {
916
918
  color,
919
+ size,
917
920
  "aria-labelledby": hasAnyLabel ? "loader-label" : void 0
918
921
  }
919
922
  ),
920
923
  hasAnyLabel && /* @__PURE__ */ jsxs(Stack, { direction: "column", alignItems: "center", children: [
921
- labelText && /* @__PURE__ */ jsx(Typography, { variant: "body2", color: "textSecondary", id: "loader-label", children: labelText }),
924
+ labelText && /* @__PURE__ */ jsx(
925
+ Typography,
926
+ {
927
+ variant: "body2",
928
+ color: "textSecondary",
929
+ ...labelTypographyProps,
930
+ id: "loader-label",
931
+ children: labelText
932
+ }
933
+ ),
922
934
  secondLabel && /* @__PURE__ */ jsx(
923
935
  Typography,
924
936
  {
925
937
  variant: "body2",
926
938
  color: "textSecondary",
939
+ ...secondLabelTypographyProps,
927
940
  id: labelText ? void 0 : "loader-label",
928
941
  children: secondLabel
929
942
  }
@@ -1,9 +1,47 @@
1
1
  import { ReactNode } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { TypographyProps } from '../Typography';
2
4
  export type LoaderProps = {
5
+ /**
6
+ * The label to display.
7
+ * If not provided, the default label 'Loading...' will be displayed.
8
+ */
3
9
  label?: ReactNode;
10
+ /**
11
+ * The props to pass to the label Typography component to override the default styles.
12
+ */
13
+ labelTypographyProps?: TypographyProps;
14
+ /**
15
+ * The second label to display.
16
+ * If not provided, no second label will be displayed.
17
+ */
4
18
  secondLabel?: ReactNode;
19
+ /**
20
+ * The props to pass to the second label Typography component to override the default styles.
21
+ */
22
+ secondLabelTypographyProps?: TypographyProps;
23
+ /**
24
+ * The color of the circular progress.
25
+ * It supports both primary and secondary colors.
26
+ * @default 'primary'
27
+ */
5
28
  color?: 'primary' | 'secondary';
29
+ /**
30
+ * The size of the component.
31
+ * If using a number, the pixel unit is assumed.
32
+ * If using a string, you need to provide the CSS unit, for example '3rem'.
33
+ * @default 40
34
+ */
35
+ size?: number | string;
36
+ /**
37
+ * If `true`, the component will take the full height of its container.
38
+ * @default false
39
+ */
6
40
  fullHeight?: boolean;
41
+ /**
42
+ * The props to pass to the container element to override the default styles.
43
+ */
44
+ sx?: SxProps<Theme>;
7
45
  };
8
46
  declare const Loader: import('react').ForwardRefExoticComponent<LoaderProps & import('react').RefAttributes<HTMLDivElement>>;
9
47
  export default Loader;
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,OAAO,CAAA;AAK3D,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAsED,QAAA,MAAM,MAAM,wGAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,OAAO,CAAA;AAC3D,OAAO,EAAmC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAC/E,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAA;AAG3D,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,eAAe,CAAA;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;OAEG;IACH,0BAA0B,CAAC,EAAE,eAAe,CAAA;IAC5C;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IAC/B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;CACpB,CAAA;AA+ED,QAAA,MAAM,MAAM,wGAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
@@ -8,12 +8,34 @@ declare const options: {
8
8
  control: "select";
9
9
  options: string[];
10
10
  };
11
+ size: {
12
+ control: "select";
13
+ options: number[];
14
+ };
15
+ label: {
16
+ control: "text";
17
+ };
18
+ secondLabel: {
19
+ control: "text";
20
+ };
21
+ labelTypographyProps: {
22
+ control: "object";
23
+ };
24
+ secondLabelTypographyProps: {
25
+ control: "object";
26
+ };
27
+ fullHeight: {
28
+ table: {
29
+ defaultValue: {
30
+ summary: string;
31
+ };
32
+ };
33
+ control: "boolean";
34
+ };
11
35
  };
12
36
  args: {
13
- variant: string;
14
37
  color: string;
15
- disabled: boolean;
16
- loading: boolean;
38
+ fullHeight: boolean;
17
39
  };
18
40
  parameters: {
19
41
  design: {
@@ -37,6 +59,9 @@ export declare const Playground: {
37
59
  export declare const Color: {
38
60
  render: (args: LoaderProps) => import("react/jsx-runtime").JSX.Element;
39
61
  };
62
+ export declare const Size: {
63
+ render: (args: LoaderProps) => import("react/jsx-runtime").JSX.Element;
64
+ };
40
65
  export declare const LabelAndSecondLabel: {
41
66
  render: (args: LoaderProps) => import("react/jsx-runtime").JSX.Element;
42
67
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAEA,OAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAG9C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;CAyBG,CAAA;AAChB,eAAe,OAAO,CAAA;AA6DtB,eAAO,MAAM,UAAU;mBA3DC,WAAW;;;;;;CAgElC,CAAA;AAED,eAAO,MAAM,KAAK;mBAhEW,WAAW;CAkEvC,CAAA;AAED,eAAO,MAAM,mBAAmB;mBAtDH,WAAW;CAwDvC,CAAA;AAED,eAAO,MAAM,UAAU;mBA9BO,WAAW;CAgCxC,CAAA;AAED,eAAO,MAAM,cAAc;mBA9EH,WAAW;;;;;;CAmFlC,CAAA"}
1
+ {"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAEA,OAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAG9C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CG,CAAA;AAChB,eAAe,OAAO,CAAA;AAqGtB,eAAO,MAAM,UAAU;mBAnGC,WAAW;;;;;;CAwGlC,CAAA;AAED,eAAO,MAAM,KAAK;mBAxGW,WAAW;CA0GvC,CAAA;AAED,eAAO,MAAM,IAAI;mBA9FW,WAAW;CAgGtC,CAAA;AAED,eAAO,MAAM,mBAAmB;mBA7EH,WAAW;CA+EvC,CAAA;AAED,eAAO,MAAM,UAAU;mBAlCO,WAAW;CAoCxC,CAAA;AAED,eAAO,MAAM,cAAc;mBA1HH,WAAW;;;;;;CA+HlC,CAAA"}
@@ -1,22 +1,22 @@
1
1
  export declare const CategoriesWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
- }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
3
+ }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "md" | "xs" | "sm" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
4
4
  export declare const CategoryItemGroup: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
5
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
6
- }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
6
+ }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "md" | "xs" | "sm" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
7
7
  selectable?: boolean;
8
8
  name?: string;
9
9
  unselected?: boolean;
10
10
  }, {}, {}>;
11
11
  export declare const OptionsSelectedBar: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
13
- }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
13
+ }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "md" | "xs" | "sm" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
14
14
  export declare const ProgressBar: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
15
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
16
- }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
16
+ }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "md" | "xs" | "sm" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
17
17
  export declare const CategoryLabelWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
18
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
19
- }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
19
+ }, "typography" | "lineHeight" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "textTransform" | "color" | "left" | "right" | "bottom" | "top" | "style" | "flex" | "wrap" | "position" | "border" | "padding" | "p" | "className" | "classes" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "item" | "md" | "xs" | "sm" | "lg" | "xl" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
20
20
  isSelectable: boolean;
21
21
  }, {}, {}>;
22
22
  export declare const CategoryLabel: import('@emotion/styled').StyledComponent<Omit<import('../../components').TypographyProps, "ref"> & import('react').RefAttributes<HTMLElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "2.7.0-alpha-loader.1",
3
+ "version": "2.7.0-alpha-loader.3",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {