@ornikar/kitt-universal 32.5.1-canary.fa4369620bc01acac1d789322911d6bc321a3a45.0 → 32.5.1

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 (53) hide show
  1. package/CHANGELOG.md +2 -14
  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 +3 -9
  7. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  8. package/dist/definitions/themes/default.d.ts +0 -5
  9. package/dist/definitions/themes/default.d.ts.map +1 -1
  10. package/dist/definitions/themes/late-ocean/button.d.ts +0 -3
  11. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
  12. package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
  13. package/dist/definitions/themes/late-ocean/typography.d.ts +0 -5
  14. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  15. package/dist/definitions/typography/Typography.d.ts +1 -1
  16. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  17. package/dist/index-metro.es.android.js +14 -31
  18. package/dist/index-metro.es.android.js.map +1 -1
  19. package/dist/index-metro.es.ios.js +14 -31
  20. package/dist/index-metro.es.ios.js.map +1 -1
  21. package/dist/index-node-22.17.cjs.js +14 -31
  22. package/dist/index-node-22.17.cjs.js.map +1 -1
  23. package/dist/index-node-22.17.cjs.web.css +22 -4
  24. package/dist/index-node-22.17.cjs.web.js +38 -55
  25. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  26. package/dist/index-node-22.17.es.mjs +14 -31
  27. package/dist/index-node-22.17.es.mjs.map +1 -1
  28. package/dist/index-node-22.17.es.web.css +22 -4
  29. package/dist/index-node-22.17.es.web.mjs +38 -55
  30. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  31. package/dist/index.es.js +14 -31
  32. package/dist/index.es.js.map +1 -1
  33. package/dist/index.es.web.js +38 -55
  34. package/dist/index.es.web.js.map +1 -1
  35. package/dist/linaria-themes-metro.es.android.js +10 -19
  36. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  37. package/dist/linaria-themes-metro.es.ios.js +10 -19
  38. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  39. package/dist/linaria-themes-node-22.17.cjs.js +10 -19
  40. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  41. package/dist/linaria-themes-node-22.17.cjs.web.js +10 -19
  42. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  43. package/dist/linaria-themes-node-22.17.es.mjs +10 -19
  44. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  45. package/dist/linaria-themes-node-22.17.es.web.mjs +10 -19
  46. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  47. package/dist/linaria-themes.es.js +10 -19
  48. package/dist/linaria-themes.es.js.map +1 -1
  49. package/dist/linaria-themes.es.web.js +10 -19
  50. package/dist/linaria-themes.es.web.js.map +1 -1
  51. package/dist/styles.css +22 -4
  52. package/dist/tsbuildinfo +1 -1
  53. package/package.json +1 -1
@@ -697,10 +697,6 @@ const button = {
697
697
  default: 40,
698
698
  medium: 48
699
699
  },
700
- minHeight: {
701
- default: 40,
702
- medium: 48
703
- },
704
700
  maxHeight: 48,
705
701
  icon: {
706
702
  medium: {
@@ -2155,8 +2151,8 @@ const typography = {
2155
2151
  allowedFontWeights: ['semibold']
2156
2152
  },
2157
2153
  'heading-l': {
2158
- fontSize: 38,
2159
- lineHeight: 44,
2154
+ fontSize: 40,
2155
+ lineHeight: 48,
2160
2156
  allowedFontWeights: ['semibold']
2161
2157
  },
2162
2158
  'heading-m': {
@@ -2165,19 +2161,14 @@ const typography = {
2165
2161
  allowedFontWeights: ['semibold']
2166
2162
  },
2167
2163
  'heading-s': {
2168
- fontSize: 24,
2169
- lineHeight: 28,
2170
- allowedFontWeights: ['semibold']
2164
+ fontSize: 18,
2165
+ lineHeight: 20,
2166
+ allowedFontWeights: ['regular', 'bold']
2171
2167
  },
2172
2168
  'heading-xs': {
2173
- fontSize: 20,
2174
- lineHeight: 24,
2175
- allowedFontWeights: ['semibold']
2176
- },
2177
- 'heading-xxs': {
2178
2169
  fontSize: 16,
2179
- lineHeight: 20,
2180
- allowedFontWeights: ['semibold']
2170
+ lineHeight: 18,
2171
+ allowedFontWeights: ['regular', 'bold']
2181
2172
  }
2182
2173
  }
2183
2174
  },
@@ -2244,17 +2235,17 @@ const typography = {
2244
2235
  configs: {
2245
2236
  'label-large': {
2246
2237
  fontSize: 16,
2247
- lineHeight: 20,
2238
+ lineHeight: 24,
2248
2239
  allowedFontWeights: ['semibold']
2249
2240
  },
2250
2241
  'label-medium': {
2251
2242
  fontSize: 14,
2252
- lineHeight: 18,
2243
+ lineHeight: 20,
2253
2244
  allowedFontWeights: ['semibold']
2254
2245
  },
2255
2246
  'label-small': {
2256
2247
  fontSize: 12,
2257
- lineHeight: 14,
2248
+ lineHeight: 16,
2258
2249
  allowedFontWeights: ['semibold']
2259
2250
  }
2260
2251
  }
@@ -3160,8 +3151,7 @@ function AnimatedContainer$2({
3160
3151
  borderRadius: 'kitt.button.borderRadius',
3161
3152
  backgroundColor: currentBackgroundColor,
3162
3153
  width,
3163
- height,
3164
- minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
3154
+ height
3165
3155
  });
3166
3156
  return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
3167
3157
  style: disabled ? [styles] : [styles, animatedStyles],
@@ -3879,7 +3869,6 @@ const Button = /*#__PURE__*/React.forwardRef(({
3879
3869
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3880
3870
  minWidth: "kitt.button.minWidth",
3881
3871
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3882
- minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3883
3872
  maxHeight: "kitt.button.maxHeight",
3884
3873
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3885
3874
  onPress: onPress,
@@ -10671,10 +10660,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10671
10660
  button: {
10672
10661
  minWidth: theme.button.minWidth,
10673
10662
  maxWidth: theme.button.maxWidth,
10674
- minHeight: {
10675
- default: theme.button.minHeight.default,
10676
- medium: theme.button.minHeight.medium
10677
- },
10678
10663
  maxHeight: theme.button.maxHeight,
10679
10664
  height: {
10680
10665
  default: theme.button.height.default,
@@ -11296,7 +11281,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11296
11281
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
11297
11282
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
11298
11283
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
11299
- 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
11300
11284
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
11301
11285
  'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
11302
11286
  'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
@@ -11320,7 +11304,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11320
11304
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
11321
11305
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
11322
11306
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
11323
- 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
11324
11307
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
11325
11308
  'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
11326
11309
  'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
@@ -13092,7 +13075,7 @@ function StoryTitleLevel4({
13092
13075
  return /*#__PURE__*/jsxRuntime.jsx(View, {
13093
13076
  marginBottom: 10,
13094
13077
  children: /*#__PURE__*/jsxRuntime.jsx(Typography.Header4, {
13095
- base: "body-l",
13078
+ base: "heading-s",
13096
13079
  color: useStoryBlockColor(color),
13097
13080
  numberOfLines: numberOfLines,
13098
13081
  children: children
@@ -13700,7 +13683,7 @@ function ToastContent({
13700
13683
  flexGrow: 1,
13701
13684
  flexShrink: 1,
13702
13685
  children: [title ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
13703
- base: "body-m",
13686
+ base: "heading-xs",
13704
13687
  color: "white",
13705
13688
  children: title
13706
13689
  }) : null, description ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
@@ -13716,7 +13699,7 @@ function ToastContent({
13716
13699
  borderColor: "white",
13717
13700
  onPress: onPress,
13718
13701
  children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
13719
- base: "body-m",
13702
+ base: "heading-xs",
13720
13703
  color: "white",
13721
13704
  children: actionLabel
13722
13705
  })