@ornikar/kitt-universal 32.5.3 → 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 +20 -0
  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
@@ -689,6 +689,10 @@ var button = {
689
689
  "default": 40,
690
690
  medium: 48
691
691
  },
692
+ minHeight: {
693
+ "default": 40,
694
+ medium: 48
695
+ },
692
696
  maxHeight: 48,
693
697
  icon: {
694
698
  medium: {
@@ -2143,8 +2147,8 @@ var typography = {
2143
2147
  allowedFontWeights: ['semibold']
2144
2148
  },
2145
2149
  'heading-l': {
2146
- fontSize: 40,
2147
- lineHeight: 48,
2150
+ fontSize: 38,
2151
+ lineHeight: 44,
2148
2152
  allowedFontWeights: ['semibold']
2149
2153
  },
2150
2154
  'heading-m': {
@@ -2153,14 +2157,19 @@ var typography = {
2153
2157
  allowedFontWeights: ['semibold']
2154
2158
  },
2155
2159
  'heading-s': {
2156
- fontSize: 18,
2157
- lineHeight: 20,
2158
- allowedFontWeights: ['regular', 'bold']
2160
+ fontSize: 24,
2161
+ lineHeight: 28,
2162
+ allowedFontWeights: ['semibold']
2159
2163
  },
2160
2164
  'heading-xs': {
2165
+ fontSize: 20,
2166
+ lineHeight: 24,
2167
+ allowedFontWeights: ['semibold']
2168
+ },
2169
+ 'heading-xxs': {
2161
2170
  fontSize: 16,
2162
- lineHeight: 18,
2163
- allowedFontWeights: ['regular', 'bold']
2171
+ lineHeight: 20,
2172
+ allowedFontWeights: ['semibold']
2164
2173
  }
2165
2174
  }
2166
2175
  },
@@ -2227,17 +2236,17 @@ var typography = {
2227
2236
  configs: {
2228
2237
  'label-large': {
2229
2238
  fontSize: 16,
2230
- lineHeight: 24,
2239
+ lineHeight: 20,
2231
2240
  allowedFontWeights: ['semibold']
2232
2241
  },
2233
2242
  'label-medium': {
2234
2243
  fontSize: 14,
2235
- lineHeight: 20,
2244
+ lineHeight: 18,
2236
2245
  allowedFontWeights: ['semibold']
2237
2246
  },
2238
2247
  'label-small': {
2239
2248
  fontSize: 12,
2240
- lineHeight: 16,
2249
+ lineHeight: 14,
2241
2250
  allowedFontWeights: ['semibold']
2242
2251
  }
2243
2252
  }
@@ -3158,7 +3167,9 @@ function AnimatedContainer$2(_ref) {
3158
3167
  },
3159
3168
  width: width,
3160
3169
  height: height,
3170
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3161
3171
  alignSelf: "baseline",
3172
+ justifyContent: "center",
3162
3173
  borderRadius: "kitt.button.borderRadius",
3163
3174
  backgroundColor: currentBackgroundColor,
3164
3175
  children: children
@@ -3857,6 +3868,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
3857
3868
  alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
3858
3869
  minWidth: "kitt.button.minWidth",
3859
3870
  maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
3871
+ minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
3860
3872
  maxHeight: "kitt.button.maxHeight",
3861
3873
  width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
3862
3874
  onPress: onPress,
@@ -10180,6 +10192,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10180
10192
  button: {
10181
10193
  minWidth: theme.button.minWidth,
10182
10194
  maxWidth: theme.button.maxWidth,
10195
+ minHeight: {
10196
+ "default": theme.button.minHeight["default"],
10197
+ medium: theme.button.minHeight.medium
10198
+ },
10183
10199
  maxHeight: theme.button.maxHeight,
10184
10200
  height: {
10185
10201
  "default": theme.button.height["default"],
@@ -10796,6 +10812,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10796
10812
  'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
10797
10813
  'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
10798
10814
  'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
10815
+ 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
10799
10816
  'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
10800
10817
  'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
10801
10818
  'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
@@ -10819,6 +10836,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10819
10836
  'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
10820
10837
  'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
10821
10838
  'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
10839
+ 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
10822
10840
  'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
10823
10841
  'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
10824
10842
  'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
@@ -12652,7 +12670,7 @@ function StoryTitleLevel4(_ref4) {
12652
12670
  return /*#__PURE__*/jsx(View, {
12653
12671
  marginBottom: 10,
12654
12672
  children: /*#__PURE__*/jsx(Typography.Header4, {
12655
- base: "heading-s",
12673
+ base: "body-l",
12656
12674
  color: useStoryBlockColor(color),
12657
12675
  numberOfLines: numberOfLines,
12658
12676
  children: children
@@ -13205,7 +13223,7 @@ function ToastContent(_ref) {
13205
13223
  flexGrow: 1,
13206
13224
  flexShrink: 1,
13207
13225
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13208
- base: "heading-xs",
13226
+ base: "body-m",
13209
13227
  color: "white",
13210
13228
  children: title
13211
13229
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13221,7 +13239,7 @@ function ToastContent(_ref) {
13221
13239
  borderColor: "white",
13222
13240
  onPress: onPress,
13223
13241
  children: /*#__PURE__*/jsx(Typography.Text, {
13224
- base: "heading-xs",
13242
+ base: "body-m",
13225
13243
  color: "white",
13226
13244
  children: actionLabel
13227
13245
  })