@ornikar/kitt-universal 32.5.3-canary.00f8f98ae6299285821fb6a87eab9440995c7566.0 → 32.5.4-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.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 (48) hide show
  1. package/CHANGELOG.md +18 -4
  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/native-base/KittNativeBaseProvider.d.ts +9 -3
  6. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  7. package/dist/definitions/themes/default.d.ts +5 -0
  8. package/dist/definitions/themes/default.d.ts.map +1 -1
  9. package/dist/definitions/themes/late-ocean/button.d.ts +3 -0
  10. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
  11. package/dist/definitions/themes/late-ocean/typography.d.ts +5 -0
  12. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  13. package/dist/definitions/typography/Typography.d.ts +1 -1
  14. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  15. package/dist/index-metro.es.android.js +31 -14
  16. package/dist/index-metro.es.android.js.map +1 -1
  17. package/dist/index-metro.es.ios.js +31 -14
  18. package/dist/index-metro.es.ios.js.map +1 -1
  19. package/dist/index-node-22.17.cjs.js +31 -14
  20. package/dist/index-node-22.17.cjs.js.map +1 -1
  21. package/dist/index-node-22.17.cjs.web.js +31 -13
  22. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  23. package/dist/index-node-22.17.es.mjs +31 -14
  24. package/dist/index-node-22.17.es.mjs.map +1 -1
  25. package/dist/index-node-22.17.es.web.mjs +31 -13
  26. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  27. package/dist/index.es.js +31 -14
  28. package/dist/index.es.js.map +1 -1
  29. package/dist/index.es.web.js +31 -13
  30. package/dist/index.es.web.js.map +1 -1
  31. package/dist/linaria-themes-metro.es.android.js +19 -10
  32. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  33. package/dist/linaria-themes-metro.es.ios.js +19 -10
  34. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  35. package/dist/linaria-themes-node-22.17.cjs.js +19 -10
  36. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  37. package/dist/linaria-themes-node-22.17.cjs.web.js +19 -10
  38. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  39. package/dist/linaria-themes-node-22.17.es.mjs +19 -10
  40. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  41. package/dist/linaria-themes-node-22.17.es.web.mjs +19 -10
  42. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  43. package/dist/linaria-themes.es.js +19 -10
  44. package/dist/linaria-themes.es.js.map +1 -1
  45. package/dist/linaria-themes.es.web.js +19 -10
  46. package/dist/linaria-themes.es.web.js.map +1 -1
  47. package/dist/tsbuildinfo +1 -1
  48. 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
  }
@@ -3127,7 +3136,8 @@ function AnimatedContainer$2({
3127
3136
  borderRadius: 'kitt.button.borderRadius',
3128
3137
  backgroundColor: currentBackgroundColor,
3129
3138
  width,
3130
- height
3139
+ height,
3140
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
3131
3141
  });
3132
3142
  return /*#__PURE__*/jsx(Animated.View, {
3133
3143
  style: disabled ? [styles] : [styles, animatedStyles],
@@ -3845,6 +3855,7 @@ const Button = /*#__PURE__*/forwardRef(({
3845
3855
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3846
3856
  minWidth: "kitt.button.minWidth",
3847
3857
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3858
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3848
3859
  maxHeight: "kitt.button.maxHeight",
3849
3860
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3850
3861
  onPress: onPress,
@@ -10647,6 +10658,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10647
10658
  button: {
10648
10659
  minWidth: theme.button.minWidth,
10649
10660
  maxWidth: theme.button.maxWidth,
10661
+ minHeight: {
10662
+ default: theme.button.minHeight.default,
10663
+ medium: theme.button.minHeight.medium
10664
+ },
10650
10665
  maxHeight: theme.button.maxHeight,
10651
10666
  height: {
10652
10667
  default: theme.button.height.default,
@@ -11268,6 +11283,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11268
11283
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
11269
11284
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
11270
11285
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
11286
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
11271
11287
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
11272
11288
  'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
11273
11289
  'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
@@ -11291,6 +11307,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11291
11307
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
11292
11308
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
11293
11309
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
11310
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
11294
11311
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
11295
11312
  'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
11296
11313
  'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
@@ -13062,7 +13079,7 @@ function StoryTitleLevel4({
13062
13079
  return /*#__PURE__*/jsx(View, {
13063
13080
  marginBottom: 10,
13064
13081
  children: /*#__PURE__*/jsx(Typography.Header4, {
13065
- base: "heading-s",
13082
+ base: "body-l",
13066
13083
  color: useStoryBlockColor(color),
13067
13084
  numberOfLines: numberOfLines,
13068
13085
  children: children
@@ -13670,7 +13687,7 @@ function ToastContent({
13670
13687
  flexGrow: 1,
13671
13688
  flexShrink: 1,
13672
13689
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13673
- base: "heading-xs",
13690
+ base: "body-m",
13674
13691
  color: "white",
13675
13692
  children: title
13676
13693
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13686,7 +13703,7 @@ function ToastContent({
13686
13703
  borderColor: "white",
13687
13704
  onPress: onPress,
13688
13705
  children: /*#__PURE__*/jsx(Typography.Text, {
13689
- base: "heading-xs",
13706
+ base: "body-m",
13690
13707
  color: "white",
13691
13708
  children: actionLabel
13692
13709
  })