@ornikar/kitt-universal 19.0.2 → 20.0.0
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/CHANGELOG.md +21 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +84 -4
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +24 -2
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +27 -3
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +14 -4
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/utils/getTypographyFamily.d.ts +1 -1
- package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
- package/dist/index-node-18.18.cjs.js +239 -113
- package/dist/index-node-18.18.cjs.js.map +1 -1
- package/dist/index-node-18.18.cjs.web.js +218 -92
- package/dist/index-node-18.18.cjs.web.js.map +1 -1
- package/dist/index-node-18.18.es.mjs +239 -113
- package/dist/index-node-18.18.es.mjs.map +1 -1
- package/dist/index-node-18.18.es.web.mjs +218 -92
- package/dist/index-node-18.18.es.web.mjs.map +1 -1
- package/dist/index.es.android.js +241 -115
- package/dist/index.es.android.js.map +1 -1
- package/dist/index.es.ios.js +241 -115
- package/dist/index.es.ios.js.map +1 -1
- package/dist/index.es.js +241 -115
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +220 -94
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-node-18.18.cjs.js +64 -26
- package/dist/linaria-themes-node-18.18.cjs.js.map +1 -1
- package/dist/linaria-themes-node-18.18.cjs.web.js +64 -26
- package/dist/linaria-themes-node-18.18.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-18.18.es.mjs +64 -26
- package/dist/linaria-themes-node-18.18.es.mjs.map +1 -1
- package/dist/linaria-themes-node-18.18.es.web.mjs +64 -26
- package/dist/linaria-themes-node-18.18.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.android.js +64 -26
- package/dist/linaria-themes.es.android.js.map +1 -1
- package/dist/linaria-themes.es.ios.js +64 -26
- package/dist/linaria-themes.es.ios.js.map +1 -1
- package/dist/linaria-themes.es.js +64 -26
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +64 -26
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -819,7 +819,8 @@ const datePicker = {
|
|
|
819
819
|
};
|
|
820
820
|
|
|
821
821
|
const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
|
|
822
|
-
|
|
822
|
+
/** @deprecated legacy typography type config is deprecated. */
|
|
823
|
+
const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
|
|
823
824
|
baseAndSmall: {
|
|
824
825
|
fontSize: baseAndSmallFontSize,
|
|
825
826
|
lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
|
|
@@ -829,6 +830,16 @@ const createTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSma
|
|
|
829
830
|
lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
|
|
830
831
|
}
|
|
831
832
|
});
|
|
833
|
+
const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
|
|
834
|
+
const config = {
|
|
835
|
+
fontSize,
|
|
836
|
+
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
837
|
+
};
|
|
838
|
+
return {
|
|
839
|
+
baseAndSmall: config,
|
|
840
|
+
mediumAndWide: config
|
|
841
|
+
};
|
|
842
|
+
};
|
|
832
843
|
const typography = {
|
|
833
844
|
colors: {
|
|
834
845
|
black: colors.black,
|
|
@@ -845,7 +856,10 @@ const typography = {
|
|
|
845
856
|
warning: colors.warning
|
|
846
857
|
},
|
|
847
858
|
types: {
|
|
848
|
-
|
|
859
|
+
get header() {
|
|
860
|
+
throw new Error('typography.types.header is deprecated, use typography.type.headings instead');
|
|
861
|
+
},
|
|
862
|
+
headings: {
|
|
849
863
|
fontFamily: {
|
|
850
864
|
native: {
|
|
851
865
|
regular: 'Moderat-Black',
|
|
@@ -862,19 +876,26 @@ const typography = {
|
|
|
862
876
|
},
|
|
863
877
|
fontStyle: 'normal',
|
|
864
878
|
configs: {
|
|
865
|
-
|
|
866
|
-
header1:
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
879
|
+
/* legacy */
|
|
880
|
+
header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
|
|
881
|
+
header2: createLegacyTypographyTypeConfig(1.2, 32, 48, 1.1),
|
|
882
|
+
header3: createLegacyTypographyTypeConfig(1.2, 24, 40, 1.1),
|
|
883
|
+
header4: createLegacyTypographyTypeConfig(1.3, 18, 24, 1.2),
|
|
884
|
+
header5: createLegacyTypographyTypeConfig(1.3, 18, 18),
|
|
885
|
+
/* latest */
|
|
886
|
+
'heading-xxl': createTypographyConfig(56, 1.1),
|
|
887
|
+
'heading-xl': createTypographyConfig(48, 1.1),
|
|
888
|
+
'heading-l': createTypographyConfig(40, 1.1),
|
|
889
|
+
'heading-m': createTypographyConfig(32, 1.2),
|
|
890
|
+
'heading-s': createTypographyConfig(24, 1.2),
|
|
891
|
+
'heading-xs': createTypographyConfig(18, 1.3),
|
|
892
|
+
'heading-xxs': createTypographyConfig(16, 1.3)
|
|
875
893
|
}
|
|
876
894
|
},
|
|
877
|
-
'headers-impact'
|
|
895
|
+
get 'headers-impact'() {
|
|
896
|
+
throw new Error('typography.types.headers-impact is deprecated, use typography.type.headings-impact instead');
|
|
897
|
+
},
|
|
898
|
+
'headings-impact': {
|
|
878
899
|
fontFamily: {
|
|
879
900
|
native: {
|
|
880
901
|
regular: 'Transducer-Black',
|
|
@@ -888,14 +909,24 @@ const typography = {
|
|
|
888
909
|
fontWeight: 900,
|
|
889
910
|
fontStyle: 'normal',
|
|
890
911
|
configs: {
|
|
891
|
-
|
|
892
|
-
'header-impact-
|
|
893
|
-
'header-impact-
|
|
894
|
-
'header-impact-
|
|
895
|
-
'header-impact-
|
|
896
|
-
'header-impact-
|
|
897
|
-
'header-impact-
|
|
898
|
-
'header-impact-
|
|
912
|
+
/* legacy */
|
|
913
|
+
'header-impact-xxl': createLegacyTypographyTypeConfig(1.2, 56, 56),
|
|
914
|
+
'header-impact-xl': createLegacyTypographyTypeConfig(1.2, 48, 48),
|
|
915
|
+
'header-impact-l': createLegacyTypographyTypeConfig(1.2, 40, 40),
|
|
916
|
+
'header-impact-m': createLegacyTypographyTypeConfig(1.2, 32, 32),
|
|
917
|
+
'header-impact-s': createLegacyTypographyTypeConfig(1.2, 24, 24),
|
|
918
|
+
'header-impact-xs': createLegacyTypographyTypeConfig(1.2, 18, 18),
|
|
919
|
+
'header-impact-xxs': createLegacyTypographyTypeConfig(1.2, 16, 16),
|
|
920
|
+
'header-impact-xxxs': createLegacyTypographyTypeConfig(1.2, 14, 14),
|
|
921
|
+
/* latest */
|
|
922
|
+
'heading-impact-xxl': createTypographyConfig(56, 1.2),
|
|
923
|
+
'heading-impact-xl': createTypographyConfig(48, 1.2),
|
|
924
|
+
'heading-impact-l': createTypographyConfig(40, 1.2),
|
|
925
|
+
'heading-impact-m': createTypographyConfig(32, 1.2),
|
|
926
|
+
'heading-impact-s': createTypographyConfig(24, 1.2),
|
|
927
|
+
'heading-impact-xs': createTypographyConfig(18, 1.2),
|
|
928
|
+
'heading-impact-xxs': createTypographyConfig(16, 1.2),
|
|
929
|
+
'heading-impact-xxxs': createTypographyConfig(14, 1.2)
|
|
899
930
|
}
|
|
900
931
|
},
|
|
901
932
|
bodies: {
|
|
@@ -918,11 +949,18 @@ const typography = {
|
|
|
918
949
|
bold: 'normal'
|
|
919
950
|
},
|
|
920
951
|
configs: {
|
|
921
|
-
|
|
922
|
-
'body-
|
|
923
|
-
body:
|
|
924
|
-
|
|
925
|
-
'body-
|
|
952
|
+
/* legacy */
|
|
953
|
+
'body-large': createLegacyTypographyTypeConfig(1.4, 18, 24),
|
|
954
|
+
'body-medium': createLegacyTypographyTypeConfig(1.4, 18, 18),
|
|
955
|
+
body: createLegacyTypographyTypeConfig(1.4, 16, 16),
|
|
956
|
+
'body-small': createLegacyTypographyTypeConfig(1.4, 14, 14),
|
|
957
|
+
'body-xsmall': createLegacyTypographyTypeConfig(1.4, 12, 12),
|
|
958
|
+
/* latest */
|
|
959
|
+
'body-xl': createTypographyConfig(24, 1.4),
|
|
960
|
+
'body-l': createTypographyConfig(18, 1.4),
|
|
961
|
+
'body-m': createTypographyConfig(16, 1.4),
|
|
962
|
+
'body-s': createTypographyConfig(14, 1.4),
|
|
963
|
+
'body-xs': createTypographyConfig(12, 1.4)
|
|
926
964
|
}
|
|
927
965
|
}
|
|
928
966
|
},
|
|
@@ -1833,11 +1871,11 @@ function getTypographyColorValue(colorName) {
|
|
|
1833
1871
|
return colorName;
|
|
1834
1872
|
}
|
|
1835
1873
|
|
|
1836
|
-
const
|
|
1837
|
-
const
|
|
1874
|
+
const isTypeHeadings = type => type.startsWith('header') || type.startsWith('heading');
|
|
1875
|
+
const isTypeHeadingsImpact = type => type.startsWith('heading-impact') || type.startsWith('header-impact');
|
|
1838
1876
|
const getTypographyFamily = type => {
|
|
1839
|
-
if (
|
|
1840
|
-
if (
|
|
1877
|
+
if (isTypeHeadingsImpact(type)) return 'headings-impact';
|
|
1878
|
+
if (isTypeHeadings(type)) return 'headings';
|
|
1841
1879
|
return 'bodies';
|
|
1842
1880
|
};
|
|
1843
1881
|
const getTypographyFamilyWithAncestorValue = (type, typographyFamilyInContext) => {
|
|
@@ -1903,8 +1941,8 @@ function Typography({
|
|
|
1903
1941
|
const baseOrDefaultToBody = hasTypographyAncestor ? type.base : type.base ?? 'body';
|
|
1904
1942
|
const typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
|
|
1905
1943
|
|
|
1906
|
-
// force bold for
|
|
1907
|
-
const nonNullableVariant = variant ?? (typographyFamily === '
|
|
1944
|
+
// force bold for headings, default to regular for bodies
|
|
1945
|
+
const nonNullableVariant = variant ?? (typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular');
|
|
1908
1946
|
const fontSizeForNativeBase = createNativeBaseFontSize({
|
|
1909
1947
|
...type,
|
|
1910
1948
|
base: baseOrDefaultToBody
|
|
@@ -2283,7 +2321,7 @@ const useNativeAnimation$3 = ({
|
|
|
2283
2321
|
};
|
|
2284
2322
|
_f.asString = "function _f(){const{interpolateColor,color,backgroundColor,pressedBackgroundColor,withSpring,pressed,scale}=jsThis._closure;{return{backgroundColor:interpolateColor(color.value,[0,1],[backgroundColor,pressedBackgroundColor]),transform:[{scale:withSpring(pressed.value?scale.base.active:scale.base.default)}]};}}";
|
|
2285
2323
|
_f.__workletHash = 5368461229978;
|
|
2286
|
-
_f.__location = "/
|
|
2324
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Button/hooks/useNativeAnimation.ts (31:42)";
|
|
2287
2325
|
_f.__optimalization = 2;
|
|
2288
2326
|
return _f;
|
|
2289
2327
|
}());
|
|
@@ -2868,7 +2906,7 @@ function NativeOpacityAnimation$2({
|
|
|
2868
2906
|
};
|
|
2869
2907
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
2870
2908
|
_f.__workletHash = 14707844242190;
|
|
2871
|
-
_f.__location = "/
|
|
2909
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx (32:96)";
|
|
2872
2910
|
return _f;
|
|
2873
2911
|
}())
|
|
2874
2912
|
};
|
|
@@ -2893,7 +2931,7 @@ function NativeOpacityAnimation$2({
|
|
|
2893
2931
|
};
|
|
2894
2932
|
_f.asString = "function _f(){const{theme,withTiming,visible,Easing,runOnJS,handleAnimationFinished}=jsThis._closure;{const{duration:duration,easing:easing}=theme.kitt.cardModal.animation.overlay;const[x1,y1,x2,y2]=easing;return{opacity:withTiming(visible?1:0,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)},function(isFinished){if(!isFinished)return;runOnJS(handleAnimationFinished)();})};}}";
|
|
2895
2933
|
_f.__workletHash = 14370179131905;
|
|
2896
|
-
_f.__location = "/
|
|
2934
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx (27:40)";
|
|
2897
2935
|
return _f;
|
|
2898
2936
|
}());
|
|
2899
2937
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -2939,7 +2977,7 @@ function NativeRotationAnimation$1({
|
|
|
2939
2977
|
};
|
|
2940
2978
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
2941
2979
|
_f.__workletHash = 14707844242190;
|
|
2942
|
-
_f.__location = "/
|
|
2980
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx (41:102)";
|
|
2943
2981
|
return _f;
|
|
2944
2982
|
}());
|
|
2945
2983
|
return {
|
|
@@ -2978,7 +3016,7 @@ function NativeRotationAnimation$1({
|
|
|
2978
3016
|
};
|
|
2979
3017
|
_f.asString = "function _f(){const{theme,rotation,withTiming,visible,Easing,runOnJS,handleAnimationFinished}=jsThis._closure;{const{duration:duration,easing:easing}=theme.kitt.cardModal.animation.content;const[x1,y1,x2,y2]=easing;rotation.value=withTiming(visible?0:5,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)},function(isFinished){if(!isFinished)return;runOnJS(handleAnimationFinished)();});return{opacity:withTiming(visible?1:0,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)}),transform:[{scale:withTiming(visible?1:0.8,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)})},{rotateZ:rotation.value+\"deg\"}]};}}";
|
|
2980
3018
|
_f.__workletHash = 14560674497944;
|
|
2981
|
-
_f.__location = "/
|
|
3019
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx (36:41)";
|
|
2982
3020
|
return _f;
|
|
2983
3021
|
}());
|
|
2984
3022
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -3295,7 +3333,7 @@ const useNativeAnimation$2 = ({
|
|
|
3295
3333
|
};
|
|
3296
3334
|
_f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
|
|
3297
3335
|
_f.__workletHash = 1120030177160;
|
|
3298
|
-
_f.__location = "/
|
|
3336
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (31:35)";
|
|
3299
3337
|
return _f;
|
|
3300
3338
|
}());
|
|
3301
3339
|
const backgroundStyles = useAnimatedStyle(function () {
|
|
@@ -3333,7 +3371,7 @@ const useNativeAnimation$2 = ({
|
|
|
3333
3371
|
};
|
|
3334
3372
|
_f.asString = "function _f(){const{theme,disabled,selected,interpolateColor,progress}=jsThis._closure;{const{default:defaultBg,pressed:pressedBg,selected:selectedBg,disabled:disabledBg}=theme.kitt.choices.item.backgroundColor;if(disabled)return{backgroundColor:disabledBg};if(selected)return{backgroundColor:selectedBg};return{backgroundColor:interpolateColor(progress.value,[0,1],[defaultBg,pressedBg])};}}";
|
|
3335
3373
|
_f.__workletHash = 15506726129309;
|
|
3336
|
-
_f.__location = "/
|
|
3374
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (35:44)";
|
|
3337
3375
|
return _f;
|
|
3338
3376
|
}());
|
|
3339
3377
|
return {
|
|
@@ -3568,7 +3606,7 @@ function NativeOpacityAnimation$1({
|
|
|
3568
3606
|
};
|
|
3569
3607
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
3570
3608
|
_f.__workletHash = 14707844242190;
|
|
3571
|
-
_f.__location = "/
|
|
3609
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx (32:96)";
|
|
3572
3610
|
return _f;
|
|
3573
3611
|
}())
|
|
3574
3612
|
};
|
|
@@ -3593,7 +3631,7 @@ function NativeOpacityAnimation$1({
|
|
|
3593
3631
|
};
|
|
3594
3632
|
_f.asString = "function _f(){const{theme,withTiming,visible,Easing,runOnJS,handleAnimationFinished}=jsThis._closure;{const{duration:duration,easing:easing}=theme.kitt.dialogModal.animation.overlay;const[x1,y1,x2,y2]=easing;return{opacity:withTiming(visible?1:0,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)},function(isFinished){if(!isFinished)return;runOnJS(handleAnimationFinished)();})};}}";
|
|
3595
3633
|
_f.__workletHash = 3254948230845;
|
|
3596
|
-
_f.__location = "/
|
|
3634
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx (27:40)";
|
|
3597
3635
|
return _f;
|
|
3598
3636
|
}());
|
|
3599
3637
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -3639,7 +3677,7 @@ function NativeRotationAnimation({
|
|
|
3639
3677
|
};
|
|
3640
3678
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
3641
3679
|
_f.__workletHash = 14707844242190;
|
|
3642
|
-
_f.__location = "/
|
|
3680
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx (41:102)";
|
|
3643
3681
|
return _f;
|
|
3644
3682
|
}());
|
|
3645
3683
|
return {
|
|
@@ -3678,7 +3716,7 @@ function NativeRotationAnimation({
|
|
|
3678
3716
|
};
|
|
3679
3717
|
_f.asString = "function _f(){const{theme,rotation,withTiming,visible,Easing,runOnJS,handleAnimationFinished}=jsThis._closure;{const{duration:duration,easing:easing}=theme.kitt.dialogModal.animation.content;const[x1,y1,x2,y2]=easing;rotation.value=withTiming(visible?0:5,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)},function(isFinished){if(!isFinished)return;runOnJS(handleAnimationFinished)();});return{opacity:withTiming(visible?1:0,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)}),transform:[{scale:withTiming(visible?1:0.8,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)})},{rotateZ:rotation.value+\"deg\"}]};}}";
|
|
3680
3718
|
_f.__workletHash = 14448961480868;
|
|
3681
|
-
_f.__location = "/
|
|
3719
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx (36:41)";
|
|
3682
3720
|
return _f;
|
|
3683
3721
|
}());
|
|
3684
3722
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -6106,7 +6144,7 @@ const useNativeAnimation$1 = ({
|
|
|
6106
6144
|
};
|
|
6107
6145
|
_f.asString = "function _f(){const{isDisabled,theme,isSelected,pressedBackgroundColor,pressedBorderColor,interpolateColor,color,backgroundColor,borderColor}=jsThis._closure;{if(isDisabled){return{backgroundColor:theme.kitt.forms.radioButtonGroup.item.backgroundColor.disabled,borderColor:theme.kitt.forms.radioButtonGroup.item.borderColor.disabled};}if(isSelected){return{backgroundColor:pressedBackgroundColor,borderColor:pressedBorderColor};}return{backgroundColor:interpolateColor(color.value,[0,1],[backgroundColor,pressedBackgroundColor]),borderColor:interpolateColor(color.value,[0,1],[borderColor,pressedBorderColor])};}}";
|
|
6108
6146
|
_f.__workletHash = 1728775972872;
|
|
6109
|
-
_f.__location = "/
|
|
6147
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/forms/RadioButtonGroup/hooks/useNativeAnimation.ts (31:42)";
|
|
6110
6148
|
return _f;
|
|
6111
6149
|
}());
|
|
6112
6150
|
return {
|
|
@@ -6366,7 +6404,7 @@ function NativeOpacityAnimation({
|
|
|
6366
6404
|
};
|
|
6367
6405
|
_f.asString = "function _f(){const{theme,withTiming,visible,Easing}=jsThis._closure;{const{duration:duration,easing:easing}=theme.kitt.fullscreenModal.animation.overlay;const[x1,y1,x2,y2]=easing;return{opacity:withTiming(visible?1:0,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)})};}}";
|
|
6368
6406
|
_f.__workletHash = 7884472191878;
|
|
6369
|
-
_f.__location = "/
|
|
6407
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeOpacityAnimation.tsx (14:40)";
|
|
6370
6408
|
_f.__optimalization = 2;
|
|
6371
6409
|
return _f;
|
|
6372
6410
|
}());
|
|
@@ -6419,7 +6457,7 @@ function NativeSlideInAnimation({
|
|
|
6419
6457
|
};
|
|
6420
6458
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
6421
6459
|
_f.__workletHash = 14707844242190;
|
|
6422
|
-
_f.__location = "/
|
|
6460
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeSlideInAnimation.tsx (45:12)";
|
|
6423
6461
|
return _f;
|
|
6424
6462
|
}())
|
|
6425
6463
|
}]
|
|
@@ -6446,7 +6484,7 @@ function NativeSlideInAnimation({
|
|
|
6446
6484
|
};
|
|
6447
6485
|
_f.asString = "function _f(){const{theme,withTiming,visible,wHeight,Easing,runOnJS,handleAnimationFinished}=jsThis._closure;{const{duration:duration,easing:easing}=theme.kitt.fullscreenModal.animation.content;const[x1,y1,x2,y2]=easing;return{transform:[{translateY:withTiming(visible?0:wHeight,{duration:duration,easing:Easing.bezier(x1,y1,x2,y2)},function(isFinished){if(!isFinished)return;runOnJS(handleAnimationFinished)();})}]};}}";
|
|
6448
6486
|
_f.__workletHash = 16793352522068;
|
|
6449
|
-
_f.__location = "/
|
|
6487
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeSlideInAnimation.tsx (35:42)";
|
|
6450
6488
|
return _f;
|
|
6451
6489
|
}());
|
|
6452
6490
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -6770,7 +6808,7 @@ function useNativeAnimation({
|
|
|
6770
6808
|
};
|
|
6771
6809
|
_f.asString = "function _f(){const{withSpring,pressed}=jsThis._closure;{return{opacity:withSpring(pressed.value?1:0)};}}";
|
|
6772
6810
|
_f.__workletHash = 10645190329247;
|
|
6773
|
-
_f.__location = "/
|
|
6811
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/IconButton/hooks/useNativeAnimation.ts (24:41)";
|
|
6774
6812
|
_f.__optimalization = 2;
|
|
6775
6813
|
return _f;
|
|
6776
6814
|
}());
|
|
@@ -6800,7 +6838,7 @@ function useNativeAnimation({
|
|
|
6800
6838
|
};
|
|
6801
6839
|
_f.asString = "function _f(){const{withSpring,pressed,theme}=jsThis._closure;{return{transform:[{scale:withSpring(pressed.value?theme.kitt.iconButton.scale.base.active:theme.kitt.iconButton.scale.base.default)}]};}}";
|
|
6802
6840
|
_f.__workletHash = 13861998831411;
|
|
6803
|
-
_f.__location = "/
|
|
6841
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/IconButton/hooks/useNativeAnimation.ts (30:39)";
|
|
6804
6842
|
_f.__optimalization = 2;
|
|
6805
6843
|
return _f;
|
|
6806
6844
|
}());
|
|
@@ -8290,96 +8328,184 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8290
8328
|
},
|
|
8291
8329
|
fontSizes: {
|
|
8292
8330
|
baseAndSmall: {
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8331
|
+
/* legacy */
|
|
8332
|
+
header1: `${theme.typography.types.headings.configs.header1.baseAndSmall.fontSize}px`,
|
|
8333
|
+
header2: `${theme.typography.types.headings.configs.header2.baseAndSmall.fontSize}px`,
|
|
8334
|
+
header3: `${theme.typography.types.headings.configs.header3.baseAndSmall.fontSize}px`,
|
|
8335
|
+
header4: `${theme.typography.types.headings.configs.header4.baseAndSmall.fontSize}px`,
|
|
8336
|
+
header5: `${theme.typography.types.headings.configs.header5.baseAndSmall.fontSize}px`,
|
|
8298
8337
|
'body-large': `${theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize}px`,
|
|
8299
8338
|
'body-medium': `${theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize}px`,
|
|
8300
8339
|
body: `${theme.typography.types.bodies.configs.body.baseAndSmall.fontSize}px`,
|
|
8301
8340
|
'body-small': `${theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize}px`,
|
|
8302
8341
|
'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize}px`,
|
|
8303
|
-
'header-impact-xxl': `${theme.typography.types['
|
|
8304
|
-
'header-impact-xl': `${theme.typography.types['
|
|
8305
|
-
'header-impact-l': `${theme.typography.types['
|
|
8306
|
-
'header-impact-m': `${theme.typography.types['
|
|
8307
|
-
'header-impact-s': `${theme.typography.types['
|
|
8308
|
-
'header-impact-xs': `${theme.typography.types['
|
|
8309
|
-
'header-impact-xxs': `${theme.typography.types['
|
|
8310
|
-
'header-impact-xxxs': `${theme.typography.types['
|
|
8342
|
+
'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.fontSize}px`,
|
|
8343
|
+
'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.fontSize}px`,
|
|
8344
|
+
'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.fontSize}px`,
|
|
8345
|
+
'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.fontSize}px`,
|
|
8346
|
+
'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.fontSize}px`,
|
|
8347
|
+
'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.fontSize}px`,
|
|
8348
|
+
'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.fontSize}px`,
|
|
8349
|
+
'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.fontSize}px`,
|
|
8350
|
+
/* latest */
|
|
8351
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize}px`,
|
|
8352
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize}px`,
|
|
8353
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize}px`,
|
|
8354
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize}px`,
|
|
8355
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize}px`,
|
|
8356
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize}px`,
|
|
8357
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize}px`,
|
|
8358
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize}px`,
|
|
8359
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize}px`,
|
|
8360
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize}px`,
|
|
8361
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize}px`,
|
|
8362
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize}px`,
|
|
8363
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize}px`,
|
|
8364
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize}px`,
|
|
8365
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize}px`,
|
|
8366
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize}px`,
|
|
8367
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize}px`,
|
|
8368
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize}px`,
|
|
8369
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize}px`,
|
|
8370
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize}px`
|
|
8311
8371
|
},
|
|
8312
8372
|
mediumAndWide: {
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8373
|
+
/* legacy */
|
|
8374
|
+
header1: `${theme.typography.types.headings.configs.header1.mediumAndWide.fontSize}px`,
|
|
8375
|
+
header2: `${theme.typography.types.headings.configs.header2.mediumAndWide.fontSize}px`,
|
|
8376
|
+
header3: `${theme.typography.types.headings.configs.header3.mediumAndWide.fontSize}px`,
|
|
8377
|
+
header4: `${theme.typography.types.headings.configs.header4.mediumAndWide.fontSize}px`,
|
|
8378
|
+
header5: `${theme.typography.types.headings.configs.header5.mediumAndWide.fontSize}px`,
|
|
8318
8379
|
'body-large': `${theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize}px`,
|
|
8319
8380
|
'body-medium': `${theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize}px`,
|
|
8320
8381
|
body: `${theme.typography.types.bodies.configs.body.mediumAndWide.fontSize}px`,
|
|
8321
8382
|
'body-small': `${theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize}px`,
|
|
8322
8383
|
'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize}px`,
|
|
8323
|
-
'header-impact-xxl': `${theme.typography.types['
|
|
8324
|
-
'header-impact-xl': `${theme.typography.types['
|
|
8325
|
-
'header-impact-l': `${theme.typography.types['
|
|
8326
|
-
'header-impact-m': `${theme.typography.types['
|
|
8327
|
-
'header-impact-s': `${theme.typography.types['
|
|
8328
|
-
'header-impact-xs': `${theme.typography.types['
|
|
8329
|
-
'header-impact-xxs': `${theme.typography.types['
|
|
8330
|
-
'header-impact-xxxs': `${theme.typography.types['
|
|
8384
|
+
'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize}px`,
|
|
8385
|
+
'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize}px`,
|
|
8386
|
+
'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize}px`,
|
|
8387
|
+
'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize}px`,
|
|
8388
|
+
'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize}px`,
|
|
8389
|
+
'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize}px`,
|
|
8390
|
+
'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize}px`,
|
|
8391
|
+
'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize}px`,
|
|
8392
|
+
/* latest */
|
|
8393
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize}px`,
|
|
8394
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize}px`,
|
|
8395
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize}px`,
|
|
8396
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize}px`,
|
|
8397
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize}px`,
|
|
8398
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize}px`,
|
|
8399
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize}px`,
|
|
8400
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize}px`,
|
|
8401
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize}px`,
|
|
8402
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize}px`,
|
|
8403
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize}px`,
|
|
8404
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize}px`,
|
|
8405
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize}px`,
|
|
8406
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize}px`,
|
|
8407
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize}px`,
|
|
8408
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize}px`,
|
|
8409
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize}px`,
|
|
8410
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize}px`,
|
|
8411
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize}px`,
|
|
8412
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize}px`
|
|
8331
8413
|
}
|
|
8332
8414
|
},
|
|
8333
8415
|
lineHeights: {
|
|
8334
8416
|
baseAndSmall: {
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8417
|
+
/* legacy */
|
|
8418
|
+
header1: theme.typography.types.headings.configs.header1.baseAndSmall.lineHeight,
|
|
8419
|
+
header2: theme.typography.types.headings.configs.header2.baseAndSmall.lineHeight,
|
|
8420
|
+
header3: theme.typography.types.headings.configs.header3.baseAndSmall.lineHeight,
|
|
8421
|
+
header4: theme.typography.types.headings.configs.header4.baseAndSmall.lineHeight,
|
|
8422
|
+
header5: theme.typography.types.headings.configs.header5.baseAndSmall.lineHeight,
|
|
8340
8423
|
'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
|
|
8341
8424
|
'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
|
|
8342
8425
|
body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
|
|
8343
8426
|
'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
|
|
8344
8427
|
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight,
|
|
8345
|
-
'header-impact-xxl': theme.typography.types['
|
|
8346
|
-
'header-impact-xl': theme.typography.types['
|
|
8347
|
-
'header-impact-l': theme.typography.types['
|
|
8348
|
-
'header-impact-m': theme.typography.types['
|
|
8349
|
-
'header-impact-s': theme.typography.types['
|
|
8350
|
-
'header-impact-xs': theme.typography.types['
|
|
8351
|
-
'header-impact-xxs': theme.typography.types['
|
|
8352
|
-
'header-impact-xxxs': theme.typography.types['
|
|
8428
|
+
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.lineHeight,
|
|
8429
|
+
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.lineHeight,
|
|
8430
|
+
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.lineHeight,
|
|
8431
|
+
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.lineHeight,
|
|
8432
|
+
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.lineHeight,
|
|
8433
|
+
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.lineHeight,
|
|
8434
|
+
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.lineHeight,
|
|
8435
|
+
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.lineHeight,
|
|
8436
|
+
/* latest */
|
|
8437
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight}px`,
|
|
8438
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight}px`,
|
|
8439
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight}px`,
|
|
8440
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight}px`,
|
|
8441
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight}px`,
|
|
8442
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight}px`,
|
|
8443
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight}px`,
|
|
8444
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight}px`,
|
|
8445
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight}px`,
|
|
8446
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight}px`,
|
|
8447
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight}px`,
|
|
8448
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight}px`,
|
|
8449
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight}px`,
|
|
8450
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight}px`,
|
|
8451
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight}px`,
|
|
8452
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight}px`,
|
|
8453
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight}px`,
|
|
8454
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight}px`,
|
|
8455
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight}px`,
|
|
8456
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight}px`
|
|
8353
8457
|
},
|
|
8354
8458
|
mediumAndWide: {
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8459
|
+
/* legacy */
|
|
8460
|
+
header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,
|
|
8461
|
+
header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,
|
|
8462
|
+
header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,
|
|
8463
|
+
header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,
|
|
8464
|
+
header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,
|
|
8360
8465
|
'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
|
|
8361
8466
|
'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
|
|
8362
8467
|
body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
|
|
8363
8468
|
'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
|
|
8364
8469
|
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,
|
|
8365
|
-
'header-impact-xxl': theme.typography.types['
|
|
8366
|
-
'header-impact-xl': theme.typography.types['
|
|
8367
|
-
'header-impact-l': theme.typography.types['
|
|
8368
|
-
'header-impact-m': theme.typography.types['
|
|
8369
|
-
'header-impact-s': theme.typography.types['
|
|
8370
|
-
'header-impact-xs': theme.typography.types['
|
|
8371
|
-
'header-impact-xxs': theme.typography.types['
|
|
8372
|
-
'header-impact-xxxs': theme.typography.types['
|
|
8470
|
+
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,
|
|
8471
|
+
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,
|
|
8472
|
+
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,
|
|
8473
|
+
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,
|
|
8474
|
+
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,
|
|
8475
|
+
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,
|
|
8476
|
+
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,
|
|
8477
|
+
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,
|
|
8478
|
+
/* latest */
|
|
8479
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight}px`,
|
|
8480
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight}px`,
|
|
8481
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight}px`,
|
|
8482
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight}px`,
|
|
8483
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight}px`,
|
|
8484
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight}px`,
|
|
8485
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight}px`,
|
|
8486
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight}px`,
|
|
8487
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight}px`,
|
|
8488
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight}px`,
|
|
8489
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight}px`,
|
|
8490
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight}px`,
|
|
8491
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight}px`,
|
|
8492
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight}px`,
|
|
8493
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight}px`,
|
|
8494
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight}px`,
|
|
8495
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight}px`,
|
|
8496
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight}px`,
|
|
8497
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight}px`,
|
|
8498
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight}px`
|
|
8373
8499
|
}
|
|
8374
8500
|
},
|
|
8375
8501
|
fontWeights: {
|
|
8376
|
-
|
|
8377
|
-
regular: theme.typography.types.
|
|
8378
|
-
bold: theme.typography.types.
|
|
8502
|
+
headings: {
|
|
8503
|
+
regular: theme.typography.types.headings.fontWeight.regular,
|
|
8504
|
+
bold: theme.typography.types.headings.fontWeight.bold
|
|
8379
8505
|
},
|
|
8380
|
-
'
|
|
8381
|
-
regular: theme.typography.types['
|
|
8382
|
-
bold: theme.typography.types['
|
|
8506
|
+
'headings-impact': {
|
|
8507
|
+
regular: theme.typography.types['headings-impact'].fontWeight,
|
|
8508
|
+
bold: theme.typography.types['headings-impact'].fontWeight
|
|
8383
8509
|
},
|
|
8384
8510
|
bodies: {
|
|
8385
8511
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
@@ -8388,8 +8514,8 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8388
8514
|
}
|
|
8389
8515
|
},
|
|
8390
8516
|
fonts: {
|
|
8391
|
-
|
|
8392
|
-
'
|
|
8517
|
+
headings: Platform.OS === 'web' ? theme.typography.types.headings.fontFamily.web : theme.typography.types.headings.fontFamily.native,
|
|
8518
|
+
'headings-impact': Platform.OS === 'web' ? theme.typography.types['headings-impact'].fontFamily.web : theme.typography.types['headings-impact'].fontFamily.native,
|
|
8393
8519
|
bodies: Platform.OS === 'web' ? theme.typography.types.bodies.fontFamily.web : theme.typography.types.bodies.fontFamily.native
|
|
8394
8520
|
},
|
|
8395
8521
|
shadows: {
|
|
@@ -9059,7 +9185,7 @@ function AnimatedLoaderCircle({
|
|
|
9059
9185
|
};
|
|
9060
9186
|
_f.asString = "function _f(){const{circlePerimeter,progress}=jsThis._closure;{return{strokeDashoffset:circlePerimeter-circlePerimeter*progress.value};}}";
|
|
9061
9187
|
_f.__workletHash = 1345639818356;
|
|
9062
|
-
_f.__location = "/
|
|
9188
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/PageLoader/AnimatedLoaderCircle.tsx (23:43)";
|
|
9063
9189
|
return _f;
|
|
9064
9190
|
}());
|
|
9065
9191
|
return /*#__PURE__*/jsx(AnimatedCircle, {
|
|
@@ -9139,7 +9265,7 @@ function AnimatedFillCircleContainer({
|
|
|
9139
9265
|
};
|
|
9140
9266
|
_f.asString = "function _f(){const{progress}=jsThis._closure;{return{transform:[{rotate:360*progress.value+\"deg\"}]};}}";
|
|
9141
9267
|
_f.__workletHash = 16553090406738;
|
|
9142
|
-
_f.__location = "/
|
|
9268
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/PageLoader/AnimatedFillCircleContainer.tsx (36:42)";
|
|
9143
9269
|
_f.__optimalization = 3;
|
|
9144
9270
|
return _f;
|
|
9145
9271
|
}());
|
|
@@ -9505,7 +9631,7 @@ function SkeletonContent({
|
|
|
9505
9631
|
};
|
|
9506
9632
|
_f.asString = "function _f(){const{interpolate,sharedX,width}=jsThis._closure;{return{transform:[{translateX:interpolate(sharedX.value,[0,1],[-width,width])}]};}}";
|
|
9507
9633
|
_f.__workletHash = 1670955855244;
|
|
9508
|
-
_f.__location = "/
|
|
9634
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Skeleton/SkeletonContent.tsx (36:47)";
|
|
9509
9635
|
_f.__optimalization = 3;
|
|
9510
9636
|
return _f;
|
|
9511
9637
|
}());
|
|
@@ -10513,7 +10639,7 @@ function Tooltip({
|
|
|
10513
10639
|
};
|
|
10514
10640
|
_f.asString = "function _f(){const{withSpring,pressed,theme}=jsThis._closure;{return{opacity:withSpring(pressed.value?theme.kitt.tooltip.opacity:0),transform:[{scale:withSpring(pressed.value?1:0.8)}]};}}";
|
|
10515
10641
|
_f.__workletHash = 1087298059737;
|
|
10516
|
-
_f.__location = "/
|
|
10642
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Tooltip/Tooltip.tsx (112:42)";
|
|
10517
10643
|
_f.__optimalization = 2;
|
|
10518
10644
|
return _f;
|
|
10519
10645
|
}());
|