@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.
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +78 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +1 -3
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/shadows.d.ts +14 -2
- package/dist/definitions/themes/late-ocean/shadows.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +141 -2
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +141 -2
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +141 -2
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +141 -2
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +141 -2
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +141 -2
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +62 -1
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +62 -1
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +62 -1
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +62 -1
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +62 -1
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +62 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -3078,7 +3078,68 @@ var picker = {
|
|
|
3078
3078
|
};
|
|
3079
3079
|
|
|
3080
3080
|
var shadows = {
|
|
3081
|
-
|
|
3081
|
+
/** @deprecated: use cards.medium instead - shorthand shadow doesnt work with Native Base */
|
|
3082
|
+
medium: '0px 10px 20px rgba(41, 48, 51, 0.25)',
|
|
3083
|
+
cards: {
|
|
3084
|
+
low: {
|
|
3085
|
+
color: colors.black,
|
|
3086
|
+
offsetX: 0,
|
|
3087
|
+
offsetY: 5,
|
|
3088
|
+
opacity: 0.1,
|
|
3089
|
+
radius: 20
|
|
3090
|
+
},
|
|
3091
|
+
medium: {
|
|
3092
|
+
color: colors.black,
|
|
3093
|
+
offsetX: 0,
|
|
3094
|
+
offsetY: 10,
|
|
3095
|
+
opacity: 0.15,
|
|
3096
|
+
radius: 20
|
|
3097
|
+
},
|
|
3098
|
+
highBase: {
|
|
3099
|
+
color: colors.black,
|
|
3100
|
+
offsetX: 0,
|
|
3101
|
+
offsetY: 10,
|
|
3102
|
+
opacity: 0.15,
|
|
3103
|
+
radius: 20
|
|
3104
|
+
},
|
|
3105
|
+
highMedium: {
|
|
3106
|
+
color: colors.black,
|
|
3107
|
+
offsetX: 0,
|
|
3108
|
+
offsetY: 60,
|
|
3109
|
+
opacity: 0.08,
|
|
3110
|
+
radius: 40
|
|
3111
|
+
},
|
|
3112
|
+
highLarge: {
|
|
3113
|
+
color: colors.black,
|
|
3114
|
+
offsetX: 0,
|
|
3115
|
+
offsetY: 80,
|
|
3116
|
+
opacity: 0.08,
|
|
3117
|
+
radius: 60
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
navigation: {
|
|
3121
|
+
left: {
|
|
3122
|
+
color: colors.black,
|
|
3123
|
+
offsetX: 10,
|
|
3124
|
+
offsetY: 0,
|
|
3125
|
+
opacity: 0.15,
|
|
3126
|
+
radius: 30
|
|
3127
|
+
},
|
|
3128
|
+
right: {
|
|
3129
|
+
color: colors.black,
|
|
3130
|
+
offsetX: -10,
|
|
3131
|
+
offsetY: 0,
|
|
3132
|
+
opacity: 0.15,
|
|
3133
|
+
radius: 30
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
panel: {
|
|
3137
|
+
color: colors.black,
|
|
3138
|
+
offsetX: 0,
|
|
3139
|
+
offsetY: 20,
|
|
3140
|
+
opacity: 1,
|
|
3141
|
+
radius: 40
|
|
3142
|
+
}
|
|
3082
3143
|
};
|
|
3083
3144
|
|
|
3084
3145
|
var skeleton = {
|
|
@@ -5469,7 +5530,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
5469
5530
|
},
|
|
5470
5531
|
bodies: {
|
|
5471
5532
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
5472
|
-
// 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
|
+
// 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
|
|
5473
5534
|
bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
|
|
5474
5535
|
}
|
|
5475
5536
|
},
|
|
@@ -5479,6 +5540,84 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
5479
5540
|
},
|
|
5480
5541
|
shadows: {
|
|
5481
5542
|
kitt: {
|
|
5543
|
+
shadows: {
|
|
5544
|
+
cards: {
|
|
5545
|
+
low: {
|
|
5546
|
+
shadowColor: theme.shadows.cards.low.color,
|
|
5547
|
+
shadowOffset: {
|
|
5548
|
+
width: theme.shadows.cards.low.offsetX,
|
|
5549
|
+
height: theme.shadows.cards.low.offsetY
|
|
5550
|
+
},
|
|
5551
|
+
shadowOpacity: theme.shadows.cards.low.opacity,
|
|
5552
|
+
shadowRadius: theme.shadows.cards.low.radius
|
|
5553
|
+
},
|
|
5554
|
+
medium: {
|
|
5555
|
+
shadowColor: theme.shadows.cards.medium.color,
|
|
5556
|
+
shadowOffset: {
|
|
5557
|
+
width: theme.shadows.cards.medium.offsetX,
|
|
5558
|
+
height: theme.shadows.cards.medium.offsetY
|
|
5559
|
+
},
|
|
5560
|
+
shadowOpacity: theme.shadows.cards.medium.opacity,
|
|
5561
|
+
shadowRadius: theme.shadows.cards.medium.radius
|
|
5562
|
+
},
|
|
5563
|
+
highBase: {
|
|
5564
|
+
shadowColor: theme.shadows.cards.highBase.color,
|
|
5565
|
+
shadowOffset: {
|
|
5566
|
+
width: theme.shadows.cards.highBase.offsetX,
|
|
5567
|
+
height: theme.shadows.cards.highBase.offsetY
|
|
5568
|
+
},
|
|
5569
|
+
shadowOpacity: theme.shadows.cards.highBase.opacity,
|
|
5570
|
+
shadowRadius: theme.shadows.cards.highBase.radius
|
|
5571
|
+
},
|
|
5572
|
+
highMedium: {
|
|
5573
|
+
shadowColor: theme.shadows.cards.highMedium.color,
|
|
5574
|
+
shadowOffset: {
|
|
5575
|
+
width: theme.shadows.cards.highMedium.offsetX,
|
|
5576
|
+
height: theme.shadows.cards.highMedium.offsetY
|
|
5577
|
+
},
|
|
5578
|
+
shadowOpacity: theme.shadows.cards.highMedium.opacity,
|
|
5579
|
+
shadowRadius: theme.shadows.cards.highMedium.radius
|
|
5580
|
+
},
|
|
5581
|
+
highLarge: {
|
|
5582
|
+
shadowColor: theme.shadows.cards.highLarge.color,
|
|
5583
|
+
shadowOffset: {
|
|
5584
|
+
width: theme.shadows.cards.highLarge.offsetX,
|
|
5585
|
+
height: theme.shadows.cards.highLarge.offsetY
|
|
5586
|
+
},
|
|
5587
|
+
shadowOpacity: theme.shadows.cards.highLarge.opacity,
|
|
5588
|
+
shadowRadius: theme.shadows.cards.highLarge.radius
|
|
5589
|
+
}
|
|
5590
|
+
},
|
|
5591
|
+
navigation: {
|
|
5592
|
+
left: {
|
|
5593
|
+
shadowColor: theme.shadows.navigation.left.color,
|
|
5594
|
+
shadowOffset: {
|
|
5595
|
+
width: theme.shadows.navigation.left.offsetX,
|
|
5596
|
+
height: theme.shadows.navigation.left.offsetY
|
|
5597
|
+
},
|
|
5598
|
+
shadowOpacity: theme.shadows.navigation.left.opacity,
|
|
5599
|
+
shadowRadius: theme.shadows.navigation.left.radius
|
|
5600
|
+
},
|
|
5601
|
+
right: {
|
|
5602
|
+
shadowColor: theme.shadows.navigation.right.color,
|
|
5603
|
+
shadowOffset: {
|
|
5604
|
+
width: theme.shadows.navigation.right.offsetX,
|
|
5605
|
+
height: theme.shadows.navigation.right.offsetY
|
|
5606
|
+
},
|
|
5607
|
+
shadowOpacity: theme.shadows.navigation.right.opacity,
|
|
5608
|
+
shadowRadius: theme.shadows.navigation.right.radius
|
|
5609
|
+
}
|
|
5610
|
+
},
|
|
5611
|
+
panel: {
|
|
5612
|
+
shadowColor: theme.shadows.panel.color,
|
|
5613
|
+
shadowOffset: {
|
|
5614
|
+
width: theme.shadows.panel.offsetX,
|
|
5615
|
+
height: theme.shadows.panel.offsetY
|
|
5616
|
+
},
|
|
5617
|
+
shadowOpacity: theme.shadows.panel.opacity,
|
|
5618
|
+
shadowRadius: theme.shadows.panel.radius
|
|
5619
|
+
}
|
|
5620
|
+
},
|
|
5482
5621
|
cardModals: {
|
|
5483
5622
|
shadow: {
|
|
5484
5623
|
shadowColor: theme.cardModal.shadow.color,
|