@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
|
@@ -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
|
}
|
|
@@ -2285,10 +2294,6 @@ const typography = {
|
|
|
2285
2294
|
|
|
2286
2295
|
const picker = {
|
|
2287
2296
|
maxWidthFixed: 320,
|
|
2288
|
-
animation: {
|
|
2289
|
-
duration: 300,
|
|
2290
|
-
timingFunction: 'ease-in-out'
|
|
2291
|
-
},
|
|
2292
2297
|
ios: {
|
|
2293
2298
|
default: _objectSpread(_objectSpread({
|
|
2294
2299
|
fontFamily: typography.types.bodies.fontFamily.native.regular
|
|
@@ -3136,7 +3141,8 @@ function AnimatedContainer$2({
|
|
|
3136
3141
|
borderRadius: 'kitt.button.borderRadius',
|
|
3137
3142
|
backgroundColor: currentBackgroundColor,
|
|
3138
3143
|
width,
|
|
3139
|
-
height
|
|
3144
|
+
height,
|
|
3145
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3140
3146
|
});
|
|
3141
3147
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3142
3148
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3850,6 +3856,7 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3850
3856
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3851
3857
|
minWidth: "kitt.button.minWidth",
|
|
3852
3858
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3859
|
+
minHeight: _size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3853
3860
|
maxHeight: "kitt.button.maxHeight",
|
|
3854
3861
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3855
3862
|
onPress: onPress,
|
|
@@ -10656,6 +10663,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10656
10663
|
button: {
|
|
10657
10664
|
minWidth: theme.button.minWidth,
|
|
10658
10665
|
maxWidth: theme.button.maxWidth,
|
|
10666
|
+
minHeight: {
|
|
10667
|
+
default: theme.button.minHeight.default,
|
|
10668
|
+
medium: theme.button.minHeight.medium
|
|
10669
|
+
},
|
|
10659
10670
|
maxHeight: theme.button.maxHeight,
|
|
10660
10671
|
height: {
|
|
10661
10672
|
default: theme.button.height.default,
|
|
@@ -11272,6 +11283,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11272
11283
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11273
11284
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11274
11285
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11286
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11275
11287
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11276
11288
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11277
11289
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11295,6 +11307,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11295
11307
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11296
11308
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11297
11309
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11310
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11298
11311
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11299
11312
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11300
11313
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13061,7 +13074,7 @@ function StoryTitleLevel4({
|
|
|
13061
13074
|
return /*#__PURE__*/jsx(View, {
|
|
13062
13075
|
marginBottom: 10,
|
|
13063
13076
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13064
|
-
base: "
|
|
13077
|
+
base: "body-l",
|
|
13065
13078
|
color: useStoryBlockColor(color),
|
|
13066
13079
|
numberOfLines: numberOfLines,
|
|
13067
13080
|
children: children
|
|
@@ -13677,7 +13690,7 @@ function ToastContent({
|
|
|
13677
13690
|
flexGrow: 1,
|
|
13678
13691
|
flexShrink: 1,
|
|
13679
13692
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13680
|
-
base: "
|
|
13693
|
+
base: "body-m",
|
|
13681
13694
|
color: "white",
|
|
13682
13695
|
children: title
|
|
13683
13696
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13693,7 +13706,7 @@ function ToastContent({
|
|
|
13693
13706
|
borderColor: "white",
|
|
13694
13707
|
onPress: onPress,
|
|
13695
13708
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13696
|
-
base: "
|
|
13709
|
+
base: "body-m",
|
|
13697
13710
|
color: "white",
|
|
13698
13711
|
children: actionLabel
|
|
13699
13712
|
})
|