@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
|
@@ -841,7 +841,8 @@ const datePicker = {
|
|
|
841
841
|
};
|
|
842
842
|
|
|
843
843
|
const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
|
|
844
|
-
|
|
844
|
+
/** @deprecated legacy typography type config is deprecated. */
|
|
845
|
+
const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
|
|
845
846
|
baseAndSmall: {
|
|
846
847
|
fontSize: baseAndSmallFontSize,
|
|
847
848
|
lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
|
|
@@ -851,6 +852,16 @@ const createTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSma
|
|
|
851
852
|
lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
|
|
852
853
|
}
|
|
853
854
|
});
|
|
855
|
+
const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
|
|
856
|
+
const config = {
|
|
857
|
+
fontSize,
|
|
858
|
+
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
859
|
+
};
|
|
860
|
+
return {
|
|
861
|
+
baseAndSmall: config,
|
|
862
|
+
mediumAndWide: config
|
|
863
|
+
};
|
|
864
|
+
};
|
|
854
865
|
const typography = {
|
|
855
866
|
colors: {
|
|
856
867
|
black: colors.black,
|
|
@@ -867,7 +878,10 @@ const typography = {
|
|
|
867
878
|
warning: colors.warning
|
|
868
879
|
},
|
|
869
880
|
types: {
|
|
870
|
-
|
|
881
|
+
get header() {
|
|
882
|
+
throw new Error('typography.types.header is deprecated, use typography.type.headings instead');
|
|
883
|
+
},
|
|
884
|
+
headings: {
|
|
871
885
|
fontFamily: {
|
|
872
886
|
native: {
|
|
873
887
|
regular: 'Moderat-Black',
|
|
@@ -884,19 +898,26 @@ const typography = {
|
|
|
884
898
|
},
|
|
885
899
|
fontStyle: 'normal',
|
|
886
900
|
configs: {
|
|
887
|
-
|
|
888
|
-
header1:
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
901
|
+
/* legacy */
|
|
902
|
+
header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
|
|
903
|
+
header2: createLegacyTypographyTypeConfig(1.2, 32, 48, 1.1),
|
|
904
|
+
header3: createLegacyTypographyTypeConfig(1.2, 24, 40, 1.1),
|
|
905
|
+
header4: createLegacyTypographyTypeConfig(1.3, 18, 24, 1.2),
|
|
906
|
+
header5: createLegacyTypographyTypeConfig(1.3, 18, 18),
|
|
907
|
+
/* latest */
|
|
908
|
+
'heading-xxl': createTypographyConfig(56, 1.1),
|
|
909
|
+
'heading-xl': createTypographyConfig(48, 1.1),
|
|
910
|
+
'heading-l': createTypographyConfig(40, 1.1),
|
|
911
|
+
'heading-m': createTypographyConfig(32, 1.2),
|
|
912
|
+
'heading-s': createTypographyConfig(24, 1.2),
|
|
913
|
+
'heading-xs': createTypographyConfig(18, 1.3),
|
|
914
|
+
'heading-xxs': createTypographyConfig(16, 1.3)
|
|
897
915
|
}
|
|
898
916
|
},
|
|
899
|
-
'headers-impact'
|
|
917
|
+
get 'headers-impact'() {
|
|
918
|
+
throw new Error('typography.types.headers-impact is deprecated, use typography.type.headings-impact instead');
|
|
919
|
+
},
|
|
920
|
+
'headings-impact': {
|
|
900
921
|
fontFamily: {
|
|
901
922
|
native: {
|
|
902
923
|
regular: 'Transducer-Black',
|
|
@@ -910,14 +931,24 @@ const typography = {
|
|
|
910
931
|
fontWeight: 900,
|
|
911
932
|
fontStyle: 'normal',
|
|
912
933
|
configs: {
|
|
913
|
-
|
|
914
|
-
'header-impact-
|
|
915
|
-
'header-impact-
|
|
916
|
-
'header-impact-
|
|
917
|
-
'header-impact-
|
|
918
|
-
'header-impact-
|
|
919
|
-
'header-impact-
|
|
920
|
-
'header-impact-
|
|
934
|
+
/* legacy */
|
|
935
|
+
'header-impact-xxl': createLegacyTypographyTypeConfig(1.2, 56, 56),
|
|
936
|
+
'header-impact-xl': createLegacyTypographyTypeConfig(1.2, 48, 48),
|
|
937
|
+
'header-impact-l': createLegacyTypographyTypeConfig(1.2, 40, 40),
|
|
938
|
+
'header-impact-m': createLegacyTypographyTypeConfig(1.2, 32, 32),
|
|
939
|
+
'header-impact-s': createLegacyTypographyTypeConfig(1.2, 24, 24),
|
|
940
|
+
'header-impact-xs': createLegacyTypographyTypeConfig(1.2, 18, 18),
|
|
941
|
+
'header-impact-xxs': createLegacyTypographyTypeConfig(1.2, 16, 16),
|
|
942
|
+
'header-impact-xxxs': createLegacyTypographyTypeConfig(1.2, 14, 14),
|
|
943
|
+
/* latest */
|
|
944
|
+
'heading-impact-xxl': createTypographyConfig(56, 1.2),
|
|
945
|
+
'heading-impact-xl': createTypographyConfig(48, 1.2),
|
|
946
|
+
'heading-impact-l': createTypographyConfig(40, 1.2),
|
|
947
|
+
'heading-impact-m': createTypographyConfig(32, 1.2),
|
|
948
|
+
'heading-impact-s': createTypographyConfig(24, 1.2),
|
|
949
|
+
'heading-impact-xs': createTypographyConfig(18, 1.2),
|
|
950
|
+
'heading-impact-xxs': createTypographyConfig(16, 1.2),
|
|
951
|
+
'heading-impact-xxxs': createTypographyConfig(14, 1.2)
|
|
921
952
|
}
|
|
922
953
|
},
|
|
923
954
|
bodies: {
|
|
@@ -940,11 +971,18 @@ const typography = {
|
|
|
940
971
|
bold: 'normal'
|
|
941
972
|
},
|
|
942
973
|
configs: {
|
|
943
|
-
|
|
944
|
-
'body-
|
|
945
|
-
body:
|
|
946
|
-
|
|
947
|
-
'body-
|
|
974
|
+
/* legacy */
|
|
975
|
+
'body-large': createLegacyTypographyTypeConfig(1.4, 18, 24),
|
|
976
|
+
'body-medium': createLegacyTypographyTypeConfig(1.4, 18, 18),
|
|
977
|
+
body: createLegacyTypographyTypeConfig(1.4, 16, 16),
|
|
978
|
+
'body-small': createLegacyTypographyTypeConfig(1.4, 14, 14),
|
|
979
|
+
'body-xsmall': createLegacyTypographyTypeConfig(1.4, 12, 12),
|
|
980
|
+
/* latest */
|
|
981
|
+
'body-xl': createTypographyConfig(24, 1.4),
|
|
982
|
+
'body-l': createTypographyConfig(18, 1.4),
|
|
983
|
+
'body-m': createTypographyConfig(16, 1.4),
|
|
984
|
+
'body-s': createTypographyConfig(14, 1.4),
|
|
985
|
+
'body-xs': createTypographyConfig(12, 1.4)
|
|
948
986
|
}
|
|
949
987
|
}
|
|
950
988
|
},
|
|
@@ -1855,11 +1893,11 @@ function getTypographyColorValue(colorName) {
|
|
|
1855
1893
|
return colorName;
|
|
1856
1894
|
}
|
|
1857
1895
|
|
|
1858
|
-
const
|
|
1859
|
-
const
|
|
1896
|
+
const isTypeHeadings = type => type.startsWith('header') || type.startsWith('heading');
|
|
1897
|
+
const isTypeHeadingsImpact = type => type.startsWith('heading-impact') || type.startsWith('header-impact');
|
|
1860
1898
|
const getTypographyFamily = type => {
|
|
1861
|
-
if (
|
|
1862
|
-
if (
|
|
1899
|
+
if (isTypeHeadingsImpact(type)) return 'headings-impact';
|
|
1900
|
+
if (isTypeHeadings(type)) return 'headings';
|
|
1863
1901
|
return 'bodies';
|
|
1864
1902
|
};
|
|
1865
1903
|
const getTypographyFamilyWithAncestorValue = (type, typographyFamilyInContext) => {
|
|
@@ -1925,8 +1963,8 @@ function Typography({
|
|
|
1925
1963
|
const baseOrDefaultToBody = hasTypographyAncestor ? type.base : type.base ?? 'body';
|
|
1926
1964
|
const typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
|
|
1927
1965
|
|
|
1928
|
-
// force bold for
|
|
1929
|
-
const nonNullableVariant = variant ?? (typographyFamily === '
|
|
1966
|
+
// force bold for headings, default to regular for bodies
|
|
1967
|
+
const nonNullableVariant = variant ?? (typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular');
|
|
1930
1968
|
const fontSizeForNativeBase = createNativeBaseFontSize({
|
|
1931
1969
|
...type,
|
|
1932
1970
|
base: baseOrDefaultToBody
|
|
@@ -2305,7 +2343,7 @@ const useNativeAnimation$3 = ({
|
|
|
2305
2343
|
};
|
|
2306
2344
|
_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)}]};}}";
|
|
2307
2345
|
_f.__workletHash = 5368461229978;
|
|
2308
|
-
_f.__location = "/
|
|
2346
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Button/hooks/useNativeAnimation.ts (31:42)";
|
|
2309
2347
|
_f.__optimalization = 2;
|
|
2310
2348
|
return _f;
|
|
2311
2349
|
}());
|
|
@@ -2890,7 +2928,7 @@ function NativeOpacityAnimation$2({
|
|
|
2890
2928
|
};
|
|
2891
2929
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
2892
2930
|
_f.__workletHash = 14707844242190;
|
|
2893
|
-
_f.__location = "/
|
|
2931
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx (32:96)";
|
|
2894
2932
|
return _f;
|
|
2895
2933
|
}())
|
|
2896
2934
|
};
|
|
@@ -2915,7 +2953,7 @@ function NativeOpacityAnimation$2({
|
|
|
2915
2953
|
};
|
|
2916
2954
|
_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)();})};}}";
|
|
2917
2955
|
_f.__workletHash = 14370179131905;
|
|
2918
|
-
_f.__location = "/
|
|
2956
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx (27:40)";
|
|
2919
2957
|
return _f;
|
|
2920
2958
|
}());
|
|
2921
2959
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
@@ -2961,7 +2999,7 @@ function NativeRotationAnimation$1({
|
|
|
2961
2999
|
};
|
|
2962
3000
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
2963
3001
|
_f.__workletHash = 14707844242190;
|
|
2964
|
-
_f.__location = "/
|
|
3002
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx (41:102)";
|
|
2965
3003
|
return _f;
|
|
2966
3004
|
}());
|
|
2967
3005
|
return {
|
|
@@ -3000,7 +3038,7 @@ function NativeRotationAnimation$1({
|
|
|
3000
3038
|
};
|
|
3001
3039
|
_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\"}]};}}";
|
|
3002
3040
|
_f.__workletHash = 14560674497944;
|
|
3003
|
-
_f.__location = "/
|
|
3041
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx (36:41)";
|
|
3004
3042
|
return _f;
|
|
3005
3043
|
}());
|
|
3006
3044
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
@@ -3317,7 +3355,7 @@ const useNativeAnimation$2 = ({
|
|
|
3317
3355
|
};
|
|
3318
3356
|
_f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
|
|
3319
3357
|
_f.__workletHash = 1120030177160;
|
|
3320
|
-
_f.__location = "/
|
|
3358
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (31:35)";
|
|
3321
3359
|
return _f;
|
|
3322
3360
|
}());
|
|
3323
3361
|
const backgroundStyles = Animated.useAnimatedStyle(function () {
|
|
@@ -3355,7 +3393,7 @@ const useNativeAnimation$2 = ({
|
|
|
3355
3393
|
};
|
|
3356
3394
|
_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])};}}";
|
|
3357
3395
|
_f.__workletHash = 15506726129309;
|
|
3358
|
-
_f.__location = "/
|
|
3396
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (35:44)";
|
|
3359
3397
|
return _f;
|
|
3360
3398
|
}());
|
|
3361
3399
|
return {
|
|
@@ -3590,7 +3628,7 @@ function NativeOpacityAnimation$1({
|
|
|
3590
3628
|
};
|
|
3591
3629
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
3592
3630
|
_f.__workletHash = 14707844242190;
|
|
3593
|
-
_f.__location = "/
|
|
3631
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx (32:96)";
|
|
3594
3632
|
return _f;
|
|
3595
3633
|
}())
|
|
3596
3634
|
};
|
|
@@ -3615,7 +3653,7 @@ function NativeOpacityAnimation$1({
|
|
|
3615
3653
|
};
|
|
3616
3654
|
_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)();})};}}";
|
|
3617
3655
|
_f.__workletHash = 3254948230845;
|
|
3618
|
-
_f.__location = "/
|
|
3656
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx (27:40)";
|
|
3619
3657
|
return _f;
|
|
3620
3658
|
}());
|
|
3621
3659
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
@@ -3661,7 +3699,7 @@ function NativeRotationAnimation({
|
|
|
3661
3699
|
};
|
|
3662
3700
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
3663
3701
|
_f.__workletHash = 14707844242190;
|
|
3664
|
-
_f.__location = "/
|
|
3702
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx (41:102)";
|
|
3665
3703
|
return _f;
|
|
3666
3704
|
}());
|
|
3667
3705
|
return {
|
|
@@ -3700,7 +3738,7 @@ function NativeRotationAnimation({
|
|
|
3700
3738
|
};
|
|
3701
3739
|
_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\"}]};}}";
|
|
3702
3740
|
_f.__workletHash = 14448961480868;
|
|
3703
|
-
_f.__location = "/
|
|
3741
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx (36:41)";
|
|
3704
3742
|
return _f;
|
|
3705
3743
|
}());
|
|
3706
3744
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
@@ -6128,7 +6166,7 @@ const useNativeAnimation$1 = ({
|
|
|
6128
6166
|
};
|
|
6129
6167
|
_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])};}}";
|
|
6130
6168
|
_f.__workletHash = 1728775972872;
|
|
6131
|
-
_f.__location = "/
|
|
6169
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/forms/RadioButtonGroup/hooks/useNativeAnimation.ts (31:42)";
|
|
6132
6170
|
return _f;
|
|
6133
6171
|
}());
|
|
6134
6172
|
return {
|
|
@@ -6388,7 +6426,7 @@ function NativeOpacityAnimation({
|
|
|
6388
6426
|
};
|
|
6389
6427
|
_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)})};}}";
|
|
6390
6428
|
_f.__workletHash = 7884472191878;
|
|
6391
|
-
_f.__location = "/
|
|
6429
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeOpacityAnimation.tsx (14:40)";
|
|
6392
6430
|
_f.__optimalization = 2;
|
|
6393
6431
|
return _f;
|
|
6394
6432
|
}());
|
|
@@ -6441,7 +6479,7 @@ function NativeSlideInAnimation({
|
|
|
6441
6479
|
};
|
|
6442
6480
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
6443
6481
|
_f.__workletHash = 14707844242190;
|
|
6444
|
-
_f.__location = "/
|
|
6482
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeSlideInAnimation.tsx (45:12)";
|
|
6445
6483
|
return _f;
|
|
6446
6484
|
}())
|
|
6447
6485
|
}]
|
|
@@ -6468,7 +6506,7 @@ function NativeSlideInAnimation({
|
|
|
6468
6506
|
};
|
|
6469
6507
|
_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)();})}]};}}";
|
|
6470
6508
|
_f.__workletHash = 16793352522068;
|
|
6471
|
-
_f.__location = "/
|
|
6509
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeSlideInAnimation.tsx (35:42)";
|
|
6472
6510
|
return _f;
|
|
6473
6511
|
}());
|
|
6474
6512
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
@@ -6792,7 +6830,7 @@ function useNativeAnimation({
|
|
|
6792
6830
|
};
|
|
6793
6831
|
_f.asString = "function _f(){const{withSpring,pressed}=jsThis._closure;{return{opacity:withSpring(pressed.value?1:0)};}}";
|
|
6794
6832
|
_f.__workletHash = 10645190329247;
|
|
6795
|
-
_f.__location = "/
|
|
6833
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/IconButton/hooks/useNativeAnimation.ts (24:41)";
|
|
6796
6834
|
_f.__optimalization = 2;
|
|
6797
6835
|
return _f;
|
|
6798
6836
|
}());
|
|
@@ -6822,7 +6860,7 @@ function useNativeAnimation({
|
|
|
6822
6860
|
};
|
|
6823
6861
|
_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)}]};}}";
|
|
6824
6862
|
_f.__workletHash = 13861998831411;
|
|
6825
|
-
_f.__location = "/
|
|
6863
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/IconButton/hooks/useNativeAnimation.ts (30:39)";
|
|
6826
6864
|
_f.__optimalization = 2;
|
|
6827
6865
|
return _f;
|
|
6828
6866
|
}());
|
|
@@ -8312,96 +8350,184 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8312
8350
|
},
|
|
8313
8351
|
fontSizes: {
|
|
8314
8352
|
baseAndSmall: {
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8353
|
+
/* legacy */
|
|
8354
|
+
header1: `${theme.typography.types.headings.configs.header1.baseAndSmall.fontSize}px`,
|
|
8355
|
+
header2: `${theme.typography.types.headings.configs.header2.baseAndSmall.fontSize}px`,
|
|
8356
|
+
header3: `${theme.typography.types.headings.configs.header3.baseAndSmall.fontSize}px`,
|
|
8357
|
+
header4: `${theme.typography.types.headings.configs.header4.baseAndSmall.fontSize}px`,
|
|
8358
|
+
header5: `${theme.typography.types.headings.configs.header5.baseAndSmall.fontSize}px`,
|
|
8320
8359
|
'body-large': `${theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize}px`,
|
|
8321
8360
|
'body-medium': `${theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize}px`,
|
|
8322
8361
|
body: `${theme.typography.types.bodies.configs.body.baseAndSmall.fontSize}px`,
|
|
8323
8362
|
'body-small': `${theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize}px`,
|
|
8324
8363
|
'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize}px`,
|
|
8325
|
-
'header-impact-xxl': `${theme.typography.types['
|
|
8326
|
-
'header-impact-xl': `${theme.typography.types['
|
|
8327
|
-
'header-impact-l': `${theme.typography.types['
|
|
8328
|
-
'header-impact-m': `${theme.typography.types['
|
|
8329
|
-
'header-impact-s': `${theme.typography.types['
|
|
8330
|
-
'header-impact-xs': `${theme.typography.types['
|
|
8331
|
-
'header-impact-xxs': `${theme.typography.types['
|
|
8332
|
-
'header-impact-xxxs': `${theme.typography.types['
|
|
8364
|
+
'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.fontSize}px`,
|
|
8365
|
+
'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.fontSize}px`,
|
|
8366
|
+
'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.fontSize}px`,
|
|
8367
|
+
'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.fontSize}px`,
|
|
8368
|
+
'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.fontSize}px`,
|
|
8369
|
+
'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.fontSize}px`,
|
|
8370
|
+
'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.fontSize}px`,
|
|
8371
|
+
'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.fontSize}px`,
|
|
8372
|
+
/* latest */
|
|
8373
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize}px`,
|
|
8374
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize}px`,
|
|
8375
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize}px`,
|
|
8376
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize}px`,
|
|
8377
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize}px`,
|
|
8378
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize}px`,
|
|
8379
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize}px`,
|
|
8380
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize}px`,
|
|
8381
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize}px`,
|
|
8382
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize}px`,
|
|
8383
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize}px`,
|
|
8384
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize}px`,
|
|
8385
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize}px`,
|
|
8386
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize}px`,
|
|
8387
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize}px`,
|
|
8388
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize}px`,
|
|
8389
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize}px`,
|
|
8390
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize}px`,
|
|
8391
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize}px`,
|
|
8392
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize}px`
|
|
8333
8393
|
},
|
|
8334
8394
|
mediumAndWide: {
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8395
|
+
/* legacy */
|
|
8396
|
+
header1: `${theme.typography.types.headings.configs.header1.mediumAndWide.fontSize}px`,
|
|
8397
|
+
header2: `${theme.typography.types.headings.configs.header2.mediumAndWide.fontSize}px`,
|
|
8398
|
+
header3: `${theme.typography.types.headings.configs.header3.mediumAndWide.fontSize}px`,
|
|
8399
|
+
header4: `${theme.typography.types.headings.configs.header4.mediumAndWide.fontSize}px`,
|
|
8400
|
+
header5: `${theme.typography.types.headings.configs.header5.mediumAndWide.fontSize}px`,
|
|
8340
8401
|
'body-large': `${theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize}px`,
|
|
8341
8402
|
'body-medium': `${theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize}px`,
|
|
8342
8403
|
body: `${theme.typography.types.bodies.configs.body.mediumAndWide.fontSize}px`,
|
|
8343
8404
|
'body-small': `${theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize}px`,
|
|
8344
8405
|
'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize}px`,
|
|
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['
|
|
8406
|
+
'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize}px`,
|
|
8407
|
+
'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize}px`,
|
|
8408
|
+
'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize}px`,
|
|
8409
|
+
'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize}px`,
|
|
8410
|
+
'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize}px`,
|
|
8411
|
+
'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize}px`,
|
|
8412
|
+
'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize}px`,
|
|
8413
|
+
'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize}px`,
|
|
8414
|
+
/* latest */
|
|
8415
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize}px`,
|
|
8416
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize}px`,
|
|
8417
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize}px`,
|
|
8418
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize}px`,
|
|
8419
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize}px`,
|
|
8420
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize}px`,
|
|
8421
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize}px`,
|
|
8422
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize}px`,
|
|
8423
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize}px`,
|
|
8424
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize}px`,
|
|
8425
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize}px`,
|
|
8426
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize}px`,
|
|
8427
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize}px`,
|
|
8428
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize}px`,
|
|
8429
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize}px`,
|
|
8430
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize}px`,
|
|
8431
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize}px`,
|
|
8432
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize}px`,
|
|
8433
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize}px`,
|
|
8434
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize}px`
|
|
8353
8435
|
}
|
|
8354
8436
|
},
|
|
8355
8437
|
lineHeights: {
|
|
8356
8438
|
baseAndSmall: {
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8439
|
+
/* legacy */
|
|
8440
|
+
header1: theme.typography.types.headings.configs.header1.baseAndSmall.lineHeight,
|
|
8441
|
+
header2: theme.typography.types.headings.configs.header2.baseAndSmall.lineHeight,
|
|
8442
|
+
header3: theme.typography.types.headings.configs.header3.baseAndSmall.lineHeight,
|
|
8443
|
+
header4: theme.typography.types.headings.configs.header4.baseAndSmall.lineHeight,
|
|
8444
|
+
header5: theme.typography.types.headings.configs.header5.baseAndSmall.lineHeight,
|
|
8362
8445
|
'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
|
|
8363
8446
|
'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
|
|
8364
8447
|
body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
|
|
8365
8448
|
'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
|
|
8366
8449
|
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight,
|
|
8367
|
-
'header-impact-xxl': theme.typography.types['
|
|
8368
|
-
'header-impact-xl': theme.typography.types['
|
|
8369
|
-
'header-impact-l': theme.typography.types['
|
|
8370
|
-
'header-impact-m': theme.typography.types['
|
|
8371
|
-
'header-impact-s': theme.typography.types['
|
|
8372
|
-
'header-impact-xs': theme.typography.types['
|
|
8373
|
-
'header-impact-xxs': theme.typography.types['
|
|
8374
|
-
'header-impact-xxxs': theme.typography.types['
|
|
8450
|
+
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.lineHeight,
|
|
8451
|
+
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.lineHeight,
|
|
8452
|
+
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.lineHeight,
|
|
8453
|
+
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.lineHeight,
|
|
8454
|
+
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.lineHeight,
|
|
8455
|
+
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.lineHeight,
|
|
8456
|
+
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.lineHeight,
|
|
8457
|
+
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.lineHeight,
|
|
8458
|
+
/* latest */
|
|
8459
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight}px`,
|
|
8460
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight}px`,
|
|
8461
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight}px`,
|
|
8462
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight}px`,
|
|
8463
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight}px`,
|
|
8464
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight}px`,
|
|
8465
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight}px`,
|
|
8466
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight}px`,
|
|
8467
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight}px`,
|
|
8468
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight}px`,
|
|
8469
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight}px`,
|
|
8470
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight}px`,
|
|
8471
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight}px`,
|
|
8472
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight}px`,
|
|
8473
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight}px`,
|
|
8474
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight}px`,
|
|
8475
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight}px`,
|
|
8476
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight}px`,
|
|
8477
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight}px`,
|
|
8478
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight}px`
|
|
8375
8479
|
},
|
|
8376
8480
|
mediumAndWide: {
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8481
|
+
/* legacy */
|
|
8482
|
+
header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,
|
|
8483
|
+
header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,
|
|
8484
|
+
header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,
|
|
8485
|
+
header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,
|
|
8486
|
+
header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,
|
|
8382
8487
|
'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
|
|
8383
8488
|
'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
|
|
8384
8489
|
body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
|
|
8385
8490
|
'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
|
|
8386
8491
|
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,
|
|
8387
|
-
'header-impact-xxl': theme.typography.types['
|
|
8388
|
-
'header-impact-xl': theme.typography.types['
|
|
8389
|
-
'header-impact-l': theme.typography.types['
|
|
8390
|
-
'header-impact-m': theme.typography.types['
|
|
8391
|
-
'header-impact-s': theme.typography.types['
|
|
8392
|
-
'header-impact-xs': theme.typography.types['
|
|
8393
|
-
'header-impact-xxs': theme.typography.types['
|
|
8394
|
-
'header-impact-xxxs': theme.typography.types['
|
|
8492
|
+
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,
|
|
8493
|
+
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,
|
|
8494
|
+
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,
|
|
8495
|
+
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,
|
|
8496
|
+
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,
|
|
8497
|
+
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,
|
|
8498
|
+
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,
|
|
8499
|
+
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,
|
|
8500
|
+
/* latest */
|
|
8501
|
+
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight}px`,
|
|
8502
|
+
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight}px`,
|
|
8503
|
+
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight}px`,
|
|
8504
|
+
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight}px`,
|
|
8505
|
+
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight}px`,
|
|
8506
|
+
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight}px`,
|
|
8507
|
+
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight}px`,
|
|
8508
|
+
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight}px`,
|
|
8509
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight}px`,
|
|
8510
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight}px`,
|
|
8511
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight}px`,
|
|
8512
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight}px`,
|
|
8513
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight}px`,
|
|
8514
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight}px`,
|
|
8515
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight}px`,
|
|
8516
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight}px`,
|
|
8517
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight}px`,
|
|
8518
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight}px`,
|
|
8519
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight}px`,
|
|
8520
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight}px`
|
|
8395
8521
|
}
|
|
8396
8522
|
},
|
|
8397
8523
|
fontWeights: {
|
|
8398
|
-
|
|
8399
|
-
regular: theme.typography.types.
|
|
8400
|
-
bold: theme.typography.types.
|
|
8524
|
+
headings: {
|
|
8525
|
+
regular: theme.typography.types.headings.fontWeight.regular,
|
|
8526
|
+
bold: theme.typography.types.headings.fontWeight.bold
|
|
8401
8527
|
},
|
|
8402
|
-
'
|
|
8403
|
-
regular: theme.typography.types['
|
|
8404
|
-
bold: theme.typography.types['
|
|
8528
|
+
'headings-impact': {
|
|
8529
|
+
regular: theme.typography.types['headings-impact'].fontWeight,
|
|
8530
|
+
bold: theme.typography.types['headings-impact'].fontWeight
|
|
8405
8531
|
},
|
|
8406
8532
|
bodies: {
|
|
8407
8533
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
@@ -8410,8 +8536,8 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8410
8536
|
}
|
|
8411
8537
|
},
|
|
8412
8538
|
fonts: {
|
|
8413
|
-
|
|
8414
|
-
'
|
|
8539
|
+
headings: reactNative.Platform.OS === 'web' ? theme.typography.types.headings.fontFamily.web : theme.typography.types.headings.fontFamily.native,
|
|
8540
|
+
'headings-impact': reactNative.Platform.OS === 'web' ? theme.typography.types['headings-impact'].fontFamily.web : theme.typography.types['headings-impact'].fontFamily.native,
|
|
8415
8541
|
bodies: reactNative.Platform.OS === 'web' ? theme.typography.types.bodies.fontFamily.web : theme.typography.types.bodies.fontFamily.native
|
|
8416
8542
|
},
|
|
8417
8543
|
shadows: {
|
|
@@ -9081,7 +9207,7 @@ function AnimatedLoaderCircle({
|
|
|
9081
9207
|
};
|
|
9082
9208
|
_f.asString = "function _f(){const{circlePerimeter,progress}=jsThis._closure;{return{strokeDashoffset:circlePerimeter-circlePerimeter*progress.value};}}";
|
|
9083
9209
|
_f.__workletHash = 1345639818356;
|
|
9084
|
-
_f.__location = "/
|
|
9210
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/PageLoader/AnimatedLoaderCircle.tsx (23:43)";
|
|
9085
9211
|
return _f;
|
|
9086
9212
|
}());
|
|
9087
9213
|
return /*#__PURE__*/jsxRuntime.jsx(AnimatedCircle, {
|
|
@@ -9161,7 +9287,7 @@ function AnimatedFillCircleContainer({
|
|
|
9161
9287
|
};
|
|
9162
9288
|
_f.asString = "function _f(){const{progress}=jsThis._closure;{return{transform:[{rotate:360*progress.value+\"deg\"}]};}}";
|
|
9163
9289
|
_f.__workletHash = 16553090406738;
|
|
9164
|
-
_f.__location = "/
|
|
9290
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/PageLoader/AnimatedFillCircleContainer.tsx (36:42)";
|
|
9165
9291
|
_f.__optimalization = 3;
|
|
9166
9292
|
return _f;
|
|
9167
9293
|
}());
|
|
@@ -9527,7 +9653,7 @@ function SkeletonContent({
|
|
|
9527
9653
|
};
|
|
9528
9654
|
_f.asString = "function _f(){const{interpolate,sharedX,width}=jsThis._closure;{return{transform:[{translateX:interpolate(sharedX.value,[0,1],[-width,width])}]};}}";
|
|
9529
9655
|
_f.__workletHash = 1670955855244;
|
|
9530
|
-
_f.__location = "/
|
|
9656
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Skeleton/SkeletonContent.tsx (36:47)";
|
|
9531
9657
|
_f.__optimalization = 3;
|
|
9532
9658
|
return _f;
|
|
9533
9659
|
}());
|
|
@@ -10535,7 +10661,7 @@ function Tooltip({
|
|
|
10535
10661
|
};
|
|
10536
10662
|
_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)}]};}}";
|
|
10537
10663
|
_f.__workletHash = 1087298059737;
|
|
10538
|
-
_f.__location = "/
|
|
10664
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Tooltip/Tooltip.tsx (112:42)";
|
|
10539
10665
|
_f.__optimalization = 2;
|
|
10540
10666
|
return _f;
|
|
10541
10667
|
}());
|