@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
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
|
}
|
|
@@ -2300,10 +2309,6 @@ var typography = {
|
|
|
2300
2309
|
|
|
2301
2310
|
var picker = {
|
|
2302
2311
|
maxWidthFixed: 320,
|
|
2303
|
-
animation: {
|
|
2304
|
-
duration: 300,
|
|
2305
|
-
timingFunction: 'ease-in-out'
|
|
2306
|
-
},
|
|
2307
2312
|
ios: {
|
|
2308
2313
|
"default": _objectSpread(_objectSpread({
|
|
2309
2314
|
fontFamily: typography.types.bodies.fontFamily["native"].regular
|
|
@@ -3155,7 +3160,8 @@ function AnimatedContainer$2(_ref) {
|
|
|
3155
3160
|
borderRadius: 'kitt.button.borderRadius',
|
|
3156
3161
|
backgroundColor: currentBackgroundColor,
|
|
3157
3162
|
width: width,
|
|
3158
|
-
height: height
|
|
3163
|
+
height: height,
|
|
3164
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3159
3165
|
});
|
|
3160
3166
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3161
3167
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3875,6 +3881,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3875
3881
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3876
3882
|
minWidth: "kitt.button.minWidth",
|
|
3877
3883
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3884
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3878
3885
|
maxHeight: "kitt.button.maxHeight",
|
|
3879
3886
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3880
3887
|
onPress: onPress,
|
|
@@ -10888,6 +10895,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10888
10895
|
button: {
|
|
10889
10896
|
minWidth: theme.button.minWidth,
|
|
10890
10897
|
maxWidth: theme.button.maxWidth,
|
|
10898
|
+
minHeight: {
|
|
10899
|
+
"default": theme.button.minHeight["default"],
|
|
10900
|
+
medium: theme.button.minHeight.medium
|
|
10901
|
+
},
|
|
10891
10902
|
maxHeight: theme.button.maxHeight,
|
|
10892
10903
|
height: {
|
|
10893
10904
|
"default": theme.button.height["default"],
|
|
@@ -11504,6 +11515,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11504
11515
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
11505
11516
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
11506
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"),
|
|
11507
11519
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
11508
11520
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
11509
11521
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -11527,6 +11539,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11527
11539
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
11528
11540
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
11529
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"),
|
|
11530
11543
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
11531
11544
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
11532
11545
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -13307,7 +13320,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
13307
13320
|
return /*#__PURE__*/jsx(View, {
|
|
13308
13321
|
marginBottom: 10,
|
|
13309
13322
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13310
|
-
base: "
|
|
13323
|
+
base: "body-l",
|
|
13311
13324
|
color: useStoryBlockColor(color),
|
|
13312
13325
|
numberOfLines: numberOfLines,
|
|
13313
13326
|
children: children
|
|
@@ -13928,7 +13941,7 @@ function ToastContent(_ref) {
|
|
|
13928
13941
|
flexGrow: 1,
|
|
13929
13942
|
flexShrink: 1,
|
|
13930
13943
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13931
|
-
base: "
|
|
13944
|
+
base: "body-m",
|
|
13932
13945
|
color: "white",
|
|
13933
13946
|
children: title
|
|
13934
13947
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13944,7 +13957,7 @@ function ToastContent(_ref) {
|
|
|
13944
13957
|
borderColor: "white",
|
|
13945
13958
|
onPress: onPress,
|
|
13946
13959
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13947
|
-
base: "
|
|
13960
|
+
base: "body-m",
|
|
13948
13961
|
color: "white",
|
|
13949
13962
|
children: actionLabel
|
|
13950
13963
|
})
|