@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
|
@@ -697,6 +697,10 @@ const button = {
|
|
|
697
697
|
default: 40,
|
|
698
698
|
medium: 48
|
|
699
699
|
},
|
|
700
|
+
minHeight: {
|
|
701
|
+
default: 40,
|
|
702
|
+
medium: 48
|
|
703
|
+
},
|
|
700
704
|
maxHeight: 48,
|
|
701
705
|
icon: {
|
|
702
706
|
medium: {
|
|
@@ -2151,8 +2155,8 @@ const typography = {
|
|
|
2151
2155
|
allowedFontWeights: ['semibold']
|
|
2152
2156
|
},
|
|
2153
2157
|
'heading-l': {
|
|
2154
|
-
fontSize:
|
|
2155
|
-
lineHeight:
|
|
2158
|
+
fontSize: 38,
|
|
2159
|
+
lineHeight: 44,
|
|
2156
2160
|
allowedFontWeights: ['semibold']
|
|
2157
2161
|
},
|
|
2158
2162
|
'heading-m': {
|
|
@@ -2161,14 +2165,19 @@ const typography = {
|
|
|
2161
2165
|
allowedFontWeights: ['semibold']
|
|
2162
2166
|
},
|
|
2163
2167
|
'heading-s': {
|
|
2164
|
-
fontSize:
|
|
2165
|
-
lineHeight:
|
|
2166
|
-
allowedFontWeights: ['
|
|
2168
|
+
fontSize: 24,
|
|
2169
|
+
lineHeight: 28,
|
|
2170
|
+
allowedFontWeights: ['semibold']
|
|
2167
2171
|
},
|
|
2168
2172
|
'heading-xs': {
|
|
2173
|
+
fontSize: 20,
|
|
2174
|
+
lineHeight: 24,
|
|
2175
|
+
allowedFontWeights: ['semibold']
|
|
2176
|
+
},
|
|
2177
|
+
'heading-xxs': {
|
|
2169
2178
|
fontSize: 16,
|
|
2170
|
-
lineHeight:
|
|
2171
|
-
allowedFontWeights: ['
|
|
2179
|
+
lineHeight: 20,
|
|
2180
|
+
allowedFontWeights: ['semibold']
|
|
2172
2181
|
}
|
|
2173
2182
|
}
|
|
2174
2183
|
},
|
|
@@ -2235,17 +2244,17 @@ const typography = {
|
|
|
2235
2244
|
configs: {
|
|
2236
2245
|
'label-large': {
|
|
2237
2246
|
fontSize: 16,
|
|
2238
|
-
lineHeight:
|
|
2247
|
+
lineHeight: 20,
|
|
2239
2248
|
allowedFontWeights: ['semibold']
|
|
2240
2249
|
},
|
|
2241
2250
|
'label-medium': {
|
|
2242
2251
|
fontSize: 14,
|
|
2243
|
-
lineHeight:
|
|
2252
|
+
lineHeight: 18,
|
|
2244
2253
|
allowedFontWeights: ['semibold']
|
|
2245
2254
|
},
|
|
2246
2255
|
'label-small': {
|
|
2247
2256
|
fontSize: 12,
|
|
2248
|
-
lineHeight:
|
|
2257
|
+
lineHeight: 14,
|
|
2249
2258
|
allowedFontWeights: ['semibold']
|
|
2250
2259
|
}
|
|
2251
2260
|
}
|
|
@@ -2306,10 +2315,6 @@ const typography = {
|
|
|
2306
2315
|
|
|
2307
2316
|
const picker = {
|
|
2308
2317
|
maxWidthFixed: 320,
|
|
2309
|
-
animation: {
|
|
2310
|
-
duration: 300,
|
|
2311
|
-
timingFunction: 'ease-in-out'
|
|
2312
|
-
},
|
|
2313
2318
|
ios: {
|
|
2314
2319
|
default: {
|
|
2315
2320
|
fontFamily: typography.types.bodies.fontFamily.native.regular,
|
|
@@ -3155,7 +3160,8 @@ function AnimatedContainer$2({
|
|
|
3155
3160
|
borderRadius: 'kitt.button.borderRadius',
|
|
3156
3161
|
backgroundColor: currentBackgroundColor,
|
|
3157
3162
|
width,
|
|
3158
|
-
height
|
|
3163
|
+
height,
|
|
3164
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3159
3165
|
});
|
|
3160
3166
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
3161
3167
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3873,6 +3879,7 @@ const Button = /*#__PURE__*/React.forwardRef(({
|
|
|
3873
3879
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3874
3880
|
minWidth: "kitt.button.minWidth",
|
|
3875
3881
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3882
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3876
3883
|
maxHeight: "kitt.button.maxHeight",
|
|
3877
3884
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3878
3885
|
onPress: onPress,
|
|
@@ -10664,6 +10671,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10664
10671
|
button: {
|
|
10665
10672
|
minWidth: theme.button.minWidth,
|
|
10666
10673
|
maxWidth: theme.button.maxWidth,
|
|
10674
|
+
minHeight: {
|
|
10675
|
+
default: theme.button.minHeight.default,
|
|
10676
|
+
medium: theme.button.minHeight.medium
|
|
10677
|
+
},
|
|
10667
10678
|
maxHeight: theme.button.maxHeight,
|
|
10668
10679
|
height: {
|
|
10669
10680
|
default: theme.button.height.default,
|
|
@@ -11285,6 +11296,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11285
11296
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11286
11297
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11287
11298
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11299
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11288
11300
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11289
11301
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11290
11302
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11308,6 +11320,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11308
11320
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11309
11321
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11310
11322
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11323
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11311
11324
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11312
11325
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11313
11326
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13079,7 +13092,7 @@ function StoryTitleLevel4({
|
|
|
13079
13092
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
13080
13093
|
marginBottom: 10,
|
|
13081
13094
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography.Header4, {
|
|
13082
|
-
base: "
|
|
13095
|
+
base: "body-l",
|
|
13083
13096
|
color: useStoryBlockColor(color),
|
|
13084
13097
|
numberOfLines: numberOfLines,
|
|
13085
13098
|
children: children
|
|
@@ -13687,7 +13700,7 @@ function ToastContent({
|
|
|
13687
13700
|
flexGrow: 1,
|
|
13688
13701
|
flexShrink: 1,
|
|
13689
13702
|
children: [title ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
13690
|
-
base: "
|
|
13703
|
+
base: "body-m",
|
|
13691
13704
|
color: "white",
|
|
13692
13705
|
children: title
|
|
13693
13706
|
}) : null, description ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
@@ -13703,7 +13716,7 @@ function ToastContent({
|
|
|
13703
13716
|
borderColor: "white",
|
|
13704
13717
|
onPress: onPress,
|
|
13705
13718
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
13706
|
-
base: "
|
|
13719
|
+
base: "body-m",
|
|
13707
13720
|
color: "white",
|
|
13708
13721
|
children: actionLabel
|
|
13709
13722
|
})
|