@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.
@@ -4800,6 +4800,17 @@ function getBorderColor$2(_ref) {
4800
4800
  return 'transparent';
4801
4801
  }
4802
4802
 
4803
+ var getSize = function (size) {
4804
+ switch (size) {
4805
+ case 'small':
4806
+ return 'kitt.2';
4807
+ case 'xsmall':
4808
+ return 2;
4809
+ default:
4810
+ return 'kitt.4';
4811
+ }
4812
+ };
4813
+
4803
4814
  function AnimatedChoiceItemView(_ref) {
4804
4815
  var children = _ref.children,
4805
4816
  size = _ref.size,
@@ -4826,7 +4837,7 @@ function AnimatedChoiceItemView(_ref) {
4826
4837
  isHovered: isHovered,
4827
4838
  isPressed: isPressed
4828
4839
  }),
4829
- padding: size === 'small' ? 'kitt.2' : 'kitt.4',
4840
+ padding: getSize(size),
4830
4841
  flexGrow: shouldExpand ? 1 : undefined,
4831
4842
  flexShrink: shouldExpand ? 1 : undefined,
4832
4843
  _web: {
@@ -13258,6 +13269,10 @@ function Tag(_ref) {
13258
13269
  deepPurple: {
13259
13270
  background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
13260
13271
  font: kittTheme.kitt.palettes.deepPurple['beige.1']
13272
+ },
13273
+ mauve: {
13274
+ background: kittTheme.kitt.palettes.deepPurple['mauve.3'],
13275
+ font: kittTheme.kitt.palettes.deepPurple['grey.9']
13261
13276
  }
13262
13277
  };
13263
13278
  return /*#__PURE__*/jsxs(HStack, {