@sikka/hawa 0.0.227 → 0.0.229

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,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Box: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ export declare const Box: (props: any) => React.JSX.Element;
@@ -1,23 +1,24 @@
1
+ import * as React from "react";
1
2
  import { Meta } from "@storybook/react";
2
3
  declare const _default: Meta<import("@storybook/react").Args>;
3
4
  export default _default;
4
5
  export declare const ButtonVariationsStory: {
5
- (): JSX.Element;
6
+ (): React.JSX.Element;
6
7
  storyName: string;
7
8
  };
8
9
  export declare const ButtonLoadingStory: {
9
- (): JSX.Element;
10
+ (): React.JSX.Element;
10
11
  storyName: string;
11
12
  };
12
13
  export declare const ButtonWidthStory: {
13
- (): JSX.Element;
14
+ (): React.JSX.Element;
14
15
  storyName: string;
15
16
  };
16
17
  export declare const ButtonSizesStory: {
17
- (): JSX.Element;
18
+ (): React.JSX.Element;
18
19
  storyName: string;
19
20
  };
20
21
  export declare const ButtonIconsStory: {
21
- (): JSX.Element;
22
+ (): React.JSX.Element;
22
23
  storyName: string;
23
24
  };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type TNoPermission = {
3
+ variant?: "outlined" | "contained" | "neobrutalism";
4
+ };
5
+ export declare const NoPermission: React.FunctionComponent<TNoPermission>;
6
+ export {};
@@ -3,3 +3,4 @@ export * from "./EmptyState";
3
3
  export * from "./Newsletter";
4
4
  export * from "./Testimonial";
5
5
  export * from "./LeadGenerator";
6
+ export * from "./NoPermission";
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
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
3
  cardHolder: any;
4
4
  cardMonth: any;
@@ -22,4 +22,4 @@ export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv,
22
22
  transaction: any;
23
23
  signature: any;
24
24
  isCheckout: any;
25
- }) => JSX.Element;
25
+ }) => React.JSX.Element;
@@ -14,6 +14,7 @@ interface TMenuTypes {
14
14
  }
15
15
  type MenuItems = {
16
16
  icon?: JSX.Element;
17
+ disabled?: boolean;
17
18
  label: string;
18
19
  action?: (e: any) => void;
19
20
  isButton?: boolean;
@@ -8,6 +8,7 @@ type THawaSnackBar = {
8
8
  position?: "top-left" | "top-center" | "top-right" | "bottom-right" | "bottom-center" | "bottom-left";
9
9
  actions?: [
10
10
  {
11
+ icon?: any;
11
12
  label: string;
12
13
  onClick: any;
13
14
  variant: "contained" | "outlined";
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ type ComponentTypes = {
3
+ title?: string;
4
+ question: string;
5
+ options?: [];
6
+ texts?: {
7
+ least: string;
8
+ most: string;
9
+ };
10
+ onOptionClicked?: (option: any) => void;
11
+ };
12
+ export declare const UserFeedback: React.FunctionComponent<ComponentTypes>;
13
+ export {};
@@ -30,6 +30,7 @@ export * from "./SubsectionList";
30
30
  export * from "./UsageCard";
31
31
  export * from "./InvoiceAccordion";
32
32
  export * from "./HawaDatepicker";
33
+ export * from "./UserFeedback";
33
34
  export * from "./HawaTextField";
34
35
  export * from "./HawaCardInput";
35
36
  export * from "./HawaPinInput";