@ornikar/kitt-universal 7.1.1 → 7.2.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.
Files changed (32) hide show
  1. package/dist/definitions/themes/default.d.ts +2 -0
  2. package/dist/definitions/themes/default.d.ts.map +1 -1
  3. package/dist/definitions/themes/late-ocean/colors.d.ts +2 -0
  4. package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -1
  5. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  6. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  7. package/dist/index-browser-all.es.android.js +14 -11
  8. package/dist/index-browser-all.es.android.js.map +1 -1
  9. package/dist/index-browser-all.es.ios.js +14 -11
  10. package/dist/index-browser-all.es.ios.js.map +1 -1
  11. package/dist/index-browser-all.es.js +14 -11
  12. package/dist/index-browser-all.es.js.map +1 -1
  13. package/dist/index-browser-all.es.web.js +14 -11
  14. package/dist/index-browser-all.es.web.js.map +1 -1
  15. package/dist/index-node-14.17.cjs.js +15 -13
  16. package/dist/index-node-14.17.cjs.js.map +1 -1
  17. package/dist/index-node-14.17.cjs.web.js +15 -13
  18. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  19. package/dist/linaria-themes-browser-all.es.android.js +11 -9
  20. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  21. package/dist/linaria-themes-browser-all.es.ios.js +11 -9
  22. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  23. package/dist/linaria-themes-browser-all.es.js +11 -9
  24. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  25. package/dist/linaria-themes-browser-all.es.web.js +11 -9
  26. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  27. package/dist/linaria-themes-node-14.17.cjs.js +11 -9
  28. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  29. package/dist/linaria-themes-node-14.17.cjs.web.js +11 -9
  30. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  31. package/dist/tsbuildinfo +1 -1
  32. package/package.json +2 -2
@@ -4,7 +4,7 @@ import { UserIcon, CheckboxMark, XIcon, EyeOffIcon, EyeIcon, ArcIcon, InfoIcon,
4
4
  export * from '@ornikar/kitt-icons';
5
5
  import { useWindowDimensions, Platform, Image, Linking, Pressable, StyleSheet, ScrollView, Modal as Modal$1, Text as Text$1, TextInput, View, Animated as Animated$1, Easing, ActivityIndicator } from 'react-native';
6
6
  export { useWindowDimensions as useWindowSize } from 'react-native';
7
- import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
7
+ import styled, { css, useTheme, ThemeProvider } from 'styled-components/native';
8
8
  import { cloneElement, useContext, createContext, forwardRef, useMemo, useState, useRef, useEffect, Fragment as Fragment$1, Children } from 'react';
9
9
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
10
10
  import Animated, { useSharedValue, useAnimatedStyle, interpolateColor, withSpring, withRepeat, withTiming, Easing as Easing$1, interpolate } from 'react-native-reanimated';
@@ -146,7 +146,8 @@ var StyledTypography = /*#__PURE__*/styled.Text.withConfig({
146
146
  }, function (_ref2) {
147
147
  var theme = _ref2.theme,
148
148
  $color = _ref2.$color;
149
- return !$color ? '' : "\n color: ".concat(theme.kitt.typography.colors[$color], ";\n text-decoration-color: ").concat(theme.kitt.typography.colors[$color], ";\n ");
149
+ if (!$color) return '';
150
+ return css(["color:", ";text-decoration-color:", ";"], theme.kitt.typography.colors[$color], theme.kitt.typography.colors[$color]);
150
151
  });
151
152
  function useTypographyTypeForCurrentWindowSize(base, small, medium, large) {
152
153
  var _useWindowDimensions = useWindowDimensions(),
@@ -910,7 +911,9 @@ var colors = {
910
911
  warning: lateOceanColorPalette.goldCrayola,
911
912
  separator: lateOceanColorPalette.black100,
912
913
  hover: lateOceanColorPalette.black100,
914
+ white: lateOceanColorPalette.white,
913
915
  black: lateOceanColorPalette.black1000,
916
+ blackAnthracite: lateOceanColorPalette.black800,
914
917
  uiBackground: lateOceanColorPalette.black25,
915
918
  uiBackgroundLight: lateOceanColorPalette.white,
916
919
  transparent: lateOceanColorPalette.transparent,
@@ -1103,16 +1106,16 @@ var createTypographyTypeConfig = function (lineHeightMultiplier, baseAndSmallFon
1103
1106
  };
1104
1107
  var typography = {
1105
1108
  colors: {
1106
- black: lateOceanColorPalette.black1000,
1107
- 'black-anthracite': lateOceanColorPalette.black800,
1109
+ black: colors.black,
1110
+ 'black-anthracite': colors.blackAnthracite,
1108
1111
  'black-light': lateOceanColorPalette.black555,
1109
- white: lateOceanColorPalette.white,
1110
- 'white-light': lateOceanColorPalette.white,
1111
- primary: lateOceanColorPalette.lateOcean,
1112
- 'primary-light': lateOceanColorPalette.lateOceanLight1,
1113
- accent: lateOceanColorPalette.warmEmbrace,
1114
- success: lateOceanColorPalette.viride,
1115
- danger: lateOceanColorPalette.englishVermillon
1112
+ white: colors.white,
1113
+ 'white-light': colors.white,
1114
+ primary: colors.primary,
1115
+ 'primary-light': colors.primaryLight,
1116
+ accent: colors.accent,
1117
+ success: colors.success,
1118
+ danger: colors.danger
1116
1119
  },
1117
1120
  types: {
1118
1121
  headers: {