@sikka/hawa 0.0.264 → 0.0.266
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 +77 -10
- package/es/elements/HawaAlert.d.ts +2 -0
- package/es/elements/HawaButton.d.ts +3 -1
- package/es/elements/HawaCodeBlock.d.ts +1 -0
- package/es/elements/HawaInlineCode.d.ts +6 -0
- package/es/elements/Timeline.d.ts +13 -0
- package/es/elements/index.d.ts +6 -4
- package/es/index.es.js +3 -3
- package/es/layout/HawaAppLayoutSimplified.d.ts +2 -0
- package/lib/elements/HawaAlert.d.ts +2 -0
- package/lib/elements/HawaButton.d.ts +3 -1
- package/lib/elements/HawaCodeBlock.d.ts +1 -0
- package/lib/elements/HawaInlineCode.d.ts +6 -0
- package/lib/elements/Timeline.d.ts +13 -0
- package/lib/elements/index.d.ts +6 -4
- package/lib/index.js +3 -3
- package/lib/layout/HawaAppLayoutSimplified.d.ts +2 -0
- package/package.json +2 -1
- package/src/elements/HawaAlert.tsx +73 -51
- package/src/elements/HawaButton.tsx +97 -49
- package/src/elements/HawaCodeBlock.tsx +68 -19
- package/src/elements/HawaInlineCode.tsx +9 -0
- package/src/elements/HawaMenu.tsx +2 -2
- package/src/elements/Timeline.tsx +35 -0
- package/src/elements/index.ts +6 -4
- package/src/layout/HawaAppLayoutSimplified.tsx +98 -82
- package/src/styles.css +77 -10
- package/src/tailwind.css +18 -0
- package/es/stories/ElementsStories/Buttons.stories.d.ts +0 -24
- package/lib/stories/ElementsStories/Buttons.stories.d.ts +0 -24
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type HawaAppLayoutTypes = {
|
|
3
|
+
/** The pages of the side drawer */
|
|
3
4
|
drawerItems: {
|
|
4
5
|
label: string;
|
|
5
6
|
icon: any;
|
|
@@ -20,6 +21,7 @@ type HawaAppLayoutTypes = {
|
|
|
20
21
|
drawerSize?: "sm" | "md" | "large";
|
|
21
22
|
profileMenuItems?: MenuItems[][];
|
|
22
23
|
onSettingsClick?: () => void;
|
|
24
|
+
DrawerFooterActions: any;
|
|
23
25
|
};
|
|
24
26
|
type MenuItems = {
|
|
25
27
|
icon?: JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FC, ButtonHTMLAttributes } from "react";
|
|
2
2
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
variant?: "contained" | "outlined";
|
|
4
|
+
feedback?: string;
|
|
4
5
|
tooltipDirection?: "rtl" | "ltr";
|
|
5
|
-
color?: "default" | "primary" | "secondary";
|
|
6
|
+
color?: "default" | "primary" | "secondary" | "light" | "dark";
|
|
6
7
|
width?: "full" | "normal" | "half";
|
|
7
8
|
size?: "xs" | "small" | "medium" | "large" | "noPadding" | "full";
|
|
8
9
|
margins?: "none" | "1" | "2" | "3" | "4";
|
|
@@ -13,6 +14,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
13
14
|
endIcon?: any;
|
|
14
15
|
isLoading?: boolean;
|
|
15
16
|
badge?: any;
|
|
17
|
+
edgeCorner?: any;
|
|
16
18
|
}
|
|
17
19
|
export declare const HawaButton: FC<ButtonProps>;
|
|
18
20
|
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
type TimelineTypes = {
|
|
3
|
+
title: any;
|
|
4
|
+
steps: StepTypes[];
|
|
5
|
+
};
|
|
6
|
+
type StepTypes = {
|
|
7
|
+
date: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
actions?: any;
|
|
11
|
+
};
|
|
12
|
+
export declare const Timeline: FC<TimelineTypes>;
|
|
13
|
+
export {};
|
package/lib/elements/index.d.ts
CHANGED
|
@@ -13,8 +13,6 @@ export * from "./HawaTable";
|
|
|
13
13
|
export * from "./HawaColorPicker";
|
|
14
14
|
export * from "./HawaSearchBar";
|
|
15
15
|
export * from "./HawaAccordion";
|
|
16
|
-
export * from "./DragDropImages";
|
|
17
|
-
export * from "./DraggableCard";
|
|
18
16
|
export * from "./HawaPhoneInput";
|
|
19
17
|
export * from "./HawaTooltip";
|
|
20
18
|
export * from "./HawaTabs";
|
|
@@ -22,22 +20,26 @@ export * from "./HawaModal";
|
|
|
22
20
|
export * from "./HawaMenu";
|
|
23
21
|
export * from "./HawaCopyrights";
|
|
24
22
|
export * from "./HawaStepper";
|
|
25
|
-
export * from "./Breadcrumb";
|
|
26
23
|
export * from "./HawaStats";
|
|
27
24
|
export * from "./HawaCodeBlock";
|
|
28
25
|
export * from "./HawaSpinner";
|
|
29
26
|
export * from "./HawaRadio";
|
|
30
27
|
export * from "./HawaDrawer";
|
|
28
|
+
export * from "./HawaDatepicker";
|
|
29
|
+
export * from "./DragDropImages";
|
|
30
|
+
export * from "./DraggableCard";
|
|
31
|
+
export * from "./Breadcrumb";
|
|
31
32
|
export * from "./SubsectionList";
|
|
32
33
|
export * from "./UsageCard";
|
|
33
34
|
export * from "./InvoiceAccordion";
|
|
34
|
-
export * from "./HawaDatepicker";
|
|
35
35
|
export * from "./UserFeedback";
|
|
36
36
|
export * from "./ArrowCarousel";
|
|
37
37
|
export * from "./FloatingComment";
|
|
38
38
|
export * from "./FloatingCommentSlate";
|
|
39
39
|
export * from "./FloatingCommentExec";
|
|
40
40
|
export * from "./BackToTop";
|
|
41
|
+
export * from "./HawaInlineCode";
|
|
42
|
+
export * from "./Timeline";
|
|
41
43
|
export * from "./HawaTextField";
|
|
42
44
|
export * from "./HawaCardInput";
|
|
43
45
|
export * from "./HawaPinInput";
|