@ornikar/kitt-universal 35.4.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.
@@ -4758,6 +4758,17 @@ function getBorderColor$2({
4758
4758
  return 'transparent';
4759
4759
  }
4760
4760
 
4761
+ const getSize = size => {
4762
+ switch (size) {
4763
+ case 'small':
4764
+ return 'kitt.2';
4765
+ case 'xsmall':
4766
+ return 2;
4767
+ default:
4768
+ return 'kitt.4';
4769
+ }
4770
+ };
4771
+
4761
4772
  function AnimatedChoiceItemView({
4762
4773
  children,
4763
4774
  size,
@@ -4784,7 +4795,7 @@ function AnimatedChoiceItemView({
4784
4795
  isHovered,
4785
4796
  isPressed
4786
4797
  }),
4787
- padding: size === 'small' ? 'kitt.2' : 'kitt.4',
4798
+ padding: getSize(size),
4788
4799
  flexGrow: shouldExpand ? 1 : undefined,
4789
4800
  flexShrink: shouldExpand ? 1 : undefined,
4790
4801
  _web: {
@@ -13064,6 +13075,10 @@ function Tag({
13064
13075
  deepPurple: {
13065
13076
  background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
13066
13077
  font: kittTheme.kitt.palettes.deepPurple['beige.1']
13078
+ },
13079
+ mauve: {
13080
+ background: kittTheme.kitt.palettes.deepPurple['mauve.3'],
13081
+ font: kittTheme.kitt.palettes.deepPurple['grey.9']
13067
13082
  }
13068
13083
  };
13069
13084
  return /*#__PURE__*/jsxs(HStack, {