@texturehq/edges 1.5.1 → 1.5.3
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 +164 -27
- package/dist/index.cjs +14 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +334 -39
- package/dist/index.d.ts +334 -39
- package/dist/index.js +14 -12
- package/dist/index.js.map +1 -1
- package/dist/{server-B74FiF5M.d.cts → server-C20rH2CQ.d.cts} +2 -1
- package/dist/{server-B74FiF5M.d.ts → server-C20rH2CQ.d.ts} +2 -1
- package/dist/server.cjs +17 -15
- 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 +17 -15
- package/dist/server.js.map +1 -1
- package/dist/styles/animations.css +40 -0
- package/dist/styles.css +177 -14
- package/dist/utilities.manifest.json +2 -2
- package/package.json +8 -8
- package/scripts/generate-components-manifest.js +6 -6
- package/scripts/generate-utilities-manifest.js +66 -43
- package/scripts/generate-viz-runtime.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.5.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.5.3",
|
|
3
|
+
"generatedAt": "2025-10-12T13:19:01.215Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -45,6 +45,46 @@
|
|
|
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
|
+
"name": "minWidth",
|
|
84
|
+
"type": "string"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
48
88
|
{
|
|
49
89
|
"name": "AppShell",
|
|
50
90
|
"importRoot": "@texturehq/edges",
|
|
@@ -602,6 +642,62 @@
|
|
|
602
642
|
}
|
|
603
643
|
]
|
|
604
644
|
},
|
|
645
|
+
{
|
|
646
|
+
"name": "Confirm",
|
|
647
|
+
"importRoot": "@texturehq/edges",
|
|
648
|
+
"importPath": "@texturehq/edges/components/Confirm",
|
|
649
|
+
"description": "Confirm A confirmation dialog with confirm and cancel actions. Use for actions that require user confirmation before proceeding.",
|
|
650
|
+
"props": [
|
|
651
|
+
{
|
|
652
|
+
"name": "isOpen",
|
|
653
|
+
"type": "boolean"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "onClose",
|
|
657
|
+
"type": "() => void"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "onConfirm",
|
|
661
|
+
"type": "() => void"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "title",
|
|
665
|
+
"type": "string"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "message",
|
|
669
|
+
"type": "React.ReactNode"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "confirmLabel",
|
|
673
|
+
"type": "string"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "cancelLabel",
|
|
677
|
+
"type": "string"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "confirmVariant",
|
|
681
|
+
"type": "DialogAction[\"variant\"]"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "isDestructive",
|
|
685
|
+
"type": "boolean"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "isLoading",
|
|
689
|
+
"type": "boolean"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "maxWidth",
|
|
693
|
+
"type": "string"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "minWidth",
|
|
697
|
+
"type": "string"
|
|
698
|
+
}
|
|
699
|
+
]
|
|
700
|
+
},
|
|
605
701
|
{
|
|
606
702
|
"name": "CopyToClipboard",
|
|
607
703
|
"importRoot": "@texturehq/edges",
|
|
@@ -658,8 +754,41 @@
|
|
|
658
754
|
"name": "Dialog",
|
|
659
755
|
"importRoot": "@texturehq/edges",
|
|
660
756
|
"importPath": "@texturehq/edges/components/Dialog",
|
|
661
|
-
"description": "Dialog
|
|
662
|
-
"props": [
|
|
757
|
+
"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. ## Usage Patterns ### Uncontrolled with DialogTrigger (Recommended) ```tsx import { DialogTrigger, Dialog, Button } from \"@texturehq/edges\"; <DialogTrigger> <Button>Open Dialog</Button> <Dialog title=\"My Dialog\"> <p>Dialog content</p> </Dialog> </DialogTrigger> ``` ### Controlled (Advanced) ```tsx const [isOpen, setIsOpen] = useState(false); <Dialog isOpen={isOpen} onClose={() => setIsOpen(false)} title=\"My Dialog\"> <p>Dialog content</p> </Dialog> ```",
|
|
758
|
+
"props": [
|
|
759
|
+
{
|
|
760
|
+
"name": "isOpen",
|
|
761
|
+
"type": "boolean"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"name": "onClose",
|
|
765
|
+
"type": "() => void"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "children",
|
|
769
|
+
"type": "React.ReactNode"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "transparentOverlay",
|
|
773
|
+
"type": "boolean"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "maxWidth",
|
|
777
|
+
"type": "string"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"name": "minWidth",
|
|
781
|
+
"type": "string"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "contentPadding",
|
|
785
|
+
"type": "boolean"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "className",
|
|
789
|
+
"type": "string"
|
|
790
|
+
}
|
|
791
|
+
]
|
|
663
792
|
},
|
|
664
793
|
{
|
|
665
794
|
"name": "DialogHeader",
|
|
@@ -672,16 +801,8 @@
|
|
|
672
801
|
"name": "Drawer",
|
|
673
802
|
"importRoot": "@texturehq/edges",
|
|
674
803
|
"importPath": "@texturehq/edges/components/Drawer",
|
|
675
|
-
"description": "
|
|
804
|
+
"description": "Drawer Sliding panel that anchors to screen edges.",
|
|
676
805
|
"props": [
|
|
677
|
-
{
|
|
678
|
-
"name": "title",
|
|
679
|
-
"type": "string"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "headerContent",
|
|
683
|
-
"type": "React.ReactNode"
|
|
684
|
-
},
|
|
685
806
|
{
|
|
686
807
|
"name": "children",
|
|
687
808
|
"type": "React.ReactNode"
|
|
@@ -706,18 +827,6 @@
|
|
|
706
827
|
"name": "className",
|
|
707
828
|
"type": "string"
|
|
708
829
|
},
|
|
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
830
|
{
|
|
722
831
|
"name": "contentPadding",
|
|
723
832
|
"type": "boolean"
|
|
@@ -850,7 +959,7 @@
|
|
|
850
959
|
"props": [
|
|
851
960
|
{
|
|
852
961
|
"name": "tag",
|
|
853
|
-
"type": "
|
|
962
|
+
"type": "React.ElementType"
|
|
854
963
|
},
|
|
855
964
|
{
|
|
856
965
|
"name": "size",
|
|
@@ -1121,6 +1230,22 @@
|
|
|
1121
1230
|
}
|
|
1122
1231
|
]
|
|
1123
1232
|
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "ModalBackdrop",
|
|
1235
|
+
"importRoot": "@texturehq/edges",
|
|
1236
|
+
"importPath": "@texturehq/edges/components/ModalBackdrop",
|
|
1237
|
+
"description": "ModalBackdrop Shared backdrop/overlay component used by Dialog and Drawer. Wraps React Aria's ModalOverlay with consistent styling and smooth animations.",
|
|
1238
|
+
"props": [
|
|
1239
|
+
{
|
|
1240
|
+
"name": "transparent",
|
|
1241
|
+
"type": "boolean"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "className",
|
|
1245
|
+
"type": "string"
|
|
1246
|
+
}
|
|
1247
|
+
]
|
|
1248
|
+
},
|
|
1124
1249
|
{
|
|
1125
1250
|
"name": "Notice",
|
|
1126
1251
|
"importRoot": "@texturehq/edges",
|
|
@@ -1420,12 +1545,20 @@
|
|
|
1420
1545
|
"name": "Popover",
|
|
1421
1546
|
"importRoot": "@texturehq/edges",
|
|
1422
1547
|
"importPath": "@texturehq/edges/components/Popover",
|
|
1423
|
-
"description": "Popover
|
|
1548
|
+
"description": "Popover content",
|
|
1424
1549
|
"props": [
|
|
1425
1550
|
{
|
|
1426
1551
|
"name": "showArrow",
|
|
1427
1552
|
"type": "boolean"
|
|
1428
1553
|
},
|
|
1554
|
+
{
|
|
1555
|
+
"name": "withBackdrop",
|
|
1556
|
+
"type": "boolean"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "isDismissable",
|
|
1560
|
+
"type": "boolean"
|
|
1561
|
+
},
|
|
1429
1562
|
{
|
|
1430
1563
|
"name": "children",
|
|
1431
1564
|
"type": "React.ReactNode"
|
|
@@ -1651,6 +1784,10 @@
|
|
|
1651
1784
|
"name": "bottomItems",
|
|
1652
1785
|
"type": "SideNavItem[]"
|
|
1653
1786
|
},
|
|
1787
|
+
{
|
|
1788
|
+
"name": "bottomContent",
|
|
1789
|
+
"type": "React.ReactNode"
|
|
1790
|
+
},
|
|
1654
1791
|
{
|
|
1655
1792
|
"name": "logo",
|
|
1656
1793
|
"type": "React.ReactNode"
|