@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
package/dist/index.es.js CHANGED
@@ -1072,10 +1072,10 @@ var autocomplete = {
1072
1072
  };
1073
1073
 
1074
1074
  var checkbox = {
1075
- borderWidth: 2,
1076
- borderRadius: 5,
1077
- height: 20,
1078
- width: 20,
1075
+ borderWidth: 1,
1076
+ borderRadius: 4,
1077
+ height: 24,
1078
+ width: 24,
1079
1079
  iconSize: 14,
1080
1080
  markColor: colors.uiBackgroundLight,
1081
1081
  textSpacing: 10,
@@ -2020,6 +2020,7 @@ var highlight = {
2020
2020
  }
2021
2021
  },
2022
2022
  padding: {
2023
+ small: spacing * 2,
2023
2024
  medium: spacing * 4,
2024
2025
  large: spacing * 6
2025
2026
  }
@@ -2299,6 +2300,10 @@ var typography = {
2299
2300
 
2300
2301
  var picker = {
2301
2302
  maxWidthFixed: 320,
2303
+ animation: {
2304
+ duration: 300,
2305
+ timingFunction: 'ease-in-out'
2306
+ },
2302
2307
  ios: {
2303
2308
  "default": _objectSpread(_objectSpread({
2304
2309
  fontFamily: typography.types.bodies.fontFamily["native"].regular
@@ -9027,6 +9032,9 @@ var useNativeAnimation$1 = function (_ref) {
9027
9032
  };
9028
9033
  };
9029
9034
 
9035
+ var getTitleTypographyType = function (size) {
9036
+ return size === 'small' ? 'label-medium' : 'label-large';
9037
+ };
9030
9038
  function Highlight(_ref) {
9031
9039
  var _ref$variant = _ref.variant,
9032
9040
  variant = _ref$variant === void 0 ? 'primary' : _ref$variant,
@@ -9054,6 +9062,11 @@ function Highlight(_ref) {
9054
9062
  isInitialRender = _useState6[0],
9055
9063
  setIsInitialRender = _useState6[1];
9056
9064
  var highlightStyle = {
9065
+ small: {
9066
+ marginBottom: 'kitt.1',
9067
+ spaceBetween: 'kitt.2',
9068
+ contentMarginY: 8
9069
+ },
9057
9070
  medium: {
9058
9071
  marginBottom: 'kitt.1',
9059
9072
  spaceBetween: 'kitt.2',
@@ -9100,8 +9113,8 @@ function Highlight(_ref) {
9100
9113
  children: [title && /*#__PURE__*/jsx(View, {
9101
9114
  marginBottom: highlightStyle[size].marginBottom,
9102
9115
  children: /*#__PURE__*/jsx(Typography.Text, {
9103
- variant: "bold",
9104
- base: "body-m",
9116
+ variant: "semibold",
9117
+ base: getTitleTypographyType(size),
9105
9118
  ellipsizeMode: "clip",
9106
9119
  children: title
9107
9120
  })
@@ -9135,8 +9148,8 @@ function Highlight(_ref) {
9135
9148
  flexShrink: 1,
9136
9149
  width: "100%",
9137
9150
  children: /*#__PURE__*/jsx(Typography.Text, {
9138
- variant: "bold",
9139
- base: "body-m",
9151
+ variant: "semibold",
9152
+ base: getTitleTypographyType(size),
9140
9153
  ellipsizeMode: "clip",
9141
9154
  children: title
9142
9155
  })