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
|
@@ -7,7 +7,19 @@ export interface ListGroupItemProps extends ViewProps {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const styles: {
|
|
10
|
-
|
|
10
|
+
".list-group-item": import("../../types").ExtendedStyle;
|
|
11
|
+
".list-group-item --text": import("../../types").ExtendedStyle;
|
|
12
|
+
".list-group-item:first-child": import("../../types").ExtendedStyle;
|
|
13
|
+
".list-group-item:last-child": import("../../types").ExtendedStyle;
|
|
14
|
+
".list-group-item.disabled": import("../../types").ExtendedStyle;
|
|
15
|
+
".list-group-item.disabled --text": import("../../types").ExtendedStyle;
|
|
16
|
+
".list-group-item.active": import("../../types").ExtendedStyle;
|
|
17
|
+
".list-group-item.active --text": import("../../types").ExtendedStyle;
|
|
18
|
+
".list-group-item + .list-group-item": import("../../types").ExtendedStyle;
|
|
19
|
+
".list-group-item + .list-group-item.active": import("../../types").ExtendedStyle;
|
|
20
|
+
".list-group-item-flush": import("../../types").ExtendedStyle;
|
|
21
|
+
".list-group-item-flush:last-child": import("../../types").ExtendedStyle;
|
|
22
|
+
".list-group-item-flush + .list-group-item-flush.active": import("../../types").ExtendedStyle;
|
|
11
23
|
};
|
|
12
24
|
declare const ListGroupItem: React.ForwardRefExoticComponent<ListGroupItemProps & React.RefAttributes<import("react-native").View>>;
|
|
13
25
|
export default ListGroupItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/list-group/ListGroupItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"ListGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/list-group/ListGroupItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAwEjB,CAAC;AAEH,QAAA,MAAM,aAAa,wGAqDlB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { PressableProps } from '../Pressable';
|
|
3
3
|
import { THEME_COLORS } from '../../theme/proxies';
|
|
4
4
|
import type { UseTabbableProps } from '../../types';
|
|
5
|
-
export interface
|
|
5
|
+
export interface ListGroupItemActionProps extends UseTabbableProps, PressableProps {
|
|
6
6
|
color?: keyof typeof THEME_COLORS;
|
|
7
7
|
}
|
|
8
|
-
declare const ListGroupItemAction: React.ForwardRefExoticComponent<
|
|
8
|
+
declare const ListGroupItemAction: React.ForwardRefExoticComponent<ListGroupItemActionProps & React.RefAttributes<import("react-native").View>>;
|
|
9
9
|
export default ListGroupItemAction;
|
|
10
10
|
//# sourceMappingURL=ListGroupItemAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListGroupItemAction.d.ts","sourceRoot":"","sources":["../../../../src/components/list-group/ListGroupItemAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAkB,EAAgB,cAAc,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,OAAO,KAAK,EAAkB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ListGroupItemAction.d.ts","sourceRoot":"","sources":["../../../../src/components/list-group/ListGroupItemAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAkB,EAAgB,cAAc,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,OAAO,KAAK,EAAkB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,WAAW,wBACf,SAAQ,gBAAgB,EACtB,cAAc;IAChB,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CACnC;AA6FD,QAAA,MAAM,mBAAmB,8GA4EvB,CAAC;AAIH,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ScrollViewProps } from '../ScrollView';
|
|
3
3
|
import { ExtendedTextStyle, ExtendedViewStyle, StyleProp } from '../../types';
|
|
4
|
-
export interface ModalProps extends
|
|
4
|
+
export interface ModalProps extends ScrollViewProps {
|
|
5
5
|
visible: boolean;
|
|
6
6
|
size?: 'sm' | 'lg' | 'xl';
|
|
7
7
|
backdrop?: boolean | 'static';
|
|
8
8
|
scrollable?: boolean;
|
|
9
9
|
centered?: boolean;
|
|
10
10
|
onToggle: () => void;
|
|
11
|
-
contentContainerStyle?: StyleProp<ExtendedViewStyle>;
|
|
12
11
|
dialogStyle?: StyleProp<ExtendedViewStyle>;
|
|
13
12
|
contentStyle?: StyleProp<ExtendedViewStyle>;
|
|
14
13
|
dialogTextStyle?: StyleProp<ExtendedTextStyle>;
|
|
15
14
|
contentTextStyle?: StyleProp<ExtendedTextStyle>;
|
|
16
15
|
}
|
|
17
|
-
declare const _default: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<import("react-native").View>> & {
|
|
18
|
-
Context: React.Context<
|
|
19
|
-
scrollable: boolean;
|
|
20
|
-
} | null>;
|
|
16
|
+
declare const _default: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<import("react-native").View | import("react-native").ScrollView>> & {
|
|
17
|
+
Context: React.Context<import("./ModalContext").ModalContextProps | null>;
|
|
21
18
|
Header: React.ForwardRefExoticComponent<import("./ModalHeader").ModalHeaderProps & React.RefAttributes<import("react-native").View>>;
|
|
22
19
|
Title: React.ForwardRefExoticComponent<import("./ModalTitle").ModalTitleProps & React.RefAttributes<import("react-native").Text>>;
|
|
23
20
|
Body: React.ForwardRefExoticComponent<import("./ModalBody").ModalBodyProps & React.RefAttributes<import("react-native").View | import("react-native").ScrollView>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAMtC,OAAmB,EAAiB,eAAe,EAAE,MAAM,eAAe,CAAC;AAS3E,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE9E,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC3C,YAAY,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC5C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C,gBAAgB,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CACjD;;;;;;;;AAuMD,wBAMG"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { ExtendedTextStyle, StyleProp } from '../../types';
|
|
5
|
-
export interface ModalBodyProps extends ViewProps {
|
|
6
|
-
contentContainerStyle?: StyleProp<ExtendedTextStyle>;
|
|
2
|
+
import { ScrollViewProps } from '../ScrollView';
|
|
3
|
+
export interface ModalBodyProps extends ScrollViewProps {
|
|
7
4
|
}
|
|
8
|
-
declare const ModalBody: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<
|
|
5
|
+
declare const ModalBody: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<import("react-native").View | import("react-native").ScrollView>>;
|
|
9
6
|
export default ModalBody;
|
|
10
7
|
//# sourceMappingURL=ModalBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAmB,EAAiB,eAAe,EAAE,MAAM,eAAe,CAAC;AAG3E,MAAM,WAAW,cAAe,SAAQ,eAAe;CAAG;AAc1D,QAAA,MAAM,SAAS,wIAwBd,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
export interface ModalContextProps {
|
|
3
3
|
scrollable: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare const ModalContext: React.Context<
|
|
4
|
+
}
|
|
5
|
+
declare const ModalContext: React.Context<ModalContextProps | null>;
|
|
6
6
|
export default ModalContext;
|
|
7
7
|
//# sourceMappingURL=ModalContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,
|
|
1
|
+
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/ModalContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,YAAY,yCAAsD,CAAC;AAIzE,eAAe,YAAY,CAAC"}
|
|
@@ -5,9 +5,7 @@ export interface NavProps extends ViewProps {
|
|
|
5
5
|
variant?: NavVariant;
|
|
6
6
|
}
|
|
7
7
|
declare const _default: React.ForwardRefExoticComponent<NavProps & React.RefAttributes<import("react-native").View>> & {
|
|
8
|
-
Context: React.Context<
|
|
9
|
-
variant?: NavVariant | undefined;
|
|
10
|
-
} | null>;
|
|
8
|
+
Context: React.Context<import("./NavContext").NavContextProps | null>;
|
|
11
9
|
Link: React.ForwardRefExoticComponent<import("./NavLink").NavLinkProps & React.RefAttributes<import("react-native").View>>;
|
|
12
10
|
};
|
|
13
11
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/Nav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAKnD,OAAmB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAItD,MAAM,WAAW,QAAS,SAAQ,SAAS;IACzC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB
|
|
1
|
+
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/Nav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAKnD,OAAmB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAItD,MAAM,WAAW,QAAS,SAAQ,SAAS;IACzC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB;;;;;AAuFD,wBAGG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export type NavVariant = 'tabs' | 'pills';
|
|
3
|
-
|
|
3
|
+
export interface NavContextProps {
|
|
4
4
|
variant?: NavVariant;
|
|
5
|
-
}
|
|
6
|
-
declare const NavContext: import("react").Context<
|
|
5
|
+
}
|
|
6
|
+
declare const NavContext: import("react").Context<NavContextProps | null>;
|
|
7
7
|
export default NavContext;
|
|
8
8
|
//# sourceMappingURL=NavContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavContext.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/NavContext.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1C,
|
|
1
|
+
{"version":3,"file":"NavContext.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/NavContext.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,iDAA8C,CAAC;AAI/D,eAAe,UAAU,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import TabProvider from './TabProvider';
|
|
3
3
|
import useToggleTab from './useToggleTab';
|
|
4
4
|
declare const _default: {
|
|
5
|
-
Context: import("react").Context<import("./TabContext").
|
|
5
|
+
Context: import("react").Context<import("./TabContext").TabContextProps | null>;
|
|
6
6
|
Provider: typeof TabProvider;
|
|
7
7
|
Content: import("react").ForwardRefExoticComponent<import("./TabContent").TabContentProps & import("react").RefAttributes<import("react-native").View>>;
|
|
8
8
|
Pane: import("react").ForwardRefExoticComponent<import("./TabPane").TabPaneProps & import("react").RefAttributes<import("react-native").View>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export
|
|
2
|
+
export interface TabContextProps {
|
|
3
3
|
identifier: string;
|
|
4
4
|
activeTarget: string;
|
|
5
5
|
setActiveTarget: (target: string) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const TabContext: import("react").Context<
|
|
6
|
+
}
|
|
7
|
+
declare const TabContext: import("react").Context<TabContextProps | null>;
|
|
8
8
|
export default TabContext;
|
|
9
9
|
//# sourceMappingURL=TabContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabContext.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/TabContext.ts"],"names":[],"mappings":";AAEA,MAAM,
|
|
1
|
+
{"version":3,"file":"TabContext.d.ts","sourceRoot":"","sources":["../../../../src/components/nav/TabContext.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,UAAU,iDAA8C,CAAC;AAI/D,eAAe,UAAU,CAAC"}
|
|
@@ -11,7 +11,7 @@ export interface NavbarProps extends ViewProps {
|
|
|
11
11
|
expand?: NavbarExpand;
|
|
12
12
|
}
|
|
13
13
|
declare const _default: React.ForwardRefExoticComponent<NavbarProps & React.RefAttributes<import("react-native").View>> & {
|
|
14
|
-
Brand: React.ForwardRefExoticComponent<import("./NavbarBrand").
|
|
14
|
+
Brand: React.ForwardRefExoticComponent<import("./NavbarBrand").NavbarBrandProps & React.RefAttributes<import("react-native").View>>;
|
|
15
15
|
Text: React.ForwardRefExoticComponent<import("./NavbarText").NavbarTextProps & React.RefAttributes<import("react-native").View>>;
|
|
16
16
|
Collapse: React.ForwardRefExoticComponent<import("./NavbarCollapse").NavbarCollapseProps & React.RefAttributes<import("react-native").View>>;
|
|
17
17
|
Toggler: React.ForwardRefExoticComponent<import("./NavbarToggler").NavbarTogglerProps & React.RefAttributes<import("react-native").View>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PressableProps } from '../Pressable';
|
|
3
|
-
export interface
|
|
3
|
+
export interface NavbarBrandProps extends PressableProps {
|
|
4
4
|
}
|
|
5
|
-
declare const NavbarBrand: React.ForwardRefExoticComponent<
|
|
5
|
+
declare const NavbarBrand: React.ForwardRefExoticComponent<NavbarBrandProps & React.RefAttributes<import("react-native").View>>;
|
|
6
6
|
export default NavbarBrand;
|
|
7
7
|
//# sourceMappingURL=NavbarBrand.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarBrand.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/NavbarBrand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAKvE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"NavbarBrand.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/NavbarBrand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAE,cAAc,EAAgB,MAAM,cAAc,CAAC;AAKvE,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AA2C3D,QAAA,MAAM,WAAW,sGAwBhB,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export type NavbarExpand = true | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
3
3
|
export type NavbarVariant = 'light' | 'dark';
|
|
4
|
-
export type
|
|
4
|
+
export type NavbarContextProps = {
|
|
5
5
|
identifier: string;
|
|
6
6
|
variant?: NavbarVariant;
|
|
7
7
|
expanded?: boolean;
|
|
8
8
|
setExpanded: (expanded: boolean | ((currentState: boolean) => boolean)) => void;
|
|
9
9
|
expand?: NavbarExpand;
|
|
10
10
|
};
|
|
11
|
-
declare const NavbarContext: import("react").Context<
|
|
11
|
+
declare const NavbarContext: import("react").Context<NavbarContextProps | null>;
|
|
12
12
|
export default NavbarContext;
|
|
13
13
|
//# sourceMappingURL=NavbarContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarContext.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/NavbarContext.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"NavbarContext.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/NavbarContext.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CACX,QAAQ,EAAE,OAAO,GAAG,CAAC,CAAC,YAAY,EAAE,OAAO,KAAK,OAAO,CAAC,KACrD,IAAI,CAAC;IACV,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,aAAa,oDAAiD,CAAC;AAIrE,eAAe,aAAa,CAAC"}
|
|
@@ -11,9 +11,7 @@ export interface OffcanvasProps extends ViewProps {
|
|
|
11
11
|
dialogTextStyle?: StyleProp<ExtendedTextStyle>;
|
|
12
12
|
}
|
|
13
13
|
declare const _default: React.ForwardRefExoticComponent<OffcanvasProps & React.RefAttributes<import("react-native").View>> & {
|
|
14
|
-
Context: React.Context<
|
|
15
|
-
[x: string]: never;
|
|
16
|
-
} | null>;
|
|
14
|
+
Context: React.Context<import("./OffcanvasContext").OffcanvasContextProps | null>;
|
|
17
15
|
Header: React.ForwardRefExoticComponent<import("./OffcanvasHeader").OffcanvasHeaderProps & React.RefAttributes<import("react-native").View>>;
|
|
18
16
|
Title: React.ForwardRefExoticComponent<import("./OffcanvasTitle").OffcanvasTitleProps & React.RefAttributes<import("react-native").Text>>;
|
|
19
17
|
Body: React.ForwardRefExoticComponent<import("./OffcanvasBody").OffcanvasBodyProps & React.RefAttributes<import("react-native").ScrollView>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Offcanvas.d.ts","sourceRoot":"","sources":["../../../../src/components/offcanvas/Offcanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAWnD,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACV,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CAChD
|
|
1
|
+
{"version":3,"file":"Offcanvas.d.ts","sourceRoot":"","sources":["../../../../src/components/offcanvas/Offcanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAWnD,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACV,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CAChD;;;;;;;AAgND,wBAKG"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ScrollViewProps } from '../ScrollView';
|
|
3
3
|
import type { ExtendedViewStyle, StyleProp } from '../../types';
|
|
4
|
-
|
|
5
|
-
export interface OffcanvasBodyProps extends ViewProps {
|
|
4
|
+
export interface OffcanvasBodyProps extends ScrollViewProps {
|
|
6
5
|
contentContainerStyle?: StyleProp<ExtendedViewStyle>;
|
|
7
6
|
}
|
|
8
|
-
declare const OffcanvasBody: React.ForwardRefExoticComponent<OffcanvasBodyProps & React.RefAttributes<
|
|
7
|
+
declare const OffcanvasBody: React.ForwardRefExoticComponent<OffcanvasBodyProps & React.RefAttributes<import("react-native").ScrollView>>;
|
|
9
8
|
export default OffcanvasBody;
|
|
10
9
|
//# sourceMappingURL=OffcanvasBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffcanvasBody.d.ts","sourceRoot":"","sources":["../../../../src/components/offcanvas/OffcanvasBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OffcanvasBody.d.ts","sourceRoot":"","sources":["../../../../src/components/offcanvas/OffcanvasBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAmB,EAAE,eAAe,EAAiB,MAAM,eAAe,CAAC;AAK3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEhE,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,qBAAqB,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAqBD,QAAA,MAAM,aAAa,8GA0BlB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type
|
|
3
|
-
declare const OffcanvasContext: React.Context<
|
|
2
|
+
export type OffcanvasContextProps = Record<string, never>;
|
|
3
|
+
declare const OffcanvasContext: React.Context<OffcanvasContextProps | null>;
|
|
4
4
|
export default OffcanvasContext;
|
|
5
5
|
//# sourceMappingURL=OffcanvasContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffcanvasContext.d.ts","sourceRoot":"","sources":["../../../../src/components/offcanvas/OffcanvasContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,
|
|
1
|
+
{"version":3,"file":"OffcanvasContext.d.ts","sourceRoot":"","sources":["../../../../src/components/offcanvas/OffcanvasContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE1D,QAAA,MAAM,gBAAgB,6CAErB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TriggerProps } from '../../hooks/useTrigger';
|
|
3
|
-
import Pressable, { PressableProps } from '../Pressable';
|
|
4
3
|
import type { Trigger, Axis } from '../../types';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
popover: PopoverProps;
|
|
4
|
+
export interface InjectPopoverProps {
|
|
5
|
+
popover: {
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
content: React.ReactNode;
|
|
8
|
+
autoClose?: boolean | 'inside' | 'outside';
|
|
9
|
+
trigger?: Trigger;
|
|
10
|
+
placement?: Axis;
|
|
11
|
+
} & TriggerProps;
|
|
14
12
|
}
|
|
15
|
-
export default function injectPopover(Target:
|
|
16
|
-
export {};
|
|
13
|
+
export default function injectPopover<Props>(Target: React.ComponentType<Props>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Props & InjectPopoverProps> & React.RefAttributes<import("react-native").View>>;
|
|
17
14
|
//# sourceMappingURL=injectPopover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/injectPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAmB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"injectPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/injectPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAmB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAKlE,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE;QACP,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;QAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,IAAI,CAAC;KAClB,GAAG,YAAY,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EACzC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,yIA0EnC"}
|
|
@@ -2,6 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { ViewProps } from '../View';
|
|
3
3
|
export interface ToastContainerProps extends ViewProps {
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const _default: React.ForwardRefExoticComponent<ToastContainerProps & React.RefAttributes<import("react-native").View>> & {
|
|
6
|
+
Context: React.Context<true | null>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
7
9
|
//# sourceMappingURL=ToastContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/toasts/ToastContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAKnD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;CAAG
|
|
1
|
+
{"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/toasts/ToastContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAa,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAKnD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;CAAG;;;;AA8BzD,wBAEG"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TriggerProps } from '../../hooks/useTrigger';
|
|
3
|
-
import Pressable, { PressableProps } from '../Pressable';
|
|
4
3
|
import type { Trigger, Axis } from '../../types';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
tooltip: TooltipProps;
|
|
4
|
+
export interface InjectTooltipProps {
|
|
5
|
+
tooltip: {
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
autoClose?: boolean | 'inside' | 'outside';
|
|
8
|
+
trigger?: Trigger;
|
|
9
|
+
placement?: Axis;
|
|
10
|
+
} & TriggerProps;
|
|
13
11
|
}
|
|
14
|
-
export default function injectTooltip(Target:
|
|
15
|
-
export {};
|
|
12
|
+
export default function injectTooltip<Props>(Target: React.ComponentType<Props>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Props & InjectTooltipProps> & React.RefAttributes<import("react-native").View>>;
|
|
16
13
|
//# sourceMappingURL=injectTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/injectTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAmB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"injectTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/injectTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAmB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAKlE,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;QAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,IAAI,CAAC;KAClB,GAAG,YAAY,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EACzC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,yIAuEnC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { BaseStyle } from '../types';
|
|
3
3
|
export default function useBackground(style: BaseStyle[]): {
|
|
4
|
-
style: import("react-native").ViewStyle | import("react-native").ImageStyle
|
|
4
|
+
style: import("react-native").ViewStyle | (Omit<import("react-native").ImageStyle, "overflow"> & {
|
|
5
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
6
|
+
}) | import("react-native").TextStyle;
|
|
5
7
|
element: React.JSX.Element;
|
|
6
8
|
};
|
|
7
9
|
//# sourceMappingURL=useBackground.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBackground.native.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBackground.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,UAAU,CAAC;AA2JzD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,SAAS,EAAE
|
|
1
|
+
{"version":3,"file":"useBackground.native.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBackground.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,UAAU,CAAC;AA2JzD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,SAAS,EAAE;;;;;EA2CvD"}
|
package/lib/types/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';
|