bootstrap-rn 0.4.6 → 0.4.7
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/lib/module/Context.js.map +1 -1
- package/lib/module/Provider.js +3 -7
- package/lib/module/Provider.js.map +1 -1
- package/lib/module/components/Body.js +8 -1
- package/lib/module/components/Body.js.map +1 -1
- package/lib/module/components/buttons/Button.js +10 -8
- package/lib/module/components/buttons/Button.js.map +1 -1
- package/lib/module/components/close/CloseButton.js +7 -3
- package/lib/module/components/close/CloseButton.js.map +1 -1
- package/lib/module/components/collapse/useCollapse.js +2 -3
- package/lib/module/components/collapse/useCollapse.js.map +1 -1
- package/lib/module/components/dropdown/Dropdown.js +1 -2
- package/lib/module/components/dropdown/Dropdown.js.map +1 -1
- package/lib/module/components/dropdown/DropdownContext.js.map +1 -1
- package/lib/module/components/dropdown/DropdownMenu.js +33 -59
- package/lib/module/components/dropdown/DropdownMenu.js.map +1 -1
- package/lib/module/components/dropdown/useDismissDropdown.js +5 -4
- package/lib/module/components/dropdown/useDismissDropdown.js.map +1 -1
- package/lib/module/components/dropdown/useDropdown.js +35 -11
- package/lib/module/components/dropdown/useDropdown.js.map +1 -1
- package/lib/module/components/dropdown/useToggleDropdown.js +4 -6
- package/lib/module/components/dropdown/useToggleDropdown.js.map +1 -1
- package/lib/module/components/forms/FormCheckInput.js +1 -1
- package/lib/module/components/forms/Input.js +1 -1
- package/lib/module/components/forms/internals/PickerNative.js +1 -1
- package/lib/module/components/forms/internals/PickerNative.js.map +1 -1
- package/lib/module/components/helpers/BackdropHandler.js +6 -92
- package/lib/module/components/helpers/BackdropHandler.js.map +1 -1
- package/lib/module/components/helpers/BackdropHandler.web.js +8 -0
- package/lib/module/components/helpers/BackdropHandler.web.js.map +1 -0
- package/lib/module/components/helpers/Dialog.js +29 -0
- package/lib/module/components/helpers/Dialog.js.map +1 -0
- package/lib/module/components/helpers/Dialog.web.js +117 -0
- package/lib/module/components/helpers/Dialog.web.js.map +1 -0
- package/lib/module/components/helpers/Portal.js +5 -0
- package/lib/module/components/helpers/Portal.js.map +1 -0
- package/lib/module/components/helpers/Portal.web.js +16 -0
- package/lib/module/components/helpers/Portal.web.js.map +1 -0
- package/lib/module/components/helpers/PortalHost.js +5 -0
- package/lib/module/components/helpers/PortalHost.js.map +1 -0
- package/lib/module/components/helpers/PortalHost.web.js +15 -0
- package/lib/module/components/helpers/PortalHost.web.js.map +1 -0
- package/lib/module/components/modal/Modal.js +58 -48
- package/lib/module/components/modal/Modal.js.map +1 -1
- package/lib/module/components/modal/ModalContext.js.map +1 -1
- package/lib/module/components/modal/ModalTitle.js +6 -0
- package/lib/module/components/modal/ModalTitle.js.map +1 -1
- package/lib/module/components/modal/useModal.js +4 -13
- package/lib/module/components/modal/useModal.js.map +1 -1
- package/lib/module/components/nav/useTabbable.js +2 -3
- package/lib/module/components/nav/useTabbable.js.map +1 -1
- package/lib/module/components/navbar/NavbarToggler.js +1 -1
- package/lib/module/components/navbar/useNavbar.js +2 -3
- package/lib/module/components/navbar/useNavbar.js.map +1 -1
- package/lib/module/components/offcanvas/Offcanvas.js +84 -82
- package/lib/module/components/offcanvas/Offcanvas.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasContext.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasTitle.js +6 -0
- package/lib/module/components/offcanvas/OffcanvasTitle.js.map +1 -1
- package/lib/module/components/offcanvas/useOffcanvas.js +6 -14
- package/lib/module/components/offcanvas/useOffcanvas.js.map +1 -1
- package/lib/module/components/pagination/PaginationItem.js +39 -39
- package/lib/module/components/popover/Popover.js +6 -8
- package/lib/module/components/popover/Popover.js.map +1 -1
- package/lib/module/components/popover/PopoverArrow.js +18 -9
- package/lib/module/components/popover/PopoverArrow.js.map +1 -1
- package/lib/module/components/popover/PopoverContext.js.map +1 -1
- package/lib/module/components/popover/injectPopover.js +48 -45
- package/lib/module/components/popover/injectPopover.js.map +1 -1
- package/lib/module/components/tooltip/Tooltip.js +7 -23
- package/lib/module/components/tooltip/Tooltip.js.map +1 -1
- package/lib/module/components/tooltip/TooltipArrow.js +22 -12
- package/lib/module/components/tooltip/TooltipArrow.js.map +1 -1
- package/lib/module/components/tooltip/TooltipContext.js.map +1 -1
- package/lib/module/components/tooltip/injectTooltip.js +46 -42
- package/lib/module/components/tooltip/injectTooltip.js.map +1 -1
- package/lib/module/hooks/useBackgroundNative.js.map +1 -1
- package/lib/module/hooks/useFocusRing.js +13 -0
- package/lib/module/hooks/useFocusRing.js.map +1 -0
- package/lib/module/hooks/useFocusRing.web.js +5 -0
- package/lib/module/hooks/useFocusRing.web.js.map +1 -0
- package/lib/module/hooks/useInteractionState.js +11 -11
- package/lib/module/hooks/useInteractionState.js.map +1 -1
- package/lib/module/hooks/useOverlay.js +121 -0
- package/lib/module/hooks/useOverlay.js.map +1 -0
- package/lib/module/hooks/useOverlay.web.js +113 -0
- package/lib/module/hooks/useOverlay.web.js.map +1 -0
- package/lib/module/hooks/useScrollbarEffects.js +7 -60
- package/lib/module/hooks/useScrollbarEffects.js.map +1 -1
- package/lib/module/hooks/useScrollbarEffects.web.js +59 -0
- package/lib/module/hooks/useScrollbarEffects.web.js.map +1 -0
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/style/StyleSheet.js +1 -3
- package/lib/module/style/StyleSheet.js.map +1 -1
- package/lib/module/theme/variables.js +9 -9
- package/lib/module/utils.js +0 -11
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/Context.d.ts +0 -1
- package/lib/typescript/Context.d.ts.map +1 -1
- package/lib/typescript/Provider.d.ts.map +1 -1
- package/lib/typescript/components/Body.d.ts.map +1 -1
- package/lib/typescript/components/Link.d.ts +1 -1
- package/lib/typescript/components/Link.d.ts.map +1 -1
- package/lib/typescript/components/Pressable.d.ts +1 -1
- package/lib/typescript/components/Pressable.d.ts.map +1 -1
- package/lib/typescript/components/TextInput.d.ts +3 -3
- package/lib/typescript/components/TextInput.d.ts.map +1 -1
- package/lib/typescript/components/buttons/Button.d.ts +1 -1
- package/lib/typescript/components/buttons/Button.d.ts.map +1 -1
- package/lib/typescript/components/close/CloseButton.d.ts +1 -1
- package/lib/typescript/components/close/CloseButton.d.ts.map +1 -1
- package/lib/typescript/components/collapse/useCollapse.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/Dropdown.d.ts +0 -1
- package/lib/typescript/components/dropdown/Dropdown.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/DropdownContext.d.ts +14 -3
- package/lib/typescript/components/dropdown/DropdownContext.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/DropdownMenu.d.ts +0 -1
- package/lib/typescript/components/dropdown/DropdownMenu.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/useDismissDropdown.d.ts +1 -1
- package/lib/typescript/components/dropdown/useDismissDropdown.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/useDropdown.d.ts +38 -4
- package/lib/typescript/components/dropdown/useDropdown.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/useToggleDropdown.d.ts +4 -3
- package/lib/typescript/components/dropdown/useToggleDropdown.d.ts.map +1 -1
- package/lib/typescript/components/forms/Picker.d.ts +1 -1
- package/lib/typescript/components/forms/internals/PickerNative.d.ts +1 -1
- package/lib/typescript/components/forms/internals/PickerNative.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/PickerWeb.d.ts +1 -1
- package/lib/typescript/components/forms/internals/PickerWeb.d.ts.map +1 -1
- package/lib/typescript/components/helpers/BackdropHandler.d.ts +2 -11
- package/lib/typescript/components/helpers/BackdropHandler.d.ts.map +1 -1
- package/lib/typescript/components/helpers/BackdropHandler.web.d.ts +3 -0
- package/lib/typescript/components/helpers/BackdropHandler.web.d.ts.map +1 -0
- package/lib/typescript/components/helpers/Dialog.d.ts +15 -0
- package/lib/typescript/components/helpers/Dialog.d.ts.map +1 -0
- package/lib/typescript/components/helpers/Dialog.web.d.ts +15 -0
- package/lib/typescript/components/helpers/Dialog.web.d.ts.map +1 -0
- package/lib/typescript/components/helpers/Portal.d.ts +8 -0
- package/lib/typescript/components/helpers/Portal.d.ts.map +1 -0
- package/lib/typescript/components/helpers/Portal.web.d.ts +8 -0
- package/lib/typescript/components/helpers/Portal.web.d.ts.map +1 -0
- package/lib/typescript/components/helpers/PortalHost.d.ts +6 -0
- package/lib/typescript/components/helpers/PortalHost.d.ts.map +1 -0
- package/lib/typescript/components/helpers/PortalHost.web.d.ts +7 -0
- package/lib/typescript/components/helpers/PortalHost.web.d.ts.map +1 -0
- package/lib/typescript/components/list-group/ListGroup.d.ts +1 -1
- package/lib/typescript/components/list-group/ListGroupItemAction.d.ts +1 -1
- package/lib/typescript/components/list-group/ListGroupItemAction.d.ts.map +1 -1
- package/lib/typescript/components/modal/Modal.d.ts +1 -1
- package/lib/typescript/components/modal/Modal.d.ts.map +1 -1
- package/lib/typescript/components/modal/ModalContext.d.ts +1 -0
- package/lib/typescript/components/modal/ModalContext.d.ts.map +1 -1
- package/lib/typescript/components/modal/ModalTitle.d.ts.map +1 -1
- package/lib/typescript/components/modal/useModal.d.ts +2 -1
- package/lib/typescript/components/modal/useModal.d.ts.map +1 -1
- package/lib/typescript/components/nav/Nav.d.ts +1 -1
- package/lib/typescript/components/nav/NavLink.d.ts +1 -1
- package/lib/typescript/components/nav/NavLink.d.ts.map +1 -1
- package/lib/typescript/components/nav/useTabbable.d.ts.map +1 -1
- package/lib/typescript/components/navbar/Navbar.d.ts +2 -2
- package/lib/typescript/components/navbar/NavbarBrand.d.ts +1 -1
- package/lib/typescript/components/navbar/NavbarBrand.d.ts.map +1 -1
- package/lib/typescript/components/navbar/NavbarToggler.d.ts +1 -1
- package/lib/typescript/components/navbar/NavbarToggler.d.ts.map +1 -1
- package/lib/typescript/components/navbar/useNavbar.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/Offcanvas.d.ts +1 -4
- package/lib/typescript/components/offcanvas/Offcanvas.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/OffcanvasContext.d.ts +3 -1
- package/lib/typescript/components/offcanvas/OffcanvasContext.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/OffcanvasTitle.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/useOffcanvas.d.ts +3 -1
- package/lib/typescript/components/offcanvas/useOffcanvas.d.ts.map +1 -1
- package/lib/typescript/components/popover/Popover.d.ts +3 -4
- package/lib/typescript/components/popover/Popover.d.ts.map +1 -1
- package/lib/typescript/components/popover/PopoverArrow.d.ts.map +1 -1
- package/lib/typescript/components/popover/PopoverContext.d.ts +3 -4
- package/lib/typescript/components/popover/PopoverContext.d.ts.map +1 -1
- package/lib/typescript/components/popover/injectPopover.d.ts +5 -7
- package/lib/typescript/components/popover/injectPopover.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/Tooltip.d.ts +3 -4
- package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/TooltipArrow.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/TooltipContext.d.ts +3 -4
- package/lib/typescript/components/tooltip/TooltipContext.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/injectTooltip.d.ts +5 -7
- package/lib/typescript/components/tooltip/injectTooltip.d.ts.map +1 -1
- package/lib/typescript/hooks/useBackgroundNative.d.ts.map +1 -1
- package/lib/typescript/hooks/useFocusRing.d.ts +3 -0
- package/lib/typescript/hooks/useFocusRing.d.ts.map +1 -0
- package/lib/typescript/hooks/useFocusRing.web.d.ts +3 -0
- package/lib/typescript/hooks/useFocusRing.web.d.ts.map +1 -0
- package/lib/typescript/hooks/useInteractionState.d.ts +7 -7
- package/lib/typescript/hooks/useInteractionState.d.ts.map +1 -1
- package/lib/typescript/hooks/useOverlay.d.ts +64 -0
- package/lib/typescript/hooks/useOverlay.d.ts.map +1 -0
- package/lib/typescript/hooks/useOverlay.web.d.ts +37 -0
- package/lib/typescript/hooks/useOverlay.web.d.ts.map +1 -0
- package/lib/typescript/hooks/useScrollbarEffects.d.ts.map +1 -1
- package/lib/typescript/hooks/useScrollbarEffects.web.d.ts +7 -0
- package/lib/typescript/hooks/useScrollbarEffects.web.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +5 -4
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/style/StyleSheet.d.ts.map +1 -1
- package/lib/typescript/types.d.ts +12 -6
- package/lib/typescript/types.d.ts.map +1 -1
- package/lib/typescript/utils.d.ts +2 -3
- package/lib/typescript/utils.d.ts.map +1 -1
- package/package.json +92 -85
- package/src/Context.ts +37 -38
- package/src/Provider.tsx +61 -66
- package/src/components/Body.tsx +16 -1
- package/src/components/TextInput.tsx +66 -66
- package/src/components/buttons/Button.tsx +381 -379
- package/src/components/close/CloseButton.tsx +142 -138
- package/src/components/collapse/useCollapse.ts +25 -26
- package/src/components/dropdown/Dropdown.tsx +77 -80
- package/src/components/dropdown/DropdownContext.ts +14 -3
- package/src/components/dropdown/DropdownMenu.tsx +243 -284
- package/src/components/dropdown/useDismissDropdown.ts +30 -29
- package/src/components/dropdown/useDropdown.ts +55 -38
- package/src/components/dropdown/useToggleDropdown.ts +31 -32
- package/src/components/forms/FormCheckInput.tsx +268 -268
- package/src/components/forms/Input.tsx +220 -220
- package/src/components/forms/internals/PickerNative.tsx +9 -10
- package/src/components/helpers/BackdropHandler.tsx +5 -119
- package/src/components/helpers/BackdropHandler.web.tsx +6 -0
- package/src/components/helpers/Dialog.tsx +49 -0
- package/src/components/helpers/Dialog.web.tsx +145 -0
- package/src/components/helpers/Portal.tsx +10 -0
- package/src/components/helpers/Portal.web.tsx +22 -0
- package/src/components/helpers/PortalHost.tsx +7 -0
- package/src/components/helpers/PortalHost.web.tsx +14 -0
- package/src/components/modal/Modal.tsx +60 -48
- package/src/components/modal/ModalContext.ts +12 -11
- package/src/components/modal/ModalTitle.tsx +41 -31
- package/src/components/modal/useModal.ts +13 -25
- package/src/components/nav/useTabbable.ts +31 -32
- package/src/components/navbar/NavbarToggler.tsx +130 -130
- package/src/components/navbar/useNavbar.ts +30 -31
- package/src/components/offcanvas/Offcanvas.tsx +91 -92
- package/src/components/offcanvas/OffcanvasContext.ts +13 -11
- package/src/components/offcanvas/OffcanvasTitle.tsx +43 -33
- package/src/components/offcanvas/useOffcanvas.ts +12 -20
- package/src/components/pagination/PaginationItem.tsx +139 -139
- package/src/components/popover/Popover.tsx +87 -90
- package/src/components/popover/PopoverArrow.tsx +22 -6
- package/src/components/popover/PopoverContext.ts +13 -18
- package/src/components/popover/injectPopover.tsx +63 -55
- package/src/components/tooltip/Tooltip.tsx +79 -98
- package/src/components/tooltip/TooltipArrow.tsx +26 -8
- package/src/components/tooltip/TooltipContext.ts +13 -18
- package/src/components/tooltip/injectTooltip.tsx +62 -53
- package/src/hooks/useAction.ts +78 -78
- package/src/hooks/useBackgroundNative.tsx +6 -4
- package/src/hooks/useFocusRing.ts +13 -0
- package/src/hooks/useFocusRing.web.ts +3 -0
- package/src/hooks/useInteractionState.ts +75 -81
- package/src/hooks/useOverlay.ts +197 -0
- package/src/hooks/useOverlay.web.ts +190 -0
- package/src/hooks/useScrollbarEffects.ts +5 -83
- package/src/hooks/useScrollbarEffects.web.ts +83 -0
- package/src/index.ts +5 -5
- package/src/style/StyleSheet.ts +2 -5
- package/src/theme/variables.ts +1420 -1420
- package/src/types.ts +14 -14
- package/src/utils.ts +4 -22
- package/lib/module/components/SafeAreaView.js +0 -42
- package/lib/module/components/SafeAreaView.js.map +0 -1
- package/lib/module/components/helpers/Overlay.js +0 -50
- package/lib/module/components/helpers/Overlay.js.map +0 -1
- package/lib/module/hooks/useIdentifier.js +0 -14
- package/lib/module/hooks/useIdentifier.js.map +0 -1
- package/lib/module/hooks/useTrigger.js +0 -97
- package/lib/module/hooks/useTrigger.js.map +0 -1
- package/lib/typescript/components/SafeAreaView.d.ts +0 -12
- package/lib/typescript/components/SafeAreaView.d.ts.map +0 -1
- package/lib/typescript/components/helpers/Overlay.d.ts +0 -28
- package/lib/typescript/components/helpers/Overlay.d.ts.map +0 -1
- package/lib/typescript/hooks/useIdentifier.d.ts +0 -2
- package/lib/typescript/hooks/useIdentifier.d.ts.map +0 -1
- package/lib/typescript/hooks/useTrigger.d.ts +0 -33
- package/lib/typescript/hooks/useTrigger.d.ts.map +0 -1
- package/src/components/SafeAreaView.tsx +0 -64
- package/src/components/helpers/Overlay.tsx +0 -81
- package/src/hooks/useIdentifier.ts +0 -15
- package/src/hooks/useTrigger.ts +0 -141
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../src/Context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGvD,KAAK,aAAa,GAAG,GAAG,CAAC;AAEzB,MAAM,MAAM,QAAQ,GAAG,CACrB,KAAK,EAAE,aAAa,EACpB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KACpB,aAAa,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG;IACtB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,aAAa,CAAC,EAAE,QAAQ,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACzC,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,IAAI,CAAC;QACjB,IAAI,EAAE,MAAM,IAAI,CAAC;KAClB,CAAC;IACF,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;IACnC,WAA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E,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../src/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAK/C,OAAgB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEvD,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,EAAE,QAAQ,CAAC;CACvB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,QAAQ,EACR,SAAc,EACd,SAAc,EACd,WAAW,GACZ,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../src/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAK/C,OAAgB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEvD,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,EAAE,QAAQ,CAAC;CACvB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,QAAQ,EACR,SAAc,EACd,SAAc,EACd,WAAW,GACZ,EAAE,aAAa,qBAsCf;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/components/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/components/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAa,EAAE,SAAS,EAAW,MAAM,QAAQ,CAAC;AAElD,MAAM,WAAW,SAAU,SAAQ,SAAS;CAAG;AAc/C,QAAA,MAAM,IAAI,+FAuCR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -7,6 +7,6 @@ export interface LinkProps extends Omit<UseActionProps, 'onPress'>, Omit<UseActi
|
|
|
7
7
|
onMouseEnter?: (event?: MouseEvent) => void;
|
|
8
8
|
onMouseLeave?: (event?: MouseEvent) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<import("react-native").Text>>;
|
|
10
|
+
declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<import("react-native").Text>>;
|
|
11
11
|
export default Link;
|
|
12
12
|
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAa,EAAE,SAAS,EAAW,MAAM,QAAQ,CAAC;AAGlD,OAAkB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAK/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EACrC,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,EACnC,SAAS;IACX,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CAC7C;AAgBD,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAa,EAAE,SAAS,EAAW,MAAM,QAAQ,CAAC;AAGlD,OAAkB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAK/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EACrC,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,EACnC,SAAS;IACX,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CAC7C;AAgBD,QAAA,MAAM,IAAI,4GA2DR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -16,6 +16,6 @@ export interface PressableProps extends UseActionProps, UseActionableProps, Omit
|
|
|
16
16
|
styleName?: StyleName;
|
|
17
17
|
}
|
|
18
18
|
export declare const getRole: (props: Pick<PressableProps, "role" | "accessibilityActions" | "aria-label">) => import("react-native").Role | undefined;
|
|
19
|
-
declare const Pressable: React.ForwardRefExoticComponent<PressableProps & React.RefAttributes<BaseView>>;
|
|
19
|
+
declare const Pressable: React.ForwardRefExoticComponent<Omit<PressableProps, "ref"> & React.RefAttributes<BaseView>>;
|
|
20
20
|
export default Pressable;
|
|
21
21
|
//# sourceMappingURL=Pressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../src/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAIL,cAAc,IAAI,kBAAkB,EACpC,IAAI,IAAI,QAAQ,EACjB,MAAM,cAAc,CAAC;AAGtB,OAAkB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAI/D,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,KAAK,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;AAEvC,MAAM,WAAW,cACf,SAAQ,cAAc,EACpB,kBAAkB,EAClB,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,OAAO,CAAC;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAMD,eAAO,MAAM,OAAO,GAClB,OAAO,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,sBAAsB,GAAG,YAAY,CAAC,4CAa5E,CAAC;AAqCF,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../src/components/Pressable.tsx"],"names":[],"mappings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aseTextInput, TextInputProps as BaseTextInputProps, FocusEvent, BlurEvent } from 'react-native';
|
|
3
3
|
import type { ExtendedTextStyle, StyleProp, StyleName } from '../types';
|
|
4
4
|
export type TextInputRef = BaseTextInput;
|
|
5
5
|
export interface TextInputProps extends Omit<BaseTextInputProps, 'style'> {
|
|
6
|
-
onFocus?: (e:
|
|
7
|
-
onBlur?: (e:
|
|
6
|
+
onFocus?: (e: FocusEvent) => void;
|
|
7
|
+
onBlur?: (e: BlurEvent) => void;
|
|
8
8
|
autoFocus?: boolean;
|
|
9
9
|
style?: StyleProp<ExtendedTextStyle>;
|
|
10
10
|
styleName?: StyleName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,SAAS,IAAI,aAAa,EAC1B,cAAc,IAAI,kBAAkB,EACpC,
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,SAAS,IAAI,aAAa,EAC1B,cAAc,IAAI,kBAAkB,EACpC,UAAU,EACV,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAExE,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AAEzC,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACvE,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,SAAS,sFAoCd,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -10,7 +10,7 @@ export interface ButtonProps extends PressableProps {
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<import("react-native").View>> & {
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<import("react-native").View>> & {
|
|
14
14
|
useToggle: typeof useToggleButton;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAkB,EAAgB,cAAc,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAIhD,KAAK,iBAAiB,GAAG,MAAM,OAAO,YAAY,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAkB,EAAgB,cAAc,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAIhD,KAAK,iBAAiB,GAAG,MAAM,OAAO,YAAY,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;AAmWD,wBAEG"}
|
|
@@ -3,6 +3,6 @@ import { PressableProps } from '../Pressable';
|
|
|
3
3
|
export interface CloseButtonProps extends Omit<PressableProps, 'children'> {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const CloseButton: React.ForwardRefExoticComponent<CloseButtonProps & React.RefAttributes<import("react-native").View>>;
|
|
6
|
+
declare const CloseButton: React.ForwardRefExoticComponent<Omit<CloseButtonProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
7
7
|
export default CloseButton;
|
|
8
8
|
//# sourceMappingURL=CloseButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/close/CloseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,OAAkB,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAUvE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/close/CloseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,OAAkB,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAUvE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAsED,QAAA,MAAM,WAAW,mHAmDhB,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollapse.d.ts","sourceRoot":"","sources":["../../../../src/components/collapse/useCollapse.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCollapse.d.ts","sourceRoot":"","sources":["../../../../src/components/collapse/useCollapse.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,cAAc,EAAE,OAAO,EACvB,iBAAiB,CAAC,EAAE,OAAO,EAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI;;;;EAkBtB"}
|
|
@@ -12,7 +12,6 @@ export interface DropdownProps extends ViewProps {
|
|
|
12
12
|
direction?: DropdownDirection;
|
|
13
13
|
center?: boolean;
|
|
14
14
|
display?: 'dynamic' | 'static';
|
|
15
|
-
autoClose?: boolean | 'inside' | 'outside';
|
|
16
15
|
}
|
|
17
16
|
declare const _default: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<import("react-native").View>> & {
|
|
18
17
|
Context: React.Context<import("./DropdownContext").DropdownContextProps | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAEnD,OAAwB,EAAE,iBAAiB,EAA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ewStyle } from 'react-native';
|
|
2
|
+
import type { PressableRef } from '../Pressable';
|
|
1
3
|
import type { ViewRef } from '../View';
|
|
4
|
+
import { OverlayAlignment } from '../../types';
|
|
2
5
|
export type DropdownDirection = 'up' | 'down' | 'start' | 'end';
|
|
3
6
|
export interface DropdownContextProps {
|
|
4
7
|
identifier: string;
|
|
5
8
|
visible: boolean;
|
|
6
9
|
setVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
|
|
10
|
+
align: OverlayAlignment | null;
|
|
11
|
+
setAlign: React.Dispatch<React.SetStateAction<OverlayAlignment | null>>;
|
|
8
12
|
direction: DropdownDirection;
|
|
9
|
-
center: boolean;
|
|
10
13
|
display: string;
|
|
11
|
-
|
|
14
|
+
trigger: {
|
|
15
|
+
ref: React.RefObject<PressableRef | null>;
|
|
16
|
+
getProps: (props: Record<string, unknown>) => Record<string, unknown>;
|
|
17
|
+
};
|
|
18
|
+
content: {
|
|
19
|
+
ref: React.RefObject<ViewRef | null>;
|
|
20
|
+
getProps: (props: Record<string, unknown>) => Record<string, unknown>;
|
|
21
|
+
style: StyleProp<ViewStyle>;
|
|
22
|
+
};
|
|
12
23
|
}
|
|
13
24
|
declare const DropdownContext: import("react").Context<DropdownContextProps | null>;
|
|
14
25
|
export default DropdownContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownContext.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownContext.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,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
|
export interface DropdownMenuProps extends ViewProps {
|
|
5
5
|
start?: AlignmentBreakpoints;
|
|
6
|
-
right?: AlignmentBreakpoints;
|
|
7
6
|
end?: AlignmentBreakpoints;
|
|
8
7
|
}
|
|
9
8
|
declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAM3D,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAUnD,KAAK,oBAAoB,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAExE,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,GAAG,CAAC,EAAE,oBAAoB,CAAC;CAC5B;AAkGD,QAAA,MAAM,YAAY,uGAuHjB,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { GestureResponderEvent } from 'react-native';
|
|
|
2
2
|
export interface UseDismissDropdownProps {
|
|
3
3
|
onPress?: null | ((event: GestureResponderEvent) => void);
|
|
4
4
|
}
|
|
5
|
-
export default function useDismissDropdown<T>(props: UseDismissDropdownProps & T): UseDismissDropdownProps & T & {
|
|
5
|
+
export default function useDismissDropdown<T>(props: UseDismissDropdownProps & T): Omit<UseDismissDropdownProps & T, "onPress"> & {
|
|
6
6
|
onPress: (event: GestureResponderEvent) => void;
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=useDismissDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDismissDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/useDismissDropdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,CAAC;CAC3D;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,CAAC,EAC1C,KAAK,EAAE,uBAAuB,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"useDismissDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/useDismissDropdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,CAAC;CAC3D;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,CAAC,EAC1C,KAAK,EAAE,uBAAuB,GAAG,CAAC;qBAOxB,qBAAqB;EAYhC"}
|
|
@@ -1,12 +1,46 @@
|
|
|
1
1
|
import type { DropdownDirection } from './DropdownContext';
|
|
2
|
-
|
|
2
|
+
import type { OverlayAlignment } from '../../types';
|
|
3
|
+
export default function useDropdown(defaultVisible: boolean, controlledVisible: boolean | undefined, onToggle: () => void, direction: DropdownDirection, center: boolean, display: string): {
|
|
3
4
|
identifier: string;
|
|
4
5
|
visible: boolean;
|
|
5
6
|
setVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
6
|
-
|
|
7
|
+
align: OverlayAlignment | null;
|
|
8
|
+
setAlign: import("react").Dispatch<import("react").SetStateAction<OverlayAlignment | null>>;
|
|
7
9
|
direction: DropdownDirection;
|
|
8
|
-
center: boolean;
|
|
9
10
|
display: string;
|
|
10
|
-
|
|
11
|
+
trigger: {
|
|
12
|
+
ref: import("react").RefObject<import("react-native").View | null>;
|
|
13
|
+
getProps: (props: {
|
|
14
|
+
onPress?: (event: import("react-native").GestureResponderEvent) => void;
|
|
15
|
+
} & Record<string, unknown>) => {
|
|
16
|
+
onPress: (event: import("react-native").GestureResponderEvent) => void;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
content: {
|
|
20
|
+
ref: import("react").RefObject<import("react-native").View | null>;
|
|
21
|
+
getProps: (props: {
|
|
22
|
+
onLayout?: (event: import("react-native").LayoutChangeEvent) => void;
|
|
23
|
+
} & Record<string, unknown>) => {
|
|
24
|
+
onLayout: (event: import("react-native").LayoutChangeEvent) => void;
|
|
25
|
+
};
|
|
26
|
+
style: ({
|
|
27
|
+
readonly position: "absolute";
|
|
28
|
+
} & {
|
|
29
|
+
top: number;
|
|
30
|
+
} & {
|
|
31
|
+
left: number;
|
|
32
|
+
maxWidth: number;
|
|
33
|
+
}) | {
|
|
34
|
+
readonly position?: undefined;
|
|
35
|
+
readonly opacity?: undefined;
|
|
36
|
+
readonly top?: undefined;
|
|
37
|
+
readonly zIndex?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
readonly position: "absolute";
|
|
40
|
+
readonly opacity: 0;
|
|
41
|
+
readonly top: number;
|
|
42
|
+
readonly zIndex: -9999999;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
11
45
|
};
|
|
12
46
|
//# sourceMappingURL=useDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/useDropdown.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/useDropdown.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAgBpD,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,cAAc,EAAE,OAAO,EACvB,iBAAiB,EAAE,OAAO,GAAG,SAAS,EACtC,QAAQ,EAAE,MAAM,IAAI,EACpB,SAAS,EAAE,iBAAiB,EAC5B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM;;;;;;;;;;;mBA8BulD,CAAC;;;;;;;;oBAAsV,CAAC;;;;;;;;;;;;;;;;;;;;;;;EAD/7D"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { GestureResponderEvent } from 'react-native';
|
|
2
2
|
import { CaretProps } from '../Caret';
|
|
3
|
+
import type { PressableRef } from '../Pressable';
|
|
3
4
|
export interface UseToggleDropdownProps {
|
|
5
|
+
ref?: React.RefObject<PressableRef | null>;
|
|
4
6
|
onPress?: null | ((event: GestureResponderEvent) => void);
|
|
5
7
|
caret?: boolean | CaretProps;
|
|
6
8
|
}
|
|
7
|
-
export default function useToggleDropdown<T>(props: UseToggleDropdownProps & T): Omit<UseToggleDropdownProps & T, "
|
|
9
|
+
export default function useToggleDropdown<T>(props: UseToggleDropdownProps & T): Omit<UseToggleDropdownProps & T, "ref" | "caret"> & {
|
|
8
10
|
id: string;
|
|
9
|
-
ref: import("react").
|
|
10
|
-
onPress: (event: GestureResponderEvent) => void;
|
|
11
|
+
ref: import("react").Ref<import("react-native").View>;
|
|
11
12
|
'aria-haspopup': boolean;
|
|
12
13
|
'aria-expanded': boolean;
|
|
13
14
|
active: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggleDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/useToggleDropdown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"useToggleDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/useToggleDropdown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,CAAC;IAC1D,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CAC9B;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,CAAC,EACzC,KAAK,EAAE,sBAAsB,GAAG,CAAC;;;;;;;EAgBlC"}
|
|
@@ -25,7 +25,7 @@ export interface PickerProps extends UseFormFieldProps, PressableProps {
|
|
|
25
25
|
autoFocus?: boolean;
|
|
26
26
|
MenuComponent?: React.FC<MenuComponentProps>;
|
|
27
27
|
}
|
|
28
|
-
declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<import("react-native").View>> & {
|
|
28
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<PickerProps, "ref"> & React.RefAttributes<import("react-native").View>> & {
|
|
29
29
|
Item: React.ForwardRefExoticComponent<PickerItemProps & React.RefAttributes<import("react-native").View>>;
|
|
30
30
|
};
|
|
31
31
|
export default _default;
|
|
@@ -4,6 +4,6 @@ import type { PickerProps } from '../Picker';
|
|
|
4
4
|
export interface PickerNativeProps extends PickerProps {
|
|
5
5
|
style: TextStyle[];
|
|
6
6
|
}
|
|
7
|
-
declare const PickerNative: React.ForwardRefExoticComponent<PickerNativeProps & React.RefAttributes<import("react-native").View>>;
|
|
7
|
+
declare const PickerNative: React.ForwardRefExoticComponent<Omit<PickerNativeProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
8
8
|
export default PickerNative;
|
|
9
9
|
//# sourceMappingURL=PickerNative.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerNative.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"PickerNative.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,SAAS,EAIV,MAAM,cAAc,CAAC;AAQtB,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,WAAW,CAAC;AAGjE,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AA0FD,QAAA,MAAM,YAAY,oHAoFjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -4,6 +4,6 @@ import type { PickerProps } from '../Picker';
|
|
|
4
4
|
interface PickerWebProps extends PickerProps {
|
|
5
5
|
style: TextStyle[];
|
|
6
6
|
}
|
|
7
|
-
declare const PickerWeb: React.ForwardRefExoticComponent<PickerWebProps & React.RefAttributes<import("react-native").View>>;
|
|
7
|
+
declare const PickerWeb: React.ForwardRefExoticComponent<Omit<PickerWebProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
8
8
|
export default PickerWeb;
|
|
9
9
|
//# sourceMappingURL=PickerWeb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerWeb.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerWeb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAIL,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,UAAU,cAAe,SAAQ,WAAW;IAC1C,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAqBD,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"PickerWeb.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerWeb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAIL,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,UAAU,cAAe,SAAQ,WAAW;IAC1C,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAqBD,QAAA,MAAM,SAAS,iHA+Cb,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { ViewRef } from '../View';
|
|
3
|
-
type BackdropType = boolean | 'static';
|
|
4
|
-
type AutoCloseType = boolean | string;
|
|
1
|
+
import React from 'react';
|
|
5
2
|
interface BackdropHandlerProps {
|
|
6
|
-
toggleRef?: RefObject<ViewRef | null>;
|
|
7
|
-
dialogRef: RefObject<ViewRef | null>;
|
|
8
3
|
onClose?: () => void;
|
|
9
|
-
|
|
10
|
-
backdrop?: BackdropType;
|
|
4
|
+
backdrop?: boolean | 'static';
|
|
11
5
|
}
|
|
12
6
|
declare function BackdropHandler(props: BackdropHandlerProps): React.JSX.Element | null;
|
|
13
|
-
declare namespace BackdropHandler {
|
|
14
|
-
var displayName: string;
|
|
15
|
-
}
|
|
16
7
|
export default BackdropHandler;
|
|
17
8
|
//# sourceMappingURL=BackdropHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackdropHandler.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/BackdropHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"BackdropHandler.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/BackdropHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC/B;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,4BAiBnD;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackdropHandler.web.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/BackdropHandler.web.tsx"],"names":[],"mappings":"AACA,iBAAS,eAAe,SAEvB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ViewRef } from '../View';
|
|
3
|
+
type DialogProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
id: string;
|
|
6
|
+
dialogRef: React.RefObject<ViewRef | null>;
|
|
7
|
+
backgroundRef: React.RefObject<ViewRef | null>;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
backdrop: boolean | 'static';
|
|
10
|
+
backdropElement: React.ReactNode;
|
|
11
|
+
scroll?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare function Dialog({ children, id, backdrop, backdropElement, onClose: handleClose, }: DialogProps): React.JSX.Element;
|
|
14
|
+
export default Dialog;
|
|
15
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAE3C,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC7B,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC;IAEjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,EAAE,EACF,QAAQ,EACR,eAAe,EACf,OAAO,EAAE,WAAW,GACrB,EAAE,WAAW,qBAqBb;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ViewRef } from '../View';
|
|
3
|
+
type DialogProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
id: string;
|
|
6
|
+
dialogRef: React.RefObject<ViewRef | null>;
|
|
7
|
+
backgroundRef: React.RefObject<ViewRef | null>;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
backdrop: boolean | 'static';
|
|
10
|
+
backdropElement: React.ReactNode;
|
|
11
|
+
scroll?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare function Dialog({ children, id, dialogRef, backgroundRef, onClose: handleClose, backdrop, backdropElement, scroll, }: DialogProps): React.JSX.Element;
|
|
14
|
+
export default Dialog;
|
|
15
|
+
//# sourceMappingURL=Dialog.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.web.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/Dialog.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGvC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC3C,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC7B,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,EAAE,EACF,SAAS,EACT,aAAa,EACb,OAAO,EAAE,WAAW,EACpB,QAAQ,EACR,eAAe,EACf,MAAc,GACf,EAAE,WAAW,qBAoHb;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Portal.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/Portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,MAAM,WAAW,WAAW;IAE1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface PortalProps {
|
|
2
|
+
name: string;
|
|
3
|
+
hostName?: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare function Portal({ hostName, children }: PortalProps): import("react").ReactPortal | null;
|
|
7
|
+
export default Portal;
|
|
8
|
+
//# sourceMappingURL=Portal.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Portal.web.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/Portal.web.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAE1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAID,iBAAS,MAAM,CAAC,EAAE,QAA8B,EAAE,QAAQ,EAAE,EAAE,WAAW,sCAQxE;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortalHost.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/PortalHost.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortalHost.web.d.ts","sourceRoot":"","sources":["../../../../src/components/helpers/PortalHost.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,iBAAS,UAAU,CAAC,EAAE,IAA0B,EAAE,EAAE,eAAe,qBAElE;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -5,7 +5,7 @@ export interface ListGroupProps extends ViewProps {
|
|
|
5
5
|
}
|
|
6
6
|
declare const _default: React.ForwardRefExoticComponent<ListGroupProps & React.RefAttributes<import("react-native").View>> & {
|
|
7
7
|
Item: React.ForwardRefExoticComponent<import("./ListGroupItem").ListGroupItemProps & React.RefAttributes<import("react-native").View>>;
|
|
8
|
-
ItemAction: React.ForwardRefExoticComponent<import("./ListGroupItemAction").ListGroupItemActionProps & React.RefAttributes<import("react-native").View>>;
|
|
8
|
+
ItemAction: React.ForwardRefExoticComponent<Omit<import("./ListGroupItemAction").ListGroupItemActionProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=ListGroup.d.ts.map
|
|
@@ -5,6 +5,6 @@ import type { UseTabbableProps } from '../../types';
|
|
|
5
5
|
export interface ListGroupItemActionProps extends UseTabbableProps, PressableProps {
|
|
6
6
|
color?: keyof typeof THEME_COLORS;
|
|
7
7
|
}
|
|
8
|
-
declare const ListGroupItemAction: React.ForwardRefExoticComponent<ListGroupItemActionProps & React.RefAttributes<import("react-native").View>>;
|
|
8
|
+
declare const ListGroupItemAction: React.ForwardRefExoticComponent<Omit<ListGroupItemActionProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
9
9
|
export default ListGroupItemAction;
|
|
10
10
|
//# sourceMappingURL=ListGroupItemAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListGroupItemAction.d.ts","sourceRoot":"","sources":["../../../../src/components/list-group/ListGroupItemAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAkB,EAAgB,cAAc,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,OAAO,KAAK,EAAkB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,WAAW,wBACf,SAAQ,gBAAgB,EACtB,cAAc;IAChB,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CACnC;AA6FD,QAAA,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ListGroupItemAction.d.ts","sourceRoot":"","sources":["../../../../src/components/list-group/ListGroupItemAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAkB,EAAgB,cAAc,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,OAAO,KAAK,EAAkB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,WAAW,wBACf,SAAQ,gBAAgB,EACtB,cAAc;IAChB,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CACnC;AA6FD,QAAA,MAAM,mBAAmB,2HA4EvB,CAAC;AAIH,eAAe,mBAAmB,CAAC"}
|
|
@@ -7,7 +7,7 @@ export interface ModalProps extends ScrollViewProps {
|
|
|
7
7
|
backdrop?: boolean | 'static';
|
|
8
8
|
scrollable?: boolean;
|
|
9
9
|
centered?: boolean;
|
|
10
|
-
|
|
10
|
+
onClose: () => void;
|
|
11
11
|
dialogStyle?: StyleProp<ExtendedViewStyle>;
|
|
12
12
|
contentStyle?: StyleProp<ExtendedViewStyle>;
|
|
13
13
|
dialogTextStyle?: StyleProp<ExtendedTextStyle>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAKtC,OAAmB,EAAiB,eAAe,EAAE,MAAM,eAAe,CAAC;AAU3E,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE9E,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC3C,YAAY,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC5C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C,gBAAgB,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CACjD;;;;;;;;AA4ND,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,YAAY,yCAAsD,CAAC;AAIzE,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,YAAY,yCAAsD,CAAC;AAIzE,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ModalTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAIlD,MAAM,WAAW,eAAgB,SAAQ,SAAS;CAAG;AASrD,QAAA,MAAM,UAAU,qGAkBd,CAAC;AAIH,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/useModal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/useModal.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,UAAU,EAAE,OAAO;;;EAUnD"}
|
|
@@ -6,7 +6,7 @@ export interface NavProps extends ViewProps {
|
|
|
6
6
|
}
|
|
7
7
|
declare const _default: React.ForwardRefExoticComponent<NavProps & React.RefAttributes<import("react-native").View>> & {
|
|
8
8
|
Context: React.Context<import("./NavContext").NavContextProps | null>;
|
|
9
|
-
Link: React.ForwardRefExoticComponent<import("./NavLink").NavLinkProps & React.RefAttributes<import("react-native").View>>;
|
|
9
|
+
Link: React.ForwardRefExoticComponent<Omit<import("./NavLink").NavLinkProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=Nav.d.ts.map
|
|
@@ -3,6 +3,6 @@ import { PressableProps } from '../Pressable';
|
|
|
3
3
|
import type { UseTabbableProps } from '../../types';
|
|
4
4
|
export interface NavLinkProps extends UseTabbableProps, PressableProps {
|
|
5
5
|
}
|
|
6
|
-
declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<import("react-native").View>>;
|
|
6
|
+
declare const NavLink: React.ForwardRefExoticComponent<Omit<NavLinkProps, "ref"> & React.RefAttributes<import("react-native").View>>;
|
|
7
7
|
export default NavLink;
|
|
8
8
|
//# sourceMappingURL=NavLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavLink.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/NavLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAkB,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAQvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,WAAW,YAAa,SAAQ,gBAAgB,EAAE,cAAc;CAAG;AA4KzE,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"NavLink.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/NavLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAkB,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAQvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,WAAW,YAAa,SAAQ,gBAAgB,EAAE,cAAc;CAAG;AA4KzE,QAAA,MAAM,OAAO,+GA6EX,CAAC;AAIH,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTabbable.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/useTabbable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTabbable.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/useTabbable.ts"],"names":[],"mappings":"AAGA,KAAK,qBAAqB,GAAG;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,mBAAmB,EAAE,MAAM,EAC3B,sBAAsB,CAAC,EAAE,MAAM,EAC/B,QAAQ,CAAC,EAAE,MAAM,IAAI,GACpB,qBAAqB,CAiBvB"}
|