@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
package/dist/index.es.js CHANGED
@@ -691,6 +691,10 @@ var button = {
691
691
  "default": 40,
692
692
  medium: 48
693
693
  },
694
+ minHeight: {
695
+ "default": 40,
696
+ medium: 48
697
+ },
694
698
  maxHeight: 48,
695
699
  icon: {
696
700
  medium: {
@@ -2145,8 +2149,8 @@ var typography = {
2145
2149
  allowedFontWeights: ['semibold']
2146
2150
  },
2147
2151
  'heading-l': {
2148
- fontSize: 40,
2149
- lineHeight: 48,
2152
+ fontSize: 38,
2153
+ lineHeight: 44,
2150
2154
  allowedFontWeights: ['semibold']
2151
2155
  },
2152
2156
  'heading-m': {
@@ -2155,14 +2159,19 @@ var typography = {
2155
2159
  allowedFontWeights: ['semibold']
2156
2160
  },
2157
2161
  'heading-s': {
2158
- fontSize: 18,
2159
- lineHeight: 20,
2160
- allowedFontWeights: ['regular', 'bold']
2162
+ fontSize: 24,
2163
+ lineHeight: 28,
2164
+ allowedFontWeights: ['semibold']
2161
2165
  },
2162
2166
  'heading-xs': {
2167
+ fontSize: 20,
2168
+ lineHeight: 24,
2169
+ allowedFontWeights: ['semibold']
2170
+ },
2171
+ 'heading-xxs': {
2163
2172
  fontSize: 16,
2164
- lineHeight: 18,
2165
- allowedFontWeights: ['regular', 'bold']
2173
+ lineHeight: 20,
2174
+ allowedFontWeights: ['semibold']
2166
2175
  }
2167
2176
  }
2168
2177
  },
@@ -2229,17 +2238,17 @@ var typography = {
2229
2238
  configs: {
2230
2239
  'label-large': {
2231
2240
  fontSize: 16,
2232
- lineHeight: 24,
2241
+ lineHeight: 20,
2233
2242
  allowedFontWeights: ['semibold']
2234
2243
  },
2235
2244
  'label-medium': {
2236
2245
  fontSize: 14,
2237
- lineHeight: 20,
2246
+ lineHeight: 18,
2238
2247
  allowedFontWeights: ['semibold']
2239
2248
  },
2240
2249
  'label-small': {
2241
2250
  fontSize: 12,
2242
- lineHeight: 16,
2251
+ lineHeight: 14,
2243
2252
  allowedFontWeights: ['semibold']
2244
2253
  }
2245
2254
  }
@@ -2300,10 +2309,6 @@ var typography = {
2300
2309
 
2301
2310
  var picker = {
2302
2311
  maxWidthFixed: 320,
2303
- animation: {
2304
- duration: 300,
2305
- timingFunction: 'ease-in-out'
2306
- },
2307
2312
  ios: {
2308
2313
  "default": _objectSpread(_objectSpread({
2309
2314
  fontFamily: typography.types.bodies.fontFamily["native"].regular
@@ -3155,7 +3160,8 @@ function AnimatedContainer$2(_ref) {
3155
3160
  borderRadius: 'kitt.button.borderRadius',
3156
3161
  backgroundColor: currentBackgroundColor,
3157
3162
  width: width,
3158
- height: height
3163
+ height: height,
3164
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
3159
3165
  });
3160
3166
  return /*#__PURE__*/jsx(Animated.View, {
3161
3167
  style: disabled ? [styles] : [styles, animatedStyles],
@@ -3875,6 +3881,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
3875
3881
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3876
3882
  minWidth: "kitt.button.minWidth",
3877
3883
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3884
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3878
3885
  maxHeight: "kitt.button.maxHeight",
3879
3886
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3880
3887
  onPress: onPress,
@@ -10888,6 +10895,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10888
10895
  button: {
10889
10896
  minWidth: theme.button.minWidth,
10890
10897
  maxWidth: theme.button.maxWidth,
10898
+ minHeight: {
10899
+ "default": theme.button.minHeight["default"],
10900
+ medium: theme.button.minHeight.medium
10901
+ },
10891
10902
  maxHeight: theme.button.maxHeight,
10892
10903
  height: {
10893
10904
  "default": theme.button.height["default"],
@@ -11504,6 +11515,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11504
11515
  'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
11505
11516
  'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
11506
11517
  'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
11518
+ 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
11507
11519
  'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
11508
11520
  'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
11509
11521
  'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
@@ -11527,6 +11539,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11527
11539
  'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
11528
11540
  'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
11529
11541
  'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
11542
+ 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
11530
11543
  'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
11531
11544
  'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
11532
11545
  'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
@@ -13307,7 +13320,7 @@ function StoryTitleLevel4(_ref4) {
13307
13320
  return /*#__PURE__*/jsx(View, {
13308
13321
  marginBottom: 10,
13309
13322
  children: /*#__PURE__*/jsx(Typography.Header4, {
13310
- base: "heading-s",
13323
+ base: "body-l",
13311
13324
  color: useStoryBlockColor(color),
13312
13325
  numberOfLines: numberOfLines,
13313
13326
  children: children
@@ -13928,7 +13941,7 @@ function ToastContent(_ref) {
13928
13941
  flexGrow: 1,
13929
13942
  flexShrink: 1,
13930
13943
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13931
- base: "heading-xs",
13944
+ base: "body-m",
13932
13945
  color: "white",
13933
13946
  children: title
13934
13947
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13944,7 +13957,7 @@ function ToastContent(_ref) {
13944
13957
  borderColor: "white",
13945
13958
  onPress: onPress,
13946
13959
  children: /*#__PURE__*/jsx(Typography.Text, {
13947
- base: "heading-xs",
13960
+ base: "body-m",
13948
13961
  color: "white",
13949
13962
  children: actionLabel
13950
13963
  })