@texturehq/edges 1.0.0 → 1.0.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.
@@ -1,7 +1,14 @@
1
1
  {
2
- "version": "1.0.0",
3
- "generatedAt": "2025-09-23T14:29:22.998Z",
2
+ "version": "1.0.2",
3
+ "generatedAt": "2025-09-26T21:04:21.916Z",
4
4
  "components": [
5
+ {
6
+ "name": "ActionCell",
7
+ "importRoot": "@texturehq/edges",
8
+ "importPath": "@texturehq/edges/components/ActionCell",
9
+ "description": "",
10
+ "props": []
11
+ },
5
12
  {
6
13
  "name": "ActionMenu",
7
14
  "importRoot": "@texturehq/edges",
@@ -38,6 +45,46 @@
38
45
  }
39
46
  ]
40
47
  },
48
+ {
49
+ "name": "AppShell",
50
+ "importRoot": "@texturehq/edges",
51
+ "importPath": "@texturehq/edges/components/AppShell",
52
+ "description": "Isomorphic AppShell component that works as both server and client component Uses CSS-only interactions by default for full SSR compatibility Can be progressively enhanced with JavaScript when enableJsEnhancements is true",
53
+ "props": [
54
+ {
55
+ "name": "sideNav",
56
+ "type": "Omit<SideNavProps, \"mobileMenuId\" | \"sidebarCollapseId\">"
57
+ },
58
+ {
59
+ "name": "topNav",
60
+ "type": "Pick<"
61
+ },
62
+ {
63
+ "name": "children",
64
+ "type": "React.ReactNode"
65
+ },
66
+ {
67
+ "name": "contentPaddingX",
68
+ "type": "string"
69
+ },
70
+ {
71
+ "name": "contentPaddingY",
72
+ "type": "string"
73
+ },
74
+ {
75
+ "name": "showSidebarBorder",
76
+ "type": "boolean"
77
+ },
78
+ {
79
+ "name": "mainClassName",
80
+ "type": "string"
81
+ },
82
+ {
83
+ "name": "enableJsEnhancements",
84
+ "type": "boolean"
85
+ }
86
+ ]
87
+ },
41
88
  {
42
89
  "name": "AreaSeries",
43
90
  "importRoot": "@texturehq/edges",
@@ -243,6 +290,13 @@
243
290
  "description": "",
244
291
  "props": []
245
292
  },
293
+ {
294
+ "name": "BooleanCell",
295
+ "importRoot": "@texturehq/edges",
296
+ "importPath": "@texturehq/edges/components/BooleanCell",
297
+ "description": "",
298
+ "props": []
299
+ },
246
300
  {
247
301
  "name": "Breadcrumb",
248
302
  "importRoot": "@texturehq/edges",
@@ -419,6 +473,30 @@
419
473
  }
420
474
  ]
421
475
  },
476
+ {
477
+ "name": "CheckboxGroup",
478
+ "importRoot": "@texturehq/edges",
479
+ "importPath": "@texturehq/edges/components/CheckboxGroup",
480
+ "description": "Checkbox Single checkbox with Edges visuals.",
481
+ "props": [
482
+ {
483
+ "name": "label",
484
+ "type": "string"
485
+ },
486
+ {
487
+ "name": "children",
488
+ "type": "ReactNode"
489
+ },
490
+ {
491
+ "name": "description",
492
+ "type": "string"
493
+ },
494
+ {
495
+ "name": "errorMessage",
496
+ "type": "string | ((validation: ValidationResult) => string)"
497
+ }
498
+ ]
499
+ },
422
500
  {
423
501
  "name": "Chip",
424
502
  "importRoot": "@texturehq/edges",
@@ -527,6 +605,30 @@
527
605
  }
528
606
  ]
529
607
  },
608
+ {
609
+ "name": "CopyToClipboard",
610
+ "importRoot": "@texturehq/edges",
611
+ "importPath": "@texturehq/edges/components/CopyToClipboard",
612
+ "description": "Size of the copy button, defaults to \"sm\"",
613
+ "props": [
614
+ {
615
+ "name": "value",
616
+ "type": "string"
617
+ },
618
+ {
619
+ "name": "children",
620
+ "type": "React.ReactNode"
621
+ },
622
+ {
623
+ "name": "className",
624
+ "type": "string"
625
+ },
626
+ {
627
+ "name": "size",
628
+ "type": "\"sm\" | \"md\""
629
+ }
630
+ ]
631
+ },
530
632
  {
531
633
  "name": "DataTable",
532
634
  "importRoot": "@texturehq/edges",
@@ -534,6 +636,13 @@
534
636
  "description": "",
535
637
  "props": []
536
638
  },
639
+ {
640
+ "name": "DateCell",
641
+ "importRoot": "@texturehq/edges",
642
+ "importPath": "@texturehq/edges/components/DateCell",
643
+ "description": "",
644
+ "props": []
645
+ },
537
646
  {
538
647
  "name": "DateField",
539
648
  "importRoot": "@texturehq/edges",
@@ -789,6 +898,14 @@
789
898
  {
790
899
  "name": "showWordmark",
791
900
  "type": "boolean"
901
+ },
902
+ {
903
+ "name": "width",
904
+ "type": "number"
905
+ },
906
+ {
907
+ "name": "fill",
908
+ "type": "string"
792
909
  }
793
910
  ]
794
911
  },
@@ -939,6 +1056,13 @@
939
1056
  }
940
1057
  ]
941
1058
  },
1059
+ {
1060
+ "name": "NumberCell",
1061
+ "importRoot": "@texturehq/edges",
1062
+ "importPath": "@texturehq/edges/components/NumberCell",
1063
+ "description": "",
1064
+ "props": []
1065
+ },
942
1066
  {
943
1067
  "name": "NumberField",
944
1068
  "importRoot": "@texturehq/edges",
@@ -1261,6 +1385,53 @@
1261
1385
  "description": "Whether to use transparent background",
1262
1386
  "props": []
1263
1387
  },
1388
+ {
1389
+ "name": "SelectCell",
1390
+ "importRoot": "@texturehq/edges",
1391
+ "importPath": "@texturehq/edges/components/SelectCell",
1392
+ "description": "",
1393
+ "props": []
1394
+ },
1395
+ {
1396
+ "name": "SideNav",
1397
+ "importRoot": "@texturehq/edges",
1398
+ "importPath": "@texturehq/edges/components/SideNav",
1399
+ "description": "",
1400
+ "props": [
1401
+ {
1402
+ "name": "topItems",
1403
+ "type": "SideNavItem[]"
1404
+ },
1405
+ {
1406
+ "name": "bottomItems",
1407
+ "type": "SideNavItem[]"
1408
+ },
1409
+ {
1410
+ "name": "logo",
1411
+ "type": "React.ReactNode"
1412
+ },
1413
+ {
1414
+ "name": "showLogo",
1415
+ "type": "boolean"
1416
+ },
1417
+ {
1418
+ "name": "linkComponent",
1419
+ "type": "React.ElementType"
1420
+ },
1421
+ {
1422
+ "name": "className",
1423
+ "type": "string"
1424
+ },
1425
+ {
1426
+ "name": "mobileMenuId",
1427
+ "type": "string"
1428
+ },
1429
+ {
1430
+ "name": "sidebarCollapseId",
1431
+ "type": "string"
1432
+ }
1433
+ ]
1434
+ },
1264
1435
  {
1265
1436
  "name": "Skeleton",
1266
1437
  "importRoot": "@texturehq/edges",
@@ -1268,6 +1439,13 @@
1268
1439
  "description": "",
1269
1440
  "props": []
1270
1441
  },
1442
+ {
1443
+ "name": "SKELETON_SIZES",
1444
+ "importRoot": "@texturehq/edges",
1445
+ "importPath": "@texturehq/edges/components/SKELETON_SIZES",
1446
+ "description": "",
1447
+ "props": []
1448
+ },
1271
1449
  {
1272
1450
  "name": "Slider",
1273
1451
  "importRoot": "@texturehq/edges",
@@ -1499,6 +1677,13 @@
1499
1677
  }
1500
1678
  ]
1501
1679
  },
1680
+ {
1681
+ "name": "TextCell",
1682
+ "importRoot": "@texturehq/edges",
1683
+ "importPath": "@texturehq/edges/components/TextCell",
1684
+ "description": "",
1685
+ "props": []
1686
+ },
1502
1687
  {
1503
1688
  "name": "TextField",
1504
1689
  "importRoot": "@texturehq/edges",
@@ -1734,6 +1919,50 @@
1734
1919
  "type": "React.ReactNode"
1735
1920
  }
1736
1921
  ]
1922
+ },
1923
+ {
1924
+ "name": "TopNav",
1925
+ "importRoot": "@texturehq/edges",
1926
+ "importPath": "@texturehq/edges/components/TopNav",
1927
+ "description": "",
1928
+ "props": [
1929
+ {
1930
+ "name": "rightContent",
1931
+ "type": "React.ReactNode"
1932
+ },
1933
+ {
1934
+ "name": "showMobileMenu",
1935
+ "type": "boolean"
1936
+ },
1937
+ {
1938
+ "name": "avatar",
1939
+ "type": "React.ReactNode"
1940
+ },
1941
+ {
1942
+ "name": "showColorModeSwitcher",
1943
+ "type": "boolean"
1944
+ },
1945
+ {
1946
+ "name": "toggleTheme",
1947
+ "type": "() => void"
1948
+ },
1949
+ {
1950
+ "name": "isDarkThemeEnabled",
1951
+ "type": "boolean"
1952
+ },
1953
+ {
1954
+ "name": "actions",
1955
+ "type": "React.ReactNode"
1956
+ },
1957
+ {
1958
+ "name": "className",
1959
+ "type": "string"
1960
+ },
1961
+ {
1962
+ "name": "mobileMenuId",
1963
+ "type": "string"
1964
+ }
1965
+ ]
1737
1966
  }
1738
1967
  ]
1739
1968
  }
@@ -8,7 +8,7 @@
8
8
  * For other platforms, generate separate outputs using different transforms.
9
9
  */
10
10
 
11
- .dark {
11
+ .theme-dark {
12
12
  --color-white: #ffffff;
13
13
  --color-black: #000000;
14
14
  --color-gray-50: #f9fafb;
@@ -184,6 +184,7 @@
184
184
  --color-action-primary: #7a8ee1;
185
185
  --color-action-primary-hover: #6a6fcc;
186
186
  --color-action-primary-text: #ffffff;
187
+ --color-action-primary-light: rgba(122, 142, 225, 0.15);
187
188
  --color-action-secondary: #e5e7eb;
188
189
  --color-action-secondary-hover: #f3f4f6;
189
190
  --color-action-secondary-text: #111827;
@@ -149,7 +149,7 @@
149
149
  --font-letterspacing-wide: 0.025em;
150
150
  --font-letterspacing-wider: 0.05em;
151
151
  --font-letterspacing-widest: 0.1em;
152
- --color-background-body: #f9fafb;
152
+ --color-background-body: #ffffff;
153
153
  --color-background-surface: #ffffff;
154
154
  --color-background-muted: #f3f4f6;
155
155
  --color-background-hover: #f3f4f6;
@@ -184,6 +184,7 @@
184
184
  --color-action-primary: #444ae1;
185
185
  --color-action-primary-hover: #383ccb;
186
186
  --color-action-primary-text: #ffffff;
187
+ --color-action-primary-light: rgba(68, 74, 225, 0.1);
187
188
  --color-action-secondary: #333333;
188
189
  --color-action-secondary-hover: #4b5563;
189
190
  --color-action-secondary-text: #ffffff;