@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.
@@ -4841,6 +4841,17 @@ function getBorderColor$2({
4841
4841
  return 'transparent';
4842
4842
  }
4843
4843
 
4844
+ const getSize = size => {
4845
+ switch (size) {
4846
+ case 'small':
4847
+ return 'kitt.2';
4848
+ case 'xsmall':
4849
+ return 2;
4850
+ default:
4851
+ return 'kitt.4';
4852
+ }
4853
+ };
4854
+
4844
4855
  function AnimatedChoiceItemView({
4845
4856
  children,
4846
4857
  size,
@@ -4868,7 +4879,7 @@ function AnimatedChoiceItemView({
4868
4879
  isHovered,
4869
4880
  isPressed
4870
4881
  }),
4871
- padding: size === 'small' ? 'kitt.2' : 'kitt.4',
4882
+ padding: getSize(size),
4872
4883
  flexGrow: shouldExpand ? 1 : undefined,
4873
4884
  flexShrink: shouldExpand ? 1 : undefined
4874
4885
  });
@@ -13646,6 +13657,10 @@ function Tag({
13646
13657
  deepPurple: {
13647
13658
  background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
13648
13659
  font: kittTheme.kitt.palettes.deepPurple['beige.1']
13660
+ },
13661
+ mauve: {
13662
+ background: kittTheme.kitt.palettes.deepPurple['mauve.3'],
13663
+ font: kittTheme.kitt.palettes.deepPurple['grey.9']
13649
13664
  }
13650
13665
  };
13651
13666
  return /*#__PURE__*/jsxs(HStack, {