@ornikar/kitt-universal 32.5.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 +20 -0
- 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 +2 -2
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,
|
|
@@ -10884,6 +10895,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10884
10895
|
button: {
|
|
10885
10896
|
minWidth: theme.button.minWidth,
|
|
10886
10897
|
maxWidth: theme.button.maxWidth,
|
|
10898
|
+
minHeight: {
|
|
10899
|
+
"default": theme.button.minHeight["default"],
|
|
10900
|
+
medium: theme.button.minHeight.medium
|
|
10901
|
+
},
|
|
10887
10902
|
maxHeight: theme.button.maxHeight,
|
|
10888
10903
|
height: {
|
|
10889
10904
|
"default": theme.button.height["default"],
|
|
@@ -11500,6 +11515,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11500
11515
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
11501
11516
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
11502
11517
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
|
|
11518
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
|
|
11503
11519
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
11504
11520
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
11505
11521
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -11523,6 +11539,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11523
11539
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
11524
11540
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
11525
11541
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
|
|
11542
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
|
|
11526
11543
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
11527
11544
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
11528
11545
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -13303,7 +13320,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
13303
13320
|
return /*#__PURE__*/jsx(View, {
|
|
13304
13321
|
marginBottom: 10,
|
|
13305
13322
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13306
|
-
base: "
|
|
13323
|
+
base: "body-l",
|
|
13307
13324
|
color: useStoryBlockColor(color),
|
|
13308
13325
|
numberOfLines: numberOfLines,
|
|
13309
13326
|
children: children
|
|
@@ -13924,7 +13941,7 @@ function ToastContent(_ref) {
|
|
|
13924
13941
|
flexGrow: 1,
|
|
13925
13942
|
flexShrink: 1,
|
|
13926
13943
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13927
|
-
base: "
|
|
13944
|
+
base: "body-m",
|
|
13928
13945
|
color: "white",
|
|
13929
13946
|
children: title
|
|
13930
13947
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13940,7 +13957,7 @@ function ToastContent(_ref) {
|
|
|
13940
13957
|
borderColor: "white",
|
|
13941
13958
|
onPress: onPress,
|
|
13942
13959
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13943
|
-
base: "
|
|
13960
|
+
base: "body-m",
|
|
13944
13961
|
color: "white",
|
|
13945
13962
|
children: actionLabel
|
|
13946
13963
|
})
|