@sikka/hawa 0.0.104 → 0.0.105
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 +59 -53
- package/es/elements/HawaButton.d.ts +1 -1
- package/es/elements/HawaTable.d.ts +1 -0
- package/es/index.es.js +1 -1
- package/lib/elements/HawaButton.d.ts +1 -1
- package/lib/elements/HawaTable.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/elements/HawaButton.tsx +2 -1
- package/src/elements/HawaItemCard.tsx +5 -2
- package/src/elements/HawaMenu.tsx +3 -3
- package/src/elements/HawaRadio.tsx +12 -4
- package/src/elements/HawaSwitch.tsx +5 -3
- package/src/elements/HawaTable.tsx +52 -17
- package/src/styles.css +59 -53
- package/tailwind.config.js +10 -8
package/dist/styles.css
CHANGED
|
@@ -713,6 +713,9 @@ video {
|
|
|
713
713
|
.h-full {
|
|
714
714
|
height: 100%;
|
|
715
715
|
}
|
|
716
|
+
.h-auto {
|
|
717
|
+
height: auto;
|
|
718
|
+
}
|
|
716
719
|
.h-40 {
|
|
717
720
|
height: 10rem;
|
|
718
721
|
}
|
|
@@ -722,6 +725,9 @@ video {
|
|
|
722
725
|
.h-11 {
|
|
723
726
|
height: 2.75rem;
|
|
724
727
|
}
|
|
728
|
+
.h-0 {
|
|
729
|
+
height: 0px;
|
|
730
|
+
}
|
|
725
731
|
.h-screen {
|
|
726
732
|
height: 100vh;
|
|
727
733
|
}
|
|
@@ -740,11 +746,8 @@ video {
|
|
|
740
746
|
.h-96 {
|
|
741
747
|
height: 24rem;
|
|
742
748
|
}
|
|
743
|
-
.max-h-
|
|
744
|
-
max-height:
|
|
745
|
-
}
|
|
746
|
-
.max-h-0 {
|
|
747
|
-
max-height: 0px;
|
|
749
|
+
.max-h-56 {
|
|
750
|
+
max-height: 14rem;
|
|
748
751
|
}
|
|
749
752
|
.max-h-fit {
|
|
750
753
|
max-height: -moz-fit-content;
|
|
@@ -859,34 +862,6 @@ video {
|
|
|
859
862
|
.animate-spin {
|
|
860
863
|
animation: spin 1s linear infinite;
|
|
861
864
|
}
|
|
862
|
-
@keyframes expandDown {
|
|
863
|
-
|
|
864
|
-
0% {
|
|
865
|
-
max-height: 0;
|
|
866
|
-
height: 0;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
100% {
|
|
870
|
-
max-height: 100px;
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
.animate-expandDown {
|
|
874
|
-
animation: expandDown 50ms linear;
|
|
875
|
-
}
|
|
876
|
-
@keyframes expandUp {
|
|
877
|
-
|
|
878
|
-
0% {
|
|
879
|
-
max-height: 100px;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
100% {
|
|
883
|
-
max-height: 0;
|
|
884
|
-
height: 0;
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
.animate-expandUp {
|
|
888
|
-
animation: expandUp 100ms linear;
|
|
889
|
-
}
|
|
890
865
|
.cursor-default {
|
|
891
866
|
cursor: default;
|
|
892
867
|
}
|
|
@@ -1032,6 +1007,14 @@ video {
|
|
|
1032
1007
|
border-bottom-right-radius: 0.75rem;
|
|
1033
1008
|
border-bottom-left-radius: 0.75rem;
|
|
1034
1009
|
}
|
|
1010
|
+
.rounded-t-lg {
|
|
1011
|
+
border-top-left-radius: 0.5rem;
|
|
1012
|
+
border-top-right-radius: 0.5rem;
|
|
1013
|
+
}
|
|
1014
|
+
.rounded-l-lg {
|
|
1015
|
+
border-top-left-radius: 0.5rem;
|
|
1016
|
+
border-bottom-left-radius: 0.5rem;
|
|
1017
|
+
}
|
|
1035
1018
|
.rounded-b-lg {
|
|
1036
1019
|
border-bottom-right-radius: 0.5rem;
|
|
1037
1020
|
border-bottom-left-radius: 0.5rem;
|
|
@@ -1040,10 +1023,6 @@ video {
|
|
|
1040
1023
|
border-top-left-radius: 0.25rem;
|
|
1041
1024
|
border-top-right-radius: 0.25rem;
|
|
1042
1025
|
}
|
|
1043
|
-
.rounded-t-lg {
|
|
1044
|
-
border-top-left-radius: 0.5rem;
|
|
1045
|
-
border-top-right-radius: 0.5rem;
|
|
1046
|
-
}
|
|
1047
1026
|
.rounded-l-none {
|
|
1048
1027
|
border-top-left-radius: 0px;
|
|
1049
1028
|
border-bottom-left-radius: 0px;
|
|
@@ -1102,6 +1081,9 @@ video {
|
|
|
1102
1081
|
.border-dashed {
|
|
1103
1082
|
border-style: dashed;
|
|
1104
1083
|
}
|
|
1084
|
+
.border-none {
|
|
1085
|
+
border-style: none;
|
|
1086
|
+
}
|
|
1105
1087
|
.border-black {
|
|
1106
1088
|
--tw-border-opacity: 1;
|
|
1107
1089
|
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
@@ -1133,10 +1115,6 @@ video {
|
|
|
1133
1115
|
--tw-border-opacity: 1;
|
|
1134
1116
|
border-color: rgb(156 163 175 / var(--tw-border-opacity));
|
|
1135
1117
|
}
|
|
1136
|
-
.border-blue-400 {
|
|
1137
|
-
--tw-border-opacity: 1;
|
|
1138
|
-
border-color: rgb(96 165 250 / var(--tw-border-opacity));
|
|
1139
|
-
}
|
|
1140
1118
|
.border-blue-600 {
|
|
1141
1119
|
--tw-border-opacity: 1;
|
|
1142
1120
|
border-color: rgb(37 99 235 / var(--tw-border-opacity));
|
|
@@ -1149,9 +1127,6 @@ video {
|
|
|
1149
1127
|
--tw-border-opacity: 1;
|
|
1150
1128
|
border-bottom-color: rgb(61 147 249 / var(--tw-border-opacity));
|
|
1151
1129
|
}
|
|
1152
|
-
.border-opacity-20 {
|
|
1153
|
-
--tw-border-opacity: 0.2;
|
|
1154
|
-
}
|
|
1155
1130
|
.bg-gray-900 {
|
|
1156
1131
|
--tw-bg-opacity: 1;
|
|
1157
1132
|
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
|
|
@@ -1207,6 +1182,10 @@ video {
|
|
|
1207
1182
|
--tw-bg-opacity: 1;
|
|
1208
1183
|
background-color: rgb(239 68 68 / var(--tw-bg-opacity));
|
|
1209
1184
|
}
|
|
1185
|
+
.bg-gray-50 {
|
|
1186
|
+
--tw-bg-opacity: 1;
|
|
1187
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1188
|
+
}
|
|
1210
1189
|
.bg-primary-500 {
|
|
1211
1190
|
--tw-bg-opacity: 1;
|
|
1212
1191
|
background-color: rgb(61 147 249 / var(--tw-bg-opacity));
|
|
@@ -1215,10 +1194,6 @@ video {
|
|
|
1215
1194
|
--tw-bg-opacity: 1;
|
|
1216
1195
|
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|
|
1217
1196
|
}
|
|
1218
|
-
.bg-gray-50 {
|
|
1219
|
-
--tw-bg-opacity: 1;
|
|
1220
|
-
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1221
|
-
}
|
|
1222
1197
|
.bg-blue-600 {
|
|
1223
1198
|
--tw-bg-opacity: 1;
|
|
1224
1199
|
background-color: rgb(37 99 235 / var(--tw-bg-opacity));
|
|
@@ -1236,6 +1211,10 @@ video {
|
|
|
1236
1211
|
.bg-no-repeat {
|
|
1237
1212
|
background-repeat: no-repeat;
|
|
1238
1213
|
}
|
|
1214
|
+
.object-cover {
|
|
1215
|
+
-o-object-fit: cover;
|
|
1216
|
+
object-fit: cover;
|
|
1217
|
+
}
|
|
1239
1218
|
.p-1\.5 {
|
|
1240
1219
|
padding: 0.375rem;
|
|
1241
1220
|
}
|
|
@@ -1529,16 +1508,16 @@ video {
|
|
|
1529
1508
|
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
|
1530
1509
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1531
1510
|
}
|
|
1532
|
-
.shadow {
|
|
1533
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
1534
|
-
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
1535
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1536
|
-
}
|
|
1537
1511
|
.shadow-lg {
|
|
1538
1512
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
1539
1513
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1540
1514
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1541
1515
|
}
|
|
1516
|
+
.shadow {
|
|
1517
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
1518
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
1519
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1520
|
+
}
|
|
1542
1521
|
.ring-1 {
|
|
1543
1522
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1544
1523
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1955,6 +1934,16 @@ body {
|
|
|
1955
1934
|
--tw-ring-opacity: 1;
|
|
1956
1935
|
--tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity));
|
|
1957
1936
|
}
|
|
1937
|
+
@media (min-width: 440px) {
|
|
1938
|
+
|
|
1939
|
+
.xs\:max-w-full {
|
|
1940
|
+
max-width: 100%;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
.xs\:flex-nowrap {
|
|
1944
|
+
flex-wrap: nowrap;
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1958
1947
|
@media (min-width: 640px) {
|
|
1959
1948
|
|
|
1960
1949
|
.sm\:p-8 {
|
|
@@ -1963,6 +1952,14 @@ body {
|
|
|
1963
1952
|
}
|
|
1964
1953
|
@media (min-width: 768px) {
|
|
1965
1954
|
|
|
1955
|
+
.md\:h-auto {
|
|
1956
|
+
height: auto;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
.md\:w-48 {
|
|
1960
|
+
width: 12rem;
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1966
1963
|
.md\:max-w-xl {
|
|
1967
1964
|
max-width: 36rem;
|
|
1968
1965
|
}
|
|
@@ -1978,4 +1975,13 @@ body {
|
|
|
1978
1975
|
.md\:flex-row {
|
|
1979
1976
|
flex-direction: row;
|
|
1980
1977
|
}
|
|
1978
|
+
|
|
1979
|
+
.md\:rounded-none {
|
|
1980
|
+
border-radius: 0px;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
.md\:rounded-l-lg {
|
|
1984
|
+
border-top-left-radius: 0.5rem;
|
|
1985
|
+
border-bottom-left-radius: 0.5rem;
|
|
1986
|
+
}
|
|
1981
1987
|
}
|
|
@@ -3,7 +3,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
3
3
|
variant?: "contained" | "outlined";
|
|
4
4
|
color?: "default" | "primary" | "secondary";
|
|
5
5
|
width?: "full" | "normal" | "half";
|
|
6
|
-
size?: "small" | "medium" | "large";
|
|
6
|
+
size?: "small" | "medium" | "large" | "noPadding";
|
|
7
7
|
tooltip?: string;
|
|
8
8
|
isLoading?: boolean;
|
|
9
9
|
}
|