@texturehq/edges 1.5.3 → 1.6.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.5.3",
3
- "generatedAt": "2025-10-12T13:19:01.215Z",
2
+ "version": "1.6.0",
3
+ "generatedAt": "2025-10-12T21:02:10.669Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "ActionCell",
@@ -357,6 +357,10 @@
357
357
  "importPath": "@texturehq/edges/components/Button",
358
358
  "description": "Renders an Edges Button. When `href` is provided, renders a link-styled button using the same visual system.",
359
359
  "props": [
360
+ {
361
+ "name": "variant",
362
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"destructive\" | \"icon\" | \"link\" | \"unstyled\" | \"ghost\""
363
+ },
360
364
  {
361
365
  "name": "size",
362
366
  "type": "Size"
@@ -722,6 +726,34 @@
722
726
  }
723
727
  ]
724
728
  },
729
+ {
730
+ "name": "DataControls",
731
+ "importRoot": "@texturehq/edges",
732
+ "importPath": "@texturehq/edges/components/DataControls",
733
+ "description": "DataControls A unified control bar for data display components (Lists, DataTables). Provides search, filtering, sorting, results count, and action controls with responsive layout. All data operations (search, filter, sort) are handled server-side. This component is purely presentational and controlled. **Responsive Behavior:** - Narrow containers (< 640px): Two rows - Row 1: inputs (search + filter icon), Row 2: outputs (results + sort + actions) - Wide containers (≥ 640px): Single row with all controls visible Example usage: ```tsx <DataControls resultsCount={{ count: 23, label: \"sites\" }} search={{ value: searchQuery, onChange: setSearchQuery, onClear: () => setSearchQuery(''), placeholder: \"Search sites...\" }} filters={activeFilters} onRemoveFilter={removeFilter} onClearAllFilters={clearAllFilters} onManageFilters={() => setFilterDrawerOpen(true)} sort={{ value: sortBy, options: sortOptions, onChange: setSortBy }} /> ```",
734
+ "props": [
735
+ {
736
+ "name": "search",
737
+ "type": "{"
738
+ },
739
+ {
740
+ "name": "value",
741
+ "type": "string"
742
+ },
743
+ {
744
+ "name": "onChange",
745
+ "type": "(value: string) => void"
746
+ },
747
+ {
748
+ "name": "onClear",
749
+ "type": "() => void"
750
+ },
751
+ {
752
+ "name": "placeholder",
753
+ "type": "string"
754
+ }
755
+ ]
756
+ },
725
757
  {
726
758
  "name": "DataTable",
727
759
  "importRoot": "@texturehq/edges",
@@ -892,6 +924,34 @@
892
924
  }
893
925
  ]
894
926
  },
927
+ {
928
+ "name": "FilterChips",
929
+ "importRoot": "@texturehq/edges",
930
+ "importPath": "@texturehq/edges/components/FilterChips",
931
+ "description": "",
932
+ "props": [
933
+ {
934
+ "name": "search",
935
+ "type": "{"
936
+ },
937
+ {
938
+ "name": "value",
939
+ "type": "string"
940
+ },
941
+ {
942
+ "name": "onChange",
943
+ "type": "(value: string) => void"
944
+ },
945
+ {
946
+ "name": "onClear",
947
+ "type": "() => void"
948
+ },
949
+ {
950
+ "name": "placeholder",
951
+ "type": "string"
952
+ }
953
+ ]
954
+ },
895
955
  {
896
956
  "name": "Form",
897
957
  "importRoot": "@texturehq/edges",
@@ -1126,13 +1186,6 @@
1126
1186
  }
1127
1187
  ]
1128
1188
  },
1129
- {
1130
- "name": "ListHeader",
1131
- "importRoot": "@texturehq/edges",
1132
- "importPath": "@texturehq/edges/components/ListHeader",
1133
- "description": "",
1134
- "props": []
1135
- },
1136
1189
  {
1137
1190
  "name": "ListItem",
1138
1191
  "importRoot": "@texturehq/edges",
@@ -1652,6 +1705,34 @@
1652
1705
  "description": "RangeCalendar Calendar allowing selection of a date range.",
1653
1706
  "props": []
1654
1707
  },
1708
+ {
1709
+ "name": "ResultsCount",
1710
+ "importRoot": "@texturehq/edges",
1711
+ "importPath": "@texturehq/edges/components/ResultsCount",
1712
+ "description": "",
1713
+ "props": [
1714
+ {
1715
+ "name": "search",
1716
+ "type": "{"
1717
+ },
1718
+ {
1719
+ "name": "value",
1720
+ "type": "string"
1721
+ },
1722
+ {
1723
+ "name": "onChange",
1724
+ "type": "(value: string) => void"
1725
+ },
1726
+ {
1727
+ "name": "onClear",
1728
+ "type": "() => void"
1729
+ },
1730
+ {
1731
+ "name": "placeholder",
1732
+ "type": "string"
1733
+ }
1734
+ ]
1735
+ },
1655
1736
  {
1656
1737
  "name": "RichTextEditor",
1657
1738
  "importRoot": "@texturehq/edges",
@@ -1680,6 +1761,34 @@
1680
1761
  }
1681
1762
  ]
1682
1763
  },
1764
+ {
1765
+ "name": "SearchControl",
1766
+ "importRoot": "@texturehq/edges",
1767
+ "importPath": "@texturehq/edges/components/SearchControl",
1768
+ "description": "",
1769
+ "props": [
1770
+ {
1771
+ "name": "search",
1772
+ "type": "{"
1773
+ },
1774
+ {
1775
+ "name": "value",
1776
+ "type": "string"
1777
+ },
1778
+ {
1779
+ "name": "onChange",
1780
+ "type": "(value: string) => void"
1781
+ },
1782
+ {
1783
+ "name": "onClear",
1784
+ "type": "() => void"
1785
+ },
1786
+ {
1787
+ "name": "placeholder",
1788
+ "type": "string"
1789
+ }
1790
+ ]
1791
+ },
1683
1792
  {
1684
1793
  "name": "Section",
1685
1794
  "importRoot": "@texturehq/edges",
@@ -1892,6 +2001,34 @@
1892
2001
  }
1893
2002
  ]
1894
2003
  },
2004
+ {
2005
+ "name": "SortControl",
2006
+ "importRoot": "@texturehq/edges",
2007
+ "importPath": "@texturehq/edges/components/SortControl",
2008
+ "description": "",
2009
+ "props": [
2010
+ {
2011
+ "name": "search",
2012
+ "type": "{"
2013
+ },
2014
+ {
2015
+ "name": "value",
2016
+ "type": "string"
2017
+ },
2018
+ {
2019
+ "name": "onChange",
2020
+ "type": "(value: string) => void"
2021
+ },
2022
+ {
2023
+ "name": "onClear",
2024
+ "type": "() => void"
2025
+ },
2026
+ {
2027
+ "name": "placeholder",
2028
+ "type": "string"
2029
+ }
2030
+ ]
2031
+ },
1895
2032
  {
1896
2033
  "name": "SplitPane",
1897
2034
  "importRoot": "@texturehq/edges",