sapo-components-ui-rn 1.1.81 → 1.1.83

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.
package/dist/.DS_Store ADDED
Binary file
package/dist/index.esm.js CHANGED
@@ -3093,7 +3093,7 @@ var _setCacheAdd = setCacheAdd$1;
3093
3093
  * @name has
3094
3094
  * @memberOf SetCache
3095
3095
  * @param {*} value The value to search for.
3096
- * @returns {boolean} Returns `true` if `value` is found, else `false`.
3096
+ * @returns {number} Returns `true` if `value` is found, else `false`.
3097
3097
  */
3098
3098
 
3099
3099
  function setCacheHas$1(value) {
@@ -7233,30 +7233,29 @@ var Tag = function (_a) {
7233
7233
  var handlePressTag = useCallback(function () {
7234
7234
  onPress === null || onPress === void 0 ? void 0 : onPress(!checked);
7235
7235
  }, [checked]);
7236
- return (React__default.createElement(View, { row: true },
7237
- React__default.createElement(View, { row: true, height: height, disabled: disabled, paddingHorizontal: CONSTANTS.SPACE_12, paddingVertical: CONSTANTS.SPACE_8, borderRadius: borderRadius, center: true, style: [
7238
- disabled && {
7239
- backgroundColor: colors.surfaceSecondaryDefault,
7240
- borderColor: colors.surfaceSecondaryDefault,
7241
- },
7242
- style,
7243
- ], onPress: handlePressTag, backgroundColor: checked
7244
- ? colors.surfaceBrandInversePressed
7245
- : colors.surfaceBrandInverseDefault },
7246
- leftIcon && React__default.createElement(View, { paddingRight: CONSTANTS.SPACE_4 }, leftIcon),
7247
- React__default.createElement(View, null,
7248
- React__default.createElement(Text$1, { size: 14, numberOfLines: numberOfLines, ellipsizeMode: ellipsizeMode, style: [
7249
- styles$1.textMedium,
7250
- {
7251
- lineHeight: 16,
7252
- },
7253
- disabled && {
7254
- color: colors.textSecondary,
7255
- },
7256
- textStyle,
7257
- ] }, title)),
7258
- rightIcon ? (React__default.createElement(View, { paddingLeft: CONSTANTS.SPACE_4 }, rightIcon)) : hideRightIcon ? (React__default.createElement(View, null)) : (React__default.createElement(View, { paddingLeft: CONSTANTS.SPACE_4 },
7259
- React__default.createElement(SvgIcon, { name: "IconClose", width: 20, height: 20, color: colors.iconBrandDefault }))))));
7236
+ return (React__default.createElement(View, { row: true, height: height, disabled: disabled, paddingHorizontal: CONSTANTS.SPACE_12, paddingVertical: CONSTANTS.SPACE_8, borderRadius: borderRadius, center: true, style: [
7237
+ disabled && {
7238
+ backgroundColor: colors.surfaceSecondaryDefault,
7239
+ borderColor: colors.surfaceSecondaryDefault,
7240
+ },
7241
+ style,
7242
+ ], onPress: handlePressTag, backgroundColor: checked
7243
+ ? colors.surfaceBrandInversePressed
7244
+ : colors.surfaceBrandInverseDefault },
7245
+ leftIcon && React__default.createElement(View, { paddingRight: CONSTANTS.SPACE_4 }, leftIcon),
7246
+ React__default.createElement(View, { paddingHorizontal: CONSTANTS.SPACE_4 },
7247
+ React__default.createElement(Text$1, { size: 14, numberOfLines: numberOfLines, ellipsizeMode: ellipsizeMode, style: [
7248
+ styles$1.textMedium,
7249
+ {
7250
+ lineHeight: 16,
7251
+ },
7252
+ disabled && {
7253
+ color: colors.textSecondary,
7254
+ },
7255
+ textStyle,
7256
+ ] }, title)),
7257
+ rightIcon ? (React__default.createElement(View, { paddingLeft: CONSTANTS.SPACE_4 }, rightIcon)) : hideRightIcon ? (React__default.createElement(View, null)) : (React__default.createElement(View, { paddingLeft: CONSTANTS.SPACE_4 },
7258
+ React__default.createElement(SvgIcon, { name: "IconClose", width: 20, height: 20, color: colors.iconBrandDefault })))));
7260
7259
  };
7261
7260
  var styles$1 = StyleSheet.create(__assign({}, containerStyles));
7262
7261