@invoicebox/ui 0.1.0-alpha.274 → 0.1.0-alpha.275
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.
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import 'react-spring-bottom-sheet/dist/style.css';
|
|
2
|
+
import '@nipe-solutions/react-spring-bottom-sheet/dist/style.css';
|
|
3
3
|
import { TDrawerPalette } from './palette';
|
|
4
4
|
export declare const BottomSheet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
|
|
5
5
|
children: import("react").ReactNode;
|
|
6
6
|
sibling?: import("react").ReactNode;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
springConfig?: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringConfig | undefined;
|
|
8
|
+
onSpringStart?: ((event: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringEvent) => void) | undefined;
|
|
9
|
+
onSpringCancel?: ((event: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringEvent) => void) | undefined;
|
|
10
|
+
onSpringEnd?: ((event: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringEvent) => void) | undefined;
|
|
10
11
|
open: boolean;
|
|
11
12
|
className?: string | undefined;
|
|
12
13
|
footer?: import("react").ReactNode;
|
|
@@ -16,13 +17,13 @@ export declare const BottomSheet: import("styled-components/dist/types").IStyled
|
|
|
16
17
|
blocking?: boolean | undefined;
|
|
17
18
|
maxHeight?: number | undefined;
|
|
18
19
|
scrollLocking?: boolean | undefined;
|
|
19
|
-
snapPoints?: import("react-spring-bottom-sheet/dist/types").snapPoints | undefined;
|
|
20
|
-
defaultSnap?: number | ((props: import("react-spring-bottom-sheet/dist/types").defaultSnapProps) => number) | undefined;
|
|
20
|
+
snapPoints?: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").snapPoints | undefined;
|
|
21
|
+
defaultSnap?: number | ((props: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").defaultSnapProps) => number) | undefined;
|
|
21
22
|
reserveScrollBarGap?: boolean | undefined;
|
|
22
23
|
skipInitialTransition?: boolean | undefined;
|
|
23
24
|
expandOnContentDrag?: boolean | undefined;
|
|
24
|
-
} & Omit<
|
|
25
|
-
ref?: ((instance: import("react-spring-bottom-sheet").BottomSheetRef | null) => void) | import("react").RefObject<import("react-spring-bottom-sheet").BottomSheetRef> | null | undefined;
|
|
25
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & import("react").RefAttributes<import("@nipe-solutions/react-spring-bottom-sheet").BottomSheetRef>, "ref"> & {
|
|
26
|
+
ref?: ((instance: import("@nipe-solutions/react-spring-bottom-sheet").BottomSheetRef | null) => void) | import("react").RefObject<import("@nipe-solutions/react-spring-bottom-sheet").BottomSheetRef> | null | undefined;
|
|
26
27
|
}, {
|
|
27
28
|
$isHaveHeader: boolean;
|
|
28
29
|
$palette: TDrawerPalette;
|
|
@@ -30,9 +31,10 @@ export declare const BottomSheet: import("styled-components/dist/types").IStyled
|
|
|
30
31
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
31
32
|
children: import("react").ReactNode;
|
|
32
33
|
sibling?: import("react").ReactNode;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
springConfig?: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringConfig | undefined;
|
|
35
|
+
onSpringStart?: ((event: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringEvent) => void) | undefined;
|
|
36
|
+
onSpringCancel?: ((event: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringEvent) => void) | undefined;
|
|
37
|
+
onSpringEnd?: ((event: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").SpringEvent) => void) | undefined;
|
|
36
38
|
open: boolean;
|
|
37
39
|
className?: string | undefined;
|
|
38
40
|
footer?: import("react").ReactNode;
|
|
@@ -42,12 +44,12 @@ export declare const BottomSheet: import("styled-components/dist/types").IStyled
|
|
|
42
44
|
blocking?: boolean | undefined;
|
|
43
45
|
maxHeight?: number | undefined;
|
|
44
46
|
scrollLocking?: boolean | undefined;
|
|
45
|
-
snapPoints?: import("react-spring-bottom-sheet/dist/types").snapPoints | undefined;
|
|
46
|
-
defaultSnap?: number | ((props: import("react-spring-bottom-sheet/dist/types").defaultSnapProps) => number) | undefined;
|
|
47
|
+
snapPoints?: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").snapPoints | undefined;
|
|
48
|
+
defaultSnap?: number | ((props: import("@nipe-solutions/react-spring-bottom-sheet/dist/types").defaultSnapProps) => number) | undefined;
|
|
47
49
|
reserveScrollBarGap?: boolean | undefined;
|
|
48
50
|
skipInitialTransition?: boolean | undefined;
|
|
49
51
|
expandOnContentDrag?: boolean | undefined;
|
|
50
|
-
} & Omit<
|
|
52
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & import("react").RefAttributes<import("@nipe-solutions/react-spring-bottom-sheet").BottomSheetRef>>, keyof import("react").Component<any, {}, any>>;
|
|
51
53
|
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
52
54
|
$bg: string;
|
|
53
55
|
}>> & string;
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.Title = exports.BottomSheet = exports.Body = void 0;
|
|
8
8
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
|
-
var _reactSpringBottomSheet = require("react-spring-bottom-sheet");
|
|
10
|
-
require("react-spring-bottom-sheet/dist/style.css");
|
|
9
|
+
var _reactSpringBottomSheet = require("@nipe-solutions/react-spring-bottom-sheet");
|
|
10
|
+
require("@nipe-solutions/react-spring-bottom-sheet/dist/style.css");
|
|
11
11
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
13
|
var BottomSheet = exports.BottomSheet = (0, _styledComponents["default"])(_reactSpringBottomSheet.BottomSheet).withConfig({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@invoicebox/ui",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.275",
|
|
4
4
|
"description": "Invoicebox UI",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"scripts": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@mona-health/react-input-mask": "^3.0.3",
|
|
56
|
+
"@nipe-solutions/react-spring-bottom-sheet": "^4.0.4",
|
|
56
57
|
"hex-to-rgba": "^2.0.1",
|
|
57
58
|
"lottie-react": "^2.4.0",
|
|
58
59
|
"object.entries": "^1.1.8",
|
|
@@ -62,7 +63,6 @@
|
|
|
62
63
|
"react-currency-input-field": "^3.10.0",
|
|
63
64
|
"react-custom-scrollbars-2": "^4.5.0",
|
|
64
65
|
"react-responsive": "^9.0.2",
|
|
65
|
-
"react-spring-bottom-sheet": "^3.4.1",
|
|
66
66
|
"react-toastify": "^9.1.3"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|