@ornikar/kitt-universal 32.5.4-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.0 → 32.6.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 +2 -13
- 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 +20 -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/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 +47 -31
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +47 -31
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +47 -31
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +46 -31
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +47 -31
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +46 -31
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +47 -31
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +46 -31
- 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/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -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,
|
|
@@ -10259,6 +10248,12 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10259
10248
|
'3xl': Number.MAX_SAFE_INTEGER,
|
|
10260
10249
|
xs: Number.MAX_SAFE_INTEGER
|
|
10261
10250
|
}, spaces.positive), {}, {
|
|
10251
|
+
// Bumper retrofitting
|
|
10252
|
+
'radius.none': 0,
|
|
10253
|
+
'radius.s': 2,
|
|
10254
|
+
'radius.m': 4,
|
|
10255
|
+
'radius.l': 8,
|
|
10256
|
+
'radius.circle': 1000,
|
|
10262
10257
|
kitt: {
|
|
10263
10258
|
actionCard: {
|
|
10264
10259
|
borderRadius: theme.actionCard.borderRadius
|
|
@@ -10662,6 +10657,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10662
10657
|
app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
|
|
10663
10658
|
},
|
|
10664
10659
|
sizes: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
|
|
10660
|
+
// Bumper retrofitting
|
|
10661
|
+
'size.16': 16,
|
|
10662
|
+
'size.20': 20,
|
|
10663
|
+
'size.24': 24,
|
|
10664
|
+
'size.32': 32,
|
|
10665
|
+
'size.48': 48,
|
|
10666
|
+
'size.64': 64,
|
|
10667
|
+
'size.80': 80,
|
|
10668
|
+
'size.96': 96,
|
|
10669
|
+
'size.120': 120,
|
|
10670
|
+
'size.144': 144,
|
|
10671
|
+
'size.176': 176,
|
|
10672
|
+
'size.208': 208,
|
|
10665
10673
|
kitt: {
|
|
10666
10674
|
avatar: {
|
|
10667
10675
|
size: theme.avatar.size,
|
|
@@ -10674,10 +10682,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10674
10682
|
button: {
|
|
10675
10683
|
minWidth: theme.button.minWidth,
|
|
10676
10684
|
maxWidth: theme.button.maxWidth,
|
|
10677
|
-
minHeight: {
|
|
10678
|
-
default: theme.button.minHeight.default,
|
|
10679
|
-
medium: theme.button.minHeight.medium
|
|
10680
|
-
},
|
|
10681
10685
|
maxHeight: theme.button.maxHeight,
|
|
10682
10686
|
height: {
|
|
10683
10687
|
default: theme.button.height.default,
|
|
@@ -11067,6 +11071,20 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11067
11071
|
app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.sizes
|
|
11068
11072
|
}),
|
|
11069
11073
|
space: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
|
|
11074
|
+
// Bumper retrofitting
|
|
11075
|
+
'space.none': 0,
|
|
11076
|
+
'space.2': 2,
|
|
11077
|
+
'space.4': 4,
|
|
11078
|
+
'space.8': 8,
|
|
11079
|
+
'space.12': 12,
|
|
11080
|
+
'space.16': 16,
|
|
11081
|
+
'space.24': 24,
|
|
11082
|
+
'space.32': 32,
|
|
11083
|
+
'space.40': 40,
|
|
11084
|
+
'space.48': 48,
|
|
11085
|
+
'space.56': 56,
|
|
11086
|
+
'space.64': 64,
|
|
11087
|
+
'space.80': 80,
|
|
11070
11088
|
kitt: {
|
|
11071
11089
|
bottomSheet: {
|
|
11072
11090
|
container: {
|
|
@@ -11294,7 +11312,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11294
11312
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11295
11313
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11296
11314
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11297
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11298
11315
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11299
11316
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11300
11317
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11318,7 +11335,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11318
11335
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11319
11336
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11320
11337
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11321
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11322
11338
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11323
11339
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11324
11340
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13085,7 +13101,7 @@ function StoryTitleLevel4({
|
|
|
13085
13101
|
return /*#__PURE__*/jsx(View, {
|
|
13086
13102
|
marginBottom: 10,
|
|
13087
13103
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
13088
|
-
base: "
|
|
13104
|
+
base: "heading-s",
|
|
13089
13105
|
color: useStoryBlockColor(color),
|
|
13090
13106
|
numberOfLines: numberOfLines,
|
|
13091
13107
|
children: children
|
|
@@ -13701,7 +13717,7 @@ function ToastContent({
|
|
|
13701
13717
|
flexGrow: 1,
|
|
13702
13718
|
flexShrink: 1,
|
|
13703
13719
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13704
|
-
base: "
|
|
13720
|
+
base: "heading-xs",
|
|
13705
13721
|
color: "white",
|
|
13706
13722
|
children: title
|
|
13707
13723
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13717,7 +13733,7 @@ function ToastContent({
|
|
|
13717
13733
|
borderColor: "white",
|
|
13718
13734
|
onPress: onPress,
|
|
13719
13735
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13720
|
-
base: "
|
|
13736
|
+
base: "heading-xs",
|
|
13721
13737
|
color: "white",
|
|
13722
13738
|
children: actionLabel
|
|
13723
13739
|
})
|