@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
|
@@ -676,10 +676,6 @@ const button = {
|
|
|
676
676
|
default: 40,
|
|
677
677
|
medium: 48
|
|
678
678
|
},
|
|
679
|
-
minHeight: {
|
|
680
|
-
default: 40,
|
|
681
|
-
medium: 48
|
|
682
|
-
},
|
|
683
679
|
maxHeight: 48,
|
|
684
680
|
icon: {
|
|
685
681
|
medium: {
|
|
@@ -2134,8 +2130,8 @@ const typography = {
|
|
|
2134
2130
|
allowedFontWeights: ['semibold']
|
|
2135
2131
|
},
|
|
2136
2132
|
'heading-l': {
|
|
2137
|
-
fontSize:
|
|
2138
|
-
lineHeight:
|
|
2133
|
+
fontSize: 40,
|
|
2134
|
+
lineHeight: 48,
|
|
2139
2135
|
allowedFontWeights: ['semibold']
|
|
2140
2136
|
},
|
|
2141
2137
|
'heading-m': {
|
|
@@ -2144,19 +2140,14 @@ const typography = {
|
|
|
2144
2140
|
allowedFontWeights: ['semibold']
|
|
2145
2141
|
},
|
|
2146
2142
|
'heading-s': {
|
|
2147
|
-
fontSize:
|
|
2148
|
-
lineHeight:
|
|
2149
|
-
allowedFontWeights: ['
|
|
2143
|
+
fontSize: 18,
|
|
2144
|
+
lineHeight: 20,
|
|
2145
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2150
2146
|
},
|
|
2151
2147
|
'heading-xs': {
|
|
2152
|
-
fontSize: 20,
|
|
2153
|
-
lineHeight: 24,
|
|
2154
|
-
allowedFontWeights: ['semibold']
|
|
2155
|
-
},
|
|
2156
|
-
'heading-xxs': {
|
|
2157
2148
|
fontSize: 16,
|
|
2158
|
-
lineHeight:
|
|
2159
|
-
allowedFontWeights: ['
|
|
2149
|
+
lineHeight: 18,
|
|
2150
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2160
2151
|
}
|
|
2161
2152
|
}
|
|
2162
2153
|
},
|
|
@@ -2223,17 +2214,17 @@ const typography = {
|
|
|
2223
2214
|
configs: {
|
|
2224
2215
|
'label-large': {
|
|
2225
2216
|
fontSize: 16,
|
|
2226
|
-
lineHeight:
|
|
2217
|
+
lineHeight: 24,
|
|
2227
2218
|
allowedFontWeights: ['semibold']
|
|
2228
2219
|
},
|
|
2229
2220
|
'label-medium': {
|
|
2230
2221
|
fontSize: 14,
|
|
2231
|
-
lineHeight:
|
|
2222
|
+
lineHeight: 20,
|
|
2232
2223
|
allowedFontWeights: ['semibold']
|
|
2233
2224
|
},
|
|
2234
2225
|
'label-small': {
|
|
2235
2226
|
fontSize: 12,
|
|
2236
|
-
lineHeight:
|
|
2227
|
+
lineHeight: 16,
|
|
2237
2228
|
allowedFontWeights: ['semibold']
|
|
2238
2229
|
}
|
|
2239
2230
|
}
|
|
@@ -3141,8 +3132,7 @@ function AnimatedContainer$2({
|
|
|
3141
3132
|
borderRadius: 'kitt.button.borderRadius',
|
|
3142
3133
|
backgroundColor: currentBackgroundColor,
|
|
3143
3134
|
width,
|
|
3144
|
-
height
|
|
3145
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3135
|
+
height
|
|
3146
3136
|
});
|
|
3147
3137
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3148
3138
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3856,7 +3846,6 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3856
3846
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3857
3847
|
minWidth: "kitt.button.minWidth",
|
|
3858
3848
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3859
|
-
minHeight: _size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3860
3849
|
maxHeight: "kitt.button.maxHeight",
|
|
3861
3850
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3862
3851
|
onPress: onPress,
|
|
@@ -10663,10 +10652,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10663
10652
|
button: {
|
|
10664
10653
|
minWidth: theme.button.minWidth,
|
|
10665
10654
|
maxWidth: theme.button.maxWidth,
|
|
10666
|
-
minHeight: {
|
|
10667
|
-
default: theme.button.minHeight.default,
|
|
10668
|
-
medium: theme.button.minHeight.medium
|
|
10669
|
-
},
|
|
10670
10655
|
maxHeight: theme.button.maxHeight,
|
|
10671
10656
|
height: {
|
|
10672
10657
|
default: theme.button.height.default,
|
|
@@ -11283,7 +11268,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11283
11268
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11284
11269
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11285
11270
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11286
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11287
11271
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11288
11272
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11289
11273
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11307,7 +11291,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11307
11291
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11308
11292
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11309
11293
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11310
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11311
11294
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11312
11295
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11313
11296
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13074,7 +13057,7 @@ function StoryTitleLevel4({
|
|
|
13074
13057
|
return /*#__PURE__*/jsx(View, {
|
|
13075
13058
|
marginBottom: 10,
|
|
13076
13059
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13077
|
-
base: "
|
|
13060
|
+
base: "heading-s",
|
|
13078
13061
|
color: useStoryBlockColor(color),
|
|
13079
13062
|
numberOfLines: numberOfLines,
|
|
13080
13063
|
children: children
|
|
@@ -13690,7 +13673,7 @@ function ToastContent({
|
|
|
13690
13673
|
flexGrow: 1,
|
|
13691
13674
|
flexShrink: 1,
|
|
13692
13675
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13693
|
-
base: "
|
|
13676
|
+
base: "heading-xs",
|
|
13694
13677
|
color: "white",
|
|
13695
13678
|
children: title
|
|
13696
13679
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13706,7 +13689,7 @@ function ToastContent({
|
|
|
13706
13689
|
borderColor: "white",
|
|
13707
13690
|
onPress: onPress,
|
|
13708
13691
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13709
|
-
base: "
|
|
13692
|
+
base: "heading-xs",
|
|
13710
13693
|
color: "white",
|
|
13711
13694
|
children: actionLabel
|
|
13712
13695
|
})
|