@pedidopago/ui 1.3.16 → 1.3.17

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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MultipleSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,EAAE,EAOH,MAAM,OAAO,CAAC;AAEf,OAAO,EAAa,iBAAiB,EAAc,MAAM,SAAS,CAAC;AAEnE,aAAK,KAAK,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAI3C,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,iBAAiB,GAAG,KAAK,CAuIjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MultipleSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,EAAE,EAOH,MAAM,OAAO,CAAC;AAEf,OAAO,EAAa,iBAAiB,EAAc,MAAM,SAAS,CAAC;AAEnE,aAAK,KAAK,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAI3C,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,iBAAiB,GAAG,KAAK,CA+HjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -107,12 +107,6 @@ var MultipleSelect = function MultipleSelect(_ref) {
107
107
  (0, _react.useEffect)(function () {
108
108
  !!value && setSelectedOptions(value);
109
109
  }, [value]);
110
- (0, _react.useEffect)(function () {
111
- onChangeValue === null || onChangeValue === void 0 ? void 0 : onChangeValue(selectedOptions);
112
- }, [onChangeValue]);
113
- (0, _react.useEffect)(function () {
114
- !!disabled && setShowOptionsArea(false);
115
- }, [disabled]);
116
110
  var scrollHandler = (0, _react.useCallback)(function (event) {
117
111
  var _ref2 = event.target,
118
112
  clientHeight = _ref2.clientHeight,
@@ -73,5 +73,5 @@ function ActiveEffects(_ref8) {
73
73
  function disabledStyle(_ref9) {
74
74
  var theme = _ref9.theme;
75
75
  if (!theme) return '';
76
- return (0, _react.css)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n border-color: ", ";\n\n background-color: ", ";\n\n div {\n background-color: ", ";\n }\n "])), theme.colors.neutral.neutral2, theme.colors.neutral.neutral1, theme.colors.neutral.neutral2);
76
+ return (0, _react.css)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n border-color: ", ";\n background-color: ", ";\n pointer-events: none;\n cursor: default;\n\n div {\n background-color: ", ";\n }\n\n .switch-token {\n background-color: ", " !important;\n\n svg {\n color: ", ";\n }\n }\n "])), theme.colors.neutral.neutral2, theme.colors.neutral.neutral1, theme.colors.neutral.neutral2, theme.colors.neutral.neutral2, theme.colors.neutral.neutral3);
77
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedidopago/ui",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
4
4
  "description": "Quick build beatiful Pedido Pago apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",