bootstrap-rn 0.4.7 → 0.4.9
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 +4 -16
- package/lib/module/Provider.js.map +1 -1
- package/lib/module/components/Body.js +3 -3
- package/lib/module/components/Body.js.map +1 -1
- package/lib/module/components/Caret.js +4 -4
- package/lib/module/components/Caret.js.map +1 -1
- package/lib/module/components/Heading.js +3 -3
- package/lib/module/components/Heading.js.map +1 -1
- package/lib/module/components/Image.js +3 -3
- package/lib/module/components/Image.js.map +1 -1
- package/lib/module/components/ImageBackground.js +3 -3
- package/lib/module/components/ImageBackground.js.map +1 -1
- package/lib/module/components/Label.js +3 -3
- package/lib/module/components/Label.js.map +1 -1
- package/lib/module/components/Link.js +6 -4
- package/lib/module/components/Link.js.map +1 -1
- package/lib/module/components/Pressable.js +7 -4
- package/lib/module/components/Pressable.js.map +1 -1
- package/lib/module/components/ScrollView.js +3 -3
- package/lib/module/components/ScrollView.js.map +1 -1
- package/lib/module/components/Text.js +3 -3
- package/lib/module/components/Text.js.map +1 -1
- package/lib/module/components/TextInput.js +3 -3
- package/lib/module/components/TextInput.js.map +1 -1
- package/lib/module/components/View.js +3 -3
- package/lib/module/components/View.js.map +1 -1
- package/lib/module/components/alert/Alert.js +5 -5
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/badge/Badge.js +3 -3
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/breadcrumb/Breadcrumb.js +3 -3
- package/lib/module/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/module/components/breadcrumb/BreadcrumbItem.js +3 -3
- package/lib/module/components/breadcrumb/BreadcrumbItem.js.map +1 -1
- package/lib/module/components/button-group/ButtonGroup.js +3 -3
- package/lib/module/components/button-group/ButtonGroup.js.map +1 -1
- package/lib/module/components/button-group/ButtonToolbar.js +3 -3
- package/lib/module/components/button-group/ButtonToolbar.js.map +1 -1
- package/lib/module/components/buttons/Button.js +3 -3
- package/lib/module/components/buttons/Button.js.map +1 -1
- package/lib/module/components/card/Card.js +3 -3
- package/lib/module/components/card/Card.js.map +1 -1
- package/lib/module/components/card/CardBody.js +3 -3
- package/lib/module/components/card/CardBody.js.map +1 -1
- package/lib/module/components/card/CardFooter.js +3 -3
- package/lib/module/components/card/CardFooter.js.map +1 -1
- package/lib/module/components/card/CardHeader.js +3 -3
- package/lib/module/components/card/CardHeader.js.map +1 -1
- package/lib/module/components/close/CloseButton.js +3 -3
- package/lib/module/components/close/CloseButton.js.map +1 -1
- package/lib/module/components/collapse/Collapse.js +3 -3
- package/lib/module/components/collapse/Collapse.js.map +1 -1
- package/lib/module/components/containers/Container.js +3 -3
- package/lib/module/components/containers/Container.js.map +1 -1
- package/lib/module/components/dropdown/Dropdown.js +3 -3
- package/lib/module/components/dropdown/Dropdown.js.map +1 -1
- package/lib/module/components/dropdown/DropdownDivider.js +3 -3
- package/lib/module/components/dropdown/DropdownDivider.js.map +1 -1
- package/lib/module/components/dropdown/DropdownHeader.js +3 -3
- package/lib/module/components/dropdown/DropdownHeader.js.map +1 -1
- package/lib/module/components/dropdown/DropdownItemText.js +3 -3
- package/lib/module/components/dropdown/DropdownItemText.js.map +1 -1
- package/lib/module/components/dropdown/DropdownMenu.js +3 -3
- package/lib/module/components/dropdown/DropdownMenu.js.map +1 -1
- package/lib/module/components/forms/Checkbox.js +3 -3
- package/lib/module/components/forms/Checkbox.js.map +1 -1
- package/lib/module/components/forms/Feedback.js +3 -3
- package/lib/module/components/forms/Feedback.js.map +1 -1
- package/lib/module/components/forms/FormCheck.js +3 -3
- package/lib/module/components/forms/FormCheck.js.map +1 -1
- package/lib/module/components/forms/FormCheckInput.js +6 -4
- package/lib/module/components/forms/FormCheckInput.js.map +1 -1
- package/lib/module/components/forms/FormCheckLabel.js +3 -3
- package/lib/module/components/forms/FormCheckLabel.js.map +1 -1
- package/lib/module/components/forms/FormLabel.js +3 -3
- package/lib/module/components/forms/FormLabel.js.map +1 -1
- package/lib/module/components/forms/FormText.js +3 -3
- package/lib/module/components/forms/FormText.js.map +1 -1
- package/lib/module/components/forms/Input.js +6 -4
- package/lib/module/components/forms/Input.js.map +1 -1
- package/lib/module/components/forms/Picker.js +7 -5
- package/lib/module/components/forms/Picker.js.map +1 -1
- package/lib/module/components/forms/PickerItem.js +3 -3
- package/lib/module/components/forms/PickerItem.js.map +1 -1
- package/lib/module/components/forms/Radio.js +3 -3
- package/lib/module/components/forms/Radio.js.map +1 -1
- package/lib/module/components/forms/RadioGroup.js +3 -3
- package/lib/module/components/forms/RadioGroup.js.map +1 -1
- package/lib/module/components/forms/Switch.js +3 -3
- package/lib/module/components/forms/Switch.js.map +1 -1
- package/lib/module/components/forms/internals/FormCheckInputNative.js +4 -4
- package/lib/module/components/forms/internals/FormCheckInputNative.js.map +1 -1
- package/lib/module/components/forms/internals/FormCheckInputWeb.js +7 -6
- package/lib/module/components/forms/internals/FormCheckInputWeb.js.map +1 -1
- package/lib/module/components/forms/internals/PickerNative.js +3 -2
- package/lib/module/components/forms/internals/PickerNative.js.map +1 -1
- package/lib/module/components/forms/internals/PickerNativeItem.js +3 -3
- package/lib/module/components/forms/internals/PickerNativeItem.js.map +1 -1
- package/lib/module/components/forms/internals/PickerWeb.js +4 -3
- package/lib/module/components/forms/internals/PickerWeb.js.map +1 -1
- package/lib/module/components/forms/internals/PickerWebItem.js +3 -3
- package/lib/module/components/forms/internals/PickerWebItem.js.map +1 -1
- package/lib/module/components/grid/Col.js +3 -3
- package/lib/module/components/grid/Col.js.map +1 -1
- package/lib/module/components/grid/Row.js +3 -3
- package/lib/module/components/grid/Row.js.map +1 -1
- package/lib/module/components/helpers/Dialog.web.js +2 -2
- package/lib/module/components/helpers/Dialog.web.js.map +1 -1
- package/lib/module/components/helpers/Portal.web.js +16 -1
- package/lib/module/components/helpers/Portal.web.js.map +1 -1
- package/lib/module/components/list-group/ListGroup.js +3 -3
- package/lib/module/components/list-group/ListGroup.js.map +1 -1
- package/lib/module/components/list-group/ListGroupItem.js +3 -3
- package/lib/module/components/list-group/ListGroupItem.js.map +1 -1
- package/lib/module/components/list-group/ListGroupItemAction.js +6 -4
- package/lib/module/components/list-group/ListGroupItemAction.js.map +1 -1
- package/lib/module/components/modal/Modal.js +3 -4
- package/lib/module/components/modal/Modal.js.map +1 -1
- package/lib/module/components/modal/ModalBody.js +3 -3
- package/lib/module/components/modal/ModalBody.js.map +1 -1
- package/lib/module/components/modal/ModalFooter.js +3 -3
- package/lib/module/components/modal/ModalFooter.js.map +1 -1
- package/lib/module/components/modal/ModalHeader.js +3 -3
- package/lib/module/components/modal/ModalHeader.js.map +1 -1
- package/lib/module/components/modal/ModalTitle.js +3 -3
- package/lib/module/components/modal/ModalTitle.js.map +1 -1
- package/lib/module/components/nav/Nav.js +3 -3
- package/lib/module/components/nav/Nav.js.map +1 -1
- package/lib/module/components/nav/NavLink.js +6 -4
- package/lib/module/components/nav/NavLink.js.map +1 -1
- package/lib/module/components/nav/TabContent.js +3 -3
- package/lib/module/components/nav/TabContent.js.map +1 -1
- package/lib/module/components/nav/TabPane.js +3 -3
- package/lib/module/components/nav/TabPane.js.map +1 -1
- package/lib/module/components/navbar/Navbar.js +3 -3
- package/lib/module/components/navbar/Navbar.js.map +1 -1
- package/lib/module/components/navbar/NavbarBrand.js +3 -3
- package/lib/module/components/navbar/NavbarBrand.js.map +1 -1
- package/lib/module/components/navbar/NavbarCollapse.js +3 -3
- package/lib/module/components/navbar/NavbarCollapse.js.map +1 -1
- package/lib/module/components/navbar/NavbarText.js +3 -3
- package/lib/module/components/navbar/NavbarText.js.map +1 -1
- package/lib/module/components/navbar/NavbarToggler.js +3 -3
- package/lib/module/components/navbar/NavbarToggler.js.map +1 -1
- package/lib/module/components/offcanvas/Offcanvas.js +3 -3
- package/lib/module/components/offcanvas/Offcanvas.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasBody.js +3 -3
- package/lib/module/components/offcanvas/OffcanvasBody.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasHeader.js +3 -3
- package/lib/module/components/offcanvas/OffcanvasHeader.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasTitle.js +3 -3
- package/lib/module/components/offcanvas/OffcanvasTitle.js.map +1 -1
- package/lib/module/components/pagination/Pagination.js +3 -3
- package/lib/module/components/pagination/Pagination.js.map +1 -1
- package/lib/module/components/pagination/PaginationItem.js +3 -3
- package/lib/module/components/pagination/PaginationItem.js.map +1 -1
- package/lib/module/components/placeholders/Placeholders.js +6 -6
- package/lib/module/components/placeholders/Placeholders.js.map +1 -1
- package/lib/module/components/popover/Popover.js +3 -3
- package/lib/module/components/popover/Popover.js.map +1 -1
- package/lib/module/components/popover/PopoverArrow.js +3 -3
- package/lib/module/components/popover/PopoverArrow.js.map +1 -1
- package/lib/module/components/popover/PopoverBody.js +3 -3
- package/lib/module/components/popover/PopoverBody.js.map +1 -1
- package/lib/module/components/popover/PopoverHeader.js +3 -3
- package/lib/module/components/popover/PopoverHeader.js.map +1 -1
- package/lib/module/components/popover/injectPopover.js +3 -2
- package/lib/module/components/popover/injectPopover.js.map +1 -1
- package/lib/module/components/progress/Progress.js +3 -3
- package/lib/module/components/progress/Progress.js.map +1 -1
- package/lib/module/components/progress/ProgressBar.js +3 -3
- package/lib/module/components/progress/ProgressBar.js.map +1 -1
- package/lib/module/components/spinners/Spinner.js +3 -3
- package/lib/module/components/spinners/Spinner.js.map +1 -1
- package/lib/module/components/toasts/Toast.js +3 -3
- package/lib/module/components/toasts/Toast.js.map +1 -1
- package/lib/module/components/toasts/ToastBody.js +3 -3
- package/lib/module/components/toasts/ToastBody.js.map +1 -1
- package/lib/module/components/toasts/ToastContainer.js +3 -3
- package/lib/module/components/toasts/ToastContainer.js.map +1 -1
- package/lib/module/components/toasts/ToastHeader.js +3 -3
- package/lib/module/components/toasts/ToastHeader.js.map +1 -1
- package/lib/module/components/tooltip/Tooltip.js +3 -3
- package/lib/module/components/tooltip/Tooltip.js.map +1 -1
- package/lib/module/components/tooltip/TooltipArrow.js +3 -3
- package/lib/module/components/tooltip/TooltipArrow.js.map +1 -1
- package/lib/module/components/tooltip/TooltipInner.js +3 -3
- package/lib/module/components/tooltip/TooltipInner.js.map +1 -1
- package/lib/module/components/tooltip/injectTooltip.js +3 -2
- package/lib/module/components/tooltip/injectTooltip.js.map +1 -1
- package/lib/module/components/type/Blockquote.js +3 -3
- package/lib/module/components/type/Blockquote.js.map +1 -1
- package/lib/module/components/type/Code.js +3 -3
- package/lib/module/components/type/Code.js.map +1 -1
- package/lib/module/components/type/DisplayHeading.js +3 -2
- package/lib/module/components/type/DisplayHeading.js.map +1 -1
- package/lib/module/components/type/Paragraph.js +3 -3
- package/lib/module/components/type/Paragraph.js.map +1 -1
- package/lib/module/hooks/useFocusRing.js +1 -1
- package/lib/module/hooks/useScrollbarEffects.js +8 -5
- package/lib/module/hooks/useScrollbarEffects.js.map +1 -1
- package/lib/module/hooks/useScrollbarEffects.web.js +21 -19
- package/lib/module/hooks/useScrollbarEffects.web.js.map +1 -1
- package/lib/module/hooks/useScrollbarOffset.js +10 -0
- package/lib/module/hooks/useScrollbarOffset.js.map +1 -0
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/Context.d.ts +4 -9
- 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 +2 -2
- package/lib/typescript/components/Body.d.ts.map +1 -1
- package/lib/typescript/components/Caret.d.ts +2 -2
- package/lib/typescript/components/Caret.d.ts.map +1 -1
- package/lib/typescript/components/Heading.d.ts +2 -2
- package/lib/typescript/components/Heading.d.ts.map +1 -1
- package/lib/typescript/components/Image.d.ts +1 -1
- package/lib/typescript/components/Image.d.ts.map +1 -1
- package/lib/typescript/components/ImageBackground.d.ts +1 -1
- package/lib/typescript/components/ImageBackground.d.ts.map +1 -1
- package/lib/typescript/components/Label.d.ts +2 -2
- package/lib/typescript/components/Label.d.ts.map +1 -1
- package/lib/typescript/components/Link.d.ts +2 -2
- 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/ScrollView.d.ts +1 -1
- package/lib/typescript/components/ScrollView.d.ts.map +1 -1
- package/lib/typescript/components/Text.d.ts +1 -1
- package/lib/typescript/components/Text.d.ts.map +1 -1
- package/lib/typescript/components/TextInput.d.ts +1 -1
- package/lib/typescript/components/TextInput.d.ts.map +1 -1
- package/lib/typescript/components/View.d.ts +1 -1
- package/lib/typescript/components/View.d.ts.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts +2 -2
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/badge/Badge.d.ts +2 -2
- package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/components/breadcrumb/Breadcrumb.d.ts +5 -3
- package/lib/typescript/components/breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/lib/typescript/components/breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/lib/typescript/components/breadcrumb/BreadcrumbItem.d.ts.map +1 -1
- package/lib/typescript/components/button-group/ButtonGroup.d.ts +2 -2
- package/lib/typescript/components/button-group/ButtonGroup.d.ts.map +1 -1
- package/lib/typescript/components/button-group/ButtonToolbar.d.ts +2 -2
- package/lib/typescript/components/button-group/ButtonToolbar.d.ts.map +1 -1
- package/lib/typescript/components/buttons/Button.d.ts +3 -2
- package/lib/typescript/components/buttons/Button.d.ts.map +1 -1
- package/lib/typescript/components/card/Card.d.ts +9 -5
- package/lib/typescript/components/card/Card.d.ts.map +1 -1
- package/lib/typescript/components/card/CardBody.d.ts +2 -2
- package/lib/typescript/components/card/CardBody.d.ts.map +1 -1
- package/lib/typescript/components/card/CardFooter.d.ts +2 -2
- package/lib/typescript/components/card/CardFooter.d.ts.map +1 -1
- package/lib/typescript/components/card/CardHeader.d.ts +2 -2
- package/lib/typescript/components/card/CardHeader.d.ts.map +1 -1
- package/lib/typescript/components/close/CloseButton.d.ts +2 -2
- package/lib/typescript/components/close/CloseButton.d.ts.map +1 -1
- package/lib/typescript/components/collapse/Collapse.d.ts +3 -2
- package/lib/typescript/components/collapse/Collapse.d.ts.map +1 -1
- package/lib/typescript/components/containers/Container.d.ts +2 -2
- package/lib/typescript/components/containers/Container.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/Dropdown.d.ts +11 -6
- package/lib/typescript/components/dropdown/Dropdown.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/DropdownDivider.d.ts +2 -2
- package/lib/typescript/components/dropdown/DropdownDivider.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/DropdownHeader.d.ts +2 -2
- package/lib/typescript/components/dropdown/DropdownHeader.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/DropdownItemText.d.ts +2 -2
- package/lib/typescript/components/dropdown/DropdownItemText.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/DropdownMenu.d.ts +2 -2
- package/lib/typescript/components/dropdown/DropdownMenu.d.ts.map +1 -1
- package/lib/typescript/components/dropdown/useToggleDropdown.d.ts +2 -2
- package/lib/typescript/components/dropdown/useToggleDropdown.d.ts.map +1 -1
- package/lib/typescript/components/forms/Checkbox.d.ts +2 -1
- package/lib/typescript/components/forms/Checkbox.d.ts.map +1 -1
- package/lib/typescript/components/forms/Feedback.d.ts +2 -2
- package/lib/typescript/components/forms/Feedback.d.ts.map +1 -1
- package/lib/typescript/components/forms/FormCheck.d.ts +5 -3
- package/lib/typescript/components/forms/FormCheck.d.ts.map +1 -1
- package/lib/typescript/components/forms/FormCheckInput.d.ts +2 -1
- package/lib/typescript/components/forms/FormCheckInput.d.ts.map +1 -1
- package/lib/typescript/components/forms/FormCheckLabel.d.ts +2 -1
- package/lib/typescript/components/forms/FormCheckLabel.d.ts.map +1 -1
- package/lib/typescript/components/forms/FormLabel.d.ts +2 -1
- package/lib/typescript/components/forms/FormLabel.d.ts.map +1 -1
- package/lib/typescript/components/forms/FormText.d.ts +2 -2
- package/lib/typescript/components/forms/FormText.d.ts.map +1 -1
- package/lib/typescript/components/forms/Input.d.ts +2 -2
- package/lib/typescript/components/forms/Input.d.ts.map +1 -1
- package/lib/typescript/components/forms/Picker.d.ts +5 -4
- package/lib/typescript/components/forms/Picker.d.ts.map +1 -1
- package/lib/typescript/components/forms/PickerItem.d.ts +2 -2
- package/lib/typescript/components/forms/PickerItem.d.ts.map +1 -1
- package/lib/typescript/components/forms/Radio.d.ts +5 -2
- package/lib/typescript/components/forms/Radio.d.ts.map +1 -1
- package/lib/typescript/components/forms/RadioGroup.d.ts +2 -2
- package/lib/typescript/components/forms/RadioGroup.d.ts.map +1 -1
- package/lib/typescript/components/forms/Switch.d.ts +2 -1
- package/lib/typescript/components/forms/Switch.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/FormCheckInputNative.d.ts +2 -1
- package/lib/typescript/components/forms/internals/FormCheckInputNative.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/FormCheckInputWeb.d.ts +2 -1
- package/lib/typescript/components/forms/internals/FormCheckInputWeb.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/PickerNative.d.ts +2 -1
- package/lib/typescript/components/forms/internals/PickerNative.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/PickerNativeItem.d.ts +2 -2
- package/lib/typescript/components/forms/internals/PickerNativeItem.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/PickerWeb.d.ts +2 -1
- package/lib/typescript/components/forms/internals/PickerWeb.d.ts.map +1 -1
- package/lib/typescript/components/forms/internals/PickerWebItem.d.ts +2 -2
- package/lib/typescript/components/forms/internals/PickerWebItem.d.ts.map +1 -1
- package/lib/typescript/components/grid/Col.d.ts +2 -2
- package/lib/typescript/components/grid/Col.d.ts.map +1 -1
- package/lib/typescript/components/grid/Row.d.ts +2 -2
- package/lib/typescript/components/grid/Row.d.ts.map +1 -1
- package/lib/typescript/components/helpers/Portal.web.d.ts.map +1 -1
- package/lib/typescript/components/list-group/ListGroup.d.ts +7 -4
- package/lib/typescript/components/list-group/ListGroup.d.ts.map +1 -1
- package/lib/typescript/components/list-group/ListGroupItem.d.ts +2 -2
- package/lib/typescript/components/list-group/ListGroupItem.d.ts.map +1 -1
- package/lib/typescript/components/list-group/ListGroupItemAction.d.ts +2 -2
- package/lib/typescript/components/list-group/ListGroupItemAction.d.ts.map +1 -1
- package/lib/typescript/components/modal/Modal.d.ts +13 -7
- package/lib/typescript/components/modal/Modal.d.ts.map +1 -1
- package/lib/typescript/components/modal/ModalBody.d.ts +3 -2
- package/lib/typescript/components/modal/ModalBody.d.ts.map +1 -1
- package/lib/typescript/components/modal/ModalFooter.d.ts +2 -2
- package/lib/typescript/components/modal/ModalFooter.d.ts.map +1 -1
- package/lib/typescript/components/modal/ModalHeader.d.ts +2 -2
- package/lib/typescript/components/modal/ModalHeader.d.ts.map +1 -1
- package/lib/typescript/components/modal/ModalTitle.d.ts +2 -2
- package/lib/typescript/components/modal/ModalTitle.d.ts.map +1 -1
- package/lib/typescript/components/nav/Nav.d.ts +5 -3
- package/lib/typescript/components/nav/Nav.d.ts.map +1 -1
- package/lib/typescript/components/nav/NavLink.d.ts +2 -2
- package/lib/typescript/components/nav/NavLink.d.ts.map +1 -1
- package/lib/typescript/components/nav/Tab.d.ts +4 -2
- package/lib/typescript/components/nav/Tab.d.ts.map +1 -1
- package/lib/typescript/components/nav/TabContent.d.ts +2 -2
- package/lib/typescript/components/nav/TabContent.d.ts.map +1 -1
- package/lib/typescript/components/nav/TabPane.d.ts +2 -2
- package/lib/typescript/components/nav/TabPane.d.ts.map +1 -1
- package/lib/typescript/components/navbar/Navbar.d.ts +11 -6
- package/lib/typescript/components/navbar/Navbar.d.ts.map +1 -1
- package/lib/typescript/components/navbar/NavbarBrand.d.ts +2 -2
- package/lib/typescript/components/navbar/NavbarBrand.d.ts.map +1 -1
- package/lib/typescript/components/navbar/NavbarCollapse.d.ts +2 -2
- package/lib/typescript/components/navbar/NavbarCollapse.d.ts.map +1 -1
- package/lib/typescript/components/navbar/NavbarText.d.ts +2 -2
- package/lib/typescript/components/navbar/NavbarText.d.ts.map +1 -1
- package/lib/typescript/components/navbar/NavbarToggler.d.ts +2 -1
- package/lib/typescript/components/navbar/NavbarToggler.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/Offcanvas.d.ts +10 -6
- package/lib/typescript/components/offcanvas/Offcanvas.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/OffcanvasBody.d.ts +2 -2
- package/lib/typescript/components/offcanvas/OffcanvasBody.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/OffcanvasHeader.d.ts +2 -2
- package/lib/typescript/components/offcanvas/OffcanvasHeader.d.ts.map +1 -1
- package/lib/typescript/components/offcanvas/OffcanvasTitle.d.ts +2 -2
- package/lib/typescript/components/offcanvas/OffcanvasTitle.d.ts.map +1 -1
- package/lib/typescript/components/pagination/Pagination.d.ts +5 -3
- package/lib/typescript/components/pagination/Pagination.d.ts.map +1 -1
- package/lib/typescript/components/pagination/PaginationItem.d.ts +2 -2
- package/lib/typescript/components/pagination/PaginationItem.d.ts.map +1 -1
- package/lib/typescript/components/placeholders/Placeholders.d.ts +2 -2
- package/lib/typescript/components/placeholders/Placeholders.d.ts.map +1 -1
- package/lib/typescript/components/popover/Popover.d.ts +9 -5
- package/lib/typescript/components/popover/Popover.d.ts.map +1 -1
- package/lib/typescript/components/popover/PopoverArrow.d.ts +2 -2
- package/lib/typescript/components/popover/PopoverArrow.d.ts.map +1 -1
- package/lib/typescript/components/popover/PopoverBody.d.ts +2 -2
- package/lib/typescript/components/popover/PopoverBody.d.ts.map +1 -1
- package/lib/typescript/components/popover/PopoverHeader.d.ts +2 -2
- package/lib/typescript/components/popover/PopoverHeader.d.ts.map +1 -1
- package/lib/typescript/components/popover/injectPopover.d.ts +5 -1
- package/lib/typescript/components/popover/injectPopover.d.ts.map +1 -1
- package/lib/typescript/components/progress/Progress.d.ts +5 -3
- package/lib/typescript/components/progress/Progress.d.ts.map +1 -1
- package/lib/typescript/components/progress/ProgressBar.d.ts +2 -2
- package/lib/typescript/components/progress/ProgressBar.d.ts.map +1 -1
- package/lib/typescript/components/spinners/Spinner.d.ts +2 -2
- package/lib/typescript/components/spinners/Spinner.d.ts.map +1 -1
- package/lib/typescript/components/toasts/Toast.d.ts +7 -4
- package/lib/typescript/components/toasts/Toast.d.ts.map +1 -1
- package/lib/typescript/components/toasts/ToastBody.d.ts +2 -2
- package/lib/typescript/components/toasts/ToastBody.d.ts.map +1 -1
- package/lib/typescript/components/toasts/ToastContainer.d.ts +3 -2
- package/lib/typescript/components/toasts/ToastContainer.d.ts.map +1 -1
- package/lib/typescript/components/toasts/ToastHeader.d.ts +2 -2
- package/lib/typescript/components/toasts/ToastHeader.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/Tooltip.d.ts +7 -4
- package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/TooltipArrow.d.ts +2 -2
- package/lib/typescript/components/tooltip/TooltipArrow.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/TooltipInner.d.ts +2 -2
- package/lib/typescript/components/tooltip/TooltipInner.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/injectTooltip.d.ts +5 -1
- package/lib/typescript/components/tooltip/injectTooltip.d.ts.map +1 -1
- package/lib/typescript/components/type/Blockquote.d.ts +2 -2
- package/lib/typescript/components/type/Blockquote.d.ts.map +1 -1
- package/lib/typescript/components/type/Code.d.ts +2 -2
- package/lib/typescript/components/type/Code.d.ts.map +1 -1
- package/lib/typescript/components/type/DisplayHeading.d.ts +5 -2
- package/lib/typescript/components/type/DisplayHeading.d.ts.map +1 -1
- package/lib/typescript/components/type/Paragraph.d.ts +2 -2
- package/lib/typescript/components/type/Paragraph.d.ts.map +1 -1
- package/lib/typescript/hooks/useScrollbarEffects.d.ts +3 -3
- package/lib/typescript/hooks/useScrollbarEffects.d.ts.map +1 -1
- package/lib/typescript/hooks/useScrollbarEffects.web.d.ts +3 -3
- package/lib/typescript/hooks/useScrollbarEffects.web.d.ts.map +1 -1
- package/lib/typescript/hooks/useScrollbarOffset.d.ts +2 -0
- package/lib/typescript/hooks/useScrollbarOffset.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +3 -3
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/utils.d.ts +1 -1
- package/lib/typescript/utils.d.ts.map +1 -1
- package/package.json +92 -92
- package/src/Context.ts +4 -7
- package/src/Provider.tsx +4 -21
- package/src/components/Body.tsx +3 -5
- package/src/components/Caret.tsx +109 -111
- package/src/components/Heading.tsx +47 -49
- package/src/components/Image.tsx +3 -5
- package/src/components/ImageBackground.tsx +9 -10
- package/src/components/Label.tsx +32 -34
- package/src/components/Link.tsx +104 -101
- package/src/components/Pressable.tsx +167 -167
- package/src/components/ScrollView.tsx +76 -75
- package/src/components/Text.tsx +3 -4
- package/src/components/TextInput.tsx +36 -39
- package/src/components/View.tsx +3 -5
- package/src/components/alert/Alert.tsx +79 -80
- package/src/components/badge/Badge.tsx +41 -43
- package/src/components/breadcrumb/Breadcrumb.tsx +54 -56
- package/src/components/breadcrumb/BreadcrumbItem.tsx +80 -81
- package/src/components/button-group/ButtonGroup.tsx +42 -46
- package/src/components/button-group/ButtonToolbar.tsx +32 -34
- package/src/components/buttons/Button.tsx +3 -4
- package/src/components/card/Card.tsx +44 -46
- package/src/components/card/CardBody.tsx +38 -40
- package/src/components/card/CardFooter.tsx +42 -44
- package/src/components/card/CardHeader.tsx +43 -45
- package/src/components/close/CloseButton.tsx +53 -54
- package/src/components/collapse/Collapse.tsx +29 -31
- package/src/components/containers/Container.tsx +116 -118
- package/src/components/dropdown/Dropdown.tsx +3 -4
- package/src/components/dropdown/DropdownDivider.tsx +30 -32
- package/src/components/dropdown/DropdownHeader.tsx +40 -42
- package/src/components/dropdown/DropdownItemText.tsx +35 -37
- package/src/components/dropdown/DropdownMenu.tsx +109 -112
- package/src/components/dropdown/useToggleDropdown.ts +1 -1
- package/src/components/forms/Checkbox.tsx +13 -15
- package/src/components/forms/Feedback.tsx +38 -40
- package/src/components/forms/FormCheck.tsx +68 -69
- package/src/components/forms/FormCheckInput.tsx +78 -81
- package/src/components/forms/FormCheckLabel.tsx +69 -71
- package/src/components/forms/FormLabel.tsx +41 -43
- package/src/components/forms/FormText.tsx +36 -38
- package/src/components/forms/Input.tsx +10 -5
- package/src/components/forms/Picker.tsx +11 -6
- package/src/components/forms/PickerItem.tsx +3 -5
- package/src/components/forms/Radio.tsx +7 -7
- package/src/components/forms/RadioGroup.tsx +3 -4
- package/src/components/forms/Switch.tsx +13 -15
- package/src/components/forms/internals/FormCheckInputNative.tsx +49 -51
- package/src/components/forms/internals/FormCheckInputWeb.tsx +11 -11
- package/src/components/forms/internals/PickerNative.tsx +84 -84
- package/src/components/forms/internals/PickerNativeItem.tsx +29 -31
- package/src/components/forms/internals/PickerWeb.tsx +4 -3
- package/src/components/forms/internals/PickerWebItem.tsx +15 -17
- package/src/components/grid/Col.tsx +96 -97
- package/src/components/grid/Row.tsx +32 -34
- package/src/components/helpers/Dialog.web.tsx +2 -2
- package/src/components/helpers/Portal.web.tsx +21 -1
- package/src/components/list-group/ListGroup.tsx +75 -77
- package/src/components/list-group/ListGroupItem.tsx +150 -151
- package/src/components/list-group/ListGroupItemAction.tsx +194 -193
- package/src/components/modal/Modal.tsx +91 -96
- package/src/components/modal/ModalBody.tsx +26 -27
- package/src/components/modal/ModalFooter.tsx +38 -42
- package/src/components/modal/ModalHeader.tsx +37 -41
- package/src/components/modal/ModalTitle.tsx +3 -5
- package/src/components/nav/Nav.tsx +104 -106
- package/src/components/nav/NavLink.tsx +272 -267
- package/src/components/nav/TabContent.tsx +12 -14
- package/src/components/nav/TabPane.tsx +50 -52
- package/src/components/navbar/Navbar.tsx +89 -90
- package/src/components/navbar/NavbarBrand.tsx +78 -80
- package/src/components/navbar/NavbarCollapse.tsx +61 -63
- package/src/components/navbar/NavbarText.tsx +43 -45
- package/src/components/navbar/NavbarToggler.tsx +34 -36
- package/src/components/offcanvas/Offcanvas.tsx +4 -5
- package/src/components/offcanvas/OffcanvasBody.tsx +28 -29
- package/src/components/offcanvas/OffcanvasHeader.tsx +53 -55
- package/src/components/offcanvas/OffcanvasTitle.tsx +21 -23
- package/src/components/pagination/Pagination.tsx +37 -39
- package/src/components/pagination/PaginationItem.tsx +42 -43
- package/src/components/placeholders/Placeholders.tsx +30 -34
- package/src/components/popover/Popover.tsx +3 -4
- package/src/components/popover/PopoverArrow.tsx +25 -29
- package/src/components/popover/PopoverBody.tsx +37 -41
- package/src/components/popover/PopoverHeader.tsx +46 -48
- package/src/components/popover/injectPopover.tsx +69 -68
- package/src/components/progress/Progress.tsx +64 -65
- package/src/components/progress/ProgressBar.tsx +62 -70
- package/src/components/spinners/Spinner.tsx +161 -156
- package/src/components/toasts/Toast.tsx +65 -67
- package/src/components/toasts/ToastBody.tsx +39 -41
- package/src/components/toasts/ToastContainer.tsx +17 -19
- package/src/components/toasts/ToastHeader.tsx +55 -59
- package/src/components/tooltip/Tooltip.tsx +3 -4
- package/src/components/tooltip/TooltipArrow.tsx +21 -25
- package/src/components/tooltip/TooltipInner.tsx +37 -41
- package/src/components/tooltip/injectTooltip.tsx +67 -66
- package/src/components/type/Blockquote.tsx +43 -45
- package/src/components/type/Code.tsx +37 -39
- package/src/components/type/DisplayHeading.tsx +38 -38
- package/src/components/type/Paragraph.tsx +40 -42
- package/src/hooks/useFocusRing.ts +1 -1
- package/src/hooks/useScrollbarEffects.ts +8 -7
- package/src/hooks/useScrollbarEffects.web.ts +26 -30
- package/src/hooks/useScrollbarOffset.ts +12 -0
- package/src/index.ts +3 -3
- package/src/utils.ts +1 -1
- package/lib/module/hooks/useFixedElement.js +0 -17
- package/lib/module/hooks/useFixedElement.js.map +0 -1
- package/lib/typescript/hooks/useFixedElement.d.ts +0 -2
- package/lib/typescript/hooks/useFixedElement.d.ts.map +0 -1
- package/src/hooks/useFixedElement.ts +0 -18
|
@@ -5,11 +5,12 @@ const computeScrollbarWidth = () => {
|
|
|
5
5
|
const documentWidth = document.documentElement.clientWidth;
|
|
6
6
|
return Math.abs(window.innerWidth - documentWidth);
|
|
7
7
|
};
|
|
8
|
-
export default function useScrollbarEffects(
|
|
8
|
+
export default function useScrollbarEffects() {
|
|
9
9
|
const state = useRef({
|
|
10
10
|
counter: 0,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
offset: 0,
|
|
12
|
+
listeners: new Set(),
|
|
13
|
+
originalBodyWidth: '',
|
|
13
14
|
originalBodyOverflow: ''
|
|
14
15
|
});
|
|
15
16
|
return useMemo(() => ({
|
|
@@ -20,20 +21,13 @@ export default function useScrollbarEffects(elements) {
|
|
|
20
21
|
}
|
|
21
22
|
const rect = document.body.getBoundingClientRect();
|
|
22
23
|
const isBodyOverflowing = rect.left + rect.right < window.innerWidth;
|
|
23
|
-
|
|
24
|
-
// Set body and fixed elements padding adjustments.
|
|
25
|
-
const fixedElements = elements.filter(ref => ref.current).map(ref => ref.current);
|
|
26
|
-
|
|
27
|
-
// @ts-expect-error fixedElements should be of type HTMLElement[]
|
|
28
|
-
state.current.elements = [document.body, ...fixedElements];
|
|
29
|
-
state.current.originalWidths = state.current.elements.map(el => el.style.width || '');
|
|
24
|
+
state.current.originalBodyWidth = document.body.style.width || '';
|
|
30
25
|
state.current.originalBodyOverflow = document.body.style.overflow || '';
|
|
31
26
|
if (isBodyOverflowing) {
|
|
32
27
|
const scrollbarWidth = computeScrollbarWidth();
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
});
|
|
28
|
+
document.body.style.width = `calc(100% - ${scrollbarWidth}px)`;
|
|
29
|
+
state.current.offset = scrollbarWidth;
|
|
30
|
+
state.current.listeners.forEach(listener => listener());
|
|
37
31
|
}
|
|
38
32
|
|
|
39
33
|
// Add "overflow: hidden" to body element.
|
|
@@ -48,11 +42,19 @@ export default function useScrollbarEffects(elements) {
|
|
|
48
42
|
// Remove "overflow: hidden" from body element.
|
|
49
43
|
document.body.style.overflow = state.current.originalBodyOverflow;
|
|
50
44
|
|
|
51
|
-
// Reset body
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
// Reset body width adjustment.
|
|
46
|
+
document.body.style.width = state.current.originalBodyWidth;
|
|
47
|
+
state.current.offset = 0;
|
|
48
|
+
state.current.listeners.forEach(listener => listener());
|
|
49
|
+
},
|
|
50
|
+
subscribe(listener) {
|
|
51
|
+
state.current.listeners.add(listener);
|
|
52
|
+
return () => {
|
|
53
|
+
state.current.listeners.delete(listener);
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
getOffset() {
|
|
57
|
+
return state.current.offset;
|
|
56
58
|
}
|
|
57
59
|
}), []);
|
|
58
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useRef","useMemo","computeScrollbarWidth","documentWidth","document","documentElement","clientWidth","Math","abs","window","innerWidth","useScrollbarEffects","
|
|
1
|
+
{"version":3,"names":["useRef","useMemo","computeScrollbarWidth","documentWidth","document","documentElement","clientWidth","Math","abs","window","innerWidth","useScrollbarEffects","state","counter","offset","listeners","Set","originalBodyWidth","originalBodyOverflow","hide","current","rect","body","getBoundingClientRect","isBodyOverflowing","left","right","style","width","overflow","scrollbarWidth","forEach","listener","show","subscribe","add","delete","getOffset"],"sourceRoot":"..\\..\\..\\src","sources":["hooks/useScrollbarEffects.web.ts"],"mappings":";;AAAA,SAASA,MAAM,EAAEC,OAAO,QAAQ,OAAO;AAUvC,MAAMC,qBAAqB,GAAGA,CAAA,KAAM;EAClC,MAAMC,aAAa,GAAGC,QAAQ,CAACC,eAAe,CAACC,WAAW;EAC1D,OAAOC,IAAI,CAACC,GAAG,CAACC,MAAM,CAACC,UAAU,GAAGP,aAAa,CAAC;AACpD,CAAC;AAED,eAAe,SAASQ,mBAAmBA,CAAA,EAAG;EAC5C,MAAMC,KAAK,GAAGZ,MAAM,CAAwB;IAC1Ca,OAAO,EAAE,CAAC;IACVC,MAAM,EAAE,CAAC;IACTC,SAAS,EAAE,IAAIC,GAAG,CAAC,CAAC;IACpBC,iBAAiB,EAAE,EAAE;IACrBC,oBAAoB,EAAE;EACxB,CAAC,CAAC;EAEF,OAAOjB,OAAO,CACZ,OAAO;IACLkB,IAAIA,CAAA,EAAG;MACLP,KAAK,CAACQ,OAAO,CAACP,OAAO,IAAI,CAAC;MAE1B,IAAID,KAAK,CAACQ,OAAO,CAACP,OAAO,KAAK,CAAC,EAAE;QAC/B;MACF;MAEA,MAAMQ,IAAI,GAAGjB,QAAQ,CAACkB,IAAI,CAACC,qBAAqB,CAAC,CAAC;MAClD,MAAMC,iBAAiB,GAAGH,IAAI,CAACI,IAAI,GAAGJ,IAAI,CAACK,KAAK,GAAGjB,MAAM,CAACC,UAAU;MAEpEE,KAAK,CAACQ,OAAO,CAACH,iBAAiB,GAAGb,QAAQ,CAACkB,IAAI,CAACK,KAAK,CAACC,KAAK,IAAI,EAAE;MACjEhB,KAAK,CAACQ,OAAO,CAACF,oBAAoB,GAAGd,QAAQ,CAACkB,IAAI,CAACK,KAAK,CAACE,QAAQ,IAAI,EAAE;MAEvE,IAAIL,iBAAiB,EAAE;QACrB,MAAMM,cAAc,GAAG5B,qBAAqB,CAAC,CAAC;QAE9CE,QAAQ,CAACkB,IAAI,CAACK,KAAK,CAACC,KAAK,GAAG,eAAeE,cAAc,KAAK;QAC9DlB,KAAK,CAACQ,OAAO,CAACN,MAAM,GAAGgB,cAAc;QACrClB,KAAK,CAACQ,OAAO,CAACL,SAAS,CAACgB,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAAC,CAAC,CAAC;MAC3D;;MAEA;MACA5B,QAAQ,CAACkB,IAAI,CAACK,KAAK,CAACE,QAAQ,GAAG,QAAQ;IACzC,CAAC;IACDI,IAAIA,CAAA,EAAG;MACLrB,KAAK,CAACQ,OAAO,CAACP,OAAO,IAAI,CAAC;MAE1B,IAAID,KAAK,CAACQ,OAAO,CAACP,OAAO,KAAK,CAAC,EAAE;QAC/B;MACF;;MAEA;MACAT,QAAQ,CAACkB,IAAI,CAACK,KAAK,CAACE,QAAQ,GAAGjB,KAAK,CAACQ,OAAO,CAACF,oBAAoB;;MAEjE;MACAd,QAAQ,CAACkB,IAAI,CAACK,KAAK,CAACC,KAAK,GAAGhB,KAAK,CAACQ,OAAO,CAACH,iBAAiB;MAC3DL,KAAK,CAACQ,OAAO,CAACN,MAAM,GAAG,CAAC;MACxBF,KAAK,CAACQ,OAAO,CAACL,SAAS,CAACgB,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAAC,CAAC,CAAC;IAC3D,CAAC;IACDE,SAASA,CAACF,QAAoB,EAAE;MAC9BpB,KAAK,CAACQ,OAAO,CAACL,SAAS,CAACoB,GAAG,CAACH,QAAQ,CAAC;MAErC,OAAO,MAAM;QACXpB,KAAK,CAACQ,OAAO,CAACL,SAAS,CAACqB,MAAM,CAACJ,QAAQ,CAAC;MAC1C,CAAC;IACH,CAAC;IACDK,SAASA,CAAA,EAAG;MACV,OAAOzB,KAAK,CAACQ,OAAO,CAACN,MAAM;IAC7B;EACF,CAAC,CAAC,EACF,EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useSyncExternalStore } from 'react';
|
|
4
|
+
import Context from "../Context.js";
|
|
5
|
+
import useForcedContext from "./useForcedContext.js";
|
|
6
|
+
export default function useScrollbarOffset() {
|
|
7
|
+
const context = useForcedContext(Context);
|
|
8
|
+
return useSyncExternalStore(context.scrollbar.subscribe, context.scrollbar.getOffset);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=useScrollbarOffset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useSyncExternalStore","Context","useForcedContext","useScrollbarOffset","context","scrollbar","subscribe","getOffset"],"sourceRoot":"..\\..\\..\\src","sources":["hooks/useScrollbarOffset.ts"],"mappings":";;AAAA,SAASA,oBAAoB,QAAQ,OAAO;AAC5C,OAAOC,OAAO,MAAM,eAAY;AAChC,OAAOC,gBAAgB,MAAM,uBAAoB;AAEjD,eAAe,SAASC,kBAAkBA,CAAA,EAAG;EAC3C,MAAMC,OAAO,GAAGF,gBAAgB,CAACD,OAAO,CAAC;EAEzC,OAAOD,oBAAoB,CACzBI,OAAO,CAACC,SAAS,CAACC,SAAS,EAC3BF,OAAO,CAACC,SAAS,CAACE,SACpB,CAAC;AACH","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -6,10 +6,10 @@ import makeTheme from "./style/makeTheme.js";
|
|
|
6
6
|
import StyleSheet from "./style/StyleSheet.js";
|
|
7
7
|
import Context from "./Context.js";
|
|
8
8
|
import Provider from "./Provider.js";
|
|
9
|
-
import
|
|
9
|
+
import useScrollbarOffset from "./hooks/useScrollbarOffset.js";
|
|
10
10
|
import useMedia from "./hooks/useMedia.js";
|
|
11
11
|
import useStyle from "./hooks/useStyle.js";
|
|
12
|
-
export { css, Context, makeUtilities, makeTheme, Provider, StyleSheet,
|
|
12
|
+
export { css, Context, makeUtilities, makeTheme, Provider, StyleSheet, useScrollbarOffset, useMedia, useStyle };
|
|
13
13
|
export * from "./theme/functions.js";
|
|
14
14
|
export * from "./types.js";
|
|
15
15
|
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["css","makeUtilities","makeTheme","StyleSheet","Context","Provider","
|
|
1
|
+
{"version":3,"names":["css","makeUtilities","makeTheme","StyleSheet","Context","Provider","useScrollbarOffset","useMedia","useStyle","default","Alert","Badge","Breadcrumb","ButtonGroup","ButtonToolbar","Button","Blockquote","Body","Card","Caret","CloseButton","Collapse","Container","Checkbox","Col","Code","Dropdown","DisplayHeading","Feedback","FormCheck","FormLabel","FormText","Heading","Input","injectPopover","injectTooltip","Image","ImageBackground","Label","ListGroup","Link","Modal","Nav","Navbar","Offcanvas","Picker","Placeholders","Popover","Progress","Paragraph","Portal","PortalHost","Pressable","Pagination","Radio","Row","Switch","Spinner","ScrollView","Tab","Toast","ToastContainer","Tooltip","Text","TextInput","View"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":";;AAAA,OAAOA,GAAG,MAAM,gBAAa;AAC7B,OAAOC,aAAa,MAAM,0BAAuB;AACjD,OAAOC,SAAS,MAAM,sBAAmB;AACzC,OAAOC,UAAU,MAAM,uBAAoB;AAC3C,OAAOC,OAAO,MAAM,cAAW;AAC/B,OAAOC,QAAQ,MAAM,eAAY;AACjC,OAAOC,kBAAkB,MAAM,+BAA4B;AAC3D,OAAOC,QAAQ,MAAM,qBAAkB;AACvC,OAAOC,QAAQ,MAAM,qBAAkB;AAEvC,SACER,GAAG,EACHI,OAAO,EACPH,aAAa,EACbC,SAAS,EACTG,QAAQ,EACRF,UAAU,EACVG,kBAAkB,EAClBC,QAAQ,EACRC,QAAQ;AAGV,cAAc,sBAAmB;AAEjC,cAAc,YAAS;;AAEvB;;AAEA,SAASC,OAAO,IAAIC,KAAK,QAAQ,6BAA0B;AAG3D,SAASD,OAAO,IAAIE,KAAK,QAAQ,6BAA0B;AAG3D,SAASF,OAAO,IAAIG,UAAU,QAAQ,uCAAoC;AAI1E,SAASH,OAAO,IAAII,WAAW,QAAQ,0CAAuC;AAG9E,SAASJ,OAAO,IAAIK,aAAa,QAAQ,4CAAyC;AAGlF,SAASL,OAAO,IAAIM,MAAM,QAAQ,gCAA6B;AAI/D,SAASN,OAAO,IAAIO,UAAU,QAAQ,iCAA8B;AAGpE,SAASP,OAAO,IAAIQ,IAAI,QAAQ,sBAAmB;AAGnD,SAASR,OAAO,IAAIS,IAAI,QAAQ,2BAAwB;AAMxD,SAAST,OAAO,IAAIU,KAAK,QAAQ,uBAAoB;AAGrD,SAASV,OAAO,IAAIW,WAAW,QAAQ,mCAAgC;AAGvE,SAASX,OAAO,IAAIY,QAAQ,QAAQ,mCAAgC;AAKpE,SAASZ,OAAO,IAAIa,SAAS,QAAQ,sCAAmC;AAGxE,SAASb,OAAO,IAAIc,QAAQ,QAAQ,gCAA6B;AAGjE,SAASd,OAAO,IAAIe,GAAG,QAAQ,0BAAuB;AAGtD,SAASf,OAAO,IAAIgB,IAAI,QAAQ,2BAAwB;AAGxD,SAAShB,OAAO,IAAIiB,QAAQ,QAAQ,mCAAgC;AAYpE,SAASjB,OAAO,IAAIkB,cAAc,QAAQ,qCAAkC;AAG5E,SAASlB,OAAO,IAAImB,QAAQ,QAAQ,gCAA6B;AAGjE,SAASnB,OAAO,IAAIoB,SAAS,QAAQ,iCAA8B;AAInE,SAASpB,OAAO,IAAIqB,SAAS,QAAQ,iCAA8B;AAGnE,SAASrB,OAAO,IAAIsB,QAAQ,QAAQ,gCAA6B;AAGjE,SAAStB,OAAO,IAAIuB,OAAO,QAAQ,yBAAsB;AAGzD,SAASvB,OAAO,IAAIwB,KAAK,QAAQ,6BAA0B;AAG3D,SAASxB,OAAO,IAAIyB,aAAa,QAAQ,uCAAoC;AAG7E,SAASzB,OAAO,IAAI0B,aAAa,QAAQ,uCAAoC;AAG7E,SAAS1B,OAAO,IAAI2B,KAAK,QAAQ,uBAAoB;AAGrD,SAAS3B,OAAO,IAAI4B,eAAe,QAAQ,iCAA8B;AAGzE,SAAS5B,OAAO,IAAI6B,KAAK,QAAQ,uBAAoB;AAGrD,SAAS7B,OAAO,IAAI8B,SAAS,QAAQ,sCAAmC;AAKxE,SAAS9B,OAAO,IAAI+B,IAAI,QAAQ,sBAAmB;AAGnD,SAAS/B,OAAO,IAAIgC,KAAK,QAAQ,6BAA0B;AAQ3D,SAAShC,OAAO,IAAIiC,GAAG,QAAQ,yBAAsB;AAKrD,SAASjC,OAAO,IAAIkC,MAAM,QAAQ,+BAA4B;AAU9D,SAASlC,OAAO,IAAImC,SAAS,QAAQ,qCAAkC;AAOvE,SAASnC,OAAO,IAAIoC,MAAM,QAAQ,8BAA2B;AAI7D,SAASpC,OAAO,IAAIqC,YAAY,QAAQ,2CAAwC;AAGhF,SAASrC,OAAO,IAAIsC,OAAO,QAAQ,iCAA8B;AAMjE,SAAStC,OAAO,IAAIuC,QAAQ,QAAQ,mCAAgC;AAIpE,SAASvC,OAAO,IAAIwC,SAAS,QAAQ,gCAA6B;AAGlE,SAASxC,OAAO,IAAIyC,MAAM,QAAQ,6BAA6B;AAC/D,SAASzC,OAAO,IAAI0C,UAAU,QAAQ,iCAAiC;AAIvE,SAAS1C,OAAO,IAAI2C,SAAS,QAAQ,2BAAwB;AAG7D,SAAS3C,OAAO,IAAI4C,UAAU,QAAQ,uCAAoC;AAI1E,SAAS5C,OAAO,IAAI6C,KAAK,QAAQ,6BAA0B;AAI3D,SAAS7C,OAAO,IAAI8C,GAAG,QAAQ,0BAAuB;AAGtD,SAAS9C,OAAO,IAAI+C,MAAM,QAAQ,8BAA2B;AAG7D,SAAS/C,OAAO,IAAIgD,OAAO,QAAQ,kCAA+B;AAGlE,SAAShD,OAAO,IAAIiD,UAAU,QAAQ,4BAAyB;AAG/D,SAASjD,OAAO,IAAIkD,GAAG,QAAQ,yBAAsB;AAOrD,SAASlD,OAAO,IAAImD,KAAK,QAAQ,8BAA2B;AAC5D,SAASnD,OAAO,IAAIoD,cAAc,QAAQ,uCAAoC;AAM9E,SAASpD,OAAO,IAAIqD,OAAO,QAAQ,iCAA8B;AAKjE,SAASrD,OAAO,IAAIsD,IAAI,QAAQ,sBAAmB;AAGnD,SAAStD,OAAO,IAAIuD,SAAS,QAAQ,2BAAwB;AAG7D,SAASvD,OAAO,IAAIwD,IAAI,QAAQ,sBAAmB","ignoreList":[]}
|
package/lib/module/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["each","source","apply","Object","entries","map","key","value","resolve","reduce","carry","item","assign","normalize","makeProxy","name","keys","result","t","makeArray","length","callback","Array","from","_","i","getStyles","styles","filter","concatRefs","refs","element","forEach","ref","current","optional","condition","undefined","getElementId","identifier"],"sourceRoot":"..\\..\\src","sources":["utils.ts"],"mappings":";;AAEA,OAAO,SAASA,IAAIA,CAGlBC,MAAS,EACTC,KAIwB,EACxB;EACA,OAAOC,MAAM,CAACC,OAAO,CAACH,MAAM,CAAC,CAC1BI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,CAAC,KAAK;IACrB,MAAMC,OAAO,GAAG,OAAOD,KAAK,KAAK,UAAU,GAAGA,KAAK,GAAG,MAAMA,KAAK;IACjE,OAAOL,KAAK,CAACI,GAAG,EAAEE,OAAO,CAAC;EAC5B,CAAC,CAAC,CACDC,MAAM,CAAC,CAACC,KAAK,EAAEC,IAAI,KAAKR,MAAM,CAACS,MAAM,CAACF,KAAK,EAAEC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5D;AAEA,OAAO,SAASE,SAASA,CAACN,KAAe,EAAE;EACzC,OAAOA,KAAK,CAACE,MAAM,CAAC,CAACC,KAAK,EAAEC,IAAI,KAAKR,MAAM,CAACS,MAAM,CAACF,KAAK,EAAEC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AACtE;AAEA,OAAO,SAASG,SAASA,CACvBC,IAAY,EACZC,IAAO,EACP;EACA,OAAOA,IAAI,CAACP,MAAM,CAChB,CAACQ,MAAM,EAAEX,GAAG,MAAM;IAChB,GAAGW,MAAM;IACT,CAACX,GAAG,GAAIY,CAAiB,IAAKA,CAAC,CAACH,IAAI,CAAC,CAACT,GAAG;EAC3C,CAAC,CAAC,EACF,CAAC,CACH,CAAC;AACH;AAEA,OAAO,SAASa,SAASA,CAACC,MAAc,EAAEC,QAAmC,EAAE;EAC7E,OAAOC,KAAK,CAACC,IAAI,CAAC;IAAEH;EAAO,CAAC,EAAE,CAACI,CAAC,EAAEC,CAAC,KAAKJ,QAAQ,CAACI,CAAC,CAAC,CAAC;AACtD;AAIA,OAAO,SAASC,SAASA,CACvBC,MAAqC,EACrCX,IAAwB,EACxB;EACA,OAAOA,IAAI,CACRY,MAAM,CAAEtB,GAAmB,IAAe,CAAC,CAACA,GAAG,CAAC,CAChDD,GAAG,CAAEC,GAAG,IAAKqB,MAAM,CAACrB,GAAG,CAAC,CAAC;AAC9B;AAEA,OAAO,SAASuB,UAAUA,CACxB,GAAGC,IAAkC,
|
|
1
|
+
{"version":3,"names":["each","source","apply","Object","entries","map","key","value","resolve","reduce","carry","item","assign","normalize","makeProxy","name","keys","result","t","makeArray","length","callback","Array","from","_","i","getStyles","styles","filter","concatRefs","refs","element","forEach","ref","current","optional","condition","undefined","getElementId","identifier"],"sourceRoot":"..\\..\\src","sources":["utils.ts"],"mappings":";;AAEA,OAAO,SAASA,IAAIA,CAGlBC,MAAS,EACTC,KAIwB,EACxB;EACA,OAAOC,MAAM,CAACC,OAAO,CAACH,MAAM,CAAC,CAC1BI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,CAAC,KAAK;IACrB,MAAMC,OAAO,GAAG,OAAOD,KAAK,KAAK,UAAU,GAAGA,KAAK,GAAG,MAAMA,KAAK;IACjE,OAAOL,KAAK,CAACI,GAAG,EAAEE,OAAO,CAAC;EAC5B,CAAC,CAAC,CACDC,MAAM,CAAC,CAACC,KAAK,EAAEC,IAAI,KAAKR,MAAM,CAACS,MAAM,CAACF,KAAK,EAAEC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5D;AAEA,OAAO,SAASE,SAASA,CAACN,KAAe,EAAE;EACzC,OAAOA,KAAK,CAACE,MAAM,CAAC,CAACC,KAAK,EAAEC,IAAI,KAAKR,MAAM,CAACS,MAAM,CAACF,KAAK,EAAEC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AACtE;AAEA,OAAO,SAASG,SAASA,CACvBC,IAAY,EACZC,IAAO,EACP;EACA,OAAOA,IAAI,CAACP,MAAM,CAChB,CAACQ,MAAM,EAAEX,GAAG,MAAM;IAChB,GAAGW,MAAM;IACT,CAACX,GAAG,GAAIY,CAAiB,IAAKA,CAAC,CAACH,IAAI,CAAC,CAACT,GAAG;EAC3C,CAAC,CAAC,EACF,CAAC,CACH,CAAC;AACH;AAEA,OAAO,SAASa,SAASA,CAACC,MAAc,EAAEC,QAAmC,EAAE;EAC7E,OAAOC,KAAK,CAACC,IAAI,CAAC;IAAEH;EAAO,CAAC,EAAE,CAACI,CAAC,EAAEC,CAAC,KAAKJ,QAAQ,CAACI,CAAC,CAAC,CAAC;AACtD;AAIA,OAAO,SAASC,SAASA,CACvBC,MAAqC,EACrCX,IAAwB,EACxB;EACA,OAAOA,IAAI,CACRY,MAAM,CAAEtB,GAAmB,IAAe,CAAC,CAACA,GAAG,CAAC,CAChDD,GAAG,CAAEC,GAAG,IAAKqB,MAAM,CAACrB,GAAG,CAAC,CAAC;AAC9B;AAEA,OAAO,SAASuB,UAAUA,CACxB,GAAGC,IAAkC,EACP;EAC9B,OAAQC,OAAO,IAAK;IAClBD,IAAI,CAACE,OAAO,CAAEC,GAAG,IAAK;MACpB,IAAI,OAAOA,GAAG,KAAK,UAAU,EAAE;QAC7BA,GAAG,CAACF,OAAO,CAAC;MACd,CAAC,MAAM,IAAIE,GAAG,EAAE;QACd;QACAA,GAAG,CAACC,OAAO,GAAGH,OAAO;MACvB;IACF,CAAC,CAAC;EACJ,CAAC;AACH;AAEA,OAAO,SAASI,QAAQA,CAACC,SAAkB,EAAE7B,KAAa,EAAE;EAC1D,OAAO6B,SAAS,GAAG7B,KAAK,GAAG8B,SAAS;AACtC;AAEA,OAAO,SAASC,YAAYA,CAACC,UAAkB,EAAExB,IAAY,EAAE;EAC7D,OAAO,GAAGwB,UAAU,GAAGxB,IAAI,GAAG,IAAIA,IAAI,EAAE,GAAG,EAAE,EAAE;AACjD","ignoreList":[]}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View as BaseView } from 'react-native';
|
|
3
2
|
import type { ExtendedStyle, Viewport } from './types';
|
|
4
3
|
type ModifierProps = any;
|
|
5
|
-
export type Modifier = (props: ModifierProps, ref: React.Ref<unknown>) => ModifierProps &
|
|
6
|
-
ref?: React.Ref<unknown>;
|
|
7
|
-
};
|
|
4
|
+
export type Modifier = (props: ModifierProps, ref: React.Ref<unknown>) => ModifierProps & React.RefAttributes<unknown>;
|
|
8
5
|
export type Modifiers = {
|
|
9
6
|
useFormField?: Modifier;
|
|
10
7
|
useTabbable?: Modifier;
|
|
@@ -13,15 +10,13 @@ export type Modifiers = {
|
|
|
13
10
|
export type BootstrapRNContextType = {
|
|
14
11
|
utilities: Record<string, ExtendedStyle>;
|
|
15
12
|
modifiers: Modifiers;
|
|
16
|
-
|
|
13
|
+
scrollbar: {
|
|
17
14
|
hide: () => void;
|
|
18
15
|
show: () => void;
|
|
16
|
+
subscribe: (listener: () => void) => () => void;
|
|
17
|
+
getOffset: () => number;
|
|
19
18
|
};
|
|
20
|
-
fixed: React.RefObject<BaseView>[];
|
|
21
19
|
getViewport(): Viewport;
|
|
22
|
-
addFixedElement: (ref: unknown) => {
|
|
23
|
-
remove: () => void;
|
|
24
|
-
};
|
|
25
20
|
};
|
|
26
21
|
declare const Context: React.Context<BootstrapRNContextType | null>;
|
|
27
22
|
export default Context;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../src/Context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../src/Context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,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,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,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,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,IAAI,CAAC;QACjB,IAAI,EAAE,MAAM,IAAI,CAAC;QACjB,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;QAChD,SAAS,EAAE,MAAM,MAAM,CAAC;KACzB,CAAC;IACF,WAAW,IAAI,QAAQ,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,OAAO,8CAA2D,CAAC;AAIzE,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../src/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../src/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,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,qBAsBf;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from './View';
|
|
2
|
+
import { ViewProps, ViewRef } from './View';
|
|
3
3
|
export interface BodyProps extends ViewProps {
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
5
|
+
declare function Body(props: BodyProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
6
6
|
export default Body;
|
|
7
7
|
//# sourceMappingURL=Body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAElD,MAAM,WAAW,SAAU,SAAQ,SAAS;CAAG;AAc/C,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAuC5D;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from './View';
|
|
2
|
+
import { ViewProps, ViewRef } from './View';
|
|
3
3
|
type CaretDirectionTypes = 'up' | 'down' | 'start' | 'end';
|
|
4
4
|
export interface CaretProps extends ViewProps {
|
|
5
5
|
color?: string;
|
|
6
6
|
direction?: CaretDirectionTypes;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare function Caret(props: CaretProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
9
9
|
export default Caret;
|
|
10
10
|
//# sourceMappingURL=Caret.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Caret.d.ts","sourceRoot":"","sources":["../../../src/components/Caret.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Caret.d.ts","sourceRoot":"","sources":["../../../src/components/Caret.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAQlD,KAAK,mBAAmB,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAE3D,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC;AAyED,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAkB9D;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TextProps } from './Text';
|
|
2
|
+
import { TextProps, TextRef } from './Text';
|
|
3
3
|
import { FONT_SIZES } from '../theme/proxies';
|
|
4
4
|
export interface HeadingProps extends TextProps {
|
|
5
5
|
size: keyof typeof FONT_SIZES;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
7
|
+
declare function Heading(props: HeadingProps & React.RefAttributes<TextRef>): React.JSX.Element;
|
|
8
8
|
export default Heading;
|
|
9
9
|
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,IAAI,EAAE,MAAM,OAAO,UAAU,CAAC;CAC/B;AAmBD,iBAAS,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAgBlE;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -6,6 +6,6 @@ export interface ImageProps extends Omit<BaseImageProps, 'style'> {
|
|
|
6
6
|
style?: StyleProp<ExtendedImageStyle>;
|
|
7
7
|
styleName?: StyleName;
|
|
8
8
|
}
|
|
9
|
-
declare
|
|
9
|
+
declare function Image(props: ImageProps & React.RefAttributes<ImageRef>): React.JSX.Element;
|
|
10
10
|
export default Image;
|
|
11
11
|
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,cAAc,CAAC;AAGhF,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEzE,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC;AAEjC,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC,kBAAkB,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,cAAc,CAAC;AAGhF,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEzE,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC;AAEjC,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC,kBAAkB,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,qBAa/D;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -7,6 +7,6 @@ export interface ImageBackgroundProps extends Omit<BaseImageBackgroundProps, 'st
|
|
|
7
7
|
imageStyle?: StyleProp<ExtendedImageStyle>;
|
|
8
8
|
styleName?: StyleName;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
10
|
+
declare function ImageBackground(props: ImageBackgroundProps & React.RefAttributes<ImageBackgroundRef>): React.JSX.Element;
|
|
11
11
|
export default ImageBackground;
|
|
12
12
|
//# sourceMappingURL=ImageBackground.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageBackground.d.ts","sourceRoot":"","sources":["../../../src/components/ImageBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,IAAI,mBAAmB,EACtC,oBAAoB,IAAI,wBAAwB,EACjD,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,SAAS,EACV,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAErD,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ImageBackground.d.ts","sourceRoot":"","sources":["../../../src/components/ImageBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,IAAI,mBAAmB,EACtC,oBAAoB,IAAI,wBAAwB,EACjD,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,SAAS,EACV,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAErD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,wBAAwB,EACxB,OAAO,GAAG,YAAY,CACvB;IACC,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,SAAS,CAAC,kBAAkB,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,iBAAS,eAAe,CACtB,KAAK,EAAE,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,qBAkBtE;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from './View';
|
|
2
|
+
import { ViewProps, ViewRef } from './View';
|
|
3
3
|
export interface LabelProps extends ViewProps {
|
|
4
4
|
htmlFor?: string;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
6
|
+
declare function Label(props: LabelProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
7
7
|
export default Label;
|
|
8
8
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAGlD,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAoB9D;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { MouseEvent } from 'react-native';
|
|
3
|
-
import { TextProps } from './Text';
|
|
3
|
+
import { TextProps, TextRef } from './Text';
|
|
4
4
|
import { UseActionProps } from '../hooks/useAction';
|
|
5
5
|
import { UseActionableProps } from '../types';
|
|
6
6
|
export interface LinkProps extends Omit<UseActionProps, 'onPress'>, Omit<UseActionableProps, 'onPress'>, TextProps {
|
|
7
7
|
onMouseEnter?: (event?: MouseEvent) => void;
|
|
8
8
|
onMouseLeave?: (event?: MouseEvent) => void;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
10
|
+
declare function Link({ ref, ...props }: LinkProps & React.RefAttributes<TextRef>): React.JSX.Element;
|
|
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,
|
|
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,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAGlD,OAAkB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAK/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,WAAW,SACf,SACE,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAC/B,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,iBAAS,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBA+DxE;AAED,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
|
|
19
|
+
declare function Pressable(allProps: PressableProps & React.RefAttributes<PressableRef>): React.JSX.Element;
|
|
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,
|
|
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,SACE,cAAc,EACd,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,iBAAS,SAAS,CAChB,QAAQ,EAAE,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,qBAkE7D;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -8,6 +8,6 @@ export interface ScrollViewProps extends Omit<BaseScrollViewProps, 'style' | 'co
|
|
|
8
8
|
textStyle?: StyleProp<ExtendedTextStyle>;
|
|
9
9
|
styleName?: StyleName;
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
11
|
+
declare function ScrollView(props: ScrollViewProps & React.RefAttributes<ScrollViewRef>): React.JSX.Element;
|
|
12
12
|
export default ScrollView;
|
|
13
13
|
//# sourceMappingURL=ScrollView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EACL,UAAU,IAAI,cAAc,EAC5B,eAAe,IAAI,mBAAmB,EACvC,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAE3C,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EACL,UAAU,IAAI,cAAc,EAC5B,eAAe,IAAI,mBAAmB,EACvC,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAE3C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,mBAAmB,EACnB,OAAO,GAAG,uBAAuB,CAClC;IACC,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,qBAAqB,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrD,SAAS,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,iBAAS,UAAU,CACjB,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,qBA6C5D;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -13,6 +13,6 @@ export interface TextProps extends Omit<BaseTextProps, 'style'> {
|
|
|
13
13
|
style?: StyleProp<ExtendedTextStyle>;
|
|
14
14
|
styleName?: StyleName;
|
|
15
15
|
}
|
|
16
|
-
declare
|
|
16
|
+
declare function Text(props: TextProps & React.RefAttributes<TextRef>): React.JSX.Element;
|
|
17
17
|
export default Text;
|
|
18
18
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAM5E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAExE,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAE/B,KAAK,WAAW,GACZ,MAAM,OAAO,YAAY,GACzB,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC;IAC7D,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAgCD,
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAM5E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAExE,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAE/B,KAAK,WAAW,GACZ,MAAM,OAAO,YAAY,GACzB,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC;IAC7D,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAgCD,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAsD5D;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -12,6 +12,6 @@ export interface TextInputProps extends Omit<BaseTextInputProps, 'style'> {
|
|
|
12
12
|
readOnly?: boolean;
|
|
13
13
|
rows?: number;
|
|
14
14
|
}
|
|
15
|
-
declare
|
|
15
|
+
declare function TextInput(props: TextInputProps & React.RefAttributes<TextInputRef>): React.JSX.Element;
|
|
16
16
|
export default TextInput;
|
|
17
17
|
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -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,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,
|
|
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,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,qBAmC3E;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -7,6 +7,6 @@ export interface ViewProps extends Omit<BaseViewProps, 'style'> {
|
|
|
7
7
|
textStyle?: StyleProp<ExtendedTextStyle>;
|
|
8
8
|
styleName?: StyleName;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
10
|
+
declare function View(props: ViewProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
11
11
|
export default View;
|
|
12
12
|
//# sourceMappingURL=View.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../src/components/View.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAI5E,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAE/B,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,
|
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../src/components/View.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAI5E,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAE/B,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBA8B5D;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
3
|
import { THEME_COLORS } from '../../theme/proxies';
|
|
4
4
|
export interface AlertProps extends ViewProps {
|
|
5
5
|
color?: keyof typeof THEME_COLORS;
|
|
6
6
|
dismissible?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare function Alert(props: AlertProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
9
9
|
export default Alert;
|
|
10
10
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAInD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAInD,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAkCD,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBA8B9D;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
3
|
export interface BadgeProps extends ViewProps {
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
5
|
+
declare function Badge(props: BadgeProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
6
6
|
export default Badge;
|
|
7
7
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAMnD,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAoBhD,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAW9D;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
|
+
import BreadcrumbItem from './BreadcrumbItem';
|
|
3
4
|
export interface BreadcrumbProps extends ViewProps {
|
|
4
5
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
6
|
+
declare function Breadcrumb(props: BreadcrumbProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
7
|
+
declare const _default: typeof Breadcrumb & {
|
|
8
|
+
Item: typeof BreadcrumbItem;
|
|
7
9
|
};
|
|
8
10
|
export default _default;
|
|
9
11
|
//# sourceMappingURL=Breadcrumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKnD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,MAAM,WAAW,eAAgB,SAAQ,SAAS;CAAG;AAmBrD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAqBxE;;;;AAED,wBAEG"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
3
|
import { ExtendedTextStyle, StyleProp } from '../../types';
|
|
4
4
|
export interface BreadcrumbItemProps extends ViewProps {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
dividerStyle?: StyleProp<ExtendedTextStyle>;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare function BreadcrumbItem(props: BreadcrumbItemProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
9
9
|
export default BreadcrumbItem;
|
|
10
10
|
//# sourceMappingURL=BreadcrumbItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItem.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/BreadcrumbItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItem.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/BreadcrumbItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAOnD,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CAC7C;AAiBD,iBAAS,cAAc,CACrB,KAAK,EAAE,mBAAmB,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBA6C1D;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
3
|
export interface ButtonGroupProps extends ViewProps {
|
|
4
4
|
size?: 'lg' | 'sm';
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
6
|
+
declare function ButtonGroup(props: ButtonGroupProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
7
7
|
export default ButtonGroup;
|
|
8
8
|
//# sourceMappingURL=ButtonGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/button-group/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/button-group/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAOnD,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AASD,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAmB1E;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
3
|
export interface ButtonToolbarProps extends ViewProps {
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
5
|
+
declare function ButtonToolbar(props: ButtonToolbarProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
6
6
|
export default ButtonToolbar;
|
|
7
7
|
//# sourceMappingURL=ButtonToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/button-group/ButtonToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"ButtonToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/button-group/ButtonToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKnD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;CAAG;AAWxD,iBAAS,aAAa,CACpB,KAAK,EAAE,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,qBAWzD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PressableProps } from '../Pressable';
|
|
2
|
+
import { PressableRef, PressableProps } from '../Pressable';
|
|
3
3
|
import { THEME_COLORS } from '../../theme/proxies';
|
|
4
4
|
import useToggleButton from './useToggleButton';
|
|
5
5
|
type ButtonThemeColors = keyof typeof THEME_COLORS | 'link';
|
|
@@ -10,7 +10,8 @@ export interface ButtonProps extends PressableProps {
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare
|
|
13
|
+
declare function Button(props: ButtonProps & React.RefAttributes<PressableRef>): React.JSX.Element;
|
|
14
|
+
declare const _default: typeof Button & {
|
|
14
15
|
useToggle: typeof useToggleButton;
|
|
15
16
|
};
|
|
16
17
|
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,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAkB,EAAE,YAAY,EAAE,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;AA2RD,iBAAS,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,qBAqErE;;;;AAED,wBAEG"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ViewProps } from '../View';
|
|
2
|
+
import { ViewProps, ViewRef } from '../View';
|
|
3
|
+
import CardBody from './CardBody';
|
|
4
|
+
import CardHeader from './CardHeader';
|
|
5
|
+
import CardFooter from './CardFooter';
|
|
3
6
|
export interface CardProps extends ViewProps {
|
|
4
7
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
declare function Card(props: CardProps & React.RefAttributes<ViewRef>): React.JSX.Element;
|
|
9
|
+
declare const _default: typeof Card & {
|
|
10
|
+
Header: typeof CardHeader;
|
|
11
|
+
Body: typeof CardBody;
|
|
12
|
+
Footer: typeof CardFooter;
|
|
9
13
|
};
|
|
10
14
|
export default _default;
|
|
11
15
|
//# sourceMappingURL=Card.d.ts.map
|