@ornikar/kitt-universal 32.5.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 (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 +2 -2
@@ -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,
@@ -10142,6 +10154,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10142
10154
  button: {
10143
10155
  minWidth: theme.button.minWidth,
10144
10156
  maxWidth: theme.button.maxWidth,
10157
+ minHeight: {
10158
+ "default": theme.button.minHeight["default"],
10159
+ medium: theme.button.minHeight.medium
10160
+ },
10145
10161
  maxHeight: theme.button.maxHeight,
10146
10162
  height: {
10147
10163
  "default": theme.button.height["default"],
@@ -10758,6 +10774,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10758
10774
  'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
10759
10775
  'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
10760
10776
  'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
10777
+ 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
10761
10778
  'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
10762
10779
  'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
10763
10780
  'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
@@ -10781,6 +10798,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10781
10798
  'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
10782
10799
  'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
10783
10800
  'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
10801
+ 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
10784
10802
  'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
10785
10803
  'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
10786
10804
  'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
@@ -12611,7 +12629,7 @@ function StoryTitleLevel4(_ref4) {
12611
12629
  return /*#__PURE__*/jsx(View, {
12612
12630
  marginBottom: 10,
12613
12631
  children: /*#__PURE__*/jsx(Typography.Header4, {
12614
- base: "heading-s",
12632
+ base: "body-l",
12615
12633
  color: useStoryBlockColor(color),
12616
12634
  numberOfLines: numberOfLines,
12617
12635
  children: children
@@ -13164,7 +13182,7 @@ function ToastContent(_ref) {
13164
13182
  flexGrow: 1,
13165
13183
  flexShrink: 1,
13166
13184
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13167
- base: "heading-xs",
13185
+ base: "body-m",
13168
13186
  color: "white",
13169
13187
  children: title
13170
13188
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13180,7 +13198,7 @@ function ToastContent(_ref) {
13180
13198
  borderColor: "white",
13181
13199
  onPress: onPress,
13182
13200
  children: /*#__PURE__*/jsx(Typography.Text, {
13183
- base: "heading-xs",
13201
+ base: "body-m",
13184
13202
  color: "white",
13185
13203
  children: actionLabel
13186
13204
  })