hive-react-kit 0.3.5 → 0.4.1
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/build.css +118 -0
- package/dist/components/landing-page/ExpensesView.d.ts +9 -0
- package/dist/components/landing-page/HiveContributionsLanding.d.ts +1 -0
- package/dist/data/ecencyImageUrls.d.ts +26 -0
- package/dist/index.cjs.js +119 -117
- package/dist/index.esm.js +12805 -11952
- package/package.json +1 -1
package/dist/build.css
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
--container-xs: 20rem;
|
|
75
75
|
--container-sm: 24rem;
|
|
76
76
|
--container-md: 28rem;
|
|
77
|
+
--container-lg: 32rem;
|
|
77
78
|
--container-xl: 36rem;
|
|
78
79
|
--container-2xl: 42rem;
|
|
79
80
|
--container-3xl: 48rem;
|
|
@@ -104,7 +105,10 @@
|
|
|
104
105
|
--font-weight-medium: 500;
|
|
105
106
|
--font-weight-semibold: 600;
|
|
106
107
|
--font-weight-bold: 700;
|
|
108
|
+
--font-weight-extrabold: 800;
|
|
107
109
|
--tracking-wide: 0.025em;
|
|
110
|
+
--tracking-wider: 0.05em;
|
|
111
|
+
--tracking-widest: 0.1em;
|
|
108
112
|
--leading-tight: 1.25;
|
|
109
113
|
--leading-relaxed: 1.625;
|
|
110
114
|
--radius-md: 0.375rem;
|
|
@@ -410,6 +414,9 @@
|
|
|
410
414
|
.m-2 {
|
|
411
415
|
margin: calc(var(--spacing) * 2);
|
|
412
416
|
}
|
|
417
|
+
.mx-2 {
|
|
418
|
+
margin-inline: calc(var(--spacing) * 2);
|
|
419
|
+
}
|
|
413
420
|
.mx-4 {
|
|
414
421
|
margin-inline: calc(var(--spacing) * 4);
|
|
415
422
|
}
|
|
@@ -551,6 +558,9 @@
|
|
|
551
558
|
.h-8 {
|
|
552
559
|
height: calc(var(--spacing) * 8);
|
|
553
560
|
}
|
|
561
|
+
.h-9 {
|
|
562
|
+
height: calc(var(--spacing) * 9);
|
|
563
|
+
}
|
|
554
564
|
.h-10 {
|
|
555
565
|
height: calc(var(--spacing) * 10);
|
|
556
566
|
}
|
|
@@ -653,6 +663,9 @@
|
|
|
653
663
|
.w-8 {
|
|
654
664
|
width: calc(var(--spacing) * 8);
|
|
655
665
|
}
|
|
666
|
+
.w-9 {
|
|
667
|
+
width: calc(var(--spacing) * 9);
|
|
668
|
+
}
|
|
656
669
|
.w-10 {
|
|
657
670
|
width: calc(var(--spacing) * 10);
|
|
658
671
|
}
|
|
@@ -707,6 +720,9 @@
|
|
|
707
720
|
.max-w-full {
|
|
708
721
|
max-width: 100%;
|
|
709
722
|
}
|
|
723
|
+
.max-w-lg {
|
|
724
|
+
max-width: var(--container-lg);
|
|
725
|
+
}
|
|
710
726
|
.max-w-md {
|
|
711
727
|
max-width: var(--container-md);
|
|
712
728
|
}
|
|
@@ -966,6 +982,10 @@
|
|
|
966
982
|
.rounded-xl {
|
|
967
983
|
border-radius: var(--radius-xl);
|
|
968
984
|
}
|
|
985
|
+
.rounded-b-lg {
|
|
986
|
+
border-bottom-right-radius: var(--radius-lg);
|
|
987
|
+
border-bottom-left-radius: var(--radius-lg);
|
|
988
|
+
}
|
|
969
989
|
.border {
|
|
970
990
|
border-style: var(--tw-border-style);
|
|
971
991
|
border-width: 1px;
|
|
@@ -1312,12 +1332,21 @@
|
|
|
1312
1332
|
.py-1 {
|
|
1313
1333
|
padding-block: calc(var(--spacing) * 1);
|
|
1314
1334
|
}
|
|
1335
|
+
.py-1\.5 {
|
|
1336
|
+
padding-block: calc(var(--spacing) * 1.5);
|
|
1337
|
+
}
|
|
1315
1338
|
.py-2 {
|
|
1316
1339
|
padding-block: calc(var(--spacing) * 2);
|
|
1317
1340
|
}
|
|
1341
|
+
.py-2\.5 {
|
|
1342
|
+
padding-block: calc(var(--spacing) * 2.5);
|
|
1343
|
+
}
|
|
1318
1344
|
.py-3 {
|
|
1319
1345
|
padding-block: calc(var(--spacing) * 3);
|
|
1320
1346
|
}
|
|
1347
|
+
.py-3\.5 {
|
|
1348
|
+
padding-block: calc(var(--spacing) * 3.5);
|
|
1349
|
+
}
|
|
1321
1350
|
.py-4 {
|
|
1322
1351
|
padding-block: calc(var(--spacing) * 4);
|
|
1323
1352
|
}
|
|
@@ -1339,6 +1368,9 @@
|
|
|
1339
1368
|
.py-24 {
|
|
1340
1369
|
padding-block: calc(var(--spacing) * 24);
|
|
1341
1370
|
}
|
|
1371
|
+
.pt-1 {
|
|
1372
|
+
padding-top: calc(var(--spacing) * 1);
|
|
1373
|
+
}
|
|
1342
1374
|
.pt-3 {
|
|
1343
1375
|
padding-top: calc(var(--spacing) * 3);
|
|
1344
1376
|
}
|
|
@@ -1357,6 +1389,12 @@
|
|
|
1357
1389
|
.pr-10 {
|
|
1358
1390
|
padding-right: calc(var(--spacing) * 10);
|
|
1359
1391
|
}
|
|
1392
|
+
.pb-4 {
|
|
1393
|
+
padding-bottom: calc(var(--spacing) * 4);
|
|
1394
|
+
}
|
|
1395
|
+
.pb-8 {
|
|
1396
|
+
padding-bottom: calc(var(--spacing) * 8);
|
|
1397
|
+
}
|
|
1360
1398
|
.pl-2 {
|
|
1361
1399
|
padding-left: calc(var(--spacing) * 2);
|
|
1362
1400
|
}
|
|
@@ -1392,6 +1430,10 @@
|
|
|
1392
1430
|
font-size: var(--text-3xl);
|
|
1393
1431
|
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
1394
1432
|
}
|
|
1433
|
+
.text-4xl {
|
|
1434
|
+
font-size: var(--text-4xl);
|
|
1435
|
+
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
1436
|
+
}
|
|
1395
1437
|
.text-5xl {
|
|
1396
1438
|
font-size: var(--text-5xl);
|
|
1397
1439
|
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
@@ -1435,6 +1477,10 @@
|
|
|
1435
1477
|
--tw-font-weight: var(--font-weight-bold);
|
|
1436
1478
|
font-weight: var(--font-weight-bold);
|
|
1437
1479
|
}
|
|
1480
|
+
.font-extrabold {
|
|
1481
|
+
--tw-font-weight: var(--font-weight-extrabold);
|
|
1482
|
+
font-weight: var(--font-weight-extrabold);
|
|
1483
|
+
}
|
|
1438
1484
|
.font-medium {
|
|
1439
1485
|
--tw-font-weight: var(--font-weight-medium);
|
|
1440
1486
|
font-weight: var(--font-weight-medium);
|
|
@@ -1447,6 +1493,14 @@
|
|
|
1447
1493
|
--tw-tracking: var(--tracking-wide);
|
|
1448
1494
|
letter-spacing: var(--tracking-wide);
|
|
1449
1495
|
}
|
|
1496
|
+
.tracking-wider {
|
|
1497
|
+
--tw-tracking: var(--tracking-wider);
|
|
1498
|
+
letter-spacing: var(--tracking-wider);
|
|
1499
|
+
}
|
|
1500
|
+
.tracking-widest {
|
|
1501
|
+
--tw-tracking: var(--tracking-widest);
|
|
1502
|
+
letter-spacing: var(--tracking-widest);
|
|
1503
|
+
}
|
|
1450
1504
|
.break-words {
|
|
1451
1505
|
overflow-wrap: break-word;
|
|
1452
1506
|
}
|
|
@@ -1456,6 +1510,9 @@
|
|
|
1456
1510
|
.whitespace-nowrap {
|
|
1457
1511
|
white-space: nowrap;
|
|
1458
1512
|
}
|
|
1513
|
+
.whitespace-pre-line {
|
|
1514
|
+
white-space: pre-line;
|
|
1515
|
+
}
|
|
1459
1516
|
.whitespace-pre-wrap {
|
|
1460
1517
|
white-space: pre-wrap;
|
|
1461
1518
|
}
|
|
@@ -1567,6 +1624,10 @@
|
|
|
1567
1624
|
.italic {
|
|
1568
1625
|
font-style: italic;
|
|
1569
1626
|
}
|
|
1627
|
+
.tabular-nums {
|
|
1628
|
+
--tw-numeric-spacing: tabular-nums;
|
|
1629
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
1630
|
+
}
|
|
1570
1631
|
.underline {
|
|
1571
1632
|
text-decoration-line: underline;
|
|
1572
1633
|
}
|
|
@@ -1719,6 +1780,11 @@
|
|
|
1719
1780
|
}
|
|
1720
1781
|
}
|
|
1721
1782
|
}
|
|
1783
|
+
.first\:mt-0 {
|
|
1784
|
+
&:first-child {
|
|
1785
|
+
margin-top: calc(var(--spacing) * 0);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1722
1788
|
.hover\:-translate-y-1 {
|
|
1723
1789
|
&:hover {
|
|
1724
1790
|
@media (hover: hover) {
|
|
@@ -2221,6 +2287,11 @@
|
|
|
2221
2287
|
padding-block: calc(var(--spacing) * 3);
|
|
2222
2288
|
}
|
|
2223
2289
|
}
|
|
2290
|
+
.sm\:text-left {
|
|
2291
|
+
@media (width >= 40rem) {
|
|
2292
|
+
text-align: left;
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2224
2295
|
.sm\:text-base {
|
|
2225
2296
|
@media (width >= 40rem) {
|
|
2226
2297
|
font-size: var(--text-base);
|
|
@@ -2401,12 +2472,24 @@
|
|
|
2401
2472
|
padding-left: calc(var(--spacing) * 6);
|
|
2402
2473
|
}
|
|
2403
2474
|
}
|
|
2475
|
+
.md\:text-3xl {
|
|
2476
|
+
@media (width >= 48rem) {
|
|
2477
|
+
font-size: var(--text-3xl);
|
|
2478
|
+
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2404
2481
|
.md\:text-4xl {
|
|
2405
2482
|
@media (width >= 48rem) {
|
|
2406
2483
|
font-size: var(--text-4xl);
|
|
2407
2484
|
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
2408
2485
|
}
|
|
2409
2486
|
}
|
|
2487
|
+
.md\:text-5xl {
|
|
2488
|
+
@media (width >= 48rem) {
|
|
2489
|
+
font-size: var(--text-5xl);
|
|
2490
|
+
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2410
2493
|
.md\:text-base {
|
|
2411
2494
|
@media (width >= 48rem) {
|
|
2412
2495
|
font-size: var(--text-base);
|
|
@@ -2440,6 +2523,11 @@
|
|
|
2440
2523
|
display: none;
|
|
2441
2524
|
}
|
|
2442
2525
|
}
|
|
2526
|
+
.lg\:table-cell {
|
|
2527
|
+
@media (width >= 64rem) {
|
|
2528
|
+
display: table-cell;
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2443
2531
|
.lg\:grid-cols-2 {
|
|
2444
2532
|
@media (width >= 64rem) {
|
|
2445
2533
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
@@ -2480,6 +2568,11 @@
|
|
|
2480
2568
|
padding-inline: calc(var(--spacing) * 16);
|
|
2481
2569
|
}
|
|
2482
2570
|
}
|
|
2571
|
+
.xl\:table-cell {
|
|
2572
|
+
@media (width >= 80rem) {
|
|
2573
|
+
display: table-cell;
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2483
2576
|
.xl\:grid-cols-4 {
|
|
2484
2577
|
@media (width >= 80rem) {
|
|
2485
2578
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
@@ -2984,6 +3077,26 @@
|
|
|
2984
3077
|
syntax: "*";
|
|
2985
3078
|
inherits: false;
|
|
2986
3079
|
}
|
|
3080
|
+
@property --tw-ordinal {
|
|
3081
|
+
syntax: "*";
|
|
3082
|
+
inherits: false;
|
|
3083
|
+
}
|
|
3084
|
+
@property --tw-slashed-zero {
|
|
3085
|
+
syntax: "*";
|
|
3086
|
+
inherits: false;
|
|
3087
|
+
}
|
|
3088
|
+
@property --tw-numeric-figure {
|
|
3089
|
+
syntax: "*";
|
|
3090
|
+
inherits: false;
|
|
3091
|
+
}
|
|
3092
|
+
@property --tw-numeric-spacing {
|
|
3093
|
+
syntax: "*";
|
|
3094
|
+
inherits: false;
|
|
3095
|
+
}
|
|
3096
|
+
@property --tw-numeric-fraction {
|
|
3097
|
+
syntax: "*";
|
|
3098
|
+
inherits: false;
|
|
3099
|
+
}
|
|
2987
3100
|
@property --tw-shadow {
|
|
2988
3101
|
syntax: "*";
|
|
2989
3102
|
inherits: false;
|
|
@@ -3186,6 +3299,11 @@
|
|
|
3186
3299
|
--tw-leading: initial;
|
|
3187
3300
|
--tw-font-weight: initial;
|
|
3188
3301
|
--tw-tracking: initial;
|
|
3302
|
+
--tw-ordinal: initial;
|
|
3303
|
+
--tw-slashed-zero: initial;
|
|
3304
|
+
--tw-numeric-figure: initial;
|
|
3305
|
+
--tw-numeric-spacing: initial;
|
|
3306
|
+
--tw-numeric-fraction: initial;
|
|
3189
3307
|
--tw-shadow: 0 0 #0000;
|
|
3190
3308
|
--tw-shadow-color: initial;
|
|
3191
3309
|
--tw-shadow-alpha: 100%;
|
|
@@ -5,6 +5,7 @@ interface HiveContributionsLandingProps {
|
|
|
5
5
|
cardBackgroundColor?: string;
|
|
6
6
|
isDividerShow?: boolean;
|
|
7
7
|
dividerColor?: string;
|
|
8
|
+
isExpensesCTA?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const HiveContributionsLanding: React.FC<HiveContributionsLandingProps>;
|
|
10
11
|
export default HiveContributionsLanding;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const ECENCY_IMAGES: {
|
|
2
|
+
readonly "3speak": "https://images.ecency.com/DQmZ4o1RAvrq2qXdsSHZaRgf6fjHRC1DsMRC8ZXqSfF7pRg/3speak.png";
|
|
3
|
+
readonly actifit_logo: "https://images.ecency.com/DQmemUxomzr8RFEZGoT7a8rSvpx1LnzuAzDNyikKuENkSuc/actifit_logo.png";
|
|
4
|
+
readonly checkinwithxyz: "https://images.ecency.com/DQmUAbGJ1XN461zbaEus7aam1vuVg1cMAtzpuLGgwdAPUEU/checkinwithxyz.png";
|
|
5
|
+
readonly developers: "https://images.ecency.com/DQmNeGvBgY5r4pay9fhrD8LforDyasa2kstPwBmaLcQBmSW/developers.png";
|
|
6
|
+
readonly contribution: "https://images.ecency.com/DQmYpCqdjSQe6VonJTNmdtfFzVSaDY8m9UeoiK6wSr7JvWo/contribution.png";
|
|
7
|
+
readonly distriator_logo: "https://images.ecency.com/DQmZw6AXZ7wmEChsWXA3onVZXCsRUYGwbp87qP9onaLAvLW/distriator_logo.png";
|
|
8
|
+
readonly donate_logo: "https://images.ecency.com/DQmdujtPpdboNvBBGBDoi354SidjtQJZfZaT7M4jvb9fp1P/donate_logo.png";
|
|
9
|
+
readonly ecency_logo: "https://images.ecency.com/DQmNsuCkexmEKoWB9ywdR5UkzRQ4Xu6CAgHjRTATCB23znc/ecency_logo.png";
|
|
10
|
+
readonly gifts: "https://images.ecency.com/DQmX8ywkhcAuYp7yoR3rqXmB8jiCx4STm2NHSGTzwP2ByED/gifts.png";
|
|
11
|
+
readonly happrover_logo: "https://images.ecency.com/DQmcy4sHYiMkUJYLhu4jgrvVbvk9vxeSvXHn21ZpVLXK6Jf/happrover_logo.png";
|
|
12
|
+
readonly hifind_logo: "https://images.ecency.com/DQmZajxWFjBLBbhg5484jxPGkbFD36un3Cw4uK82tkXY4Yf/hifind_logo.png";
|
|
13
|
+
readonly hive_keychain_logo: "https://images.ecency.com/DQmXiH7T1X9Cx9XbNzX2ZJ8gHeyskz6bv5mWGhpxGoYnyvE/hive_keychain_logo.png";
|
|
14
|
+
readonly hive_logo: "https://images.ecency.com/DQma5YQXrk1WZ7oxgLqdPjbVdShmVGzeL7yZ6BCQGjMF6G3/hive_logo.png";
|
|
15
|
+
readonly hive_fest_fact_logo: "https://images.ecency.com/DQmTiwJfQSBsdQMAivWfi97P6UwUqsd4wBgFmP2xhQjtA4r/hive_fest_fact_logo.png";
|
|
16
|
+
readonly hiveauth_logo: "https://images.ecency.com/DQmP9vkxQuQkaCfin2whQfokMF9YJMN3Aujz9B5sGQVNWoE/hiveauth_logo.png";
|
|
17
|
+
readonly hpolls_logo: "https://images.ecency.com/DQmejtPJC86dhzUKPZxQxaCBaud2ocy6PWPLqjEHNPoWQnX/hpolls_logo.png";
|
|
18
|
+
readonly hreplier: "https://images.ecency.com/DQmRMrDJvNBeRzDj1W8e99TqkN87Ch7w9SWun6woVaRTAZ3/hreplier.png";
|
|
19
|
+
readonly nodes: "https://images.ecency.com/DQmbmVKTexP4r4CfzmQKztzBdA26vZBJuJHLZo5GwT88Gxf/nodes.png";
|
|
20
|
+
readonly podcast_logo: "https://images.ecency.com/DQmd1xwQJvM5pPvWpXoNT1vWqo4XqFvN7RDUVZb3w6ZxHLo/podcast_logo.jpg";
|
|
21
|
+
readonly stats_logo: "https://images.ecency.com/DQme3DKpB5uVv5ASf9AkFHLY3JdxD2YQMuPa6k2jptULXRY/stats_logo.png";
|
|
22
|
+
readonly template: "https://images.ecency.com/DQmStuCUgDJmxtLKLUd3fZKmYyPEbvuopdRhwFx3SHiycCq/template.png";
|
|
23
|
+
readonly three_shorts_logo: "https://images.ecency.com/DQmbNeu2p1GokLH6T8QwekCJBSwSK4qo29ebeVwqD1YbK25/three_shorts_logo.png";
|
|
24
|
+
readonly three_speak_logo: "https://images.ecency.com/DQmc84A9bXdQ3oRMz3YgV1VNCAFvPbJVSvsf434FApxg2cf/three_speak_logo.png";
|
|
25
|
+
readonly vote_logo: "https://images.ecency.com/DQmVa8V2FCjJKMaqgoUaRDHPa4TYdqceCmAbCJU7rGj5yBe/vote_logo.png";
|
|
26
|
+
};
|