@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
|
@@ -697,10 +697,6 @@ const button = {
|
|
|
697
697
|
default: 40,
|
|
698
698
|
medium: 48
|
|
699
699
|
},
|
|
700
|
-
minHeight: {
|
|
701
|
-
default: 40,
|
|
702
|
-
medium: 48
|
|
703
|
-
},
|
|
704
700
|
maxHeight: 48,
|
|
705
701
|
icon: {
|
|
706
702
|
medium: {
|
|
@@ -2155,8 +2151,8 @@ const typography = {
|
|
|
2155
2151
|
allowedFontWeights: ['semibold']
|
|
2156
2152
|
},
|
|
2157
2153
|
'heading-l': {
|
|
2158
|
-
fontSize:
|
|
2159
|
-
lineHeight:
|
|
2154
|
+
fontSize: 40,
|
|
2155
|
+
lineHeight: 48,
|
|
2160
2156
|
allowedFontWeights: ['semibold']
|
|
2161
2157
|
},
|
|
2162
2158
|
'heading-m': {
|
|
@@ -2165,19 +2161,14 @@ const typography = {
|
|
|
2165
2161
|
allowedFontWeights: ['semibold']
|
|
2166
2162
|
},
|
|
2167
2163
|
'heading-s': {
|
|
2168
|
-
fontSize:
|
|
2169
|
-
lineHeight:
|
|
2170
|
-
allowedFontWeights: ['
|
|
2164
|
+
fontSize: 18,
|
|
2165
|
+
lineHeight: 20,
|
|
2166
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2171
2167
|
},
|
|
2172
2168
|
'heading-xs': {
|
|
2173
|
-
fontSize: 20,
|
|
2174
|
-
lineHeight: 24,
|
|
2175
|
-
allowedFontWeights: ['semibold']
|
|
2176
|
-
},
|
|
2177
|
-
'heading-xxs': {
|
|
2178
2169
|
fontSize: 16,
|
|
2179
|
-
lineHeight:
|
|
2180
|
-
allowedFontWeights: ['
|
|
2170
|
+
lineHeight: 18,
|
|
2171
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2181
2172
|
}
|
|
2182
2173
|
}
|
|
2183
2174
|
},
|
|
@@ -2244,17 +2235,17 @@ const typography = {
|
|
|
2244
2235
|
configs: {
|
|
2245
2236
|
'label-large': {
|
|
2246
2237
|
fontSize: 16,
|
|
2247
|
-
lineHeight:
|
|
2238
|
+
lineHeight: 24,
|
|
2248
2239
|
allowedFontWeights: ['semibold']
|
|
2249
2240
|
},
|
|
2250
2241
|
'label-medium': {
|
|
2251
2242
|
fontSize: 14,
|
|
2252
|
-
lineHeight:
|
|
2243
|
+
lineHeight: 20,
|
|
2253
2244
|
allowedFontWeights: ['semibold']
|
|
2254
2245
|
},
|
|
2255
2246
|
'label-small': {
|
|
2256
2247
|
fontSize: 12,
|
|
2257
|
-
lineHeight:
|
|
2248
|
+
lineHeight: 16,
|
|
2258
2249
|
allowedFontWeights: ['semibold']
|
|
2259
2250
|
}
|
|
2260
2251
|
}
|
|
@@ -3160,8 +3151,7 @@ function AnimatedContainer$2({
|
|
|
3160
3151
|
borderRadius: 'kitt.button.borderRadius',
|
|
3161
3152
|
backgroundColor: currentBackgroundColor,
|
|
3162
3153
|
width,
|
|
3163
|
-
height
|
|
3164
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium'
|
|
3154
|
+
height
|
|
3165
3155
|
});
|
|
3166
3156
|
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
3167
3157
|
style: disabled ? [styles] : [styles, animatedStyles],
|
|
@@ -3879,7 +3869,6 @@ const Button = /*#__PURE__*/React.forwardRef(({
|
|
|
3879
3869
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3880
3870
|
minWidth: "kitt.button.minWidth",
|
|
3881
3871
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3882
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3883
3872
|
maxHeight: "kitt.button.maxHeight",
|
|
3884
3873
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3885
3874
|
onPress: onPress,
|
|
@@ -10264,6 +10253,12 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10264
10253
|
xs: Number.MAX_SAFE_INTEGER,
|
|
10265
10254
|
// Allow values like kitt.X
|
|
10266
10255
|
...spaces.positive,
|
|
10256
|
+
// Bumper retrofitting
|
|
10257
|
+
'radius.none': 0,
|
|
10258
|
+
'radius.s': 2,
|
|
10259
|
+
'radius.m': 4,
|
|
10260
|
+
'radius.l': 8,
|
|
10261
|
+
'radius.circle': 1000,
|
|
10267
10262
|
kitt: {
|
|
10268
10263
|
actionCard: {
|
|
10269
10264
|
borderRadius: theme.actionCard.borderRadius
|
|
@@ -10670,6 +10665,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10670
10665
|
...spaces.positive,
|
|
10671
10666
|
...spaces.negative,
|
|
10672
10667
|
...overridenNativeBaseSizeandSpaceScale,
|
|
10668
|
+
// Bumper retrofitting
|
|
10669
|
+
'size.16': 16,
|
|
10670
|
+
'size.20': 20,
|
|
10671
|
+
'size.24': 24,
|
|
10672
|
+
'size.32': 32,
|
|
10673
|
+
'size.48': 48,
|
|
10674
|
+
'size.64': 64,
|
|
10675
|
+
'size.80': 80,
|
|
10676
|
+
'size.96': 96,
|
|
10677
|
+
'size.120': 120,
|
|
10678
|
+
'size.144': 144,
|
|
10679
|
+
'size.176': 176,
|
|
10680
|
+
'size.208': 208,
|
|
10673
10681
|
kitt: {
|
|
10674
10682
|
avatar: {
|
|
10675
10683
|
size: theme.avatar.size,
|
|
@@ -10682,10 +10690,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10682
10690
|
button: {
|
|
10683
10691
|
minWidth: theme.button.minWidth,
|
|
10684
10692
|
maxWidth: theme.button.maxWidth,
|
|
10685
|
-
minHeight: {
|
|
10686
|
-
default: theme.button.minHeight.default,
|
|
10687
|
-
medium: theme.button.minHeight.medium
|
|
10688
|
-
},
|
|
10689
10693
|
maxHeight: theme.button.maxHeight,
|
|
10690
10694
|
height: {
|
|
10691
10695
|
default: theme.button.height.default,
|
|
@@ -11078,6 +11082,20 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11078
11082
|
...spaces.positive,
|
|
11079
11083
|
...spaces.negative,
|
|
11080
11084
|
...overridenNativeBaseSizeandSpaceScale,
|
|
11085
|
+
// Bumper retrofitting
|
|
11086
|
+
'space.none': 0,
|
|
11087
|
+
'space.2': 2,
|
|
11088
|
+
'space.4': 4,
|
|
11089
|
+
'space.8': 8,
|
|
11090
|
+
'space.12': 12,
|
|
11091
|
+
'space.16': 16,
|
|
11092
|
+
'space.24': 24,
|
|
11093
|
+
'space.32': 32,
|
|
11094
|
+
'space.40': 40,
|
|
11095
|
+
'space.48': 48,
|
|
11096
|
+
'space.56': 56,
|
|
11097
|
+
'space.64': 64,
|
|
11098
|
+
'space.80': 80,
|
|
11081
11099
|
kitt: {
|
|
11082
11100
|
bottomSheet: {
|
|
11083
11101
|
container: {
|
|
@@ -11307,7 +11325,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11307
11325
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
11308
11326
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
11309
11327
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
11310
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
11311
11328
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
11312
11329
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
11313
11330
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -11331,7 +11348,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11331
11348
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
11332
11349
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
11333
11350
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
11334
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
11335
11351
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
11336
11352
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
11337
11353
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -13103,7 +13119,7 @@ function StoryTitleLevel4({
|
|
|
13103
13119
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
13104
13120
|
marginBottom: 10,
|
|
13105
13121
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography.Header4, {
|
|
13106
|
-
base: "
|
|
13122
|
+
base: "heading-s",
|
|
13107
13123
|
color: useStoryBlockColor(color),
|
|
13108
13124
|
numberOfLines: numberOfLines,
|
|
13109
13125
|
children: children
|
|
@@ -13711,7 +13727,7 @@ function ToastContent({
|
|
|
13711
13727
|
flexGrow: 1,
|
|
13712
13728
|
flexShrink: 1,
|
|
13713
13729
|
children: [title ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
13714
|
-
base: "
|
|
13730
|
+
base: "heading-xs",
|
|
13715
13731
|
color: "white",
|
|
13716
13732
|
children: title
|
|
13717
13733
|
}) : null, description ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
@@ -13727,7 +13743,7 @@ function ToastContent({
|
|
|
13727
13743
|
borderColor: "white",
|
|
13728
13744
|
onPress: onPress,
|
|
13729
13745
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
13730
|
-
base: "
|
|
13746
|
+
base: "heading-xs",
|
|
13731
13747
|
color: "white",
|
|
13732
13748
|
children: actionLabel
|
|
13733
13749
|
})
|