@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
|
@@ -2612,7 +2612,68 @@ const picker = {
|
|
|
2612
2612
|
};
|
|
2613
2613
|
|
|
2614
2614
|
const shadows = {
|
|
2615
|
-
|
|
2615
|
+
/** @deprecated: use cards.medium instead - shorthand shadow doesnt work with Native Base */
|
|
2616
|
+
medium: '0px 10px 20px rgba(41, 48, 51, 0.25)',
|
|
2617
|
+
cards: {
|
|
2618
|
+
low: {
|
|
2619
|
+
color: colors.black,
|
|
2620
|
+
offsetX: 0,
|
|
2621
|
+
offsetY: 5,
|
|
2622
|
+
opacity: 0.1,
|
|
2623
|
+
radius: 20
|
|
2624
|
+
},
|
|
2625
|
+
medium: {
|
|
2626
|
+
color: colors.black,
|
|
2627
|
+
offsetX: 0,
|
|
2628
|
+
offsetY: 10,
|
|
2629
|
+
opacity: 0.15,
|
|
2630
|
+
radius: 20
|
|
2631
|
+
},
|
|
2632
|
+
highBase: {
|
|
2633
|
+
color: colors.black,
|
|
2634
|
+
offsetX: 0,
|
|
2635
|
+
offsetY: 10,
|
|
2636
|
+
opacity: 0.15,
|
|
2637
|
+
radius: 20
|
|
2638
|
+
},
|
|
2639
|
+
highMedium: {
|
|
2640
|
+
color: colors.black,
|
|
2641
|
+
offsetX: 0,
|
|
2642
|
+
offsetY: 60,
|
|
2643
|
+
opacity: 0.08,
|
|
2644
|
+
radius: 40
|
|
2645
|
+
},
|
|
2646
|
+
highLarge: {
|
|
2647
|
+
color: colors.black,
|
|
2648
|
+
offsetX: 0,
|
|
2649
|
+
offsetY: 80,
|
|
2650
|
+
opacity: 0.08,
|
|
2651
|
+
radius: 60
|
|
2652
|
+
}
|
|
2653
|
+
},
|
|
2654
|
+
navigation: {
|
|
2655
|
+
left: {
|
|
2656
|
+
color: colors.black,
|
|
2657
|
+
offsetX: 10,
|
|
2658
|
+
offsetY: 0,
|
|
2659
|
+
opacity: 0.15,
|
|
2660
|
+
radius: 30
|
|
2661
|
+
},
|
|
2662
|
+
right: {
|
|
2663
|
+
color: colors.black,
|
|
2664
|
+
offsetX: -10,
|
|
2665
|
+
offsetY: 0,
|
|
2666
|
+
opacity: 0.15,
|
|
2667
|
+
radius: 30
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
panel: {
|
|
2671
|
+
color: colors.black,
|
|
2672
|
+
offsetX: 0,
|
|
2673
|
+
offsetY: 20,
|
|
2674
|
+
opacity: 1,
|
|
2675
|
+
radius: 40
|
|
2676
|
+
}
|
|
2616
2677
|
};
|
|
2617
2678
|
|
|
2618
2679
|
const skeleton = {
|
|
@@ -4758,7 +4819,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
4758
4819
|
},
|
|
4759
4820
|
bodies: {
|
|
4760
4821
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
4761
|
-
// 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
|
|
4822
|
+
// 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
|
|
4762
4823
|
bold: theme.typography.types.bodies.fontWeight.bold
|
|
4763
4824
|
}
|
|
4764
4825
|
},
|
|
@@ -4768,6 +4829,84 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
4768
4829
|
},
|
|
4769
4830
|
shadows: {
|
|
4770
4831
|
kitt: {
|
|
4832
|
+
shadows: {
|
|
4833
|
+
cards: {
|
|
4834
|
+
low: {
|
|
4835
|
+
shadowColor: theme.shadows.cards.low.color,
|
|
4836
|
+
shadowOffset: {
|
|
4837
|
+
width: theme.shadows.cards.low.offsetX,
|
|
4838
|
+
height: theme.shadows.cards.low.offsetY
|
|
4839
|
+
},
|
|
4840
|
+
shadowOpacity: theme.shadows.cards.low.opacity,
|
|
4841
|
+
shadowRadius: theme.shadows.cards.low.radius
|
|
4842
|
+
},
|
|
4843
|
+
medium: {
|
|
4844
|
+
shadowColor: theme.shadows.cards.medium.color,
|
|
4845
|
+
shadowOffset: {
|
|
4846
|
+
width: theme.shadows.cards.medium.offsetX,
|
|
4847
|
+
height: theme.shadows.cards.medium.offsetY
|
|
4848
|
+
},
|
|
4849
|
+
shadowOpacity: theme.shadows.cards.medium.opacity,
|
|
4850
|
+
shadowRadius: theme.shadows.cards.medium.radius
|
|
4851
|
+
},
|
|
4852
|
+
highBase: {
|
|
4853
|
+
shadowColor: theme.shadows.cards.highBase.color,
|
|
4854
|
+
shadowOffset: {
|
|
4855
|
+
width: theme.shadows.cards.highBase.offsetX,
|
|
4856
|
+
height: theme.shadows.cards.highBase.offsetY
|
|
4857
|
+
},
|
|
4858
|
+
shadowOpacity: theme.shadows.cards.highBase.opacity,
|
|
4859
|
+
shadowRadius: theme.shadows.cards.highBase.radius
|
|
4860
|
+
},
|
|
4861
|
+
highMedium: {
|
|
4862
|
+
shadowColor: theme.shadows.cards.highMedium.color,
|
|
4863
|
+
shadowOffset: {
|
|
4864
|
+
width: theme.shadows.cards.highMedium.offsetX,
|
|
4865
|
+
height: theme.shadows.cards.highMedium.offsetY
|
|
4866
|
+
},
|
|
4867
|
+
shadowOpacity: theme.shadows.cards.highMedium.opacity,
|
|
4868
|
+
shadowRadius: theme.shadows.cards.highMedium.radius
|
|
4869
|
+
},
|
|
4870
|
+
highLarge: {
|
|
4871
|
+
shadowColor: theme.shadows.cards.highLarge.color,
|
|
4872
|
+
shadowOffset: {
|
|
4873
|
+
width: theme.shadows.cards.highLarge.offsetX,
|
|
4874
|
+
height: theme.shadows.cards.highLarge.offsetY
|
|
4875
|
+
},
|
|
4876
|
+
shadowOpacity: theme.shadows.cards.highLarge.opacity,
|
|
4877
|
+
shadowRadius: theme.shadows.cards.highLarge.radius
|
|
4878
|
+
}
|
|
4879
|
+
},
|
|
4880
|
+
navigation: {
|
|
4881
|
+
left: {
|
|
4882
|
+
shadowColor: theme.shadows.navigation.left.color,
|
|
4883
|
+
shadowOffset: {
|
|
4884
|
+
width: theme.shadows.navigation.left.offsetX,
|
|
4885
|
+
height: theme.shadows.navigation.left.offsetY
|
|
4886
|
+
},
|
|
4887
|
+
shadowOpacity: theme.shadows.navigation.left.opacity,
|
|
4888
|
+
shadowRadius: theme.shadows.navigation.left.radius
|
|
4889
|
+
},
|
|
4890
|
+
right: {
|
|
4891
|
+
shadowColor: theme.shadows.navigation.right.color,
|
|
4892
|
+
shadowOffset: {
|
|
4893
|
+
width: theme.shadows.navigation.right.offsetX,
|
|
4894
|
+
height: theme.shadows.navigation.right.offsetY
|
|
4895
|
+
},
|
|
4896
|
+
shadowOpacity: theme.shadows.navigation.right.opacity,
|
|
4897
|
+
shadowRadius: theme.shadows.navigation.right.radius
|
|
4898
|
+
}
|
|
4899
|
+
},
|
|
4900
|
+
panel: {
|
|
4901
|
+
shadowColor: theme.shadows.panel.color,
|
|
4902
|
+
shadowOffset: {
|
|
4903
|
+
width: theme.shadows.panel.offsetX,
|
|
4904
|
+
height: theme.shadows.panel.offsetY
|
|
4905
|
+
},
|
|
4906
|
+
shadowOpacity: theme.shadows.panel.opacity,
|
|
4907
|
+
shadowRadius: theme.shadows.panel.radius
|
|
4908
|
+
}
|
|
4909
|
+
},
|
|
4771
4910
|
cardModals: {
|
|
4772
4911
|
shadow: {
|
|
4773
4912
|
shadowColor: theme.cardModal.shadow.color,
|