@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/{colors-67HNJviq.d.ts → colors-CIlEq8T6.d.ts} +13 -0
- package/dist/{colors-DIRyY7OV.d.cts → colors-oRbPetNs.d.cts} +13 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/styles/legacy-bridge.css +22 -0
- package/dist/styles/theme-light-override.css +38 -36
- package/dist/styles.css +755 -705
- package/dist/theme.css +21 -15
- package/package.json +2 -1
- package/scripts/copy-assets.js +1 -20
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-
|
|
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-
|
|
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: #
|
|
14
|
-
--color-background-hover: #
|
|
15
|
-
--color-background-selected: #
|
|
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: #
|
|
19
|
-
--color-text-heading: #
|
|
20
|
-
--color-text-muted: #
|
|
21
|
-
--color-text-caption: #
|
|
22
|
-
--color-text-subtle: #
|
|
23
|
-
--color-text-placeholder: #
|
|
24
|
-
--color-text-disabled: #
|
|
25
|
-
--color-text-link-default: #
|
|
26
|
-
--color-text-link-hover: #
|
|
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: #
|
|
29
|
-
--color-border-focus: #
|
|
30
|
-
--color-border-muted: #
|
|
31
|
-
--color-border-input: #
|
|
32
|
-
--color-feedback-success-text: #
|
|
33
|
-
--color-feedback-success-background: #
|
|
34
|
-
--color-feedback-success-border: #
|
|
35
|
-
--color-feedback-error-text: #
|
|
36
|
-
--color-feedback-error-background: #
|
|
37
|
-
--color-feedback-error-border: #
|
|
38
|
-
--color-feedback-warning-text: #
|
|
39
|
-
--color-feedback-warning-background: #
|
|
40
|
-
--color-feedback-warning-border: #
|
|
41
|
-
--color-feedback-info-text: #
|
|
42
|
-
--color-feedback-info-background: #
|
|
43
|
-
--color-feedback-info-border: #
|
|
44
|
-
--color-action-brand: #
|
|
45
|
-
--color-action-brand-hover: #
|
|
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: #
|
|
48
|
-
--color-action-default-hover: #
|
|
49
|
+
--color-action-default: #111111;
|
|
50
|
+
--color-action-default-hover: #2c2a26;
|
|
49
51
|
--color-action-default-text: #ffffff;
|
|
50
|
-
--color-skeleton-base: #
|
|
51
|
-
--color-skeleton-highlight: #
|
|
52
|
-
--color-skeleton-wave: rgba(255, 255, 255, 0.
|
|
52
|
+
--color-skeleton-base: #e7e6e5;
|
|
53
|
+
--color-skeleton-highlight: #f5f5f4;
|
|
54
|
+
--color-skeleton-wave: rgba(255, 255, 255, 0.6);
|
|
53
55
|
|
|
54
|
-
color: #
|
|
56
|
+
color: #2c2a26;
|
|
55
57
|
}
|