hive-react-kit 0.3.5 → 0.4.0

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 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,6 +105,7 @@
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;
108
110
  --leading-tight: 1.25;
109
111
  --leading-relaxed: 1.625;
@@ -410,6 +412,9 @@
410
412
  .m-2 {
411
413
  margin: calc(var(--spacing) * 2);
412
414
  }
415
+ .mx-2 {
416
+ margin-inline: calc(var(--spacing) * 2);
417
+ }
413
418
  .mx-4 {
414
419
  margin-inline: calc(var(--spacing) * 4);
415
420
  }
@@ -551,6 +556,9 @@
551
556
  .h-8 {
552
557
  height: calc(var(--spacing) * 8);
553
558
  }
559
+ .h-9 {
560
+ height: calc(var(--spacing) * 9);
561
+ }
554
562
  .h-10 {
555
563
  height: calc(var(--spacing) * 10);
556
564
  }
@@ -653,6 +661,9 @@
653
661
  .w-8 {
654
662
  width: calc(var(--spacing) * 8);
655
663
  }
664
+ .w-9 {
665
+ width: calc(var(--spacing) * 9);
666
+ }
656
667
  .w-10 {
657
668
  width: calc(var(--spacing) * 10);
658
669
  }
@@ -707,6 +718,9 @@
707
718
  .max-w-full {
708
719
  max-width: 100%;
709
720
  }
721
+ .max-w-lg {
722
+ max-width: var(--container-lg);
723
+ }
710
724
  .max-w-md {
711
725
  max-width: var(--container-md);
712
726
  }
@@ -966,6 +980,10 @@
966
980
  .rounded-xl {
967
981
  border-radius: var(--radius-xl);
968
982
  }
983
+ .rounded-b-lg {
984
+ border-bottom-right-radius: var(--radius-lg);
985
+ border-bottom-left-radius: var(--radius-lg);
986
+ }
969
987
  .border {
970
988
  border-style: var(--tw-border-style);
971
989
  border-width: 1px;
@@ -1312,9 +1330,15 @@
1312
1330
  .py-1 {
1313
1331
  padding-block: calc(var(--spacing) * 1);
1314
1332
  }
1333
+ .py-1\.5 {
1334
+ padding-block: calc(var(--spacing) * 1.5);
1335
+ }
1315
1336
  .py-2 {
1316
1337
  padding-block: calc(var(--spacing) * 2);
1317
1338
  }
1339
+ .py-2\.5 {
1340
+ padding-block: calc(var(--spacing) * 2.5);
1341
+ }
1318
1342
  .py-3 {
1319
1343
  padding-block: calc(var(--spacing) * 3);
1320
1344
  }
@@ -1339,6 +1363,9 @@
1339
1363
  .py-24 {
1340
1364
  padding-block: calc(var(--spacing) * 24);
1341
1365
  }
1366
+ .pt-1 {
1367
+ padding-top: calc(var(--spacing) * 1);
1368
+ }
1342
1369
  .pt-3 {
1343
1370
  padding-top: calc(var(--spacing) * 3);
1344
1371
  }
@@ -1357,6 +1384,12 @@
1357
1384
  .pr-10 {
1358
1385
  padding-right: calc(var(--spacing) * 10);
1359
1386
  }
1387
+ .pb-4 {
1388
+ padding-bottom: calc(var(--spacing) * 4);
1389
+ }
1390
+ .pb-8 {
1391
+ padding-bottom: calc(var(--spacing) * 8);
1392
+ }
1360
1393
  .pl-2 {
1361
1394
  padding-left: calc(var(--spacing) * 2);
1362
1395
  }
@@ -1392,6 +1425,10 @@
1392
1425
  font-size: var(--text-3xl);
1393
1426
  line-height: var(--tw-leading, var(--text-3xl--line-height));
1394
1427
  }
1428
+ .text-4xl {
1429
+ font-size: var(--text-4xl);
1430
+ line-height: var(--tw-leading, var(--text-4xl--line-height));
1431
+ }
1395
1432
  .text-5xl {
1396
1433
  font-size: var(--text-5xl);
1397
1434
  line-height: var(--tw-leading, var(--text-5xl--line-height));
@@ -1435,6 +1472,10 @@
1435
1472
  --tw-font-weight: var(--font-weight-bold);
1436
1473
  font-weight: var(--font-weight-bold);
1437
1474
  }
1475
+ .font-extrabold {
1476
+ --tw-font-weight: var(--font-weight-extrabold);
1477
+ font-weight: var(--font-weight-extrabold);
1478
+ }
1438
1479
  .font-medium {
1439
1480
  --tw-font-weight: var(--font-weight-medium);
1440
1481
  font-weight: var(--font-weight-medium);
@@ -1456,6 +1497,9 @@
1456
1497
  .whitespace-nowrap {
1457
1498
  white-space: nowrap;
1458
1499
  }
1500
+ .whitespace-pre-line {
1501
+ white-space: pre-line;
1502
+ }
1459
1503
  .whitespace-pre-wrap {
1460
1504
  white-space: pre-wrap;
1461
1505
  }
@@ -1719,6 +1763,11 @@
1719
1763
  }
1720
1764
  }
1721
1765
  }
1766
+ .first\:mt-0 {
1767
+ &:first-child {
1768
+ margin-top: calc(var(--spacing) * 0);
1769
+ }
1770
+ }
1722
1771
  .hover\:-translate-y-1 {
1723
1772
  &:hover {
1724
1773
  @media (hover: hover) {
@@ -1970,6 +2019,13 @@
1970
2019
  }
1971
2020
  }
1972
2021
  }
2022
+ .hover\:opacity-90 {
2023
+ &:hover {
2024
+ @media (hover: hover) {
2025
+ opacity: 90%;
2026
+ }
2027
+ }
2028
+ }
1973
2029
  .hover\:opacity-100 {
1974
2030
  &:hover {
1975
2031
  @media (hover: hover) {
@@ -2221,6 +2277,11 @@
2221
2277
  padding-block: calc(var(--spacing) * 3);
2222
2278
  }
2223
2279
  }
2280
+ .sm\:text-left {
2281
+ @media (width >= 40rem) {
2282
+ text-align: left;
2283
+ }
2284
+ }
2224
2285
  .sm\:text-base {
2225
2286
  @media (width >= 40rem) {
2226
2287
  font-size: var(--text-base);
@@ -2401,12 +2462,24 @@
2401
2462
  padding-left: calc(var(--spacing) * 6);
2402
2463
  }
2403
2464
  }
2465
+ .md\:text-3xl {
2466
+ @media (width >= 48rem) {
2467
+ font-size: var(--text-3xl);
2468
+ line-height: var(--tw-leading, var(--text-3xl--line-height));
2469
+ }
2470
+ }
2404
2471
  .md\:text-4xl {
2405
2472
  @media (width >= 48rem) {
2406
2473
  font-size: var(--text-4xl);
2407
2474
  line-height: var(--tw-leading, var(--text-4xl--line-height));
2408
2475
  }
2409
2476
  }
2477
+ .md\:text-5xl {
2478
+ @media (width >= 48rem) {
2479
+ font-size: var(--text-5xl);
2480
+ line-height: var(--tw-leading, var(--text-5xl--line-height));
2481
+ }
2482
+ }
2410
2483
  .md\:text-base {
2411
2484
  @media (width >= 48rem) {
2412
2485
  font-size: var(--text-base);
@@ -2440,6 +2513,11 @@
2440
2513
  display: none;
2441
2514
  }
2442
2515
  }
2516
+ .lg\:table-cell {
2517
+ @media (width >= 64rem) {
2518
+ display: table-cell;
2519
+ }
2520
+ }
2443
2521
  .lg\:grid-cols-2 {
2444
2522
  @media (width >= 64rem) {
2445
2523
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -2480,6 +2558,11 @@
2480
2558
  padding-inline: calc(var(--spacing) * 16);
2481
2559
  }
2482
2560
  }
2561
+ .xl\:table-cell {
2562
+ @media (width >= 80rem) {
2563
+ display: table-cell;
2564
+ }
2565
+ }
2483
2566
  .xl\:grid-cols-4 {
2484
2567
  @media (width >= 80rem) {
2485
2568
  grid-template-columns: repeat(4, minmax(0, 1fr));
@@ -0,0 +1,9 @@
1
+ interface ExpensesViewProps {
2
+ onBack: () => void;
3
+ backgroundColor?: string;
4
+ textColor?: string;
5
+ cardBackgroundColor?: string;
6
+ dividerColor?: string;
7
+ }
8
+ declare const ExpensesView: React.FC<ExpensesViewProps>;
9
+ export default ExpensesView;
@@ -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
+ };