@ornikar/kitt-universal 25.58.1-canary.a2bac16fb42ca488d0dd8ad398c7507d2e37d975.0 → 25.59.1-canary.df1f8c07892f9fd7eea4788bd36344a2af12edde.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 +11 -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/Picker/Picker.web.d.ts.map +1 -1
- 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 +44 -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 +44 -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 +39 -3
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -3613,7 +3613,6 @@ const ActionsItem = /*#__PURE__*/react.forwardRef(({
|
|
|
3613
3613
|
const mountedRef = react.useRef(false);
|
|
3614
3614
|
// securing the loading state with a ref to avoid user action between rerenders
|
|
3615
3615
|
const loadingRef = react.useRef(false);
|
|
3616
|
-
const isStretch = useBreakpointValue(stretch) || stretch === true;
|
|
3617
3616
|
|
|
3618
3617
|
// effect just for tracking mounted state, as onPress can unmount the ActionButton
|
|
3619
3618
|
react.useEffect(() => {
|
|
@@ -3623,7 +3622,6 @@ const ActionsItem = /*#__PURE__*/react.forwardRef(({
|
|
|
3623
3622
|
};
|
|
3624
3623
|
}, []);
|
|
3625
3624
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
3626
|
-
flexGrow: isStretch ? 1 : undefined,
|
|
3627
3625
|
children: /*#__PURE__*/jsxRuntime.jsx(as, {
|
|
3628
3626
|
ref: ref,
|
|
3629
3627
|
...props,
|
|
@@ -10930,6 +10928,48 @@ NavigationModal.Body = Body;
|
|
|
10930
10928
|
NavigationModal.Footer = Footer;
|
|
10931
10929
|
NavigationModal.ModalBehaviour = NavigationModalBehaviour;
|
|
10932
10930
|
|
|
10931
|
+
function NavigationBottomSheet({
|
|
10932
|
+
children,
|
|
10933
|
+
isVisible,
|
|
10934
|
+
onClose
|
|
10935
|
+
}) {
|
|
10936
|
+
return /*#__PURE__*/jsxRuntime.jsx(NavigationModal.ModalBehaviour, {
|
|
10937
|
+
visible: isVisible,
|
|
10938
|
+
onClose: onClose || (() => {}),
|
|
10939
|
+
children: /*#__PURE__*/jsxRuntime.jsx(NavigationModal, {
|
|
10940
|
+
children: children
|
|
10941
|
+
})
|
|
10942
|
+
});
|
|
10943
|
+
}
|
|
10944
|
+
function NavigationBottomSheetHeader({
|
|
10945
|
+
children,
|
|
10946
|
+
left
|
|
10947
|
+
}) {
|
|
10948
|
+
return /*#__PURE__*/jsxRuntime.jsx(NavigationModal.Header, {
|
|
10949
|
+
title: children,
|
|
10950
|
+
left: left,
|
|
10951
|
+
right: /*#__PURE__*/jsxRuntime.jsx(ModalBehaviour.CloseButton, {
|
|
10952
|
+
children: /*#__PURE__*/jsxRuntime.jsx(IconButton, {
|
|
10953
|
+
icon: /*#__PURE__*/jsxRuntime.jsx(phosphor.XRegularIcon, {})
|
|
10954
|
+
})
|
|
10955
|
+
})
|
|
10956
|
+
});
|
|
10957
|
+
}
|
|
10958
|
+
function NavigationBottomSheetBody(props) {
|
|
10959
|
+
return /*#__PURE__*/jsxRuntime.jsx(NavigationModal.Body, {
|
|
10960
|
+
zIndex: 1,
|
|
10961
|
+
...props
|
|
10962
|
+
});
|
|
10963
|
+
}
|
|
10964
|
+
function NavigationBottomSheetFooter(props) {
|
|
10965
|
+
return /*#__PURE__*/jsxRuntime.jsx(NavigationModal.Footer, {
|
|
10966
|
+
...props
|
|
10967
|
+
});
|
|
10968
|
+
}
|
|
10969
|
+
NavigationBottomSheet.Header = NavigationBottomSheetHeader;
|
|
10970
|
+
NavigationBottomSheet.Body = NavigationBottomSheetBody;
|
|
10971
|
+
NavigationBottomSheet.Footer = NavigationBottomSheetFooter;
|
|
10972
|
+
|
|
10933
10973
|
function Notification({
|
|
10934
10974
|
type,
|
|
10935
10975
|
children,
|
|
@@ -11181,6 +11221,7 @@ function Picker({
|
|
|
11181
11221
|
left: 0,
|
|
11182
11222
|
width: isItemsWidthFixed ? '100%' : itemsWidth,
|
|
11183
11223
|
maxWidth: isItemsWidthFixed ? 'kitt.picker.maxWidthFixed' : undefined,
|
|
11224
|
+
zIndex: 1,
|
|
11184
11225
|
_web: {
|
|
11185
11226
|
style: {
|
|
11186
11227
|
transform: `translate3d(${tooltipX}px, ${tooltipY}px, 0)`,
|
|
@@ -13213,6 +13254,7 @@ exports.MatchWindowSize = MatchWindowSize;
|
|
|
13213
13254
|
exports.Message = Message;
|
|
13214
13255
|
exports.ModalBehaviour = ModalBehaviour;
|
|
13215
13256
|
exports.NativeOnlyFlatList = NativeOnlyFlatList;
|
|
13257
|
+
exports.NavigationBottomSheet = NavigationBottomSheet;
|
|
13216
13258
|
exports.NavigationModal = NavigationModal;
|
|
13217
13259
|
exports.Notification = Notification;
|
|
13218
13260
|
exports.Overlay = Overlay;
|