@sikka/hawa 0.1.94 → 0.1.96
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/bun.lockb +0 -0
- package/dist/index.d.mts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +688 -716
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +195 -195
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +10 -1
- package/package.json +3 -3
- package/src/blocks/AuthForms/AppLanding.tsx +1 -4
- package/src/blocks/AuthForms/NewPasswordForm.tsx +3 -1
- package/src/elements/DropdownMenu.tsx +106 -58
- package/src/elements/FloatingCommentExec.tsx +14 -3
- package/src/elements/HawaRadio.tsx +3 -2
- package/src/elements/HawaSelect.tsx +8 -6
- package/src/elements/HawaStats.tsx +6 -0
- package/src/elements/HawaTable.tsx +5 -51
- package/src/elements/HawaTextField.tsx +1 -1
- package/src/elements/Icons.tsx +4 -1
- package/src/layout/AppLayout.tsx +4 -2
- package/src/styles.css +10 -1
- package/src/tailwind.css +1 -1
- package/_config.yml +0 -1
package/bun.lockb
ADDED
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -175,10 +175,11 @@ type SubItem$2 = {
|
|
|
175
175
|
};
|
|
176
176
|
type MenuItemType = {
|
|
177
177
|
icon?: any;
|
|
178
|
-
label
|
|
179
|
-
value
|
|
178
|
+
label?: string;
|
|
179
|
+
value?: string;
|
|
180
180
|
end?: any;
|
|
181
181
|
presist?: boolean;
|
|
182
|
+
type?: "separator" | "label";
|
|
182
183
|
action?: () => void;
|
|
183
184
|
highlighted?: boolean;
|
|
184
185
|
subitems?: SubItem$2[];
|
|
@@ -196,6 +197,7 @@ interface DropdownMenuProps {
|
|
|
196
197
|
align?: ExtendedDropdownMenuContentProps["align"];
|
|
197
198
|
alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
|
|
198
199
|
width?: "default" | "sm" | "lg" | "parent";
|
|
200
|
+
size?: "default" | "sm";
|
|
199
201
|
selectCallback?: any;
|
|
200
202
|
}
|
|
201
203
|
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
@@ -214,6 +216,7 @@ type TableTypes = {
|
|
|
214
216
|
pagination?: boolean;
|
|
215
217
|
columns: ColTypes[];
|
|
216
218
|
actions?: MenuItemType[];
|
|
219
|
+
actionsWidth?: "default" | "sm" | "lg" | "parent";
|
|
217
220
|
direction?: "rtl" | "ltr";
|
|
218
221
|
rows?: RowTypes[][];
|
|
219
222
|
handleActionClick?: any;
|
|
@@ -365,6 +368,7 @@ type StatTypes = {
|
|
|
365
368
|
color?: string;
|
|
366
369
|
number?: string;
|
|
367
370
|
helperText?: string;
|
|
371
|
+
chart?: any;
|
|
368
372
|
icon?: any;
|
|
369
373
|
variant?: "default" | "plain" | "contained" | "outlined" | "brutalist" | "dropshadow";
|
|
370
374
|
width?: "full" | "min" | "normal";
|
|
@@ -953,6 +957,7 @@ type AppLayoutTypes = {
|
|
|
953
957
|
avatarImage?: any;
|
|
954
958
|
drawerSize?: "sm" | "md" | "large";
|
|
955
959
|
profileMenuItems?: MenuItemType[];
|
|
960
|
+
profileMenuWidth: "default" | "sm" | "lg" | "parent";
|
|
956
961
|
onSettingsClick?: () => void;
|
|
957
962
|
DrawerFooterActions?: any;
|
|
958
963
|
clickedItem?: any;
|
|
@@ -1145,9 +1150,6 @@ declare const UserSettingsForm: FC<UserSettingsFormTypes>;
|
|
|
1145
1150
|
|
|
1146
1151
|
type AppLandingTypes = {
|
|
1147
1152
|
texts?: {
|
|
1148
|
-
signIn: string;
|
|
1149
|
-
signUp: string;
|
|
1150
|
-
lang: string;
|
|
1151
1153
|
newUserText?: string;
|
|
1152
1154
|
createAccount?: string;
|
|
1153
1155
|
continueWithGoogle?: string;
|
|
@@ -1313,6 +1315,7 @@ declare const SignUpForm: FC<SignUpFormTypes>;
|
|
|
1313
1315
|
|
|
1314
1316
|
type NewPasswordTypes = {
|
|
1315
1317
|
handleNewPassword: () => void;
|
|
1318
|
+
direction?: "rtl" | "ltr";
|
|
1316
1319
|
passwordChanged: any;
|
|
1317
1320
|
texts: {
|
|
1318
1321
|
passwordPlaceholder: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -175,10 +175,11 @@ type SubItem$2 = {
|
|
|
175
175
|
};
|
|
176
176
|
type MenuItemType = {
|
|
177
177
|
icon?: any;
|
|
178
|
-
label
|
|
179
|
-
value
|
|
178
|
+
label?: string;
|
|
179
|
+
value?: string;
|
|
180
180
|
end?: any;
|
|
181
181
|
presist?: boolean;
|
|
182
|
+
type?: "separator" | "label";
|
|
182
183
|
action?: () => void;
|
|
183
184
|
highlighted?: boolean;
|
|
184
185
|
subitems?: SubItem$2[];
|
|
@@ -196,6 +197,7 @@ interface DropdownMenuProps {
|
|
|
196
197
|
align?: ExtendedDropdownMenuContentProps["align"];
|
|
197
198
|
alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
|
|
198
199
|
width?: "default" | "sm" | "lg" | "parent";
|
|
200
|
+
size?: "default" | "sm";
|
|
199
201
|
selectCallback?: any;
|
|
200
202
|
}
|
|
201
203
|
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
@@ -214,6 +216,7 @@ type TableTypes = {
|
|
|
214
216
|
pagination?: boolean;
|
|
215
217
|
columns: ColTypes[];
|
|
216
218
|
actions?: MenuItemType[];
|
|
219
|
+
actionsWidth?: "default" | "sm" | "lg" | "parent";
|
|
217
220
|
direction?: "rtl" | "ltr";
|
|
218
221
|
rows?: RowTypes[][];
|
|
219
222
|
handleActionClick?: any;
|
|
@@ -365,6 +368,7 @@ type StatTypes = {
|
|
|
365
368
|
color?: string;
|
|
366
369
|
number?: string;
|
|
367
370
|
helperText?: string;
|
|
371
|
+
chart?: any;
|
|
368
372
|
icon?: any;
|
|
369
373
|
variant?: "default" | "plain" | "contained" | "outlined" | "brutalist" | "dropshadow";
|
|
370
374
|
width?: "full" | "min" | "normal";
|
|
@@ -953,6 +957,7 @@ type AppLayoutTypes = {
|
|
|
953
957
|
avatarImage?: any;
|
|
954
958
|
drawerSize?: "sm" | "md" | "large";
|
|
955
959
|
profileMenuItems?: MenuItemType[];
|
|
960
|
+
profileMenuWidth: "default" | "sm" | "lg" | "parent";
|
|
956
961
|
onSettingsClick?: () => void;
|
|
957
962
|
DrawerFooterActions?: any;
|
|
958
963
|
clickedItem?: any;
|
|
@@ -1145,9 +1150,6 @@ declare const UserSettingsForm: FC<UserSettingsFormTypes>;
|
|
|
1145
1150
|
|
|
1146
1151
|
type AppLandingTypes = {
|
|
1147
1152
|
texts?: {
|
|
1148
|
-
signIn: string;
|
|
1149
|
-
signUp: string;
|
|
1150
|
-
lang: string;
|
|
1151
1153
|
newUserText?: string;
|
|
1152
1154
|
createAccount?: string;
|
|
1153
1155
|
continueWithGoogle?: string;
|
|
@@ -1313,6 +1315,7 @@ declare const SignUpForm: FC<SignUpFormTypes>;
|
|
|
1313
1315
|
|
|
1314
1316
|
type NewPasswordTypes = {
|
|
1315
1317
|
handleNewPassword: () => void;
|
|
1318
|
+
direction?: "rtl" | "ltr";
|
|
1316
1319
|
passwordChanged: any;
|
|
1317
1320
|
texts: {
|
|
1318
1321
|
passwordPlaceholder: string;
|