@texturehq/edges 1.12.2 → 1.13.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/components.manifest.json +28 -26
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +174 -12
- package/dist/index.d.ts +174 -12
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -11
- package/dist/utilities.manifest.json +9 -2
- package/package.json +2 -1
package/dist/styles.css
CHANGED
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
--color-brand-light: #f7f7ff;
|
|
63
63
|
--color-brand-dark: #363ccb;
|
|
64
64
|
--color-brand-background: #f6f7ff;
|
|
65
|
-
--color-neutral-white: #ffffff;
|
|
66
65
|
--color-neutral-black: #000000;
|
|
67
66
|
--spacing-0: 0px;
|
|
68
67
|
--spacing-1: 0.25rem;
|
|
@@ -1282,8 +1281,8 @@
|
|
|
1282
1281
|
.top-20 {
|
|
1283
1282
|
top: var(--spacing-20);
|
|
1284
1283
|
}
|
|
1285
|
-
.top-\[
|
|
1286
|
-
top:
|
|
1284
|
+
.top-\[2rem\] {
|
|
1285
|
+
top: 2rem;
|
|
1287
1286
|
}
|
|
1288
1287
|
.-right-2 {
|
|
1289
1288
|
right: calc(var(--spacing-2) * -1);
|
|
@@ -1690,8 +1689,8 @@
|
|
|
1690
1689
|
.h-\[600px\] {
|
|
1691
1690
|
height: 600px;
|
|
1692
1691
|
}
|
|
1693
|
-
.h-\[calc\(100\%\+
|
|
1694
|
-
height: calc(100% +
|
|
1692
|
+
.h-\[calc\(100\%\+2\.5rem\)\] {
|
|
1693
|
+
height: calc(100% + 2.5rem);
|
|
1695
1694
|
}
|
|
1696
1695
|
.h-\[calc\(100dvh-60px\)\] {
|
|
1697
1696
|
height: calc(100dvh - 60px);
|
|
@@ -1858,6 +1857,9 @@
|
|
|
1858
1857
|
.w-\[320px\] {
|
|
1859
1858
|
width: 320px;
|
|
1860
1859
|
}
|
|
1860
|
+
.w-\[400px\] {
|
|
1861
|
+
width: 400px;
|
|
1862
|
+
}
|
|
1861
1863
|
.w-\[500px\] {
|
|
1862
1864
|
width: 500px;
|
|
1863
1865
|
}
|
|
@@ -2190,9 +2192,6 @@
|
|
|
2190
2192
|
.grid-cols-12 {
|
|
2191
2193
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
2192
2194
|
}
|
|
2193
|
-
.grid-cols-\[1fr_300px\] {
|
|
2194
|
-
grid-template-columns: 1fr 300px;
|
|
2195
|
-
}
|
|
2196
2195
|
.grid-cols-\[1fr_auto\] {
|
|
2197
2196
|
grid-template-columns: 1fr auto;
|
|
2198
2197
|
}
|
|
@@ -3591,9 +3590,6 @@
|
|
|
3591
3590
|
.text-inherit {
|
|
3592
3591
|
color: inherit;
|
|
3593
3592
|
}
|
|
3594
|
-
.text-neutral-white {
|
|
3595
|
-
color: var(--color-neutral-white);
|
|
3596
|
-
}
|
|
3597
3593
|
.text-orange-500 {
|
|
3598
3594
|
color: var(--color-orange-500);
|
|
3599
3595
|
}
|
|
@@ -3956,6 +3952,12 @@
|
|
|
3956
3952
|
.\[--tw-enter-translate-x\:calc\(-16rem-100\%\)\] {
|
|
3957
3953
|
--tw-enter-translate-x: calc(-16rem - 100%);
|
|
3958
3954
|
}
|
|
3955
|
+
.\[animation-delay\:0\.1s\] {
|
|
3956
|
+
animation-delay: 0.1s;
|
|
3957
|
+
}
|
|
3958
|
+
.\[animation-delay\:0\.2s\] {
|
|
3959
|
+
animation-delay: 0.2s;
|
|
3960
|
+
}
|
|
3959
3961
|
.ring-inset {
|
|
3960
3962
|
--tw-ring-inset: inset;
|
|
3961
3963
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.13.0",
|
|
3
|
+
"generatedAt": "2025-10-26T01:11:39.875Z",
|
|
4
4
|
"categories": {
|
|
5
5
|
"hooks": {
|
|
6
6
|
"description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
|
|
@@ -40,6 +40,13 @@
|
|
|
40
40
|
"category": "hooks",
|
|
41
41
|
"file": "hooks/useElementSize.ts"
|
|
42
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"name": "useInfiniteScroll",
|
|
45
|
+
"type": "function",
|
|
46
|
+
"description": "useInfiniteScroll Hook for implementing infinite scroll with optional virtualization. Intelligently detects initial vs loading-more states from context. Features: - Smart loading state detection (initial vs loading-more) - Optional explicit state control - TanStack Virtual integration for performance - Intersection Observer for load triggering - Configurable virtualization threshold ```tsx const { scrollRef, computedLoadingState, isLoadingMore } = useInfiniteScroll({ items, onLoadMore: fetchNextPage, hasMore: hasNextPage, isLoading: isFetching, }); ```",
|
|
47
|
+
"category": "hooks",
|
|
48
|
+
"file": "hooks/useInfiniteScroll.ts"
|
|
49
|
+
},
|
|
43
50
|
{
|
|
44
51
|
"name": "useLocalStorage",
|
|
45
52
|
"type": "function",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texturehq/edges",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"author": "Nicholas Brown <nick@texturehq.com>",
|
|
5
5
|
"description": "A shared component library for Texture",
|
|
6
6
|
"type": "module",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@phosphor-icons/react": "^2.1.7",
|
|
67
|
+
"@tanstack/react-virtual": "^3.10.8",
|
|
67
68
|
"@tiptap/core": "^3.4.5",
|
|
68
69
|
"@tiptap/extension-link": "^3.4.5",
|
|
69
70
|
"@tiptap/pm": "^3.4.5",
|