@texturehq/edges 1.30.6 → 1.31.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.
package/dist/server.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, d as AvatarProps, B as BadgeProps, e as BaseDataPoint, C as ChartMargin, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, E as ENTITY_CONFIG, i as EntityConfig, j as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, k as Logo, M as MapPoint, l as MeterProps, S as SegmentOption, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, q as StaticMapProps, T as TextLink, r as TooltipData, s as TooltipSeries, t as TopNav, u as TopNavProps, Y as YFormatSettings, v as YFormatType, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, U as isLightColor } from './colors-DIRyY7OV.cjs';
1
+ export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, d as AvatarProps, B as BadgeProps, e as BaseDataPoint, C as ChartMargin, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, E as ENTITY_CONFIG, i as EntityConfig, j as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, k as Logo, M as MapPoint, l as MeterProps, S as SegmentOption, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, q as StaticMapProps, T as TextLink, r as TooltipData, s as TooltipSeries, t as TopNav, u as TopNavProps, Y as YFormatSettings, v as YFormatType, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, U as isLightColor } from './colors-oRbPetNs.cjs';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
3
  export { D as DateFieldProps, F as FileUploadProps, R as RichTextEditorProps } from './RichTextEditor-CxrunTg7.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
package/dist/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, d as AvatarProps, B as BadgeProps, e as BaseDataPoint, C as ChartMargin, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, E as ENTITY_CONFIG, i as EntityConfig, j as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, k as Logo, M as MapPoint, l as MeterProps, S as SegmentOption, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, q as StaticMapProps, T as TextLink, r as TooltipData, s as TooltipSeries, t as TopNav, u as TopNavProps, Y as YFormatSettings, v as YFormatType, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, U as isLightColor } from './colors-67HNJviq.js';
1
+ export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, d as AvatarProps, B as BadgeProps, e as BaseDataPoint, C as ChartMargin, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, E as ENTITY_CONFIG, i as EntityConfig, j as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, k as Logo, M as MapPoint, l as MeterProps, S as SegmentOption, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, q as StaticMapProps, T as TextLink, r as TooltipData, s as TooltipSeries, t as TopNav, u as TopNavProps, Y as YFormatSettings, v as YFormatType, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, U as isLightColor } from './colors-CIlEq8T6.js';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
3
  export { D as DateFieldProps, F as FileUploadProps, R as RichTextEditorProps } from './RichTextEditor-CxrunTg7.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Bridge variables — maps old non-standard var names to new edges-tokens vars.
3
+ * These exist because edges historically used --theme-* prefixed vars in utility
4
+ * classes (bg-background-canvas, bg-background-ai) that don't match the
5
+ * --color-* naming convention used by edges-tokens.
6
+ *
7
+ * Remove this file once all utility classes migrate to --color-* vars.
8
+ */
9
+
10
+ :root {
11
+ --theme-background-canvas: var(--color-background-canvas);
12
+ --theme-background-ai: var(--color-background-ai);
13
+ --theme-border-default: var(--color-border-default);
14
+ --theme-border-muted: var(--color-border-muted);
15
+ }
16
+
17
+ .theme-dark {
18
+ --theme-background-canvas: var(--color-background-canvas);
19
+ --theme-background-ai: var(--color-background-ai);
20
+ --theme-border-default: var(--color-border-default);
21
+ --theme-border-muted: var(--color-border-muted);
22
+ }
@@ -5,51 +5,53 @@
5
5
  * within that subtree, even when the page is in dark mode.
6
6
  *
7
7
  * Usage: <div className="theme-light">...</div>
8
+ *
9
+ * Values sourced from @texturehq/edges-tokens light theme output.
8
10
  */
9
11
 
10
12
  .theme-light {
11
13
  --color-background-body: #ffffff;
12
14
  --color-background-surface: #ffffff;
13
- --color-background-muted: #f3f4f6;
14
- --color-background-hover: #f3f4f6;
15
- --color-background-selected: #e5e7eb;
15
+ --color-background-muted: #f5f5f4;
16
+ --color-background-hover: #fafafa;
17
+ --color-background-selected: #e7e6e5;
16
18
  --color-background-modal: rgba(0, 0, 0, 0.15);
17
19
  --color-background-input: #ffffff;
18
- --color-text-body: #333333;
19
- --color-text-heading: #111827;
20
- --color-text-muted: #4b5563;
21
- --color-text-caption: #6b7280;
22
- --color-text-subtle: #5f6873;
23
- --color-text-placeholder: #9ca3af;
24
- --color-text-disabled: #9ca3af;
25
- --color-text-link-default: #444ae1;
26
- --color-text-link-hover: #363ccb;
20
+ --color-text-body: #2c2a26;
21
+ --color-text-heading: #111111;
22
+ --color-text-muted: #5d5b56;
23
+ --color-text-caption: #7c7974;
24
+ --color-text-subtle: #7c7974;
25
+ --color-text-placeholder: #a09d98;
26
+ --color-text-disabled: #d4d3d0;
27
+ --color-text-link-default: #111111;
28
+ --color-text-link-hover: #2c2a26;
27
29
  --color-text-onPrimary: #ffffff;
28
- --color-border-default: #e5e7eb;
29
- --color-border-focus: #111827;
30
- --color-border-muted: #e5e7eb;
31
- --color-border-input: #d1d5db;
32
- --color-feedback-success-text: #065f46;
33
- --color-feedback-success-background: #d1fae5;
34
- --color-feedback-success-border: #10b981;
35
- --color-feedback-error-text: #b91c1c;
36
- --color-feedback-error-background: #fee2e2;
37
- --color-feedback-error-border: #ef4444;
38
- --color-feedback-warning-text: #92400e;
39
- --color-feedback-warning-background: #fef3c7;
40
- --color-feedback-warning-border: #f59e0b;
41
- --color-feedback-info-text: #2563eb;
42
- --color-feedback-info-background: #dbeafe;
43
- --color-feedback-info-border: #93c5fd;
44
- --color-action-brand: #444ae1;
45
- --color-action-brand-hover: #363ccb;
30
+ --color-border-default: #e7e6e5;
31
+ --color-border-focus: #111111;
32
+ --color-border-muted: #f5f5f4;
33
+ --color-border-input: #d4d3d0;
34
+ --color-feedback-success-text: #15452a;
35
+ --color-feedback-success-background: #e4f3e9;
36
+ --color-feedback-success-border: #278a4a;
37
+ --color-feedback-error-text: #7a1212;
38
+ --color-feedback-error-background: #fdecec;
39
+ --color-feedback-error-border: #c42d2d;
40
+ --color-feedback-warning-text: #7a4708;
41
+ --color-feedback-warning-background: #fcefd9;
42
+ --color-feedback-warning-border: #c88420;
43
+ --color-feedback-info-text: #123862;
44
+ --color-feedback-info-background: #e0eaf5;
45
+ --color-feedback-info-border: #2d6cb8;
46
+ --color-action-brand: #111111;
47
+ --color-action-brand-hover: #2c2a26;
46
48
  --color-action-brand-text: #ffffff;
47
- --color-action-default: #333333;
48
- --color-action-default-hover: #4b5563;
49
+ --color-action-default: #111111;
50
+ --color-action-default-hover: #2c2a26;
49
51
  --color-action-default-text: #ffffff;
50
- --color-skeleton-base: #e5e7eb;
51
- --color-skeleton-highlight: #f3f4f6;
52
- --color-skeleton-wave: rgba(255, 255, 255, 0.5);
52
+ --color-skeleton-base: #e7e6e5;
53
+ --color-skeleton-highlight: #f5f5f4;
54
+ --color-skeleton-wave: rgba(255, 255, 255, 0.6);
53
55
 
54
- color: #333333;
56
+ color: #2c2a26;
55
57
  }