@ornikar/kitt-universal 32.5.1-canary.fa4369620bc01acac1d789322911d6bc321a3a45.0 → 32.5.1
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 +2 -14
- 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 +3 -9
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +0 -5
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/button.d.ts +0 -3
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +0 -5
- 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 +14 -31
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +14 -31
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +14 -31
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +22 -4
- package/dist/index-node-22.17.cjs.web.js +38 -55
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +14 -31
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +22 -4
- package/dist/index-node-22.17.es.web.mjs +38 -55
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +14 -31
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +38 -55
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +10 -19
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +10 -19
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +10 -19
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +10 -19
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +10 -19
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +10 -19
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +10 -19
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +10 -19
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +22 -4
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -691,10 +691,6 @@ var button = {
|
|
|
691
691
|
"default": 40,
|
|
692
692
|
medium: 48
|
|
693
693
|
},
|
|
694
|
-
minHeight: {
|
|
695
|
-
"default": 40,
|
|
696
|
-
medium: 48
|
|
697
|
-
},
|
|
698
694
|
maxHeight: 48,
|
|
699
695
|
icon: {
|
|
700
696
|
medium: {
|
|
@@ -2149,8 +2145,8 @@ var typography = {
|
|
|
2149
2145
|
allowedFontWeights: ['semibold']
|
|
2150
2146
|
},
|
|
2151
2147
|
'heading-l': {
|
|
2152
|
-
fontSize:
|
|
2153
|
-
lineHeight:
|
|
2148
|
+
fontSize: 40,
|
|
2149
|
+
lineHeight: 48,
|
|
2154
2150
|
allowedFontWeights: ['semibold']
|
|
2155
2151
|
},
|
|
2156
2152
|
'heading-m': {
|
|
@@ -2159,19 +2155,14 @@ var typography = {
|
|
|
2159
2155
|
allowedFontWeights: ['semibold']
|
|
2160
2156
|
},
|
|
2161
2157
|
'heading-s': {
|
|
2162
|
-
fontSize:
|
|
2163
|
-
lineHeight:
|
|
2164
|
-
allowedFontWeights: ['
|
|
2158
|
+
fontSize: 18,
|
|
2159
|
+
lineHeight: 20,
|
|
2160
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2165
2161
|
},
|
|
2166
2162
|
'heading-xs': {
|
|
2167
|
-
fontSize: 20,
|
|
2168
|
-
lineHeight: 24,
|
|
2169
|
-
allowedFontWeights: ['semibold']
|
|
2170
|
-
},
|
|
2171
|
-
'heading-xxs': {
|
|
2172
2163
|
fontSize: 16,
|
|
2173
|
-
lineHeight:
|
|
2174
|
-
allowedFontWeights: ['
|
|
2164
|
+
lineHeight: 18,
|
|
2165
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2175
2166
|
}
|
|
2176
2167
|
}
|
|
2177
2168
|
},
|
|
@@ -2238,17 +2229,17 @@ var typography = {
|
|
|
2238
2229
|
configs: {
|
|
2239
2230
|
'label-large': {
|
|
2240
2231
|
fontSize: 16,
|
|
2241
|
-
lineHeight:
|
|
2232
|
+
lineHeight: 24,
|
|
2242
2233
|
allowedFontWeights: ['semibold']
|
|
2243
2234
|
},
|
|
2244
2235
|
'label-medium': {
|
|
2245
2236
|
fontSize: 14,
|
|
2246
|
-
lineHeight:
|
|
2237
|
+
lineHeight: 20,
|
|
2247
2238
|
allowedFontWeights: ['semibold']
|
|
2248
2239
|
},
|
|
2249
2240
|
'label-small': {
|
|
2250
2241
|
fontSize: 12,
|
|
2251
|
-
lineHeight:
|
|
2242
|
+
lineHeight: 16,
|
|
2252
2243
|
allowedFontWeights: ['semibold']
|
|
2253
2244
|
}
|
|
2254
2245
|
}
|
|
@@ -3160,8 +3151,7 @@ function AnimatedContainer$2(_ref) {
|
|
|
3160
3151
|
borderRadius: 'kitt.button.borderRadius',
|
|
3161
3152
|
backgroundColor: currentBackgroundColor,
|
|
3162
3153
|
width: width,
|
|
3163
|
-
height: height
|
|
3164
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3154
|
+
height: height
|
|
3165
3155
|
});
|
|
3166
3156
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3167
3157
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3881,7 +3871,6 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3881
3871
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3882
3872
|
minWidth: "kitt.button.minWidth",
|
|
3883
3873
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3884
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3885
3874
|
maxHeight: "kitt.button.maxHeight",
|
|
3886
3875
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3887
3876
|
onPress: onPress,
|
|
@@ -10895,10 +10884,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10895
10884
|
button: {
|
|
10896
10885
|
minWidth: theme.button.minWidth,
|
|
10897
10886
|
maxWidth: theme.button.maxWidth,
|
|
10898
|
-
minHeight: {
|
|
10899
|
-
"default": theme.button.minHeight["default"],
|
|
10900
|
-
medium: theme.button.minHeight.medium
|
|
10901
|
-
},
|
|
10902
10887
|
maxHeight: theme.button.maxHeight,
|
|
10903
10888
|
height: {
|
|
10904
10889
|
"default": theme.button.height["default"],
|
|
@@ -11515,7 +11500,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11515
11500
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
11516
11501
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
11517
11502
|
'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"),
|
|
11519
11503
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
11520
11504
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
11521
11505
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -11539,7 +11523,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11539
11523
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
11540
11524
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
11541
11525
|
'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"),
|
|
11543
11526
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
11544
11527
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
11545
11528
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -13320,7 +13303,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
13320
13303
|
return /*#__PURE__*/jsx(View, {
|
|
13321
13304
|
marginBottom: 10,
|
|
13322
13305
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13323
|
-
base: "
|
|
13306
|
+
base: "heading-s",
|
|
13324
13307
|
color: useStoryBlockColor(color),
|
|
13325
13308
|
numberOfLines: numberOfLines,
|
|
13326
13309
|
children: children
|
|
@@ -13941,7 +13924,7 @@ function ToastContent(_ref) {
|
|
|
13941
13924
|
flexGrow: 1,
|
|
13942
13925
|
flexShrink: 1,
|
|
13943
13926
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13944
|
-
base: "
|
|
13927
|
+
base: "heading-xs",
|
|
13945
13928
|
color: "white",
|
|
13946
13929
|
children: title
|
|
13947
13930
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13957,7 +13940,7 @@ function ToastContent(_ref) {
|
|
|
13957
13940
|
borderColor: "white",
|
|
13958
13941
|
onPress: onPress,
|
|
13959
13942
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13960
|
-
base: "
|
|
13943
|
+
base: "heading-xs",
|
|
13961
13944
|
color: "white",
|
|
13962
13945
|
children: actionLabel
|
|
13963
13946
|
})
|