@texturehq/edges 1.1.1 → 1.2.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.1.1",
3
- "generatedAt": "2025-09-29T21:55:57.587Z",
2
+ "version": "1.2.1",
3
+ "generatedAt": "2025-10-06T20:37:56.769Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "ActionCell",
@@ -89,7 +89,7 @@
89
89
  "name": "AreaSeries",
90
90
  "importRoot": "@texturehq/edges",
91
91
  "importPath": "@texturehq/edges/components/AreaSeries",
92
- "description": "",
92
+ "description": "AreaSeries Chart component for rendering area charts with gradient fill. Displays data as a filled area with optional line path, supporting animations and custom colors.",
93
93
  "props": []
94
94
  },
95
95
  {
@@ -287,7 +287,7 @@
287
287
  "name": "BarSeries",
288
288
  "importRoot": "@texturehq/edges",
289
289
  "importPath": "@texturehq/edges/components/BarSeries",
290
- "description": "",
290
+ "description": "BarSeries Chart component for rendering bar/column charts. Displays data as vertical bars with customizable colors, opacity, and category-based coloring.",
291
291
  "props": []
292
292
  },
293
293
  {
@@ -425,28 +425,37 @@
425
425
  "name": "ChartAxis",
426
426
  "importRoot": "@texturehq/edges",
427
427
  "importPath": "@texturehq/edges/components/ChartAxis",
428
- "description": "",
428
+ "description": "ChartAxis Chart axis components for rendering X and Y axes. Provides formatted bottom (time) and left (numeric) axes with customizable tick formatting.",
429
429
  "props": []
430
430
  },
431
431
  {
432
432
  "name": "ChartBottomBar",
433
433
  "importRoot": "@texturehq/edges",
434
434
  "importPath": "@texturehq/edges/components/ChartBottomBar",
435
- "description": "",
436
- "props": []
435
+ "description": "ChartBottomBar Chart footer component with legend and export functionality. Displays color-coded legend items and provides export options for CSV, SVG, and PNG formats.",
436
+ "props": [
437
+ {
438
+ "name": "items",
439
+ "type": "LegendItem[]"
440
+ },
441
+ {
442
+ "name": "onExport",
443
+ "type": "(type: ExportType) => void | Promise<void>"
444
+ }
445
+ ]
437
446
  },
438
447
  {
439
448
  "name": "ChartContainer",
440
449
  "importRoot": "@texturehq/edges",
441
450
  "importPath": "@texturehq/edges/components/ChartContainer",
442
- "description": "",
451
+ "description": "ChartContainer Main chart wrapper component that provides context and layout for chart visualizations. Handles scaling, tooltips, axes, and data management for area, line, and bar charts.",
443
452
  "props": []
444
453
  },
445
454
  {
446
455
  "name": "ChartTooltip",
447
456
  "importRoot": "@texturehq/edges",
448
457
  "importPath": "@texturehq/edges/components/ChartTooltip",
449
- "description": "",
458
+ "description": "ChartTooltip Interactive tooltip component for charts. Displays formatted data values at hover position with automatic positioning and animations.",
450
459
  "props": []
451
460
  },
452
461
  {
@@ -621,7 +630,7 @@
621
630
  "name": "DataTable",
622
631
  "importRoot": "@texturehq/edges",
623
632
  "importPath": "@texturehq/edges/components/DataTable",
624
- "description": "",
633
+ "description": "DataTable Advanced table component with sorting, filtering, pagination, and mobile-responsive views. Supports custom cell renderers, column configurations, and multiple display densities.",
625
634
  "props": []
626
635
  },
627
636
  {
@@ -656,14 +665,14 @@
656
665
  "name": "DialogHeader",
657
666
  "importRoot": "@texturehq/edges",
658
667
  "importPath": "@texturehq/edges/components/DialogHeader",
659
- "description": "",
668
+ "description": "DialogHeader Header area for dialogs with optional back arrow.",
660
669
  "props": []
661
670
  },
662
671
  {
663
672
  "name": "Drawer",
664
673
  "importRoot": "@texturehq/edges",
665
674
  "importPath": "@texturehq/edges/components/Drawer",
666
- "description": "",
675
+ "description": "Maximum width of the drawer. Defaults to \"400px\". Can be any valid CSS width value.",
667
676
  "props": [
668
677
  {
669
678
  "name": "title",
@@ -723,7 +732,7 @@
723
732
  "name": "ErrorBoundary",
724
733
  "importRoot": "@texturehq/edges",
725
734
  "importPath": "@texturehq/edges/components/ErrorBoundary",
726
- "description": "",
735
+ "description": "ErrorBoundary React error boundary component for graceful error handling. Catches JavaScript errors in child components and displays a fallback UI with retry option.",
727
736
  "props": []
728
737
  },
729
738
  {
@@ -865,7 +874,7 @@
865
874
  "name": "Icon",
866
875
  "importRoot": "@texturehq/edges",
867
876
  "importPath": "@texturehq/edges/components/Icon",
868
- "description": "",
877
+ "description": "Icon Phosphor icon wrapper component with standardized sizing and styling. Provides access to the full Phosphor icon library with tree-shaking support and design system presets. - TypeScript autocomplete for all icon names Usage: ```tsx <Icon name=\"House\" size=\"md\" /> <Icon name=\"User\" size={32} className=\"text-brand\" /> ```",
869
878
  "props": []
870
879
  },
871
880
  {
@@ -975,7 +984,7 @@
975
984
  "name": "LineSeries",
976
985
  "importRoot": "@texturehq/edges",
977
986
  "importPath": "@texturehq/edges/components/LineSeries",
978
- "description": "",
987
+ "description": "LineSeries Chart component for rendering line charts. Displays data as a continuous line with customizable stroke width, color, and dash patterns.",
979
988
  "props": []
980
989
  },
981
990
  {
@@ -1005,7 +1014,7 @@
1005
1014
  "name": "Loader",
1006
1015
  "importRoot": "@texturehq/edges",
1007
1016
  "importPath": "@texturehq/edges/components/Loader",
1008
- "description": "",
1017
+ "description": "Loader Animated loading spinner component. Displays a circular spinner with customizable size and color for loading states.",
1009
1018
  "props": [
1010
1019
  {
1011
1020
  "name": "className",
@@ -1025,7 +1034,7 @@
1025
1034
  "name": "Logo",
1026
1035
  "importRoot": "@texturehq/edges",
1027
1036
  "importPath": "@texturehq/edges/components/Logo",
1028
- "description": "",
1037
+ "description": "Logo Brand logo component with optional wordmark. Supports customizable sizing and fill colors with theme-aware defaults.",
1029
1038
  "props": [
1030
1039
  {
1031
1040
  "name": "className",
@@ -1604,7 +1613,7 @@
1604
1613
  "name": "SideNav",
1605
1614
  "importRoot": "@texturehq/edges",
1606
1615
  "importPath": "@texturehq/edges/components/SideNav",
1607
- "description": "",
1616
+ "description": "SideNav Vertical navigation component for application sidebars. Supports nested navigation items, sections, collapsible categories, and mobile-responsive behavior.",
1608
1617
  "props": [
1609
1618
  {
1610
1619
  "name": "topItems",
@@ -1644,7 +1653,7 @@
1644
1653
  "name": "Skeleton",
1645
1654
  "importRoot": "@texturehq/edges",
1646
1655
  "importPath": "@texturehq/edges/components/Skeleton",
1647
- "description": "",
1656
+ "description": "Skeleton Loading placeholder component that mimics content structure. Supports various shapes, animations, and responsive configurations for skeleton screens.",
1648
1657
  "props": []
1649
1658
  },
1650
1659
  {
@@ -1813,7 +1822,7 @@
1813
1822
  "name": "Switch",
1814
1823
  "importRoot": "@texturehq/edges",
1815
1824
  "importPath": "@texturehq/edges/components/Switch",
1816
- "description": "",
1825
+ "description": "Switch Toggle switch component for binary on/off states. Provides an accessible alternative to checkboxes for settings and preferences.",
1817
1826
  "props": [
1818
1827
  {
1819
1828
  "name": "children",
@@ -1898,7 +1907,7 @@
1898
1907
  "name": "TextAreaWithChips",
1899
1908
  "importRoot": "@texturehq/edges",
1900
1909
  "importPath": "@texturehq/edges/components/TextAreaWithChips",
1901
- "description": "",
1910
+ "description": "TextAreaWithChips Enhanced textarea component with chip/tag support. Enables rich text input with embedded chips for mentions, tags, or structured data entry.",
1902
1911
  "props": [
1903
1912
  {
1904
1913
  "name": "label",
@@ -2025,7 +2034,7 @@
2025
2034
  "name": "TextLink",
2026
2035
  "importRoot": "@texturehq/edges",
2027
2036
  "importPath": "@texturehq/edges/components/TextLink",
2028
- "description": "",
2037
+ "description": "TextLink Styled text link component for navigation and actions. Supports internal/external links, button mode, and multiple visual variants.",
2029
2038
  "props": [
2030
2039
  {
2031
2040
  "name": "href",
@@ -2221,7 +2230,7 @@
2221
2230
  "name": "TopNav",
2222
2231
  "importRoot": "@texturehq/edges",
2223
2232
  "importPath": "@texturehq/edges/components/TopNav",
2224
- "description": "",
2233
+ "description": "TopNav Horizontal navigation bar component for application headers. Includes mobile menu toggle, user avatar, theme switcher, and customizable action areas.",
2225
2234
  "props": [
2226
2235
  {
2227
2236
  "name": "rightContent",
@@ -70,8 +70,98 @@
70
70
  --color-brand-light: #f7f7ff;
71
71
  --color-brand-dark: #363ccb;
72
72
  --color-brand-background: #f6f7ff;
73
+ --color-skeleton-base: #e5e7eb;
74
+ --color-skeleton-highlight: #f3f4f6;
75
+ --color-skeleton-wave: rgba(255, 255, 255, 0.3);
73
76
  --color-neutral-white: #ffffff;
74
77
  --color-neutral-black: #000000;
78
+ --color-data-categorical-1: #a3eae4;
79
+ --color-data-categorical-2: #91a0ff;
80
+ --color-data-categorical-3: #ffd1a3;
81
+ --color-data-categorical-4: #ffabc8;
82
+ --color-data-categorical-5: #c1b8ff;
83
+ --color-data-categorical-6: #e0ffb8;
84
+ --color-data-sequential-viridis-1: #fafa37;
85
+ --color-data-sequential-viridis-2: #d6e654;
86
+ --color-data-sequential-viridis-3: #b2d373;
87
+ --color-data-sequential-viridis-4: #88be8c;
88
+ --color-data-sequential-viridis-5: #5fa2a4;
89
+ --color-data-sequential-viridis-6: #3d7eaa;
90
+ --color-data-sequential-viridis-7: #2a60b1;
91
+ --color-data-sequential-viridis-8: #1b3a99;
92
+ --color-data-sequential-viridis-9: #132353;
93
+ --color-data-sequential-viridis-10: #110f39;
94
+ --color-data-sequential-magma-1: #fcf5cd;
95
+ --color-data-sequential-magma-2: #f5db95;
96
+ --color-data-sequential-magma-3: #e9af7c;
97
+ --color-data-sequential-magma-4: #db7d70;
98
+ --color-data-sequential-magma-5: #b9577a;
99
+ --color-data-sequential-magma-6: #883482;
100
+ --color-data-sequential-magma-7: #6a1f78;
101
+ --color-data-sequential-magma-8: #4b1277;
102
+ --color-data-sequential-magma-9: #2d0b42;
103
+ --color-data-sequential-magma-10: #0b0511;
104
+ --color-data-sequential-rose-1: #fef3e7;
105
+ --color-data-sequential-rose-2: #f5c7e0;
106
+ --color-data-sequential-rose-3: #ec9bce;
107
+ --color-data-sequential-rose-4: #d86db0;
108
+ --color-data-sequential-rose-5: #be4a8b;
109
+ --color-data-sequential-rose-6: #9d2f76;
110
+ --color-data-sequential-rose-7: #78176c;
111
+ --color-data-sequential-rose-8: #56135c;
112
+ --color-data-sequential-rose-9: #371344;
113
+ --color-data-sequential-rose-10: #190b29;
114
+ --color-data-sequential-cerulean-1: #e2f7f2;
115
+ --color-data-sequential-cerulean-2: #b6e4e8;
116
+ --color-data-sequential-cerulean-3: #8bd3d7;
117
+ --color-data-sequential-cerulean-4: #60b2c7;
118
+ --color-data-sequential-cerulean-5: #3d91b6;
119
+ --color-data-sequential-cerulean-6: #22698e;
120
+ --color-data-sequential-cerulean-7: #0e486a;
121
+ --color-data-sequential-cerulean-8: #0a314d;
122
+ --color-data-sequential-cerulean-9: #081e33;
123
+ --color-data-sequential-cerulean-10: #030e1d;
124
+ --color-data-sequential-forest-1: #f4fad8;
125
+ --color-data-sequential-forest-2: #d6e6a5;
126
+ --color-data-sequential-forest-3: #b2cd73;
127
+ --color-data-sequential-forest-4: #88af52;
128
+ --color-data-sequential-forest-5: #5f8835;
129
+ --color-data-sequential-forest-6: #3d6426;
130
+ --color-data-sequential-forest-7: #2a461a;
131
+ --color-data-sequential-forest-8: #1b2e13;
132
+ --color-data-sequential-forest-9: #13200d;
133
+ --color-data-sequential-forest-10: #0b1305;
134
+ --color-data-diverging-orange-yellow-seafoam-1: #6b2c1a;
135
+ --color-data-diverging-orange-yellow-seafoam-2: #a24b1e;
136
+ --color-data-diverging-orange-yellow-seafoam-3: #cb7131;
137
+ --color-data-diverging-orange-yellow-seafoam-4: #e2a05d;
138
+ --color-data-diverging-orange-yellow-seafoam-5: #f3e1a3;
139
+ --color-data-diverging-orange-yellow-seafoam-6: #c1e4d2;
140
+ --color-data-diverging-orange-yellow-seafoam-7: #7eb8b1;
141
+ --color-data-diverging-orange-yellow-seafoam-8: #4c8c89;
142
+ --color-data-diverging-orange-yellow-seafoam-9: #2b6262;
143
+ --color-data-diverging-orange-yellow-seafoam-10: #1b3d3c;
144
+ --color-data-diverging-red-yellow-blue-1: #4e142d;
145
+ --color-data-diverging-red-yellow-blue-2: #8b2d4e;
146
+ --color-data-diverging-red-yellow-blue-3: #c15a4a;
147
+ --color-data-diverging-red-yellow-blue-4: #db8b6a;
148
+ --color-data-diverging-red-yellow-blue-5: #f3e1a3;
149
+ --color-data-diverging-red-yellow-blue-6: #bfd4c7;
150
+ --color-data-diverging-red-yellow-blue-7: #7c9eb9;
151
+ --color-data-diverging-red-yellow-blue-8: #4770a3;
152
+ --color-data-diverging-red-yellow-blue-9: #2e4d8c;
153
+ --color-data-diverging-red-yellow-blue-10: #18274e;
154
+ --color-data-diverging-red-blue-1: #4e142d;
155
+ --color-data-diverging-red-blue-2: #8b2d4e;
156
+ --color-data-diverging-red-blue-3: #c15a7a;
157
+ --color-data-diverging-red-blue-4: #db8b9e;
158
+ --color-data-diverging-red-blue-5: #f3e1f4;
159
+ --color-data-diverging-red-blue-6: #c7bfe2;
160
+ --color-data-diverging-red-blue-7: #9ea7ce;
161
+ --color-data-diverging-red-blue-8: #7080b5;
162
+ --color-data-diverging-red-blue-9: #4d5e99;
163
+ --color-data-diverging-red-blue-10: #2b3d70;
164
+ --color-data-default: #444ae1;
75
165
  --spacing-0: 0px;
76
166
  --spacing-1: 0.25rem;
77
167
  --spacing-2: 0.5rem;
@@ -70,8 +70,98 @@
70
70
  --color-brand-light: #f7f7ff;
71
71
  --color-brand-dark: #363ccb;
72
72
  --color-brand-background: #f6f7ff;
73
+ --color-skeleton-base: #e5e7eb;
74
+ --color-skeleton-highlight: #f3f4f6;
75
+ --color-skeleton-wave: rgba(255, 255, 255, 0.3);
73
76
  --color-neutral-white: #ffffff;
74
77
  --color-neutral-black: #000000;
78
+ --color-data-categorical-1: #a3eae4;
79
+ --color-data-categorical-2: #91a0ff;
80
+ --color-data-categorical-3: #ffd1a3;
81
+ --color-data-categorical-4: #ffabc8;
82
+ --color-data-categorical-5: #c1b8ff;
83
+ --color-data-categorical-6: #e0ffb8;
84
+ --color-data-sequential-viridis-1: #fafa37;
85
+ --color-data-sequential-viridis-2: #d6e654;
86
+ --color-data-sequential-viridis-3: #b2d373;
87
+ --color-data-sequential-viridis-4: #88be8c;
88
+ --color-data-sequential-viridis-5: #5fa2a4;
89
+ --color-data-sequential-viridis-6: #3d7eaa;
90
+ --color-data-sequential-viridis-7: #2a60b1;
91
+ --color-data-sequential-viridis-8: #1b3a99;
92
+ --color-data-sequential-viridis-9: #132353;
93
+ --color-data-sequential-viridis-10: #110f39;
94
+ --color-data-sequential-magma-1: #fcf5cd;
95
+ --color-data-sequential-magma-2: #f5db95;
96
+ --color-data-sequential-magma-3: #e9af7c;
97
+ --color-data-sequential-magma-4: #db7d70;
98
+ --color-data-sequential-magma-5: #b9577a;
99
+ --color-data-sequential-magma-6: #883482;
100
+ --color-data-sequential-magma-7: #6a1f78;
101
+ --color-data-sequential-magma-8: #4b1277;
102
+ --color-data-sequential-magma-9: #2d0b42;
103
+ --color-data-sequential-magma-10: #0b0511;
104
+ --color-data-sequential-rose-1: #fef3e7;
105
+ --color-data-sequential-rose-2: #f5c7e0;
106
+ --color-data-sequential-rose-3: #ec9bce;
107
+ --color-data-sequential-rose-4: #d86db0;
108
+ --color-data-sequential-rose-5: #be4a8b;
109
+ --color-data-sequential-rose-6: #9d2f76;
110
+ --color-data-sequential-rose-7: #78176c;
111
+ --color-data-sequential-rose-8: #56135c;
112
+ --color-data-sequential-rose-9: #371344;
113
+ --color-data-sequential-rose-10: #190b29;
114
+ --color-data-sequential-cerulean-1: #e2f7f2;
115
+ --color-data-sequential-cerulean-2: #b6e4e8;
116
+ --color-data-sequential-cerulean-3: #8bd3d7;
117
+ --color-data-sequential-cerulean-4: #60b2c7;
118
+ --color-data-sequential-cerulean-5: #3d91b6;
119
+ --color-data-sequential-cerulean-6: #22698e;
120
+ --color-data-sequential-cerulean-7: #0e486a;
121
+ --color-data-sequential-cerulean-8: #0a314d;
122
+ --color-data-sequential-cerulean-9: #081e33;
123
+ --color-data-sequential-cerulean-10: #030e1d;
124
+ --color-data-sequential-forest-1: #f4fad8;
125
+ --color-data-sequential-forest-2: #d6e6a5;
126
+ --color-data-sequential-forest-3: #b2cd73;
127
+ --color-data-sequential-forest-4: #88af52;
128
+ --color-data-sequential-forest-5: #5f8835;
129
+ --color-data-sequential-forest-6: #3d6426;
130
+ --color-data-sequential-forest-7: #2a461a;
131
+ --color-data-sequential-forest-8: #1b2e13;
132
+ --color-data-sequential-forest-9: #13200d;
133
+ --color-data-sequential-forest-10: #0b1305;
134
+ --color-data-diverging-orange-yellow-seafoam-1: #6b2c1a;
135
+ --color-data-diverging-orange-yellow-seafoam-2: #a24b1e;
136
+ --color-data-diverging-orange-yellow-seafoam-3: #cb7131;
137
+ --color-data-diverging-orange-yellow-seafoam-4: #e2a05d;
138
+ --color-data-diverging-orange-yellow-seafoam-5: #f3e1a3;
139
+ --color-data-diverging-orange-yellow-seafoam-6: #c1e4d2;
140
+ --color-data-diverging-orange-yellow-seafoam-7: #7eb8b1;
141
+ --color-data-diverging-orange-yellow-seafoam-8: #4c8c89;
142
+ --color-data-diverging-orange-yellow-seafoam-9: #2b6262;
143
+ --color-data-diverging-orange-yellow-seafoam-10: #1b3d3c;
144
+ --color-data-diverging-red-yellow-blue-1: #4e142d;
145
+ --color-data-diverging-red-yellow-blue-2: #8b2d4e;
146
+ --color-data-diverging-red-yellow-blue-3: #c15a4a;
147
+ --color-data-diverging-red-yellow-blue-4: #db8b6a;
148
+ --color-data-diverging-red-yellow-blue-5: #f3e1a3;
149
+ --color-data-diverging-red-yellow-blue-6: #bfd4c7;
150
+ --color-data-diverging-red-yellow-blue-7: #7c9eb9;
151
+ --color-data-diverging-red-yellow-blue-8: #4770a3;
152
+ --color-data-diverging-red-yellow-blue-9: #2e4d8c;
153
+ --color-data-diverging-red-yellow-blue-10: #18274e;
154
+ --color-data-diverging-red-blue-1: #4e142d;
155
+ --color-data-diverging-red-blue-2: #8b2d4e;
156
+ --color-data-diverging-red-blue-3: #c15a7a;
157
+ --color-data-diverging-red-blue-4: #db8b9e;
158
+ --color-data-diverging-red-blue-5: #f3e1f4;
159
+ --color-data-diverging-red-blue-6: #c7bfe2;
160
+ --color-data-diverging-red-blue-7: #9ea7ce;
161
+ --color-data-diverging-red-blue-8: #7080b5;
162
+ --color-data-diverging-red-blue-9: #4d5e99;
163
+ --color-data-diverging-red-blue-10: #2b3d70;
164
+ --color-data-default: #444ae1;
75
165
  --spacing-0: 0px;
76
166
  --spacing-1: 0.25rem;
77
167
  --spacing-2: 0.5rem;