@sikka/hawa 0.0.105 → 0.0.107
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/dist/styles.css +110 -30
- package/es/blocks/Misc/EmptyState.d.ts +4 -0
- package/es/blocks/Misc/index.d.ts +1 -0
- package/es/elements/DragDropImages.d.ts +1 -1
- package/es/elements/HawaCardInput.d.ts +25 -0
- package/es/elements/HawaMenu.d.ts +2 -1
- package/es/elements/HawaTimeline.d.ts +8 -0
- package/es/elements/index.d.ts +3 -1
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/useDiscloser.d.ts +7 -0
- package/es/index.d.ts +1 -0
- package/es/index.es.js +1 -1
- package/es/layout/HawaContainer.d.ts +2 -0
- package/lib/blocks/Misc/EmptyState.d.ts +4 -0
- package/lib/blocks/Misc/index.d.ts +1 -0
- package/lib/elements/DragDropImages.d.ts +1 -1
- package/lib/elements/HawaCardInput.d.ts +25 -0
- package/lib/elements/HawaMenu.d.ts +2 -1
- package/lib/elements/HawaTimeline.d.ts +8 -0
- package/lib/elements/index.d.ts +3 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useDiscloser.d.ts +7 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/layout/HawaContainer.d.ts +2 -0
- package/package.json +3 -2
- package/src/blocks/Misc/EmptyState.tsx +24 -0
- package/src/blocks/Misc/NotFound.tsx +15 -12
- package/src/blocks/Misc/index.ts +2 -1
- package/src/elements/DragDropImages.tsx +3 -3
- package/src/elements/HawaAccordian.tsx +21 -10
- package/src/elements/HawaCardInput.tsx +317 -0
- package/src/elements/HawaItemCard.tsx +6 -2
- package/src/elements/HawaMenu.tsx +10 -2
- package/src/elements/HawaTimeline.tsx +82 -0
- package/src/elements/index.ts +33 -30
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useDiscloser.ts +25 -0
- package/src/index.ts +2 -1
- package/src/layout/HawaContainer.tsx +18 -2
- package/src/styles.css +110 -30
- package/storybook-static/{209.d29fd715.iframe.bundle.js → 209.05314e10.iframe.bundle.js} +2 -2
- package/storybook-static/{209.d29fd715.iframe.bundle.js.LICENSE.txt → 209.05314e10.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.7a1984b7.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/tsconfig.json +30 -25
- package/storybook-static/main.a1546405.iframe.bundle.js +0 -1
|
@@ -2,6 +2,8 @@ import React from "react";
|
|
|
2
2
|
type ContainerTypes = {
|
|
3
3
|
maxWidth?: "full" | "small" | "normal";
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
+
variant?: "contained" | "outlined";
|
|
6
|
+
centered?: boolean;
|
|
5
7
|
};
|
|
6
8
|
export declare const HawaContainer: React.FunctionComponent<ContainerTypes>;
|
|
7
9
|
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv, rememberMe, onUpdateState, cardNumberRef, cardHolderRef, cardDateRef, cardCvvRef, rememberMeRef, onCardInputFocus, onCardInputBlur, children, handlePaymentPayfort, selectedPaymentMethod, isRegister, accessCode, shaRequestPassphrase, transaction, signature, isCheckout, }: {
|
|
3
|
+
cardHolder: any;
|
|
4
|
+
cardMonth: any;
|
|
5
|
+
cardYear: any;
|
|
6
|
+
cardCvv: any;
|
|
7
|
+
rememberMe: any;
|
|
8
|
+
onUpdateState: any;
|
|
9
|
+
cardNumberRef: any;
|
|
10
|
+
cardHolderRef: any;
|
|
11
|
+
cardDateRef: any;
|
|
12
|
+
cardCvvRef: any;
|
|
13
|
+
rememberMeRef: any;
|
|
14
|
+
onCardInputFocus: any;
|
|
15
|
+
onCardInputBlur: any;
|
|
16
|
+
children: any;
|
|
17
|
+
handlePaymentPayfort: any;
|
|
18
|
+
selectedPaymentMethod: any;
|
|
19
|
+
isRegister: any;
|
|
20
|
+
accessCode: any;
|
|
21
|
+
shaRequestPassphrase: any;
|
|
22
|
+
transaction: any;
|
|
23
|
+
signature: any;
|
|
24
|
+
isCheckout: any;
|
|
25
|
+
}) => JSX.Element;
|
|
@@ -6,7 +6,8 @@ interface TMenuTypes {
|
|
|
6
6
|
headerTitle?: string;
|
|
7
7
|
headerSubtitle?: string;
|
|
8
8
|
open?: boolean;
|
|
9
|
-
handleClose?: (
|
|
9
|
+
handleClose?: () => void;
|
|
10
|
+
handleOpen: () => void;
|
|
10
11
|
anchor?: any;
|
|
11
12
|
children?: ReactNode;
|
|
12
13
|
buttonPosition?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
package/lib/elements/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from "./HawaChip";
|
|
|
6
6
|
export * from "./HawaSettingsRow";
|
|
7
7
|
export * from "./HawaSelect";
|
|
8
8
|
export * from "./HawaRange";
|
|
9
|
-
export * from "./HawaTextField";
|
|
10
9
|
export * from "./HawaTypography";
|
|
11
10
|
export * from "./HawaAlert";
|
|
12
11
|
export * from "./HawaTable";
|
|
@@ -23,6 +22,9 @@ export * from "./HawaModal";
|
|
|
23
22
|
export * from "./HawaMenu";
|
|
24
23
|
export * from "./HawaDrawer";
|
|
25
24
|
export * from "./HawaCopyrights";
|
|
25
|
+
export * from "./HawaTimeline";
|
|
26
|
+
export * from "./HawaTextField";
|
|
27
|
+
export * from "./HawaCardInput";
|
|
26
28
|
export * from "./HawaItemCard";
|
|
27
29
|
export * from "./HawaPricingCard";
|
|
28
30
|
export * from "./HawaAdCard";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./useDiscloser";
|
package/lib/index.d.ts
CHANGED