@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
package/dist/index.es.ios.js
CHANGED
|
@@ -832,7 +832,8 @@ var datePicker = {
|
|
|
832
832
|
var calcLineHeight = function (fontSize, lineHeightMultiplier) {
|
|
833
833
|
return Math.round(fontSize * lineHeightMultiplier);
|
|
834
834
|
};
|
|
835
|
-
|
|
835
|
+
/** @deprecated legacy typography type config is deprecated. */
|
|
836
|
+
var createLegacyTypographyTypeConfig = function (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize) {
|
|
836
837
|
var mediumAndWideFontSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : baseAndSmallFontSize;
|
|
837
838
|
var lineHeightMultiplierMediumAndWide = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : lineHeightMultiplierBaseAndSmall;
|
|
838
839
|
return {
|
|
@@ -846,6 +847,16 @@ var createTypographyTypeConfig = function (lineHeightMultiplierBaseAndSmall, bas
|
|
|
846
847
|
}
|
|
847
848
|
};
|
|
848
849
|
};
|
|
850
|
+
var createTypographyConfig = function (fontSize, lineHeightMultiplier) {
|
|
851
|
+
var config = {
|
|
852
|
+
fontSize: fontSize,
|
|
853
|
+
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
854
|
+
};
|
|
855
|
+
return {
|
|
856
|
+
baseAndSmall: config,
|
|
857
|
+
mediumAndWide: config
|
|
858
|
+
};
|
|
859
|
+
};
|
|
849
860
|
var typography = {
|
|
850
861
|
colors: {
|
|
851
862
|
black: colors.black,
|
|
@@ -862,7 +873,10 @@ var typography = {
|
|
|
862
873
|
warning: colors.warning
|
|
863
874
|
},
|
|
864
875
|
types: {
|
|
865
|
-
|
|
876
|
+
get header() {
|
|
877
|
+
throw new Error('typography.types.header is deprecated, use typography.type.headings instead');
|
|
878
|
+
},
|
|
879
|
+
headings: {
|
|
866
880
|
fontFamily: {
|
|
867
881
|
"native": {
|
|
868
882
|
regular: 'Moderat-Black',
|
|
@@ -879,19 +893,26 @@ var typography = {
|
|
|
879
893
|
},
|
|
880
894
|
fontStyle: 'normal',
|
|
881
895
|
configs: {
|
|
882
|
-
|
|
883
|
-
header1:
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
896
|
+
/* legacy */
|
|
897
|
+
header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
|
|
898
|
+
header2: createLegacyTypographyTypeConfig(1.2, 32, 48, 1.1),
|
|
899
|
+
header3: createLegacyTypographyTypeConfig(1.2, 24, 40, 1.1),
|
|
900
|
+
header4: createLegacyTypographyTypeConfig(1.3, 18, 24, 1.2),
|
|
901
|
+
header5: createLegacyTypographyTypeConfig(1.3, 18, 18),
|
|
902
|
+
/* latest */
|
|
903
|
+
'heading-xxl': createTypographyConfig(56, 1.1),
|
|
904
|
+
'heading-xl': createTypographyConfig(48, 1.1),
|
|
905
|
+
'heading-l': createTypographyConfig(40, 1.1),
|
|
906
|
+
'heading-m': createTypographyConfig(32, 1.2),
|
|
907
|
+
'heading-s': createTypographyConfig(24, 1.2),
|
|
908
|
+
'heading-xs': createTypographyConfig(18, 1.3),
|
|
909
|
+
'heading-xxs': createTypographyConfig(16, 1.3)
|
|
892
910
|
}
|
|
893
911
|
},
|
|
894
|
-
'headers-impact'
|
|
912
|
+
get 'headers-impact'() {
|
|
913
|
+
throw new Error('typography.types.headers-impact is deprecated, use typography.type.headings-impact instead');
|
|
914
|
+
},
|
|
915
|
+
'headings-impact': {
|
|
895
916
|
fontFamily: {
|
|
896
917
|
"native": {
|
|
897
918
|
regular: 'Transducer-Black',
|
|
@@ -905,14 +926,24 @@ var typography = {
|
|
|
905
926
|
fontWeight: 900,
|
|
906
927
|
fontStyle: 'normal',
|
|
907
928
|
configs: {
|
|
908
|
-
|
|
909
|
-
'header-impact-
|
|
910
|
-
'header-impact-
|
|
911
|
-
'header-impact-
|
|
912
|
-
'header-impact-
|
|
913
|
-
'header-impact-
|
|
914
|
-
'header-impact-
|
|
915
|
-
'header-impact-
|
|
929
|
+
/* legacy */
|
|
930
|
+
'header-impact-xxl': createLegacyTypographyTypeConfig(1.2, 56, 56),
|
|
931
|
+
'header-impact-xl': createLegacyTypographyTypeConfig(1.2, 48, 48),
|
|
932
|
+
'header-impact-l': createLegacyTypographyTypeConfig(1.2, 40, 40),
|
|
933
|
+
'header-impact-m': createLegacyTypographyTypeConfig(1.2, 32, 32),
|
|
934
|
+
'header-impact-s': createLegacyTypographyTypeConfig(1.2, 24, 24),
|
|
935
|
+
'header-impact-xs': createLegacyTypographyTypeConfig(1.2, 18, 18),
|
|
936
|
+
'header-impact-xxs': createLegacyTypographyTypeConfig(1.2, 16, 16),
|
|
937
|
+
'header-impact-xxxs': createLegacyTypographyTypeConfig(1.2, 14, 14),
|
|
938
|
+
/* latest */
|
|
939
|
+
'heading-impact-xxl': createTypographyConfig(56, 1.2),
|
|
940
|
+
'heading-impact-xl': createTypographyConfig(48, 1.2),
|
|
941
|
+
'heading-impact-l': createTypographyConfig(40, 1.2),
|
|
942
|
+
'heading-impact-m': createTypographyConfig(32, 1.2),
|
|
943
|
+
'heading-impact-s': createTypographyConfig(24, 1.2),
|
|
944
|
+
'heading-impact-xs': createTypographyConfig(18, 1.2),
|
|
945
|
+
'heading-impact-xxs': createTypographyConfig(16, 1.2),
|
|
946
|
+
'heading-impact-xxxs': createTypographyConfig(14, 1.2)
|
|
916
947
|
}
|
|
917
948
|
},
|
|
918
949
|
bodies: {
|
|
@@ -935,11 +966,18 @@ var typography = {
|
|
|
935
966
|
bold: 'normal'
|
|
936
967
|
},
|
|
937
968
|
configs: {
|
|
938
|
-
|
|
939
|
-
'body-
|
|
940
|
-
body:
|
|
941
|
-
|
|
942
|
-
'body-
|
|
969
|
+
/* legacy */
|
|
970
|
+
'body-large': createLegacyTypographyTypeConfig(1.4, 18, 24),
|
|
971
|
+
'body-medium': createLegacyTypographyTypeConfig(1.4, 18, 18),
|
|
972
|
+
body: createLegacyTypographyTypeConfig(1.4, 16, 16),
|
|
973
|
+
'body-small': createLegacyTypographyTypeConfig(1.4, 14, 14),
|
|
974
|
+
'body-xsmall': createLegacyTypographyTypeConfig(1.4, 12, 12),
|
|
975
|
+
/* latest */
|
|
976
|
+
'body-xl': createTypographyConfig(24, 1.4),
|
|
977
|
+
'body-l': createTypographyConfig(18, 1.4),
|
|
978
|
+
'body-m': createTypographyConfig(16, 1.4),
|
|
979
|
+
'body-s': createTypographyConfig(14, 1.4),
|
|
980
|
+
'body-xs': createTypographyConfig(12, 1.4)
|
|
943
981
|
}
|
|
944
982
|
}
|
|
945
983
|
},
|
|
@@ -1858,15 +1896,15 @@ function getTypographyColorValue(colorName) {
|
|
|
1858
1896
|
return colorName;
|
|
1859
1897
|
}
|
|
1860
1898
|
|
|
1861
|
-
var
|
|
1862
|
-
return type.startsWith('header');
|
|
1899
|
+
var isTypeHeadings = function (type) {
|
|
1900
|
+
return type.startsWith('header') || type.startsWith('heading');
|
|
1863
1901
|
};
|
|
1864
|
-
var
|
|
1865
|
-
return type.startsWith('header-impact');
|
|
1902
|
+
var isTypeHeadingsImpact = function (type) {
|
|
1903
|
+
return type.startsWith('heading-impact') || type.startsWith('header-impact');
|
|
1866
1904
|
};
|
|
1867
1905
|
var getTypographyFamily = function (type) {
|
|
1868
|
-
if (
|
|
1869
|
-
if (
|
|
1906
|
+
if (isTypeHeadingsImpact(type)) return 'headings-impact';
|
|
1907
|
+
if (isTypeHeadings(type)) return 'headings';
|
|
1870
1908
|
return 'bodies';
|
|
1871
1909
|
};
|
|
1872
1910
|
var getTypographyFamilyWithAncestorValue = function (type, typographyFamilyInContext) {
|
|
@@ -1933,8 +1971,8 @@ function Typography(_ref) {
|
|
|
1933
1971
|
var baseOrDefaultToBody = hasTypographyAncestor ? type.base : (_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body';
|
|
1934
1972
|
var typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
|
|
1935
1973
|
|
|
1936
|
-
// force bold for
|
|
1937
|
-
var nonNullableVariant = variant !== null && variant !== void 0 ? variant : typographyFamily === '
|
|
1974
|
+
// force bold for headings, default to regular for bodies
|
|
1975
|
+
var nonNullableVariant = variant !== null && variant !== void 0 ? variant : typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular';
|
|
1938
1976
|
var fontSizeForNativeBase = createNativeBaseFontSize(_objectSpread(_objectSpread({}, type), {}, {
|
|
1939
1977
|
base: baseOrDefaultToBody
|
|
1940
1978
|
}));
|
|
@@ -2291,7 +2329,7 @@ var useNativeAnimation$3 = function (_ref) {
|
|
|
2291
2329
|
};
|
|
2292
2330
|
_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)}]};}}";
|
|
2293
2331
|
_f.__workletHash = 5368461229978;
|
|
2294
|
-
_f.__location = "/
|
|
2332
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Button/hooks/useNativeAnimation.ts (31:42)";
|
|
2295
2333
|
_f.__optimalization = 2;
|
|
2296
2334
|
return _f;
|
|
2297
2335
|
}());
|
|
@@ -2899,7 +2937,7 @@ function NativeOpacityAnimation$2(_ref) {
|
|
|
2899
2937
|
};
|
|
2900
2938
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
2901
2939
|
_f.__workletHash = 14707844242190;
|
|
2902
|
-
_f.__location = "/
|
|
2940
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx (32:96)";
|
|
2903
2941
|
return _f;
|
|
2904
2942
|
}())
|
|
2905
2943
|
};
|
|
@@ -2924,7 +2962,7 @@ function NativeOpacityAnimation$2(_ref) {
|
|
|
2924
2962
|
};
|
|
2925
2963
|
_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)();})};}}";
|
|
2926
2964
|
_f.__workletHash = 14370179131905;
|
|
2927
|
-
_f.__location = "/
|
|
2965
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx (27:40)";
|
|
2928
2966
|
return _f;
|
|
2929
2967
|
}());
|
|
2930
2968
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -2972,7 +3010,7 @@ function NativeRotationAnimation$1(_ref) {
|
|
|
2972
3010
|
};
|
|
2973
3011
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
2974
3012
|
_f.__workletHash = 14707844242190;
|
|
2975
|
-
_f.__location = "/
|
|
3013
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx (41:102)";
|
|
2976
3014
|
return _f;
|
|
2977
3015
|
}());
|
|
2978
3016
|
return {
|
|
@@ -3011,7 +3049,7 @@ function NativeRotationAnimation$1(_ref) {
|
|
|
3011
3049
|
};
|
|
3012
3050
|
_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\"}]};}}";
|
|
3013
3051
|
_f.__workletHash = 14560674497944;
|
|
3014
|
-
_f.__location = "/
|
|
3052
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx (36:41)";
|
|
3015
3053
|
return _f;
|
|
3016
3054
|
}());
|
|
3017
3055
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -3336,7 +3374,7 @@ var useNativeAnimation$2 = function (_ref) {
|
|
|
3336
3374
|
};
|
|
3337
3375
|
_f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
|
|
3338
3376
|
_f.__workletHash = 1120030177160;
|
|
3339
|
-
_f.__location = "/
|
|
3377
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (31:35)";
|
|
3340
3378
|
return _f;
|
|
3341
3379
|
}());
|
|
3342
3380
|
var backgroundStyles = useAnimatedStyle(function () {
|
|
@@ -3373,7 +3411,7 @@ var useNativeAnimation$2 = function (_ref) {
|
|
|
3373
3411
|
};
|
|
3374
3412
|
_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])};}}";
|
|
3375
3413
|
_f.__workletHash = 15506726129309;
|
|
3376
|
-
_f.__location = "/
|
|
3414
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (35:44)";
|
|
3377
3415
|
return _f;
|
|
3378
3416
|
}());
|
|
3379
3417
|
return {
|
|
@@ -3607,7 +3645,7 @@ function NativeOpacityAnimation$1(_ref) {
|
|
|
3607
3645
|
};
|
|
3608
3646
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
3609
3647
|
_f.__workletHash = 14707844242190;
|
|
3610
|
-
_f.__location = "/
|
|
3648
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx (32:96)";
|
|
3611
3649
|
return _f;
|
|
3612
3650
|
}())
|
|
3613
3651
|
};
|
|
@@ -3632,7 +3670,7 @@ function NativeOpacityAnimation$1(_ref) {
|
|
|
3632
3670
|
};
|
|
3633
3671
|
_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)();})};}}";
|
|
3634
3672
|
_f.__workletHash = 3254948230845;
|
|
3635
|
-
_f.__location = "/
|
|
3673
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx (27:40)";
|
|
3636
3674
|
return _f;
|
|
3637
3675
|
}());
|
|
3638
3676
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -3680,7 +3718,7 @@ function NativeRotationAnimation(_ref) {
|
|
|
3680
3718
|
};
|
|
3681
3719
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
3682
3720
|
_f.__workletHash = 14707844242190;
|
|
3683
|
-
_f.__location = "/
|
|
3721
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx (41:102)";
|
|
3684
3722
|
return _f;
|
|
3685
3723
|
}());
|
|
3686
3724
|
return {
|
|
@@ -3719,7 +3757,7 @@ function NativeRotationAnimation(_ref) {
|
|
|
3719
3757
|
};
|
|
3720
3758
|
_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\"}]};}}";
|
|
3721
3759
|
_f.__workletHash = 14448961480868;
|
|
3722
|
-
_f.__location = "/
|
|
3760
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx (36:41)";
|
|
3723
3761
|
return _f;
|
|
3724
3762
|
}());
|
|
3725
3763
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -6307,7 +6345,7 @@ var useNativeAnimation$1 = function (_ref) {
|
|
|
6307
6345
|
};
|
|
6308
6346
|
_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])};}}";
|
|
6309
6347
|
_f.__workletHash = 1728775972872;
|
|
6310
|
-
_f.__location = "/
|
|
6348
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/forms/RadioButtonGroup/hooks/useNativeAnimation.ts (31:42)";
|
|
6311
6349
|
return _f;
|
|
6312
6350
|
}());
|
|
6313
6351
|
return {
|
|
@@ -6557,7 +6595,7 @@ function NativeOpacityAnimation(_ref) {
|
|
|
6557
6595
|
};
|
|
6558
6596
|
_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)})};}}";
|
|
6559
6597
|
_f.__workletHash = 7884472191878;
|
|
6560
|
-
_f.__location = "/
|
|
6598
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeOpacityAnimation.tsx (14:40)";
|
|
6561
6599
|
_f.__optimalization = 2;
|
|
6562
6600
|
return _f;
|
|
6563
6601
|
}());
|
|
@@ -6611,7 +6649,7 @@ function NativeSlideInAnimation(_ref) {
|
|
|
6611
6649
|
};
|
|
6612
6650
|
_f.asString = "function _f(isFinished){const{runOnJS,handleAnimationFinished}=jsThis._closure;{if(!isFinished)return;runOnJS(handleAnimationFinished)();}}";
|
|
6613
6651
|
_f.__workletHash = 14707844242190;
|
|
6614
|
-
_f.__location = "/
|
|
6652
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeSlideInAnimation.tsx (45:12)";
|
|
6615
6653
|
return _f;
|
|
6616
6654
|
}())
|
|
6617
6655
|
}]
|
|
@@ -6638,7 +6676,7 @@ function NativeSlideInAnimation(_ref) {
|
|
|
6638
6676
|
};
|
|
6639
6677
|
_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)();})}]};}}";
|
|
6640
6678
|
_f.__workletHash = 16793352522068;
|
|
6641
|
-
_f.__location = "/
|
|
6679
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/FullscreenModal/components/NativeSlideInAnimation.tsx (35:42)";
|
|
6642
6680
|
return _f;
|
|
6643
6681
|
}());
|
|
6644
6682
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
@@ -6964,7 +7002,7 @@ function useNativeAnimation(_ref) {
|
|
|
6964
7002
|
};
|
|
6965
7003
|
_f.asString = "function _f(){const{withSpring,pressed}=jsThis._closure;{return{opacity:withSpring(pressed.value?1:0)};}}";
|
|
6966
7004
|
_f.__workletHash = 10645190329247;
|
|
6967
|
-
_f.__location = "/
|
|
7005
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/IconButton/hooks/useNativeAnimation.ts (24:41)";
|
|
6968
7006
|
_f.__optimalization = 2;
|
|
6969
7007
|
return _f;
|
|
6970
7008
|
}());
|
|
@@ -6994,7 +7032,7 @@ function useNativeAnimation(_ref) {
|
|
|
6994
7032
|
};
|
|
6995
7033
|
_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)}]};}}";
|
|
6996
7034
|
_f.__workletHash = 13861998831411;
|
|
6997
|
-
_f.__location = "/
|
|
7035
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/IconButton/hooks/useNativeAnimation.ts (30:39)";
|
|
6998
7036
|
_f.__optimalization = 2;
|
|
6999
7037
|
return _f;
|
|
7000
7038
|
}());
|
|
@@ -8427,96 +8465,184 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8427
8465
|
}, appBreakpoints),
|
|
8428
8466
|
fontSizes: {
|
|
8429
8467
|
baseAndSmall: {
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8468
|
+
/* legacy */
|
|
8469
|
+
header1: "".concat(theme.typography.types.headings.configs.header1.baseAndSmall.fontSize, "px"),
|
|
8470
|
+
header2: "".concat(theme.typography.types.headings.configs.header2.baseAndSmall.fontSize, "px"),
|
|
8471
|
+
header3: "".concat(theme.typography.types.headings.configs.header3.baseAndSmall.fontSize, "px"),
|
|
8472
|
+
header4: "".concat(theme.typography.types.headings.configs.header4.baseAndSmall.fontSize, "px"),
|
|
8473
|
+
header5: "".concat(theme.typography.types.headings.configs.header5.baseAndSmall.fontSize, "px"),
|
|
8435
8474
|
'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize, "px"),
|
|
8436
8475
|
'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize, "px"),
|
|
8437
8476
|
body: "".concat(theme.typography.types.bodies.configs.body.baseAndSmall.fontSize, "px"),
|
|
8438
8477
|
'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize, "px"),
|
|
8439
8478
|
'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize, "px"),
|
|
8440
|
-
'header-impact-xxl': "".concat(theme.typography.types['
|
|
8441
|
-
'header-impact-xl': "".concat(theme.typography.types['
|
|
8442
|
-
'header-impact-l': "".concat(theme.typography.types['
|
|
8443
|
-
'header-impact-m': "".concat(theme.typography.types['
|
|
8444
|
-
'header-impact-s': "".concat(theme.typography.types['
|
|
8445
|
-
'header-impact-xs': "".concat(theme.typography.types['
|
|
8446
|
-
'header-impact-xxs': "".concat(theme.typography.types['
|
|
8447
|
-
'header-impact-xxxs': "".concat(theme.typography.types['
|
|
8479
|
+
'header-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.fontSize, "px"),
|
|
8480
|
+
'header-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.fontSize, "px"),
|
|
8481
|
+
'header-impact-l': "".concat(theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.fontSize, "px"),
|
|
8482
|
+
'header-impact-m': "".concat(theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.fontSize, "px"),
|
|
8483
|
+
'header-impact-s': "".concat(theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.fontSize, "px"),
|
|
8484
|
+
'header-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.fontSize, "px"),
|
|
8485
|
+
'header-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.fontSize, "px"),
|
|
8486
|
+
'header-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.fontSize, "px"),
|
|
8487
|
+
/* latest */
|
|
8488
|
+
'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize, "px"),
|
|
8489
|
+
'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize, "px"),
|
|
8490
|
+
'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize, "px"),
|
|
8491
|
+
'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize, "px"),
|
|
8492
|
+
'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize, "px"),
|
|
8493
|
+
'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize, "px"),
|
|
8494
|
+
'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize, "px"),
|
|
8495
|
+
'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize, "px"),
|
|
8496
|
+
'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize, "px"),
|
|
8497
|
+
'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize, "px"),
|
|
8498
|
+
'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize, "px"),
|
|
8499
|
+
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize, "px"),
|
|
8500
|
+
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize, "px"),
|
|
8501
|
+
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize, "px"),
|
|
8502
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize, "px"),
|
|
8503
|
+
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize, "px"),
|
|
8504
|
+
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize, "px"),
|
|
8505
|
+
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize, "px"),
|
|
8506
|
+
'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize, "px"),
|
|
8507
|
+
'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize, "px")
|
|
8448
8508
|
},
|
|
8449
8509
|
mediumAndWide: {
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8510
|
+
/* legacy */
|
|
8511
|
+
header1: "".concat(theme.typography.types.headings.configs.header1.mediumAndWide.fontSize, "px"),
|
|
8512
|
+
header2: "".concat(theme.typography.types.headings.configs.header2.mediumAndWide.fontSize, "px"),
|
|
8513
|
+
header3: "".concat(theme.typography.types.headings.configs.header3.mediumAndWide.fontSize, "px"),
|
|
8514
|
+
header4: "".concat(theme.typography.types.headings.configs.header4.mediumAndWide.fontSize, "px"),
|
|
8515
|
+
header5: "".concat(theme.typography.types.headings.configs.header5.mediumAndWide.fontSize, "px"),
|
|
8455
8516
|
'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize, "px"),
|
|
8456
8517
|
'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize, "px"),
|
|
8457
8518
|
body: "".concat(theme.typography.types.bodies.configs.body.mediumAndWide.fontSize, "px"),
|
|
8458
8519
|
'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize, "px"),
|
|
8459
8520
|
'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize, "px"),
|
|
8460
|
-
'header-impact-xxl': "".concat(theme.typography.types['
|
|
8461
|
-
'header-impact-xl': "".concat(theme.typography.types['
|
|
8462
|
-
'header-impact-l': "".concat(theme.typography.types['
|
|
8463
|
-
'header-impact-m': "".concat(theme.typography.types['
|
|
8464
|
-
'header-impact-s': "".concat(theme.typography.types['
|
|
8465
|
-
'header-impact-xs': "".concat(theme.typography.types['
|
|
8466
|
-
'header-impact-xxs': "".concat(theme.typography.types['
|
|
8467
|
-
'header-impact-xxxs': "".concat(theme.typography.types['
|
|
8521
|
+
'header-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize, "px"),
|
|
8522
|
+
'header-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize, "px"),
|
|
8523
|
+
'header-impact-l': "".concat(theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize, "px"),
|
|
8524
|
+
'header-impact-m': "".concat(theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize, "px"),
|
|
8525
|
+
'header-impact-s': "".concat(theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize, "px"),
|
|
8526
|
+
'header-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize, "px"),
|
|
8527
|
+
'header-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize, "px"),
|
|
8528
|
+
'header-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize, "px"),
|
|
8529
|
+
/* latest */
|
|
8530
|
+
'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize, "px"),
|
|
8531
|
+
'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize, "px"),
|
|
8532
|
+
'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize, "px"),
|
|
8533
|
+
'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize, "px"),
|
|
8534
|
+
'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize, "px"),
|
|
8535
|
+
'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize, "px"),
|
|
8536
|
+
'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize, "px"),
|
|
8537
|
+
'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize, "px"),
|
|
8538
|
+
'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize, "px"),
|
|
8539
|
+
'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize, "px"),
|
|
8540
|
+
'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize, "px"),
|
|
8541
|
+
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize, "px"),
|
|
8542
|
+
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize, "px"),
|
|
8543
|
+
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize, "px"),
|
|
8544
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize, "px"),
|
|
8545
|
+
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize, "px"),
|
|
8546
|
+
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize, "px"),
|
|
8547
|
+
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize, "px"),
|
|
8548
|
+
'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize, "px"),
|
|
8549
|
+
'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize, "px")
|
|
8468
8550
|
}
|
|
8469
8551
|
},
|
|
8470
8552
|
lineHeights: {
|
|
8471
8553
|
baseAndSmall: {
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8554
|
+
/* legacy */
|
|
8555
|
+
header1: theme.typography.types.headings.configs.header1.baseAndSmall.lineHeight,
|
|
8556
|
+
header2: theme.typography.types.headings.configs.header2.baseAndSmall.lineHeight,
|
|
8557
|
+
header3: theme.typography.types.headings.configs.header3.baseAndSmall.lineHeight,
|
|
8558
|
+
header4: theme.typography.types.headings.configs.header4.baseAndSmall.lineHeight,
|
|
8559
|
+
header5: theme.typography.types.headings.configs.header5.baseAndSmall.lineHeight,
|
|
8477
8560
|
'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
|
|
8478
8561
|
'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
|
|
8479
8562
|
body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
|
|
8480
8563
|
'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
|
|
8481
8564
|
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight,
|
|
8482
|
-
'header-impact-xxl': theme.typography.types['
|
|
8483
|
-
'header-impact-xl': theme.typography.types['
|
|
8484
|
-
'header-impact-l': theme.typography.types['
|
|
8485
|
-
'header-impact-m': theme.typography.types['
|
|
8486
|
-
'header-impact-s': theme.typography.types['
|
|
8487
|
-
'header-impact-xs': theme.typography.types['
|
|
8488
|
-
'header-impact-xxs': theme.typography.types['
|
|
8489
|
-
'header-impact-xxxs': theme.typography.types['
|
|
8565
|
+
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.lineHeight,
|
|
8566
|
+
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.lineHeight,
|
|
8567
|
+
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.lineHeight,
|
|
8568
|
+
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.lineHeight,
|
|
8569
|
+
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.lineHeight,
|
|
8570
|
+
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.lineHeight,
|
|
8571
|
+
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.lineHeight,
|
|
8572
|
+
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.lineHeight,
|
|
8573
|
+
/* latest */
|
|
8574
|
+
'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight, "px"),
|
|
8575
|
+
'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight, "px"),
|
|
8576
|
+
'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight, "px"),
|
|
8577
|
+
'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight, "px"),
|
|
8578
|
+
'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight, "px"),
|
|
8579
|
+
'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight, "px"),
|
|
8580
|
+
'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight, "px"),
|
|
8581
|
+
'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight, "px"),
|
|
8582
|
+
'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight, "px"),
|
|
8583
|
+
'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight, "px"),
|
|
8584
|
+
'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight, "px"),
|
|
8585
|
+
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight, "px"),
|
|
8586
|
+
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight, "px"),
|
|
8587
|
+
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight, "px"),
|
|
8588
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight, "px"),
|
|
8589
|
+
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight, "px"),
|
|
8590
|
+
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight, "px"),
|
|
8591
|
+
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight, "px"),
|
|
8592
|
+
'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight, "px"),
|
|
8593
|
+
'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight, "px")
|
|
8490
8594
|
},
|
|
8491
8595
|
mediumAndWide: {
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8596
|
+
/* legacy */
|
|
8597
|
+
header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,
|
|
8598
|
+
header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,
|
|
8599
|
+
header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,
|
|
8600
|
+
header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,
|
|
8601
|
+
header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,
|
|
8497
8602
|
'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
|
|
8498
8603
|
'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
|
|
8499
8604
|
body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
|
|
8500
8605
|
'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
|
|
8501
8606
|
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,
|
|
8502
|
-
'header-impact-xxl': theme.typography.types['
|
|
8503
|
-
'header-impact-xl': theme.typography.types['
|
|
8504
|
-
'header-impact-l': theme.typography.types['
|
|
8505
|
-
'header-impact-m': theme.typography.types['
|
|
8506
|
-
'header-impact-s': theme.typography.types['
|
|
8507
|
-
'header-impact-xs': theme.typography.types['
|
|
8508
|
-
'header-impact-xxs': theme.typography.types['
|
|
8509
|
-
'header-impact-xxxs': theme.typography.types['
|
|
8607
|
+
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,
|
|
8608
|
+
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,
|
|
8609
|
+
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,
|
|
8610
|
+
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,
|
|
8611
|
+
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,
|
|
8612
|
+
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,
|
|
8613
|
+
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,
|
|
8614
|
+
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,
|
|
8615
|
+
/* latest */
|
|
8616
|
+
'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight, "px"),
|
|
8617
|
+
'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight, "px"),
|
|
8618
|
+
'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight, "px"),
|
|
8619
|
+
'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight, "px"),
|
|
8620
|
+
'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight, "px"),
|
|
8621
|
+
'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight, "px"),
|
|
8622
|
+
'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight, "px"),
|
|
8623
|
+
'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight, "px"),
|
|
8624
|
+
'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight, "px"),
|
|
8625
|
+
'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight, "px"),
|
|
8626
|
+
'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight, "px"),
|
|
8627
|
+
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight, "px"),
|
|
8628
|
+
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight, "px"),
|
|
8629
|
+
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight, "px"),
|
|
8630
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight, "px"),
|
|
8631
|
+
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight, "px"),
|
|
8632
|
+
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight, "px"),
|
|
8633
|
+
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight, "px"),
|
|
8634
|
+
'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight, "px"),
|
|
8635
|
+
'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight, "px")
|
|
8510
8636
|
}
|
|
8511
8637
|
},
|
|
8512
8638
|
fontWeights: {
|
|
8513
|
-
|
|
8514
|
-
regular: theme.typography.types.
|
|
8515
|
-
bold: theme.typography.types.
|
|
8639
|
+
headings: {
|
|
8640
|
+
regular: theme.typography.types.headings.fontWeight.regular,
|
|
8641
|
+
bold: theme.typography.types.headings.fontWeight.bold
|
|
8516
8642
|
},
|
|
8517
|
-
'
|
|
8518
|
-
regular: theme.typography.types['
|
|
8519
|
-
bold: theme.typography.types['
|
|
8643
|
+
'headings-impact': {
|
|
8644
|
+
regular: theme.typography.types['headings-impact'].fontWeight,
|
|
8645
|
+
bold: theme.typography.types['headings-impact'].fontWeight
|
|
8520
8646
|
},
|
|
8521
8647
|
bodies: {
|
|
8522
8648
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
@@ -8525,8 +8651,8 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8525
8651
|
}
|
|
8526
8652
|
},
|
|
8527
8653
|
fonts: {
|
|
8528
|
-
|
|
8529
|
-
'
|
|
8654
|
+
headings: Platform.OS === 'web' ? theme.typography.types.headings.fontFamily.web : theme.typography.types.headings.fontFamily["native"],
|
|
8655
|
+
'headings-impact': Platform.OS === 'web' ? theme.typography.types['headings-impact'].fontFamily.web : theme.typography.types['headings-impact'].fontFamily["native"],
|
|
8530
8656
|
bodies: Platform.OS === 'web' ? theme.typography.types.bodies.fontFamily.web : theme.typography.types.bodies.fontFamily["native"]
|
|
8531
8657
|
},
|
|
8532
8658
|
shadows: {
|
|
@@ -9193,7 +9319,7 @@ function AnimatedLoaderCircle(_ref) {
|
|
|
9193
9319
|
};
|
|
9194
9320
|
_f.asString = "function _f(){const{circlePerimeter,progress}=jsThis._closure;{return{strokeDashoffset:circlePerimeter-circlePerimeter*progress.value};}}";
|
|
9195
9321
|
_f.__workletHash = 1345639818356;
|
|
9196
|
-
_f.__location = "/
|
|
9322
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/PageLoader/AnimatedLoaderCircle.tsx (23:43)";
|
|
9197
9323
|
return _f;
|
|
9198
9324
|
}());
|
|
9199
9325
|
return /*#__PURE__*/jsx(AnimatedCircle, {
|
|
@@ -9269,7 +9395,7 @@ function AnimatedFillCircleContainer(_ref) {
|
|
|
9269
9395
|
};
|
|
9270
9396
|
_f.asString = "function _f(){const{progress}=jsThis._closure;{return{transform:[{rotate:360*progress.value+\"deg\"}]};}}";
|
|
9271
9397
|
_f.__workletHash = 16553090406738;
|
|
9272
|
-
_f.__location = "/
|
|
9398
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/PageLoader/AnimatedFillCircleContainer.tsx (36:42)";
|
|
9273
9399
|
_f.__optimalization = 3;
|
|
9274
9400
|
return _f;
|
|
9275
9401
|
}());
|
|
@@ -9639,7 +9765,7 @@ function SkeletonContent(_ref) {
|
|
|
9639
9765
|
};
|
|
9640
9766
|
_f.asString = "function _f(){const{interpolate,sharedX,width}=jsThis._closure;{return{transform:[{translateX:interpolate(sharedX.value,[0,1],[-width,width])}]};}}";
|
|
9641
9767
|
_f.__workletHash = 1670955855244;
|
|
9642
|
-
_f.__location = "/
|
|
9768
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Skeleton/SkeletonContent.tsx (36:47)";
|
|
9643
9769
|
_f.__optimalization = 3;
|
|
9644
9770
|
return _f;
|
|
9645
9771
|
}());
|
|
@@ -10666,7 +10792,7 @@ function Tooltip(_ref) {
|
|
|
10666
10792
|
};
|
|
10667
10793
|
_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)}]};}}";
|
|
10668
10794
|
_f.__workletHash = 1087298059737;
|
|
10669
|
-
_f.__location = "/
|
|
10795
|
+
_f.__location = "/Users/chris/dev/kitt/@ornikar/kitt-universal/src/Tooltip/Tooltip.tsx (112:42)";
|
|
10670
10796
|
_f.__optimalization = 2;
|
|
10671
10797
|
return _f;
|
|
10672
10798
|
}());
|