@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
|
@@ -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,
|
|
@@ -10663,6 +10674,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10663
10674
|
button: {
|
|
10664
10675
|
minWidth: theme.button.minWidth,
|
|
10665
10676
|
maxWidth: theme.button.maxWidth,
|
|
10677
|
+
minHeight: {
|
|
10678
|
+
default: theme.button.minHeight.default,
|
|
10679
|
+
medium: theme.button.minHeight.medium
|
|
10680
|
+
},
|
|
10666
10681
|
maxHeight: theme.button.maxHeight,
|
|
10667
10682
|
height: {
|
|
10668
10683
|
default: theme.button.height.default,
|
|
@@ -11279,6 +11294,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11279
11294
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11280
11295
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11281
11296
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11297
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11282
11298
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11283
11299
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11284
11300
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11302,6 +11318,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11302
11318
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11303
11319
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11304
11320
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11321
|
+
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11305
11322
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11306
11323
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11307
11324
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13068,7 +13085,7 @@ function StoryTitleLevel4({
|
|
|
13068
13085
|
return /*#__PURE__*/jsx(View, {
|
|
13069
13086
|
marginBottom: 10,
|
|
13070
13087
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13071
|
-
base: "
|
|
13088
|
+
base: "body-l",
|
|
13072
13089
|
color: useStoryBlockColor(color),
|
|
13073
13090
|
numberOfLines: numberOfLines,
|
|
13074
13091
|
children: children
|
|
@@ -13684,7 +13701,7 @@ function ToastContent({
|
|
|
13684
13701
|
flexGrow: 1,
|
|
13685
13702
|
flexShrink: 1,
|
|
13686
13703
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13687
|
-
base: "
|
|
13704
|
+
base: "body-m",
|
|
13688
13705
|
color: "white",
|
|
13689
13706
|
children: title
|
|
13690
13707
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13700,7 +13717,7 @@ function ToastContent({
|
|
|
13700
13717
|
borderColor: "white",
|
|
13701
13718
|
onPress: onPress,
|
|
13702
13719
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13703
|
-
base: "
|
|
13720
|
+
base: "body-m",
|
|
13704
13721
|
color: "white",
|
|
13705
13722
|
children: actionLabel
|
|
13706
13723
|
})
|