@texturehq/edges 1.15.4 → 1.15.6

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.
@@ -358,6 +358,14 @@ interface ActionMenuProps {
358
358
  * Global action handler (called if item doesn't have its own onAction)
359
359
  */
360
360
  onAction?: (item: ActionItem) => void;
361
+ /**
362
+ * Optional header content rendered above the menu items
363
+ */
364
+ header?: ReactNode;
365
+ /**
366
+ * Optional footer content rendered below the menu items
367
+ */
368
+ footer?: ReactNode;
361
369
  }
362
370
  /**
363
371
  * ActionMenu
@@ -365,7 +373,7 @@ interface ActionMenuProps {
365
373
  * A dropdown menu for actions, typically triggered by a button.
366
374
  * Supports icons, destructive actions, and flexible alignment.
367
375
  */
368
- declare function ActionMenu({ children, items, className, align, textAlign, size, onAction, }: ActionMenuProps): react_jsx_runtime.JSX.Element;
376
+ declare function ActionMenu({ children, items, className, align, textAlign, size, onAction, header, footer, }: ActionMenuProps): react_jsx_runtime.JSX.Element;
369
377
 
370
378
  type SideNavItem = {
371
379
  id: string;
@@ -1646,7 +1654,7 @@ interface SegmentedControlProps {
1646
1654
  * Visual variant of the control
1647
1655
  * @default "default"
1648
1656
  */
1649
- variant?: "default" | "brand";
1657
+ variant?: "default" | "brand" | "secondary";
1650
1658
  }
1651
1659
  /**
1652
1660
  * SegmentedControl
@@ -358,6 +358,14 @@ interface ActionMenuProps {
358
358
  * Global action handler (called if item doesn't have its own onAction)
359
359
  */
360
360
  onAction?: (item: ActionItem) => void;
361
+ /**
362
+ * Optional header content rendered above the menu items
363
+ */
364
+ header?: ReactNode;
365
+ /**
366
+ * Optional footer content rendered below the menu items
367
+ */
368
+ footer?: ReactNode;
361
369
  }
362
370
  /**
363
371
  * ActionMenu
@@ -365,7 +373,7 @@ interface ActionMenuProps {
365
373
  * A dropdown menu for actions, typically triggered by a button.
366
374
  * Supports icons, destructive actions, and flexible alignment.
367
375
  */
368
- declare function ActionMenu({ children, items, className, align, textAlign, size, onAction, }: ActionMenuProps): react_jsx_runtime.JSX.Element;
376
+ declare function ActionMenu({ children, items, className, align, textAlign, size, onAction, header, footer, }: ActionMenuProps): react_jsx_runtime.JSX.Element;
369
377
 
370
378
  type SideNavItem = {
371
379
  id: string;
@@ -1646,7 +1654,7 @@ interface SegmentedControlProps {
1646
1654
  * Visual variant of the control
1647
1655
  * @default "default"
1648
1656
  */
1649
- variant?: "default" | "brand";
1657
+ variant?: "default" | "brand" | "secondary";
1650
1658
  }
1651
1659
  /**
1652
1660
  * SegmentedControl
package/dist/server.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-2XGnhJXF.cjs';
1
+ export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-DfqlfwZg.cjs';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
package/dist/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-2XGnhJXF.js';
1
+ export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-DfqlfwZg.js';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -40,7 +40,7 @@
40
40
  --input-height-xl: calc(var(--control-xl-height) + (var(--control-padding-xl) * 2));
41
41
 
42
42
  /* Border Radius */
43
- --control-border-radius: var(--border-radius-lg);
43
+ --control-border-radius: var(--radius-sm);
44
44
 
45
45
  /* Select Widths */
46
46
  --select-min-width-sm: 7.5rem;
package/dist/styles.css CHANGED
@@ -200,7 +200,7 @@
200
200
  --control-gap-md: 0.375rem;
201
201
  --control-gap-lg: 0.5rem;
202
202
  --control-gap-xl: 0.625rem;
203
- --control-border-radius: var(--border-radius-lg);
203
+ --control-border-radius: var(--radius-sm);
204
204
  --control-text-sm: var(--text-xs);
205
205
  --control-text-md: var(--text-sm);
206
206
  --control-text-lg: var(--text-base);
@@ -279,7 +279,6 @@
279
279
  --animate-bounce: bounce 1s infinite;
280
280
  --blur-sm: 8px;
281
281
  --blur-md: 12px;
282
- --blur-2xl: 40px;
283
282
  --aspect-video: 16 / 9;
284
283
  --default-transition-duration: 150ms;
285
284
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -2767,9 +2766,6 @@
2767
2766
  .border-feedback-warning-border {
2768
2767
  border-color: var(--color-feedback-warning-border);
2769
2768
  }
2770
- .border-gray-100 {
2771
- border-color: var(--color-gray-100);
2772
- }
2773
2769
  .border-gray-200 {
2774
2770
  border-color: var(--color-gray-200);
2775
2771
  }
@@ -3196,11 +3192,8 @@
3196
3192
  .fill-white {
3197
3193
  fill: var(--color-white);
3198
3194
  }
3199
- .stroke-black\/10 {
3200
- stroke: color-mix(in srgb, #000000 10%, transparent);
3201
- @supports (color: color-mix(in lab, red, red)) {
3202
- stroke: color-mix(in oklab, var(--color-black) 10%, transparent);
3203
- }
3195
+ .stroke-border-default {
3196
+ stroke: var(--color-border-default);
3204
3197
  }
3205
3198
  .stroke-border-muted {
3206
3199
  stroke: var(--color-border-muted);
@@ -5906,14 +5899,6 @@
5906
5899
  border-color: var(--color-gray-800);
5907
5900
  }
5908
5901
  }
5909
- .dark\:border-white\/5 {
5910
- @media (prefers-color-scheme: dark) {
5911
- border-color: color-mix(in srgb, #ffffff 5%, transparent);
5912
- @supports (color: color-mix(in lab, red, red)) {
5913
- border-color: color-mix(in oklab, var(--color-white) 5%, transparent);
5914
- }
5915
- }
5916
- }
5917
5902
  .dark\:border-white\/10 {
5918
5903
  @media (prefers-color-scheme: dark) {
5919
5904
  border-color: color-mix(in srgb, #ffffff 10%, transparent);
@@ -5986,19 +5971,6 @@
5986
5971
  background-color: var(--color-zinc-900);
5987
5972
  }
5988
5973
  }
5989
- .dark\:bg-zinc-900\/70 {
5990
- @media (prefers-color-scheme: dark) {
5991
- background-color: color-mix(in srgb, oklch(21% 0.006 285.885) 70%, transparent);
5992
- @supports (color: color-mix(in lab, red, red)) {
5993
- background-color: color-mix(in oklab, var(--color-zinc-900) 70%, transparent);
5994
- }
5995
- }
5996
- }
5997
- .dark\:fill-\[\#1f1f21\] {
5998
- @media (prefers-color-scheme: dark) {
5999
- fill: #1f1f21;
6000
- }
6001
- }
6002
5974
  .dark\:fill-slate-600 {
6003
5975
  @media (prefers-color-scheme: dark) {
6004
5976
  fill: var(--color-slate-600);
@@ -6012,11 +5984,6 @@
6012
5984
  }
6013
5985
  }
6014
5986
  }
6015
- .dark\:stroke-zinc-600 {
6016
- @media (prefers-color-scheme: dark) {
6017
- stroke: var(--color-zinc-600);
6018
- }
6019
- }
6020
5987
  .dark\:text-blue-100 {
6021
5988
  @media (prefers-color-scheme: dark) {
6022
5989
  color: var(--color-blue-100);
@@ -6091,18 +6058,6 @@
6091
6058
  --tw-ring-color: var(--color-gray-700);
6092
6059
  }
6093
6060
  }
6094
- .dark\:backdrop-blur-2xl {
6095
- @media (prefers-color-scheme: dark) {
6096
- --tw-backdrop-blur: blur(var(--blur-2xl));
6097
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
6098
- }
6099
- }
6100
- .dark\:backdrop-saturate-200 {
6101
- @media (prefers-color-scheme: dark) {
6102
- --tw-backdrop-saturate: saturate(200%);
6103
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
6104
- }
6105
- }
6106
6061
  .group-disabled\:dark\:text-zinc-600 {
6107
6062
  &:is(:where(.group):disabled *) {
6108
6063
  @media (prefers-color-scheme: dark) {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.15.4",
3
- "generatedAt": "2025-10-31T19:08:38.553Z",
2
+ "version": "1.15.6",
3
+ "generatedAt": "2025-11-01T16:06:42.745Z",
4
4
  "categories": {
5
5
  "hooks": {
6
6
  "description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.15.4",
3
+ "version": "1.15.6",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",