@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.
- package/CHANGELOG.md +20 -0
- 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 +2 -2
|
@@ -676,6 +676,10 @@ const button = {
|
|
|
676
676
|
default: 40,
|
|
677
677
|
medium: 48
|
|
678
678
|
},
|
|
679
|
+
minHeight: {
|
|
680
|
+
default: 40,
|
|
681
|
+
medium: 48
|
|
682
|
+
},
|
|
679
683
|
maxHeight: 48,
|
|
680
684
|
icon: {
|
|
681
685
|
medium: {
|
|
@@ -2130,8 +2134,8 @@ const typography = {
|
|
|
2130
2134
|
allowedFontWeights: ['semibold']
|
|
2131
2135
|
},
|
|
2132
2136
|
'heading-l': {
|
|
2133
|
-
fontSize:
|
|
2134
|
-
lineHeight:
|
|
2137
|
+
fontSize: 38,
|
|
2138
|
+
lineHeight: 44,
|
|
2135
2139
|
allowedFontWeights: ['semibold']
|
|
2136
2140
|
},
|
|
2137
2141
|
'heading-m': {
|
|
@@ -2140,14 +2144,19 @@ const typography = {
|
|
|
2140
2144
|
allowedFontWeights: ['semibold']
|
|
2141
2145
|
},
|
|
2142
2146
|
'heading-s': {
|
|
2143
|
-
fontSize:
|
|
2144
|
-
lineHeight:
|
|
2145
|
-
allowedFontWeights: ['
|
|
2147
|
+
fontSize: 24,
|
|
2148
|
+
lineHeight: 28,
|
|
2149
|
+
allowedFontWeights: ['semibold']
|
|
2146
2150
|
},
|
|
2147
2151
|
'heading-xs': {
|
|
2152
|
+
fontSize: 20,
|
|
2153
|
+
lineHeight: 24,
|
|
2154
|
+
allowedFontWeights: ['semibold']
|
|
2155
|
+
},
|
|
2156
|
+
'heading-xxs': {
|
|
2148
2157
|
fontSize: 16,
|
|
2149
|
-
lineHeight:
|
|
2150
|
-
allowedFontWeights: ['
|
|
2158
|
+
lineHeight: 20,
|
|
2159
|
+
allowedFontWeights: ['semibold']
|
|
2151
2160
|
}
|
|
2152
2161
|
}
|
|
2153
2162
|
},
|
|
@@ -2214,17 +2223,17 @@ const typography = {
|
|
|
2214
2223
|
configs: {
|
|
2215
2224
|
'label-large': {
|
|
2216
2225
|
fontSize: 16,
|
|
2217
|
-
lineHeight:
|
|
2226
|
+
lineHeight: 20,
|
|
2218
2227
|
allowedFontWeights: ['semibold']
|
|
2219
2228
|
},
|
|
2220
2229
|
'label-medium': {
|
|
2221
2230
|
fontSize: 14,
|
|
2222
|
-
lineHeight:
|
|
2231
|
+
lineHeight: 18,
|
|
2223
2232
|
allowedFontWeights: ['semibold']
|
|
2224
2233
|
},
|
|
2225
2234
|
'label-small': {
|
|
2226
2235
|
fontSize: 12,
|
|
2227
|
-
lineHeight:
|
|
2236
|
+
lineHeight: 14,
|
|
2228
2237
|
allowedFontWeights: ['semibold']
|
|
2229
2238
|
}
|
|
2230
2239
|
}
|
|
@@ -3132,7 +3141,8 @@ function AnimatedContainer$2({
|
|
|
3132
3141
|
borderRadius: 'kitt.button.borderRadius',
|
|
3133
3142
|
backgroundColor: currentBackgroundColor,
|
|
3134
3143
|
width,
|
|
3135
|
-
height
|
|
3144
|
+
height,
|
|
3145
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3136
3146
|
});
|
|
3137
3147
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3138
3148
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3846,6 +3856,7 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3846
3856
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3847
3857
|
minWidth: "kitt.button.minWidth",
|
|
3848
3858
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3859
|
+
minHeight: _size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3849
3860
|
maxHeight: "kitt.button.maxHeight",
|
|
3850
3861
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3851
3862
|
onPress: onPress,
|
|
@@ -10652,6 +10663,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10652
10663
|
button: {
|
|
10653
10664
|
minWidth: theme.button.minWidth,
|
|
10654
10665
|
maxWidth: theme.button.maxWidth,
|
|
10666
|
+
minHeight: {
|
|
10667
|
+
default: theme.button.minHeight.default,
|
|
10668
|
+
medium: theme.button.minHeight.medium
|
|
10669
|
+
},
|
|
10655
10670
|
maxHeight: theme.button.maxHeight,
|
|
10656
10671
|
height: {
|
|
10657
10672
|
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`,
|
|
@@ -13057,7 +13074,7 @@ function StoryTitleLevel4({
|
|
|
13057
13074
|
return /*#__PURE__*/jsx(View, {
|
|
13058
13075
|
marginBottom: 10,
|
|
13059
13076
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13060
|
-
base: "
|
|
13077
|
+
base: "body-l",
|
|
13061
13078
|
color: useStoryBlockColor(color),
|
|
13062
13079
|
numberOfLines: numberOfLines,
|
|
13063
13080
|
children: children
|
|
@@ -13673,7 +13690,7 @@ function ToastContent({
|
|
|
13673
13690
|
flexGrow: 1,
|
|
13674
13691
|
flexShrink: 1,
|
|
13675
13692
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13676
|
-
base: "
|
|
13693
|
+
base: "body-m",
|
|
13677
13694
|
color: "white",
|
|
13678
13695
|
children: title
|
|
13679
13696
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13689,7 +13706,7 @@ function ToastContent({
|
|
|
13689
13706
|
borderColor: "white",
|
|
13690
13707
|
onPress: onPress,
|
|
13691
13708
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13692
|
-
base: "
|
|
13709
|
+
base: "body-m",
|
|
13693
13710
|
color: "white",
|
|
13694
13711
|
children: actionLabel
|
|
13695
13712
|
})
|