@pedidopago/ui 1.5.0 → 1.5.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.
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { Circle } from './types';
3
- export declare function CircleProgress({ percent, isAnimated, color, size, stroke, circleBody, showValue, steps, }: Circle): JSX.Element;
2
+ import { CircleProps } from './types';
3
+ export declare function CircleProgress({ percent, isAnimated, percentBarColor, size, stroke, circleBody, showValue, steps, }: CircleProps): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,KAAK,EACL,IAAI,EACJ,MAAM,EACN,UAAU,EACV,SAAS,EACT,KAAK,GACN,EAAE,MAAM,eAoER"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,eAAe,EACf,IAAI,EACJ,MAAM,EACN,UAAU,EACV,SAAS,EACT,KAAK,GACN,EAAE,WAAW,eA0Eb"}
@@ -32,7 +32,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
32
32
  function CircleProgress(_ref) {
33
33
  var percent = _ref.percent,
34
34
  isAnimated = _ref.isAnimated,
35
- color = _ref.color,
35
+ percentBarColor = _ref.percentBarColor,
36
36
  size = _ref.size,
37
37
  stroke = _ref.stroke,
38
38
  circleBody = _ref.circleBody,
@@ -77,17 +77,17 @@ function CircleProgress(_ref) {
77
77
  x2: "1",
78
78
  y2: "1",
79
79
  id: "linear_colors",
80
- children: Array.isArray(color) ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
80
+ children: Array.isArray(percentBarColor) ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
81
81
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
82
82
  offset: "15%",
83
- stopColor: (0, _colorCheck.stripThemeColors)(color[0], theme.colors) || color[0]
83
+ stopColor: (0, _colorCheck.stripThemeColors)(percentBarColor[0], theme.colors) || percentBarColor[0]
84
84
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
85
85
  offset: "70%",
86
- stopColor: (0, _colorCheck.stripThemeColors)(color[1], theme.colors) || color[1]
86
+ stopColor: (0, _colorCheck.stripThemeColors)(percentBarColor[1], theme.colors) || percentBarColor[1]
87
87
  })]
88
88
  }) : /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
89
89
  offset: "100%",
90
- stopColor: color ? (0, _colorCheck.stripThemeColors)(color, theme.colors) || color : theme.colors.primary.default
90
+ stopColor: percentBarColor ? (0, _colorCheck.stripThemeColors)(percentBarColor, theme.colors) || percentBarColor : theme.colors.primary.default
91
91
  })
92
92
  }), circleBody && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SVGSecondCircle, {
93
93
  cx: "50%",
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { DisplayValueProps } from '../types';
3
- import { CircleStyle, CircleBody } from './types';
3
+ import { CircleStyleProps, CircleBodyProps } from './types';
4
4
  export declare const CircleArea: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
@@ -20,9 +20,9 @@ export declare const SVGArea: import("@emotion/styled").StyledComponent<{
20
20
  export declare const SVGCircle: import("@emotion/styled").StyledComponent<{
21
21
  theme?: import("@emotion/react").Theme | undefined;
22
22
  as?: import("react").ElementType<any> | undefined;
23
- } & CircleStyle, import("react").SVGProps<SVGCircleElement>, {}>;
23
+ } & CircleStyleProps, import("react").SVGProps<SVGCircleElement>, {}>;
24
24
  export declare const SVGSecondCircle: import("@emotion/styled").StyledComponent<{
25
25
  theme?: import("@emotion/react").Theme | undefined;
26
26
  as?: import("react").ElementType<any> | undefined;
27
- } & CircleBody, import("react").SVGProps<SVGCircleElement>, {}>;
27
+ } & CircleBodyProps, import("react").SVGProps<SVGCircleElement>, {}>;
28
28
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,UAAU;;;;;yGAKtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;6HAkBjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;+CAInB,CAAC;AACF,eAAO,MAAM,SAAS;;;gEAUrB,CAAC;AAEF,eAAO,MAAM,eAAe;;;+DAM3B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,UAAU;;;;;yGAKtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;6HAkBjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;+CAInB,CAAC;AACF,eAAO,MAAM,SAAS;;;qEAUrB,CAAC;AAEF,eAAO,MAAM,eAAe;;;oEAM3B,CAAC"}
@@ -1,19 +1,19 @@
1
1
  import { GlobalColorsProps } from '../../../shared/theme';
2
- import { Linear } from '../Linear/types';
3
- export declare type Circle = Linear & {
2
+ import { LinearProps } from '../Linear/types';
3
+ export declare type CircleProps = LinearProps & {
4
4
  size?: number;
5
5
  stroke?: number;
6
6
  circleBody?: boolean;
7
7
  showValue?: string;
8
8
  };
9
- export interface CircleStyle {
9
+ export interface CircleStyleProps {
10
10
  circumference?: number;
11
11
  percent: number;
12
12
  strokeWidth?: number;
13
13
  color?: string | string[] | GlobalColorsProps | GlobalColorsProps[];
14
14
  isAnimated?: boolean;
15
15
  }
16
- export interface CircleBody {
16
+ export interface CircleBodyProps {
17
17
  strokeWidth?: number;
18
18
  }
19
19
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,oBAAY,MAAM,GAAG,MAAM,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,iBAAiB,GAAG,iBAAiB,EAAE,CAAC;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,oBAAY,WAAW,GAAG,WAAW,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,iBAAiB,GAAG,iBAAiB,EAAE,CAAC;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { ProgressComponent } from './types';
3
- export declare function LinearProgress({ height, showValue, steps, ...props }: ProgressComponent): JSX.Element;
2
+ import { LinearProps } from './types';
3
+ export declare function LinearProgress({ height, showValue, steps, ...props }: LinearProps): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,eAsBvF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,eAsBjF"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { DisplayValueProps } from '../types';
3
- import { ProgressBarInterface, PercentBarInterface } from './types';
3
+ import { ProgressBarProps, PercentBarProps } from './types';
4
4
  export declare const ProgressBar: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
7
- } & ProgressBarInterface, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ } & ProgressBarProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
8
  export declare const ValueLinear: import("@emotion/styled").StyledComponent<{
9
9
  theme?: import("@emotion/react").Theme | undefined;
10
10
  as?: import("react").ElementType<any> | undefined;
@@ -12,5 +12,5 @@ export declare const ValueLinear: import("@emotion/styled").StyledComponent<{
12
12
  export declare const PercentBar: import("@emotion/styled").StyledComponent<{
13
13
  theme?: import("@emotion/react").Theme | undefined;
14
14
  as?: import("react").ElementType<any> | undefined;
15
- } & PercentBarInterface, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ } & PercentBarProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
16
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/styles.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEpE,eAAO,MAAM,WAAW;;;gIAMvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;6HAiBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;+HAqBtB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/styles.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,WAAW;;;4HAMvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;6HAiBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;2HAqBtB,CAAC"}
@@ -65,9 +65,9 @@ var ValueLinear = _styled.default.div(_templateObject2 || (_templateObject2 = _t
65
65
  exports.ValueLinear = ValueLinear;
66
66
 
67
67
  var PercentBar = _styled.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", ";\n\n width: ", "%;\n max-width: 100%;\n height: 100%;\n border-radius: 8px;\n transition: ", ";\n"])), function (_ref8) {
68
- var color = _ref8.color,
68
+ var percentBarColor = _ref8.percentBarColor,
69
69
  theme = _ref8.theme;
70
- return color && Array.isArray(color) ? (0, _react.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n background-image: linear-gradient(\n 270deg,\n ", " 0.81%,\n ", " 100%\n );\n "])), (0, _colorCheck.stripThemeColors)(color[1], theme.colors) || color[1], (0, _colorCheck.stripThemeColors)(color[0], theme.colors) || color[0]) : (0, _react.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n background: ", ";\n "])), color ? (0, _colorCheck.stripThemeColors)(color, theme.colors) || color : theme.colors.primary.default);
70
+ return percentBarColor && Array.isArray(percentBarColor) ? (0, _react.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n background-image: linear-gradient(\n 270deg,\n ", " 0.81%,\n ", " 100%\n );\n "])), (0, _colorCheck.stripThemeColors)(percentBarColor[1], theme.colors) || percentBarColor[1], (0, _colorCheck.stripThemeColors)(percentBarColor[0], theme.colors) || percentBarColor[0]) : (0, _react.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n background: ", ";\n "])), percentBarColor ? (0, _colorCheck.stripThemeColors)(percentBarColor, theme.colors) || percentBarColor : theme.colors.primary.default);
71
71
  }, function (_ref9) {
72
72
  var percent = _ref9.percent;
73
73
  return percent;
@@ -1,25 +1,14 @@
1
- export interface ProgressBarInterface {
1
+ export declare type ProgressBarProps = {
2
2
  height?: string;
3
- }
4
- export interface PercentBarInterface {
3
+ };
4
+ export declare type PercentBarProps = {
5
5
  percent: number;
6
6
  isAnimated?: boolean;
7
- color?: string;
8
- }
9
- export declare type ProgressComponent = PercentBarInterface & {
10
- type?: 'linear' | 'circle';
11
- height?: 'sm' | 'md' | 'lg';
12
- size?: number;
13
- stroke?: number;
14
- circleBody?: boolean;
15
- showValue?: string;
16
- steps?: number;
7
+ percentBarColor?: string | string[];
17
8
  };
18
- export interface Linear {
9
+ export declare type LinearProps = PercentBarProps & {
19
10
  height?: string;
20
- percent: number;
21
- isAnimated?: boolean;
22
- color?: string;
23
11
  steps?: number;
24
- }
12
+ showValue?: string;
13
+ };
25
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,oBAAY,iBAAiB,GAAG,mBAAmB,GAAG;IACpD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/types.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,oBAAY,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACrC,CAAC;AAEF,oBAAY,WAAW,GAAG,eAAe,GAAG;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ProgressComponent } from './Linear/types';
3
- export declare function Progress({ height, size, stroke, circleBody, type, ...props }: ProgressComponent): JSX.Element;
2
+ import { ProgressComponent } from './types';
3
+ export declare function Progress({ height, size, stroke, circleBody, type, color, ...props }: ProgressComponent): JSX.Element;
4
4
  export default Progress;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,eAM/F;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,IAAI,EACJ,MAAM,EACN,UAAU,EACV,IAAI,EACJ,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,eAYnB;AAED,eAAe,QAAQ,CAAC"}
@@ -12,7 +12,7 @@ var _Linear = require("./Linear");
12
12
 
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
14
 
15
- var _excluded = ["height", "size", "stroke", "circleBody", "type"];
15
+ var _excluded = ["height", "size", "stroke", "circleBody", "type", "color"];
16
16
 
17
17
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
18
18
 
@@ -30,13 +30,16 @@ function Progress(_ref) {
30
30
  stroke = _ref.stroke,
31
31
  circleBody = _ref.circleBody,
32
32
  type = _ref.type,
33
+ color = _ref.color,
33
34
  props = _objectWithoutProperties(_ref, _excluded);
34
35
 
35
36
  return type === 'circle' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Circle.CircleProgress, _objectSpread(_objectSpread({}, props), {}, {
37
+ percentBarColor: color,
36
38
  circleBody: circleBody,
37
39
  stroke: stroke,
38
40
  size: size
39
41
  })) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Linear.LinearProgress, _objectSpread(_objectSpread({}, props), {}, {
42
+ percentBarColor: color,
40
43
  height: height
41
44
  }));
42
45
  }
@@ -13,4 +13,16 @@ export interface objectGray {
13
13
  neutral6: ArrayColor;
14
14
  black: ArrayColor;
15
15
  }
16
+ export declare type ProgressComponent = {
17
+ type?: 'linear' | 'circle';
18
+ height?: 'sm' | 'md' | 'lg';
19
+ size?: number;
20
+ stroke?: number;
21
+ circleBody?: boolean;
22
+ showValue?: string;
23
+ steps?: number;
24
+ color?: string | string[];
25
+ percent: number;
26
+ isAnimated?: boolean;
27
+ };
16
28
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,oBAAY,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -110,7 +110,7 @@ var useBreakpoints = function useBreakpoints(breakpointsConfig) {
110
110
  return _key;
111
111
  }
112
112
 
113
- return undefined;
113
+ return Object.keys(breakpointValues)[0];
114
114
  }
115
115
 
116
116
  (0, _react.useEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedidopago/ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Quick build beatiful Pedido Pago apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",