@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
|
@@ -3027,7 +3027,68 @@ const picker = {
|
|
|
3027
3027
|
};
|
|
3028
3028
|
|
|
3029
3029
|
const shadows = {
|
|
3030
|
-
|
|
3030
|
+
/** @deprecated: use cards.medium instead - shorthand shadow doesnt work with Native Base */
|
|
3031
|
+
medium: '0px 10px 20px rgba(41, 48, 51, 0.25)',
|
|
3032
|
+
cards: {
|
|
3033
|
+
low: {
|
|
3034
|
+
color: colors.black,
|
|
3035
|
+
offsetX: 0,
|
|
3036
|
+
offsetY: 5,
|
|
3037
|
+
opacity: 0.1,
|
|
3038
|
+
radius: 20
|
|
3039
|
+
},
|
|
3040
|
+
medium: {
|
|
3041
|
+
color: colors.black,
|
|
3042
|
+
offsetX: 0,
|
|
3043
|
+
offsetY: 10,
|
|
3044
|
+
opacity: 0.15,
|
|
3045
|
+
radius: 20
|
|
3046
|
+
},
|
|
3047
|
+
highBase: {
|
|
3048
|
+
color: colors.black,
|
|
3049
|
+
offsetX: 0,
|
|
3050
|
+
offsetY: 10,
|
|
3051
|
+
opacity: 0.15,
|
|
3052
|
+
radius: 20
|
|
3053
|
+
},
|
|
3054
|
+
highMedium: {
|
|
3055
|
+
color: colors.black,
|
|
3056
|
+
offsetX: 0,
|
|
3057
|
+
offsetY: 60,
|
|
3058
|
+
opacity: 0.08,
|
|
3059
|
+
radius: 40
|
|
3060
|
+
},
|
|
3061
|
+
highLarge: {
|
|
3062
|
+
color: colors.black,
|
|
3063
|
+
offsetX: 0,
|
|
3064
|
+
offsetY: 80,
|
|
3065
|
+
opacity: 0.08,
|
|
3066
|
+
radius: 60
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
navigation: {
|
|
3070
|
+
left: {
|
|
3071
|
+
color: colors.black,
|
|
3072
|
+
offsetX: 10,
|
|
3073
|
+
offsetY: 0,
|
|
3074
|
+
opacity: 0.15,
|
|
3075
|
+
radius: 30
|
|
3076
|
+
},
|
|
3077
|
+
right: {
|
|
3078
|
+
color: colors.black,
|
|
3079
|
+
offsetX: -10,
|
|
3080
|
+
offsetY: 0,
|
|
3081
|
+
opacity: 0.15,
|
|
3082
|
+
radius: 30
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
panel: {
|
|
3086
|
+
color: colors.black,
|
|
3087
|
+
offsetX: 0,
|
|
3088
|
+
offsetY: 20,
|
|
3089
|
+
opacity: 1,
|
|
3090
|
+
radius: 40
|
|
3091
|
+
}
|
|
3031
3092
|
};
|
|
3032
3093
|
|
|
3033
3094
|
const skeleton = {
|
|
@@ -5468,7 +5529,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
5468
5529
|
},
|
|
5469
5530
|
bodies: {
|
|
5470
5531
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
5471
|
-
// 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
|
|
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
|
|
5472
5533
|
bold: reactNative.Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
|
|
5473
5534
|
}
|
|
5474
5535
|
},
|
|
@@ -5478,6 +5539,84 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
5478
5539
|
},
|
|
5479
5540
|
shadows: {
|
|
5480
5541
|
kitt: {
|
|
5542
|
+
shadows: {
|
|
5543
|
+
cards: {
|
|
5544
|
+
low: {
|
|
5545
|
+
shadowColor: theme.shadows.cards.low.color,
|
|
5546
|
+
shadowOffset: {
|
|
5547
|
+
width: theme.shadows.cards.low.offsetX,
|
|
5548
|
+
height: theme.shadows.cards.low.offsetY
|
|
5549
|
+
},
|
|
5550
|
+
shadowOpacity: theme.shadows.cards.low.opacity,
|
|
5551
|
+
shadowRadius: theme.shadows.cards.low.radius
|
|
5552
|
+
},
|
|
5553
|
+
medium: {
|
|
5554
|
+
shadowColor: theme.shadows.cards.medium.color,
|
|
5555
|
+
shadowOffset: {
|
|
5556
|
+
width: theme.shadows.cards.medium.offsetX,
|
|
5557
|
+
height: theme.shadows.cards.medium.offsetY
|
|
5558
|
+
},
|
|
5559
|
+
shadowOpacity: theme.shadows.cards.medium.opacity,
|
|
5560
|
+
shadowRadius: theme.shadows.cards.medium.radius
|
|
5561
|
+
},
|
|
5562
|
+
highBase: {
|
|
5563
|
+
shadowColor: theme.shadows.cards.highBase.color,
|
|
5564
|
+
shadowOffset: {
|
|
5565
|
+
width: theme.shadows.cards.highBase.offsetX,
|
|
5566
|
+
height: theme.shadows.cards.highBase.offsetY
|
|
5567
|
+
},
|
|
5568
|
+
shadowOpacity: theme.shadows.cards.highBase.opacity,
|
|
5569
|
+
shadowRadius: theme.shadows.cards.highBase.radius
|
|
5570
|
+
},
|
|
5571
|
+
highMedium: {
|
|
5572
|
+
shadowColor: theme.shadows.cards.highMedium.color,
|
|
5573
|
+
shadowOffset: {
|
|
5574
|
+
width: theme.shadows.cards.highMedium.offsetX,
|
|
5575
|
+
height: theme.shadows.cards.highMedium.offsetY
|
|
5576
|
+
},
|
|
5577
|
+
shadowOpacity: theme.shadows.cards.highMedium.opacity,
|
|
5578
|
+
shadowRadius: theme.shadows.cards.highMedium.radius
|
|
5579
|
+
},
|
|
5580
|
+
highLarge: {
|
|
5581
|
+
shadowColor: theme.shadows.cards.highLarge.color,
|
|
5582
|
+
shadowOffset: {
|
|
5583
|
+
width: theme.shadows.cards.highLarge.offsetX,
|
|
5584
|
+
height: theme.shadows.cards.highLarge.offsetY
|
|
5585
|
+
},
|
|
5586
|
+
shadowOpacity: theme.shadows.cards.highLarge.opacity,
|
|
5587
|
+
shadowRadius: theme.shadows.cards.highLarge.radius
|
|
5588
|
+
}
|
|
5589
|
+
},
|
|
5590
|
+
navigation: {
|
|
5591
|
+
left: {
|
|
5592
|
+
shadowColor: theme.shadows.navigation.left.color,
|
|
5593
|
+
shadowOffset: {
|
|
5594
|
+
width: theme.shadows.navigation.left.offsetX,
|
|
5595
|
+
height: theme.shadows.navigation.left.offsetY
|
|
5596
|
+
},
|
|
5597
|
+
shadowOpacity: theme.shadows.navigation.left.opacity,
|
|
5598
|
+
shadowRadius: theme.shadows.navigation.left.radius
|
|
5599
|
+
},
|
|
5600
|
+
right: {
|
|
5601
|
+
shadowColor: theme.shadows.navigation.right.color,
|
|
5602
|
+
shadowOffset: {
|
|
5603
|
+
width: theme.shadows.navigation.right.offsetX,
|
|
5604
|
+
height: theme.shadows.navigation.right.offsetY
|
|
5605
|
+
},
|
|
5606
|
+
shadowOpacity: theme.shadows.navigation.right.opacity,
|
|
5607
|
+
shadowRadius: theme.shadows.navigation.right.radius
|
|
5608
|
+
}
|
|
5609
|
+
},
|
|
5610
|
+
panel: {
|
|
5611
|
+
shadowColor: theme.shadows.panel.color,
|
|
5612
|
+
shadowOffset: {
|
|
5613
|
+
width: theme.shadows.panel.offsetX,
|
|
5614
|
+
height: theme.shadows.panel.offsetY
|
|
5615
|
+
},
|
|
5616
|
+
shadowOpacity: theme.shadows.panel.opacity,
|
|
5617
|
+
shadowRadius: theme.shadows.panel.radius
|
|
5618
|
+
}
|
|
5619
|
+
},
|
|
5481
5620
|
cardModals: {
|
|
5482
5621
|
shadow: {
|
|
5483
5622
|
shadowColor: theme.cardModal.shadow.color,
|