@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
@@ -671,6 +671,10 @@ const button = {
671
671
  default: 40,
672
672
  medium: 48
673
673
  },
674
+ minHeight: {
675
+ default: 40,
676
+ medium: 48
677
+ },
674
678
  maxHeight: 48,
675
679
  icon: {
676
680
  medium: {
@@ -2125,8 +2129,8 @@ const typography = {
2125
2129
  allowedFontWeights: ['semibold']
2126
2130
  },
2127
2131
  'heading-l': {
2128
- fontSize: 40,
2129
- lineHeight: 48,
2132
+ fontSize: 38,
2133
+ lineHeight: 44,
2130
2134
  allowedFontWeights: ['semibold']
2131
2135
  },
2132
2136
  'heading-m': {
@@ -2135,14 +2139,19 @@ const typography = {
2135
2139
  allowedFontWeights: ['semibold']
2136
2140
  },
2137
2141
  'heading-s': {
2138
- fontSize: 18,
2139
- lineHeight: 20,
2140
- allowedFontWeights: ['regular', 'bold']
2142
+ fontSize: 24,
2143
+ lineHeight: 28,
2144
+ allowedFontWeights: ['semibold']
2141
2145
  },
2142
2146
  'heading-xs': {
2147
+ fontSize: 20,
2148
+ lineHeight: 24,
2149
+ allowedFontWeights: ['semibold']
2150
+ },
2151
+ 'heading-xxs': {
2143
2152
  fontSize: 16,
2144
- lineHeight: 18,
2145
- allowedFontWeights: ['regular', 'bold']
2153
+ lineHeight: 20,
2154
+ allowedFontWeights: ['semibold']
2146
2155
  }
2147
2156
  }
2148
2157
  },
@@ -2209,17 +2218,17 @@ const typography = {
2209
2218
  configs: {
2210
2219
  'label-large': {
2211
2220
  fontSize: 16,
2212
- lineHeight: 24,
2221
+ lineHeight: 20,
2213
2222
  allowedFontWeights: ['semibold']
2214
2223
  },
2215
2224
  'label-medium': {
2216
2225
  fontSize: 14,
2217
- lineHeight: 20,
2226
+ lineHeight: 18,
2218
2227
  allowedFontWeights: ['semibold']
2219
2228
  },
2220
2229
  'label-small': {
2221
2230
  fontSize: 12,
2222
- lineHeight: 16,
2231
+ lineHeight: 14,
2223
2232
  allowedFontWeights: ['semibold']
2224
2233
  }
2225
2234
  }
@@ -3137,7 +3146,9 @@ function AnimatedContainer$2({
3137
3146
  },
3138
3147
  width: width,
3139
3148
  height: height,
3149
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3140
3150
  alignSelf: "baseline",
3151
+ justifyContent: "center",
3141
3152
  borderRadius: "kitt.button.borderRadius",
3142
3153
  backgroundColor: currentBackgroundColor,
3143
3154
  children: children
@@ -3833,6 +3844,7 @@ const Button = /*#__PURE__*/forwardRef(({
3833
3844
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3834
3845
  minWidth: "kitt.button.minWidth",
3835
3846
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3847
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3836
3848
  maxHeight: "kitt.button.maxHeight",
3837
3849
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3838
3850
  onPress: onPress,
@@ -9985,6 +9997,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9985
9997
  button: {
9986
9998
  minWidth: theme.button.minWidth,
9987
9999
  maxWidth: theme.button.maxWidth,
10000
+ minHeight: {
10001
+ default: theme.button.minHeight.default,
10002
+ medium: theme.button.minHeight.medium
10003
+ },
9988
10004
  maxHeight: theme.button.maxHeight,
9989
10005
  height: {
9990
10006
  default: theme.button.height.default,
@@ -10606,6 +10622,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10606
10622
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
10607
10623
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
10608
10624
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
10625
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
10609
10626
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
10610
10627
  'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
10611
10628
  'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
@@ -10629,6 +10646,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10629
10646
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
10630
10647
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
10631
10648
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
10649
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
10632
10650
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
10633
10651
  'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
10634
10652
  'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
@@ -12459,7 +12477,7 @@ function StoryTitleLevel4({
12459
12477
  return /*#__PURE__*/jsx(View, {
12460
12478
  marginBottom: 10,
12461
12479
  children: /*#__PURE__*/jsx(Typography.Header4, {
12462
- base: "heading-s",
12480
+ base: "body-l",
12463
12481
  color: useStoryBlockColor(color),
12464
12482
  numberOfLines: numberOfLines,
12465
12483
  children: children
@@ -13008,7 +13026,7 @@ function ToastContent({
13008
13026
  flexGrow: 1,
13009
13027
  flexShrink: 1,
13010
13028
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13011
- base: "heading-xs",
13029
+ base: "body-m",
13012
13030
  color: "white",
13013
13031
  children: title
13014
13032
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13024,7 +13042,7 @@ function ToastContent({
13024
13042
  borderColor: "white",
13025
13043
  onPress: onPress,
13026
13044
  children: /*#__PURE__*/jsx(Typography.Text, {
13027
- base: "heading-xs",
13045
+ base: "body-m",
13028
13046
  color: "white",
13029
13047
  children: actionLabel
13030
13048
  })