@sikka/hawa 0.0.271 → 0.0.273
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 +157 -8
- package/es/blocks/Pricing/HorizontalPricing.d.ts +47 -0
- package/es/blocks/Pricing/index.d.ts +1 -0
- package/es/elements/HawaLandingCard.d.ts +1 -0
- package/es/elements/HawaLoading.d.ts +8 -0
- package/es/elements/HawaRadio.d.ts +7 -10
- package/es/elements/index.d.ts +1 -1
- package/es/index.es.js +3 -3
- package/es/layout/HawaGrid.d.ts +6 -0
- package/es/layout/index.d.ts +1 -0
- package/lib/blocks/Pricing/HorizontalPricing.d.ts +47 -0
- package/lib/blocks/Pricing/index.d.ts +1 -0
- package/lib/elements/HawaLandingCard.d.ts +1 -0
- package/lib/elements/HawaLoading.d.ts +8 -0
- package/lib/elements/HawaRadio.d.ts +7 -10
- package/lib/elements/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/lib/layout/HawaGrid.d.ts +6 -0
- package/lib/layout/index.d.ts +1 -0
- package/package.json +2 -1
- package/src/blocks/Pricing/HorizontalPricing.tsx +140 -0
- package/src/blocks/Pricing/index.ts +1 -0
- package/src/elements/HawaButton.tsx +9 -5
- package/src/elements/HawaCodeBlock.tsx +4 -12
- package/src/elements/HawaLandingCard.tsx +12 -10
- package/src/elements/HawaLoading.tsx +83 -0
- package/src/elements/HawaPhoneInput.tsx +5 -1
- package/src/elements/HawaRadio.tsx +9 -11
- package/src/elements/HawaStats.tsx +3 -3
- package/src/elements/index.ts +1 -1
- package/src/layout/HawaGrid.tsx +15 -0
- package/src/layout/index.ts +1 -0
- package/src/styles.css +157 -8
- package/tailwind.config.js +22 -9
- package/es/elements/HawaSpinner.d.ts +0 -6
- package/lib/elements/HawaSpinner.d.ts +0 -6
- package/src/elements/HawaSpinner.tsx +0 -42
package/dist/styles.css
CHANGED
|
@@ -1225,6 +1225,9 @@ video {
|
|
|
1225
1225
|
min-width: -moz-min-content;
|
|
1226
1226
|
min-width: min-content;
|
|
1227
1227
|
}
|
|
1228
|
+
.max-w-2xl {
|
|
1229
|
+
max-width: 42rem;
|
|
1230
|
+
}
|
|
1228
1231
|
.max-w-2xs {
|
|
1229
1232
|
max-width: 250px;
|
|
1230
1233
|
}
|
|
@@ -1247,6 +1250,9 @@ video {
|
|
|
1247
1250
|
.max-w-md {
|
|
1248
1251
|
max-width: 28rem;
|
|
1249
1252
|
}
|
|
1253
|
+
.max-w-screen-sm {
|
|
1254
|
+
max-width: 640px;
|
|
1255
|
+
}
|
|
1250
1256
|
.max-w-sm {
|
|
1251
1257
|
max-width: 24rem;
|
|
1252
1258
|
}
|
|
@@ -1311,6 +1317,21 @@ video {
|
|
|
1311
1317
|
.transform-gpu {
|
|
1312
1318
|
transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1313
1319
|
}
|
|
1320
|
+
@keyframes bounce {
|
|
1321
|
+
|
|
1322
|
+
0%, 100% {
|
|
1323
|
+
transform: translateY(-25%);
|
|
1324
|
+
animation-timing-function: cubic-bezier(0.8,0,1,1);
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
50% {
|
|
1328
|
+
transform: none;
|
|
1329
|
+
animation-timing-function: cubic-bezier(0,0,0.2,1);
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
.animate-bounce {
|
|
1333
|
+
animation: bounce 1s infinite;
|
|
1334
|
+
}
|
|
1314
1335
|
@keyframes spin {
|
|
1315
1336
|
|
|
1316
1337
|
to {
|
|
@@ -1342,6 +1363,10 @@ video {
|
|
|
1342
1363
|
-moz-appearance: none;
|
|
1343
1364
|
appearance: none;
|
|
1344
1365
|
}
|
|
1366
|
+
.columns-1 {
|
|
1367
|
+
-moz-columns: 1;
|
|
1368
|
+
columns: 1;
|
|
1369
|
+
}
|
|
1345
1370
|
.grid-cols-2 {
|
|
1346
1371
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1347
1372
|
}
|
|
@@ -1411,9 +1436,15 @@ video {
|
|
|
1411
1436
|
.gap-20 {
|
|
1412
1437
|
gap: 5rem;
|
|
1413
1438
|
}
|
|
1439
|
+
.gap-24 {
|
|
1440
|
+
gap: 6rem;
|
|
1441
|
+
}
|
|
1414
1442
|
.gap-4 {
|
|
1415
1443
|
gap: 1rem;
|
|
1416
1444
|
}
|
|
1445
|
+
.gap-5 {
|
|
1446
|
+
gap: 1.25rem;
|
|
1447
|
+
}
|
|
1417
1448
|
.gap-8 {
|
|
1418
1449
|
gap: 2rem;
|
|
1419
1450
|
}
|
|
@@ -1437,6 +1468,11 @@ video {
|
|
|
1437
1468
|
margin-right: calc(0.25rem * var(--tw-space-x-reverse));
|
|
1438
1469
|
margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1439
1470
|
}
|
|
1471
|
+
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
1472
|
+
--tw-space-x-reverse: 0;
|
|
1473
|
+
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
1474
|
+
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1475
|
+
}
|
|
1440
1476
|
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
|
1441
1477
|
--tw-space-x-reverse: 0;
|
|
1442
1478
|
margin-right: calc(1rem * var(--tw-space-x-reverse));
|
|
@@ -1676,10 +1712,6 @@ video {
|
|
|
1676
1712
|
--tw-border-opacity: 1;
|
|
1677
1713
|
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
|
1678
1714
|
}
|
|
1679
|
-
.border-gray-400 {
|
|
1680
|
-
--tw-border-opacity: 1;
|
|
1681
|
-
border-color: rgb(156 163 175 / var(--tw-border-opacity));
|
|
1682
|
-
}
|
|
1683
1715
|
.border-gray-600 {
|
|
1684
1716
|
--tw-border-opacity: 1;
|
|
1685
1717
|
border-color: rgb(75 85 99 / var(--tw-border-opacity));
|
|
@@ -1710,10 +1742,6 @@ video {
|
|
|
1710
1742
|
.border-b-buttonPrimary-500 {
|
|
1711
1743
|
border-bottom-color: var(--button-primary-500);
|
|
1712
1744
|
}
|
|
1713
|
-
.border-t-white {
|
|
1714
|
-
--tw-border-opacity: 1;
|
|
1715
|
-
border-top-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1716
|
-
}
|
|
1717
1745
|
.bg-black {
|
|
1718
1746
|
--tw-bg-opacity: 1;
|
|
1719
1747
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
|
|
@@ -1985,6 +2013,10 @@ video {
|
|
|
1985
2013
|
padding-top: 0.75rem;
|
|
1986
2014
|
padding-bottom: 0.75rem;
|
|
1987
2015
|
}
|
|
2016
|
+
.py-4 {
|
|
2017
|
+
padding-top: 1rem;
|
|
2018
|
+
padding-bottom: 1rem;
|
|
2019
|
+
}
|
|
1988
2020
|
.py-5 {
|
|
1989
2021
|
padding-top: 1.25rem;
|
|
1990
2022
|
padding-bottom: 1.25rem;
|
|
@@ -2078,6 +2110,9 @@ video {
|
|
|
2078
2110
|
.text-\[0\.75rem\] {
|
|
2079
2111
|
font-size: 0.75rem;
|
|
2080
2112
|
}
|
|
2113
|
+
.text-\[0\.875rem\] {
|
|
2114
|
+
font-size: 0.875rem;
|
|
2115
|
+
}
|
|
2081
2116
|
.text-\[10px\] {
|
|
2082
2117
|
font-size: 10px;
|
|
2083
2118
|
}
|
|
@@ -2159,6 +2194,10 @@ video {
|
|
|
2159
2194
|
--tw-text-opacity: 1;
|
|
2160
2195
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
2161
2196
|
}
|
|
2197
|
+
.text-blue-500 {
|
|
2198
|
+
--tw-text-opacity: 1;
|
|
2199
|
+
color: rgb(59 130 246 / var(--tw-text-opacity));
|
|
2200
|
+
}
|
|
2162
2201
|
.text-blue-600 {
|
|
2163
2202
|
--tw-text-opacity: 1;
|
|
2164
2203
|
color: rgb(37 99 235 / var(--tw-text-opacity));
|
|
@@ -2216,6 +2255,18 @@ video {
|
|
|
2216
2255
|
.text-muted-foreground {
|
|
2217
2256
|
color: hsl(var(--muted-foreground));
|
|
2218
2257
|
}
|
|
2258
|
+
.text-neutral-400 {
|
|
2259
|
+
--tw-text-opacity: 1;
|
|
2260
|
+
color: rgb(163 163 163 / var(--tw-text-opacity));
|
|
2261
|
+
}
|
|
2262
|
+
.text-neutral-500 {
|
|
2263
|
+
--tw-text-opacity: 1;
|
|
2264
|
+
color: rgb(115 115 115 / var(--tw-text-opacity));
|
|
2265
|
+
}
|
|
2266
|
+
.text-neutral-700 {
|
|
2267
|
+
--tw-text-opacity: 1;
|
|
2268
|
+
color: rgb(64 64 64 / var(--tw-text-opacity));
|
|
2269
|
+
}
|
|
2219
2270
|
.text-neutral-900 {
|
|
2220
2271
|
--tw-text-opacity: 1;
|
|
2221
2272
|
color: rgb(23 23 23 / var(--tw-text-opacity));
|
|
@@ -2371,12 +2422,68 @@ video {
|
|
|
2371
2422
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2372
2423
|
transition-duration: 150ms;
|
|
2373
2424
|
}
|
|
2425
|
+
.delay-100 {
|
|
2426
|
+
transition-delay: 100ms;
|
|
2427
|
+
}
|
|
2428
|
+
.delay-200 {
|
|
2429
|
+
transition-delay: 200ms;
|
|
2430
|
+
}
|
|
2431
|
+
.delay-300 {
|
|
2432
|
+
transition-delay: 300ms;
|
|
2433
|
+
}
|
|
2434
|
+
.duration-1000 {
|
|
2435
|
+
transition-duration: 1000ms;
|
|
2436
|
+
}
|
|
2374
2437
|
.duration-300 {
|
|
2375
2438
|
transition-duration: 300ms;
|
|
2376
2439
|
}
|
|
2377
2440
|
.will-change-\[opacity\2c transform\] {
|
|
2378
2441
|
will-change: opacity,transform;
|
|
2379
2442
|
}
|
|
2443
|
+
@keyframes enter {
|
|
2444
|
+
|
|
2445
|
+
from {
|
|
2446
|
+
opacity: var(--tw-enter-opacity, 1);
|
|
2447
|
+
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
@keyframes exit {
|
|
2451
|
+
|
|
2452
|
+
to {
|
|
2453
|
+
opacity: var(--tw-exit-opacity, 1);
|
|
2454
|
+
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
.animate-in {
|
|
2458
|
+
animation-name: enter;
|
|
2459
|
+
animation-duration: 150ms;
|
|
2460
|
+
--tw-enter-opacity: initial;
|
|
2461
|
+
--tw-enter-scale: initial;
|
|
2462
|
+
--tw-enter-rotate: initial;
|
|
2463
|
+
--tw-enter-translate-x: initial;
|
|
2464
|
+
--tw-enter-translate-y: initial;
|
|
2465
|
+
}
|
|
2466
|
+
.fade-in {
|
|
2467
|
+
--tw-enter-opacity: 0;
|
|
2468
|
+
}
|
|
2469
|
+
.duration-1000 {
|
|
2470
|
+
animation-duration: 1000ms;
|
|
2471
|
+
}
|
|
2472
|
+
.duration-300 {
|
|
2473
|
+
animation-duration: 300ms;
|
|
2474
|
+
}
|
|
2475
|
+
.delay-100 {
|
|
2476
|
+
animation-delay: 100ms;
|
|
2477
|
+
}
|
|
2478
|
+
.delay-200 {
|
|
2479
|
+
animation-delay: 200ms;
|
|
2480
|
+
}
|
|
2481
|
+
.delay-300 {
|
|
2482
|
+
animation-delay: 300ms;
|
|
2483
|
+
}
|
|
2484
|
+
.repeat-infinite {
|
|
2485
|
+
animation-iteration-count: infinite;
|
|
2486
|
+
}
|
|
2380
2487
|
/* Chrome, Safari and Opera */
|
|
2381
2488
|
.no-scrollbar::-webkit-scrollbar {
|
|
2382
2489
|
display: none;
|
|
@@ -2667,6 +2774,10 @@ body {
|
|
|
2667
2774
|
--tw-blur: blur(16px);
|
|
2668
2775
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2669
2776
|
}
|
|
2777
|
+
.peer:checked ~ .peer-checked\:border-blue-500 {
|
|
2778
|
+
--tw-border-opacity: 1;
|
|
2779
|
+
border-color: rgb(59 130 246 / var(--tw-border-opacity));
|
|
2780
|
+
}
|
|
2670
2781
|
.peer:checked ~ .peer-checked\:border-blue-600 {
|
|
2671
2782
|
--tw-border-opacity: 1;
|
|
2672
2783
|
border-color: rgb(37 99 235 / var(--tw-border-opacity));
|
|
@@ -3043,11 +3154,30 @@ body {
|
|
|
3043
3154
|
}
|
|
3044
3155
|
@media (min-width: 640px) {
|
|
3045
3156
|
|
|
3157
|
+
.sm\:columns-2 {
|
|
3158
|
+
-moz-columns: 2;
|
|
3159
|
+
columns: 2;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3162
|
+
.sm\:gap-8 {
|
|
3163
|
+
gap: 2rem;
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
.sm\:text-2xl {
|
|
3167
|
+
font-size: 1.5rem;
|
|
3168
|
+
line-height: 2rem;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3046
3171
|
.sm\:text-base {
|
|
3047
3172
|
font-size: 1rem;
|
|
3048
3173
|
line-height: 1.5rem;
|
|
3049
3174
|
}
|
|
3050
3175
|
|
|
3176
|
+
.sm\:text-xl {
|
|
3177
|
+
font-size: 1.25rem;
|
|
3178
|
+
line-height: 1.75rem;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3051
3181
|
.sm\:after\:inline-block::after {
|
|
3052
3182
|
content: var(--tw-content);
|
|
3053
3183
|
display: inline-block;
|
|
@@ -3104,6 +3234,11 @@ body {
|
|
|
3104
3234
|
max-width: 36rem;
|
|
3105
3235
|
}
|
|
3106
3236
|
|
|
3237
|
+
.md\:columns-3 {
|
|
3238
|
+
-moz-columns: 3;
|
|
3239
|
+
columns: 3;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3107
3242
|
.md\:flex-row {
|
|
3108
3243
|
flex-direction: row;
|
|
3109
3244
|
}
|
|
@@ -3154,6 +3289,11 @@ body {
|
|
|
3154
3289
|
.lg\:max-w-7xl {
|
|
3155
3290
|
max-width: 80rem;
|
|
3156
3291
|
}
|
|
3292
|
+
|
|
3293
|
+
.lg\:columns-4 {
|
|
3294
|
+
-moz-columns: 4;
|
|
3295
|
+
columns: 4;
|
|
3296
|
+
}
|
|
3157
3297
|
}
|
|
3158
3298
|
@media (min-width: 1280px) {
|
|
3159
3299
|
|
|
@@ -3163,3 +3303,12 @@ body {
|
|
|
3163
3303
|
margin-right: 2.5rem;
|
|
3164
3304
|
}
|
|
3165
3305
|
}
|
|
3306
|
+
.\[\&\>\*\:not\(\:first-child\)\]\:mt-8>*:not(:first-child) {
|
|
3307
|
+
margin-top: 2rem;
|
|
3308
|
+
}
|
|
3309
|
+
.peer:checked ~ .peer-checked\:\[\&_\.active\]\:block .active {
|
|
3310
|
+
display: block;
|
|
3311
|
+
}
|
|
3312
|
+
.peer:checked ~ .peer-checked\:\[\&_\.default\]\:hidden .default {
|
|
3313
|
+
display: none;
|
|
3314
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
type HorizontalPricingTypes = {
|
|
3
|
+
plans: [
|
|
4
|
+
{
|
|
5
|
+
direction: "rtl" | "ltr";
|
|
6
|
+
features: [{
|
|
7
|
+
included: boolean;
|
|
8
|
+
text: string;
|
|
9
|
+
}];
|
|
10
|
+
price: number;
|
|
11
|
+
texts: {
|
|
12
|
+
title: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
buttonText: string;
|
|
15
|
+
cycleText: string;
|
|
16
|
+
currencyText: string;
|
|
17
|
+
};
|
|
18
|
+
size: "small" | "medium" | "large";
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
currencies: [
|
|
22
|
+
{
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
];
|
|
27
|
+
billingCycles: [
|
|
28
|
+
{
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
];
|
|
33
|
+
onPlanClicked?: (e: any) => void;
|
|
34
|
+
currentCycle: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
currentCurrency: {
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
onCycleChange?: (e: any) => void;
|
|
43
|
+
onCurrencyChange?: (e: any) => void;
|
|
44
|
+
direction?: "rtl" | "ltr";
|
|
45
|
+
};
|
|
46
|
+
export declare const HorizontalPricing: FC<HorizontalPricingTypes>;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
type LoadingTypes = {
|
|
3
|
+
size?: "button" | "sm" | "normal" | "lg" | "xl";
|
|
4
|
+
design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
|
|
5
|
+
color?: any;
|
|
6
|
+
};
|
|
7
|
+
export declare const HawaLoading: FC<LoadingTypes>;
|
|
8
|
+
export {};
|
|
@@ -2,16 +2,13 @@ import { FC } from "react";
|
|
|
2
2
|
type RadioTypes = {
|
|
3
3
|
orientation?: "vertical" | "horizontal";
|
|
4
4
|
design?: "default" | "tabs" | "cards" | "bordered";
|
|
5
|
-
options?:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
afterIcon?: any;
|
|
13
|
-
}
|
|
14
|
-
];
|
|
5
|
+
options?: {
|
|
6
|
+
value: any;
|
|
7
|
+
label: any;
|
|
8
|
+
disabled?: any;
|
|
9
|
+
sublabel?: any;
|
|
10
|
+
icon?: any;
|
|
11
|
+
}[];
|
|
15
12
|
onChangeTab?: any;
|
|
16
13
|
defaultValue?: any;
|
|
17
14
|
};
|
package/es/elements/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export * from "./HawaCopyrights";
|
|
|
23
23
|
export * from "./HawaStepper";
|
|
24
24
|
export * from "./HawaStats";
|
|
25
25
|
export * from "./HawaCodeBlock";
|
|
26
|
-
export * from "./
|
|
26
|
+
export * from "./HawaLoading";
|
|
27
27
|
export * from "./HawaRadio";
|
|
28
28
|
export * from "./HawaDatepicker";
|
|
29
29
|
export * from "./DragDropImages";
|