@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
|
@@ -2645,7 +2645,68 @@ var picker = {
|
|
|
2645
2645
|
};
|
|
2646
2646
|
|
|
2647
2647
|
var shadows = {
|
|
2648
|
-
|
|
2648
|
+
/** @deprecated: use cards.medium instead - shorthand shadow doesnt work with Native Base */
|
|
2649
|
+
medium: '0px 10px 20px rgba(41, 48, 51, 0.25)',
|
|
2650
|
+
cards: {
|
|
2651
|
+
low: {
|
|
2652
|
+
color: colors.black,
|
|
2653
|
+
offsetX: 0,
|
|
2654
|
+
offsetY: 5,
|
|
2655
|
+
opacity: 0.1,
|
|
2656
|
+
radius: 20
|
|
2657
|
+
},
|
|
2658
|
+
medium: {
|
|
2659
|
+
color: colors.black,
|
|
2660
|
+
offsetX: 0,
|
|
2661
|
+
offsetY: 10,
|
|
2662
|
+
opacity: 0.15,
|
|
2663
|
+
radius: 20
|
|
2664
|
+
},
|
|
2665
|
+
highBase: {
|
|
2666
|
+
color: colors.black,
|
|
2667
|
+
offsetX: 0,
|
|
2668
|
+
offsetY: 10,
|
|
2669
|
+
opacity: 0.15,
|
|
2670
|
+
radius: 20
|
|
2671
|
+
},
|
|
2672
|
+
highMedium: {
|
|
2673
|
+
color: colors.black,
|
|
2674
|
+
offsetX: 0,
|
|
2675
|
+
offsetY: 60,
|
|
2676
|
+
opacity: 0.08,
|
|
2677
|
+
radius: 40
|
|
2678
|
+
},
|
|
2679
|
+
highLarge: {
|
|
2680
|
+
color: colors.black,
|
|
2681
|
+
offsetX: 0,
|
|
2682
|
+
offsetY: 80,
|
|
2683
|
+
opacity: 0.08,
|
|
2684
|
+
radius: 60
|
|
2685
|
+
}
|
|
2686
|
+
},
|
|
2687
|
+
navigation: {
|
|
2688
|
+
left: {
|
|
2689
|
+
color: colors.black,
|
|
2690
|
+
offsetX: 10,
|
|
2691
|
+
offsetY: 0,
|
|
2692
|
+
opacity: 0.15,
|
|
2693
|
+
radius: 30
|
|
2694
|
+
},
|
|
2695
|
+
right: {
|
|
2696
|
+
color: colors.black,
|
|
2697
|
+
offsetX: -10,
|
|
2698
|
+
offsetY: 0,
|
|
2699
|
+
opacity: 0.15,
|
|
2700
|
+
radius: 30
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
panel: {
|
|
2704
|
+
color: colors.black,
|
|
2705
|
+
offsetX: 0,
|
|
2706
|
+
offsetY: 20,
|
|
2707
|
+
opacity: 1,
|
|
2708
|
+
radius: 40
|
|
2709
|
+
}
|
|
2649
2710
|
};
|
|
2650
2711
|
|
|
2651
2712
|
var skeleton = {
|
|
@@ -4830,7 +4891,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
4830
4891
|
},
|
|
4831
4892
|
bodies: {
|
|
4832
4893
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
4833
|
-
// 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
|
|
4894
|
+
// 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
|
|
4834
4895
|
bold: theme.typography.types.bodies.fontWeight.bold
|
|
4835
4896
|
}
|
|
4836
4897
|
},
|
|
@@ -4840,6 +4901,84 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
4840
4901
|
},
|
|
4841
4902
|
shadows: {
|
|
4842
4903
|
kitt: {
|
|
4904
|
+
shadows: {
|
|
4905
|
+
cards: {
|
|
4906
|
+
low: {
|
|
4907
|
+
shadowColor: theme.shadows.cards.low.color,
|
|
4908
|
+
shadowOffset: {
|
|
4909
|
+
width: theme.shadows.cards.low.offsetX,
|
|
4910
|
+
height: theme.shadows.cards.low.offsetY
|
|
4911
|
+
},
|
|
4912
|
+
shadowOpacity: theme.shadows.cards.low.opacity,
|
|
4913
|
+
shadowRadius: theme.shadows.cards.low.radius
|
|
4914
|
+
},
|
|
4915
|
+
medium: {
|
|
4916
|
+
shadowColor: theme.shadows.cards.medium.color,
|
|
4917
|
+
shadowOffset: {
|
|
4918
|
+
width: theme.shadows.cards.medium.offsetX,
|
|
4919
|
+
height: theme.shadows.cards.medium.offsetY
|
|
4920
|
+
},
|
|
4921
|
+
shadowOpacity: theme.shadows.cards.medium.opacity,
|
|
4922
|
+
shadowRadius: theme.shadows.cards.medium.radius
|
|
4923
|
+
},
|
|
4924
|
+
highBase: {
|
|
4925
|
+
shadowColor: theme.shadows.cards.highBase.color,
|
|
4926
|
+
shadowOffset: {
|
|
4927
|
+
width: theme.shadows.cards.highBase.offsetX,
|
|
4928
|
+
height: theme.shadows.cards.highBase.offsetY
|
|
4929
|
+
},
|
|
4930
|
+
shadowOpacity: theme.shadows.cards.highBase.opacity,
|
|
4931
|
+
shadowRadius: theme.shadows.cards.highBase.radius
|
|
4932
|
+
},
|
|
4933
|
+
highMedium: {
|
|
4934
|
+
shadowColor: theme.shadows.cards.highMedium.color,
|
|
4935
|
+
shadowOffset: {
|
|
4936
|
+
width: theme.shadows.cards.highMedium.offsetX,
|
|
4937
|
+
height: theme.shadows.cards.highMedium.offsetY
|
|
4938
|
+
},
|
|
4939
|
+
shadowOpacity: theme.shadows.cards.highMedium.opacity,
|
|
4940
|
+
shadowRadius: theme.shadows.cards.highMedium.radius
|
|
4941
|
+
},
|
|
4942
|
+
highLarge: {
|
|
4943
|
+
shadowColor: theme.shadows.cards.highLarge.color,
|
|
4944
|
+
shadowOffset: {
|
|
4945
|
+
width: theme.shadows.cards.highLarge.offsetX,
|
|
4946
|
+
height: theme.shadows.cards.highLarge.offsetY
|
|
4947
|
+
},
|
|
4948
|
+
shadowOpacity: theme.shadows.cards.highLarge.opacity,
|
|
4949
|
+
shadowRadius: theme.shadows.cards.highLarge.radius
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
navigation: {
|
|
4953
|
+
left: {
|
|
4954
|
+
shadowColor: theme.shadows.navigation.left.color,
|
|
4955
|
+
shadowOffset: {
|
|
4956
|
+
width: theme.shadows.navigation.left.offsetX,
|
|
4957
|
+
height: theme.shadows.navigation.left.offsetY
|
|
4958
|
+
},
|
|
4959
|
+
shadowOpacity: theme.shadows.navigation.left.opacity,
|
|
4960
|
+
shadowRadius: theme.shadows.navigation.left.radius
|
|
4961
|
+
},
|
|
4962
|
+
right: {
|
|
4963
|
+
shadowColor: theme.shadows.navigation.right.color,
|
|
4964
|
+
shadowOffset: {
|
|
4965
|
+
width: theme.shadows.navigation.right.offsetX,
|
|
4966
|
+
height: theme.shadows.navigation.right.offsetY
|
|
4967
|
+
},
|
|
4968
|
+
shadowOpacity: theme.shadows.navigation.right.opacity,
|
|
4969
|
+
shadowRadius: theme.shadows.navigation.right.radius
|
|
4970
|
+
}
|
|
4971
|
+
},
|
|
4972
|
+
panel: {
|
|
4973
|
+
shadowColor: theme.shadows.panel.color,
|
|
4974
|
+
shadowOffset: {
|
|
4975
|
+
width: theme.shadows.panel.offsetX,
|
|
4976
|
+
height: theme.shadows.panel.offsetY
|
|
4977
|
+
},
|
|
4978
|
+
shadowOpacity: theme.shadows.panel.opacity,
|
|
4979
|
+
shadowRadius: theme.shadows.panel.radius
|
|
4980
|
+
}
|
|
4981
|
+
},
|
|
4843
4982
|
cardModals: {
|
|
4844
4983
|
shadow: {
|
|
4845
4984
|
shadowColor: theme.cardModal.shadow.color,
|