@pedidopago/ui 1.3.25 → 1.3.28

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 (50) hide show
  1. package/README.md +93 -93
  2. package/dist/components/Button/Button.test.js +4 -31
  3. package/dist/components/Button/index.d.ts +1 -1
  4. package/dist/components/Button/index.d.ts.map +1 -1
  5. package/dist/components/Button/index.js +25 -39
  6. package/dist/components/Button/types.d.ts +0 -9
  7. package/dist/components/Button/types.d.ts.map +1 -1
  8. package/dist/components/Card/card.test.d.ts +2 -0
  9. package/dist/components/Card/card.test.d.ts.map +1 -0
  10. package/dist/components/Card/card.test.js +37 -0
  11. package/dist/components/Card/index.d.ts +2 -2
  12. package/dist/components/Card/index.d.ts.map +1 -1
  13. package/dist/components/Card/index.js +18 -4
  14. package/dist/components/Card/styles.d.ts +2 -2
  15. package/dist/components/Card/styles.d.ts.map +1 -1
  16. package/dist/components/Card/types.d.ts +5 -5
  17. package/dist/components/Card/types.d.ts.map +1 -1
  18. package/dist/components/Icon/data/dash.d.ts.map +1 -1
  19. package/dist/components/Icon/data/dash.js +1 -1
  20. package/dist/components/Icon/types.d.ts +1 -1
  21. package/dist/components/Icon/types.d.ts.map +1 -1
  22. package/dist/components/RadioInput/components/ChoiceList/index.js +1 -1
  23. package/dist/components/Select/components/OptionsSelect/index.d.ts.map +1 -1
  24. package/dist/components/Select/components/OptionsSelect/index.js +2 -0
  25. package/dist/components/Select/components/OptionsSelect/styles.d.ts +1 -0
  26. package/dist/components/Select/components/OptionsSelect/styles.d.ts.map +1 -1
  27. package/dist/components/Select/components/OptionsSelect/styles.js +1 -1
  28. package/dist/components/Select/components/OptionsSelect/types.d.ts +3 -1
  29. package/dist/components/Select/components/OptionsSelect/types.d.ts.map +1 -1
  30. package/dist/components/Select/index.d.ts.map +1 -1
  31. package/dist/components/Select/index.js +3 -1
  32. package/dist/components/Select/types.d.ts +1 -0
  33. package/dist/components/Select/types.d.ts.map +1 -1
  34. package/dist/components/Slider/SliderExample.d.ts.map +1 -1
  35. package/dist/components/Slider/SliderExample.js +21 -9
  36. package/dist/components/Slider/components/SliderRail.d.ts +1 -1
  37. package/dist/components/Slider/components/SliderRail.d.ts.map +1 -1
  38. package/dist/components/Slider/components/SliderRail.js +3 -3
  39. package/dist/components/Slider/components/SliderSelector.d.ts +17 -3
  40. package/dist/components/Slider/components/SliderSelector.d.ts.map +1 -1
  41. package/dist/components/Slider/components/SliderSelector.js +48 -28
  42. package/dist/components/Slider/index.d.ts +17 -3
  43. package/dist/components/Slider/index.d.ts.map +1 -1
  44. package/dist/components/Slider/index.js +34 -14
  45. package/dist/components/Slider/slider.test.js +23 -23
  46. package/dist/components/Slider/styles.d.ts.map +1 -1
  47. package/dist/components/Slider/styles.js +3 -3
  48. package/dist/components/Slider/types.d.ts +6 -5
  49. package/dist/components/Slider/types.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -15,7 +15,7 @@ var _styles = require("./styles");
15
15
 
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
 
18
- var _excluded = ["value", "onChange", "step", "max", "min", "fullSize", "direction", "valueLabelDisplay"];
18
+ var _excluded = ["valueSlider", "onChangeSlider", "step", "max", "min", "fullSize", "direction", "valueLabelDisplay"];
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
21
 
@@ -49,9 +49,9 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
49
49
 
50
50
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
51
51
 
52
- var Slider = function Slider(_ref) {
53
- var value = _ref.value,
54
- onChange = _ref.onChange,
52
+ var Slider = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
53
+ var valueSlider = _ref.valueSlider,
54
+ onChangeSlider = _ref.onChangeSlider,
55
55
  _ref$step = _ref.step,
56
56
  step = _ref$step === void 0 ? 1 : _ref$step,
57
57
  _ref$max = _ref.max,
@@ -65,33 +65,52 @@ var Slider = function Slider(_ref) {
65
65
  valueLabelDisplay = _ref$valueLabelDispla === void 0 ? 'off' : _ref$valueLabelDispla,
66
66
  rest = _objectWithoutProperties(_ref, _excluded);
67
67
 
68
- var _useState = (0, _react.useState)(value),
68
+ var _useState = (0, _react.useState)(valueSlider),
69
69
  _useState2 = _slicedToArray(_useState, 2),
70
70
  sliderValue = _useState2[0],
71
71
  setSliderValue = _useState2[1];
72
72
 
73
+ var sliderRef = (0, _react.useRef)(null);
74
+
73
75
  function handleChangeValue(percent, index) {
76
+ var _sliderRef$current;
77
+
74
78
  var value = Math.round((percent * (max - min) + min) / step) * step;
79
+ var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, 'value');
75
80
 
76
81
  if (Array.isArray(sliderValue)) {
82
+ var _nativeInputValueSett;
83
+
77
84
  var newValues = _toConsumableArray(sliderValue);
78
85
 
79
86
  newValues[index || 0] = value > max ? max : value < min ? min : value;
80
87
  setSliderValue(newValues);
88
+ onChangeSlider === null || onChangeSlider === void 0 ? void 0 : onChangeSlider(newValues);
89
+ nativeInputValueSetter === null || nativeInputValueSetter === void 0 ? void 0 : (_nativeInputValueSett = nativeInputValueSetter.set) === null || _nativeInputValueSett === void 0 ? void 0 : _nativeInputValueSett.call(sliderRef.current, newValues);
81
90
  } else {
91
+ var _nativeInputValueSett2;
92
+
82
93
  setSliderValue(value > max ? max : value < min ? min : value);
94
+ nativeInputValueSetter === null || nativeInputValueSetter === void 0 ? void 0 : (_nativeInputValueSett2 = nativeInputValueSetter.set) === null || _nativeInputValueSett2 === void 0 ? void 0 : _nativeInputValueSett2.call(sliderRef.current, value);
95
+ onChangeSlider === null || onChangeSlider === void 0 ? void 0 : onChangeSlider(value);
83
96
  }
84
97
 
85
- onChange && onChange(sliderValue);
98
+ var event = new Event('input', {
99
+ bubbles: true
100
+ });
101
+ sliderRef === null || sliderRef === void 0 ? void 0 : (_sliderRef$current = sliderRef.current) === null || _sliderRef$current === void 0 ? void 0 : _sliderRef$current.dispatchEvent(event);
86
102
  }
87
103
 
88
104
  (0, _react.useEffect)(function () {
89
- setSliderValue(value);
90
- }, [value]);
105
+ setSliderValue(valueSlider);
106
+ }, [valueSlider]);
107
+ (0, _react.useImperativeHandle)(ref, function () {
108
+ return sliderRef.current;
109
+ });
91
110
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SliderContent, {
92
111
  direction: direction,
93
112
  fullSize: fullSize,
94
- size: rest.size,
113
+ size: rest.sizeSlider,
95
114
  disabled: rest.disabled,
96
115
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_Flex.default, {
97
116
  direction: direction === 'vertical' ? 'column-reverse' : 'row',
@@ -103,16 +122,17 @@ var Slider = function Slider(_ref) {
103
122
  children: max
104
123
  })]
105
124
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SliderSelector.SliderSelector, _objectSpread({
106
- value: sliderValue,
125
+ ref: sliderRef,
126
+ valueSliderSelector: sliderValue,
107
127
  min: min,
108
128
  max: max,
109
129
  step: step,
110
- onChange: handleChangeValue,
130
+ onChangeSliderSelector: handleChangeValue,
111
131
  direction: direction,
112
132
  valueLabelDisplay: valueLabelDisplay
113
133
  }, rest))]
114
134
  });
115
- };
116
-
135
+ });
117
136
  var _default = Slider;
118
- exports.default = _default;
137
+ exports.default = _default;
138
+ Slider.displayName = 'Slider';
@@ -24,8 +24,8 @@ var setup = function setup(props) {
24
24
  describe('Slider', function () {
25
25
  it('should it render the slider component', function () {
26
26
  var _setup = setup({
27
- value: 50,
28
- onChange: jest.fn(),
27
+ valueSlider: 50,
28
+ onChangeSlider: jest.fn(),
29
29
  min: 0,
30
30
  max: 100
31
31
  }),
@@ -35,8 +35,8 @@ describe('Slider', function () {
35
35
  });
36
36
  it('should it render the slider component with multiply values', function () {
37
37
  var _setup2 = setup({
38
- value: [50, 100],
39
- onChange: jest.fn(),
38
+ valueSlider: [50, 100],
39
+ onChangeSlider: jest.fn(),
40
40
  min: 0,
41
41
  max: 100
42
42
  }),
@@ -46,8 +46,8 @@ describe('Slider', function () {
46
46
  });
47
47
  it('should it render the slider component with different pointer', function () {
48
48
  var _setup3 = setup({
49
- value: 50,
50
- onChange: jest.fn(),
49
+ valueSlider: 50,
50
+ onChangeSlider: jest.fn(),
51
51
  min: 0,
52
52
  max: 100,
53
53
  thumbType: 'pointer'
@@ -58,8 +58,8 @@ describe('Slider', function () {
58
58
  });
59
59
  it('should it render the slider component with different colors', function () {
60
60
  var _setup4 = setup({
61
- value: 50,
62
- onChange: jest.fn(),
61
+ valueSlider: 50,
62
+ onChangeSlider: jest.fn(),
63
63
  min: 0,
64
64
  max: 100,
65
65
  trackColor: 'primary.alert',
@@ -71,25 +71,25 @@ describe('Slider', function () {
71
71
  });
72
72
  it('should it render the slider component with different sizes', function () {
73
73
  var small = setup({
74
- value: 50,
75
- onChange: jest.fn(),
74
+ valueSlider: 50,
75
+ onChangeSlider: jest.fn(),
76
76
  min: 0,
77
77
  max: 100,
78
- size: 'sm'
78
+ sizeSlider: 'sm'
79
79
  });
80
80
  var medium = setup({
81
- value: 50,
82
- onChange: jest.fn(),
81
+ valueSlider: 50,
82
+ onChangeSlider: jest.fn(),
83
83
  min: 0,
84
84
  max: 100,
85
- size: 'md'
85
+ sizeSlider: 'md'
86
86
  });
87
87
  var large = setup({
88
- value: 50,
89
- onChange: jest.fn(),
88
+ valueSlider: 50,
89
+ onChangeSlider: jest.fn(),
90
90
  min: 0,
91
91
  max: 100,
92
- size: 'lg'
92
+ sizeSlider: 'lg'
93
93
  });
94
94
  expect(small.container).toBeInTheDocument();
95
95
  expect(medium.container).toBeInTheDocument();
@@ -97,8 +97,8 @@ describe('Slider', function () {
97
97
  });
98
98
  it('should it render the slider component with label', function () {
99
99
  var _setup5 = setup({
100
- value: 50,
101
- onChange: jest.fn(),
100
+ valueSlider: 50,
101
+ onChangeSlider: jest.fn(),
102
102
  min: 0,
103
103
  max: 100,
104
104
  valueLabelDisplay: 'auto'
@@ -109,8 +109,8 @@ describe('Slider', function () {
109
109
  });
110
110
  it('should it render the slider component with custom label', function () {
111
111
  var _setup6 = setup({
112
- value: 50,
113
- onChange: jest.fn(),
112
+ valueSlider: 50,
113
+ onChangeSlider: jest.fn(),
114
114
  min: 0,
115
115
  max: 100,
116
116
  valueLabelDisplay: 'Teste'
@@ -121,8 +121,8 @@ describe('Slider', function () {
121
121
  });
122
122
  it('should it render the slider component with multiply value and different pointer', function () {
123
123
  var _setup7 = setup({
124
- value: [50, 100],
125
- onChange: jest.fn(),
124
+ valueSlider: [50, 100],
125
+ onChangeSlider: jest.fn(),
126
126
  min: 0,
127
127
  max: 100,
128
128
  thumbType: 'pointer'
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,eAAO,MAAM,aAAa;;;;;;;;yGAiDzB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;0IAK9B,CAAC;AAEF,eAAO,MAAM,eAAe;;;yGAE3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;yGAW/B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;gBACV,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;;;yGAgB9C,CAAC;AAEF,eAAO,MAAM,WAAW;;;kHAIvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;gBAEV,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;;;;yGAsF9C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;gBAGnB,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;yGA0BhD,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;yGAO7B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;2GAgEvB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,eAAO,MAAM,aAAa;;;;;;;;yGAiDzB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;0IAK9B,CAAC;AAEF,eAAO,MAAM,eAAe;;;yGAE3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;yGAS/B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;gBACV,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;;;yGAgB9C,CAAC;AAEF,eAAO,MAAM,WAAW;;;kHAIvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;gBAEV,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;;;;yGAqF9C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;gBAGnB,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;yGA0BhD,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;yGAO7B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;2GAgEvB,CAAC"}
@@ -38,7 +38,7 @@ var SliderContainer = _styled.default.div(_templateObject3 || (_templateObject3
38
38
  exports.SliderContainer = SliderContainer;
39
39
 
40
40
  var SliderRailContainer = _styled.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n background: ", ";\n border-radius: 8px;\n cursor: pointer;\n"])), function (props) {
41
- return (0, _colorCheck.stripThemeColors)(props.trackColor || '', props.theme.colors) || (props.theme.colorMode === 'dark' ? props.theme.colors.neutral.neutral5 : props.theme.colors.tertiary.default);
41
+ return (0, _colorCheck.stripThemeColors)(props.trackColor || '', props.theme.colors) || props.theme.colors.tertiary.default;
42
42
  });
43
43
 
44
44
  exports.SliderRailContainer = SliderRailContainer;
@@ -57,12 +57,12 @@ var SliderInput = _styled.default.input(_templateObject6 || (_templateObject6 =
57
57
 
58
58
  exports.SliderInput = SliderInput;
59
59
 
60
- var SliderThumb = _styled.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n position: absolute;\n ", "\n\n ", "\n\n background: ", ";\n\n pointer-events: ", ";\n\n cursor: pointer;\n"])), function (props) {
60
+ var SliderThumb = _styled.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n position: absolute;\n ", "\n\n ", "\n\n background: ", ";\n pointer-events: ", ";\n\n cursor: pointer;\n"])), function (props) {
61
61
  return props.direction === 'vertical' ? "\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 50%);\n " : "\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n ";
62
62
  }, function (props) {
63
63
  return props.thumbType !== 'pointer' ? "\n width: ".concat(props.size === 'sm' ? '20px' : '25px', ";\n height: ").concat(props.size === 'sm' ? '20px' : '25px', ";\n border-radius: 999999px;\n\n transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n\n &::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n border-radius: 999999px;\n box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%),\n 0px 1px 5px 0px rgb(0 0 0 / 12%);\n }\n\n &:hover {\n box-shadow: 0 0 0 10px\n ").concat((0, _colorCheck.parseHexColorToRgba)((0, _colorCheck.stripThemeColors)(props.thumbColor || '', props.theme.colors) || props.theme.colors.primary.default, 0.15), ";\n }\n\n &:active,\n &:focus {\n box-shadow: 0 0 0 15px\n ").concat((0, _colorCheck.parseHexColorToRgba)((0, _colorCheck.stripThemeColors)(props.thumbColor || '', props.theme.colors) || props.theme.colors.primary.default, 0.15), ";\n }\n\n &:hover,\n &:focus,\n &:active {\n & span {\n transform: ").concat(props.direction === 'vertical' ? 'translate(100%, -50%)' : 'translate(-50%, -100%)', " scale(1);\n }\n }\n ") : "\n width: ".concat(props.direction === 'vertical' ? '100%' : '5px', ";\n height: ").concat(props.direction === 'vertical' ? '5px' : '100%', ";\n ");
64
64
  }, function (props) {
65
- if (props.disabled) return props.theme.colors.neutral.neutral4;
65
+ if (props.disabled) return props.theme.colors.neutral.neutral6;
66
66
  if (props.thumbType !== 'pointer') return props.theme.colors.neutral.white;
67
67
  return props.theme.colorMode === 'dark' ? props.theme.colors.neutral.black : props.theme.colors.neutral.white;
68
68
  }, function (props) {
@@ -8,25 +8,26 @@ declare type IGenericSliderProps = {
8
8
  min: number;
9
9
  max: number;
10
10
  step?: number;
11
- value: number | number[];
12
11
  trackColor?: GlobalColorsProps | (string & {});
13
12
  thumbColor?: GlobalColorsProps | (string & {});
14
13
  disabled?: boolean;
15
14
  fullSize?: boolean;
16
- size?: 'sm' | 'md' | 'lg';
15
+ sizeSlider?: 'sm' | 'md' | 'lg';
17
16
  direction?: 'horizontal' | 'vertical';
18
17
  valueLabelDisplay?: 'auto' | 'off' | '%v' | (string & {});
19
18
  };
20
19
  export declare type ISliderProps = IGenericSliderProps & {
21
- onChange: (value: number | number[], index?: number) => void;
20
+ valueSlider: number | number[];
21
+ onChangeSlider: (value: number | number[], index?: number) => void;
22
22
  };
23
23
  export declare type ISliderSelectorProps = IGenericSliderProps & {
24
- onChange: (percentage: number, index?: number) => void;
24
+ valueSliderSelector: number | number[];
25
+ onChangeSliderSelector: (percentage: number, index?: number) => void;
25
26
  };
26
27
  export declare type ISliderTrackerProps = {
27
28
  max: number;
28
29
  step: number;
29
- onChange: (value: number, ref?: RefObject<HTMLDivElement>) => void;
30
+ onChangeSliderTracker: (value: number, ref?: RefObject<HTMLDivElement>) => void;
30
31
  trackColor?: GlobalColorsProps | (string & {});
31
32
  children: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AY,GAAG,UAAU,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC3D,CAAC;AAEF,oBAAY,YAAY,GAAG,mBAAmB,GAAG;IAC/C,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACpE,CAAC;AAEF,oBAAY,oBAAoB,GAAG,mBAAmB,GAAG;IACvD,mBAAmB,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACvC,sBAAsB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACtE,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAChF,UAAU,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC/C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACvC,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC,UAAU,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC/C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedidopago/ui",
3
- "version": "1.3.25",
3
+ "version": "1.3.28",
4
4
  "description": "Quick build beatiful Pedido Pago apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",