@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
@@ -697,6 +697,10 @@ const button = {
697
697
  default: 40,
698
698
  medium: 48
699
699
  },
700
+ minHeight: {
701
+ default: 40,
702
+ medium: 48
703
+ },
700
704
  maxHeight: 48,
701
705
  icon: {
702
706
  medium: {
@@ -2151,8 +2155,8 @@ const typography = {
2151
2155
  allowedFontWeights: ['semibold']
2152
2156
  },
2153
2157
  'heading-l': {
2154
- fontSize: 40,
2155
- lineHeight: 48,
2158
+ fontSize: 38,
2159
+ lineHeight: 44,
2156
2160
  allowedFontWeights: ['semibold']
2157
2161
  },
2158
2162
  'heading-m': {
@@ -2161,14 +2165,19 @@ const typography = {
2161
2165
  allowedFontWeights: ['semibold']
2162
2166
  },
2163
2167
  'heading-s': {
2164
- fontSize: 18,
2165
- lineHeight: 20,
2166
- allowedFontWeights: ['regular', 'bold']
2168
+ fontSize: 24,
2169
+ lineHeight: 28,
2170
+ allowedFontWeights: ['semibold']
2167
2171
  },
2168
2172
  'heading-xs': {
2173
+ fontSize: 20,
2174
+ lineHeight: 24,
2175
+ allowedFontWeights: ['semibold']
2176
+ },
2177
+ 'heading-xxs': {
2169
2178
  fontSize: 16,
2170
- lineHeight: 18,
2171
- allowedFontWeights: ['regular', 'bold']
2179
+ lineHeight: 20,
2180
+ allowedFontWeights: ['semibold']
2172
2181
  }
2173
2182
  }
2174
2183
  },
@@ -2235,17 +2244,17 @@ const typography = {
2235
2244
  configs: {
2236
2245
  'label-large': {
2237
2246
  fontSize: 16,
2238
- lineHeight: 24,
2247
+ lineHeight: 20,
2239
2248
  allowedFontWeights: ['semibold']
2240
2249
  },
2241
2250
  'label-medium': {
2242
2251
  fontSize: 14,
2243
- lineHeight: 20,
2252
+ lineHeight: 18,
2244
2253
  allowedFontWeights: ['semibold']
2245
2254
  },
2246
2255
  'label-small': {
2247
2256
  fontSize: 12,
2248
- lineHeight: 16,
2257
+ lineHeight: 14,
2249
2258
  allowedFontWeights: ['semibold']
2250
2259
  }
2251
2260
  }
@@ -2306,10 +2315,6 @@ const typography = {
2306
2315
 
2307
2316
  const picker = {
2308
2317
  maxWidthFixed: 320,
2309
- animation: {
2310
- duration: 300,
2311
- timingFunction: 'ease-in-out'
2312
- },
2313
2318
  ios: {
2314
2319
  default: {
2315
2320
  fontFamily: typography.types.bodies.fontFamily.native.regular,
@@ -3155,7 +3160,8 @@ function AnimatedContainer$2({
3155
3160
  borderRadius: 'kitt.button.borderRadius',
3156
3161
  backgroundColor: currentBackgroundColor,
3157
3162
  width,
3158
- height
3163
+ height,
3164
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
3159
3165
  });
3160
3166
  return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
3161
3167
  style: disabled ? [styles] : [styles, animatedStyles],
@@ -3873,6 +3879,7 @@ const Button = /*#__PURE__*/React.forwardRef(({
3873
3879
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3874
3880
  minWidth: "kitt.button.minWidth",
3875
3881
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3882
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3876
3883
  maxHeight: "kitt.button.maxHeight",
3877
3884
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3878
3885
  onPress: onPress,
@@ -10664,6 +10671,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10664
10671
  button: {
10665
10672
  minWidth: theme.button.minWidth,
10666
10673
  maxWidth: theme.button.maxWidth,
10674
+ minHeight: {
10675
+ default: theme.button.minHeight.default,
10676
+ medium: theme.button.minHeight.medium
10677
+ },
10667
10678
  maxHeight: theme.button.maxHeight,
10668
10679
  height: {
10669
10680
  default: theme.button.height.default,
@@ -11285,6 +11296,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11285
11296
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
11286
11297
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
11287
11298
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
11299
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
11288
11300
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
11289
11301
  'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
11290
11302
  'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
@@ -11308,6 +11320,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11308
11320
  'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
11309
11321
  'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
11310
11322
  'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
11323
+ 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
11311
11324
  'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
11312
11325
  'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
11313
11326
  'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
@@ -13079,7 +13092,7 @@ function StoryTitleLevel4({
13079
13092
  return /*#__PURE__*/jsxRuntime.jsx(View, {
13080
13093
  marginBottom: 10,
13081
13094
  children: /*#__PURE__*/jsxRuntime.jsx(Typography.Header4, {
13082
- base: "heading-s",
13095
+ base: "body-l",
13083
13096
  color: useStoryBlockColor(color),
13084
13097
  numberOfLines: numberOfLines,
13085
13098
  children: children
@@ -13687,7 +13700,7 @@ function ToastContent({
13687
13700
  flexGrow: 1,
13688
13701
  flexShrink: 1,
13689
13702
  children: [title ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
13690
- base: "heading-xs",
13703
+ base: "body-m",
13691
13704
  color: "white",
13692
13705
  children: title
13693
13706
  }) : null, description ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
@@ -13703,7 +13716,7 @@ function ToastContent({
13703
13716
  borderColor: "white",
13704
13717
  onPress: onPress,
13705
13718
  children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
13706
- base: "heading-xs",
13719
+ base: "body-m",
13707
13720
  color: "white",
13708
13721
  children: actionLabel
13709
13722
  })