@vellira-ui/react-native 2.44.1 → 2.44.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3915,15 +3915,16 @@ const TabsIndicator = ({ children, style }) => {
3915
3915
  borderRadius: theme.tokens.radius.lg,
3916
3916
  borderWidth: 1,
3917
3917
  ...Platform.select({
3918
- web: { boxShadow: "0 1px 2px rgba(24, 21, 33, 0.06)" },
3918
+ web: { boxShadow: `${theme.tokens.shadows.sm.x}px ${theme.tokens.shadows.sm.y}px ${theme.tokens.shadows.sm.blur}px ${theme.tokens.shadows.sm.color}` },
3919
3919
  default: {
3920
- shadowColor: "#181521",
3920
+ shadowColor: theme.tokens.shadows.sm.color,
3921
3921
  shadowOffset: {
3922
- width: 0,
3923
- height: 1
3922
+ width: theme.tokens.shadows.sm.x,
3923
+ height: theme.tokens.shadows.sm.y
3924
3924
  },
3925
- shadowOpacity: .06,
3926
- shadowRadius: 2
3925
+ shadowOpacity: theme.tokens.shadows.sm.opacity,
3926
+ shadowRadius: theme.tokens.shadows.sm.blur,
3927
+ elevation: theme.tokens.shadows.sm.elevation
3927
3928
  }
3928
3929
  }),
3929
3930
  transform: [{ translateX }, { translateY }]
@@ -3941,6 +3942,7 @@ const TabsIndicator = ({ children, style }) => {
3941
3942
  size,
3942
3943
  style,
3943
3944
  theme.tokens.radius,
3945
+ theme.tokens.shadows.sm,
3944
3946
  translateX,
3945
3947
  translateY,
3946
3948
  variant,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellira-ui/react-native",
3
- "version": "2.44.1",
3
+ "version": "2.44.2",
4
4
  "description": "React Native components for Vellira Design System",
5
5
  "author": "Roman Bakurov",
6
6
  "license": "MIT",