@sikka/hawa 0.0.100 → 0.0.101
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 +57 -8
- package/es/elements/HawaMenu.d.ts +3 -1
- package/es/index.es.js +1 -1
- package/lib/elements/HawaMenu.d.ts +3 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/elements/DragDropImages.tsx +32 -26
- package/src/elements/HawaMenu.tsx +59 -43
- package/src/styles.css +57 -8
- package/tailwind.config.js +26 -1
package/dist/styles.css
CHANGED
|
@@ -559,6 +559,9 @@ video {
|
|
|
559
559
|
.z-40 {
|
|
560
560
|
z-index: 40;
|
|
561
561
|
}
|
|
562
|
+
.m-3 {
|
|
563
|
+
margin: 0.75rem;
|
|
564
|
+
}
|
|
562
565
|
.m-2 {
|
|
563
566
|
margin: 0.5rem;
|
|
564
567
|
}
|
|
@@ -702,6 +705,15 @@ video {
|
|
|
702
705
|
.h-12 {
|
|
703
706
|
height: 3rem;
|
|
704
707
|
}
|
|
708
|
+
.h-96 {
|
|
709
|
+
height: 24rem;
|
|
710
|
+
}
|
|
711
|
+
.max-h-72 {
|
|
712
|
+
max-height: 18rem;
|
|
713
|
+
}
|
|
714
|
+
.max-h-0 {
|
|
715
|
+
max-height: 0px;
|
|
716
|
+
}
|
|
705
717
|
.max-h-fit {
|
|
706
718
|
max-height: -moz-fit-content;
|
|
707
719
|
max-height: fit-content;
|
|
@@ -813,6 +825,34 @@ video {
|
|
|
813
825
|
.animate-spin {
|
|
814
826
|
animation: spin 1s linear infinite;
|
|
815
827
|
}
|
|
828
|
+
@keyframes expandDown {
|
|
829
|
+
|
|
830
|
+
0% {
|
|
831
|
+
max-height: 0;
|
|
832
|
+
height: 0;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
100% {
|
|
836
|
+
max-height: 100px;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
.animate-expandDown {
|
|
840
|
+
animation: expandDown 100ms linear;
|
|
841
|
+
}
|
|
842
|
+
@keyframes expandUp {
|
|
843
|
+
|
|
844
|
+
0% {
|
|
845
|
+
max-height: 100px;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
100% {
|
|
849
|
+
max-height: 0;
|
|
850
|
+
height: 0;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
.animate-expandUp {
|
|
854
|
+
animation: expandUp 100ms linear;
|
|
855
|
+
}
|
|
816
856
|
.cursor-default {
|
|
817
857
|
cursor: default;
|
|
818
858
|
}
|
|
@@ -924,6 +964,9 @@ video {
|
|
|
924
964
|
.overflow-x-hidden {
|
|
925
965
|
overflow-x: hidden;
|
|
926
966
|
}
|
|
967
|
+
.overflow-y-clip {
|
|
968
|
+
overflow-y: clip;
|
|
969
|
+
}
|
|
927
970
|
.truncate {
|
|
928
971
|
overflow: hidden;
|
|
929
972
|
text-overflow: ellipsis;
|
|
@@ -972,6 +1015,12 @@ video {
|
|
|
972
1015
|
border-top-left-radius: 0px;
|
|
973
1016
|
border-bottom-left-radius: 0px;
|
|
974
1017
|
}
|
|
1018
|
+
.rounded-tr-none {
|
|
1019
|
+
border-top-right-radius: 0px;
|
|
1020
|
+
}
|
|
1021
|
+
.rounded-bl-none {
|
|
1022
|
+
border-bottom-left-radius: 0px;
|
|
1023
|
+
}
|
|
975
1024
|
.rounded-bl-lg {
|
|
976
1025
|
border-bottom-left-radius: 0.5rem;
|
|
977
1026
|
}
|
|
@@ -1021,6 +1070,10 @@ video {
|
|
|
1021
1070
|
--tw-border-opacity: 1;
|
|
1022
1071
|
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
1023
1072
|
}
|
|
1073
|
+
.border-red-500 {
|
|
1074
|
+
--tw-border-opacity: 1;
|
|
1075
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity));
|
|
1076
|
+
}
|
|
1024
1077
|
.border-gray-200 {
|
|
1025
1078
|
--tw-border-opacity: 1;
|
|
1026
1079
|
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
@@ -1099,10 +1152,6 @@ video {
|
|
|
1099
1152
|
--tw-bg-opacity: 1;
|
|
1100
1153
|
background-color: rgb(163 208 57 / var(--tw-bg-opacity));
|
|
1101
1154
|
}
|
|
1102
|
-
.bg-blue-700 {
|
|
1103
|
-
--tw-bg-opacity: 1;
|
|
1104
|
-
background-color: rgb(29 78 216 / var(--tw-bg-opacity));
|
|
1105
|
-
}
|
|
1106
1155
|
.bg-primary-500 {
|
|
1107
1156
|
--tw-bg-opacity: 1;
|
|
1108
1157
|
background-color: rgb(61 147 249 / var(--tw-bg-opacity));
|
|
@@ -1149,6 +1198,10 @@ video {
|
|
|
1149
1198
|
.p-10 {
|
|
1150
1199
|
padding: 2.5rem;
|
|
1151
1200
|
}
|
|
1201
|
+
.px-2 {
|
|
1202
|
+
padding-left: 0.5rem;
|
|
1203
|
+
padding-right: 0.5rem;
|
|
1204
|
+
}
|
|
1152
1205
|
.px-2\.5 {
|
|
1153
1206
|
padding-left: 0.625rem;
|
|
1154
1207
|
padding-right: 0.625rem;
|
|
@@ -1157,10 +1210,6 @@ video {
|
|
|
1157
1210
|
padding-top: 0.125rem;
|
|
1158
1211
|
padding-bottom: 0.125rem;
|
|
1159
1212
|
}
|
|
1160
|
-
.px-2 {
|
|
1161
|
-
padding-left: 0.5rem;
|
|
1162
|
-
padding-right: 0.5rem;
|
|
1163
|
-
}
|
|
1164
1213
|
.py-0 {
|
|
1165
1214
|
padding-top: 0px;
|
|
1166
1215
|
padding-bottom: 0px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
type MenuTypes = {
|
|
3
3
|
popMenuID: any;
|
|
4
4
|
menuItems: any;
|
|
@@ -9,6 +9,8 @@ type MenuTypes = {
|
|
|
9
9
|
open: any;
|
|
10
10
|
handleClose: any;
|
|
11
11
|
anchor: any;
|
|
12
|
+
children: any;
|
|
13
|
+
buttonPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
12
14
|
};
|
|
13
15
|
export declare const HawaMenu: React.FunctionComponent<MenuTypes>;
|
|
14
16
|
export {};
|