@ornikar/kitt-universal 23.0.2 → 23.2.1

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/definitions/Highlight/AnimatedCaret/AnimatedCaret.d.ts +11 -0
  3. package/dist/definitions/Highlight/AnimatedCaret/AnimatedCaret.d.ts.map +1 -0
  4. package/dist/definitions/Highlight/AnimatedCaret/AnimatedCaret.web.d.ts +4 -0
  5. package/dist/definitions/Highlight/AnimatedCaret/AnimatedCaret.web.d.ts.map +1 -0
  6. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.d.ts +13 -0
  7. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.d.ts.map +1 -0
  8. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.web.d.ts +4 -0
  9. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.web.d.ts.map +1 -0
  10. package/dist/definitions/Highlight/AnimatedContent/AnimatedContent.d.ts +12 -0
  11. package/dist/definitions/Highlight/AnimatedContent/AnimatedContent.d.ts.map +1 -0
  12. package/dist/definitions/Highlight/AnimatedContent/AnimatedContent.web.d.ts +4 -0
  13. package/dist/definitions/Highlight/AnimatedContent/AnimatedContent.web.d.ts.map +1 -0
  14. package/dist/definitions/Highlight/Highlight.d.ts +10 -5
  15. package/dist/definitions/Highlight/Highlight.d.ts.map +1 -1
  16. package/dist/definitions/Highlight/hooks/useNativeAnimation.d.ts +18 -0
  17. package/dist/definitions/Highlight/hooks/useNativeAnimation.d.ts.map +1 -0
  18. package/dist/definitions/Highlight/hooks/useNativeAnimation.web.d.ts +3 -0
  19. package/dist/definitions/Highlight/hooks/useNativeAnimation.web.d.ts.map +1 -0
  20. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +4 -1
  21. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -1
  22. package/dist/definitions/TimePicker/TimePicker.d.ts +2 -0
  23. package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -1
  24. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -1
  25. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +37 -11
  26. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  27. package/dist/definitions/themes/default.d.ts +1 -4
  28. package/dist/definitions/themes/default.d.ts.map +1 -1
  29. package/dist/definitions/themes/late-ocean/forms.d.ts +1 -4
  30. package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
  31. package/dist/definitions/themes/late-ocean/highlight.d.ts +11 -2
  32. package/dist/definitions/themes/late-ocean/highlight.d.ts.map +1 -1
  33. package/dist/definitions/themes/late-ocean/input.d.ts +2 -2
  34. package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -1
  35. package/dist/definitions/themes/late-ocean/inputField.d.ts +1 -4
  36. package/dist/definitions/themes/late-ocean/inputField.d.ts.map +1 -1
  37. package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts +1 -1
  38. package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts.map +1 -1
  39. package/dist/index-metro.es.android.js +487 -205
  40. package/dist/index-metro.es.android.js.map +1 -1
  41. package/dist/index-metro.es.ios.js +487 -205
  42. package/dist/index-metro.es.ios.js.map +1 -1
  43. package/dist/index-node-20.10.cjs.js +486 -204
  44. package/dist/index-node-20.10.cjs.js.map +1 -1
  45. package/dist/index-node-20.10.cjs.web.css +1 -1
  46. package/dist/index-node-20.10.cjs.web.js +451 -203
  47. package/dist/index-node-20.10.cjs.web.js.map +1 -1
  48. package/dist/index-node-20.10.es.mjs +487 -205
  49. package/dist/index-node-20.10.es.mjs.map +1 -1
  50. package/dist/index-node-20.10.es.web.css +1 -1
  51. package/dist/index-node-20.10.es.web.mjs +452 -204
  52. package/dist/index-node-20.10.es.web.mjs.map +1 -1
  53. package/dist/index.es.js +501 -212
  54. package/dist/index.es.js.map +1 -1
  55. package/dist/index.es.web.js +467 -211
  56. package/dist/index.es.web.js.map +1 -1
  57. package/dist/linaria-themes-metro.es.android.js +212 -183
  58. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  59. package/dist/linaria-themes-metro.es.ios.js +212 -183
  60. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  61. package/dist/linaria-themes-node-20.10.cjs.js +212 -183
  62. package/dist/linaria-themes-node-20.10.cjs.js.map +1 -1
  63. package/dist/linaria-themes-node-20.10.cjs.web.js +212 -183
  64. package/dist/linaria-themes-node-20.10.cjs.web.js.map +1 -1
  65. package/dist/linaria-themes-node-20.10.es.mjs +212 -183
  66. package/dist/linaria-themes-node-20.10.es.mjs.map +1 -1
  67. package/dist/linaria-themes-node-20.10.es.web.mjs +212 -183
  68. package/dist/linaria-themes-node-20.10.es.web.mjs.map +1 -1
  69. package/dist/linaria-themes.es.js +218 -189
  70. package/dist/linaria-themes.es.js.map +1 -1
  71. package/dist/linaria-themes.es.web.js +218 -189
  72. package/dist/linaria-themes.es.web.js.map +1 -1
  73. package/dist/styles.css +1 -1
  74. package/dist/tsbuildinfo +1 -1
  75. package/package.json +1 -1
@@ -933,209 +933,64 @@ const datePicker = {
933
933
  }
934
934
  };
935
935
 
936
- const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
937
- /** @deprecated legacy typography type config is deprecated. */
938
- const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
939
- baseAndSmall: {
940
- fontSize: baseAndSmallFontSize,
941
- lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
942
- },
943
- mediumAndWide: {
944
- fontSize: mediumAndWideFontSize,
945
- lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
946
- }
947
- });
948
- const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
949
- const config = {
950
- fontSize,
951
- lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
952
- };
953
- return {
954
- baseAndSmall: config,
955
- mediumAndWide: config
956
- };
957
- };
958
- const typography = {
959
- colors: {
960
- black: colors.black,
961
- 'black-anthracite': colors.blackAnthracite,
962
- 'black-disabled': lateOceanColorPalette.black400,
963
- 'black-light': lateOceanColorPalette.black555,
964
- white: colors.white,
965
- 'white-light': colors.white,
966
- primary: colors.primary,
967
- 'primary-light': colors.primaryLight,
968
- accent: colors.accent,
969
- success: colors.success,
970
- danger: colors.danger,
971
- warning: colors.warning
972
- },
973
- types: {
974
- headings: {
975
- fontFamily: {
976
- native: {
977
- regular: 'Moderat-Bold',
978
- bold: 'Moderat-Bold'
979
- },
980
- web: {
981
- regular: 'Moderat',
982
- bold: 'Moderat'
983
- }
984
- },
985
- fontWeight: {
986
- regular: 400,
987
- bold: 700
988
- },
989
- fontStyle: 'normal',
990
- configs: {
991
- /* legacy */
992
- header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
993
- header2: createLegacyTypographyTypeConfig(1.2, 32, 48, 1.1),
994
- header3: createLegacyTypographyTypeConfig(1.2, 24, 40, 1.1),
995
- header4: createLegacyTypographyTypeConfig(1.3, 18, 24, 1.2),
996
- header5: createLegacyTypographyTypeConfig(1.3, 18, 18),
997
- /* latest */
998
- 'heading-xxl': createTypographyConfig(56, 1.1),
999
- 'heading-xl': createTypographyConfig(48, 1.1),
1000
- 'heading-l': createTypographyConfig(40, 1.1),
1001
- 'heading-m': createTypographyConfig(32, 1.2),
1002
- 'heading-s': createTypographyConfig(24, 1.2),
1003
- 'heading-xs': createTypographyConfig(18, 1.3),
1004
- 'heading-xxs': createTypographyConfig(16, 1.3)
1005
- }
1006
- },
1007
- 'headings-impact': {
1008
- fontFamily: {
1009
- native: {
1010
- regular: 'Transducer-Black',
1011
- bold: 'Transducer-Black'
1012
- },
1013
- web: {
1014
- regular: 'TransducerBlack',
1015
- bold: 'TransducerBlack'
1016
- }
1017
- },
1018
- fontWeight: 900,
1019
- fontStyle: 'normal',
1020
- configs: {
1021
- /* legacy */
1022
- 'header-impact-xxl': createLegacyTypographyTypeConfig(1.2, 56, 56),
1023
- 'header-impact-xl': createLegacyTypographyTypeConfig(1.2, 48, 48),
1024
- 'header-impact-l': createLegacyTypographyTypeConfig(1.2, 40, 40),
1025
- 'header-impact-m': createLegacyTypographyTypeConfig(1.2, 32, 32),
1026
- 'header-impact-s': createLegacyTypographyTypeConfig(1.2, 24, 24),
1027
- 'header-impact-xs': createLegacyTypographyTypeConfig(1.2, 18, 18),
1028
- 'header-impact-xxs': createLegacyTypographyTypeConfig(1.2, 16, 16),
1029
- 'header-impact-xxxs': createLegacyTypographyTypeConfig(1.2, 14, 14),
1030
- /* latest */
1031
- 'heading-impact-xxl': createTypographyConfig(56, 1.2),
1032
- 'heading-impact-xl': createTypographyConfig(48, 1.2),
1033
- 'heading-impact-l': createTypographyConfig(40, 1.2),
1034
- 'heading-impact-m': createTypographyConfig(32, 1.2),
1035
- 'heading-impact-s': createTypographyConfig(24, 1.2),
1036
- 'heading-impact-xs': createTypographyConfig(18, 1.2),
1037
- 'heading-impact-xxs': createTypographyConfig(16, 1.2),
1038
- 'heading-impact-xxxs': createTypographyConfig(14, 1.2)
1039
- }
1040
- },
1041
- bodies: {
1042
- fontFamily: {
1043
- web: {
1044
- regular: 'Moderat',
1045
- bold: 'Moderat'
1046
- },
1047
- native: {
1048
- regular: 'Moderat-Regular',
1049
- bold: 'Moderat-Bold'
1050
- }
1051
- },
1052
- fontWeight: {
1053
- regular: 400,
1054
- bold: 700
1055
- },
1056
- fontStyle: {
1057
- regular: 'normal',
1058
- bold: 'normal'
1059
- },
1060
- configs: {
1061
- /* legacy */
1062
- 'body-large': createLegacyTypographyTypeConfig(1.4, 18, 24),
1063
- 'body-medium': createLegacyTypographyTypeConfig(1.4, 18, 18),
1064
- body: createLegacyTypographyTypeConfig(1.4, 16, 16),
1065
- 'body-small': createLegacyTypographyTypeConfig(1.4, 14, 14),
1066
- 'body-xsmall': createLegacyTypographyTypeConfig(1.4, 12, 12),
1067
- /* latest */
1068
- 'body-xl': createTypographyConfig(24, 1.4),
1069
- 'body-l': createTypographyConfig(18, 1.4),
1070
- 'body-m': createTypographyConfig(16, 1.4),
1071
- 'body-s': createTypographyConfig(14, 1.4),
1072
- 'body-xs': createTypographyConfig(12, 1.4)
1073
- }
1074
- }
1075
- },
1076
- link: {
1077
- /** @deprecated not used in kitt anymore, use Typography instead */
1078
- disabledColor: colors.blackDisabled
1079
- }
1080
- };
1081
-
1082
936
  const inputStatesStyle = {
1083
937
  default: {
1084
- backgroundColor: colors.uiBackgroundLight,
1085
- borderColor: colors.separator,
1086
- color: colors.black
938
+ backgroundColor: lateOceanColorPalette.white,
939
+ borderColor: lateOceanColorPalette['eggshell.4'],
940
+ color: lateOceanColorPalette.black
1087
941
  },
1088
942
  pending: {
1089
- backgroundColor: colors.uiBackgroundLight,
1090
- borderColor: colors.separator,
1091
- color: colors.black
943
+ backgroundColor: lateOceanColorPalette.white,
944
+ borderColor: lateOceanColorPalette['eggshell.3'],
945
+ color: lateOceanColorPalette.black
1092
946
  },
1093
947
  valid: {
1094
- backgroundColor: colors.uiBackgroundLight,
1095
- borderColor: lateOceanColorPalette.black100,
1096
- color: colors.black
948
+ backgroundColor: lateOceanColorPalette.white,
949
+ borderColor: lateOceanColorPalette['eggshell.4'],
950
+ color: lateOceanColorPalette.black
1097
951
  },
1098
952
  hover: {
1099
- borderColor: lateOceanColorPalette.black200,
1100
- color: colors.black
953
+ backgroundColor: lateOceanColorPalette['eggshell.1'],
954
+ borderColor: lateOceanColorPalette['eggshell.5'],
955
+ color: lateOceanColorPalette.black
1101
956
  },
1102
957
  focus: {
1103
- borderColor: colors.primary,
1104
- color: colors.black
958
+ borderColor: lateOceanColorPalette['violine.9'],
959
+ color: lateOceanColorPalette.black
1105
960
  },
1106
961
  disabled: {
1107
- backgroundColor: colors.disabled,
1108
- borderColor: colors.separator,
1109
- color: colors.blackDisabled
962
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
963
+ borderColor: lateOceanColorPalette['eggshell.4'],
964
+ color: lateOceanColorPalette['eggshell.6']
1110
965
  },
1111
966
  invalid: {
1112
- borderColor: colors.separator,
1113
- color: colors.black
967
+ borderColor: lateOceanColorPalette['eggshell.3'],
968
+ color: lateOceanColorPalette.black
1114
969
  }
1115
970
  };
1116
971
  const webAnimationDuration = '200ms';
1117
972
  const webAnimationTimingFunction = 'ease-in-out';
1118
- const webAnimationProperty = 'border-color';
973
+ const webAnimationProperties = ['border-color', 'background-color'];
1119
974
  const input = {
1120
975
  minHeight: 40,
1121
976
  color: {
1122
- selection: colors.primary,
1123
- placeholder: typography.colors['black-light']
977
+ selection: lateOceanColorPalette['violine.9'],
978
+ placeholder: lateOceanColorPalette['eggshell.9']
1124
979
  },
1125
- borderWidth: 2,
1126
- borderRadius: 10,
980
+ borderWidth: 1,
981
+ borderRadius: 8,
1127
982
  icon: {
1128
983
  size: 20
1129
984
  },
1130
985
  rightContainer: {
1131
- padding: 10
986
+ padding: 16
1132
987
  },
1133
988
  padding: {
1134
989
  horizontal: 16,
1135
- vertical: 5
990
+ vertical: 0
1136
991
  },
1137
992
  transition: {
1138
- property: webAnimationProperty,
993
+ properties: webAnimationProperties,
1139
994
  duration: webAnimationDuration,
1140
995
  timingFunction: webAnimationTimingFunction
1141
996
  },
@@ -1145,11 +1000,8 @@ const input = {
1145
1000
  const inputField = {
1146
1001
  containerPaddingTop: 5,
1147
1002
  containerPaddingBottom: 10,
1148
- feedbackPaddingTop: {
1149
- base: 5,
1150
- small: 10
1151
- },
1152
- labelContainerPaddingBottom: 5,
1003
+ feedbackPaddingTop: 4,
1004
+ labelContainerPaddingBottom: 4,
1153
1005
  labelFeedbackMarginLeft: 6
1154
1006
  };
1155
1007
 
@@ -1281,21 +1133,52 @@ const fullscreenModal = {
1281
1133
  };
1282
1134
 
1283
1135
  const highlight = {
1284
- borderRadius: spacing * 5,
1136
+ borderRadius: spacing * 2,
1285
1137
  /** @deprecated use primary instead */
1286
1138
  regular: {
1287
- backgroundColor: colors.accentLight
1139
+ default: {
1140
+ backgroundColor: colors.accentLight
1141
+ },
1142
+ hover: {
1143
+ backgroundColor: colors.accentLight
1144
+ }
1288
1145
  },
1289
1146
  primary: {
1290
- backgroundColor: colors.accentLight
1147
+ default: {
1148
+ backgroundColor: lateOceanColorPalette['lavender.3']
1149
+ },
1150
+ hover: {
1151
+ backgroundColor: lateOceanColorPalette['lavender.5']
1152
+ }
1291
1153
  },
1292
1154
  secondary: {
1293
- backgroundColor: lateOceanColorPalette.moonPurple
1155
+ default: {
1156
+ backgroundColor: lateOceanColorPalette['violine.2']
1157
+ },
1158
+ hover: {
1159
+ backgroundColor: lateOceanColorPalette['violine.4']
1160
+ }
1161
+ },
1162
+ ghost: {
1163
+ default: {
1164
+ backgroundColor: lateOceanColorPalette.white
1165
+ },
1166
+ hover: {
1167
+ backgroundColor: lateOceanColorPalette['eggshell.2']
1168
+ }
1294
1169
  },
1295
1170
  dark: {
1296
- backgroundColor: lateOceanColorPalette.black100
1171
+ default: {
1172
+ backgroundColor: lateOceanColorPalette['eggshell.3']
1173
+ },
1174
+ hover: {
1175
+ backgroundColor: lateOceanColorPalette['eggshell.2']
1176
+ }
1297
1177
  },
1298
- padding: spacing * 5
1178
+ padding: {
1179
+ medium: spacing * 4,
1180
+ large: spacing * 6
1181
+ }
1299
1182
  };
1300
1183
 
1301
1184
  const getIconSizeFromFontSize = fontSize => {
@@ -1418,6 +1301,152 @@ const pageLoader = {
1418
1301
  }
1419
1302
  };
1420
1303
 
1304
+ const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
1305
+ /** @deprecated legacy typography type config is deprecated. */
1306
+ const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
1307
+ baseAndSmall: {
1308
+ fontSize: baseAndSmallFontSize,
1309
+ lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
1310
+ },
1311
+ mediumAndWide: {
1312
+ fontSize: mediumAndWideFontSize,
1313
+ lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
1314
+ }
1315
+ });
1316
+ const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
1317
+ const config = {
1318
+ fontSize,
1319
+ lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
1320
+ };
1321
+ return {
1322
+ baseAndSmall: config,
1323
+ mediumAndWide: config
1324
+ };
1325
+ };
1326
+ const typography = {
1327
+ colors: {
1328
+ black: colors.black,
1329
+ 'black-anthracite': colors.blackAnthracite,
1330
+ 'black-disabled': lateOceanColorPalette.black400,
1331
+ 'black-light': lateOceanColorPalette.black555,
1332
+ white: colors.white,
1333
+ 'white-light': colors.white,
1334
+ primary: colors.primary,
1335
+ 'primary-light': colors.primaryLight,
1336
+ accent: colors.accent,
1337
+ success: colors.success,
1338
+ danger: colors.danger,
1339
+ warning: colors.warning
1340
+ },
1341
+ types: {
1342
+ headings: {
1343
+ fontFamily: {
1344
+ native: {
1345
+ regular: 'Moderat-Bold',
1346
+ bold: 'Moderat-Bold'
1347
+ },
1348
+ web: {
1349
+ regular: 'Moderat',
1350
+ bold: 'Moderat'
1351
+ }
1352
+ },
1353
+ fontWeight: {
1354
+ regular: 400,
1355
+ bold: 700
1356
+ },
1357
+ fontStyle: 'normal',
1358
+ configs: {
1359
+ /* legacy */
1360
+ header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
1361
+ header2: createLegacyTypographyTypeConfig(1.2, 32, 48, 1.1),
1362
+ header3: createLegacyTypographyTypeConfig(1.2, 24, 40, 1.1),
1363
+ header4: createLegacyTypographyTypeConfig(1.3, 18, 24, 1.2),
1364
+ header5: createLegacyTypographyTypeConfig(1.3, 18, 18),
1365
+ /* latest */
1366
+ 'heading-xxl': createTypographyConfig(56, 1.1),
1367
+ 'heading-xl': createTypographyConfig(48, 1.1),
1368
+ 'heading-l': createTypographyConfig(40, 1.1),
1369
+ 'heading-m': createTypographyConfig(32, 1.2),
1370
+ 'heading-s': createTypographyConfig(24, 1.2),
1371
+ 'heading-xs': createTypographyConfig(18, 1.3),
1372
+ 'heading-xxs': createTypographyConfig(16, 1.3)
1373
+ }
1374
+ },
1375
+ 'headings-impact': {
1376
+ fontFamily: {
1377
+ native: {
1378
+ regular: 'Transducer-Black',
1379
+ bold: 'Transducer-Black'
1380
+ },
1381
+ web: {
1382
+ regular: 'TransducerBlack',
1383
+ bold: 'TransducerBlack'
1384
+ }
1385
+ },
1386
+ fontWeight: 900,
1387
+ fontStyle: 'normal',
1388
+ configs: {
1389
+ /* legacy */
1390
+ 'header-impact-xxl': createLegacyTypographyTypeConfig(1.2, 56, 56),
1391
+ 'header-impact-xl': createLegacyTypographyTypeConfig(1.2, 48, 48),
1392
+ 'header-impact-l': createLegacyTypographyTypeConfig(1.2, 40, 40),
1393
+ 'header-impact-m': createLegacyTypographyTypeConfig(1.2, 32, 32),
1394
+ 'header-impact-s': createLegacyTypographyTypeConfig(1.2, 24, 24),
1395
+ 'header-impact-xs': createLegacyTypographyTypeConfig(1.2, 18, 18),
1396
+ 'header-impact-xxs': createLegacyTypographyTypeConfig(1.2, 16, 16),
1397
+ 'header-impact-xxxs': createLegacyTypographyTypeConfig(1.2, 14, 14),
1398
+ /* latest */
1399
+ 'heading-impact-xxl': createTypographyConfig(56, 1.2),
1400
+ 'heading-impact-xl': createTypographyConfig(48, 1.2),
1401
+ 'heading-impact-l': createTypographyConfig(40, 1.2),
1402
+ 'heading-impact-m': createTypographyConfig(32, 1.2),
1403
+ 'heading-impact-s': createTypographyConfig(24, 1.2),
1404
+ 'heading-impact-xs': createTypographyConfig(18, 1.2),
1405
+ 'heading-impact-xxs': createTypographyConfig(16, 1.2),
1406
+ 'heading-impact-xxxs': createTypographyConfig(14, 1.2)
1407
+ }
1408
+ },
1409
+ bodies: {
1410
+ fontFamily: {
1411
+ web: {
1412
+ regular: 'Moderat',
1413
+ bold: 'Moderat'
1414
+ },
1415
+ native: {
1416
+ regular: 'Moderat-Regular',
1417
+ bold: 'Moderat-Bold'
1418
+ }
1419
+ },
1420
+ fontWeight: {
1421
+ regular: 400,
1422
+ bold: 700
1423
+ },
1424
+ fontStyle: {
1425
+ regular: 'normal',
1426
+ bold: 'normal'
1427
+ },
1428
+ configs: {
1429
+ /* legacy */
1430
+ 'body-large': createLegacyTypographyTypeConfig(1.4, 18, 24),
1431
+ 'body-medium': createLegacyTypographyTypeConfig(1.4, 18, 18),
1432
+ body: createLegacyTypographyTypeConfig(1.4, 16, 16),
1433
+ 'body-small': createLegacyTypographyTypeConfig(1.4, 14, 14),
1434
+ 'body-xsmall': createLegacyTypographyTypeConfig(1.4, 12, 12),
1435
+ /* latest */
1436
+ 'body-xl': createTypographyConfig(24, 1.4),
1437
+ 'body-l': createTypographyConfig(18, 1.4),
1438
+ 'body-m': createTypographyConfig(16, 1.4),
1439
+ 'body-s': createTypographyConfig(14, 1.4),
1440
+ 'body-xs': createTypographyConfig(12, 1.4)
1441
+ }
1442
+ }
1443
+ },
1444
+ link: {
1445
+ /** @deprecated not used in kitt anymore, use Typography instead */
1446
+ disabledColor: colors.blackDisabled
1447
+ }
1448
+ };
1449
+
1421
1450
  const picker = {
1422
1451
  ios: {
1423
1452
  default: _objectSpread(_objectSpread({