@texturehq/edges 1.0.2 → 1.1.1
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 +320 -23
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1229 -10
- package/dist/index.d.ts +1229 -10
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{server-DmvMh5XJ.d.cts → server-DkP8PI1p.d.cts} +106 -148
- package/dist/{server-DmvMh5XJ.d.ts → server-DkP8PI1p.d.ts} +106 -148
- package/dist/server.cjs +11 -12
- 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 +11 -12
- package/dist/server.js.map +1 -1
- package/dist/styles/utilities.css +10 -7
- package/dist/styles.css +1208 -96
- package/package.json +3 -1
- package/scripts/copy-assets.js +9 -2
- package/scripts/generate-components-manifest.js +19 -8
- package/scripts/setup-cursor-rules-manual.js +66 -57
- package/scripts/setup-cursor-rules.js +103 -89
- package/scripts/validate-tokens.js +46 -48
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"generatedAt": "2025-09-
|
|
2
|
+
"version": "1.1.1",
|
|
3
|
+
"generatedAt": "2025-09-29T21:55:57.587Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -394,32 +394,20 @@
|
|
|
394
394
|
"name": "Card",
|
|
395
395
|
"importRoot": "@texturehq/edges",
|
|
396
396
|
"importPath": "@texturehq/edges/components/Card",
|
|
397
|
-
"description": "",
|
|
397
|
+
"description": "Card - Enterprise surface container component A flexible, composable card component following enterprise design system best practices. Supports modular content sections with consistent styling and accessibility. Usage: ```tsx <Card variant=\"outlined\" size=\"md\"> <Card.Header title=\"Card Title\" subtitle=\"Optional subtitle\" actions={<Button variant=\"ghost\" icon=\"MoreHorizontal\" />} /> <Card.Media src=\"image.jpg\" alt=\"Description\" /> <Card.Content> <p>Main content goes here</p> </Card.Content> <Card.Footer> <Button variant=\"primary\">Action</Button> </Card.Footer> </Card> ```",
|
|
398
398
|
"props": [
|
|
399
399
|
{
|
|
400
|
-
"name": "
|
|
401
|
-
"type": "
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"name": "upperRightText",
|
|
405
|
-
"type": "React.ReactNode"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"name": "withPadding",
|
|
409
|
-
"type": "boolean"
|
|
400
|
+
"name": "variant",
|
|
401
|
+
"type": "CardVariant"
|
|
410
402
|
},
|
|
411
403
|
{
|
|
412
|
-
"name": "
|
|
413
|
-
"type": "
|
|
404
|
+
"name": "className",
|
|
405
|
+
"type": "string"
|
|
414
406
|
},
|
|
415
407
|
{
|
|
416
408
|
"name": "children",
|
|
417
409
|
"type": "React.ReactNode"
|
|
418
410
|
},
|
|
419
|
-
{
|
|
420
|
-
"name": "className",
|
|
421
|
-
"type": "string"
|
|
422
|
-
},
|
|
423
411
|
{
|
|
424
412
|
"name": "isLoading",
|
|
425
413
|
"type": "boolean"
|
|
@@ -793,6 +781,58 @@
|
|
|
793
781
|
"description": "Form Accessibility-first form wrapper with consistent spacing.",
|
|
794
782
|
"props": []
|
|
795
783
|
},
|
|
784
|
+
{
|
|
785
|
+
"name": "Grid",
|
|
786
|
+
"importRoot": "@texturehq/edges",
|
|
787
|
+
"importPath": "@texturehq/edges/components/Grid",
|
|
788
|
+
"description": "Child elements",
|
|
789
|
+
"props": [
|
|
790
|
+
{
|
|
791
|
+
"name": "cols",
|
|
792
|
+
"type": "ResponsiveValue<GridCols>"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "gap",
|
|
796
|
+
"type": "GridGap"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"name": "gapY",
|
|
800
|
+
"type": "GridGap"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "gapX",
|
|
804
|
+
"type": "GridGap"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "align",
|
|
808
|
+
"type": "GridAlign"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "justify",
|
|
812
|
+
"type": "GridJustify"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "flow",
|
|
816
|
+
"type": "GridFlow"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "autoFit",
|
|
820
|
+
"type": "string"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "autoFill",
|
|
824
|
+
"type": "string"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "className",
|
|
828
|
+
"type": "string"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "children",
|
|
832
|
+
"type": "React.ReactNode"
|
|
833
|
+
}
|
|
834
|
+
]
|
|
835
|
+
},
|
|
796
836
|
{
|
|
797
837
|
"name": "Heading",
|
|
798
838
|
"importRoot": "@texturehq/edges",
|
|
@@ -835,6 +875,102 @@
|
|
|
835
875
|
"description": "",
|
|
836
876
|
"props": []
|
|
837
877
|
},
|
|
878
|
+
{
|
|
879
|
+
"name": "Kpi",
|
|
880
|
+
"importRoot": "@texturehq/edges",
|
|
881
|
+
"importPath": "@texturehq/edges/components/Kpi",
|
|
882
|
+
"description": "Custom trend renderer",
|
|
883
|
+
"props": [
|
|
884
|
+
{
|
|
885
|
+
"name": "label",
|
|
886
|
+
"type": "React.ReactNode"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "value",
|
|
890
|
+
"type": "number | string"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "formatter",
|
|
894
|
+
"type": "KpiFormatter"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "delta",
|
|
898
|
+
"type": "number"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "deltaPeriodLabel",
|
|
902
|
+
"type": "string"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "deltaIntent",
|
|
906
|
+
"type": "\"upIsGood\" | \"downIsGood\""
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "trend",
|
|
910
|
+
"type": "TrendPoint[]"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "status",
|
|
914
|
+
"type": "{"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "value",
|
|
918
|
+
"type": "string"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "tone",
|
|
922
|
+
"type": "KpiStatus"
|
|
923
|
+
}
|
|
924
|
+
]
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "KpiGroup",
|
|
928
|
+
"importRoot": "@texturehq/edges",
|
|
929
|
+
"importPath": "@texturehq/edges/components/KpiGroup",
|
|
930
|
+
"description": "",
|
|
931
|
+
"props": [
|
|
932
|
+
{
|
|
933
|
+
"name": "label",
|
|
934
|
+
"type": "React.ReactNode"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "value",
|
|
938
|
+
"type": "number | string"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "formatter",
|
|
942
|
+
"type": "KpiFormatter"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"name": "delta",
|
|
946
|
+
"type": "number"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "deltaPeriodLabel",
|
|
950
|
+
"type": "string"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "deltaIntent",
|
|
954
|
+
"type": "\"upIsGood\" | \"downIsGood\""
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"name": "trend",
|
|
958
|
+
"type": "TrendPoint[]"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "status",
|
|
962
|
+
"type": "{"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"name": "value",
|
|
966
|
+
"type": "string"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"name": "tone",
|
|
970
|
+
"type": "KpiStatus"
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
},
|
|
838
974
|
{
|
|
839
975
|
"name": "LineSeries",
|
|
840
976
|
"importRoot": "@texturehq/edges",
|
|
@@ -1131,6 +1267,34 @@
|
|
|
1131
1267
|
}
|
|
1132
1268
|
]
|
|
1133
1269
|
},
|
|
1270
|
+
{
|
|
1271
|
+
"name": "PageLayout",
|
|
1272
|
+
"importRoot": "@texturehq/edges",
|
|
1273
|
+
"importPath": "@texturehq/edges/components/PageLayout",
|
|
1274
|
+
"description": "Constrain width and apply default page rhythm",
|
|
1275
|
+
"props": [
|
|
1276
|
+
{
|
|
1277
|
+
"name": "children",
|
|
1278
|
+
"type": "React.ReactNode"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "maxWidth",
|
|
1282
|
+
"type": "number"
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "paddingXClass",
|
|
1286
|
+
"type": "string"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "paddingYClass",
|
|
1290
|
+
"type": "string"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "className",
|
|
1294
|
+
"type": "string"
|
|
1295
|
+
}
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1134
1298
|
{
|
|
1135
1299
|
"name": "PlaceSearch",
|
|
1136
1300
|
"importRoot": "@texturehq/edges",
|
|
@@ -1346,6 +1510,50 @@
|
|
|
1346
1510
|
}
|
|
1347
1511
|
]
|
|
1348
1512
|
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "Section",
|
|
1515
|
+
"importRoot": "@texturehq/edges",
|
|
1516
|
+
"importPath": "@texturehq/edges/components/Section",
|
|
1517
|
+
"description": "Section content",
|
|
1518
|
+
"props": [
|
|
1519
|
+
{
|
|
1520
|
+
"name": "title",
|
|
1521
|
+
"type": "React.ReactNode"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"name": "description",
|
|
1525
|
+
"type": "React.ReactNode"
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"name": "actions",
|
|
1529
|
+
"type": "React.ReactNode"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"name": "variant",
|
|
1533
|
+
"type": "SectionVariant"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "spacing",
|
|
1537
|
+
"type": "SectionSpacing"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "withDivider",
|
|
1541
|
+
"type": "boolean"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "headingAs",
|
|
1545
|
+
"type": "\"h2\" | \"h3\" | \"h4\""
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "className",
|
|
1549
|
+
"type": "string"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"name": "children",
|
|
1553
|
+
"type": "React.ReactNode"
|
|
1554
|
+
}
|
|
1555
|
+
]
|
|
1556
|
+
},
|
|
1349
1557
|
{
|
|
1350
1558
|
"name": "SegmentedControl",
|
|
1351
1559
|
"importRoot": "@texturehq/edges",
|
|
@@ -1400,7 +1608,7 @@
|
|
|
1400
1608
|
"props": [
|
|
1401
1609
|
{
|
|
1402
1610
|
"name": "topItems",
|
|
1403
|
-
"type": "SideNavItem[]"
|
|
1611
|
+
"type": "SideNavItem[] | SideNavSection[]"
|
|
1404
1612
|
},
|
|
1405
1613
|
{
|
|
1406
1614
|
"name": "bottomItems",
|
|
@@ -1510,6 +1718,46 @@
|
|
|
1510
1718
|
}
|
|
1511
1719
|
]
|
|
1512
1720
|
},
|
|
1721
|
+
{
|
|
1722
|
+
"name": "SplitPane",
|
|
1723
|
+
"importRoot": "@texturehq/edges",
|
|
1724
|
+
"importPath": "@texturehq/edges/components/SplitPane",
|
|
1725
|
+
"description": "Child panels",
|
|
1726
|
+
"props": [
|
|
1727
|
+
{
|
|
1728
|
+
"name": "defaultSize",
|
|
1729
|
+
"type": "number"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"name": "minSize",
|
|
1733
|
+
"type": "number"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "maxSize",
|
|
1737
|
+
"type": "number"
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"name": "orientation",
|
|
1741
|
+
"type": "SplitPaneOrientation"
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"name": "resizable",
|
|
1745
|
+
"type": "boolean"
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
"name": "onResize",
|
|
1749
|
+
"type": "(size: number) => void"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"name": "className",
|
|
1753
|
+
"type": "string"
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "children",
|
|
1757
|
+
"type": "React.ReactNode"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1513
1761
|
{
|
|
1514
1762
|
"name": "StaticMap",
|
|
1515
1763
|
"importRoot": "@texturehq/edges",
|
|
@@ -1517,6 +1765,50 @@
|
|
|
1517
1765
|
"description": "",
|
|
1518
1766
|
"props": []
|
|
1519
1767
|
},
|
|
1768
|
+
{
|
|
1769
|
+
"name": "StatList",
|
|
1770
|
+
"importRoot": "@texturehq/edges",
|
|
1771
|
+
"importPath": "@texturehq/edges/components/StatList",
|
|
1772
|
+
"description": "Additional CSS classes",
|
|
1773
|
+
"props": [
|
|
1774
|
+
{
|
|
1775
|
+
"name": "items",
|
|
1776
|
+
"type": "StatItem[]"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"name": "layout",
|
|
1780
|
+
"type": "StatLayout"
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"name": "dense",
|
|
1784
|
+
"type": "boolean"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"name": "valueAlign",
|
|
1788
|
+
"type": "StatAlign"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "showDividers",
|
|
1792
|
+
"type": "boolean"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "skeleton",
|
|
1796
|
+
"type": "boolean"
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"name": "empty",
|
|
1800
|
+
"type": "boolean"
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "error",
|
|
1804
|
+
"type": "string | React.ReactNode"
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "className",
|
|
1808
|
+
"type": "string"
|
|
1809
|
+
}
|
|
1810
|
+
]
|
|
1811
|
+
},
|
|
1520
1812
|
{
|
|
1521
1813
|
"name": "Switch",
|
|
1522
1814
|
"importRoot": "@texturehq/edges",
|
|
@@ -1533,7 +1825,7 @@
|
|
|
1533
1825
|
"name": "Tab",
|
|
1534
1826
|
"importRoot": "@texturehq/edges",
|
|
1535
1827
|
"importPath": "@texturehq/edges/components/Tab",
|
|
1536
|
-
"description": "Tabs Tabbed interface with styled tabs and panels.",
|
|
1828
|
+
"description": "Tabs Tabbed interface with styled tabs and panels. @param variant - \"default\" for gray styling, \"accent\" for brand color styling",
|
|
1537
1829
|
"props": []
|
|
1538
1830
|
},
|
|
1539
1831
|
{
|
|
@@ -1554,8 +1846,13 @@
|
|
|
1554
1846
|
"name": "Tabs",
|
|
1555
1847
|
"importRoot": "@texturehq/edges",
|
|
1556
1848
|
"importPath": "@texturehq/edges/components/Tabs",
|
|
1557
|
-
"description": "Tabs Tabbed interface with styled tabs and panels.",
|
|
1558
|
-
"props": [
|
|
1849
|
+
"description": "Tabs Tabbed interface with styled tabs and panels. @param variant - \"default\" for gray styling, \"accent\" for brand color styling",
|
|
1850
|
+
"props": [
|
|
1851
|
+
{
|
|
1852
|
+
"name": "variant",
|
|
1853
|
+
"type": "TabVariant"
|
|
1854
|
+
}
|
|
1855
|
+
]
|
|
1559
1856
|
},
|
|
1560
1857
|
{
|
|
1561
1858
|
"name": "TextArea",
|