@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
|
@@ -673,10 +673,6 @@ const button = {
|
|
|
673
673
|
default: 40,
|
|
674
674
|
medium: 48
|
|
675
675
|
},
|
|
676
|
-
minHeight: {
|
|
677
|
-
default: 40,
|
|
678
|
-
medium: 48
|
|
679
|
-
},
|
|
680
676
|
maxHeight: 48,
|
|
681
677
|
icon: {
|
|
682
678
|
medium: {
|
|
@@ -2131,8 +2127,8 @@ const typography = {
|
|
|
2131
2127
|
allowedFontWeights: ['semibold']
|
|
2132
2128
|
},
|
|
2133
2129
|
'heading-l': {
|
|
2134
|
-
fontSize:
|
|
2135
|
-
lineHeight:
|
|
2130
|
+
fontSize: 40,
|
|
2131
|
+
lineHeight: 48,
|
|
2136
2132
|
allowedFontWeights: ['semibold']
|
|
2137
2133
|
},
|
|
2138
2134
|
'heading-m': {
|
|
@@ -2141,19 +2137,14 @@ const typography = {
|
|
|
2141
2137
|
allowedFontWeights: ['semibold']
|
|
2142
2138
|
},
|
|
2143
2139
|
'heading-s': {
|
|
2144
|
-
fontSize:
|
|
2145
|
-
lineHeight:
|
|
2146
|
-
allowedFontWeights: ['
|
|
2140
|
+
fontSize: 18,
|
|
2141
|
+
lineHeight: 20,
|
|
2142
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2147
2143
|
},
|
|
2148
2144
|
'heading-xs': {
|
|
2149
|
-
fontSize: 20,
|
|
2150
|
-
lineHeight: 24,
|
|
2151
|
-
allowedFontWeights: ['semibold']
|
|
2152
|
-
},
|
|
2153
|
-
'heading-xxs': {
|
|
2154
2145
|
fontSize: 16,
|
|
2155
|
-
lineHeight:
|
|
2156
|
-
allowedFontWeights: ['
|
|
2146
|
+
lineHeight: 18,
|
|
2147
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2157
2148
|
}
|
|
2158
2149
|
}
|
|
2159
2150
|
},
|
|
@@ -2220,17 +2211,17 @@ const typography = {
|
|
|
2220
2211
|
configs: {
|
|
2221
2212
|
'label-large': {
|
|
2222
2213
|
fontSize: 16,
|
|
2223
|
-
lineHeight:
|
|
2214
|
+
lineHeight: 24,
|
|
2224
2215
|
allowedFontWeights: ['semibold']
|
|
2225
2216
|
},
|
|
2226
2217
|
'label-medium': {
|
|
2227
2218
|
fontSize: 14,
|
|
2228
|
-
lineHeight:
|
|
2219
|
+
lineHeight: 20,
|
|
2229
2220
|
allowedFontWeights: ['semibold']
|
|
2230
2221
|
},
|
|
2231
2222
|
'label-small': {
|
|
2232
2223
|
fontSize: 12,
|
|
2233
|
-
lineHeight:
|
|
2224
|
+
lineHeight: 16,
|
|
2234
2225
|
allowedFontWeights: ['semibold']
|
|
2235
2226
|
}
|
|
2236
2227
|
}
|
|
@@ -3136,8 +3127,7 @@ function AnimatedContainer$2({
|
|
|
3136
3127
|
borderRadius: 'kitt.button.borderRadius',
|
|
3137
3128
|
backgroundColor: currentBackgroundColor,
|
|
3138
3129
|
width,
|
|
3139
|
-
height
|
|
3140
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3130
|
+
height
|
|
3141
3131
|
});
|
|
3142
3132
|
return /*#__PURE__*/jsx(Animated.View, {
|
|
3143
3133
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3855,7 +3845,6 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3855
3845
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3856
3846
|
minWidth: "kitt.button.minWidth",
|
|
3857
3847
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3858
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3859
3848
|
maxHeight: "kitt.button.maxHeight",
|
|
3860
3849
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3861
3850
|
onPress: onPress,
|
|
@@ -10647,10 +10636,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10647
10636
|
button: {
|
|
10648
10637
|
minWidth: theme.button.minWidth,
|
|
10649
10638
|
maxWidth: theme.button.maxWidth,
|
|
10650
|
-
minHeight: {
|
|
10651
|
-
default: theme.button.minHeight.default,
|
|
10652
|
-
medium: theme.button.minHeight.medium
|
|
10653
|
-
},
|
|
10654
10639
|
maxHeight: theme.button.maxHeight,
|
|
10655
10640
|
height: {
|
|
10656
10641
|
default: theme.button.height.default,
|
|
@@ -11272,7 +11257,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11272
11257
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11273
11258
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11274
11259
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11275
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11276
11260
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11277
11261
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11278
11262
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11296,7 +11280,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11296
11280
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11297
11281
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11298
11282
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11299
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11300
11283
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11301
11284
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11302
11285
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13068,7 +13051,7 @@ function StoryTitleLevel4({
|
|
|
13068
13051
|
return /*#__PURE__*/jsx(View, {
|
|
13069
13052
|
marginBottom: 10,
|
|
13070
13053
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13071
|
-
base: "
|
|
13054
|
+
base: "heading-s",
|
|
13072
13055
|
color: useStoryBlockColor(color),
|
|
13073
13056
|
numberOfLines: numberOfLines,
|
|
13074
13057
|
children: children
|
|
@@ -13676,7 +13659,7 @@ function ToastContent({
|
|
|
13676
13659
|
flexGrow: 1,
|
|
13677
13660
|
flexShrink: 1,
|
|
13678
13661
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13679
|
-
base: "
|
|
13662
|
+
base: "heading-xs",
|
|
13680
13663
|
color: "white",
|
|
13681
13664
|
children: title
|
|
13682
13665
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13692,7 +13675,7 @@ function ToastContent({
|
|
|
13692
13675
|
borderColor: "white",
|
|
13693
13676
|
onPress: onPress,
|
|
13694
13677
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13695
|
-
base: "
|
|
13678
|
+
base: "heading-xs",
|
|
13696
13679
|
color: "white",
|
|
13697
13680
|
children: actionLabel
|
|
13698
13681
|
})
|