@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.
- package/CHANGELOG.md +14 -2
- 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/Picker/Picker.web.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/picker.d.ts +0 -4
- package/dist/definitions/themes/late-ocean/picker.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 -18
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +31 -18
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +31 -18
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +4 -22
- package/dist/index-node-22.17.cjs.web.js +94 -92
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +31 -18
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +4 -22
- package/dist/index-node-22.17.es.web.mjs +94 -92
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +31 -18
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +91 -87
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +19 -14
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +19 -14
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +19 -14
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +19 -14
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +19 -14
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +19 -14
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +19 -14
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +19 -14
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +4 -22
- 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
|
}
|
|
@@ -2282,10 +2291,6 @@ const typography = {
|
|
|
2282
2291
|
|
|
2283
2292
|
const picker = {
|
|
2284
2293
|
maxWidthFixed: 320,
|
|
2285
|
-
animation: {
|
|
2286
|
-
duration: 300,
|
|
2287
|
-
timingFunction: 'ease-in-out'
|
|
2288
|
-
},
|
|
2289
2294
|
ios: {
|
|
2290
2295
|
default: {
|
|
2291
2296
|
fontFamily: typography.types.bodies.fontFamily.native.regular,
|
|
@@ -3131,7 +3136,8 @@ function AnimatedContainer$2({
|
|
|
3131
3136
|
borderRadius: 'kitt.button.borderRadius',
|
|
3132
3137
|
backgroundColor: currentBackgroundColor,
|
|
3133
3138
|
width,
|
|
3134
|
-
height
|
|
3139
|
+
height,
|
|
3140
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3135
3141
|
});
|
|
3136
3142
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3137
3143
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3849,6 +3855,7 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3849
3855
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3850
3856
|
minWidth: "kitt.button.minWidth",
|
|
3851
3857
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3858
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3852
3859
|
maxHeight: "kitt.button.maxHeight",
|
|
3853
3860
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3854
3861
|
onPress: onPress,
|
|
@@ -10640,6 +10647,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10640
10647
|
button: {
|
|
10641
10648
|
minWidth: theme.button.minWidth,
|
|
10642
10649
|
maxWidth: theme.button.maxWidth,
|
|
10650
|
+
minHeight: {
|
|
10651
|
+
default: theme.button.minHeight.default,
|
|
10652
|
+
medium: theme.button.minHeight.medium
|
|
10653
|
+
},
|
|
10643
10654
|
maxHeight: theme.button.maxHeight,
|
|
10644
10655
|
height: {
|
|
10645
10656
|
default: theme.button.height.default,
|
|
@@ -11261,6 +11272,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11261
11272
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11262
11273
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11263
11274
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11275
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11264
11276
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11265
11277
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11266
11278
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11284,6 +11296,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11284
11296
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11285
11297
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11286
11298
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11299
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11287
11300
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11288
11301
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11289
11302
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13055,7 +13068,7 @@ function StoryTitleLevel4({
|
|
|
13055
13068
|
return /*#__PURE__*/jsx(View, {
|
|
13056
13069
|
marginBottom: 10,
|
|
13057
13070
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13058
|
-
base: "
|
|
13071
|
+
base: "body-l",
|
|
13059
13072
|
color: useStoryBlockColor(color),
|
|
13060
13073
|
numberOfLines: numberOfLines,
|
|
13061
13074
|
children: children
|
|
@@ -13663,7 +13676,7 @@ function ToastContent({
|
|
|
13663
13676
|
flexGrow: 1,
|
|
13664
13677
|
flexShrink: 1,
|
|
13665
13678
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13666
|
-
base: "
|
|
13679
|
+
base: "body-m",
|
|
13667
13680
|
color: "white",
|
|
13668
13681
|
children: title
|
|
13669
13682
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13679,7 +13692,7 @@ function ToastContent({
|
|
|
13679
13692
|
borderColor: "white",
|
|
13680
13693
|
onPress: onPress,
|
|
13681
13694
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13682
|
-
base: "
|
|
13695
|
+
base: "body-m",
|
|
13683
13696
|
color: "white",
|
|
13684
13697
|
children: actionLabel
|
|
13685
13698
|
})
|