@powerhousedao/common 1.10.33-dev.0 → 1.10.33-dev.2

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.
@@ -23,11 +23,14 @@
23
23
  --color-yellow-900: oklch(0.421 0.095 57.708);
24
24
  --color-green-100: oklch(0.962 0.044 156.743);
25
25
  --color-green-500: oklch(0.723 0.219 149.579);
26
+ --color-green-600: oklch(0.627 0.194 149.214);
26
27
  --color-green-700: oklch(0.527 0.154 150.069);
27
28
  --color-green-800: oklch(0.448 0.119 151.328);
28
29
  --color-green-900: oklch(0.393 0.095 152.535);
29
30
  --color-blue-50: oklch(0.97 0.014 254.604);
30
31
  --color-blue-100: oklch(0.932 0.032 255.585);
32
+ --color-blue-200: oklch(0.882 0.059 254.128);
33
+ --color-blue-300: oklch(0.809 0.105 251.813);
31
34
  --color-blue-400: oklch(0.707 0.165 254.624);
32
35
  --color-blue-500: oklch(0.623 0.214 259.815);
33
36
  --color-blue-600: oklch(0.546 0.245 262.881);
@@ -1103,11 +1106,14 @@
1103
1106
  --color-yellow-900: hsl(47 100% 49%);
1104
1107
  --color-green-100: hsl(134 51% 89%);
1105
1108
  --color-green-500: hsl(136 53% 66%);
1109
+ --color-green-600: hsl(136 53% 60%);
1106
1110
  --color-green-700: hsl(136 52% 55%);
1107
1111
  --color-green-800: hsl(136 53% 49%);
1108
1112
  --color-green-900: hsl(136 53% 43%);
1109
1113
  --color-blue-50: oklch(0.97 0.014 254.604);
1110
1114
  --color-blue-100: hsl(209 100% 90%);
1115
+ --color-blue-200: hsl(209 97% 85%);
1116
+ --color-blue-300: hsl(209 100% 80%);
1111
1117
  --color-blue-400: hsl(209 100% 75%);
1112
1118
  --color-blue-500: hsl(209 100% 70%);
1113
1119
  --color-blue-600: hsl(209 100% 65%);
@@ -1364,6 +1370,9 @@
1364
1370
  .relative {
1365
1371
  position: relative;
1366
1372
  }
1373
+ .static {
1374
+ position: static;
1375
+ }
1367
1376
  .sticky {
1368
1377
  position: sticky;
1369
1378
  }
@@ -1373,6 +1382,9 @@
1373
1382
  .inset-8 {
1374
1383
  inset: calc(var(--spacing) * 8);
1375
1384
  }
1385
+ .inset-x-0 {
1386
+ inset-inline: calc(var(--spacing) * 0);
1387
+ }
1376
1388
  .inset-y-0 {
1377
1389
  inset-block: calc(var(--spacing) * 0);
1378
1390
  }
@@ -1403,6 +1415,12 @@
1403
1415
  .top-\[-2px\] {
1404
1416
  top: -2px;
1405
1417
  }
1418
+ .top-\[-11px\] {
1419
+ top: -11px;
1420
+ }
1421
+ .top-\[11px\] {
1422
+ top: 11px;
1423
+ }
1406
1424
  .top-\[48px\] {
1407
1425
  top: 48px;
1408
1426
  }
@@ -1427,6 +1445,9 @@
1427
1445
  .right-\[-2px\] {
1428
1446
  right: -2px;
1429
1447
  }
1448
+ .right-\[0px\] {
1449
+ right: 0px;
1450
+ }
1430
1451
  .bottom-0 {
1431
1452
  bottom: calc(var(--spacing) * 0);
1432
1453
  }
@@ -1457,6 +1478,9 @@
1457
1478
  .left-\[-2px\] {
1458
1479
  left: -2px;
1459
1480
  }
1481
+ .left-\[0px\] {
1482
+ left: 0px;
1483
+ }
1460
1484
  .isolate {
1461
1485
  isolation: isolate;
1462
1486
  }
@@ -1466,9 +1490,15 @@
1466
1490
  .z-10 {
1467
1491
  z-index: 10;
1468
1492
  }
1493
+ .z-40 {
1494
+ z-index: 40;
1495
+ }
1469
1496
  .z-50 {
1470
1497
  z-index: 50;
1471
1498
  }
1499
+ .z-\[20\] {
1500
+ z-index: 20;
1501
+ }
1472
1502
  .container {
1473
1503
  width: 100%;
1474
1504
  @media (width >= 40rem) {
@@ -1496,6 +1526,9 @@
1496
1526
  .m-8 {
1497
1527
  margin: calc(var(--spacing) * 8);
1498
1528
  }
1529
+ .mx-0\.5 {
1530
+ margin-inline: calc(var(--spacing) * 0.5);
1531
+ }
1499
1532
  .mx-1 {
1500
1533
  margin-inline: calc(var(--spacing) * 1);
1501
1534
  }
@@ -1559,6 +1592,9 @@
1559
1592
  .mt-\[5px\] {
1560
1593
  margin-top: 5px;
1561
1594
  }
1595
+ .mt-\[11px\] {
1596
+ margin-top: 11px;
1597
+ }
1562
1598
  .mt-\[14px\] {
1563
1599
  margin-top: 14px;
1564
1600
  }
@@ -1723,6 +1759,10 @@
1723
1759
  width: calc(var(--spacing) * 10);
1724
1760
  height: calc(var(--spacing) * 10);
1725
1761
  }
1762
+ .size-\[3px\] {
1763
+ width: 3px;
1764
+ height: 3px;
1765
+ }
1726
1766
  .size-\[18px\] {
1727
1767
  width: 18px;
1728
1768
  height: 18px;
@@ -1774,18 +1814,42 @@
1774
1814
  .h-48 {
1775
1815
  height: calc(var(--spacing) * 48);
1776
1816
  }
1817
+ .h-\[1px\] {
1818
+ height: 1px;
1819
+ }
1820
+ .h-\[3px\] {
1821
+ height: 3px;
1822
+ }
1823
+ .h-\[6px\] {
1824
+ height: 6px;
1825
+ }
1826
+ .h-\[9px\] {
1827
+ height: 9px;
1828
+ }
1829
+ .h-\[12px\] {
1830
+ height: 12px;
1831
+ }
1832
+ .h-\[17px\] {
1833
+ height: 17px;
1834
+ }
1777
1835
  .h-\[20px\] {
1778
1836
  height: 20px;
1779
1837
  }
1780
1838
  .h-\[22px\] {
1781
1839
  height: 22px;
1782
1840
  }
1841
+ .h-\[25px\] {
1842
+ height: 25px;
1843
+ }
1783
1844
  .h-\[28px\] {
1784
1845
  height: 28px;
1785
1846
  }
1786
1847
  .h-\[34px\] {
1787
1848
  height: 34px;
1788
1849
  }
1850
+ .h-\[36px\] {
1851
+ height: 36px;
1852
+ }
1789
1853
  .h-\[37px\] {
1790
1854
  height: 37px;
1791
1855
  }
@@ -1870,6 +1934,18 @@
1870
1934
  .w-\(--radix-popover-trigger-width\) {
1871
1935
  width: var(--radix-popover-trigger-width);
1872
1936
  }
1937
+ .w-0\.5 {
1938
+ width: calc(var(--spacing) * 0.5);
1939
+ }
1940
+ .w-1 {
1941
+ width: calc(var(--spacing) * 1);
1942
+ }
1943
+ .w-1\.5 {
1944
+ width: calc(var(--spacing) * 1.5);
1945
+ }
1946
+ .w-2 {
1947
+ width: calc(var(--spacing) * 2);
1948
+ }
1873
1949
  .w-4 {
1874
1950
  width: calc(var(--spacing) * 4);
1875
1951
  }
@@ -1912,6 +1988,9 @@
1912
1988
  .w-\[--radix-popover-trigger-width\] {
1913
1989
  width: --radix-popover-trigger-width;
1914
1990
  }
1991
+ .w-\[6px\] {
1992
+ width: 6px;
1993
+ }
1915
1994
  .w-\[10px\] {
1916
1995
  width: 10px;
1917
1996
  }
@@ -2185,6 +2264,9 @@
2185
2264
  .items-center {
2186
2265
  align-items: center;
2187
2266
  }
2267
+ .items-end {
2268
+ align-items: flex-end;
2269
+ }
2188
2270
  .items-start {
2189
2271
  align-items: flex-start;
2190
2272
  }
@@ -2317,6 +2399,9 @@
2317
2399
  .rounded-3xl {
2318
2400
  border-radius: var(--radius-3xl);
2319
2401
  }
2402
+ .rounded-\[2px\] {
2403
+ border-radius: 2px;
2404
+ }
2320
2405
  .rounded-\[4px\] {
2321
2406
  border-radius: 4px;
2322
2407
  }
@@ -2350,6 +2435,10 @@
2350
2435
  border-top-left-radius: 0.25rem;
2351
2436
  border-top-right-radius: 0.25rem;
2352
2437
  }
2438
+ .rounded-t-full {
2439
+ border-top-left-radius: calc(infinity * 1px);
2440
+ border-top-right-radius: calc(infinity * 1px);
2441
+ }
2353
2442
  .rounded-t-md {
2354
2443
  border-top-left-radius: var(--radius-md);
2355
2444
  border-top-right-radius: var(--radius-md);
@@ -2366,6 +2455,9 @@
2366
2455
  border-top-left-radius: 0;
2367
2456
  border-bottom-left-radius: 0;
2368
2457
  }
2458
+ .rounded-tl-md {
2459
+ border-top-left-radius: var(--radius-md);
2460
+ }
2369
2461
  .rounded-r-md {
2370
2462
  border-top-right-radius: var(--radius-md);
2371
2463
  border-bottom-right-radius: var(--radius-md);
@@ -2374,6 +2466,13 @@
2374
2466
  border-top-right-radius: 0;
2375
2467
  border-bottom-right-radius: 0;
2376
2468
  }
2469
+ .rounded-tr-md {
2470
+ border-top-right-radius: var(--radius-md);
2471
+ }
2472
+ .rounded-b-full {
2473
+ border-bottom-right-radius: calc(infinity * 1px);
2474
+ border-bottom-left-radius: calc(infinity * 1px);
2475
+ }
2377
2476
  .border {
2378
2477
  border-style: var(--tw-border-style);
2379
2478
  border-width: 1px;
@@ -2519,6 +2618,12 @@
2519
2618
  .bg-blue-100 {
2520
2619
  background-color: var(--color-blue-100);
2521
2620
  }
2621
+ .bg-blue-200 {
2622
+ background-color: var(--color-blue-200);
2623
+ }
2624
+ .bg-blue-300 {
2625
+ background-color: var(--color-blue-300);
2626
+ }
2522
2627
  .bg-blue-500 {
2523
2628
  background-color: var(--color-blue-500);
2524
2629
  }
@@ -2558,6 +2663,9 @@
2558
2663
  .bg-green-500 {
2559
2664
  background-color: var(--color-green-500);
2560
2665
  }
2666
+ .bg-green-600 {
2667
+ background-color: var(--color-green-600);
2668
+ }
2561
2669
  .bg-green-900 {
2562
2670
  background-color: var(--color-green-900);
2563
2671
  }
@@ -3813,6 +3921,13 @@
3813
3921
  }
3814
3922
  }
3815
3923
  }
3924
+ .hover\:bg-blue-300 {
3925
+ &:hover {
3926
+ @media (hover: hover) {
3927
+ background-color: var(--color-blue-300);
3928
+ }
3929
+ }
3930
+ }
3816
3931
  .hover\:bg-gray-50 {
3817
3932
  &:hover {
3818
3933
  @media (hover: hover) {
@@ -0,0 +1,2 @@
1
+ export * from "./useTimelineItems.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./useTimelineItems.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type DocumentToolbarProps } from "@powerhousedao/design-system";
2
+ type TimelineResult = {
3
+ isLoading: boolean;
4
+ data: DocumentToolbarProps["timelineItems"];
5
+ };
6
+ export declare const useTimelineItems: (documentId?: string, startTimestamp?: string) => TimelineResult;
7
+ export {};
8
+ //# sourceMappingURL=useTimelineItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTimelineItems.d.ts","sourceRoot":"","sources":["../../hooks/useTimelineItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAuCzE,KAAK,cAAc,GAAG;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,aAAa,MAAM,EACnB,iBAAiB,MAAM,KACtB,cA2GF,CAAC"}
@@ -0,0 +1,103 @@
1
+ import { AnalyticsGranularity, AnalyticsPath, DateTime, useAnalyticsQuery, } from "@powerhousedao/reactor-browser/analytics";
2
+ import { useMemo } from "react";
3
+ const getBarSize = (value) => {
4
+ if (value <= 0)
5
+ return 0;
6
+ if (value > 0 && value <= 50)
7
+ return 1;
8
+ if (value > 50 && value <= 100)
9
+ return 2;
10
+ if (value > 100 && value <= 250)
11
+ return 3;
12
+ return 4;
13
+ };
14
+ export const useTimelineItems = (documentId, startTimestamp) => {
15
+ const start = startTimestamp
16
+ ? DateTime.fromISO(startTimestamp)
17
+ : DateTime.now().startOf("day");
18
+ const { data: diffResult, isLoading } = useAnalyticsQuery({
19
+ start,
20
+ end: DateTime.now().endOf("day"),
21
+ granularity: AnalyticsGranularity.Hourly,
22
+ metrics: ["Count"],
23
+ select: {
24
+ changes: [AnalyticsPath.fromString(`changes`)],
25
+ document: [AnalyticsPath.fromString(`document/${documentId}`)],
26
+ },
27
+ lod: {
28
+ changes: 2,
29
+ },
30
+ currency: AnalyticsPath.fromString(""),
31
+ });
32
+ // memoize the mapped result to avoid recalculation on rerenders
33
+ const mappedResult = useMemo(() => {
34
+ if (!diffResult)
35
+ return [];
36
+ return diffResult
37
+ .sort((a, b) => {
38
+ const aDate = new Date(a.start);
39
+ const bDate = new Date(b.start);
40
+ return aDate.getTime() - bDate.getTime();
41
+ })
42
+ .map((result) => {
43
+ const { additions, deletions } = result.rows.reduce((acc, row) => {
44
+ if (row.dimensions.changes.path ===
45
+ "changes/add") {
46
+ acc.additions += row.sum;
47
+ }
48
+ else if (row.dimensions.changes.path ===
49
+ "changes/remove") {
50
+ acc.deletions += row.sum;
51
+ }
52
+ return acc;
53
+ }, { additions: 0, deletions: 0 });
54
+ const startDate = new Date(result.start);
55
+ return {
56
+ id: startDate.toISOString(),
57
+ type: "bar",
58
+ addSize: getBarSize(additions),
59
+ delSize: getBarSize(deletions),
60
+ additions,
61
+ deletions,
62
+ timestamp: startDate.toISOString(),
63
+ date: startDate,
64
+ endDate: new Date(result.end),
65
+ revision: 0,
66
+ };
67
+ });
68
+ }, [diffResult]);
69
+ // memoize the divider insertion to avoid recalculation
70
+ const resultWithDividers = useMemo(() => {
71
+ if (!mappedResult.length)
72
+ return [];
73
+ const result = [];
74
+ mappedResult.forEach((item, index) => {
75
+ result.push(item);
76
+ // Check if there's a next item and if they're not in consecutive hours
77
+ if (index < mappedResult.length - 1) {
78
+ const currentDate = new Date(item.date);
79
+ const nextDate = new Date(mappedResult[index + 1].date);
80
+ const currentHour = currentDate.getHours();
81
+ const nextHour = nextDate.getHours();
82
+ // Get day parts (without time) for comparison
83
+ const currentDay = currentDate.toDateString();
84
+ const nextDay = nextDate.toDateString();
85
+ // If different days or non-consecutive hours on the same day
86
+ if (currentDay !== nextDay ||
87
+ (currentDay === nextDay && Math.abs(nextHour - currentHour) > 1)) {
88
+ result.push({
89
+ id: `divider-${item.id}-${mappedResult[index + 1].id}`,
90
+ type: "divider",
91
+ revision: 0,
92
+ });
93
+ }
94
+ }
95
+ });
96
+ return result;
97
+ }, [mappedResult]);
98
+ return {
99
+ isLoading,
100
+ data: resultWithDividers,
101
+ };
102
+ };
103
+ //# sourceMappingURL=useTimelineItems.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTimelineItems.js","sourceRoot":"","sources":["../../hooks/useTimelineItems.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,iBAAiB,GAClB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE;IACnC,IAAI,KAAK,IAAI,CAAC;QAAE,OAAO,CAAC,CAAC;IACzB,IAAI,KAAK,GAAG,CAAC,IAAI,KAAK,IAAI,EAAE;QAAE,OAAO,CAAC,CAAC;IACvC,IAAI,KAAK,GAAG,EAAE,IAAI,KAAK,IAAI,GAAG;QAAE,OAAO,CAAC,CAAC;IACzC,IAAI,KAAK,GAAG,GAAG,IAAI,KAAK,IAAI,GAAG;QAAE,OAAO,CAAC,CAAC;IAC1C,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AA6BF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,UAAmB,EACnB,cAAuB,EACP,EAAE;IAClB,MAAM,KAAK,GAAG,cAAc;QAC1B,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC;QAClC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAElC,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,iBAAiB,CAAC;QACxD,KAAK;QACL,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;QAChC,WAAW,EAAE,oBAAoB,CAAC,MAAM;QACxC,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,MAAM,EAA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AAW,CAAC,YAAY,EAAE,CAAC;gBAC9C,MAAM,OAAO,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC;gBAExC,6DAA6D;gBAC7D,IACE,UAAU,KAAK,OAAO;oBACtB,CAAC,UAAU,KAAK,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,EAChE,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC;wBACV,EAAE,EAAE,WAAW,IAAI,CAAC,EAAE,IAAI,YAAY,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;wBACtD,IAAI,EAAE,SAAkB;wBACxB,QAAQ,EAAE,CAAC;qBACZ,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO;QACL,SAAS;QACT,IAAI,EAAE,kBAA2D;KAClE,CAAC;AACJ,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { GenericDriveExplorer } from "./editors/index.js";
2
+ export * from "./hooks/index.js";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,cAAc,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export { GenericDriveExplorer } from "./editors/index.js";
2
+ export * from "./hooks/index.js";
2
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,cAAc,kBAAkB,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/common",
3
- "version": "1.10.33-dev.0",
3
+ "version": "1.10.33-dev.2",
4
4
  "license": "AGPL-3.0-only",
5
5
  "type": "module",
6
6
  "files": [