@texturehq/edges 1.8.2 → 1.9.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 +26 -12
- package/dist/generated/tailwind-tokens-dark.css +12 -0
- package/dist/generated/tailwind-tokens-light.css +12 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -11
- package/dist/index.d.ts +142 -11
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{server-7ZzifHri.d.cts → server-BwR7EOd8.d.cts} +8 -72
- package/dist/{server-7ZzifHri.d.ts → server-BwR7EOd8.d.ts} +8 -72
- package/dist/server.cjs +13 -13
- 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 +13 -13
- package/dist/server.js.map +1 -1
- package/dist/styles/computed.css +1 -1
- package/dist/styles.css +178 -90
- package/dist/utilities.manifest.json +2 -2
- package/package.json +1 -1
- package/scripts/generate-edges-docs.js +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.9.1",
|
|
3
|
+
"generatedAt": "2025-10-22T00:53:47.425Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
"props": [
|
|
277
277
|
{
|
|
278
278
|
"name": "variant",
|
|
279
|
-
"type": "| \"default\" | \"
|
|
279
|
+
"type": "| \"default\" | \"brand\" | \"secondary\" | \"destructive\" | \"icon\" | \"link\" | \"unstyled\" | \"ghost\" | \"primary\""
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
"name": "size",
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
{
|
|
367
367
|
"name": "Card",
|
|
368
368
|
"category": "Layout",
|
|
369
|
-
"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=\"
|
|
369
|
+
"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=\"brand\">Action</Button> </Card.Footer> </Card> ```",
|
|
370
370
|
"importRoot": "@texturehq/edges",
|
|
371
371
|
"importPath": "@texturehq/edges/components/Card",
|
|
372
372
|
"props": [
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
{
|
|
479
479
|
"name": "Checkbox",
|
|
480
480
|
"category": "Form Controls",
|
|
481
|
-
"description": "
|
|
481
|
+
"description": "Visual variant of the checkbox @default \"brand\"",
|
|
482
482
|
"importRoot": "@texturehq/edges",
|
|
483
483
|
"importPath": "@texturehq/edges/components/Checkbox",
|
|
484
484
|
"props": [
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
{
|
|
496
496
|
"name": "CheckboxGroup",
|
|
497
497
|
"category": "Form Controls",
|
|
498
|
-
"description": "
|
|
498
|
+
"description": "Visual variant of the checkbox @default \"brand\"",
|
|
499
499
|
"importRoot": "@texturehq/edges",
|
|
500
500
|
"importPath": "@texturehq/edges/components/CheckboxGroup",
|
|
501
501
|
"props": [
|
|
@@ -754,6 +754,19 @@
|
|
|
754
754
|
],
|
|
755
755
|
"storybookPath": "Overlays/Drawer"
|
|
756
756
|
},
|
|
757
|
+
{
|
|
758
|
+
"name": "EmptyState",
|
|
759
|
+
"category": "Feedback",
|
|
760
|
+
"description": "EmptyState Minimal, composable empty state surface for communicating lack of data. Supports optional icon, description and opinionated action patterns. Use `primaryAction` and `secondaryAction` for consistent styling, or use `actions` for complete control over the action area.",
|
|
761
|
+
"importRoot": "@texturehq/edges",
|
|
762
|
+
"importPath": "@texturehq/edges/components/EmptyState",
|
|
763
|
+
"props": [],
|
|
764
|
+
"relatedComponents": [
|
|
765
|
+
"Button",
|
|
766
|
+
"TextLink"
|
|
767
|
+
],
|
|
768
|
+
"storybookPath": "Feedback/EmptyState"
|
|
769
|
+
},
|
|
757
770
|
{
|
|
758
771
|
"name": "ErrorBoundary",
|
|
759
772
|
"category": "Feedback",
|
|
@@ -1354,7 +1367,7 @@
|
|
|
1354
1367
|
{
|
|
1355
1368
|
"name": "Radio",
|
|
1356
1369
|
"category": "Form Controls",
|
|
1357
|
-
"description": "
|
|
1370
|
+
"description": "Visual variant of the radio buttons @default \"brand\"",
|
|
1358
1371
|
"importRoot": "@texturehq/edges",
|
|
1359
1372
|
"importPath": "@texturehq/edges/components/Radio",
|
|
1360
1373
|
"props": [],
|
|
@@ -1364,7 +1377,7 @@
|
|
|
1364
1377
|
{
|
|
1365
1378
|
"name": "RadioGroup",
|
|
1366
1379
|
"category": "Form Controls",
|
|
1367
|
-
"description": "
|
|
1380
|
+
"description": "Visual variant of the radio buttons @default \"brand\"",
|
|
1368
1381
|
"importRoot": "@texturehq/edges",
|
|
1369
1382
|
"importPath": "@texturehq/edges/components/RadioGroup",
|
|
1370
1383
|
"props": [],
|
|
@@ -1651,7 +1664,7 @@
|
|
|
1651
1664
|
{
|
|
1652
1665
|
"name": "Tab",
|
|
1653
1666
|
"category": "Navigation",
|
|
1654
|
-
"description": "Tabs Tabbed interface with styled tabs and panels. @param variant - \"default\" for
|
|
1667
|
+
"description": "Tabs Tabbed interface with styled tabs and panels. @param variant - \"default\" for action-default styling, \"brand\" for action-brand styling",
|
|
1655
1668
|
"importRoot": "@texturehq/edges",
|
|
1656
1669
|
"importPath": "@texturehq/edges/components/Tab",
|
|
1657
1670
|
"props": [],
|
|
@@ -1696,7 +1709,7 @@
|
|
|
1696
1709
|
{
|
|
1697
1710
|
"name": "Tabs",
|
|
1698
1711
|
"category": "Navigation",
|
|
1699
|
-
"description": "Tabs Tabbed interface with styled tabs and panels. @param variant - \"default\" for
|
|
1712
|
+
"description": "Tabs Tabbed interface with styled tabs and panels. @param variant - \"default\" for action-default styling, \"brand\" for action-brand styling",
|
|
1700
1713
|
"importRoot": "@texturehq/edges",
|
|
1701
1714
|
"importPath": "@texturehq/edges/components/Tabs",
|
|
1702
1715
|
"props": [],
|
|
@@ -1824,7 +1837,7 @@
|
|
|
1824
1837
|
},
|
|
1825
1838
|
{
|
|
1826
1839
|
"name": "chipVariant",
|
|
1827
|
-
"type": "\"default\" | \"
|
|
1840
|
+
"type": "\"default\" | \"brand\" | \"secondary\""
|
|
1828
1841
|
},
|
|
1829
1842
|
{
|
|
1830
1843
|
"name": "chipSize",
|
|
@@ -1998,7 +2011,7 @@
|
|
|
1998
2011
|
"props": [
|
|
1999
2012
|
{
|
|
2000
2013
|
"name": "variant",
|
|
2001
|
-
"type": "\"default\" | \"
|
|
2014
|
+
"type": "\"default\" | \"brand\""
|
|
2002
2015
|
},
|
|
2003
2016
|
{
|
|
2004
2017
|
"name": "size",
|
|
@@ -2239,6 +2252,7 @@
|
|
|
2239
2252
|
"StatList"
|
|
2240
2253
|
],
|
|
2241
2254
|
"Feedback": [
|
|
2255
|
+
"EmptyState",
|
|
2242
2256
|
"ErrorBoundary",
|
|
2243
2257
|
"Meter",
|
|
2244
2258
|
"Notice",
|
|
@@ -242,9 +242,15 @@
|
|
|
242
242
|
--action-primary-background: #444ae1;
|
|
243
243
|
--action-primary-hover: #363ccb;
|
|
244
244
|
--action-primary-text: #ffffff;
|
|
245
|
+
--action-brand-background: #444ae1;
|
|
246
|
+
--action-brand-hover: #363ccb;
|
|
247
|
+
--action-brand-text: #ffffff;
|
|
245
248
|
--action-secondary-background: #111827;
|
|
246
249
|
--action-secondary-hover: #374151;
|
|
247
250
|
--action-secondary-text: #ffffff;
|
|
251
|
+
--action-default-background: #111827;
|
|
252
|
+
--action-default-hover: #374151;
|
|
253
|
+
--action-default-text: #ffffff;
|
|
248
254
|
--action-destructive-background: oklch(0.505 0.213 27.518);
|
|
249
255
|
--action-destructive-hover: oklch(0.444 0.177 26.899);
|
|
250
256
|
--action-destructive-text: #ffffff;
|
|
@@ -305,9 +311,15 @@
|
|
|
305
311
|
--color-action-primary-hover: #6a6fcc;
|
|
306
312
|
--color-action-primary-text: #ffffff;
|
|
307
313
|
--color-action-primary-light: rgba(122, 142, 225, 0.15);
|
|
314
|
+
--color-action-brand: #7a8ee1;
|
|
315
|
+
--color-action-brand-hover: #6a6fcc;
|
|
316
|
+
--color-action-brand-text: #ffffff;
|
|
308
317
|
--color-action-secondary: #e5e7eb;
|
|
309
318
|
--color-action-secondary-hover: #f3f4f6;
|
|
310
319
|
--color-action-secondary-text: #111827;
|
|
320
|
+
--color-action-default: #374151;
|
|
321
|
+
--color-action-default-hover: #4b5563;
|
|
322
|
+
--color-action-default-text: #ffffff;
|
|
311
323
|
--color-state-charging: #581c87;
|
|
312
324
|
--color-state-charging-border: #a855f7;
|
|
313
325
|
--color-state-charging-text: #e9d5ff;
|
|
@@ -242,9 +242,15 @@
|
|
|
242
242
|
--action-primary-background: #444ae1;
|
|
243
243
|
--action-primary-hover: #363ccb;
|
|
244
244
|
--action-primary-text: #ffffff;
|
|
245
|
+
--action-brand-background: #444ae1;
|
|
246
|
+
--action-brand-hover: #363ccb;
|
|
247
|
+
--action-brand-text: #ffffff;
|
|
245
248
|
--action-secondary-background: #111827;
|
|
246
249
|
--action-secondary-hover: #374151;
|
|
247
250
|
--action-secondary-text: #ffffff;
|
|
251
|
+
--action-default-background: #111827;
|
|
252
|
+
--action-default-hover: #374151;
|
|
253
|
+
--action-default-text: #ffffff;
|
|
248
254
|
--action-destructive-background: oklch(0.505 0.213 27.518);
|
|
249
255
|
--action-destructive-hover: oklch(0.444 0.177 26.899);
|
|
250
256
|
--action-destructive-text: #ffffff;
|
|
@@ -305,9 +311,15 @@
|
|
|
305
311
|
--color-action-primary-hover: #383ccb;
|
|
306
312
|
--color-action-primary-text: #ffffff;
|
|
307
313
|
--color-action-primary-light: rgba(68, 74, 225, 0.1);
|
|
314
|
+
--color-action-brand: #444ae1;
|
|
315
|
+
--color-action-brand-hover: #383ccb;
|
|
316
|
+
--color-action-brand-text: #ffffff;
|
|
308
317
|
--color-action-secondary: #333333;
|
|
309
318
|
--color-action-secondary-hover: #4b5563;
|
|
310
319
|
--color-action-secondary-text: #ffffff;
|
|
320
|
+
--color-action-default: #333333;
|
|
321
|
+
--color-action-default-hover: #4b5563;
|
|
322
|
+
--color-action-default-text: #ffffff;
|
|
311
323
|
--color-state-charging: #f3e8ff;
|
|
312
324
|
--color-state-charging-border: #c084fc;
|
|
313
325
|
--color-state-charging-text: #6b21a8;
|