@ornikar/bumper 3.6.1 → 3.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/bumper",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "directory": "@ornikar/bumper",
@@ -47,7 +47,11 @@ export const InternalIcon = IconContainer.styleable<IconProps>((props) => {
47
47
  const clonedIcon = cloneElement(flattenProps.icon, { color: style.color });
48
48
 
49
49
  return (
50
- <IconContainer size={flattenProps.size} testID={flattenProps.testID} alignSelf={flattenProps.alignSelf}>
50
+ <IconContainer
51
+ {...(flattenProps.size !== undefined ? { size: flattenProps.size } : undefined)}
52
+ testID={flattenProps.testID}
53
+ alignSelf={flattenProps.alignSelf}
54
+ >
51
55
  {clonedIcon}
52
56
  </IconContainer>
53
57
  );
@@ -351,7 +351,14 @@ exports[`Bumper/Content/Icon/Features DefaultSize 1`] = `
351
351
  }
352
352
  }
353
353
  >
354
- <View>
354
+ <View
355
+ style={
356
+ {
357
+ "height": 20,
358
+ "width": 20,
359
+ }
360
+ }
361
+ >
355
362
  <svg
356
363
  color="#101010"
357
364
  data-file-name="star.inline.svg"
@@ -188,7 +188,7 @@ exports[`Bumper/Content/Icon/Features DefaultSize 1`] = `
188
188
  class="is_VStack _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-column _alignItems-center _gap-t-space-spa94482166"
189
189
  >
190
190
  <div
191
- class="is_Icon _dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0"
191
+ class="is_Icon _dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-bumperIco1504282965 _height-t-bumperIco1504282965"
192
192
  >
193
193
  <svg
194
194
  color="var(--content--base--hi)"