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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","css","Text","each","getStyles","FORM_VALIDATION_STATES","jsx","_jsx","styles","create","state","data","t","color","Feedback","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","css","Text","each","getStyles","FORM_VALIDATION_STATES","jsx","_jsx","styles","create","state","data","t","color","Feedback","props","ref","children","type","style","elementProps","classes"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/Feedback.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,OAAOC,IAAI,MAA8B,YAAS;AAClD,SAASC,IAAI,EAAEC,SAAS,QAAQ,gBAAa;AAC7C,SAASC,sBAAsB,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAO7D,MAAMC,MAAM,GAAGR,UAAU,CAACS,MAAM,CAAC;EAC/B,GAAGN,IAAI,CAACE,sBAAsB,EAAE,CAACK,KAAK,EAAEC,IAAyB,MAAM;IACrE,CAAC,IAAID,KAAK,WAAW,GAAGT,GAAG;AAC/B;AACA;AACA;AACA;AACA;AACA,eAAgBW,CAAiB,IAAKD,IAAI,CAACC,CAAC,CAAC,CAACC,KAAK;AACnD;EACE,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,SAASC,QAAQA,CAACC,KAAmD,EAAE;EACrE,MAAM;IAAEC,GAAG;IAAEC,QAAQ;IAAEC,IAAI;IAAEC,KAAK;IAAE,GAAGC;EAAa,CAAC,GAAGL,KAAK;EAE7D,MAAMM,OAAO,GAAGjB,SAAS,CAACI,MAAM,EAAE,CAAC,IAAIU,IAAI,WAAW,CAAC,CAAC;EAExD,oBACEX,IAAA,CAACL,IAAI;IAAA,GAAKkB,YAAY;IAAEJ,GAAG,EAAEA,GAAI;IAACG,KAAK,EAAE,CAACE,OAAO,EAAEF,KAAK,CAAE;IAAAF,QAAA,EACvDA;EAAQ,CACL,CAAC;AAEX;AAEA,eAAeH,QAAQ","ignoreList":[]}
|
|
@@ -26,8 +26,9 @@ const styles = StyleSheet.create({
|
|
|
26
26
|
// padding-left: $form-switch-padding-start;
|
|
27
27
|
`
|
|
28
28
|
});
|
|
29
|
-
|
|
29
|
+
function FormCheck(props) {
|
|
30
30
|
const {
|
|
31
|
+
ref,
|
|
31
32
|
children,
|
|
32
33
|
reverse = false,
|
|
33
34
|
disabled = false,
|
|
@@ -52,8 +53,7 @@ const FormCheck = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
52
53
|
children: children
|
|
53
54
|
})
|
|
54
55
|
});
|
|
55
|
-
}
|
|
56
|
-
FormCheck.displayName = 'FormCheck';
|
|
56
|
+
}
|
|
57
57
|
export default Object.assign(FormCheck, {
|
|
58
58
|
Label: FormCheckLabel
|
|
59
59
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","StyleSheet","css","View","getStyles","FormCheckContext","FormCheckLabel","jsx","_jsx","styles","create","FormCheck","
|
|
1
|
+
{"version":3,"names":["React","useMemo","StyleSheet","css","View","getStyles","FormCheckContext","FormCheckLabel","jsx","_jsx","styles","create","FormCheck","props","ref","children","reverse","disabled","valid","invalid","style","elementProps","classes","contextValue","Provider","value","Object","assign","Label"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/FormCheck.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,OAAOC,IAAI,MAA8B,YAAS;AAClD,SAASC,SAAS,QAAQ,gBAAa;AACvC,OAAOC,gBAAgB,MAAM,uBAAoB;AACjD,OAAOC,cAAc,MAAM,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAS9C,MAAMC,MAAM,GAAGR,UAAU,CAACS,MAAM,CAAC;EAC/B,aAAa,EAAER,GAAG;AACpB;AACA;AACA;AACA;AACA;AACA,GAAG;EACD,qBAAqB,EAAEA,GAAG;AAC5B;AACA;AACA;AACA;AACA,GAAG;EACD,yBAAyB,EAAEA,GAAG;AAChC;AACA;AACA,CAAC,CAAC;AAEF,SAASS,SAASA,CAACC,KAAoD,EAAE;EACvE,MAAM;IACJC,GAAG;IACHC,QAAQ;IACRC,OAAO,GAAG,KAAK;IACfC,QAAQ,GAAG,KAAK;IAChBC,KAAK,GAAG,KAAK;IACbC,OAAO,GAAG,KAAK;IACfC,KAAK;IACL,GAAGC;EACL,CAAC,GAAGR,KAAK;EAET,MAAMS,OAAO,GAAGjB,SAAS,CAACK,MAAM,EAAE,CAChC,aAAa,EACbM,OAAO,IAAI,qBAAqB,CACjC,CAAC;EAEF,MAAMO,YAAY,GAAGtB,OAAO,CAC1B,OAAO;IAAEe,OAAO;IAAEC,QAAQ;IAAEC,KAAK;IAAEC;EAAQ,CAAC,CAAC,EAC7C,CAACH,OAAO,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,OAAO,CACpC,CAAC;EAED,oBACEV,IAAA,CAACL,IAAI;IAAA,GAAKiB,YAAY;IAAEP,GAAG,EAAEA,GAAI;IAACM,KAAK,EAAE,CAACE,OAAO,EAAEF,KAAK,CAAE;IAAAL,QAAA,eACxDN,IAAA,CAACH,gBAAgB,CAACkB,QAAQ;MAACC,KAAK,EAAEF,YAAa;MAAAR,QAAA,EAC5CA;IAAQ,CACgB;EAAC,CACxB,CAAC;AAEX;AAEA,eAAeW,MAAM,CAACC,MAAM,CAACf,SAAS,EAAE;EACtCgB,KAAK,EAAErB;AACT,CAAC,CAAC","ignoreList":[]}
|
|
@@ -146,8 +146,11 @@ const styles = StyleSheet.create({
|
|
|
146
146
|
}
|
|
147
147
|
`
|
|
148
148
|
});
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
function FormCheckInput({
|
|
150
|
+
ref,
|
|
151
|
+
...props
|
|
152
|
+
}) {
|
|
153
|
+
const [modifierProps, modifierRef] = useModifier('useFormField', props, ref ?? null);
|
|
151
154
|
const context = useContext(FormCheckContext);
|
|
152
155
|
const {
|
|
153
156
|
type,
|
|
@@ -194,7 +197,6 @@ const FormCheckInput = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
194
197
|
}
|
|
195
198
|
})
|
|
196
199
|
});
|
|
197
|
-
}
|
|
198
|
-
FormCheckInput.displayName = 'FormCheckInput';
|
|
200
|
+
}
|
|
199
201
|
export default FormCheckInput;
|
|
200
202
|
//# sourceMappingURL=FormCheckInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useContext","useState","Platform","StyleSheet","css","getStyles","each","useMedia","useStyle","useModifier","FORM_VALIDATION_STATES","escapeSvg","FormCheckContext","FormCheckInputWeb","FormCheckInputNative","jsx","_jsx","styles","create","t","state","data","color","FormCheckInput","
|
|
1
|
+
{"version":3,"names":["React","useContext","useState","Platform","StyleSheet","css","getStyles","each","useMedia","useStyle","useModifier","FORM_VALIDATION_STATES","escapeSvg","FormCheckContext","FormCheckInputWeb","FormCheckInputNative","jsx","_jsx","styles","create","t","state","data","color","FormCheckInput","ref","props","modifierProps","modifierRef","context","type","value","onFocus","onBlur","disabled","valid","invalid","useNativeComponent","autoFocus","style","elementProps","media","focused","setFocused","classes","reverse","resolveStyle","BaseFormCheckInput","OS","interaction","focus","focusVisible"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/FormCheckInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,QAAQ,QAAQ,cAAc;AACvC,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,SAASC,SAAS,EAAEC,IAAI,QAAQ,gBAAa;AAE7C,OAAOC,QAAQ,MAAM,yBAAsB;AAC3C,O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AI,KAAK,QAAQ,IAAIC,KAAK,IAAI,wCAAwC,CACvE,CAAC;EAEF,MAAMe,YAAY,GAAGrC,QAAQ,CAAC,CAACmC,OAAO,EAAEL,KAAK,CAAC,CAAC;EAE/C,MAAMQ,kBAAkB,GACtB5C,QAAQ,CAAC6C,EAAE,KAAK,KAAK,IAAI,CAACX,kBAAkB,GACxCvB,iBAAiB,GACjBC,oBAAoB;EAE1B,oBACEE,IAAA,CAAC8B,kBAAkB;IAAA,GACbP,YAAY;IAChBf,GAAG,EAAEG,WAAY;IACjBE,IAAI,EAAEA,IAAK;IACXC,KAAK,EAAEA,KAAM;IACbC,OAAO,EAAEA,CAAA,KAAM;MACbW,UAAU,CAAC,IAAI,CAAC;MAChBX,OAAO,CAAC,CAAC;IACX,CAAE;IACFC,MAAM,EAAEA,CAAA,KAAM;MACZU,UAAU,CAAC,KAAK,CAAC;MACjBV,MAAM,CAAC,CAAC;IACV,CAAE;IACFC,QAAQ,EAAEA,QAAS;IACnBI,SAAS,EAAEA,SAAU;IACrBC,KAAK,EAAEO,YAAY,CAAC;MAClBL,KAAK;MACLQ,WAAW,EAAE;QAAEC,KAAK,EAAER,OAAO;QAAES,YAAY,EAAET;MAAQ;IACvD,CAAC;EAAE,CACJ,CAAC;AAEN;AAEA,eAAelB,cAAc","ignoreList":[]}
|
|
@@ -32,8 +32,9 @@ const styles = StyleSheet.create({
|
|
|
32
32
|
`
|
|
33
33
|
}))
|
|
34
34
|
});
|
|
35
|
-
|
|
35
|
+
function FormCheckLabel(props) {
|
|
36
36
|
const {
|
|
37
|
+
ref,
|
|
37
38
|
children,
|
|
38
39
|
style,
|
|
39
40
|
textStyle,
|
|
@@ -55,7 +56,6 @@ const FormCheckLabel = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
55
56
|
textStyle: [textClasses, textStyle],
|
|
56
57
|
children: children
|
|
57
58
|
});
|
|
58
|
-
}
|
|
59
|
-
FormCheckLabel.displayName = 'FormCheckLabel';
|
|
59
|
+
}
|
|
60
60
|
export default FormCheckLabel;
|
|
61
61
|
//# sourceMappingURL=FormCheckLabel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","css","getStyles","each","Label","FORM_VALIDATION_STATES","useForcedContext","FormCheckContext","jsx","_jsx","styles","create","state","data","t","color","FormCheckLabel","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","css","getStyles","each","Label","FORM_VALIDATION_STATES","useForcedContext","FormCheckContext","jsx","_jsx","styles","create","state","data","t","color","FormCheckLabel","props","ref","children","style","textStyle","elementProps","disabled","valid","invalid","classes","textClasses"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/FormCheckLabel.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,SAASC,SAAS,EAAEC,IAAI,QAAQ,gBAAa;AAC7C,OAAOC,KAAK,MAAsB,aAAU;AAC5C,SAASC,sBAAsB,QAAQ,wBAAqB;AAC5D,OAAOC,gBAAgB,MAAM,iCAA8B;AAC3D,OAAOC,gBAAgB,MAAM,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAMlD,MAAMC,MAAM,GAAGV,UAAU,CAACW,MAAM,CAAC;EAC/B,gDAAgD,EAAEV,GAAG;AACvD;AACA;AACA;AACA;AACA,GAAG;EACD,mBAAmB,EAAEA,GAAG;AAC1B;AACA;AACA;AACA;AACA;AACA,GAAG;EACD,0BAA0B,EAAEA,GAAG;AACjC;AACA,GAAG;EACD,GAAGE,IAAI,CAACE,sBAAsB,EAAE,CAACO,KAAK,EAAEC,IAAyB,MAAM;IACrE,CAAC,qBAAqBD,KAAK,6BAA6B,GAAGX,GAAG;AAClE,eAAgBa,CAAiB,IAAKD,IAAI,CAACC,CAAC,CAAC,CAACC,KAAK;AACnD;EACE,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,SAASC,cAAcA,CACrBC,KAAyD,EACzD;EACA,MAAM;IAAEC,GAAG;IAAEC,QAAQ;IAAEC,KAAK;IAAEC,SAAS;IAAE,GAAGC;EAAa,CAAC,GAAGL,KAAK;EAElE,MAAM;IAAEM,QAAQ;IAAEC,KAAK;IAAEC;EAAQ,CAAC,GAAGnB,gBAAgB,CAACC,gBAAgB,CAAC;EAEvE,MAAMmB,OAAO,GAAGxB,SAAS,CAACQ,MAAM,EAAE,CAChCa,QAAQ,IAAI,gDAAgD,EAC5D,mBAAmB,CACpB,CAAC;EAEF,MAAMI,WAAW,GAAGzB,SAAS,CAACQ,MAAM,EAAE,CACpC,0BAA0B;EAC1B;EACAc,KAAK,IAAI,oDAAoD,EAC7DC,OAAO,IAAI,sDAAsD,CAClE,CAAC;EAEF,oBACEhB,IAAA,CAACL,KAAK;IAAA,GACAkB,YAAY;IAChBJ,GAAG,EAAEA,GAAI;IACTE,KAAK,EAAE,CAACM,OAAO,EAAEN,KAAK,CAAE;IACxBC,SAAS,EAAE,CAACM,WAAW,EAAEN,SAAS,CAAE;IAAAF,QAAA,EAEnCA;EAAQ,CACJ,CAAC;AAEZ;AAEA,eAAeH,cAAc","ignoreList":[]}
|
|
@@ -18,8 +18,9 @@ const styles = StyleSheet.create({
|
|
|
18
18
|
color: $form-label-color;
|
|
19
19
|
`
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
function FormLabel(props) {
|
|
22
22
|
const {
|
|
23
|
+
ref,
|
|
23
24
|
children,
|
|
24
25
|
style,
|
|
25
26
|
textStyle,
|
|
@@ -34,7 +35,6 @@ const FormLabel = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
34
35
|
textStyle: [textClasses, textStyle],
|
|
35
36
|
children: children
|
|
36
37
|
});
|
|
37
|
-
}
|
|
38
|
-
FormLabel.displayName = 'FormLabel';
|
|
38
|
+
}
|
|
39
39
|
export default FormLabel;
|
|
40
40
|
//# sourceMappingURL=FormLabel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","css","Label","getStyles","jsx","_jsx","styles","create","FormLabel","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","css","Label","getStyles","jsx","_jsx","styles","create","FormLabel","props","ref","children","style","textStyle","elementProps","classes","textClasses"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/FormLabel.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,OAAOC,KAAK,MAAsB,aAAU;AAC5C,SAASC,SAAS,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAKxC,MAAMC,MAAM,GAAGN,UAAU,CAACO,MAAM,CAAC;EAC/B,aAAa,EAAEN,GAAG;AACpB;AACA,GAAG;EACD,oBAAoB,EAAEA,GAAG;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC;AAEF,SAASO,SAASA,CAACC,KAAoD,EAAE;EACvE,MAAM;IAAEC,GAAG;IAAEC,QAAQ;IAAEC,KAAK;IAAEC,SAAS;IAAE,GAAGC;EAAa,CAAC,GAAGL,KAAK;EAElE,MAAMM,OAAO,GAAGZ,SAAS,CAACG,MAAM,EAAE,CAAC,aAAa,CAAC,CAAC;EAClD,MAAMU,WAAW,GAAGb,SAAS,CAACG,MAAM,EAAE,CAAC,oBAAoB,CAAC,CAAC;EAE7D,oBACED,IAAA,CAACH,KAAK;IAAA,GACAY,YAAY;IAChBJ,GAAG,EAAEA,GAAI;IACTE,KAAK,EAAE,CAACG,OAAO,EAAEH,KAAK,CAAE;IACxBC,SAAS,EAAE,CAACG,WAAW,EAAEH,SAAS,CAAE;IAAAF,QAAA,EAEnCA;EAAQ,CACJ,CAAC;AAEZ;AAEA,eAAeH,SAAS","ignoreList":[]}
|
|
@@ -18,8 +18,9 @@ const styles = StyleSheet.create({
|
|
|
18
18
|
color: $form-text-color;
|
|
19
19
|
`
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
function FormText(props) {
|
|
22
22
|
const {
|
|
23
|
+
ref,
|
|
23
24
|
children,
|
|
24
25
|
style,
|
|
25
26
|
textStyle,
|
|
@@ -38,7 +39,6 @@ const FormText = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
38
39
|
children: children
|
|
39
40
|
})
|
|
40
41
|
});
|
|
41
|
-
}
|
|
42
|
-
FormText.displayName = 'FormText';
|
|
42
|
+
}
|
|
43
43
|
export default FormText;
|
|
44
44
|
//# sourceMappingURL=FormText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","css","View","Text","getStyles","jsx","_jsx","styles","create","FormText","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","css","View","Text","getStyles","jsx","_jsx","styles","create","FormText","props","ref","children","style","textStyle","elementProps","classes","textClasses"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/FormText.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,OAAOC,IAAI,MAA8B,YAAS;AAClD,OAAOC,IAAI,MAAM,YAAS;AAC1B,SAASC,SAAS,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIxC,MAAMC,MAAM,GAAGP,UAAU,CAACQ,MAAM,CAAC;EAC/B,YAAY,EAAEP,GAAG;AACnB;AACA,GAAG;EACD,mBAAmB,EAAEA,GAAG;AAC1B;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC;AAEF,SAASQ,QAAQA,CAACC,KAAmD,EAAE;EACrE,MAAM;IAAEC,GAAG;IAAEC,QAAQ;IAAEC,KAAK;IAAEC,SAAS;IAAE,GAAGC;EAAa,CAAC,GAAGL,KAAK;EAElE,MAAMM,OAAO,GAAGZ,SAAS,CAACG,MAAM,EAAE,CAAC,YAAY,CAAC,CAAC;EACjD,MAAMU,WAAW,GAAGb,SAAS,CAACG,MAAM,EAAE,CAAC,mBAAmB,CAAC,CAAC;;EAE5D;EACA,oBACED,IAAA,CAACJ,IAAI;IAAA,GAAKa,YAAY;IAAEJ,GAAG,EAAEA,GAAI;IAACE,KAAK,EAAE,CAACG,OAAO,EAAEH,KAAK,CAAE;IAAAD,QAAA,eACxDN,IAAA,CAACH,IAAI;MAACU,KAAK,EAAE,CAACI,WAAW,EAAEH,SAAS,CAAE;MAAAF,QAAA,EAAEA;IAAQ,CAAO;EAAC,CACpD,CAAC;AAEX;AAEA,eAAeH,QAAQ","ignoreList":[]}
|
|
@@ -155,8 +155,11 @@ const styles = StyleSheet.create({
|
|
|
155
155
|
`
|
|
156
156
|
}))
|
|
157
157
|
});
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
function Input({
|
|
159
|
+
ref,
|
|
160
|
+
...props
|
|
161
|
+
}) {
|
|
162
|
+
const [modifierProps, modifierRef] = useModifier('useFormField', props, ref ?? null);
|
|
160
163
|
const {
|
|
161
164
|
size,
|
|
162
165
|
placeholderTextColor = StyleSheet.value('input-placeholder-color'),
|
|
@@ -180,7 +183,6 @@ const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
180
183
|
selectTextOnFocus: disabled ? false : selectTextOnFocus,
|
|
181
184
|
style: [classes, style]
|
|
182
185
|
});
|
|
183
|
-
}
|
|
184
|
-
Input.displayName = 'Input';
|
|
186
|
+
}
|
|
185
187
|
export default Input;
|
|
186
188
|
//# sourceMappingURL=Input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","css","TextInput","getStyles","each","useModifier","FORM_VALIDATION_STATES","jsx","_jsx","styles","create","state","data","t","color","Input","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","css","TextInput","getStyles","each","useModifier","FORM_VALIDATION_STATES","jsx","_jsx","styles","create","state","data","t","color","Input","ref","props","modifierProps","modifierRef","size","placeholderTextColor","value","multiline","disabled","valid","invalid","readOnly","selectTextOnFocus","style","elementProps","classes"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/Input.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,OAAOC,SAAS,MAAwC,iBAAc;AACtE,SAASC,SAAS,EAAEC,IAAI,QAAQ,gBAAa;AAC7C,OAAOC,WAAW,MAAM,4BAAyB;AACjD,SAASC,sBAAsB,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAkB7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,MAAM,GAAGT,UAAU,CAACU,MAAM,CAAC;EAC/B,eAAe,EAAET,GAAG;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;EACD,wBAAwB,EAAEA,GAAG;AAC/B;AACA;AACA;AACA;AACA,GAAG;EACD,kBAAkB,EAAEA,GAAG;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;EACD,kBAAkB,EAAEA,GAAG;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;EACD,6BAA6B,EAAEA,GAAG;AACpC;AACA;AACA;AACA,GAAG;EACD,gCAAgC,EAAEA,GAAG;AACvC;AACA;AACA;AACA,GAAG;EACD,gCAAgC,EAAEA,GAAG;AACvC;AACA;AACA;AACA,GAAG;EACD,uBAAuB,EAAEA,GAAG;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;EACD,0BAA0B,EAAEA,GAAG;AACjC;AACA;AACA;AACA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K,IAAI,IAAI,gCAAgC,EAC/D,CAACG,SAAS,IAAIH,IAAI,KAAK,IAAI,IAAI,gCAAgC,EAC/DG,SAAS,IAAI,uBAAuB,EACpCA,SAAS,IAAIH,IAAI,KAAK,IAAI,IAAI,0BAA0B,EACxDG,SAAS,IAAIH,IAAI,KAAK,IAAI,IAAI,0BAA0B,EACxDK,KAAK,IAAI,qBAAqB,EAC9BC,OAAO,IAAI,uBAAuB,CACnC,CAAC;EAEF,oBACElB,IAAA,CAACN,SAAS;IAAA,GACJ4B,YAAY;IAChBd,GAAG,EAAEG,WAAY;IACjBE,oBAAoB,EAAEA,oBAAqB;IAC3CE,SAAS,EAAEA,SAAU;IACrBC,QAAQ,EAAEA,QAAS;IACnBG,QAAQ,EAAEH,QAAQ,GAAG,IAAI,GAAGG,QAAS;IACrCC,iBAAiB,EAAEJ,QAAQ,GAAG,KAAK,GAAGI,iBAAkB;IACxDC,KAAK,EAAE,CAACE,OAAO,EAAEF,KAAK;EAAE,CACzB,CAAC;AAEN;AAEA,eAAed,KAAK","ignoreList":[]}
|
|
@@ -42,7 +42,7 @@ const styles = StyleSheet.create({
|
|
|
42
42
|
&:focus {
|
|
43
43
|
border-color: $form-select-focus-border-color;
|
|
44
44
|
@include platform(web) {
|
|
45
|
-
outline-
|
|
45
|
+
outline-style: none; // outline: 0;
|
|
46
46
|
box-shadow: $form-select-focus-box-shadow;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -83,8 +83,11 @@ const styles = StyleSheet.create({
|
|
|
83
83
|
`
|
|
84
84
|
}))
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
function Picker({
|
|
87
|
+
ref,
|
|
88
|
+
...props
|
|
89
|
+
}) {
|
|
90
|
+
const [modifierProps, modifierRef] = useModifier('useFormField', props, ref ?? null);
|
|
88
91
|
const {
|
|
89
92
|
children,
|
|
90
93
|
onFocus = () => {},
|
|
@@ -134,8 +137,7 @@ const Picker = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
134
137
|
children: children
|
|
135
138
|
})
|
|
136
139
|
});
|
|
137
|
-
}
|
|
138
|
-
Picker.displayName = 'Picker';
|
|
140
|
+
}
|
|
139
141
|
export default Object.assign(Picker, {
|
|
140
142
|
Item: PickerItem
|
|
141
143
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useMemo","Platform","StyleSheet","css","useMedia","getStyles","each","FORM_VALIDATION_STATES","escapeSvg","useStyle","useModifier","PickerWeb","PickerNative","PickerItem","PickerContext","jsx","_jsx","styles","create","select","t","state","data","color","Picker","
|
|
1
|
+
{"version":3,"names":["React","useState","useMemo","Platform","StyleSheet","css","useMedia","getStyles","each","FORM_VALIDATION_STATES","escapeSvg","useStyle","useModifier","PickerWeb","PickerNative","PickerItem","PickerContext","jsx","_jsx","styles","create","select","t","state","data","color","Picker","ref","props","modifierProps","modifierRef","children","onFocus","onBlur","placeholderTextColor","value","size","disabled","valid","invalid","useNativeComponent","autoFocus","style","styleName","elementProps","media","focused","setFocused","classes","resolveStyle","BasePicker","OS","contextValue","Provider","event","interaction","focus","focusVisible","Object","assign","Item"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/Picker.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,OAAO,QAAQ,OAAO;AAChD,SAASC,QAAQ,QAA6C,cAAc;AAC5E,OAAOC,UAAU,MAAM,2BAAwB;AAC/C,OAAOC,GAAG,MAAM,oBAAiB;AACjC,OAAOC,QAAQ,MAAM,yBAAsB;AAC3C,SAASC,SAAS,EAAEC,IAAI,QAAQ,gBAAa;AAC7C,SAASC,sBAAsB,QAAQ,wBAAqB;AAC5D,SAASC,SAAS,QAAQ,0BAAuB;AACjD,OAAOC,QAAQ,MAAM,yBAAsB;AAC3C,OAAOC,WAAW,MAAM,4BAAyB;AACjD,OAAOC,SAAS,MAAM,0BAAuB;AAC7C,OAAOC,YAAY,MAAM,6BAA0B;AACnD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,OAAO,EAAGsB,KAAK,IAAK;QAClBP,UAAU,CAAC,IAAI,CAAC;QAChBf,OAAO,CAACsB,KAAK,CAAC;MAChB,CAAE;MACFrB,MAAM,EAAGqB,KAAK,IAAK;QACjBP,UAAU,CAAC,KAAK,CAAC;QACjBd,MAAM,CAACqB,KAAK,CAAC;MACf,CAAE;MACFjB,QAAQ,EAAEA,QAAS;MACnBI,SAAS,EAAEA,SAAU;MACrBC,KAAK,EAAEO,YAAY,CAAC;QAClBJ,KAAK;QACLU,WAAW,EAAE;UAAEC,KAAK,EAAEV,OAAO;UAAEW,YAAY,EAAEX;QAAQ;MACvD,CAAC,CAAE;MAAAf,QAAA,EAEFA;IAAQ,CACC;EAAC,CACS,CAAC;AAE7B;AAEA,eAAe2B,MAAM,CAACC,MAAM,CAACjC,MAAM,EAAE;EACnCkC,IAAI,EAAE7C;AACR,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,8 +7,9 @@ import useForcedContext from "../../hooks/useForcedContext.js";
|
|
|
7
7
|
import PickerWebItem from "./internals/PickerWebItem.js";
|
|
8
8
|
import PickerNativeItem from "./internals/PickerNativeItem.js";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
function PickerItem(props) {
|
|
11
11
|
const {
|
|
12
|
+
ref,
|
|
12
13
|
label,
|
|
13
14
|
value,
|
|
14
15
|
disabled = false
|
|
@@ -23,7 +24,6 @@ const PickerItem = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
23
24
|
value: value,
|
|
24
25
|
disabled: disabled
|
|
25
26
|
});
|
|
26
|
-
}
|
|
27
|
-
PickerItem.displayName = 'PickerItem';
|
|
27
|
+
}
|
|
28
28
|
export default PickerItem;
|
|
29
29
|
//# sourceMappingURL=PickerItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","PickerContext","useForcedContext","PickerWebItem","PickerNativeItem","jsx","_jsx","PickerItem","
|
|
1
|
+
{"version":3,"names":["React","Platform","PickerContext","useForcedContext","PickerWebItem","PickerNativeItem","jsx","_jsx","PickerItem","props","ref","label","value","disabled","useNativeComponent","BasePickerItem","OS"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/PickerItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AACvC,OAAOC,aAAa,MAAM,oBAAiB;AAC3C,OAAOC,gBAAgB,MAAM,iCAA8B;AAC3D,OAAOC,aAAa,MAAM,8BAA2B;AACrD,OAAOC,gBAAgB,MAAM,iCAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAS5D,SAASC,UAAUA,CAACC,KAAqD,EAAE;EACzE,MAAM;IAAEC,GAAG;IAAEC,KAAK;IAAEC,KAAK;IAAEC,QAAQ,GAAG;EAAM,CAAC,GAAGJ,KAAK;EAErD,MAAM;IAAEK;EAAmB,CAAC,GAAGX,gBAAgB,CAACD,aAAa,CAAC;EAE9D,MAAMa,cAAc,GAClBd,QAAQ,CAACe,EAAE,KAAK,KAAK,IAAI,CAACF,kBAAkB,GACxCV,aAAa,GACbC,gBAAgB;EAEtB,oBACEE,IAAA,CAACQ,cAAc;IAACL,GAAG,EAAEA,GAAI;IAACC,KAAK,EAAEA,KAAM;IAACC,KAAK,EAAEA,KAAM;IAACC,QAAQ,EAAEA;EAAS,CAAE,CAAC;AAEhF;AAEA,eAAeL,UAAU","ignoreList":[]}
|
|
@@ -6,8 +6,9 @@ import FormCheckInput from "./FormCheckInput.js";
|
|
|
6
6
|
import RadioGroup from "./RadioGroup.js";
|
|
7
7
|
import RadioContext from "./RadioContext.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
function Radio(props) {
|
|
10
10
|
const {
|
|
11
|
+
ref,
|
|
11
12
|
value,
|
|
12
13
|
...elementProps
|
|
13
14
|
} = props;
|
|
@@ -26,8 +27,7 @@ const Radio = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
26
27
|
},
|
|
27
28
|
disabled: disabled
|
|
28
29
|
});
|
|
29
|
-
}
|
|
30
|
-
Radio.displayName = 'Radio';
|
|
30
|
+
}
|
|
31
31
|
export default Object.assign(Radio, {
|
|
32
32
|
Group: RadioGroup
|
|
33
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useForcedContext","FormCheckInput","RadioGroup","RadioContext","jsx","_jsx","Radio","
|
|
1
|
+
{"version":3,"names":["React","useForcedContext","FormCheckInput","RadioGroup","RadioContext","jsx","_jsx","Radio","props","ref","value","elementProps","selectedValue","onValueChange","disabled","type","Object","assign","Group"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/Radio.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,gBAAgB,MAAM,iCAA8B;AAC3D,OAAOC,cAAc,MAA+B,qBAAkB;AACtE,OAAOC,UAAU,MAAM,iBAAc;AACrC,OAAOC,YAAY,MAAM,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAS1C,SAASC,KAAKA,CAACC,KAAqD,EAAE;EACpE,MAAM;IAAEC,GAAG;IAAEC,KAAK;IAAE,GAAGC;EAAa,CAAC,GAAGH,KAAK;EAE7C,MAAM;IAAEI,aAAa;IAAEC,aAAa;IAAEC;EAAS,CAAC,GAC9Cb,gBAAgB,CAACG,YAAY,CAAC;EAEhC,oBACEE,IAAA,CAACJ,cAAc;IAAA,GACTS,YAAY;IAChBF,GAAG,EAAEA,GAAI;IACTM,IAAI,EAAC,OAAO;IACZL,KAAK,EAAEA,KAAK,KAAKE,aAAc;IAC/BC,aAAa,EAAEA,CAAA,KAAM;MACnBA,aAAa,CAACH,KAAK,CAAC;IACtB,CAAE;IACFI,QAAQ,EAAEA;EAAS,CACpB,CAAC;AAEN;AAEA,eAAeE,MAAM,CAACC,MAAM,CAACV,KAAK,EAAE;EAClCW,KAAK,EAAEf;AACT,CAAC,CAAC","ignoreList":[]}
|
|
@@ -4,8 +4,9 @@ import React, { useMemo } from 'react';
|
|
|
4
4
|
import View from "../View.js";
|
|
5
5
|
import RadioContext from "./RadioContext.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
function RadioGroup(props) {
|
|
8
8
|
const {
|
|
9
|
+
ref,
|
|
9
10
|
children,
|
|
10
11
|
selectedValue,
|
|
11
12
|
onValueChange = () => {},
|
|
@@ -26,7 +27,6 @@ const RadioGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
26
27
|
children: children
|
|
27
28
|
})
|
|
28
29
|
});
|
|
29
|
-
}
|
|
30
|
-
RadioGroup.displayName = 'RadioGroup';
|
|
30
|
+
}
|
|
31
31
|
export default RadioGroup;
|
|
32
32
|
//# sourceMappingURL=RadioGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","View","RadioContext","jsx","_jsx","RadioGroup","
|
|
1
|
+
{"version":3,"names":["React","useMemo","View","RadioContext","jsx","_jsx","RadioGroup","props","ref","children","selectedValue","onValueChange","disabled","elementProps","contextValue","role","Provider","value"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/RadioGroup.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,OAAOC,IAAI,MAA8B,YAAS;AAClD,OAAOC,YAAY,MAAM,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAU1C,SAASC,UAAUA,CAACC,KAAqD,EAAE;EACzE,MAAM;IACJC,GAAG;IACHC,QAAQ;IACRC,aAAa;IACbC,aAAa,GAAGA,CAAA,KAAM,CAAC,CAAC;IACxBC,QAAQ,GAAG,KAAK;IAChB,GAAGC;EACL,CAAC,GAAGN,KAAK;EAET,MAAMO,YAAY,GAAGb,OAAO,CAC1B,OAAO;IACLS,aAAa;IACbC,aAAa;IACbC;EACF,CAAC,CAAC,EACF,CAACF,aAAa,EAAEC,aAAa,EAAEC,QAAQ,CACzC,CAAC;EAED,oBACEP,IAAA,CAACH,IAAI;IAAA,GAAKW,YAAY;IAAEL,GAAG,EAAEA,GAAI;IAACO,IAAI,EAAC,YAAY;IAAAN,QAAA,eACjDJ,IAAA,CAACF,YAAY,CAACa,QAAQ;MAACC,KAAK,EAAEH,YAAa;MAAAL,QAAA,EACxCA;IAAQ,CACY;EAAC,CACpB,CAAC;AAEX;AAEA,eAAeH,UAAU","ignoreList":[]}
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import FormCheckInput from "./FormCheckInput.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
function Switch(props) {
|
|
7
7
|
const {
|
|
8
|
+
ref,
|
|
8
9
|
...elementProps
|
|
9
10
|
} = props;
|
|
10
11
|
return /*#__PURE__*/_jsx(FormCheckInput, {
|
|
@@ -12,7 +13,6 @@ const Switch = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
12
13
|
ref: ref,
|
|
13
14
|
type: "switch"
|
|
14
15
|
});
|
|
15
|
-
}
|
|
16
|
-
Switch.displayName = 'Switch';
|
|
16
|
+
}
|
|
17
17
|
export default Switch;
|
|
18
18
|
//# sourceMappingURL=Switch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","FormCheckInput","jsx","_jsx","Switch","
|
|
1
|
+
{"version":3,"names":["React","FormCheckInput","jsx","_jsx","Switch","props","ref","elementProps","type"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/forms/Switch.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,cAAc,MAA+B,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIvE,SAASC,MAAMA,CAACC,KAAsD,EAAE;EACtE,MAAM;IAAEC,GAAG;IAAE,GAAGC;EAAa,CAAC,GAAGF,KAAK;EAEtC,oBAAOF,IAAA,CAACF,cAAc;IAAA,GAAKM,YAAY;IAAED,GAAG,EAAEA,GAAI;IAACE,IAAI,EAAC;EAAQ,CAAE,CAAC;AACrE;AAEA,eAAeJ,MAAM","ignoreList":[]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import React
|
|
3
|
+
import React from 'react';
|
|
4
4
|
import Pressable from "../../Pressable.js";
|
|
5
5
|
import useBackground from "../../../hooks/useBackground.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
function FormCheckInputNative(props) {
|
|
8
8
|
const {
|
|
9
|
+
ref,
|
|
9
10
|
type,
|
|
10
11
|
value,
|
|
11
12
|
onValueChange: handleValueChange,
|
|
@@ -32,7 +33,6 @@ const FormCheckInputNative = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
32
33
|
id: id,
|
|
33
34
|
children: inputBackground.element
|
|
34
35
|
});
|
|
35
|
-
}
|
|
36
|
-
FormCheckInputNative.displayName = 'FormCheckInputNative';
|
|
36
|
+
}
|
|
37
37
|
export default FormCheckInputNative;
|
|
38
38
|
//# sourceMappingURL=FormCheckInputNative.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","Pressable","useBackground","jsx","_jsx","FormCheckInputNative","props","ref","type","value","onValueChange","handleValueChange","onFocus","onBlur","hitSlop","disabled","style","id","inputBackground","role","onPress","children","element"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/forms/internals/FormCheckInputNative.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,SAAS,MAAwB,oBAAiB;AACzD,OAAOC,aAAa,MAAM,iCAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOzD,SAASC,oBAAoBA,CAC3BC,KAAoE,EACpE;EACA,MAAM;IACJC,GAAG;IACHC,IAAI;IACJC,KAAK;IACLC,aAAa,EAAEC,iBAAiB;IAChCC,OAAO,GAAGA,CAAA,KAAM,CAAC,CAAC;IAClBC,MAAM,GAAGA,CAAA,KAAM,CAAC,CAAC;IACjBC,OAAO,GAAG,CAAC;IACXC,QAAQ,GAAG,KAAK;IAChBC,KAAK;IACLC;EACF,CAAC,GAAGX,KAAK;EAET,MAAMY,eAAe,GAAGhB,aAAa,CAACc,KAAK,CAAC;EAE5C,oBACEZ,IAAA,CAACH,SAAS;IACRM,GAAG,EAAEA,GAAI;IACTY,IAAI,EAAEX,IAAK;IACX,gBAAcC,KAAM;IACpBW,OAAO,EAAEA,CAAA,KAAM;MACb,IAAIT,iBAAiB,EAAEA,iBAAiB,CAAC,CAACF,KAAK,CAAC;IAClD,CAAE;IACFG,OAAO,EAAEA,OAAQ;IACjBC,MAAM,EAAEA,MAAO;IACfC,OAAO,EAAEA,OAAQ;IACjBC,QAAQ,EAAEA,QAAS;IACnBC,KAAK,EAAEE,eAAe,CAACF,KAAM;IAC7BC,EAAE,EAAEA,EAAG;IAAAI,QAAA,EAENH,eAAe,CAACI;EAAO,CACf,CAAC;AAEhB;AAEA,eAAejB,oBAAoB","ignoreList":[]}
|
|
@@ -12,16 +12,18 @@ const styles = StyleSheet.create({
|
|
|
12
12
|
margin: 0
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
const Input =
|
|
15
|
+
const Input = ({
|
|
16
|
+
ref,
|
|
16
17
|
style,
|
|
17
18
|
...props
|
|
18
|
-
}
|
|
19
|
+
}) => createElement('input', {
|
|
19
20
|
...props,
|
|
20
21
|
ref,
|
|
21
22
|
style: [styles.reboot, style]
|
|
22
|
-
})
|
|
23
|
-
|
|
23
|
+
});
|
|
24
|
+
function FormCheckInputWeb(props) {
|
|
24
25
|
const {
|
|
26
|
+
ref,
|
|
25
27
|
type,
|
|
26
28
|
value,
|
|
27
29
|
onValueChange: handleValueChange,
|
|
@@ -51,7 +53,6 @@ const FormCheckInputWeb = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
51
53
|
id: id,
|
|
52
54
|
autoFocus: autoFocus
|
|
53
55
|
});
|
|
54
|
-
}
|
|
55
|
-
FormCheckInputWeb.displayName = 'FormCheckInputWeb';
|
|
56
|
+
}
|
|
56
57
|
export default FormCheckInputWeb;
|
|
57
58
|
//# sourceMappingURL=FormCheckInputWeb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","unstable_createElement","createElement","StyleSheet","useBackground","jsx","_jsx","styles","create","reboot","flexShrink","margin","Input","
|
|
1
|
+
{"version":3,"names":["React","unstable_createElement","createElement","StyleSheet","useBackground","jsx","_jsx","styles","create","reboot","flexShrink","margin","Input","ref","style","props","FormCheckInputWeb","type","value","onValueChange","handleValueChange","onFocus","onBlur","disabled","id","autoFocus","inputBackground","checked","onChange"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/forms/internals/FormCheckInputWeb.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB;AACE;AACAC,sBAAsB,IAAIC,aAAa,EACvCC,UAAU,QAEL,cAAc;AACrB,OAAOC,aAAa,MAAM,iCAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQzD,MAAMC,MAAM,GAAGJ,UAAU,CAACK,MAAM,CAAC;EAC/BC,MAAM,EAAE;IACNC,UAAU,EAAE,CAAC;IACbC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAaF,MAAMC,KAAK,GAAGA,CAAC;EACbC,GAAG;EACHC,KAAK;EACL,GAAGC;AAC+C,CAAC,KACnDb,aAAa,CAAC,OAAO,EAAE;EAAE,GAAGa,KAAK;EAAEF,GAAG;EAAEC,KAAK,EAAE,CAACP,MAAM,CAACE,MAAM,EAAEK,KAAK;AAAE,CAAC,CAAC;AAE1E,SAASE,iBAAiBA,CACxBD,KAAiE,EACjE;EACA,MAAM;IACJF,GAAG;IACHI,IAAI;IACJC,KAAK;IACLC,aAAa,EAAEC,iBAAiB;IAChCC,OAAO,GAAGA,CAAA,KAAM,CAAC,CAAC;IAClBC,MAAM,GAAGA,CAAA,KAAM,CAAC,CAAC;IACjBC,QAAQ,GAAG,KAAK;IAChBT,KAAK;IACLU,EAAE;IACFC;EACF,CAAC,GAAGV,KAAK;EAET,MAAMW,eAAe,GAAGtB,aAAa,CAACU,KAAK,CAAC;EAE5C,oBACER,IAAA,CAACM;EACC;EAAA;IACAC,GAAG,EAAEA,GAAI;IACTI,IAAI,EAAEA,IAAI,KAAK,QAAQ,GAAG,UAAU,GAAGA,IAAK;IAC5CU,OAAO,EAAET,KAAM;IACfU,QAAQ,EAAEA,CAAA,KAAM;MACd,IAAIR,iBAAiB,EAAEA,iBAAiB,CAAC,CAACF,KAAK,CAAC;IAClD,CAAE;IACFG,OAAO,EAAEA,OAAQ;IACjBC,MAAM,EAAEA,MAAO;IACfC,QAAQ,EAAEA;IACV;IAAA;IACAT,KAAK,EAAEY,eAAe,CAACZ,KAAM;IAC7BU,EAAE,EAAEA,EAAG;IACPC,SAAS,EAAEA;EAAU,CACtB,CAAC;AAEN;AAEA,eAAeT,iBAAiB","ignoreList":[]}
|
|
@@ -64,8 +64,9 @@ function DefaultMenuComponent({
|
|
|
64
64
|
}
|
|
65
65
|
/* eslint-enable */
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
function PickerNative(props) {
|
|
68
68
|
const {
|
|
69
|
+
ref,
|
|
69
70
|
children,
|
|
70
71
|
selectedValue,
|
|
71
72
|
onValueChange = () => {},
|
|
@@ -130,6 +131,6 @@ const PickerNative = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
130
131
|
children: children
|
|
131
132
|
})]
|
|
132
133
|
});
|
|
133
|
-
}
|
|
134
|
+
}
|
|
134
135
|
export default PickerNative;
|
|
135
136
|
//# sourceMappingURL=PickerNative.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useMemo","StyleSheet","StyleUtils","css","Pressable","Text","Offcanvas","useBackground","PickerNativeContext","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","styles","create","menu","textStyleKeys","extractTextStyles","style","flattenedStyle","flatten","textStyles","Object","entries","forEach","key","value","includes","getText","children","selectedValue","items","Children","map","child","label","props","selectedItem","find","item","DefaultMenuComponent","onValueChange","handleValueChange","onClose","handleClose","contextValue","placement","visible","Body","contentContainerStyle","Provider","PickerNative","
|
|
1
|
+
{"version":3,"names":["React","useState","useMemo","StyleSheet","StyleUtils","css","Pressable","Text","Offcanvas","useBackground","PickerNativeContext","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","styles","create","menu","textStyleKeys","extractTextStyles","style","flattenedStyle","flatten","textStyles","Object","entries","forEach","key","value","includes","getText","children","selectedValue","items","Children","map","child","label","props","selectedItem","find","item","DefaultMenuComponent","onValueChange","handleValueChange","onClose","handleClose","contextValue","placement","visible","Body","contentContainerStyle","Provider","PickerNative","ref","onFocus","onBlur","placeholder","placeholderTextColor","disabled","MenuComponent","elementProps","background","setVisible","textStyle","showPlaceholder","undefined","nextValue","handleFocus","event","handleBlur","role","onPress","element","numberOfLines","color"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/forms/internals/PickerNative.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,OAAO,QAAQ,OAAO;AAChD,SAIEC,UAAU,IAAIC,UAAU,QACnB,cAAc;AACrB,OAAOD,UAAU,MAAM,8BAA2B;AAClD,OAAOE,GAAG,MAAM,uBAAoB;AACpC,OAAOC,SAAS,MAAwB,oBAAiB;AACzD,OAAOC,IAAI,MAAM,eAAY;AAC7B,OAAOC,SAAS,MAAM,8BAA2B;AACjD,OAAOC,aAAa,MAAM,iCAA8B;AACxD,OAAOC,mBAAmB,MAAM,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAQxD,MAAMC,MAAM,GAAGd,UAAU,CAACe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AAc;MAC7BW,aAAa,EAAEC,iBAAkB;MACjCC,OAAO,EAAEC,WAAY;MAAAf,QAAA,EAEpBA;IAAQ,CACI,CAChB;EAAA,CACD,CAAC;AAEP;AAEA,eAAesB,YAAY","ignoreList":[]}
|
|
@@ -18,8 +18,9 @@ const styles = StyleSheet.create({
|
|
|
18
18
|
`,
|
|
19
19
|
itemDisabled: css``
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
function PickerNativeItem(props) {
|
|
22
22
|
const {
|
|
23
|
+
ref,
|
|
23
24
|
label,
|
|
24
25
|
value,
|
|
25
26
|
disabled = false
|
|
@@ -47,7 +48,6 @@ const PickerNativeItem = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
47
48
|
children: label
|
|
48
49
|
})
|
|
49
50
|
});
|
|
50
|
-
}
|
|
51
|
-
PickerNativeItem.displayName = 'PickerNativeItem';
|
|
51
|
+
}
|
|
52
52
|
export default PickerNativeItem;
|
|
53
53
|
//# sourceMappingURL=PickerNativeItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","css","Pressable","Text","useMedia","getStyles","useStyle","useForcedContext","PickerNativeContext","jsx","_jsx","styles","create","item","itemDisabled","PickerNativeItem","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","css","Pressable","Text","useMedia","getStyles","useStyle","useForcedContext","PickerNativeContext","jsx","_jsx","styles","create","item","itemDisabled","PickerNativeItem","props","ref","label","value","disabled","selectedValue","handleValueChange","media","classes","resolveStyle","selected","onPress","style","children","styleName","undefined"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/forms/internals/PickerNativeItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,8BAA2B;AAClD,OAAOC,GAAG,MAAM,uBAAoB;AACpC,OAAOC,SAAS,MAAM,oBAAiB;AACvC,OAAOC,IAAI,MAAM,eAAY;AAC7B,OAAOC,QAAQ,MAAM,4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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import React, { useMemo
|
|
3
|
+
import React, { useMemo } from 'react';
|
|
4
4
|
import {
|
|
5
5
|
// @ts-expect-error web only import
|
|
6
6
|
Picker as BasePicker, StyleSheet as StyleUtils } from 'react-native';
|
|
@@ -18,8 +18,9 @@ const getOptionStyle = (style, showPlaceholder) => {
|
|
|
18
18
|
}
|
|
19
19
|
return null;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
function PickerWeb(props) {
|
|
22
22
|
const {
|
|
23
|
+
ref,
|
|
23
24
|
children,
|
|
24
25
|
selectedValue,
|
|
25
26
|
onValueChange = () => {},
|
|
@@ -57,6 +58,6 @@ const PickerWeb = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
57
58
|
children: children
|
|
58
59
|
})]
|
|
59
60
|
});
|
|
60
|
-
}
|
|
61
|
+
}
|
|
61
62
|
export default PickerWeb;
|
|
62
63
|
//# sourceMappingURL=PickerWeb.js.map
|