@texturehq/edges 1.5.0 → 1.5.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.
- package/dist/components.manifest.json +176 -38
- package/dist/generated/viz-runtime.css +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +410 -77
- package/dist/index.d.ts +410 -77
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/{server-BMdETIqh.d.cts → server-Cz62pUnv.d.cts} +16 -6
- package/dist/{server-BMdETIqh.d.ts → server-Cz62pUnv.d.ts} +16 -6
- package/dist/server.cjs +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/styles.css +171 -84
- package/dist/utilities.manifest.json +2 -2
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.5.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.5.2",
|
|
3
|
+
"generatedAt": "2025-10-11T01:32:19.252Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -45,6 +45,42 @@
|
|
|
45
45
|
}
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"name": "Alert",
|
|
50
|
+
"importRoot": "@texturehq/edges",
|
|
51
|
+
"importPath": "@texturehq/edges/components/Alert",
|
|
52
|
+
"description": "Alert A simple alert dialog with a single action button. Use for informational messages that require acknowledgment.",
|
|
53
|
+
"props": [
|
|
54
|
+
{
|
|
55
|
+
"name": "isOpen",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "onClose",
|
|
60
|
+
"type": "() => void"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "title",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "message",
|
|
68
|
+
"type": "React.ReactNode"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "confirmLabel",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "confirmVariant",
|
|
76
|
+
"type": "DialogAction[\"variant\"]"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "maxWidth",
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
48
84
|
{
|
|
49
85
|
"name": "AppShell",
|
|
50
86
|
"importRoot": "@texturehq/edges",
|
|
@@ -602,6 +638,58 @@
|
|
|
602
638
|
}
|
|
603
639
|
]
|
|
604
640
|
},
|
|
641
|
+
{
|
|
642
|
+
"name": "Confirm",
|
|
643
|
+
"importRoot": "@texturehq/edges",
|
|
644
|
+
"importPath": "@texturehq/edges/components/Confirm",
|
|
645
|
+
"description": "Confirm A confirmation dialog with confirm and cancel actions. Use for actions that require user confirmation before proceeding.",
|
|
646
|
+
"props": [
|
|
647
|
+
{
|
|
648
|
+
"name": "isOpen",
|
|
649
|
+
"type": "boolean"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "onClose",
|
|
653
|
+
"type": "() => void"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "onConfirm",
|
|
657
|
+
"type": "() => void"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "title",
|
|
661
|
+
"type": "string"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "message",
|
|
665
|
+
"type": "React.ReactNode"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "confirmLabel",
|
|
669
|
+
"type": "string"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "cancelLabel",
|
|
673
|
+
"type": "string"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "confirmVariant",
|
|
677
|
+
"type": "DialogAction[\"variant\"]"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "isDestructive",
|
|
681
|
+
"type": "boolean"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "isLoading",
|
|
685
|
+
"type": "boolean"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "maxWidth",
|
|
689
|
+
"type": "string"
|
|
690
|
+
}
|
|
691
|
+
]
|
|
692
|
+
},
|
|
605
693
|
{
|
|
606
694
|
"name": "CopyToClipboard",
|
|
607
695
|
"importRoot": "@texturehq/edges",
|
|
@@ -658,30 +746,44 @@
|
|
|
658
746
|
"name": "Dialog",
|
|
659
747
|
"importRoot": "@texturehq/edges",
|
|
660
748
|
"importPath": "@texturehq/edges/components/Dialog",
|
|
661
|
-
"description": "Dialog
|
|
662
|
-
"props": []
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"name": "DialogHeader",
|
|
666
|
-
"importRoot": "@texturehq/edges",
|
|
667
|
-
"importPath": "@texturehq/edges/components/DialogHeader",
|
|
668
|
-
"description": "DialogHeader Header area for dialogs with optional back arrow.",
|
|
669
|
-
"props": []
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
"name": "Drawer",
|
|
673
|
-
"importRoot": "@texturehq/edges",
|
|
674
|
-
"importPath": "@texturehq/edges/components/Drawer",
|
|
675
|
-
"description": "Maximum width of the drawer. Defaults to \"400px\". Can be any valid CSS width value.",
|
|
749
|
+
"description": "Dialog Responsive modal dialog component with backdrop. **Desktop (≥768px):** Centered modal with scale and fade animation **Mobile (<768px):** Bottom sheet that slides up from bottom Includes optional header with title/back button and footer with action buttons.",
|
|
676
750
|
"props": [
|
|
677
751
|
{
|
|
678
|
-
"name": "
|
|
679
|
-
"type": "
|
|
752
|
+
"name": "isOpen",
|
|
753
|
+
"type": "boolean"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "onClose",
|
|
757
|
+
"type": "() => void"
|
|
680
758
|
},
|
|
681
759
|
{
|
|
682
|
-
"name": "
|
|
760
|
+
"name": "children",
|
|
683
761
|
"type": "React.ReactNode"
|
|
684
762
|
},
|
|
763
|
+
{
|
|
764
|
+
"name": "transparentOverlay",
|
|
765
|
+
"type": "boolean"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "maxWidth",
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "contentPadding",
|
|
773
|
+
"type": "boolean"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "className",
|
|
777
|
+
"type": "string"
|
|
778
|
+
}
|
|
779
|
+
]
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "Drawer",
|
|
783
|
+
"importRoot": "@texturehq/edges",
|
|
784
|
+
"importPath": "@texturehq/edges/components/Drawer",
|
|
785
|
+
"description": "Drawer Sliding panel that anchors to screen edges.",
|
|
786
|
+
"props": [
|
|
685
787
|
{
|
|
686
788
|
"name": "children",
|
|
687
789
|
"type": "React.ReactNode"
|
|
@@ -706,18 +808,6 @@
|
|
|
706
808
|
"name": "className",
|
|
707
809
|
"type": "string"
|
|
708
810
|
},
|
|
709
|
-
{
|
|
710
|
-
"name": "primaryAction",
|
|
711
|
-
"type": "DrawerAction"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"name": "secondaryAction",
|
|
715
|
-
"type": "DrawerAction"
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"name": "footerContent",
|
|
719
|
-
"type": "React.ReactNode"
|
|
720
|
-
},
|
|
721
811
|
{
|
|
722
812
|
"name": "contentPadding",
|
|
723
813
|
"type": "boolean"
|
|
@@ -850,7 +940,7 @@
|
|
|
850
940
|
"props": [
|
|
851
941
|
{
|
|
852
942
|
"name": "tag",
|
|
853
|
-
"type": "
|
|
943
|
+
"type": "React.ElementType"
|
|
854
944
|
},
|
|
855
945
|
{
|
|
856
946
|
"name": "size",
|
|
@@ -1121,6 +1211,22 @@
|
|
|
1121
1211
|
}
|
|
1122
1212
|
]
|
|
1123
1213
|
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "ModalBackdrop",
|
|
1216
|
+
"importRoot": "@texturehq/edges",
|
|
1217
|
+
"importPath": "@texturehq/edges/components/ModalBackdrop",
|
|
1218
|
+
"description": "ModalBackdrop Shared backdrop/overlay component used by Dialog and Drawer. Wraps React Aria's ModalOverlay with consistent styling and smooth animations.",
|
|
1219
|
+
"props": [
|
|
1220
|
+
{
|
|
1221
|
+
"name": "transparent",
|
|
1222
|
+
"type": "boolean"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"name": "className",
|
|
1226
|
+
"type": "string"
|
|
1227
|
+
}
|
|
1228
|
+
]
|
|
1229
|
+
},
|
|
1124
1230
|
{
|
|
1125
1231
|
"name": "Notice",
|
|
1126
1232
|
"importRoot": "@texturehq/edges",
|
|
@@ -1420,12 +1526,20 @@
|
|
|
1420
1526
|
"name": "Popover",
|
|
1421
1527
|
"importRoot": "@texturehq/edges",
|
|
1422
1528
|
"importPath": "@texturehq/edges/components/Popover",
|
|
1423
|
-
"description": "Popover
|
|
1529
|
+
"description": "Popover content",
|
|
1424
1530
|
"props": [
|
|
1425
1531
|
{
|
|
1426
1532
|
"name": "showArrow",
|
|
1427
1533
|
"type": "boolean"
|
|
1428
1534
|
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "withBackdrop",
|
|
1537
|
+
"type": "boolean"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "isDismissable",
|
|
1541
|
+
"type": "boolean"
|
|
1542
|
+
},
|
|
1429
1543
|
{
|
|
1430
1544
|
"name": "children",
|
|
1431
1545
|
"type": "React.ReactNode"
|
|
@@ -1762,15 +1876,27 @@
|
|
|
1762
1876
|
"description": "Child panels",
|
|
1763
1877
|
"props": [
|
|
1764
1878
|
{
|
|
1765
|
-
"name": "
|
|
1879
|
+
"name": "asideWidth",
|
|
1880
|
+
"type": "number | string"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "asideHeight",
|
|
1884
|
+
"type": "number | string"
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "minAsideWidth",
|
|
1766
1888
|
"type": "number"
|
|
1767
1889
|
},
|
|
1768
1890
|
{
|
|
1769
|
-
"name": "
|
|
1891
|
+
"name": "minAsideHeight",
|
|
1770
1892
|
"type": "number"
|
|
1771
1893
|
},
|
|
1772
1894
|
{
|
|
1773
|
-
"name": "
|
|
1895
|
+
"name": "minMainWidth",
|
|
1896
|
+
"type": "number"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "minMainHeight",
|
|
1774
1900
|
"type": "number"
|
|
1775
1901
|
},
|
|
1776
1902
|
{
|
|
@@ -1782,13 +1908,25 @@
|
|
|
1782
1908
|
"type": "boolean"
|
|
1783
1909
|
},
|
|
1784
1910
|
{
|
|
1785
|
-
"name": "
|
|
1911
|
+
"name": "onAsideResize",
|
|
1786
1912
|
"type": "(size: number) => void"
|
|
1787
1913
|
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "onResizeStart",
|
|
1916
|
+
"type": "() => void"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "onResizeEnd",
|
|
1920
|
+
"type": "() => void"
|
|
1921
|
+
},
|
|
1788
1922
|
{
|
|
1789
1923
|
"name": "className",
|
|
1790
1924
|
"type": "string"
|
|
1791
1925
|
},
|
|
1926
|
+
{
|
|
1927
|
+
"name": "dividerClassName",
|
|
1928
|
+
"type": "string"
|
|
1929
|
+
},
|
|
1792
1930
|
{
|
|
1793
1931
|
"name": "children",
|
|
1794
1932
|
"type": "React.ReactNode"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Data Visualization Color Palette - Runtime Override
|
|
3
|
-
*
|
|
3
|
+
*
|
|
4
4
|
* WORKAROUND: These variables are defined here instead of in tailwind-tokens-*.css
|
|
5
5
|
* because Tailwind 4's @theme directive filters them out (similar issue as data-* prefix).
|
|
6
|
-
*
|
|
6
|
+
*
|
|
7
7
|
* AUTO-GENERATED by scripts/generate-viz-runtime.js
|
|
8
8
|
* DO NOT EDIT MANUALLY - Edit tokens/base/data-visualization.json instead.
|
|
9
|
-
*
|
|
9
|
+
*
|
|
10
10
|
* To customize dark mode viz colors, edit the "viz" section in tokens/themes/dark.json
|
|
11
11
|
*/
|
|
12
12
|
|