@carto/meridian-ds 0.1.1-alpha.2 → 0.1.1-alpha.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.
@@ -1,7 +1,4 @@
1
- declare const Button: (props: import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
2
- ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
3
- }, "style" | "className" | "classes" | "color" | "children" | "sx" | "variant" | "tabIndex" | "href" | "disabled" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "disableElevation" | "endIcon" | "startIcon"> & {
4
- component?: import('react').ElementType;
5
- } & import('react').RefAttributes<HTMLButtonElement>) => React.ReactNode | null;
1
+ import { ButtonProps } from '@mui/material';
2
+ declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
6
3
  export default Button;
7
4
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AAmBA,QAAA,MAAM,MAAM;;;;+DAEmjG,SAAS,OAFtiG,CAAA;AAClC,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,eAAe,CAAA;AAmBhE,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
@@ -1,4 +1,3 @@
1
- import { TextFieldProps } from '@mui/material';
2
- declare const PasswordField: (props: TextFieldProps & import('react').RefAttributes<HTMLDivElement>) => React.ReactNode | null;
1
+ declare const PasswordField: import('react').ForwardRefExoticComponent<(Omit<import('@mui/material').FilledTextFieldProps, "ref"> | Omit<import('@mui/material').OutlinedTextFieldProps, "ref"> | Omit<import('@mui/material').StandardTextFieldProps, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
3
2
  export default PasswordField;
4
3
  //# sourceMappingURL=PasswordField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/PasswordField.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EAIf,MAAM,eAAe,CAAA;AAoCtB,QAAA,MAAM,aAAa,mFAEu8E,SAAS,OAFn7E,CAAA;AAChD,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/PasswordField.tsx"],"names":[],"mappings":"AA0CA,QAAA,MAAM,aAAa,oRAA6B,CAAA;AAChD,eAAe,aAAa,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { MenuProps, SelectProps } from '@mui/material';
2
+ import { ForwardedRef } from 'react';
2
3
  export type SelectFieldProps<T = unknown> = SelectProps<T> & {
3
4
  placeholder?: React.ReactNode;
4
5
  size?: 'small' | 'medium';
@@ -7,9 +8,9 @@ export type SelectFieldProps<T = unknown> = SelectProps<T> & {
7
8
  helperText?: React.ReactNode;
8
9
  focused?: boolean;
9
10
  };
10
- declare module 'react' {
11
- function forwardRef<T, P = object>(render: (props: P, ref: React.Ref<T>) => React.ReactNode | null): (props: P & React.RefAttributes<T>) => React.ReactNode | null;
12
- }
13
- declare const SelectField: <T = unknown>(props: SelectFieldProps<T> & import('react').RefAttributes<HTMLInputElement>) => React.ReactNode | null;
11
+ declare function _SelectField<T = unknown>({ children, placeholder, size, displayEmpty, menuProps, inputProps, labelId, label, labelSecondary, helperText, name, error, focused, disabled, fullWidth, required, 'aria-label': ariaLabel, ...otherProps }: SelectFieldProps<T>, ref: ForwardedRef<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
12
+ declare const SelectField: <T = unknown>(props: SelectFieldProps<T> & {
13
+ ref?: ForwardedRef<HTMLInputElement>;
14
+ }) => ReturnType<typeof _SelectField>;
14
15
  export default SelectField;
15
16
  //# sourceMappingURL=SelectField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/SelectField.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,SAAS,EAET,WAAW,EAEZ,MAAM,eAAe,CAAA;AAItB,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG;IAC3D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;IAC9B,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAgID,OAAO,QAAQ,OAAO,CAAC;IACrB,SAAS,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,EAC/B,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,GAC9D,CAAC,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,aAAa,CAA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AG,CAAC,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAA;CAAE,KAClE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAA;AAEpC,eAAe,WAAW,CAAA"}
@@ -4,11 +4,6 @@ export type TypographyProps = MUITypographyProps<React.ElementType, {
4
4
  weight?: CartoFontWeight;
5
5
  italic?: boolean;
6
6
  }>;
7
- declare const Typography: (props: {
8
- weight?: CartoFontWeight;
9
- italic?: boolean;
10
- } & import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<any, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "weight" | "italic"> & {
11
- component?: import('react').ElementType;
12
- } & import('react').RefAttributes<HTMLElement>) => React.ReactNode | null;
7
+ declare const Typography: import('react').ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
13
8
  export default Typography;
14
9
  //# sourceMappingURL=Typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAA;AAGtB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAE7D,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAC9C,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CACF,CAAA;AAiCD,QAAA,MAAM,UAAU;aApCH,eAAe;aACf,OAAO;;;yDAqCwoF,SAAS,OAF3nF,CAAA;AAC1C,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAA;AAGtB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAE7D,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAC9C,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CACF,CAAA;AAiCD,QAAA,MAAM,UAAU,sHAA0B,CAAA;AAC1C,eAAe,UAAU,CAAA"}
@@ -7,12 +7,6 @@ export type AlertProps = Omit<MUIAlertProps, 'severity' | 'title'> & {
7
7
  open?: boolean;
8
8
  title?: React.ReactNode;
9
9
  };
10
- declare const Alert: (props: Omit<MUIAlertProps, "title" | "severity"> & {
11
- isSticky?: boolean;
12
- severity?: CartoAlertSeverity;
13
- content?: "block" | "inline";
14
- open?: boolean;
15
- title?: React.ReactNode;
16
- } & import('react').RefAttributes<HTMLDivElement>) => React.ReactNode | null;
10
+ declare const Alert: import('react').ForwardRefExoticComponent<Omit<AlertProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
17
11
  export default Alert;
18
12
  //# sourceMappingURL=Alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Alert.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,IAAI,aAAa,EAI3B,UAAU,EACX,MAAM,eAAe,CAAA;AAKtB,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,SAAS,CAAA;AAEvD,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACxB,CAAA;AAsKD,QAAA,MAAM,KAAK;eA3KE,OAAO;eACP,kBAAkB;cACnB,OAAO,GAAG,QAAQ;WACrB,OAAO;YACN,KAAK,CAAC,SAAS;4DA6I8D,SAAS,OA0BhE,CAAA;AAChC,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Alert.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,IAAI,aAAa,EAI3B,UAAU,EACX,MAAM,eAAe,CAAA;AAKtB,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,SAAS,CAAA;AAEvD,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACxB,CAAA;AAsKD,QAAA,MAAM,KAAK,oHAAqB,CAAA;AAChC,eAAe,KAAK,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { ChipTypeMap, AutocompleteProps as MUIAutocompleteProps } from '@mui/material';
2
+ import { ForwardedRef } from 'react';
2
3
  export type AutocompleteProps<Value extends object = object, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']> = Omit<MUIAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>, 'ref'> & {
3
4
  creatable?: FreeSolo;
4
5
  /** either a string (a translation key) or a function that receives the input value and returns a ReactNode */
@@ -9,11 +10,9 @@ export type CreatableValue = {
9
10
  inputValue: string;
10
11
  title: string;
11
12
  };
12
- declare const Autocomplete: <Value extends object = object, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = "div">(props: Omit<MUIAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>, "ref"> & {
13
- creatable?: FreeSolo | undefined;
14
- /** either a string (a translation key) or a function that receives the input value and returns a ReactNode */
15
- newItemLabel?: string | ((value: string) => React.ReactNode);
16
- newItemIcon?: React.ReactNode;
17
- } & import('react').RefAttributes<HTMLElement>) => React.ReactNode | null;
13
+ declare function _Autocomplete<Value extends object = object, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ creatable, newItemLabel, newItemIcon, freeSolo, renderOption, forcePopupIcon, filterOptions, getOptionLabel, ...props }: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>, ref: ForwardedRef<HTMLElement>): import("react/jsx-runtime").JSX.Element;
14
+ declare const Autocomplete: <Value extends object = object, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap["defaultComponent"]>(props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
15
+ ref?: ForwardedRef<HTMLElement>;
16
+ }) => ReturnType<typeof _Autocomplete>;
18
17
  export default Autocomplete;
19
18
  //# sourceMappingURL=Autocomplete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Autocomplete.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,WAAW,EAIX,iBAAiB,IAAI,oBAAoB,EAI1C,MAAM,eAAe,CAAA;AAQtB,MAAM,MAAM,iBAAiB,CAC3B,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,gBAAgB,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAa,SAAS,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,IACvE,IAAI,CACN,oBAAoB,CAClB,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,EACD,KAAK,CACN,GAAG;IACF,SAAS,CAAC,EAAE,QAAQ,CAAA;IAC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QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KACpC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;AAErC,eAAe,YAAY,CAAA"}
@@ -17,15 +17,6 @@ export type MultipleSelectFieldProps = Omit<SelectFieldProps<OptionValue[]>, 'op
17
17
  value: OptionValue[];
18
18
  tooltipPlacement?: TooltipProps['placement'];
19
19
  };
20
- declare const MultipleSelectField: (props: Omit<SelectFieldProps<(string | number)[]>, "onChange" | "value" | "options"> & {
21
- options: MultipleSelectFieldOption[];
22
- selectedOptions: OptionValue[];
23
- selectAllDisabled?: boolean;
24
- onChange?: (value: OptionValue[]) => void;
25
- showCounter?: boolean;
26
- showFilters?: boolean;
27
- value: OptionValue[];
28
- tooltipPlacement?: TooltipProps["placement"];
29
- } & import('react').RefAttributes<HTMLInputElement>) => React.ReactNode | null;
20
+ declare const MultipleSelectField: import('react').ForwardRefExoticComponent<Omit<MultipleSelectFieldProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
30
21
  export default MultipleSelectField;
31
22
  //# sourceMappingURL=MultipleSelectField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultipleSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/MultipleSelectField/MultipleSelectField.tsx"],"names":[],"mappings":"AAAA,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAC9E,OAAO,EAQL,YAAY,EACb,MAAM,eAAe,CAAA;AAStB,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CACzB,CAAA;AACD,KAAK,WAAW,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,gBAAgB,CAAC,WAAW,EAAE,CAAC,EAC/B,SAAS,GAAG,OAAO,GAAG,UAAU,CACjC,GAAG;IACF,OAAO,EAAE,yBAAyB,EAAE,CAAA;IACpC,eAAe,EAAE,WAAW,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAC7C,CAAA;AAgMD,QAAA,MAAM,mBAAmB;aAxMd,yBAAyB,EAAE;qBACnB,WAAW,EAAE;wBACV,OAAO;eAChB,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI;kBAC3B,OAAO;kBACP,OAAO;WACd,WAAW,EAAE;uBACD,YAAY,CAAC,WAAW,CAAC;8DA4HxC,SAAM,OAqEgD,CAAA;AAC5D,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"MultipleSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/MultipleSelectField/MultipleSelectField.tsx"],"names":[],"mappings":"AAAA,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAC9E,OAAO,EAQL,YAAY,EACb,MAAM,eAAe,CAAA;AAStB,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CACzB,CAAA;AACD,KAAK,WAAW,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,gBAAgB,CAAC,WAAW,EAAE,CAAC,EAC/B,SAAS,GAAG,OAAO,GAAG,UAAU,CACjC,GAAG;IACF,OAAO,EAAE,yBAAyB,EAAE,CAAA;IACpC,eAAe,EAAE,WAAW,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAC7C,CAAA;AAgMD,QAAA,MAAM,mBAAmB,oIAAmC,CAAA;AAC5D,eAAe,mBAAmB,CAAA"}
@@ -19,12 +19,7 @@ export declare const CategoryLabelWrapper: import('@emotion/styled').StyledCompo
19
19
  }, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "direction" | "columns" | "container" | "children" | "sx" | "spacing" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "item" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
20
20
  isSelectable: boolean;
21
21
  }, {}, {}>;
22
- export declare const CategoryLabel: import('@emotion/styled').StyledComponent<{
23
- weight?: import('../../components/atoms/Typography').CartoFontWeight;
24
- italic?: boolean;
25
- } & import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<any, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "weight" | "italic"> & {
26
- component?: import('react').ElementType;
27
- } & import('react').RefAttributes<HTMLElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
22
+ export declare const CategoryLabel: import('@emotion/styled').StyledComponent<Omit<import('../../components/atoms/Typography').TypographyProps, "ref"> & import('react').RefAttributes<HTMLElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
28
23
  export declare const LinkAsButton: import('@emotion/styled').StyledComponent<import('@mui/material').LinkOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
29
24
  ref?: ((instance: HTMLAnchorElement | 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<HTMLAnchorElement> | null | undefined;
30
25
  }, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "underline" | "TypographyClasses"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;mIAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;iqDAOtB,CAAA;AAEH,eAAO,MAAM,cAAc;;+JAExB,CAAA;AAEH,eAAO,MAAM,YAAY;;geActB,CAAA"}
1
+ {"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa,kPAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;iqDAOtB,CAAA;AAEH,eAAO,MAAM,cAAc;;+JAExB,CAAA;AAEH,eAAO,MAAM,YAAY;;geActB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "0.1.1-alpha.2",
3
+ "version": "0.1.1-alpha.3",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {