@ornikar/kitt-universal 9.17.0 → 9.18.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/dist/definitions/native-base/layout.d.ts +4 -1
- package/dist/definitions/native-base/layout.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +9 -8
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +9 -8
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +9 -8
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +5 -4
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +10 -8
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +6 -4
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IStackProps } from 'native-base';
|
|
1
|
+
import type { ICenterProps, IStackProps } from 'native-base';
|
|
2
2
|
import type { InterfaceStackProps } from 'native-base/lib/typescript/components/primitives/Stack/Stack';
|
|
3
3
|
import type { SafeAreaProps, SpaceType } from 'native-base/lib/typescript/components/types';
|
|
4
4
|
import type { ViewProps as NativeViewProps } from 'react-native';
|
|
@@ -18,5 +18,8 @@ export interface HStackProps extends Except<StackProps, 'direction'> {
|
|
|
18
18
|
direction?: Extract<StackProps['direction'], 'row' | 'row-reverse'>;
|
|
19
19
|
}
|
|
20
20
|
export declare const HStack: ForwardRefComponent<HStackProps>;
|
|
21
|
+
export interface CenterProps extends Pick<ICenterProps, NativeBaseAcceptedChildrenProp | NativeBaseAcceptedSpaceProps | NativeBaseAcceptedColorsProps | NativeBaseAcceptedBorderProps | NativeBaseAcceptedBorderRadiusProps | NativeBaseAcceptedPositionProps | NativeBaseAcceptedShadowProps | NativeBaseAcceptedLayoutProps | NativeBaseAcceptedFlexboxProps> {
|
|
22
|
+
}
|
|
23
|
+
export declare const Center: ForwardRefComponent<CenterProps>;
|
|
21
24
|
export {};
|
|
22
25
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/native-base/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/native-base/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAO7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,KAAK,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,KAAK,EACV,mBAAmB,EACnB,6BAA6B,EAC7B,mCAAmC,EACnC,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC7B,+BAA+B,EAC/B,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAC;AAExC,aAAK,4BAA4B,GAAG,OAAO,CACzC,MAAM,mBAAmB,EACvB,SAAS,GACT,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,GACX,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,MAAM,eAAe,GACrB,MAAM,aAAa,CACtB,CAAC;AAEF,MAAM,WAAW,UACf,SAAQ,IAAI,CACV,WAAW,EACT,8BAA8B,GAC9B,4BAA4B,GAC5B,4BAA4B,GAC5B,6BAA6B,GAC7B,6BAA6B,GAC7B,mCAAmC,GACnC,+BAA+B,GAC/B,6BAA6B,GAC7B,6BAA6B,GAC7B,8BAA8B,CACjC;IACD,KAAK,CAAC,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;CAC9C;AAED,eAAO,MAAM,KAAK,iCAAqD,CAAC;AAExE,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,GAAG,gBAAgB,CAAC,CAAC;CAC3E;AACD,eAAO,MAAM,MAAM,kCAAuD,CAAC;AAE3E,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC,CAAC;CACrE;AACD,eAAO,MAAM,MAAM,kCAAuD,CAAC;AAE3E,MAAM,WAAW,WACf,SAAQ,IAAI,CACV,YAAY,EACV,8BAA8B,GAC9B,4BAA4B,GAC5B,6BAA6B,GAC7B,6BAA6B,GAC7B,mCAAmC,GACnC,+BAA+B,GAC/B,6BAA6B,GAC7B,6BAA6B,GAC7B,8BAA8B,CACjC;CAAG;AAEN,eAAO,MAAM,MAAM,kCAAuD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import { Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Text as Text$1, Image as Image$1, Input, NativeBaseProvider, extendTheme } from 'native-base';
|
|
3
|
+
import { Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Text as Text$1, Image as Image$1, Input, NativeBaseProvider, extendTheme } from 'native-base';
|
|
4
4
|
import _extends from '@babel/runtime/helpers/extends';
|
|
5
5
|
import React, { useContext, createContext, cloneElement, forwardRef, useRef, useEffect, useState, useMemo, Children, Fragment as Fragment$1 } from 'react';
|
|
6
6
|
import Animated, { withSpring, useSharedValue, useAnimatedStyle, interpolateColor, useDerivedValue, withTiming, Easing as Easing$1, runOnJS, useAnimatedProps, withDelay, withRepeat, interpolate } from 'react-native-reanimated';
|
|
@@ -28,6 +28,7 @@ import { makeDecorator } from '@storybook/addons';
|
|
|
28
28
|
var Stack = Stack$1;
|
|
29
29
|
var VStack = VStack$1;
|
|
30
30
|
var HStack = HStack$1;
|
|
31
|
+
var Center = Center$1;
|
|
31
32
|
|
|
32
33
|
var View = View$1;
|
|
33
34
|
var ScrollView = ScrollView$1;
|
|
@@ -1979,8 +1980,8 @@ function ExternalAppLink(_ref) {
|
|
|
1979
1980
|
return _context.abrupt("return");
|
|
1980
1981
|
|
|
1981
1982
|
case 9:
|
|
1982
|
-
Linking.openURL(href)["catch"](function (
|
|
1983
|
-
console.error("An error occurred while opening ".concat(href),
|
|
1983
|
+
Linking.openURL(href)["catch"](function (error) {
|
|
1984
|
+
console.error("An error occurred while opening ".concat(href), error);
|
|
1984
1985
|
onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("An error occurred while opening ".concat(href));
|
|
1985
1986
|
});
|
|
1986
1987
|
_context.next = 13;
|
|
@@ -2080,14 +2081,14 @@ function ExternalLink(_ref) {
|
|
|
2080
2081
|
switch (openLinkBehavior["native"]) {
|
|
2081
2082
|
case 'openInModal':
|
|
2082
2083
|
case undefined:
|
|
2083
|
-
openBrowserAsync(href)["catch"](function (
|
|
2084
|
-
console.error("An error occurred while opening ".concat(href),
|
|
2084
|
+
openBrowserAsync(href)["catch"](function (error) {
|
|
2085
|
+
console.error("An error occurred while opening ".concat(href), error);
|
|
2085
2086
|
});
|
|
2086
2087
|
break;
|
|
2087
2088
|
|
|
2088
2089
|
case 'openBrowserApp':
|
|
2089
|
-
Linking.openURL(href)["catch"](function (
|
|
2090
|
-
console.error("An error occurred while opening ".concat(href),
|
|
2090
|
+
Linking.openURL(href)["catch"](function (error) {
|
|
2091
|
+
console.error("An error occurred while opening ".concat(href), error);
|
|
2091
2092
|
});
|
|
2092
2093
|
break;
|
|
2093
2094
|
|
|
@@ -6661,5 +6662,5 @@ function withTheme(WrappedComponent) {
|
|
|
6661
6662
|
});
|
|
6662
6663
|
}
|
|
6663
6664
|
|
|
6664
|
-
export { Actions, Avatar, BottomSheet, Button, Card, Checkbox, ChoicesElements, DatePicker, DialogModal, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, HStack, Highlight, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createChoicesComponent, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useBottomSheet, useKittTheme, useMatchWindowSize, useStaticBottomSheet, useStoryBlockColor, withTheme };
|
|
6665
|
+
export { Actions, Avatar, BottomSheet, Button, Card, Center, Checkbox, ChoicesElements, DatePicker, DialogModal, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, HStack, Highlight, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createChoicesComponent, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useBottomSheet, useKittTheme, useMatchWindowSize, useStaticBottomSheet, useStoryBlockColor, withTheme };
|
|
6665
6666
|
//# sourceMappingURL=index-browser-all.es.android.js.map
|