@ornikar/kitt-universal 32.5.3-canary.00f8f98ae6299285821fb6a87eab9440995c7566.0 → 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.
- package/CHANGELOG.md +18 -4
- package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/Button/AnimatedContainer.web.d.ts.map +1 -1
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +9 -3
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +5 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/button.d.ts +3 -0
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +1 -1
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +31 -14
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +31 -14
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +31 -14
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +31 -13
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +31 -14
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +31 -13
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +31 -14
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +31 -13
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +19 -10
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +19 -10
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +19 -10
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +19 -10
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +19 -10
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +19 -10
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +19 -10
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +19 -10
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -673,6 +673,10 @@ const button = {
|
|
|
673
673
|
default: 40,
|
|
674
674
|
medium: 48
|
|
675
675
|
},
|
|
676
|
+
minHeight: {
|
|
677
|
+
default: 40,
|
|
678
|
+
medium: 48
|
|
679
|
+
},
|
|
676
680
|
maxHeight: 48,
|
|
677
681
|
icon: {
|
|
678
682
|
medium: {
|
|
@@ -2127,8 +2131,8 @@ const typography = {
|
|
|
2127
2131
|
allowedFontWeights: ['semibold']
|
|
2128
2132
|
},
|
|
2129
2133
|
'heading-l': {
|
|
2130
|
-
fontSize:
|
|
2131
|
-
lineHeight:
|
|
2134
|
+
fontSize: 38,
|
|
2135
|
+
lineHeight: 44,
|
|
2132
2136
|
allowedFontWeights: ['semibold']
|
|
2133
2137
|
},
|
|
2134
2138
|
'heading-m': {
|
|
@@ -2137,14 +2141,19 @@ const typography = {
|
|
|
2137
2141
|
allowedFontWeights: ['semibold']
|
|
2138
2142
|
},
|
|
2139
2143
|
'heading-s': {
|
|
2140
|
-
fontSize:
|
|
2141
|
-
lineHeight:
|
|
2142
|
-
allowedFontWeights: ['
|
|
2144
|
+
fontSize: 24,
|
|
2145
|
+
lineHeight: 28,
|
|
2146
|
+
allowedFontWeights: ['semibold']
|
|
2143
2147
|
},
|
|
2144
2148
|
'heading-xs': {
|
|
2149
|
+
fontSize: 20,
|
|
2150
|
+
lineHeight: 24,
|
|
2151
|
+
allowedFontWeights: ['semibold']
|
|
2152
|
+
},
|
|
2153
|
+
'heading-xxs': {
|
|
2145
2154
|
fontSize: 16,
|
|
2146
|
-
lineHeight:
|
|
2147
|
-
allowedFontWeights: ['
|
|
2155
|
+
lineHeight: 20,
|
|
2156
|
+
allowedFontWeights: ['semibold']
|
|
2148
2157
|
}
|
|
2149
2158
|
}
|
|
2150
2159
|
},
|
|
@@ -2211,17 +2220,17 @@ const typography = {
|
|
|
2211
2220
|
configs: {
|
|
2212
2221
|
'label-large': {
|
|
2213
2222
|
fontSize: 16,
|
|
2214
|
-
lineHeight:
|
|
2223
|
+
lineHeight: 20,
|
|
2215
2224
|
allowedFontWeights: ['semibold']
|
|
2216
2225
|
},
|
|
2217
2226
|
'label-medium': {
|
|
2218
2227
|
fontSize: 14,
|
|
2219
|
-
lineHeight:
|
|
2228
|
+
lineHeight: 18,
|
|
2220
2229
|
allowedFontWeights: ['semibold']
|
|
2221
2230
|
},
|
|
2222
2231
|
'label-small': {
|
|
2223
2232
|
fontSize: 12,
|
|
2224
|
-
lineHeight:
|
|
2233
|
+
lineHeight: 14,
|
|
2225
2234
|
allowedFontWeights: ['semibold']
|
|
2226
2235
|
}
|
|
2227
2236
|
}
|
|
@@ -3127,7 +3136,8 @@ function AnimatedContainer$2({
|
|
|
3127
3136
|
borderRadius: 'kitt.button.borderRadius',
|
|
3128
3137
|
backgroundColor: currentBackgroundColor,
|
|
3129
3138
|
width,
|
|
3130
|
-
height
|
|
3139
|
+
height,
|
|
3140
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3131
3141
|
});
|
|
3132
3142
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3133
3143
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3845,6 +3855,7 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3845
3855
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3846
3856
|
minWidth: "kitt.button.minWidth",
|
|
3847
3857
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3858
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3848
3859
|
maxHeight: "kitt.button.maxHeight",
|
|
3849
3860
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3850
3861
|
onPress: onPress,
|
|
@@ -10647,6 +10658,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10647
10658
|
button: {
|
|
10648
10659
|
minWidth: theme.button.minWidth,
|
|
10649
10660
|
maxWidth: theme.button.maxWidth,
|
|
10661
|
+
minHeight: {
|
|
10662
|
+
default: theme.button.minHeight.default,
|
|
10663
|
+
medium: theme.button.minHeight.medium
|
|
10664
|
+
},
|
|
10650
10665
|
maxHeight: theme.button.maxHeight,
|
|
10651
10666
|
height: {
|
|
10652
10667
|
default: theme.button.height.default,
|
|
@@ -11268,6 +11283,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11268
11283
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11269
11284
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11270
11285
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11286
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11271
11287
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11272
11288
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11273
11289
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11291,6 +11307,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11291
11307
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11292
11308
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11293
11309
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11310
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11294
11311
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11295
11312
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11296
11313
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13062,7 +13079,7 @@ function StoryTitleLevel4({
|
|
|
13062
13079
|
return /*#__PURE__*/jsx(View, {
|
|
13063
13080
|
marginBottom: 10,
|
|
13064
13081
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13065
|
-
base: "
|
|
13082
|
+
base: "body-l",
|
|
13066
13083
|
color: useStoryBlockColor(color),
|
|
13067
13084
|
numberOfLines: numberOfLines,
|
|
13068
13085
|
children: children
|
|
@@ -13670,7 +13687,7 @@ function ToastContent({
|
|
|
13670
13687
|
flexGrow: 1,
|
|
13671
13688
|
flexShrink: 1,
|
|
13672
13689
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13673
|
-
base: "
|
|
13690
|
+
base: "body-m",
|
|
13674
13691
|
color: "white",
|
|
13675
13692
|
children: title
|
|
13676
13693
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13686,7 +13703,7 @@ function ToastContent({
|
|
|
13686
13703
|
borderColor: "white",
|
|
13687
13704
|
onPress: onPress,
|
|
13688
13705
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13689
|
-
base: "
|
|
13706
|
+
base: "body-m",
|
|
13690
13707
|
color: "white",
|
|
13691
13708
|
children: actionLabel
|
|
13692
13709
|
})
|