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