@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
@@ -157,10 +157,10 @@ const StyledTypography = /*#__PURE__*/styled__default.Text.withConfig({
157
157
  }, ({
158
158
  theme,
159
159
  $color
160
- }) => !$color ? '' : `
161
- color: ${theme.kitt.typography.colors[$color]};
162
- text-decoration-color: ${theme.kitt.typography.colors[$color]};
163
- `);
160
+ }) => {
161
+ if (!$color) return '';
162
+ return styled.css(["color:", ";text-decoration-color:", ";"], theme.kitt.typography.colors[$color], theme.kitt.typography.colors[$color]);
163
+ });
164
164
  function useTypographyTypeForCurrentWindowSize(base, small, medium, large) {
165
165
  const {
166
166
  width
@@ -922,7 +922,9 @@ const colors = {
922
922
  warning: lateOceanColorPalette.goldCrayola,
923
923
  separator: lateOceanColorPalette.black100,
924
924
  hover: lateOceanColorPalette.black100,
925
+ white: lateOceanColorPalette.white,
925
926
  black: lateOceanColorPalette.black1000,
927
+ blackAnthracite: lateOceanColorPalette.black800,
926
928
  uiBackground: lateOceanColorPalette.black25,
927
929
  uiBackgroundLight: lateOceanColorPalette.white,
928
930
  transparent: lateOceanColorPalette.transparent,
@@ -1111,16 +1113,16 @@ const createTypographyTypeConfig = (lineHeightMultiplier, baseAndSmallFontSize,
1111
1113
  });
1112
1114
  const typography = {
1113
1115
  colors: {
1114
- black: lateOceanColorPalette.black1000,
1115
- 'black-anthracite': lateOceanColorPalette.black800,
1116
+ black: colors.black,
1117
+ 'black-anthracite': colors.blackAnthracite,
1116
1118
  'black-light': lateOceanColorPalette.black555,
1117
- white: lateOceanColorPalette.white,
1118
- 'white-light': lateOceanColorPalette.white,
1119
- primary: lateOceanColorPalette.lateOcean,
1120
- 'primary-light': lateOceanColorPalette.lateOceanLight1,
1121
- accent: lateOceanColorPalette.warmEmbrace,
1122
- success: lateOceanColorPalette.viride,
1123
- danger: lateOceanColorPalette.englishVermillon
1119
+ white: colors.white,
1120
+ 'white-light': colors.white,
1121
+ primary: colors.primary,
1122
+ 'primary-light': colors.primaryLight,
1123
+ accent: colors.accent,
1124
+ success: colors.success,
1125
+ danger: colors.danger
1124
1126
  },
1125
1127
  types: {
1126
1128
  headers: {