@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
package/dist/index.es.js
CHANGED
|
@@ -691,6 +691,10 @@ var button = {
|
|
|
691
691
|
"default": 40,
|
|
692
692
|
medium: 48
|
|
693
693
|
},
|
|
694
|
+
minHeight: {
|
|
695
|
+
"default": 40,
|
|
696
|
+
medium: 48
|
|
697
|
+
},
|
|
694
698
|
maxHeight: 48,
|
|
695
699
|
icon: {
|
|
696
700
|
medium: {
|
|
@@ -2145,8 +2149,8 @@ var typography = {
|
|
|
2145
2149
|
allowedFontWeights: ['semibold']
|
|
2146
2150
|
},
|
|
2147
2151
|
'heading-l': {
|
|
2148
|
-
fontSize:
|
|
2149
|
-
lineHeight:
|
|
2152
|
+
fontSize: 38,
|
|
2153
|
+
lineHeight: 44,
|
|
2150
2154
|
allowedFontWeights: ['semibold']
|
|
2151
2155
|
},
|
|
2152
2156
|
'heading-m': {
|
|
@@ -2155,14 +2159,19 @@ var typography = {
|
|
|
2155
2159
|
allowedFontWeights: ['semibold']
|
|
2156
2160
|
},
|
|
2157
2161
|
'heading-s': {
|
|
2158
|
-
fontSize:
|
|
2159
|
-
lineHeight:
|
|
2160
|
-
allowedFontWeights: ['
|
|
2162
|
+
fontSize: 24,
|
|
2163
|
+
lineHeight: 28,
|
|
2164
|
+
allowedFontWeights: ['semibold']
|
|
2161
2165
|
},
|
|
2162
2166
|
'heading-xs': {
|
|
2167
|
+
fontSize: 20,
|
|
2168
|
+
lineHeight: 24,
|
|
2169
|
+
allowedFontWeights: ['semibold']
|
|
2170
|
+
},
|
|
2171
|
+
'heading-xxs': {
|
|
2163
2172
|
fontSize: 16,
|
|
2164
|
-
lineHeight:
|
|
2165
|
-
allowedFontWeights: ['
|
|
2173
|
+
lineHeight: 20,
|
|
2174
|
+
allowedFontWeights: ['semibold']
|
|
2166
2175
|
}
|
|
2167
2176
|
}
|
|
2168
2177
|
},
|
|
@@ -2229,17 +2238,17 @@ var typography = {
|
|
|
2229
2238
|
configs: {
|
|
2230
2239
|
'label-large': {
|
|
2231
2240
|
fontSize: 16,
|
|
2232
|
-
lineHeight:
|
|
2241
|
+
lineHeight: 20,
|
|
2233
2242
|
allowedFontWeights: ['semibold']
|
|
2234
2243
|
},
|
|
2235
2244
|
'label-medium': {
|
|
2236
2245
|
fontSize: 14,
|
|
2237
|
-
lineHeight:
|
|
2246
|
+
lineHeight: 18,
|
|
2238
2247
|
allowedFontWeights: ['semibold']
|
|
2239
2248
|
},
|
|
2240
2249
|
'label-small': {
|
|
2241
2250
|
fontSize: 12,
|
|
2242
|
-
lineHeight:
|
|
2251
|
+
lineHeight: 14,
|
|
2243
2252
|
allowedFontWeights: ['semibold']
|
|
2244
2253
|
}
|
|
2245
2254
|
}
|
|
@@ -3151,7 +3160,8 @@ function AnimatedContainer$2(_ref) {
|
|
|
3151
3160
|
borderRadius: 'kitt.button.borderRadius',
|
|
3152
3161
|
backgroundColor: currentBackgroundColor,
|
|
3153
3162
|
width: width,
|
|
3154
|
-
height: height
|
|
3163
|
+
height: height,
|
|
3164
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3155
3165
|
});
|
|
3156
3166
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3157
3167
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3871,6 +3881,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3871
3881
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3872
3882
|
minWidth: "kitt.button.minWidth",
|
|
3873
3883
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3884
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3874
3885
|
maxHeight: "kitt.button.maxHeight",
|
|
3875
3886
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3876
3887
|
onPress: onPress,
|
|
@@ -10898,6 +10909,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10898
10909
|
button: {
|
|
10899
10910
|
minWidth: theme.button.minWidth,
|
|
10900
10911
|
maxWidth: theme.button.maxWidth,
|
|
10912
|
+
minHeight: {
|
|
10913
|
+
"default": theme.button.minHeight["default"],
|
|
10914
|
+
medium: theme.button.minHeight.medium
|
|
10915
|
+
},
|
|
10901
10916
|
maxHeight: theme.button.maxHeight,
|
|
10902
10917
|
height: {
|
|
10903
10918
|
"default": theme.button.height["default"],
|
|
@@ -11514,6 +11529,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11514
11529
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
11515
11530
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
11516
11531
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
|
|
11532
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
|
|
11517
11533
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
11518
11534
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
11519
11535
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -11537,6 +11553,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11537
11553
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
11538
11554
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
11539
11555
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
|
|
11556
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
|
|
11540
11557
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
11541
11558
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
11542
11559
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -13317,7 +13334,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
13317
13334
|
return /*#__PURE__*/jsx(View, {
|
|
13318
13335
|
marginBottom: 10,
|
|
13319
13336
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13320
|
-
base: "
|
|
13337
|
+
base: "body-l",
|
|
13321
13338
|
color: useStoryBlockColor(color),
|
|
13322
13339
|
numberOfLines: numberOfLines,
|
|
13323
13340
|
children: children
|
|
@@ -13938,7 +13955,7 @@ function ToastContent(_ref) {
|
|
|
13938
13955
|
flexGrow: 1,
|
|
13939
13956
|
flexShrink: 1,
|
|
13940
13957
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13941
|
-
base: "
|
|
13958
|
+
base: "body-m",
|
|
13942
13959
|
color: "white",
|
|
13943
13960
|
children: title
|
|
13944
13961
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13954,7 +13971,7 @@ function ToastContent(_ref) {
|
|
|
13954
13971
|
borderColor: "white",
|
|
13955
13972
|
onPress: onPress,
|
|
13956
13973
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13957
|
-
base: "
|
|
13974
|
+
base: "body-m",
|
|
13958
13975
|
color: "white",
|
|
13959
13976
|
children: actionLabel
|
|
13960
13977
|
})
|