@ornikar/kitt-universal 35.3.0 → 35.5.0

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/index.es.js CHANGED
@@ -4887,6 +4887,17 @@ function getBorderColor$2(_ref) {
4887
4887
  return 'transparent';
4888
4888
  }
4889
4889
 
4890
+ var getSize = function (size) {
4891
+ switch (size) {
4892
+ case 'small':
4893
+ return 'kitt.2';
4894
+ case 'xsmall':
4895
+ return 2;
4896
+ default:
4897
+ return 'kitt.4';
4898
+ }
4899
+ };
4900
+
4890
4901
  function AnimatedChoiceItemView(_ref) {
4891
4902
  var children = _ref.children,
4892
4903
  size = _ref.size,
@@ -4914,7 +4925,7 @@ function AnimatedChoiceItemView(_ref) {
4914
4925
  isHovered: isHovered,
4915
4926
  isPressed: isPressed
4916
4927
  }),
4917
- padding: size === 'small' ? 'kitt.2' : 'kitt.4',
4928
+ padding: getSize(size),
4918
4929
  flexGrow: shouldExpand ? 1 : undefined,
4919
4930
  flexShrink: shouldExpand ? 1 : undefined
4920
4931
  });
@@ -13902,6 +13913,10 @@ function Tag(_ref) {
13902
13913
  deepPurple: {
13903
13914
  background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
13904
13915
  font: kittTheme.kitt.palettes.deepPurple['beige.1']
13916
+ },
13917
+ mauve: {
13918
+ background: kittTheme.kitt.palettes.deepPurple['mauve.3'],
13919
+ font: kittTheme.kitt.palettes.deepPurple['grey.9']
13905
13920
  }
13906
13921
  };
13907
13922
  return /*#__PURE__*/jsxs(HStack, {