@ornikar/kitt-universal 25.58.1-canary.a2bac16fb42ca488d0dd8ad398c7507d2e37d975.0 → 25.59.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 -2
- package/dist/definitions/Actions/ActionsItem.d.ts.map +1 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +42 -0
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -0
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.web.d.ts +14 -0
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.web.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +2 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +61 -3
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +61 -3
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +61 -2
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +43 -2
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +61 -3
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +43 -3
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +59 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +38 -3
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.es.web.js
CHANGED
|
@@ -3627,7 +3627,6 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3627
3627
|
var mountedRef = useRef(false);
|
|
3628
3628
|
// securing the loading state with a ref to avoid user action between rerenders
|
|
3629
3629
|
var loadingRef = useRef(false);
|
|
3630
|
-
var isStretch = useBreakpointValue(stretch) || stretch === true;
|
|
3631
3630
|
|
|
3632
3631
|
// effect just for tracking mounted state, as onPress can unmount the ActionButton
|
|
3633
3632
|
useEffect(function () {
|
|
@@ -3637,7 +3636,6 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3637
3636
|
};
|
|
3638
3637
|
}, []);
|
|
3639
3638
|
return /*#__PURE__*/jsx(View, {
|
|
3640
|
-
flexGrow: isStretch ? 1 : undefined,
|
|
3641
3639
|
children: /*#__PURE__*/jsx(as, _objectSpread(_objectSpread({
|
|
3642
3640
|
ref: ref
|
|
3643
3641
|
}, props), {}, {
|
|
@@ -11110,6 +11108,43 @@ NavigationModal.Body = Body;
|
|
|
11110
11108
|
NavigationModal.Footer = Footer;
|
|
11111
11109
|
NavigationModal.ModalBehaviour = NavigationModalBehaviour;
|
|
11112
11110
|
|
|
11111
|
+
function NavigationBottomSheet(_ref) {
|
|
11112
|
+
var children = _ref.children,
|
|
11113
|
+
isVisible = _ref.isVisible,
|
|
11114
|
+
onClose = _ref.onClose;
|
|
11115
|
+
return /*#__PURE__*/jsx(NavigationModal.ModalBehaviour, {
|
|
11116
|
+
visible: isVisible,
|
|
11117
|
+
onClose: onClose || function () {},
|
|
11118
|
+
children: /*#__PURE__*/jsx(NavigationModal, {
|
|
11119
|
+
children: children
|
|
11120
|
+
})
|
|
11121
|
+
});
|
|
11122
|
+
}
|
|
11123
|
+
function NavigationBottomSheetHeader(_ref2) {
|
|
11124
|
+
var children = _ref2.children,
|
|
11125
|
+
left = _ref2.left;
|
|
11126
|
+
return /*#__PURE__*/jsx(NavigationModal.Header, {
|
|
11127
|
+
title: children,
|
|
11128
|
+
left: left,
|
|
11129
|
+
right: /*#__PURE__*/jsx(ModalBehaviour.CloseButton, {
|
|
11130
|
+
children: /*#__PURE__*/jsx(IconButton, {
|
|
11131
|
+
icon: /*#__PURE__*/jsx(XRegularIcon, {})
|
|
11132
|
+
})
|
|
11133
|
+
})
|
|
11134
|
+
});
|
|
11135
|
+
}
|
|
11136
|
+
function NavigationBottomSheetBody(props) {
|
|
11137
|
+
return /*#__PURE__*/jsx(NavigationModal.Body, _objectSpread({
|
|
11138
|
+
zIndex: 1
|
|
11139
|
+
}, props));
|
|
11140
|
+
}
|
|
11141
|
+
function NavigationBottomSheetFooter(props) {
|
|
11142
|
+
return /*#__PURE__*/jsx(NavigationModal.Footer, _objectSpread({}, props));
|
|
11143
|
+
}
|
|
11144
|
+
NavigationBottomSheet.Header = NavigationBottomSheetHeader;
|
|
11145
|
+
NavigationBottomSheet.Body = NavigationBottomSheetBody;
|
|
11146
|
+
NavigationBottomSheet.Footer = NavigationBottomSheetFooter;
|
|
11147
|
+
|
|
11113
11148
|
function Notification(_ref) {
|
|
11114
11149
|
var type = _ref.type,
|
|
11115
11150
|
children = _ref.children,
|
|
@@ -13332,5 +13367,5 @@ function VerticalSteps(_ref) {
|
|
|
13332
13367
|
VerticalSteps.Step = Step;
|
|
13333
13368
|
VerticalSteps.BorderlessStep = BorderlessStep;
|
|
13334
13369
|
|
|
13335
|
-
export { ActionCard, Actions, Autocomplete, Avatar, BottomSheet, Button, ButtonBadge, CardModal, Center, Checkbox, ChoicesElements, CloseIconButton, DatePicker, DialogModal, DocumentPicker, Emoji, ExternalAppLink, ExternalLink, FilePicker, FlatList, Flex, FullscreenModal, GoogleMapsApiKeyProvider, GoogleMapsAutocompleteProvider, GroupTags, HStack, Highlight, Icon, IconButton, Image, ImagePicker, InfoCard, InputAddress, InputEmail, InputFeedback, InputField, InputIban, InputIcon, InputNumber, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarker, MapMarkerVariantEnum, MatchWindowSize, Message, ModalBehaviour, NativeOnlyFlatList, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, RadioWithRef as Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, SwitchBreakpoints, TabBar, Tag, TextArea, TimePicker, ToastComponent, Toggle, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, getValueForBreakpoint, hex2rgba, matchWindowSize, storyPadding, theme, useBottomSheet, useBreakpointValue, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useOpenExternalLink, useStaticBottomSheet, useStoryBlockColor, useTheme };
|
|
13370
|
+
export { ActionCard, Actions, Autocomplete, Avatar, BottomSheet, Button, ButtonBadge, CardModal, Center, Checkbox, ChoicesElements, CloseIconButton, DatePicker, DialogModal, DocumentPicker, Emoji, ExternalAppLink, ExternalLink, FilePicker, FlatList, Flex, FullscreenModal, GoogleMapsApiKeyProvider, GoogleMapsAutocompleteProvider, GroupTags, HStack, Highlight, Icon, IconButton, Image, ImagePicker, InfoCard, InputAddress, InputEmail, InputFeedback, InputField, InputIban, InputIcon, InputNumber, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarker, MapMarkerVariantEnum, MatchWindowSize, Message, ModalBehaviour, NativeOnlyFlatList, NavigationBottomSheet, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, RadioWithRef as Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, SwitchBreakpoints, TabBar, Tag, TextArea, TimePicker, ToastComponent, Toggle, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, getValueForBreakpoint, hex2rgba, matchWindowSize, storyPadding, theme, useBottomSheet, useBreakpointValue, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useOpenExternalLink, useStaticBottomSheet, useStoryBlockColor, useTheme };
|
|
13336
13371
|
//# sourceMappingURL=index.es.web.js.map
|