@ornikar/kitt-universal 32.3.0 → 32.3.1-canary.ddff29bdf3ffa500cf7658e5206d5069b23f4b45.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 +19 -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/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: {
|
|
@@ -2144,8 +2148,8 @@ var typography = {
|
|
|
2144
2148
|
allowedFontWeights: ['semibold']
|
|
2145
2149
|
},
|
|
2146
2150
|
'heading-l': {
|
|
2147
|
-
fontSize:
|
|
2148
|
-
lineHeight:
|
|
2151
|
+
fontSize: 38,
|
|
2152
|
+
lineHeight: 44,
|
|
2149
2153
|
allowedFontWeights: ['semibold']
|
|
2150
2154
|
},
|
|
2151
2155
|
'heading-m': {
|
|
@@ -2154,14 +2158,19 @@ var typography = {
|
|
|
2154
2158
|
allowedFontWeights: ['semibold']
|
|
2155
2159
|
},
|
|
2156
2160
|
'heading-s': {
|
|
2157
|
-
fontSize:
|
|
2158
|
-
lineHeight:
|
|
2159
|
-
allowedFontWeights: ['
|
|
2161
|
+
fontSize: 24,
|
|
2162
|
+
lineHeight: 28,
|
|
2163
|
+
allowedFontWeights: ['semibold']
|
|
2160
2164
|
},
|
|
2161
2165
|
'heading-xs': {
|
|
2166
|
+
fontSize: 20,
|
|
2167
|
+
lineHeight: 24,
|
|
2168
|
+
allowedFontWeights: ['semibold']
|
|
2169
|
+
},
|
|
2170
|
+
'heading-xxs': {
|
|
2162
2171
|
fontSize: 16,
|
|
2163
|
-
lineHeight:
|
|
2164
|
-
allowedFontWeights: ['
|
|
2172
|
+
lineHeight: 20,
|
|
2173
|
+
allowedFontWeights: ['semibold']
|
|
2165
2174
|
}
|
|
2166
2175
|
}
|
|
2167
2176
|
},
|
|
@@ -2228,17 +2237,17 @@ var typography = {
|
|
|
2228
2237
|
configs: {
|
|
2229
2238
|
'label-large': {
|
|
2230
2239
|
fontSize: 16,
|
|
2231
|
-
lineHeight:
|
|
2240
|
+
lineHeight: 20,
|
|
2232
2241
|
allowedFontWeights: ['semibold']
|
|
2233
2242
|
},
|
|
2234
2243
|
'label-medium': {
|
|
2235
2244
|
fontSize: 14,
|
|
2236
|
-
lineHeight:
|
|
2245
|
+
lineHeight: 18,
|
|
2237
2246
|
allowedFontWeights: ['semibold']
|
|
2238
2247
|
},
|
|
2239
2248
|
'label-small': {
|
|
2240
2249
|
fontSize: 12,
|
|
2241
|
-
lineHeight:
|
|
2250
|
+
lineHeight: 14,
|
|
2242
2251
|
allowedFontWeights: ['semibold']
|
|
2243
2252
|
}
|
|
2244
2253
|
}
|
|
@@ -3150,7 +3159,8 @@ function AnimatedContainer$2(_ref) {
|
|
|
3150
3159
|
borderRadius: 'kitt.button.borderRadius',
|
|
3151
3160
|
backgroundColor: currentBackgroundColor,
|
|
3152
3161
|
width: width,
|
|
3153
|
-
height: height
|
|
3162
|
+
height: height,
|
|
3163
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3154
3164
|
});
|
|
3155
3165
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3156
3166
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3870,6 +3880,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3870
3880
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3871
3881
|
minWidth: "kitt.button.minWidth",
|
|
3872
3882
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3883
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3873
3884
|
maxHeight: "kitt.button.maxHeight",
|
|
3874
3885
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3875
3886
|
onPress: onPress,
|
|
@@ -10847,6 +10858,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10847
10858
|
button: {
|
|
10848
10859
|
minWidth: theme.button.minWidth,
|
|
10849
10860
|
maxWidth: theme.button.maxWidth,
|
|
10861
|
+
minHeight: {
|
|
10862
|
+
"default": theme.button.minHeight["default"],
|
|
10863
|
+
medium: theme.button.minHeight.medium
|
|
10864
|
+
},
|
|
10850
10865
|
maxHeight: theme.button.maxHeight,
|
|
10851
10866
|
height: {
|
|
10852
10867
|
"default": theme.button.height["default"],
|
|
@@ -11463,6 +11478,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11463
11478
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
11464
11479
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
11465
11480
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
|
|
11481
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
|
|
11466
11482
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
11467
11483
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
11468
11484
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -11486,6 +11502,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11486
11502
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
11487
11503
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
11488
11504
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
|
|
11505
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
|
|
11489
11506
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
11490
11507
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
11491
11508
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -13266,7 +13283,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
13266
13283
|
return /*#__PURE__*/jsx(View, {
|
|
13267
13284
|
marginBottom: 10,
|
|
13268
13285
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13269
|
-
base: "
|
|
13286
|
+
base: "body-l",
|
|
13270
13287
|
color: useStoryBlockColor(color),
|
|
13271
13288
|
numberOfLines: numberOfLines,
|
|
13272
13289
|
children: children
|
|
@@ -13887,7 +13904,7 @@ function ToastContent(_ref) {
|
|
|
13887
13904
|
flexGrow: 1,
|
|
13888
13905
|
flexShrink: 1,
|
|
13889
13906
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13890
|
-
base: "
|
|
13907
|
+
base: "body-m",
|
|
13891
13908
|
color: "white",
|
|
13892
13909
|
children: title
|
|
13893
13910
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13903,7 +13920,7 @@ function ToastContent(_ref) {
|
|
|
13903
13920
|
borderColor: "white",
|
|
13904
13921
|
onPress: onPress,
|
|
13905
13922
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13906
|
-
base: "
|
|
13923
|
+
base: "body-m",
|
|
13907
13924
|
color: "white",
|
|
13908
13925
|
children: actionLabel
|
|
13909
13926
|
})
|