@texturehq/edges 1.12.2 → 1.13.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 +43 -30
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +587 -23
- package/dist/index.d.ts +587 -23
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/{server-8T44SFVa.d.cts → server-BV15KAF4.d.cts} +1 -1
- package/dist/{server-8T44SFVa.d.ts → server-BV15KAF4.d.ts} +1 -1
- 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/utilities.css +2 -2
- package/dist/styles.css +40 -14
- package/dist/utilities.manifest.json +30 -2
- package/package.json +3 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.13.1",
|
|
3
|
+
"generatedAt": "2025-10-27T18:44:56.462Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
{
|
|
29
29
|
"name": "ActivityFeed",
|
|
30
30
|
"category": "Activity",
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Height/maxHeight for scroll container",
|
|
32
32
|
"importRoot": "@texturehq/edges",
|
|
33
33
|
"importPath": "@texturehq/edges/components/ActivityFeed",
|
|
34
34
|
"props": [],
|
|
@@ -204,7 +204,9 @@
|
|
|
204
204
|
"importRoot": "@texturehq/edges",
|
|
205
205
|
"importPath": "@texturehq/edges/components/AutoMobileRenderer",
|
|
206
206
|
"props": [],
|
|
207
|
-
"relatedComponents": [
|
|
207
|
+
"relatedComponents": [
|
|
208
|
+
"Skeleton"
|
|
209
|
+
],
|
|
208
210
|
"storybookPath": "Data/AutoMobileRenderer"
|
|
209
211
|
},
|
|
210
212
|
{
|
|
@@ -543,7 +545,9 @@
|
|
|
543
545
|
"importRoot": "@texturehq/edges",
|
|
544
546
|
"importPath": "@texturehq/edges/components/CardMobileRenderer",
|
|
545
547
|
"props": [],
|
|
546
|
-
"relatedComponents": [
|
|
548
|
+
"relatedComponents": [
|
|
549
|
+
"Skeleton"
|
|
550
|
+
],
|
|
547
551
|
"storybookPath": "Data/CardMobileRenderer"
|
|
548
552
|
},
|
|
549
553
|
{
|
|
@@ -618,7 +622,7 @@
|
|
|
618
622
|
{
|
|
619
623
|
"name": "Checkbox",
|
|
620
624
|
"category": "Form Controls",
|
|
621
|
-
"description": "Visual variant of the checkbox @default \"
|
|
625
|
+
"description": "Visual variant of the checkbox @default \"default\"",
|
|
622
626
|
"importRoot": "@texturehq/edges",
|
|
623
627
|
"importPath": "@texturehq/edges/components/Checkbox",
|
|
624
628
|
"props": [
|
|
@@ -635,7 +639,7 @@
|
|
|
635
639
|
{
|
|
636
640
|
"name": "CheckboxGroup",
|
|
637
641
|
"category": "Form Controls",
|
|
638
|
-
"description": "Visual variant of the checkbox @default \"
|
|
642
|
+
"description": "Visual variant of the checkbox @default \"default\"",
|
|
639
643
|
"importRoot": "@texturehq/edges",
|
|
640
644
|
"importPath": "@texturehq/edges/components/CheckboxGroup",
|
|
641
645
|
"props": [
|
|
@@ -798,7 +802,7 @@
|
|
|
798
802
|
{
|
|
799
803
|
"name": "DataControls",
|
|
800
804
|
"category": "Data",
|
|
801
|
-
"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 }} /> ```",
|
|
805
|
+
"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. **Features:** - Optional sticky positioning for data-heavy pages - Works with PageLayout sticky headers - Configurable z-index and offset **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 }} /> ```",
|
|
802
806
|
"importRoot": "@texturehq/edges",
|
|
803
807
|
"importPath": "@texturehq/edges/components/DataControls",
|
|
804
808
|
"props": [],
|
|
@@ -808,11 +812,13 @@
|
|
|
808
812
|
{
|
|
809
813
|
"name": "DataTable",
|
|
810
814
|
"category": "Data",
|
|
811
|
-
"description": "DataTable Advanced table component with sorting, filtering, pagination, and
|
|
815
|
+
"description": "DataTable Advanced table component with sorting, filtering, pagination, and infinite scroll. Supports custom cell renderers, column configurations, multiple display densities, and virtualization for large datasets.",
|
|
812
816
|
"importRoot": "@texturehq/edges",
|
|
813
817
|
"importPath": "@texturehq/edges/components/DataTable",
|
|
814
818
|
"props": [],
|
|
815
|
-
"relatedComponents": [
|
|
819
|
+
"relatedComponents": [
|
|
820
|
+
"Skeleton"
|
|
821
|
+
],
|
|
816
822
|
"storybookPath": "Data/DataTable"
|
|
817
823
|
},
|
|
818
824
|
{
|
|
@@ -942,6 +948,16 @@
|
|
|
942
948
|
"relatedComponents": [],
|
|
943
949
|
"storybookPath": "Data/FilterChips"
|
|
944
950
|
},
|
|
951
|
+
{
|
|
952
|
+
"name": "FilterDialog",
|
|
953
|
+
"category": "Data",
|
|
954
|
+
"description": "",
|
|
955
|
+
"importRoot": "@texturehq/edges",
|
|
956
|
+
"importPath": "@texturehq/edges/components/FilterDialog",
|
|
957
|
+
"props": [],
|
|
958
|
+
"relatedComponents": [],
|
|
959
|
+
"storybookPath": "Data/FilterDialog"
|
|
960
|
+
},
|
|
945
961
|
{
|
|
946
962
|
"name": "Form",
|
|
947
963
|
"category": "Form Controls",
|
|
@@ -1020,6 +1036,16 @@
|
|
|
1020
1036
|
"relatedComponents": [],
|
|
1021
1037
|
"storybookPath": "Design Tokens/Icon"
|
|
1022
1038
|
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "InfiniteScrollIndicator",
|
|
1041
|
+
"category": "Feedback",
|
|
1042
|
+
"description": "InfiniteScrollIndicator Lightweight composition component for displaying loading states in infinite scroll contexts. Uses the Loader component for consistency. - For initial loading: Use component-specific Skeleton implementations - For loading-more: Use this component at the bottom of lists/tables By default, shows only a spinner (no text) to avoid internationalization concerns. Consuming applications can provide their own localized message via the `message` prop. Example usage: ```tsx // Default: spinner only (no i18n needed) <InfiniteScrollIndicator state=\"loading-more\" /> // With localized text <InfiniteScrollIndicator state=\"loading-more\" message={t('loading.loadMore')} /> ```",
|
|
1043
|
+
"importRoot": "@texturehq/edges",
|
|
1044
|
+
"importPath": "@texturehq/edges/components/InfiniteScrollIndicator",
|
|
1045
|
+
"props": [],
|
|
1046
|
+
"relatedComponents": [],
|
|
1047
|
+
"storybookPath": "Feedback/InfiniteScrollIndicator"
|
|
1048
|
+
},
|
|
1023
1049
|
{
|
|
1024
1050
|
"name": "InteractiveMap",
|
|
1025
1051
|
"category": "Uncategorized",
|
|
@@ -1075,18 +1101,13 @@
|
|
|
1075
1101
|
{
|
|
1076
1102
|
"name": "List",
|
|
1077
1103
|
"category": "Lists",
|
|
1078
|
-
"description": "List A semantic wrapper and state manager for rows. Handles selection, hover, keyboard navigation, and
|
|
1104
|
+
"description": "List A semantic wrapper and state manager for rows. Handles selection, hover, keyboard navigation, accessibility, and infinite scroll with virtualization. Composes with ListItem for visual rows. Example usage: ```tsx <List items={sites} selectedId={selectedSiteId} onSelect={(id) => openDetail(id)} onHoverChange={(id) => highlightOnMap(id)} renderItem={({ item, rowProps, isSelected }) => ( <ListItem id={item.id} title={item.name} subtitle={item.address?.city} isSelected={isSelected} {...rowProps} /> )} // Optional: Custom loading skeleton matching your data structure renderLoadingSkeleton={() => ( <div className=\"flex items-center gap-3 px-4 py-3\"> <Skeleton width={40} height={40} variant=\"circle\" /> <div className=\"flex-1\"> <Skeleton width=\"60%\" height={16} /> <Skeleton width=\"40%\" height={12} /> </div> </div> )} loadingSkeletonCount={8} // Infinite scroll onLoadMore={loadMoreSites} hasMore={hasMoreSites} isLoading={isLoading} /> ```",
|
|
1079
1105
|
"importRoot": "@texturehq/edges",
|
|
1080
1106
|
"importPath": "@texturehq/edges/components/List",
|
|
1081
1107
|
"props": [],
|
|
1082
1108
|
"relatedComponents": [
|
|
1083
|
-
"Button",
|
|
1084
1109
|
"Icon",
|
|
1085
|
-
"
|
|
1086
|
-
"StoryLayout",
|
|
1087
|
-
"StoryTable",
|
|
1088
|
-
"StoryTableCell",
|
|
1089
|
-
"StoryTableRow"
|
|
1110
|
+
"Skeleton"
|
|
1090
1111
|
],
|
|
1091
1112
|
"storybookPath": "Lists/List"
|
|
1092
1113
|
},
|
|
@@ -1130,13 +1151,8 @@
|
|
|
1130
1151
|
"importPath": "@texturehq/edges/components/ListItem",
|
|
1131
1152
|
"props": [],
|
|
1132
1153
|
"relatedComponents": [
|
|
1133
|
-
"Button",
|
|
1134
1154
|
"Icon",
|
|
1135
|
-
"
|
|
1136
|
-
"StoryLayout",
|
|
1137
|
-
"StoryTable",
|
|
1138
|
-
"StoryTableCell",
|
|
1139
|
-
"StoryTableRow"
|
|
1155
|
+
"Skeleton"
|
|
1140
1156
|
],
|
|
1141
1157
|
"storybookPath": "Lists/ListItem"
|
|
1142
1158
|
},
|
|
@@ -1148,13 +1164,8 @@
|
|
|
1148
1164
|
"importPath": "@texturehq/edges/components/ListPane",
|
|
1149
1165
|
"props": [],
|
|
1150
1166
|
"relatedComponents": [
|
|
1151
|
-
"Button",
|
|
1152
1167
|
"Icon",
|
|
1153
|
-
"
|
|
1154
|
-
"StoryLayout",
|
|
1155
|
-
"StoryTable",
|
|
1156
|
-
"StoryTableCell",
|
|
1157
|
-
"StoryTableRow"
|
|
1168
|
+
"Skeleton"
|
|
1158
1169
|
],
|
|
1159
1170
|
"storybookPath": "Lists/ListPane"
|
|
1160
1171
|
},
|
|
@@ -2109,7 +2120,7 @@
|
|
|
2109
2120
|
},
|
|
2110
2121
|
{
|
|
2111
2122
|
"name": "variant",
|
|
2112
|
-
"type": "\"default\" | \"primary\" | \"muted\""
|
|
2123
|
+
"type": "\"default\" | \"primary\" | \"muted\" | \"unstyled\""
|
|
2113
2124
|
},
|
|
2114
2125
|
{
|
|
2115
2126
|
"name": "onClick",
|
|
@@ -2425,6 +2436,7 @@
|
|
|
2425
2436
|
"DataControls",
|
|
2426
2437
|
"DataTable",
|
|
2427
2438
|
"FilterChips",
|
|
2439
|
+
"FilterDialog",
|
|
2428
2440
|
"Kpi",
|
|
2429
2441
|
"KpiGroup",
|
|
2430
2442
|
"ResultsCount",
|
|
@@ -2435,6 +2447,7 @@
|
|
|
2435
2447
|
"Feedback": [
|
|
2436
2448
|
"EmptyState",
|
|
2437
2449
|
"ErrorBoundary",
|
|
2450
|
+
"InfiniteScrollIndicator",
|
|
2438
2451
|
"Meter",
|
|
2439
2452
|
"Notice",
|
|
2440
2453
|
"NoticeContainer",
|