@sikka/hawa 0.0.205 → 0.0.207
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 +128 -17
- package/es/elements/HawaButton.d.ts +4 -2
- package/es/elements/HawaChip.d.ts +3 -0
- package/es/elements/HawaCopyrights.d.ts +1 -0
- package/es/elements/HawaPricingCard.d.ts +1 -0
- package/es/elements/{HawaTimeline.d.ts → HawaStepper.d.ts} +1 -1
- package/es/elements/HawaTable.d.ts +7 -2
- package/es/elements/HawaTabs.d.ts +1 -1
- package/es/elements/HawaTooltip.d.ts +0 -1
- package/es/elements/index.d.ts +1 -1
- package/es/index.es.js +1 -1
- package/lib/elements/HawaButton.d.ts +4 -2
- package/lib/elements/HawaChip.d.ts +3 -0
- package/lib/elements/HawaCopyrights.d.ts +1 -0
- package/lib/elements/HawaPricingCard.d.ts +1 -0
- package/lib/elements/{HawaTimeline.d.ts → HawaStepper.d.ts} +1 -1
- package/lib/elements/HawaTable.d.ts +7 -2
- package/lib/elements/HawaTabs.d.ts +1 -1
- package/lib/elements/HawaTooltip.d.ts +0 -1
- package/lib/elements/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -2
- package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -1
- package/src/blocks/AuthForms/SignInPhone.tsx +2 -14
- package/src/blocks/AuthForms/SignUpForm.tsx +1 -5
- package/src/blocks/Pricing/PricingPlans.tsx +16 -10
- package/src/blocks/Referral/ReferralAccount.tsx +0 -2
- package/src/elements/Breadcrumb.tsx +5 -2
- package/src/elements/HawaAccordion.tsx +0 -1
- package/src/elements/HawaButton.tsx +70 -51
- package/src/elements/HawaCheckbox.tsx +0 -1
- package/src/elements/HawaChip.tsx +29 -4
- package/src/elements/HawaCopyrights.tsx +5 -10
- package/src/elements/HawaDrawer.tsx +2 -5
- package/src/elements/HawaItemCard.tsx +0 -13
- package/src/elements/HawaMenu.tsx +1 -2
- package/src/elements/HawaModal.tsx +0 -2
- package/src/elements/HawaPhoneInput.tsx +1 -5
- package/src/elements/HawaPricingCard.tsx +52 -96
- package/src/elements/HawaSelect.tsx +3 -7
- package/src/elements/HawaStepper.tsx +97 -0
- package/src/elements/HawaTable.tsx +224 -209
- package/src/elements/HawaTabs.tsx +10 -18
- package/src/elements/HawaTextField.tsx +7 -8
- package/src/elements/HawaTooltip.tsx +0 -1
- package/src/elements/InvoiceAccordion.tsx +2 -7
- package/src/elements/TabPanel.tsx +0 -13
- package/src/elements/index.ts +1 -1
- package/src/hooks/useBreakpoint.ts +2 -3
- package/src/hooks/useTable.ts +6 -4
- package/src/styles.css +128 -17
- package/src/elements/HawaTimeline.tsx +0 -84
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
variant?: "contained" | "outlined";
|
|
4
|
-
buttonID?: any;
|
|
5
4
|
tooltipDirection?: "rtl" | "ltr";
|
|
6
5
|
color?: "default" | "primary" | "secondary";
|
|
7
6
|
width?: "full" | "normal" | "half";
|
|
@@ -10,7 +9,10 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
10
9
|
tooltip?: string;
|
|
11
10
|
tooltipSize?: "normal" | "small" | "large";
|
|
12
11
|
tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
12
|
+
startIcon?: any;
|
|
13
|
+
endIcon?: any;
|
|
13
14
|
isLoading?: boolean;
|
|
15
|
+
badge?: any;
|
|
14
16
|
}
|
|
15
|
-
export declare
|
|
17
|
+
export declare const HawaButton: React.FunctionComponent<ButtonProps>;
|
|
16
18
|
export {};
|
|
@@ -4,16 +4,21 @@ type TableTypes = {
|
|
|
4
4
|
actions?: ActionItems[][];
|
|
5
5
|
direction?: "rtl" | "ltr";
|
|
6
6
|
rows?: any[any];
|
|
7
|
-
noDataText?: any;
|
|
8
7
|
handleActionClick?: any;
|
|
9
8
|
end?: any;
|
|
10
9
|
size?: "normal" | "small";
|
|
11
10
|
highlightFirst?: boolean;
|
|
12
11
|
customColor?: string;
|
|
13
12
|
clickable?: boolean;
|
|
14
|
-
|
|
13
|
+
texts?: {
|
|
14
|
+
actions?: string;
|
|
15
|
+
noData?: any;
|
|
16
|
+
items?: string;
|
|
17
|
+
page?: string;
|
|
18
|
+
};
|
|
15
19
|
bordersWidth?: string;
|
|
16
20
|
onActionClicked?: any;
|
|
21
|
+
headerTools?: boolean;
|
|
17
22
|
borders?: "all" | "cols" | "rows" | "outer" | "inner";
|
|
18
23
|
};
|
|
19
24
|
type ActionItems = {
|
|
@@ -3,11 +3,11 @@ type TabsTypes = {
|
|
|
3
3
|
options?: any;
|
|
4
4
|
onChangeTab?: any;
|
|
5
5
|
defaultValue?: any;
|
|
6
|
-
contents?: any;
|
|
7
6
|
orientation?: "horizontal" | "vertical";
|
|
8
7
|
direction?: "rtl" | "ltr";
|
|
9
8
|
marginBetween?: any;
|
|
10
9
|
width?: "full" | "normal";
|
|
10
|
+
pill?: boolean;
|
|
11
11
|
};
|
|
12
12
|
export declare const HawaTabs: React.FunctionComponent<TabsTypes>;
|
|
13
13
|
export {};
|
|
@@ -4,7 +4,6 @@ type THawaToolTip = {
|
|
|
4
4
|
content?: string;
|
|
5
5
|
btnHovered?: any;
|
|
6
6
|
buttonRef?: any;
|
|
7
|
-
buttonID?: any;
|
|
8
7
|
direction?: "rtl" | "ltr";
|
|
9
8
|
size?: "normal" | "small" | "large";
|
|
10
9
|
position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
package/lib/elements/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export * from "./HawaTabs";
|
|
|
20
20
|
export * from "./HawaModal";
|
|
21
21
|
export * from "./HawaMenu";
|
|
22
22
|
export * from "./HawaCopyrights";
|
|
23
|
-
export * from "./
|
|
23
|
+
export * from "./HawaStepper";
|
|
24
24
|
export * from "./Breadcrumb";
|
|
25
25
|
export * from "./HawaStats";
|
|
26
26
|
export * from "./HawaSpinner";
|