@fixefy/fixefy-ui-components 0.2.68 → 0.2.70

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.
@@ -74,12 +74,12 @@ function _object_spread_props(target, source) {
74
74
  return target;
75
75
  }
76
76
  const StyledTag = (0, _styles.styled)(_material.Box)(({ theme, name, type })=>{
77
- var _theme_palette_type_name, _theme_palette_tag_name, _theme_palette_tag_name1;
77
+ var _theme_palette_type_name, _theme_palette_type, _theme_palette_tag_name, _theme_palette_type_name1, _theme_palette_type1, _theme_palette_tag_name1;
78
78
  return {
79
- background: type ? (_theme_palette_type_name = theme.palette.type[name]) === null || _theme_palette_type_name === void 0 ? void 0 : _theme_palette_type_name.background : (_theme_palette_tag_name = theme.palette.tag[name]) === null || _theme_palette_tag_name === void 0 ? void 0 : _theme_palette_tag_name.background,
79
+ background: type ? (_theme_palette_type = theme.palette[type]) === null || _theme_palette_type === void 0 ? void 0 : (_theme_palette_type_name = _theme_palette_type[name]) === null || _theme_palette_type_name === void 0 ? void 0 : _theme_palette_type_name.background : (_theme_palette_tag_name = theme.palette.tag[name]) === null || _theme_palette_tag_name === void 0 ? void 0 : _theme_palette_tag_name.background,
80
80
  borderRadius: 8,
81
81
  padding: '2px 8px',
82
- border: `1px solid ${type ? '' : (_theme_palette_tag_name1 = theme.palette.tag[name]) === null || _theme_palette_tag_name1 === void 0 ? void 0 : _theme_palette_tag_name1.border}`,
82
+ border: `1px solid ${type ? (_theme_palette_type1 = theme.palette[type]) === null || _theme_palette_type1 === void 0 ? void 0 : (_theme_palette_type_name1 = _theme_palette_type1[name]) === null || _theme_palette_type_name1 === void 0 ? void 0 : _theme_palette_type_name1.border : (_theme_palette_tag_name1 = theme.palette.tag[name]) === null || _theme_palette_tag_name1 === void 0 ? void 0 : _theme_palette_tag_name1.border}`,
83
83
  display: 'flex',
84
84
  alignItems: 'center',
85
85
  width: 'fit-content'
@@ -90,11 +90,11 @@ const StyledLabel = (0, _styles.styled)(_material.Typography)(({ theme })=>_obje
90
90
  color: theme.palette.common.white
91
91
  }));
92
92
  const StyledCount = (0, _styles.styled)(_material.Typography)(({ theme, name, type })=>{
93
- var _theme_palette_type_name, _theme_palette_tag_name;
93
+ var _theme_palette_type_name, _theme_palette_type, _theme_palette_tag_name;
94
94
  return _object_spread_props(_object_spread({}, theme.typography.subtitle2), {
95
95
  lineHeight: '16px',
96
96
  fontWeight: 700,
97
- color: type ? (_theme_palette_type_name = theme.palette.type[name]) === null || _theme_palette_type_name === void 0 ? void 0 : _theme_palette_type_name.background : (_theme_palette_tag_name = theme.palette.tag[name]) === null || _theme_palette_tag_name === void 0 ? void 0 : _theme_palette_tag_name.background,
97
+ color: type ? (_theme_palette_type = theme.palette[type]) === null || _theme_palette_type === void 0 ? void 0 : (_theme_palette_type_name = _theme_palette_type[name]) === null || _theme_palette_type_name === void 0 ? void 0 : _theme_palette_type_name.background : (_theme_palette_tag_name = theme.palette.tag[name]) === null || _theme_palette_tag_name === void 0 ? void 0 : _theme_palette_tag_name.background,
98
98
  marginLeft: 8
99
99
  });
100
100
  });
package/package.json CHANGED
@@ -65,5 +65,5 @@
65
65
  "require": "./dist/index.js"
66
66
  }
67
67
  },
68
- "version": "0.2.68"
68
+ "version": "0.2.70"
69
69
  }