@ornikar/kitt-universal 25.58.1-canary.95e9af38cc4e878fc97c4391877d7b879da5b220.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 -10
- 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 -1
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +61 -1
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +61 -0
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +45 -2
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +61 -1
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +45 -3
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +76 -18
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +56 -19
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-20.10.cjs.js.map +1 -1
- package/dist/linaria-themes-node-20.10.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-20.10.es.mjs.map +1 -1
- package/dist/linaria-themes-node-20.10.es.web.mjs.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -8
- package/scripts/run-all-transformers.js +0 -98
- package/scripts/run-transformer.js +0 -41
- package/scripts/transformers/modals.js +0 -102
|
@@ -10928,6 +10928,48 @@ NavigationModal.Body = Body;
|
|
|
10928
10928
|
NavigationModal.Footer = Footer;
|
|
10929
10929
|
NavigationModal.ModalBehaviour = NavigationModalBehaviour;
|
|
10930
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
|
+
|
|
10931
10973
|
function Notification({
|
|
10932
10974
|
type,
|
|
10933
10975
|
children,
|
|
@@ -11170,7 +11212,7 @@ function Picker({
|
|
|
11170
11212
|
disabled,
|
|
11171
11213
|
...restToggleProps
|
|
11172
11214
|
})
|
|
11173
|
-
}), /*#__PURE__*/reactDom.createPortal(/*#__PURE__*/jsxRuntime.jsx(View, {
|
|
11215
|
+
}), /*#__PURE__*/reactDom.createPortal( /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
11174
11216
|
ref: refMemo,
|
|
11175
11217
|
testID: testID,
|
|
11176
11218
|
...menuProps,
|
|
@@ -12586,7 +12628,7 @@ function Tooltip({
|
|
|
12586
12628
|
onFocus: handleToggleTooltip,
|
|
12587
12629
|
onBlur: handleToggleTooltip,
|
|
12588
12630
|
width: '100%'
|
|
12589
|
-
}), /*#__PURE__*/reactDom.createPortal(/*#__PURE__*/jsxRuntime.jsx(View, {
|
|
12631
|
+
}), /*#__PURE__*/reactDom.createPortal( /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
12590
12632
|
ref: refs.setFloating,
|
|
12591
12633
|
"aria-hidden": !isVisible,
|
|
12592
12634
|
paddingX: {
|
|
@@ -13211,6 +13253,7 @@ exports.MatchWindowSize = MatchWindowSize;
|
|
|
13211
13253
|
exports.Message = Message;
|
|
13212
13254
|
exports.ModalBehaviour = ModalBehaviour;
|
|
13213
13255
|
exports.NativeOnlyFlatList = NativeOnlyFlatList;
|
|
13256
|
+
exports.NavigationBottomSheet = NavigationBottomSheet;
|
|
13214
13257
|
exports.NavigationModal = NavigationModal;
|
|
13215
13258
|
exports.Notification = Notification;
|
|
13216
13259
|
exports.Overlay = Overlay;
|