@ornikar/kitt-universal 32.5.1-canary.69cd09143dd992620decf0a9f846b68e573511e3.0 → 32.5.1-canary.fa4369620bc01acac1d789322911d6bc321a3a45.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 (54) hide show
  1. package/CHANGELOG.md +14 -2
  2. package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -1
  3. package/dist/definitions/Button/AnimatedContainer.web.d.ts.map +1 -1
  4. package/dist/definitions/Button/Button.d.ts.map +1 -1
  5. package/dist/definitions/Picker/Picker.web.d.ts.map +1 -1
  6. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +9 -3
  7. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  8. package/dist/definitions/themes/default.d.ts +5 -0
  9. package/dist/definitions/themes/default.d.ts.map +1 -1
  10. package/dist/definitions/themes/late-ocean/button.d.ts +3 -0
  11. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
  12. package/dist/definitions/themes/late-ocean/picker.d.ts +0 -4
  13. package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
  14. package/dist/definitions/themes/late-ocean/typography.d.ts +5 -0
  15. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  16. package/dist/definitions/typography/Typography.d.ts +1 -1
  17. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  18. package/dist/index-metro.es.android.js +31 -18
  19. package/dist/index-metro.es.android.js.map +1 -1
  20. package/dist/index-metro.es.ios.js +31 -18
  21. package/dist/index-metro.es.ios.js.map +1 -1
  22. package/dist/index-node-22.17.cjs.js +31 -18
  23. package/dist/index-node-22.17.cjs.js.map +1 -1
  24. package/dist/index-node-22.17.cjs.web.css +4 -22
  25. package/dist/index-node-22.17.cjs.web.js +94 -92
  26. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  27. package/dist/index-node-22.17.es.mjs +31 -18
  28. package/dist/index-node-22.17.es.mjs.map +1 -1
  29. package/dist/index-node-22.17.es.web.css +4 -22
  30. package/dist/index-node-22.17.es.web.mjs +94 -92
  31. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  32. package/dist/index.es.js +31 -18
  33. package/dist/index.es.js.map +1 -1
  34. package/dist/index.es.web.js +91 -87
  35. package/dist/index.es.web.js.map +1 -1
  36. package/dist/linaria-themes-metro.es.android.js +19 -14
  37. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  38. package/dist/linaria-themes-metro.es.ios.js +19 -14
  39. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  40. package/dist/linaria-themes-node-22.17.cjs.js +19 -14
  41. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  42. package/dist/linaria-themes-node-22.17.cjs.web.js +19 -14
  43. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  44. package/dist/linaria-themes-node-22.17.es.mjs +19 -14
  45. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  46. package/dist/linaria-themes-node-22.17.es.web.mjs +19 -14
  47. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  48. package/dist/linaria-themes.es.js +19 -14
  49. package/dist/linaria-themes.es.js.map +1 -1
  50. package/dist/linaria-themes.es.web.js +19 -14
  51. package/dist/linaria-themes.es.web.js.map +1 -1
  52. package/dist/styles.css +4 -22
  53. package/dist/tsbuildinfo +1 -1
  54. package/package.json +1 -1
@@ -673,6 +673,10 @@ const button = {
673
673
  default: 40,
674
674
  medium: 48
675
675
  },
676
+ minHeight: {
677
+ default: 40,
678
+ medium: 48
679
+ },
676
680
  maxHeight: 48,
677
681
  icon: {
678
682
  medium: {
@@ -2127,8 +2131,8 @@ const typography = {
2127
2131
  allowedFontWeights: ['semibold']
2128
2132
  },
2129
2133
  'heading-l': {
2130
- fontSize: 40,
2131
- lineHeight: 48,
2134
+ fontSize: 38,
2135
+ lineHeight: 44,
2132
2136
  allowedFontWeights: ['semibold']
2133
2137
  },
2134
2138
  'heading-m': {
@@ -2137,14 +2141,19 @@ const typography = {
2137
2141
  allowedFontWeights: ['semibold']
2138
2142
  },
2139
2143
  'heading-s': {
2140
- fontSize: 18,
2141
- lineHeight: 20,
2142
- allowedFontWeights: ['regular', 'bold']
2144
+ fontSize: 24,
2145
+ lineHeight: 28,
2146
+ allowedFontWeights: ['semibold']
2143
2147
  },
2144
2148
  'heading-xs': {
2149
+ fontSize: 20,
2150
+ lineHeight: 24,
2151
+ allowedFontWeights: ['semibold']
2152
+ },
2153
+ 'heading-xxs': {
2145
2154
  fontSize: 16,
2146
- lineHeight: 18,
2147
- allowedFontWeights: ['regular', 'bold']
2155
+ lineHeight: 20,
2156
+ allowedFontWeights: ['semibold']
2148
2157
  }
2149
2158
  }
2150
2159
  },
@@ -2211,17 +2220,17 @@ const typography = {
2211
2220
  configs: {
2212
2221
  'label-large': {
2213
2222
  fontSize: 16,
2214
- lineHeight: 24,
2223
+ lineHeight: 20,
2215
2224
  allowedFontWeights: ['semibold']
2216
2225
  },
2217
2226
  'label-medium': {
2218
2227
  fontSize: 14,
2219
- lineHeight: 20,
2228
+ lineHeight: 18,
2220
2229
  allowedFontWeights: ['semibold']
2221
2230
  },
2222
2231
  'label-small': {
2223
2232
  fontSize: 12,
2224
- lineHeight: 16,
2233
+ lineHeight: 14,
2225
2234
  allowedFontWeights: ['semibold']
2226
2235
  }
2227
2236
  }
@@ -2282,10 +2291,6 @@ const typography = {
2282
2291
 
2283
2292
  const picker = {
2284
2293
  maxWidthFixed: 320,
2285
- animation: {
2286
- duration: 300,
2287
- timingFunction: 'ease-in-out'
2288
- },
2289
2294
  ios: {
2290
2295
  default: {
2291
2296
  fontFamily: typography.types.bodies.fontFamily.native.regular,
@@ -3131,7 +3136,8 @@ function AnimatedContainer$2({
3131
3136
  borderRadius: 'kitt.button.borderRadius',
3132
3137
  backgroundColor: currentBackgroundColor,
3133
3138
  width,
3134
- height
3139
+ height,
3140
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
3135
3141
  });
3136
3142
  return /*#__PURE__*/jsx(Animated.View, {
3137
3143
  style: disabled ? [styles] : [styles, animatedStyles],
@@ -3849,6 +3855,7 @@ const Button = /*#__PURE__*/forwardRef(({
3849
3855
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3850
3856
  minWidth: "kitt.button.minWidth",
3851
3857
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3858
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3852
3859
  maxHeight: "kitt.button.maxHeight",
3853
3860
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3854
3861
  onPress: onPress,
@@ -10640,6 +10647,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10640
10647
  button: {
10641
10648
  minWidth: theme.button.minWidth,
10642
10649
  maxWidth: theme.button.maxWidth,
10650
+ minHeight: {
10651
+ default: theme.button.minHeight.default,
10652
+ medium: theme.button.minHeight.medium
10653
+ },
10643
10654
  maxHeight: theme.button.maxHeight,
10644
10655
  height: {
10645
10656
  default: theme.button.height.default,
@@ -11261,6 +11272,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11261
11272
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
11262
11273
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
11263
11274
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
11275
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
11264
11276
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
11265
11277
  'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
11266
11278
  'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
@@ -11284,6 +11296,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11284
11296
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
11285
11297
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
11286
11298
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
11299
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
11287
11300
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
11288
11301
  'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
11289
11302
  'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
@@ -13055,7 +13068,7 @@ function StoryTitleLevel4({
13055
13068
  return /*#__PURE__*/jsx(View, {
13056
13069
  marginBottom: 10,
13057
13070
  children: /*#__PURE__*/jsx(Typography.Header4, {
13058
- base: "heading-s",
13071
+ base: "body-l",
13059
13072
  color: useStoryBlockColor(color),
13060
13073
  numberOfLines: numberOfLines,
13061
13074
  children: children
@@ -13663,7 +13676,7 @@ function ToastContent({
13663
13676
  flexGrow: 1,
13664
13677
  flexShrink: 1,
13665
13678
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13666
- base: "heading-xs",
13679
+ base: "body-m",
13667
13680
  color: "white",
13668
13681
  children: title
13669
13682
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13679,7 +13692,7 @@ function ToastContent({
13679
13692
  borderColor: "white",
13680
13693
  onPress: onPress,
13681
13694
  children: /*#__PURE__*/jsx(Typography.Text, {
13682
- base: "heading-xs",
13695
+ base: "body-m",
13683
13696
  color: "white",
13684
13697
  children: actionLabel
13685
13698
  })