@ornikar/kitt-universal 9.30.1 → 9.30.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 (32) hide show
  1. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +78 -0
  2. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  3. package/dist/definitions/themes/default.d.ts +1 -3
  4. package/dist/definitions/themes/default.d.ts.map +1 -1
  5. package/dist/definitions/themes/late-ocean/shadows.d.ts +14 -2
  6. package/dist/definitions/themes/late-ocean/shadows.d.ts.map +1 -1
  7. package/dist/index-browser-all.es.android.js +141 -2
  8. package/dist/index-browser-all.es.android.js.map +1 -1
  9. package/dist/index-browser-all.es.ios.js +141 -2
  10. package/dist/index-browser-all.es.ios.js.map +1 -1
  11. package/dist/index-browser-all.es.js +141 -2
  12. package/dist/index-browser-all.es.js.map +1 -1
  13. package/dist/index-browser-all.es.web.js +141 -2
  14. package/dist/index-browser-all.es.web.js.map +1 -1
  15. package/dist/index-node-14.17.cjs.js +141 -2
  16. package/dist/index-node-14.17.cjs.js.map +1 -1
  17. package/dist/index-node-14.17.cjs.web.js +141 -2
  18. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  19. package/dist/linaria-themes-browser-all.es.android.js +62 -1
  20. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  21. package/dist/linaria-themes-browser-all.es.ios.js +62 -1
  22. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  23. package/dist/linaria-themes-browser-all.es.js +62 -1
  24. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  25. package/dist/linaria-themes-browser-all.es.web.js +62 -1
  26. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  27. package/dist/linaria-themes-node-14.17.cjs.js +62 -1
  28. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  29. package/dist/linaria-themes-node-14.17.cjs.web.js +62 -1
  30. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  31. package/dist/tsbuildinfo +1 -1
  32. package/package.json +2 -2
@@ -3079,7 +3079,68 @@ var picker = {
3079
3079
  };
3080
3080
 
3081
3081
  var shadows = {
3082
- medium: '0px 10px 20px rgba(41, 48, 51, 0.25)'
3082
+ /** @deprecated: use cards.medium instead - shorthand shadow doesnt work with Native Base */
3083
+ medium: '0px 10px 20px rgba(41, 48, 51, 0.25)',
3084
+ cards: {
3085
+ low: {
3086
+ color: colors.black,
3087
+ offsetX: 0,
3088
+ offsetY: 5,
3089
+ opacity: 0.1,
3090
+ radius: 20
3091
+ },
3092
+ medium: {
3093
+ color: colors.black,
3094
+ offsetX: 0,
3095
+ offsetY: 10,
3096
+ opacity: 0.15,
3097
+ radius: 20
3098
+ },
3099
+ highBase: {
3100
+ color: colors.black,
3101
+ offsetX: 0,
3102
+ offsetY: 10,
3103
+ opacity: 0.15,
3104
+ radius: 20
3105
+ },
3106
+ highMedium: {
3107
+ color: colors.black,
3108
+ offsetX: 0,
3109
+ offsetY: 60,
3110
+ opacity: 0.08,
3111
+ radius: 40
3112
+ },
3113
+ highLarge: {
3114
+ color: colors.black,
3115
+ offsetX: 0,
3116
+ offsetY: 80,
3117
+ opacity: 0.08,
3118
+ radius: 60
3119
+ }
3120
+ },
3121
+ navigation: {
3122
+ left: {
3123
+ color: colors.black,
3124
+ offsetX: 10,
3125
+ offsetY: 0,
3126
+ opacity: 0.15,
3127
+ radius: 30
3128
+ },
3129
+ right: {
3130
+ color: colors.black,
3131
+ offsetX: -10,
3132
+ offsetY: 0,
3133
+ opacity: 0.15,
3134
+ radius: 30
3135
+ }
3136
+ },
3137
+ panel: {
3138
+ color: colors.black,
3139
+ offsetX: 0,
3140
+ offsetY: 20,
3141
+ opacity: 1,
3142
+ radius: 40
3143
+ }
3083
3144
  };
3084
3145
 
3085
3146
  var skeleton = {
@@ -5529,7 +5590,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5529
5590
  },
5530
5591
  bodies: {
5531
5592
  regular: theme.typography.types.bodies.fontWeight.regular,
5532
- // TODO[https://ornikar.atlassian.net/browse/CME-767] This quick fix should be replaced by a 700 in every case, and native font weights should be handled by expo-fonts
5593
+ // TODO [https://ornikar.atlassian.net/browse/CME-767] This quick fix should be replaced by a 700 in every case, and native font weights should be handled by expo-fonts
5533
5594
  bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
5534
5595
  }
5535
5596
  },
@@ -5539,6 +5600,84 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5539
5600
  },
5540
5601
  shadows: {
5541
5602
  kitt: {
5603
+ shadows: {
5604
+ cards: {
5605
+ low: {
5606
+ shadowColor: theme.shadows.cards.low.color,
5607
+ shadowOffset: {
5608
+ width: theme.shadows.cards.low.offsetX,
5609
+ height: theme.shadows.cards.low.offsetY
5610
+ },
5611
+ shadowOpacity: theme.shadows.cards.low.opacity,
5612
+ shadowRadius: theme.shadows.cards.low.radius
5613
+ },
5614
+ medium: {
5615
+ shadowColor: theme.shadows.cards.medium.color,
5616
+ shadowOffset: {
5617
+ width: theme.shadows.cards.medium.offsetX,
5618
+ height: theme.shadows.cards.medium.offsetY
5619
+ },
5620
+ shadowOpacity: theme.shadows.cards.medium.opacity,
5621
+ shadowRadius: theme.shadows.cards.medium.radius
5622
+ },
5623
+ highBase: {
5624
+ shadowColor: theme.shadows.cards.highBase.color,
5625
+ shadowOffset: {
5626
+ width: theme.shadows.cards.highBase.offsetX,
5627
+ height: theme.shadows.cards.highBase.offsetY
5628
+ },
5629
+ shadowOpacity: theme.shadows.cards.highBase.opacity,
5630
+ shadowRadius: theme.shadows.cards.highBase.radius
5631
+ },
5632
+ highMedium: {
5633
+ shadowColor: theme.shadows.cards.highMedium.color,
5634
+ shadowOffset: {
5635
+ width: theme.shadows.cards.highMedium.offsetX,
5636
+ height: theme.shadows.cards.highMedium.offsetY
5637
+ },
5638
+ shadowOpacity: theme.shadows.cards.highMedium.opacity,
5639
+ shadowRadius: theme.shadows.cards.highMedium.radius
5640
+ },
5641
+ highLarge: {
5642
+ shadowColor: theme.shadows.cards.highLarge.color,
5643
+ shadowOffset: {
5644
+ width: theme.shadows.cards.highLarge.offsetX,
5645
+ height: theme.shadows.cards.highLarge.offsetY
5646
+ },
5647
+ shadowOpacity: theme.shadows.cards.highLarge.opacity,
5648
+ shadowRadius: theme.shadows.cards.highLarge.radius
5649
+ }
5650
+ },
5651
+ navigation: {
5652
+ left: {
5653
+ shadowColor: theme.shadows.navigation.left.color,
5654
+ shadowOffset: {
5655
+ width: theme.shadows.navigation.left.offsetX,
5656
+ height: theme.shadows.navigation.left.offsetY
5657
+ },
5658
+ shadowOpacity: theme.shadows.navigation.left.opacity,
5659
+ shadowRadius: theme.shadows.navigation.left.radius
5660
+ },
5661
+ right: {
5662
+ shadowColor: theme.shadows.navigation.right.color,
5663
+ shadowOffset: {
5664
+ width: theme.shadows.navigation.right.offsetX,
5665
+ height: theme.shadows.navigation.right.offsetY
5666
+ },
5667
+ shadowOpacity: theme.shadows.navigation.right.opacity,
5668
+ shadowRadius: theme.shadows.navigation.right.radius
5669
+ }
5670
+ },
5671
+ panel: {
5672
+ shadowColor: theme.shadows.panel.color,
5673
+ shadowOffset: {
5674
+ width: theme.shadows.panel.offsetX,
5675
+ height: theme.shadows.panel.offsetY
5676
+ },
5677
+ shadowOpacity: theme.shadows.panel.opacity,
5678
+ shadowRadius: theme.shadows.panel.radius
5679
+ }
5680
+ },
5542
5681
  cardModals: {
5543
5682
  shadow: {
5544
5683
  shadowColor: theme.cardModal.shadow.color,