bootstrap-rn 0.3.4 → 0.3.6
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/commonjs/components/Image.js.map +1 -1
- package/lib/commonjs/components/ImageBackground.js.map +1 -1
- package/lib/commonjs/components/Text.js.map +1 -1
- package/lib/commonjs/components/dropdown/DropdownMenu.js.map +1 -1
- package/lib/commonjs/components/forms/RadioGroup.js.map +1 -1
- package/lib/commonjs/components/forms/internals/PickerNative.js.map +1 -1
- package/lib/commonjs/components/modal/Modal.js +1 -1
- package/lib/commonjs/components/modal/Modal.js.map +1 -1
- package/lib/commonjs/components/modal/ModalBody.js +1 -1
- package/lib/commonjs/components/modal/ModalBody.js.map +1 -1
- package/lib/commonjs/components/modal/ModalContext.js.map +1 -1
- package/lib/commonjs/components/nav/Nav.js.map +1 -1
- package/lib/commonjs/components/nav/NavContext.js.map +1 -1
- package/lib/commonjs/components/nav/TabContext.js.map +1 -1
- package/lib/commonjs/components/navbar/NavbarContext.js.map +1 -1
- package/lib/commonjs/components/offcanvas/OffcanvasBody.js.map +1 -1
- package/lib/commonjs/components/offcanvas/OffcanvasContext.js.map +1 -1
- package/lib/commonjs/components/popover/injectPopover.js.map +1 -1
- package/lib/commonjs/components/toasts/ToastContainer.js +3 -1
- package/lib/commonjs/components/toasts/ToastContainer.js.map +1 -1
- package/lib/commonjs/components/tooltip/injectTooltip.js +0 -3
- package/lib/commonjs/components/tooltip/injectTooltip.js.map +1 -1
- package/lib/commonjs/index.d.ts +47 -8
- package/lib/commonjs/index.js +0 -56
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/style/StyleSheet.js +4 -2
- package/lib/commonjs/style/StyleSheet.js.map +1 -1
- package/lib/commonjs/style/makeUtilities.js.map +1 -1
- package/lib/commonjs/types.d.ts +6 -3
- package/lib/module/components/Image.js.map +1 -1
- package/lib/module/components/ImageBackground.js.map +1 -1
- package/lib/module/components/Text.js.map +1 -1
- package/lib/module/components/dropdown/DropdownMenu.js.map +1 -1
- package/lib/module/components/forms/RadioGroup.js.map +1 -1
- package/lib/module/components/forms/internals/PickerNative.js.map +1 -1
- package/lib/module/components/modal/Modal.js +1 -1
- package/lib/module/components/modal/Modal.js.map +1 -1
- package/lib/module/components/modal/ModalBody.js +1 -1
- package/lib/module/components/modal/ModalBody.js.map +1 -1
- package/lib/module/components/modal/ModalContext.js.map +1 -1
- package/lib/module/components/nav/Nav.js.map +1 -1
- package/lib/module/components/nav/NavContext.js.map +1 -1
- package/lib/module/components/nav/TabContext.js.map +1 -1
- package/lib/module/components/navbar/NavbarContext.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasBody.js.map +1 -1
- package/lib/module/components/offcanvas/OffcanvasContext.js.map +1 -1
- package/lib/module/components/popover/injectPopover.js.map +1 -1
- package/lib/module/components/toasts/ToastContainer.js +3 -1
- package/lib/module/components/toasts/ToastContainer.js.map +1 -1
- package/lib/module/components/tooltip/injectTooltip.js +0 -3
- package/lib/module/components/tooltip/injectTooltip.js.map +1 -1
- package/lib/module/index.d.ts +47 -8
- package/lib/module/index.js +0 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/style/StyleSheet.js +4 -2
- package/lib/module/style/StyleSheet.js.map +1 -1
- package/lib/module/style/makeUtilities.js.map +1 -1
- package/lib/module/types.d.ts +6 -3
- package/lib/types/components/Image.d.ts.map +1 -1
- package/lib/types/components/ImageBackground.d.ts.map +1 -1
- package/lib/types/components/Text.d.ts +1 -1
- package/lib/types/components/Text.d.ts.map +1 -1
- package/lib/types/components/dropdown/Dropdown.d.ts +2 -11
- package/lib/types/components/dropdown/Dropdown.d.ts.map +1 -1
- package/lib/types/components/dropdown/DropdownContext.d.ts +2 -2
- package/lib/types/components/dropdown/DropdownContext.d.ts.map +1 -1
- package/lib/types/components/dropdown/DropdownMenu.d.ts +2 -2
- package/lib/types/components/dropdown/DropdownMenu.d.ts.map +1 -1
- package/lib/types/components/dropdown/DropdownToggle.d.ts +2 -2
- package/lib/types/components/dropdown/DropdownToggle.d.ts.map +1 -1
- package/lib/types/components/forms/Picker.d.ts +4 -4
- package/lib/types/components/forms/Picker.d.ts.map +1 -1
- package/lib/types/components/forms/PickerItem.d.ts +1 -1
- package/lib/types/components/forms/PickerItem.d.ts.map +1 -1
- package/lib/types/components/forms/Radio.d.ts +1 -1
- package/lib/types/components/forms/Radio.d.ts.map +1 -1
- package/lib/types/components/forms/RadioContext.d.ts +2 -2
- package/lib/types/components/forms/RadioContext.d.ts.map +1 -1
- package/lib/types/components/forms/RadioGroup.d.ts +2 -2
- package/lib/types/components/forms/RadioGroup.d.ts.map +1 -1
- package/lib/types/components/forms/internals/PickerNative.d.ts.map +1 -1
- package/lib/types/components/forms/internals/PickerNativeContext.d.ts +2 -2
- package/lib/types/components/forms/internals/PickerNativeContext.d.ts.map +1 -1
- package/lib/types/components/forms/internals/PickerNativeItem.d.ts +1 -1
- package/lib/types/components/forms/internals/PickerNativeItem.d.ts.map +1 -1
- package/lib/types/components/forms/internals/PickerWebItem.d.ts +1 -1
- package/lib/types/components/forms/internals/PickerWebItem.d.ts.map +1 -1
- package/lib/types/components/list-group/ListGroup.d.ts +1 -1
- package/lib/types/components/list-group/ListGroupItem.d.ts +13 -1
- package/lib/types/components/list-group/ListGroupItem.d.ts.map +1 -1
- package/lib/types/components/list-group/ListGroupItemAction.d.ts +2 -2
- package/lib/types/components/list-group/ListGroupItemAction.d.ts.map +1 -1
- package/lib/types/components/modal/Modal.d.ts +4 -7
- package/lib/types/components/modal/Modal.d.ts.map +1 -1
- package/lib/types/components/modal/ModalBody.d.ts +3 -6
- package/lib/types/components/modal/ModalBody.d.ts.map +1 -1
- package/lib/types/components/modal/ModalContext.d.ts +3 -3
- package/lib/types/components/modal/ModalContext.d.ts.map +1 -1
- package/lib/types/components/nav/Nav.d.ts +1 -3
- package/lib/types/components/nav/Nav.d.ts.map +1 -1
- package/lib/types/components/nav/NavContext.d.ts +3 -3
- package/lib/types/components/nav/NavContext.d.ts.map +1 -1
- package/lib/types/components/nav/Tab.d.ts +1 -1
- package/lib/types/components/nav/TabContext.d.ts +3 -3
- package/lib/types/components/nav/TabContext.d.ts.map +1 -1
- package/lib/types/components/navbar/Navbar.d.ts +1 -1
- package/lib/types/components/navbar/NavbarBrand.d.ts +2 -2
- package/lib/types/components/navbar/NavbarBrand.d.ts.map +1 -1
- package/lib/types/components/navbar/NavbarContext.d.ts +2 -2
- package/lib/types/components/navbar/NavbarContext.d.ts.map +1 -1
- package/lib/types/components/offcanvas/Offcanvas.d.ts +1 -3
- package/lib/types/components/offcanvas/Offcanvas.d.ts.map +1 -1
- package/lib/types/components/offcanvas/OffcanvasBody.d.ts +3 -4
- package/lib/types/components/offcanvas/OffcanvasBody.d.ts.map +1 -1
- package/lib/types/components/offcanvas/OffcanvasContext.d.ts +2 -2
- package/lib/types/components/offcanvas/OffcanvasContext.d.ts.map +1 -1
- package/lib/types/components/popover/injectPopover.d.ts +9 -12
- package/lib/types/components/popover/injectPopover.d.ts.map +1 -1
- package/lib/types/components/toasts/ToastContainer.d.ts +4 -2
- package/lib/types/components/toasts/ToastContainer.d.ts.map +1 -1
- package/lib/types/components/tooltip/injectTooltip.d.ts +8 -11
- package/lib/types/components/tooltip/injectTooltip.d.ts.map +1 -1
- package/lib/types/hooks/useBackground.native.d.ts +3 -1
- package/lib/types/hooks/useBackground.native.d.ts.map +1 -1
- package/lib/types/index.d.ts +47 -8
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/style/StyleSheet.d.ts +2 -3
- package/lib/types/style/StyleSheet.d.ts.map +1 -1
- package/lib/types/style/createStyle.d.ts +3 -1
- package/lib/types/style/createStyle.d.ts.map +1 -1
- package/lib/types/style/css.d.ts +3 -1
- package/lib/types/style/css.d.ts.map +1 -1
- package/lib/types/style/makeUtilities.d.ts +6 -2
- package/lib/types/style/makeUtilities.d.ts.map +1 -1
- package/lib/types/theme/variables.d.ts +3 -1
- package/lib/types/theme/variables.d.ts.map +1 -1
- package/lib/types/types.d.ts +6 -3
- package/lib/types/types.d.ts.map +1 -1
- package/package.json +80 -80
- package/src/components/Image.tsx +31 -27
- package/src/components/ImageBackground.tsx +48 -46
- package/src/components/Text.tsx +119 -117
- package/src/components/dropdown/DropdownContext.ts +2 -2
- package/src/components/dropdown/DropdownMenu.tsx +127 -125
- package/src/components/dropdown/DropdownToggle.ts +2 -2
- package/src/components/forms/Picker.tsx +191 -191
- package/src/components/forms/PickerItem.tsx +32 -32
- package/src/components/forms/Radio.tsx +37 -37
- package/src/components/forms/RadioContext.ts +13 -13
- package/src/components/forms/RadioGroup.tsx +42 -40
- package/src/components/forms/internals/PickerNative.tsx +193 -195
- package/src/components/forms/internals/PickerNativeContext.ts +14 -14
- package/src/components/forms/internals/PickerNativeItem.tsx +59 -59
- package/src/components/forms/internals/PickerWebItem.tsx +36 -36
- package/src/components/list-group/ListGroupItemAction.tsx +2 -2
- package/src/components/modal/Modal.tsx +234 -233
- package/src/components/modal/ModalBody.tsx +52 -56
- package/src/components/modal/ModalContext.ts +3 -3
- package/src/components/nav/Nav.tsx +4 -4
- package/src/components/nav/NavContext.ts +3 -3
- package/src/components/nav/TabContext.ts +3 -3
- package/src/components/navbar/NavbarBrand.tsx +2 -2
- package/src/components/navbar/NavbarContext.ts +2 -2
- package/src/components/offcanvas/OffcanvasBody.tsx +64 -66
- package/src/components/offcanvas/OffcanvasContext.ts +4 -2
- package/src/components/popover/injectPopover.tsx +97 -98
- package/src/components/toasts/ToastContainer.tsx +41 -39
- package/src/components/tooltip/injectTooltip.tsx +93 -96
- package/src/index.ts +242 -211
- package/src/style/StyleSheet.ts +149 -138
- package/src/style/makeUtilities.ts +79 -76
- package/src/types.ts +168 -162
package/lib/module/index.d.ts
CHANGED
|
@@ -17,23 +17,22 @@ export { default as Badge } from './components/badge/Badge';
|
|
|
17
17
|
export type { BadgeProps } from './components/badge/Badge';
|
|
18
18
|
export { default as Breadcrumb } from './components/breadcrumb/Breadcrumb';
|
|
19
19
|
export type { BreadcrumbProps } from './components/breadcrumb/Breadcrumb';
|
|
20
|
+
export type { BreadcrumbItemProps } from './components/breadcrumb/BreadcrumbItem';
|
|
20
21
|
export { default as ButtonGroup } from './components/button-group/ButtonGroup';
|
|
21
22
|
export type { ButtonGroupProps } from './components/button-group/ButtonGroup';
|
|
22
23
|
export { default as ButtonToolbar } from './components/button-group/ButtonToolbar';
|
|
23
24
|
export type { ButtonToolbarProps } from './components/button-group/ButtonToolbar';
|
|
24
25
|
export { default as Button } from './components/buttons/Button';
|
|
25
26
|
export type { ButtonProps } from './components/buttons/Button';
|
|
27
|
+
export type { UseToggleButtonProps } from './components/buttons/useToggleButton';
|
|
26
28
|
export { default as Blockquote } from './components/type/Blockquote';
|
|
27
29
|
export type { BlockquoteProps } from './components/type/Blockquote';
|
|
28
30
|
export { default as Body } from './components/Body';
|
|
29
31
|
export type { BodyProps } from './components/Body';
|
|
30
32
|
export { default as Card } from './components/card/Card';
|
|
31
33
|
export type { CardProps } from './components/card/Card';
|
|
32
|
-
export { default as CardBody } from './components/card/CardBody';
|
|
33
34
|
export type { CardBodyProps } from './components/card/CardBody';
|
|
34
|
-
export { default as CardFooter } from './components/card/CardFooter';
|
|
35
35
|
export type { CardFooterProps } from './components/card/CardFooter';
|
|
36
|
-
export { default as CardHeader } from './components/card/CardHeader';
|
|
37
36
|
export type { CardHeaderProps } from './components/card/CardHeader';
|
|
38
37
|
export { default as Caret } from './components/Caret';
|
|
39
38
|
export type { CaretProps } from './components/Caret';
|
|
@@ -41,6 +40,8 @@ export { default as CloseButton } from './components/close/CloseButton';
|
|
|
41
40
|
export type { CloseButtonProps } from './components/close/CloseButton';
|
|
42
41
|
export { default as Collapse } from './components/collapse/Collapse';
|
|
43
42
|
export type { CollapseProps } from './components/collapse/Collapse';
|
|
43
|
+
export type { CollapseProviderProps } from './components/collapse/CollapseProvider';
|
|
44
|
+
export type { UseToggleCollapseProps } from './components/collapse/useToggleCollapse';
|
|
44
45
|
export { default as Container } from './components/containers/Container';
|
|
45
46
|
export type { ContainerProps } from './components/containers/Container';
|
|
46
47
|
export { default as Checkbox } from './components/forms/Checkbox';
|
|
@@ -51,12 +52,22 @@ export { default as Code } from './components/type/Code';
|
|
|
51
52
|
export type { CodeProps } from './components/type/Code';
|
|
52
53
|
export { default as Dropdown } from './components/dropdown/Dropdown';
|
|
53
54
|
export type { DropdownProps } from './components/dropdown/Dropdown';
|
|
55
|
+
export type { DropdownContextProps } from './components/dropdown/DropdownContext';
|
|
56
|
+
export type { DropdownToggleProps } from './components/dropdown/DropdownToggle';
|
|
57
|
+
export type { DropdownMenuProps } from './components/dropdown/DropdownMenu';
|
|
58
|
+
export type { DropdownHeaderProps } from './components/dropdown/DropdownHeader';
|
|
59
|
+
export type { DropdownItemProps } from './components/dropdown/DropdownItem';
|
|
60
|
+
export type { DropdownItemTextProps } from './components/dropdown/DropdownItemText';
|
|
61
|
+
export type { DropdownDividerProps } from './components/dropdown/DropdownDivider';
|
|
62
|
+
export type { UseDismissDropdownProps } from './components/dropdown/useDismissDropdown';
|
|
63
|
+
export type { UseToggleDropdownProps } from './components/dropdown/useToggleDropdown';
|
|
54
64
|
export { default as DisplayHeading } from './components/type/DisplayHeading';
|
|
55
65
|
export type { DisplayHeadingProps } from './components/type/DisplayHeading';
|
|
56
66
|
export { default as Feedback } from './components/forms/Feedback';
|
|
57
67
|
export type { FeedbackProps } from './components/forms/Feedback';
|
|
58
68
|
export { default as FormCheck } from './components/forms/FormCheck';
|
|
59
69
|
export type { FormCheckProps } from './components/forms/FormCheck';
|
|
70
|
+
export type { FormCheckLabelProps } from './components/forms/FormCheckLabel';
|
|
60
71
|
export { default as FormLabel } from './components/forms/FormLabel';
|
|
61
72
|
export type { FormLabelProps } from './components/forms/FormLabel';
|
|
62
73
|
export { default as FormText } from './components/forms/FormText';
|
|
@@ -77,40 +88,59 @@ export { default as Label } from './components/Label';
|
|
|
77
88
|
export type { LabelProps } from './components/Label';
|
|
78
89
|
export { default as ListGroup } from './components/list-group/ListGroup';
|
|
79
90
|
export type { ListGroupProps } from './components/list-group/ListGroup';
|
|
91
|
+
export type { ListGroupItemProps } from './components/list-group/ListGroupItem';
|
|
92
|
+
export type { ListGroupItemActionProps } from './components/list-group/ListGroupItemAction';
|
|
80
93
|
export { default as Link } from './components/Link';
|
|
81
94
|
export type { LinkProps } from './components/Link';
|
|
82
95
|
export { default as Modal } from './components/modal/Modal';
|
|
83
96
|
export type { ModalProps } from './components/modal/Modal';
|
|
84
|
-
export { default as ModalBody } from './components/modal/ModalBody';
|
|
85
97
|
export type { ModalBodyProps } from './components/modal/ModalBody';
|
|
86
|
-
export {
|
|
98
|
+
export type { ModalContextProps } from './components/modal/ModalContext';
|
|
87
99
|
export type { ModalFooterProps } from './components/modal/ModalFooter';
|
|
88
|
-
export { default as ModalHeader } from './components/modal/ModalHeader';
|
|
89
100
|
export type { ModalHeaderProps } from './components/modal/ModalHeader';
|
|
90
|
-
export { default as ModalTitle } from './components/modal/ModalTitle';
|
|
91
101
|
export type { ModalTitleProps } from './components/modal/ModalTitle';
|
|
92
102
|
export { default as Nav } from './components/nav/Nav';
|
|
93
103
|
export type { NavProps } from './components/nav/Nav';
|
|
104
|
+
export type { NavContextProps } from './components/nav/NavContext';
|
|
105
|
+
export type { NavLinkProps } from './components/nav/NavLink';
|
|
94
106
|
export { default as Navbar } from './components/navbar/Navbar';
|
|
95
107
|
export type { NavbarProps } from './components/navbar/Navbar';
|
|
108
|
+
export type { NavbarBrandProps } from './components/navbar/NavbarBrand';
|
|
109
|
+
export type { NavbarContextProps } from './components/navbar/NavbarContext';
|
|
110
|
+
export type { NavbarTextProps } from './components/navbar/NavbarText';
|
|
111
|
+
export type { NavbarCollapseProps } from './components/navbar/NavbarCollapse';
|
|
112
|
+
export type { NavbarTogglerProps } from './components/navbar/NavbarToggler';
|
|
113
|
+
export type { UseDismissNavbarProps } from './components/navbar/useDismissNavbar';
|
|
114
|
+
export type { UseToggleNavbarProps } from './components/navbar/useToggleNavbar';
|
|
96
115
|
export { default as Offcanvas } from './components/offcanvas/Offcanvas';
|
|
97
116
|
export type { OffcanvasProps } from './components/offcanvas/Offcanvas';
|
|
117
|
+
export type { OffcanvasContextProps } from './components/offcanvas/OffcanvasContext';
|
|
118
|
+
export type { OffcanvasHeaderProps } from './components/offcanvas/OffcanvasHeader';
|
|
119
|
+
export type { OffcanvasTitleProps } from './components/offcanvas/OffcanvasTitle';
|
|
120
|
+
export type { OffcanvasBodyProps } from './components/offcanvas/OffcanvasBody';
|
|
98
121
|
export { default as Picker } from './components/forms/Picker';
|
|
99
122
|
export type { PickerProps } from './components/forms/Picker';
|
|
123
|
+
export type { PickerItemProps } from './components/forms/PickerItem';
|
|
100
124
|
export { default as Placeholders } from './components/placeholders/Placeholders';
|
|
101
125
|
export type { PlaceholdersProps } from './components/placeholders/Placeholders';
|
|
102
126
|
export { default as Popover } from './components/popover/Popover';
|
|
103
127
|
export type { PopoverProps } from './components/popover/Popover';
|
|
128
|
+
export type { PopoverArrowProps } from './components/popover/PopoverArrow';
|
|
129
|
+
export type { PopoverBodyProps } from './components/popover/PopoverBody';
|
|
130
|
+
export type { PopoverHeaderProps } from './components/popover/PopoverHeader';
|
|
104
131
|
export { default as Progress } from './components/progress/Progress';
|
|
105
132
|
export type { ProgressProps } from './components/progress/Progress';
|
|
133
|
+
export type { ProgressBarProps } from './components/progress/ProgressBar';
|
|
106
134
|
export { default as Paragraph } from './components/type/Paragraph';
|
|
107
135
|
export type { ParagraphProps } from './components/type/Paragraph';
|
|
108
136
|
export { default as Pressable } from './components/Pressable';
|
|
109
137
|
export type { PressableProps } from './components/Pressable';
|
|
110
138
|
export { default as Pagination } from './components/pagination/Pagination';
|
|
111
139
|
export type { PaginationProps } from './components/pagination/Pagination';
|
|
140
|
+
export type { PaginationItemProps } from './components/pagination/PaginationItem';
|
|
112
141
|
export { default as Radio } from './components/forms/Radio';
|
|
113
142
|
export type { RadioProps } from './components/forms/Radio';
|
|
143
|
+
export type { RadioGroupProps } from './components/forms/RadioGroup';
|
|
114
144
|
export { default as Row } from './components/grid/Row';
|
|
115
145
|
export type { RowProps } from './components/grid/Row';
|
|
116
146
|
export { default as Switch } from './components/forms/Switch';
|
|
@@ -120,12 +150,21 @@ export type { SpinnerProps } from './components/spinners/Spinner';
|
|
|
120
150
|
export { default as ScrollView } from './components/ScrollView';
|
|
121
151
|
export type { ScrollViewProps } from './components/ScrollView';
|
|
122
152
|
export { default as Tab } from './components/nav/Tab';
|
|
153
|
+
export type { TabContextProps } from './components/nav/TabContext';
|
|
154
|
+
export type { TabProviderProps } from './components/nav/TabProvider';
|
|
155
|
+
export type { TabContentProps } from './components/nav/TabContent';
|
|
156
|
+
export type { TabPaneProps } from './components/nav/TabPane';
|
|
157
|
+
export type { UseToggleTabProps } from './components/nav/useToggleTab';
|
|
123
158
|
export { default as Toast } from './components/toasts/Toast';
|
|
124
|
-
export type { ToastProps } from './components/toasts/Toast';
|
|
125
159
|
export { default as ToastContainer } from './components/toasts/ToastContainer';
|
|
160
|
+
export type { ToastProps } from './components/toasts/Toast';
|
|
161
|
+
export type { ToastBodyProps } from './components/toasts/ToastBody';
|
|
162
|
+
export type { ToastHeaderProps } from './components/toasts/ToastHeader';
|
|
126
163
|
export type { ToastContainerProps } from './components/toasts/ToastContainer';
|
|
127
164
|
export { default as Tooltip } from './components/tooltip/Tooltip';
|
|
128
165
|
export type { TooltipProps } from './components/tooltip/Tooltip';
|
|
166
|
+
export type { TooltipArrowProps } from './components/tooltip/TooltipArrow';
|
|
167
|
+
export type { TooltipInnerProps } from './components/tooltip/TooltipInner';
|
|
129
168
|
export { default as Text } from './components/Text';
|
|
130
169
|
export type { TextProps } from './components/Text';
|
|
131
170
|
export { default as TextInput } from './components/TextInput';
|
package/lib/module/index.js
CHANGED
|
@@ -23,9 +23,6 @@ export { default as Button } from './components/buttons/Button';
|
|
|
23
23
|
export { default as Blockquote } from './components/type/Blockquote';
|
|
24
24
|
export { default as Body } from './components/Body';
|
|
25
25
|
export { default as Card } from './components/card/Card';
|
|
26
|
-
export { default as CardBody } from './components/card/CardBody';
|
|
27
|
-
export { default as CardFooter } from './components/card/CardFooter';
|
|
28
|
-
export { default as CardHeader } from './components/card/CardHeader';
|
|
29
26
|
export { default as Caret } from './components/Caret';
|
|
30
27
|
export { default as CloseButton } from './components/close/CloseButton';
|
|
31
28
|
export { default as Collapse } from './components/collapse/Collapse';
|
|
@@ -49,10 +46,6 @@ export { default as Label } from './components/Label';
|
|
|
49
46
|
export { default as ListGroup } from './components/list-group/ListGroup';
|
|
50
47
|
export { default as Link } from './components/Link';
|
|
51
48
|
export { default as Modal } from './components/modal/Modal';
|
|
52
|
-
export { default as ModalBody } from './components/modal/ModalBody';
|
|
53
|
-
export { default as ModalFooter } from './components/modal/ModalFooter';
|
|
54
|
-
export { default as ModalHeader } from './components/modal/ModalHeader';
|
|
55
|
-
export { default as ModalTitle } from './components/modal/ModalTitle';
|
|
56
49
|
export { default as Nav } from './components/nav/Nav';
|
|
57
50
|
export { default as Navbar } from './components/navbar/Navbar';
|
|
58
51
|
export { default as Offcanvas } from './components/offcanvas/Offcanvas';
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PortalProvider","css","makeUtilities","makeTheme","StyleSheet","Context","Provider","useFixedElement","useMedia","useStyle","default","Alert","Badge","Breadcrumb","ButtonGroup","ButtonToolbar","Button","Blockquote","Body","Card","
|
|
1
|
+
{"version":3,"names":["PortalProvider","css","makeUtilities","makeTheme","StyleSheet","Context","Provider","useFixedElement","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","Pressable","Pagination","Radio","Row","Switch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ASrC,OAAO,IAAIsC,OAAO,QAAQ,8BAA8B;AAMjE,SAAStC,OAAO,IAAIuC,QAAQ,QAAQ,gCAAgC;AAIpE,SAASvC,OAAO,IAAIwC,SAAS,QAAQ,6BAA6B;AAGlE,SAASxC,OAAO,IAAIyC,SAAS,QAAQ,wBAAwB;AAG7D,SAASzC,OAAO,IAAI0C,UAAU,QAAQ,oCAAoC;AAI1E,SAAS1C,OAAO,IAAI2C,KAAK,QAAQ,0BAA0B;AAI3D,SAAS3C,OAAO,IAAI4C,GAAG,QAAQ,uBAAuB;AAGtD,SAAS5C,OAAO,IAAI6C,MAAM,QAAQ,2BAA2B;AAG7D,SAAS7C,OAAO,IAAI8C,OAAO,QAAQ,+BAA+B;AAGlE,SAAS9C,OAAO,IAAI+C,UAAU,QAAQ,yBAAyB;AAG/D,SAAS/C,OAAO,IAAIgD,GAAG,QAAQ,sBAAsB;AAOrD,SAAShD,OAAO,IAAIiD,KAAK,QAAQ,2BAA2B;AAC5D,SAASjD,OAAO,IAAIkD,cAAc,QAAQ,oCAAoC;AAM9E,SAASlD,OAAO,IAAImD,OAAO,QAAQ,8BAA8B;AAKjE,SAASnD,OAAO,IAAIoD,IAAI,QAAQ,mBAAmB;AAGnD,SAASpD,OAAO,IAAIqD,SAAS,QAAQ,wBAAwB;AAG7D,SAASrD,OAAO,IAAIsD,IAAI,QAAQ,mBAAmB","ignoreList":[]}
|
|
@@ -3,6 +3,9 @@ let activeKey = null;
|
|
|
3
3
|
const themes = {};
|
|
4
4
|
const sheets = [];
|
|
5
5
|
const createSheet = sheet => {
|
|
6
|
+
if (!activeKey) {
|
|
7
|
+
throw new Error('No active theme key.');
|
|
8
|
+
}
|
|
6
9
|
const theme = themes[activeKey];
|
|
7
10
|
const statelessSource = {};
|
|
8
11
|
const statefulSource = {};
|
|
@@ -21,7 +24,6 @@ const createSheet = sheet => {
|
|
|
21
24
|
// Wrap stateful and stateless in a proxy, so that we can update the styles on theme change.
|
|
22
25
|
// For using Object.assign below we need some additional methods on the proxy that are mentioned here:
|
|
23
26
|
// https://stackoverflow.com/questions/43185453/object-assign-and-proxies
|
|
24
|
-
// @ts-expect-error proxy is equivalent to NamedExtendedStyles
|
|
25
27
|
return new Proxy({
|
|
26
28
|
keys: Object.keys(sheet.source),
|
|
27
29
|
stateless: BaseStyleSheet.create(statelessSource),
|
|
@@ -56,7 +58,7 @@ const StyleSheet = {
|
|
|
56
58
|
const sheet = {
|
|
57
59
|
source,
|
|
58
60
|
cache: {},
|
|
59
|
-
// Placeholder until build method is called.
|
|
61
|
+
// @ts-expect-error Placeholder until build method is called.
|
|
60
62
|
active: {}
|
|
61
63
|
};
|
|
62
64
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","BaseStyleSheet","activeKey","themes","sheets","createSheet","sheet","theme","statelessSource","statefulSource","Object","entries","source","forEach","key","style","value","Proxy","keys","stateless","create","stateful","get","target","prop","undefined","ownKeys","getOwnPropertyDescriptor","name","proxy","configurable","enumerable","has","indexOf","absoluteFill","absoluteFillObject","hairlineWidth","cache","active","push","build","_","i","assign"
|
|
1
|
+
{"version":3,"names":["StyleSheet","BaseStyleSheet","activeKey","themes","sheets","createSheet","sheet","Error","theme","statelessSource","statefulSource","Object","entries","source","forEach","key","style","value","Proxy","keys","stateless","create","stateful","get","target","prop","undefined","ownKeys","getOwnPropertyDescriptor","name","proxy","configurable","enumerable","has","indexOf","absoluteFill","absoluteFillObject","hairlineWidth","cache","active","push","build","_","i","assign"],"sourceRoot":"..\\..\\..\\src","sources":["style/StyleSheet.ts"],"mappings":"AAAA,SAASA,UAAU,IAAIC,cAAc,QAAQ,cAAc;AAsB3D,IAAIC,SAAwB,GAAG,IAAI;AAEnC,MAAMC,MAAsC,GAAG,CAAC,CAAC;AACjD,MAAMC,MAAsC,GAAG,EAAE;AAEjD,MAAMC,WAAW,GACfC,KAA8B,IACH;EAC3B,IAAI,CAACJ,SAAS,EAAE;IACd,MAAM,IAAIK,KAAK,CAA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;MAC/C;;MAEA;MACA;MACA;MACAhC,MAAM,CAACiC,MAAM,CAACxC,MAAM,CAACuC,CAAC,CAAC,CAACJ,MAAM,EAAEnC,MAAM,CAACuC,CAAC,CAAC,CAACL,KAAK,CAACvB,GAAG,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC;EACDE,KAAKA,CAACF,GAAyB,EAAE;IAC/B,IAAIb,SAAS,KAAK,IAAI,EAAE;MACtB,MAAM,IAAIK,KAAK,CAAC,gDAAgD,CAAC;IACnE;IAEA,MAAMC,KAAK,GAAGL,MAAM,CAACD,SAAS,CAAC;IAE/B,OAAOM,KAAK,CAACO,GAAG,CAAC;EACnB,CAAC;EACD;EACAoB,YAAY;EACZC,kBAAkB;EAClBC;AACF,CAAC;AAED,eAAerC,UAAU","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["css","GRID_BREAKPOINTS","utilities","each","makeUtility","options","values","key","value","name","class","property","suffix","styles","responsive","breakpoint","makeUtilities","resolve","customUtilities","definitions","Object","reduce","result","utility","assign"],"sourceRoot":"..\\..\\..\\src","sources":["style/makeUtilities.ts"],"mappings":"AAAA,OAAOA,GAAG,MAAM,OAAO;AACvB,SAASC,gBAAgB,QAAQ,kBAAkB;AACnD,OAAOC,SAAS,MAAM,oBAAoB;AAC1C,SAASC,IAAI,QAAQ,UAAU;AAG/B,OAAO,SAASC,WAAWA,CAACC,OAAqB,EAAE;EACjD,OAAOF,IAAI,CAACE,OAAO,CAACC,MAAM,EAAE,CAACC,GAAG,EAAEC,KAAK,KAAK;IAC1C,MAAMC,IAAI,GAAGJ,OAAO,CAACK,KAAK,IAAIL,OAAO,CAACM,QAAQ;IAC9C,MAAMC,MAAM,GAAGL,GAAG,KAAK,MAAM,GAAG,EAAE,GAAI,IAAGA,GAAI,EAAC;;IAE9C;IACA;IACA;IACA;IACA;IACA;;IAEA,MAAMM,MAAM,GAAG;MACb,CAAE,GAAEJ,IAAK,GAAEG,MAAO,EAAC,GAAGZ,GAAG,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,EAAEK,OAAO,CAACM,QAAQ,EAAEH,KAAK;IACpE,CAAC;IAED,IAAI,CAACH,OAAO,CAACS,UAAU,EAAE;MACvB,OAAOD,MAAM;IACf;IAEA,OAAO;MACL,GAAGA,MAAM;MACT,GAAGV,IAAI,CAACF,gBAAgB,EAAGc,UAAU,IAAK;QACxC,IAAIA,UAAU,KAAK,IAAI,EAAE;UACvB,OAAO,CAAC,CAAC;QACX;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA,OAAO;UACL,CAAE,GAAEN,IAAK,IAAGM,UAAW,GAAEH,MAAO,EAAC,GAAGZ,GAAG,CACrC,CAAC,+BAA+B,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,EACxDe,UAAU,EACVV,OAAO,CAACM,QAAQ,EAChBH,KACF;QACF,CAAC;MACH,CAAC;IACH,CAAC;EACH,CAAC,CAAC;AACJ;AAEA,eAAe,SAASQ,aAAaA,CACnCC,
|
|
1
|
+
{"version":3,"names":["css","GRID_BREAKPOINTS","utilities","each","makeUtility","options","values","key","value","name","class","property","suffix","styles","responsive","breakpoint","makeUtilities","resolve","customUtilities","definitions","Object","reduce","result","utility","assign"],"sourceRoot":"..\\..\\..\\src","sources":["style/makeUtilities.ts"],"mappings":"AAAA,OAAOA,GAAG,MAAM,OAAO;AACvB,SAASC,gBAAgB,QAAQ,kBAAkB;AACnD,OAAOC,SAAS,MAAM,oBAAoB;AAC1C,SAASC,IAAI,QAAQ,UAAU;AAG/B,OAAO,SAASC,WAAWA,CAACC,OAAqB,EAAE;EACjD,OAAOF,IAAI,CAACE,OAAO,CAACC,MAAM,EAAE,CAACC,GAAG,EAAEC,KAAK,KAAK;IAC1C,MAAMC,IAAI,GAAGJ,OAAO,CAACK,KAAK,IAAIL,OAAO,CAACM,QAAQ;IAC9C,MAAMC,MAAM,GAAGL,GAAG,KAAK,MAAM,GA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,WAAW;AACpB","ignoreList":[]}
|
package/lib/module/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewStyle as BaseViewStyle, ImageStyle as
|
|
1
|
+
import { ViewStyle as BaseViewStyle, ImageStyle as TempImageStyle, TextStyle as BaseTextStyle, GestureResponderEvent, Role, NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native';
|
|
2
2
|
import type { Placement, Axis, PlacementAxis } from '@react-types/overlays';
|
|
3
3
|
import { BOOTSTRAP_RN_STYLE } from './style/createStyle';
|
|
4
4
|
export type Viewport = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
@@ -8,6 +8,9 @@ export type MediaHandler = {
|
|
|
8
8
|
only: (point: Viewport) => boolean;
|
|
9
9
|
between: (lower: Viewport, upper: Viewport) => boolean;
|
|
10
10
|
};
|
|
11
|
+
type BaseImageStyle = Omit<TempImageStyle, 'overflow'> & {
|
|
12
|
+
overflow?: 'visible' | 'hidden' | 'scroll';
|
|
13
|
+
};
|
|
11
14
|
export type BaseStyle = BaseViewStyle | BaseImageStyle | BaseTextStyle;
|
|
12
15
|
export type InteractionState = {
|
|
13
16
|
interaction?: {
|
|
@@ -59,11 +62,11 @@ type To = string | Partial<{
|
|
|
59
62
|
search: string;
|
|
60
63
|
hash: string;
|
|
61
64
|
}>;
|
|
62
|
-
type External = boolean | {
|
|
65
|
+
type External = boolean | Partial<{
|
|
63
66
|
download: boolean;
|
|
64
67
|
target: string;
|
|
65
68
|
rel: string;
|
|
66
|
-
}
|
|
69
|
+
}>;
|
|
67
70
|
export type UseTabbableProps = {
|
|
68
71
|
to?: To;
|
|
69
72
|
external?: External;
|
|
@@ -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,QAAA,MAAM,KAAK,
|
|
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,QAAA,MAAM,KAAK,8EAaT,CAAC;AAIH,eAAe,KAAK,CAAC"}
|
|
@@ -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,oBACf,SAAQ,IAAI,CAAC,wBAAwB,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9D,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,QAAA,MAAM,eAAe,
|
|
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,oBACf,SAAQ,IAAI,CAAC,wBAAwB,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9D,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,QAAA,MAAM,eAAe,kGAoBnB,CAAC;AAIH,eAAe,eAAe,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { Text as BaseText, TextProps as BaseTextProps } from 'react-native';
|
|
|
3
3
|
import { THEME_COLORS } from '../theme/proxies';
|
|
4
4
|
import type { ExtendedTextStyle, StyleProp, StyleName } from '../types';
|
|
5
5
|
export type TextRef = BaseText;
|
|
6
|
-
type ThemeColors = keyof typeof THEME_COLORS | 'muted' | 'black-50' | 'white-50';
|
|
6
|
+
type ThemeColors = keyof typeof THEME_COLORS | 'body' | 'muted' | 'white' | 'black-50' | 'white-50';
|
|
7
7
|
export interface TextProps extends Omit<BaseTextProps, 'style'> {
|
|
8
8
|
color?: ThemeColors;
|
|
9
9
|
small?: boolean;
|
|
@@ -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,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,QAAA,MAAM,IAAI,4EAqDR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
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,QAAA,MAAM,IAAI,4EAqDR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -15,18 +15,9 @@ export interface DropdownProps extends ViewProps {
|
|
|
15
15
|
autoClose?: boolean | 'inside' | 'outside';
|
|
16
16
|
}
|
|
17
17
|
declare const _default: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<import("react-native").View>> & {
|
|
18
|
-
Context: React.Context<
|
|
19
|
-
identifier: string;
|
|
20
|
-
visible: boolean;
|
|
21
|
-
setVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
22
|
-
toggleRef: React.RefObject<import("react-native").View>;
|
|
23
|
-
direction: DropdownDirection;
|
|
24
|
-
center: boolean;
|
|
25
|
-
display: string;
|
|
26
|
-
autoClose: string | boolean;
|
|
27
|
-
} | null>;
|
|
18
|
+
Context: React.Context<import("./DropdownContext").DropdownContextProps | null>;
|
|
28
19
|
Toggle: typeof DropdownToggle;
|
|
29
|
-
Menu: React.ForwardRefExoticComponent<import("./DropdownMenu").
|
|
20
|
+
Menu: React.ForwardRefExoticComponent<import("./DropdownMenu").DropdownMenuProps & React.RefAttributes<import("react-native").View>>;
|
|
30
21
|
Header: React.ForwardRefExoticComponent<import("./DropdownHeader").DropdownHeaderProps & React.RefAttributes<import("react-native").View>>;
|
|
31
22
|
Item: typeof DropdownItem;
|
|
32
23
|
ItemText: React.ForwardRefExoticComponent<import("./DropdownItemText").DropdownItemTextProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAEnD,OAAwB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAG9C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAI1C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC5C
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAEnD,OAAwB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAG9C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAI1C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC5C;;;;;;;;;;;;AA6CD,wBAUG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ViewRef } from '../View';
|
|
3
3
|
export type DropdownDirection = 'up' | 'down' | 'start' | 'end';
|
|
4
|
-
|
|
4
|
+
export interface DropdownContextProps {
|
|
5
5
|
identifier: string;
|
|
6
6
|
visible: boolean;
|
|
7
7
|
setVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -10,7 +10,7 @@ type DropdownContextProps = {
|
|
|
10
10
|
center: boolean;
|
|
11
11
|
display: string;
|
|
12
12
|
autoClose: string | boolean;
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
declare const DropdownContext: import("react").Context<DropdownContextProps | null>;
|
|
15
15
|
export default DropdownContext;
|
|
16
16
|
//# sourceMappingURL=DropdownContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownContext.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownContext.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAEhE,
|
|
1
|
+
{"version":3,"file":"DropdownContext.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownContext.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAEhE,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACpC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED,QAAA,MAAM,eAAe,sDAAmD,CAAC;AAIzE,eAAe,eAAe,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ViewProps } from '../View';
|
|
3
3
|
type AlignmentBreakpoints = boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
4
|
-
export interface
|
|
4
|
+
export interface DropdownMenuProps extends ViewProps {
|
|
5
5
|
start?: AlignmentBreakpoints;
|
|
6
6
|
right?: AlignmentBreakpoints;
|
|
7
7
|
end?: AlignmentBreakpoints;
|
|
8
8
|
}
|
|
9
|
-
declare const DropdownMenu: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<import("react-native").View>>;
|
|
10
10
|
export default DropdownMenu;
|
|
11
11
|
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAWnD,KAAK,oBAAoB,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAExE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAWnD,KAAK,oBAAoB,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAExE,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,GAAG,CAAC,EAAE,oBAAoB,CAAC;CAC5B;AAmHD,QAAA,MAAM,YAAY,uGA4IjB,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UseToggleDropdownProps } from './useToggleDropdown';
|
|
3
|
-
|
|
3
|
+
export interface DropdownToggleProps {
|
|
4
4
|
children: (args: UseToggleDropdownProps) => React.ReactNode;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
declare function DropdownToggle(props: DropdownToggleProps): React.ReactNode;
|
|
7
7
|
declare namespace DropdownToggle {
|
|
8
8
|
var displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownToggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,
|
|
1
|
+
{"version":3,"file":"DropdownToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownToggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;CAC7D;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,mBAMjD;kBANQ,cAAc;;;AAUvB,eAAe,cAAc,CAAC"}
|
|
@@ -4,14 +4,14 @@ import type { UseFormFieldProps } from '../../types';
|
|
|
4
4
|
import type { PressableProps } from '../Pressable';
|
|
5
5
|
export interface MenuComponentProps {
|
|
6
6
|
children: React.ReactElement | React.ReactElement[];
|
|
7
|
-
selectedValue?:
|
|
8
|
-
onValueChange: (value
|
|
7
|
+
selectedValue?: string | null | undefined;
|
|
8
|
+
onValueChange: (value: string) => void;
|
|
9
9
|
onClose: () => void;
|
|
10
10
|
}
|
|
11
11
|
export interface PickerProps extends UseFormFieldProps, PressableProps {
|
|
12
12
|
children: React.ReactElement | React.ReactElement[];
|
|
13
|
-
selectedValue?:
|
|
14
|
-
onValueChange?: (value
|
|
13
|
+
selectedValue?: string | null | undefined;
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
15
|
onFocus?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
|
|
16
16
|
onBlur?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
|
|
17
17
|
placeholder?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Picker.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAY,oBAAoB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAa7E,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACpD,aAAa,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Picker.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAY,oBAAoB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAa7E,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,WAAY,SAAQ,iBAAiB,EAAE,cAAc;IACpE,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,oBAAoB,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAC3D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,oBAAoB,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC;CAC9C;;;;AAiJD,wBAEG"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { ViewProps } from '../View';
|
|
3
3
|
export interface PickerItemProps extends ViewProps {
|
|
4
4
|
label: string;
|
|
5
|
-
value
|
|
5
|
+
value: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
8
|
declare const PickerItem: React.ForwardRefExoticComponent<PickerItemProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerItem.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAElD,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,
|
|
1
|
+
{"version":3,"file":"PickerItem.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAElD,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,qGAad,CAAC;AAIH,eAAe,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormCheckInputProps } from './FormCheckInput';
|
|
3
3
|
export interface RadioProps extends Omit<FormCheckInputProps, 'value' | 'type'> {
|
|
4
|
-
value
|
|
4
|
+
value: boolean | number | string | object | null;
|
|
5
5
|
}
|
|
6
6
|
declare const _default: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<import("react-native").View>> & {
|
|
7
7
|
Group: React.ForwardRefExoticComponent<import("./RadioGroup").RadioGroupProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAuB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvE,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAAC;IACnD,KAAK,
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAuB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvE,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAAC;IACnD,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAClD;;;;AAwBD,wBAEG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type RadioContextType = {
|
|
3
|
-
selectedValue?: boolean | number | string | object;
|
|
4
|
-
onValueChange: (value
|
|
3
|
+
selectedValue?: boolean | number | string | object | null | undefined;
|
|
4
|
+
onValueChange: (value: boolean | number | string | object | null) => void;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const RadioContext: React.Context<RadioContextType | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioContext.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/RadioContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACtB,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioContext.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/RadioContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACtB,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtE,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1E,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,YAAY,wCAAqD,CAAC;AAIxE,eAAe,YAAY,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ViewProps } from '../View';
|
|
3
3
|
export interface RadioGroupProps extends ViewProps {
|
|
4
|
-
selectedValue?: boolean | number | string | object;
|
|
5
|
-
onValueChange?: (value
|
|
4
|
+
selectedValue?: boolean | number | string | object | null | undefined;
|
|
5
|
+
onValueChange?: (value: any) => void;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
8
|
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAGnD,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAGnD,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAGtE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,qGAyBd,CAAC;AAIH,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerNative.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,SAAS,EAKV,MAAM,cAAc,CAAC;AAQtB,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,WAAW,CAAC;AAGjE,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAsFD,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"PickerNative.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,SAAS,EAKV,MAAM,cAAc,CAAC;AAQtB,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,WAAW,CAAC;AAGjE,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAsFD,QAAA,MAAM,YAAY,uGAoFjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type PickerNativeContextType = {
|
|
3
|
-
selectedValue?:
|
|
4
|
-
handleValueChange: (value
|
|
3
|
+
selectedValue?: string | null | undefined;
|
|
4
|
+
handleValueChange: (value: string) => void;
|
|
5
5
|
};
|
|
6
6
|
declare const PickerNativeContext: React.Context<PickerNativeContextType | null>;
|
|
7
7
|
export default PickerNativeContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerNativeContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNativeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,uBAAuB,GAAG;IAC7B,aAAa,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"PickerNativeContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNativeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,uBAAuB,GAAG;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,QAAA,MAAM,mBAAmB,+CAExB,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ViewProps } from '../../View';
|
|
3
3
|
export interface PickerNativeItemProps extends ViewProps {
|
|
4
4
|
label: string;
|
|
5
|
-
value
|
|
5
|
+
value: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
8
|
declare const PickerNativeItem: React.ForwardRefExoticComponent<PickerNativeItemProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerNativeItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNativeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,
|
|
1
|
+
{"version":3,"file":"PickerNativeItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerNativeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAUD,QAAA,MAAM,gBAAgB,2GA4BrB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { ViewProps } from '../../View';
|
|
3
3
|
export interface PickerWebItemProps extends ViewProps {
|
|
4
4
|
label: string;
|
|
5
|
-
value
|
|
5
|
+
value: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
8
|
declare const PickerWebItem: React.ForwardRefExoticComponent<PickerWebItemProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerWebItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerWebItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAErD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,
|
|
1
|
+
{"version":3,"file":"PickerWebItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/internals/PickerWebItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAErD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,wGAgBlB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -5,7 +5,7 @@ export interface ListGroupProps extends ViewProps {
|
|
|
5
5
|
}
|
|
6
6
|
declare const _default: React.ForwardRefExoticComponent<ListGroupProps & React.RefAttributes<import("react-native").View>> & {
|
|
7
7
|
Item: React.ForwardRefExoticComponent<import("./ListGroupItem").ListGroupItemProps & React.RefAttributes<import("react-native").View>>;
|
|
8
|
-
ItemAction: React.ForwardRefExoticComponent<import("./ListGroupItemAction").
|
|
8
|
+
ItemAction: React.ForwardRefExoticComponent<import("./ListGroupItemAction").ListGroupItemActionProps & React.RefAttributes<import("react-native").View>>;
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=ListGroup.d.ts.map
|