@ornikar/kitt-universal 32.4.0 → 32.5.1-canary.69cd09143dd992620decf0a9f846b68e573511e3.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 (45) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/definitions/Highlight/Highlight.d.ts +1 -1
  3. package/dist/definitions/Highlight/Highlight.d.ts.map +1 -1
  4. package/dist/definitions/Picker/Picker.web.d.ts.map +1 -1
  5. package/dist/definitions/themes/late-ocean/highlight.d.ts +1 -0
  6. package/dist/definitions/themes/late-ocean/highlight.d.ts.map +1 -1
  7. package/dist/definitions/themes/late-ocean/picker.d.ts +4 -0
  8. package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
  9. package/dist/index-metro.es.android.js +21 -8
  10. package/dist/index-metro.es.android.js.map +1 -1
  11. package/dist/index-metro.es.ios.js +21 -8
  12. package/dist/index-metro.es.ios.js.map +1 -1
  13. package/dist/index-node-22.17.cjs.js +21 -8
  14. package/dist/index-node-22.17.cjs.js.map +1 -1
  15. package/dist/index-node-22.17.cjs.web.css +22 -4
  16. package/dist/index-node-22.17.cjs.web.js +96 -71
  17. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  18. package/dist/index-node-22.17.es.mjs +21 -8
  19. package/dist/index-node-22.17.es.mjs.map +1 -1
  20. package/dist/index-node-22.17.es.web.css +22 -4
  21. package/dist/index-node-22.17.es.web.mjs +96 -71
  22. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  23. package/dist/index.es.js +21 -8
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.es.web.js +91 -68
  26. package/dist/index.es.web.js.map +1 -1
  27. package/dist/linaria-themes-metro.es.android.js +9 -4
  28. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  29. package/dist/linaria-themes-metro.es.ios.js +9 -4
  30. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  31. package/dist/linaria-themes-node-22.17.cjs.js +9 -4
  32. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  33. package/dist/linaria-themes-node-22.17.cjs.web.js +9 -4
  34. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  35. package/dist/linaria-themes-node-22.17.es.mjs +9 -4
  36. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  37. package/dist/linaria-themes-node-22.17.es.web.mjs +9 -4
  38. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  39. package/dist/linaria-themes.es.js +9 -4
  40. package/dist/linaria-themes.es.js.map +1 -1
  41. package/dist/linaria-themes.es.web.js +9 -4
  42. package/dist/linaria-themes.es.web.js.map +1 -1
  43. package/dist/styles.css +22 -4
  44. package/dist/tsbuildinfo +1 -1
  45. package/package.json +2 -2
@@ -1054,10 +1054,10 @@ const autocomplete = {
1054
1054
  };
1055
1055
 
1056
1056
  const checkbox = {
1057
- borderWidth: 2,
1058
- borderRadius: 5,
1059
- height: 20,
1060
- width: 20,
1057
+ borderWidth: 1,
1058
+ borderRadius: 4,
1059
+ height: 24,
1060
+ width: 24,
1061
1061
  iconSize: 14,
1062
1062
  markColor: colors.uiBackgroundLight,
1063
1063
  textSpacing: 10,
@@ -2002,6 +2002,7 @@ const highlight = {
2002
2002
  }
2003
2003
  },
2004
2004
  padding: {
2005
+ small: spacing * 2,
2005
2006
  medium: spacing * 4,
2006
2007
  large: spacing * 6
2007
2008
  }
@@ -2281,6 +2282,10 @@ const typography = {
2281
2282
 
2282
2283
  const picker = {
2283
2284
  maxWidthFixed: 320,
2285
+ animation: {
2286
+ duration: 300,
2287
+ timingFunction: 'ease-in-out'
2288
+ },
2284
2289
  ios: {
2285
2290
  default: {
2286
2291
  fontFamily: typography.types.bodies.fontFamily.native.regular,
@@ -8792,6 +8797,9 @@ const useNativeAnimation$1 = ({
8792
8797
  };
8793
8798
  };
8794
8799
 
8800
+ const getTitleTypographyType = size => {
8801
+ return size === 'small' ? 'label-medium' : 'label-large';
8802
+ };
8795
8803
  function Highlight({
8796
8804
  variant = 'primary',
8797
8805
  canCollapse = false,
@@ -8806,6 +8814,11 @@ function Highlight({
8806
8814
  const [contentHeight, setContentHeight] = useState(0);
8807
8815
  const [isInitialRender, setIsInitialRender] = useState(true);
8808
8816
  const highlightStyle = {
8817
+ small: {
8818
+ marginBottom: 'kitt.1',
8819
+ spaceBetween: 'kitt.2',
8820
+ contentMarginY: 8
8821
+ },
8809
8822
  medium: {
8810
8823
  marginBottom: 'kitt.1',
8811
8824
  spaceBetween: 'kitt.2',
@@ -8853,8 +8866,8 @@ function Highlight({
8853
8866
  children: [title && /*#__PURE__*/jsx(View, {
8854
8867
  marginBottom: highlightStyle[size].marginBottom,
8855
8868
  children: /*#__PURE__*/jsx(Typography.Text, {
8856
- variant: "bold",
8857
- base: "body-m",
8869
+ variant: "semibold",
8870
+ base: getTitleTypographyType(size),
8858
8871
  ellipsizeMode: "clip",
8859
8872
  children: title
8860
8873
  })
@@ -8889,8 +8902,8 @@ function Highlight({
8889
8902
  flexShrink: 1,
8890
8903
  width: "100%",
8891
8904
  children: /*#__PURE__*/jsx(Typography.Text, {
8892
- variant: "bold",
8893
- base: "body-m",
8905
+ variant: "semibold",
8906
+ base: getTitleTypographyType(size),
8894
8907
  ellipsizeMode: "clip",
8895
8908
  children: title
8896
8909
  })