@ornikar/kitt-universal 32.5.4-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.0 → 32.7.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 +8 -10
- 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
package/dist/index.es.web.js
CHANGED
|
@@ -689,10 +689,6 @@ var button = {
|
|
|
689
689
|
"default": 40,
|
|
690
690
|
medium: 48
|
|
691
691
|
},
|
|
692
|
-
minHeight: {
|
|
693
|
-
"default": 40,
|
|
694
|
-
medium: 48
|
|
695
|
-
},
|
|
696
692
|
maxHeight: 48,
|
|
697
693
|
icon: {
|
|
698
694
|
medium: {
|
|
@@ -2147,8 +2143,8 @@ var typography = {
|
|
|
2147
2143
|
allowedFontWeights: ['semibold']
|
|
2148
2144
|
},
|
|
2149
2145
|
'heading-l': {
|
|
2150
|
-
fontSize:
|
|
2151
|
-
lineHeight:
|
|
2146
|
+
fontSize: 40,
|
|
2147
|
+
lineHeight: 48,
|
|
2152
2148
|
allowedFontWeights: ['semibold']
|
|
2153
2149
|
},
|
|
2154
2150
|
'heading-m': {
|
|
@@ -2157,19 +2153,14 @@ var typography = {
|
|
|
2157
2153
|
allowedFontWeights: ['semibold']
|
|
2158
2154
|
},
|
|
2159
2155
|
'heading-s': {
|
|
2160
|
-
fontSize:
|
|
2161
|
-
lineHeight:
|
|
2162
|
-
allowedFontWeights: ['
|
|
2156
|
+
fontSize: 18,
|
|
2157
|
+
lineHeight: 20,
|
|
2158
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2163
2159
|
},
|
|
2164
2160
|
'heading-xs': {
|
|
2165
|
-
fontSize: 20,
|
|
2166
|
-
lineHeight: 24,
|
|
2167
|
-
allowedFontWeights: ['semibold']
|
|
2168
|
-
},
|
|
2169
|
-
'heading-xxs': {
|
|
2170
2161
|
fontSize: 16,
|
|
2171
|
-
lineHeight:
|
|
2172
|
-
allowedFontWeights: ['
|
|
2162
|
+
lineHeight: 18,
|
|
2163
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2173
2164
|
}
|
|
2174
2165
|
}
|
|
2175
2166
|
},
|
|
@@ -2236,17 +2227,17 @@ var typography = {
|
|
|
2236
2227
|
configs: {
|
|
2237
2228
|
'label-large': {
|
|
2238
2229
|
fontSize: 16,
|
|
2239
|
-
lineHeight:
|
|
2230
|
+
lineHeight: 24,
|
|
2240
2231
|
allowedFontWeights: ['semibold']
|
|
2241
2232
|
},
|
|
2242
2233
|
'label-medium': {
|
|
2243
2234
|
fontSize: 14,
|
|
2244
|
-
lineHeight:
|
|
2235
|
+
lineHeight: 20,
|
|
2245
2236
|
allowedFontWeights: ['semibold']
|
|
2246
2237
|
},
|
|
2247
2238
|
'label-small': {
|
|
2248
2239
|
fontSize: 12,
|
|
2249
|
-
lineHeight:
|
|
2240
|
+
lineHeight: 16,
|
|
2250
2241
|
allowedFontWeights: ['semibold']
|
|
2251
2242
|
}
|
|
2252
2243
|
}
|
|
@@ -3167,9 +3158,7 @@ function AnimatedContainer$2(_ref) {
|
|
|
3167
3158
|
},
|
|
3168
3159
|
width: width,
|
|
3169
3160
|
height: height,
|
|
3170
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3171
3161
|
alignSelf: "baseline",
|
|
3172
|
-
justifyContent: "center",
|
|
3173
3162
|
borderRadius: "kitt.button.borderRadius",
|
|
3174
3163
|
backgroundColor: currentBackgroundColor,
|
|
3175
3164
|
children: children
|
|
@@ -3868,7 +3857,6 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3868
3857
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3869
3858
|
minWidth: "kitt.button.minWidth",
|
|
3870
3859
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3871
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3872
3860
|
maxHeight: "kitt.button.maxHeight",
|
|
3873
3861
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3874
3862
|
onPress: onPress,
|
|
@@ -9777,6 +9765,12 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9777
9765
|
'3xl': Number.MAX_SAFE_INTEGER,
|
|
9778
9766
|
xs: Number.MAX_SAFE_INTEGER
|
|
9779
9767
|
}, spaces.positive), {}, {
|
|
9768
|
+
// Bumper retrofitting
|
|
9769
|
+
'radius.none': 0,
|
|
9770
|
+
'radius.s': 2,
|
|
9771
|
+
'radius.m': 4,
|
|
9772
|
+
'radius.l': 8,
|
|
9773
|
+
'radius.circle': 1000,
|
|
9780
9774
|
kitt: {
|
|
9781
9775
|
actionCard: {
|
|
9782
9776
|
borderRadius: theme.actionCard.borderRadius
|
|
@@ -10180,6 +10174,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10180
10174
|
app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
|
|
10181
10175
|
},
|
|
10182
10176
|
sizes: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
|
|
10177
|
+
// Bumper retrofitting
|
|
10178
|
+
'size.16': 16,
|
|
10179
|
+
'size.20': 20,
|
|
10180
|
+
'size.24': 24,
|
|
10181
|
+
'size.32': 32,
|
|
10182
|
+
'size.48': 48,
|
|
10183
|
+
'size.64': 64,
|
|
10184
|
+
'size.80': 80,
|
|
10185
|
+
'size.96': 96,
|
|
10186
|
+
'size.120': 120,
|
|
10187
|
+
'size.144': 144,
|
|
10188
|
+
'size.176': 176,
|
|
10189
|
+
'size.208': 208,
|
|
10183
10190
|
kitt: {
|
|
10184
10191
|
avatar: {
|
|
10185
10192
|
size: theme.avatar.size,
|
|
@@ -10192,10 +10199,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10192
10199
|
button: {
|
|
10193
10200
|
minWidth: theme.button.minWidth,
|
|
10194
10201
|
maxWidth: theme.button.maxWidth,
|
|
10195
|
-
minHeight: {
|
|
10196
|
-
"default": theme.button.minHeight["default"],
|
|
10197
|
-
medium: theme.button.minHeight.medium
|
|
10198
|
-
},
|
|
10199
10202
|
maxHeight: theme.button.maxHeight,
|
|
10200
10203
|
height: {
|
|
10201
10204
|
"default": theme.button.height["default"],
|
|
@@ -10585,6 +10588,20 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10585
10588
|
app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.sizes
|
|
10586
10589
|
}),
|
|
10587
10590
|
space: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
|
|
10591
|
+
// Bumper retrofitting
|
|
10592
|
+
'space.none': 0,
|
|
10593
|
+
'space.2': 2,
|
|
10594
|
+
'space.4': 4,
|
|
10595
|
+
'space.8': 8,
|
|
10596
|
+
'space.12': 12,
|
|
10597
|
+
'space.16': 16,
|
|
10598
|
+
'space.24': 24,
|
|
10599
|
+
'space.32': 32,
|
|
10600
|
+
'space.40': 40,
|
|
10601
|
+
'space.48': 48,
|
|
10602
|
+
'space.56': 56,
|
|
10603
|
+
'space.64': 64,
|
|
10604
|
+
'space.80': 80,
|
|
10588
10605
|
kitt: {
|
|
10589
10606
|
bottomSheet: {
|
|
10590
10607
|
container: {
|
|
@@ -10812,7 +10829,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10812
10829
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
10813
10830
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
10814
10831
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
|
|
10815
|
-
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
|
|
10816
10832
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
10817
10833
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
10818
10834
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -10836,7 +10852,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10836
10852
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
10837
10853
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
10838
10854
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
|
|
10839
|
-
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
|
|
10840
10855
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
10841
10856
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
10842
10857
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -12670,7 +12685,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
12670
12685
|
return /*#__PURE__*/jsx(View, {
|
|
12671
12686
|
marginBottom: 10,
|
|
12672
12687
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
12673
|
-
base: "
|
|
12688
|
+
base: "heading-s",
|
|
12674
12689
|
color: useStoryBlockColor(color),
|
|
12675
12690
|
numberOfLines: numberOfLines,
|
|
12676
12691
|
children: children
|
|
@@ -13223,7 +13238,7 @@ function ToastContent(_ref) {
|
|
|
13223
13238
|
flexGrow: 1,
|
|
13224
13239
|
flexShrink: 1,
|
|
13225
13240
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13226
|
-
base: "
|
|
13241
|
+
base: "heading-xs",
|
|
13227
13242
|
color: "white",
|
|
13228
13243
|
children: title
|
|
13229
13244
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13239,7 +13254,7 @@ function ToastContent(_ref) {
|
|
|
13239
13254
|
borderColor: "white",
|
|
13240
13255
|
onPress: onPress,
|
|
13241
13256
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13242
|
-
base: "
|
|
13257
|
+
base: "heading-xs",
|
|
13243
13258
|
color: "white",
|
|
13244
13259
|
children: actionLabel
|
|
13245
13260
|
})
|