@mechane-ai/elements 0.12.0 → 0.14.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/README.md +50 -11
- package/dist/ai.js +175 -148
- package/dist/{categorical-values-CTrHn9jH.js → categorical-values-BnWfIPlv.js} +3 -3
- package/dist/{chart-frame-38ES6kwK.js → chart-frame-Dm8UNfYD.js} +6 -6
- package/dist/{chart-input-C9fu7f1Q.js → chart-input-ceiMZYI-.js} +3 -3
- package/dist/charts/cartesian.js +16 -16
- package/dist/charts/distribution.js +6 -6
- package/dist/charts/graph.js +5 -5
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +13 -13
- package/dist/charts/timeline.js +30 -30
- package/dist/charts.js +1 -1
- package/dist/{code-block-BjV2EFZS.js → code-block-D07N6mYS.js} +4 -4
- package/dist/collections.js +414 -395
- package/dist/constants.stylex-bbdiv1fD.js +83 -0
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +5 -5
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +4 -4
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-C460m-O7.js → content-link-CEx2s1MU.js} +1 -1
- package/dist/content.js +5 -5
- package/dist/elements.css +71 -120
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +21 -21
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +22 -22
- package/dist/navigation/commands.js +6 -6
- package/dist/navigation.js +30 -16
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/approval.d.ts +1 -1
- package/dist/packages/ai/src/conversation.d.ts +4 -4
- package/dist/packages/ai/src/index.d.ts +2 -2
- package/dist/packages/ai/src/prompt-input.d.ts +9 -5
- package/dist/packages/charts/src/cartesian/time-series-data.d.ts +1 -1
- package/dist/packages/charts/src/cartesian/time-series.d.ts +2 -2
- package/dist/packages/charts/src/chart-frame.d.ts +2 -2
- package/dist/packages/collections/src/collection-controls.d.ts +8 -7
- package/dist/packages/collections/src/collection-scroll.d.ts +2 -2
- package/dist/packages/collections/src/data-table.d.ts +23 -6
- package/dist/packages/collections/src/index.d.ts +4 -5
- package/dist/packages/content/src/code/code-block.d.ts +4 -4
- package/dist/packages/content/src/diff/diff-source.d.ts +1 -1
- package/dist/packages/content/src/diff/pierre-diff.d.ts +2 -2
- package/dist/packages/content/src/markdown/markdown.d.ts +2 -2
- package/dist/packages/content/src/trace.d.ts +3 -3
- package/dist/packages/core/src/actions.d.ts +2 -2
- package/dist/packages/core/src/surfaces.d.ts +6 -6
- package/dist/packages/core/src/text.d.ts +2 -2
- package/dist/packages/feedback/src/async-region.d.ts +18 -10
- package/dist/packages/feedback/src/control-placeholders.d.ts +10 -5
- package/dist/packages/feedback/src/feedback.d.ts +2 -2
- package/dist/packages/feedback/src/index.d.ts +2 -3
- package/dist/packages/forms/src/form-actions.d.ts +2 -2
- package/dist/packages/forms/src/forms.d.ts +2 -2
- package/dist/packages/forms/src/selection-styles.d.ts +1 -1
- package/dist/packages/foundations/src/constants.stylex.d.ts +90 -0
- package/dist/packages/foundations/src/control-styles.d.ts +21 -0
- package/dist/packages/foundations/src/tokens.d.ts +2 -0
- package/dist/packages/foundations/src/tokens.stylex.d.ts +0 -85
- package/dist/packages/layout/src/app-shell.d.ts +2 -2
- package/dist/packages/layout/src/page-toolbar.d.ts +3 -3
- package/dist/packages/layout/src/record-page.d.ts +2 -2
- package/dist/packages/layout/src/resizable.d.ts +2 -2
- package/dist/packages/layout/src/sidebar.d.ts +6 -6
- package/dist/packages/layout/src/view-stack.d.ts +2 -2
- package/dist/packages/layout/src/workbench.d.ts +2 -2
- package/dist/packages/navigation/src/commands/command.d.ts +3 -3
- package/dist/packages/navigation/src/index.d.ts +2 -2
- package/dist/packages/navigation/src/page-navigation.d.ts +7 -2
- package/dist/packages/overlays/src/drawer.d.ts +2 -2
- package/dist/{pierre-diff-sUAU-xeL.js → pierre-diff-C_j0nxwS.js} +2 -2
- package/dist/pierre-theme-BUeJim8s.js +127 -0
- package/dist/{pierre-tree-DKN2eGlZ.js → pierre-tree-CBBDlJ_Y.js} +4 -4
- package/dist/{src-DOzle5d4.js → src-BkXlN6aZ.js} +180 -195
- package/dist/{src-CI6KtN2w.js → src-C9GQP3px.js} +353 -377
- package/dist/{src-3gzujMhN.js → src-CyJd2qSZ.js} +47 -33
- package/dist/{src-CVlgjAlw.js → src-d7EAi61b.js} +9 -9
- package/dist/theme.js +1 -1
- package/dist/tokens.js +3 -203
- package/dist/tokens.stylex-DTHHFbyl.js +128 -0
- package/package.json +4 -2
- package/packages/foundations/src/constants.stylex.ts +91 -0
- package/packages/foundations/src/tokens.stylex.ts +0 -88
- package/dist/packages/collections/src/table.d.ts +0 -17
- package/dist/packages/feedback/src/loading.d.ts +0 -7
- package/dist/pierre-theme-CBAncKdH.js +0 -126
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mechane-ai/elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
+
"packages/foundations/src/constants.stylex.ts",
|
|
13
14
|
"packages/foundations/src/tokens.stylex.ts",
|
|
14
15
|
"styles.css",
|
|
15
16
|
"README.md",
|
|
@@ -122,9 +123,10 @@
|
|
|
122
123
|
"import": "./dist/csp.js"
|
|
123
124
|
},
|
|
124
125
|
"./tokens": {
|
|
125
|
-
"types": "./dist/packages/foundations/src/tokens.
|
|
126
|
+
"types": "./dist/packages/foundations/src/tokens.d.ts",
|
|
126
127
|
"import": "./dist/tokens.js"
|
|
127
128
|
},
|
|
129
|
+
"./constants.stylex": "./packages/foundations/src/constants.stylex.ts",
|
|
128
130
|
"./tokens.stylex": "./packages/foundations/src/tokens.stylex.ts",
|
|
129
131
|
"./styles.css": "./styles.css"
|
|
130
132
|
},
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
|
|
3
|
+
export const darkColors = stylex.defineConsts({
|
|
4
|
+
canvas: '#191919',
|
|
5
|
+
surface: '#101010',
|
|
6
|
+
ink: '#f2f2f2',
|
|
7
|
+
inkHover: '#d6d6d6',
|
|
8
|
+
inverse: '#0a0a0a',
|
|
9
|
+
muted: '#b0b0b0',
|
|
10
|
+
faint: '#777777',
|
|
11
|
+
line: '#303030',
|
|
12
|
+
focus: '#79b3ff',
|
|
13
|
+
accent: '#8ed3b3',
|
|
14
|
+
accentSoft: '#152b22',
|
|
15
|
+
warning: '#edc479',
|
|
16
|
+
warningSoft: '#302511',
|
|
17
|
+
danger: '#f59696',
|
|
18
|
+
dangerHover: '#ffc3c3',
|
|
19
|
+
dangerSoft: '#321c1c',
|
|
20
|
+
overlay: '#00000099',
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export const darkChartColors = stylex.defineConsts({
|
|
24
|
+
series1: '#86a9d3',
|
|
25
|
+
series2: '#83b69f',
|
|
26
|
+
series3: '#b49bce',
|
|
27
|
+
series4: '#cfad70',
|
|
28
|
+
series5: '#80bbc0',
|
|
29
|
+
series6: '#d39aad',
|
|
30
|
+
negative: '#e0929b',
|
|
31
|
+
positive: '#80add0',
|
|
32
|
+
missing: '#363636',
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export const darkAvatarColors = stylex.defineConsts({
|
|
36
|
+
identity1: '#f07d75',
|
|
37
|
+
identity2: '#f09a75',
|
|
38
|
+
identity3: '#f07598',
|
|
39
|
+
identity4: '#f075bb',
|
|
40
|
+
identity5: '#f075e6',
|
|
41
|
+
identity6: '#d375f0',
|
|
42
|
+
identity7: '#b375f0',
|
|
43
|
+
identity8: '#9275f0',
|
|
44
|
+
identity9: '#7575f0',
|
|
45
|
+
identity10: '#7596f0',
|
|
46
|
+
identity11: '#75b3f0',
|
|
47
|
+
identity12: '#75cff0',
|
|
48
|
+
identity13: '#75e8f0',
|
|
49
|
+
identity14: '#75f0e3',
|
|
50
|
+
identity15: '#75f0cd',
|
|
51
|
+
identity16: '#75f0b5',
|
|
52
|
+
identity17: '#75f09c',
|
|
53
|
+
identity18: '#75f080',
|
|
54
|
+
identity19: '#8cf075',
|
|
55
|
+
identity20: '#b0f075',
|
|
56
|
+
identity21: '#d7f075',
|
|
57
|
+
identity22: '#f0e175',
|
|
58
|
+
identity23: '#f0c375',
|
|
59
|
+
identity24: '#f0a875',
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export const darkSyntaxColors = stylex.defineConsts({
|
|
63
|
+
keyword: '#c4a1e5',
|
|
64
|
+
string: '#8ed3b3',
|
|
65
|
+
comment: '#a3a3a3',
|
|
66
|
+
number: '#edc479',
|
|
67
|
+
type: '#84bce3',
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
export const loading = stylex.defineConsts({ delaySeconds: 2, revealMs: 80, placeholderMs: 120 });
|
|
71
|
+
|
|
72
|
+
export const darkShadows = stylex.defineConsts({ popup: '0 4px 16px #00000066' });
|
|
73
|
+
|
|
74
|
+
export const layers = stylex.defineConsts({
|
|
75
|
+
sticky: '1',
|
|
76
|
+
backdrop: '20',
|
|
77
|
+
dialog: '21',
|
|
78
|
+
popup: '30',
|
|
79
|
+
tooltip: '40',
|
|
80
|
+
skipLink: '50',
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export const tableGeometry = stylex.defineConsts({ rowHeight: 48, headerHeight: 36 });
|
|
84
|
+
|
|
85
|
+
export const conditions = stylex.defineConsts({
|
|
86
|
+
coarsePointer: '@media (pointer: coarse)',
|
|
87
|
+
hoverPointer: '@media (hover: hover) and (pointer: fine)',
|
|
88
|
+
compactText: '@media (max-width:639px)',
|
|
89
|
+
compactTable: '@media (max-width:600px)',
|
|
90
|
+
reducedMotion: '@media (prefers-reduced-motion: reduce)',
|
|
91
|
+
});
|
|
@@ -20,26 +20,6 @@ export const colors = stylex.defineVars({
|
|
|
20
20
|
overlay: '#00000066',
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export const darkColors = stylex.defineConsts({
|
|
24
|
-
canvas: '#191919',
|
|
25
|
-
surface: '#101010',
|
|
26
|
-
ink: '#f2f2f2',
|
|
27
|
-
inkHover: '#d6d6d6',
|
|
28
|
-
inverse: '#0a0a0a',
|
|
29
|
-
muted: '#b0b0b0',
|
|
30
|
-
faint: '#777777',
|
|
31
|
-
line: '#303030',
|
|
32
|
-
focus: '#79b3ff',
|
|
33
|
-
accent: '#8ed3b3',
|
|
34
|
-
accentSoft: '#152b22',
|
|
35
|
-
warning: '#edc479',
|
|
36
|
-
warningSoft: '#302511',
|
|
37
|
-
danger: '#f59696',
|
|
38
|
-
dangerHover: '#ffc3c3',
|
|
39
|
-
dangerSoft: '#321c1c',
|
|
40
|
-
overlay: '#00000099',
|
|
41
|
-
});
|
|
42
|
-
|
|
43
23
|
export const chartColors = stylex.defineVars({
|
|
44
24
|
series1: '#5178a8',
|
|
45
25
|
series2: '#568b76',
|
|
@@ -52,18 +32,6 @@ export const chartColors = stylex.defineVars({
|
|
|
52
32
|
missing: '#e7e7e7',
|
|
53
33
|
});
|
|
54
34
|
|
|
55
|
-
export const darkChartColors = stylex.defineConsts({
|
|
56
|
-
series1: '#86a9d3',
|
|
57
|
-
series2: '#83b69f',
|
|
58
|
-
series3: '#b49bce',
|
|
59
|
-
series4: '#cfad70',
|
|
60
|
-
series5: '#80bbc0',
|
|
61
|
-
series6: '#d39aad',
|
|
62
|
-
negative: '#e0929b',
|
|
63
|
-
positive: '#80add0',
|
|
64
|
-
missing: '#363636',
|
|
65
|
-
});
|
|
66
|
-
|
|
67
35
|
export const avatarColors = stylex.defineVars({
|
|
68
36
|
identity1: '#e3291c',
|
|
69
37
|
identity2: '#e1571c',
|
|
@@ -91,33 +59,6 @@ export const avatarColors = stylex.defineVars({
|
|
|
91
59
|
identity24: '#d1661a',
|
|
92
60
|
});
|
|
93
61
|
|
|
94
|
-
export const darkAvatarColors = stylex.defineConsts({
|
|
95
|
-
identity1: '#f07d75',
|
|
96
|
-
identity2: '#f09a75',
|
|
97
|
-
identity3: '#f07598',
|
|
98
|
-
identity4: '#f075bb',
|
|
99
|
-
identity5: '#f075e6',
|
|
100
|
-
identity6: '#d375f0',
|
|
101
|
-
identity7: '#b375f0',
|
|
102
|
-
identity8: '#9275f0',
|
|
103
|
-
identity9: '#7575f0',
|
|
104
|
-
identity10: '#7596f0',
|
|
105
|
-
identity11: '#75b3f0',
|
|
106
|
-
identity12: '#75cff0',
|
|
107
|
-
identity13: '#75e8f0',
|
|
108
|
-
identity14: '#75f0e3',
|
|
109
|
-
identity15: '#75f0cd',
|
|
110
|
-
identity16: '#75f0b5',
|
|
111
|
-
identity17: '#75f09c',
|
|
112
|
-
identity18: '#75f080',
|
|
113
|
-
identity19: '#8cf075',
|
|
114
|
-
identity20: '#b0f075',
|
|
115
|
-
identity21: '#d7f075',
|
|
116
|
-
identity22: '#f0e175',
|
|
117
|
-
identity23: '#f0c375',
|
|
118
|
-
identity24: '#f0a875',
|
|
119
|
-
});
|
|
120
|
-
|
|
121
62
|
export const syntaxColors = stylex.defineVars({
|
|
122
63
|
keyword: '#785ba1',
|
|
123
64
|
string: '#21684f',
|
|
@@ -126,14 +67,6 @@ export const syntaxColors = stylex.defineVars({
|
|
|
126
67
|
type: '#1c628f',
|
|
127
68
|
});
|
|
128
69
|
|
|
129
|
-
export const darkSyntaxColors = stylex.defineConsts({
|
|
130
|
-
keyword: '#c4a1e5',
|
|
131
|
-
string: '#8ed3b3',
|
|
132
|
-
comment: '#a3a3a3',
|
|
133
|
-
number: '#edc479',
|
|
134
|
-
type: '#84bce3',
|
|
135
|
-
});
|
|
136
|
-
|
|
137
70
|
export const spacing = stylex.defineVars({
|
|
138
71
|
xxs: '2px',
|
|
139
72
|
xs: '4px',
|
|
@@ -191,24 +124,3 @@ export const motion = stylex.defineVars({
|
|
|
191
124
|
});
|
|
192
125
|
|
|
193
126
|
export const shadows = stylex.defineVars({ popup: '0 4px 16px #00000014', selection: 'inset 2px 0 currentColor' });
|
|
194
|
-
|
|
195
|
-
export const darkShadows = stylex.defineConsts({ popup: '0 4px 16px #00000066' });
|
|
196
|
-
|
|
197
|
-
export const layers = stylex.defineConsts({
|
|
198
|
-
sticky: '1',
|
|
199
|
-
backdrop: '20',
|
|
200
|
-
dialog: '21',
|
|
201
|
-
popup: '30',
|
|
202
|
-
tooltip: '40',
|
|
203
|
-
skipLink: '50',
|
|
204
|
-
});
|
|
205
|
-
|
|
206
|
-
export const tableGeometry = stylex.defineConsts({ rowHeight: 48, headerHeight: 36 });
|
|
207
|
-
|
|
208
|
-
export const conditions = stylex.defineConsts({
|
|
209
|
-
coarsePointer: '@media (pointer: coarse)',
|
|
210
|
-
hoverPointer: '@media (hover: hover) and (pointer: fine)',
|
|
211
|
-
compactText: '@media (max-width:639px)',
|
|
212
|
-
compactTable: '@media (max-width:600px)',
|
|
213
|
-
reducedMotion: '@media (prefers-reduced-motion: reduce)',
|
|
214
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
type TableHeader = string | {
|
|
3
|
-
readonly label: string;
|
|
4
|
-
readonly width: number;
|
|
5
|
-
readonly secondary?: boolean;
|
|
6
|
-
};
|
|
7
|
-
type TableProps = ComponentProps<'table'> & {
|
|
8
|
-
readonly headers: ReadonlyArray<TableHeader>;
|
|
9
|
-
readonly label: string;
|
|
10
|
-
};
|
|
11
|
-
type CellProps = ComponentProps<'td'> & {
|
|
12
|
-
readonly secondary?: boolean;
|
|
13
|
-
readonly mobileLabel?: string;
|
|
14
|
-
};
|
|
15
|
-
export declare function Table({ headers, children, label, ...props }: TableProps): ReactNode;
|
|
16
|
-
export declare function Cell({ children, secondary, mobileLabel, ...props }: CellProps): ReactNode;
|
|
17
|
-
export {};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { colors as e, conditions as t, controls as n, spacing as r, syntaxColors as i, typography as a } from "./tokens.js";
|
|
2
|
-
// packages/content/src/pierre-theme.ts
|
|
3
|
-
var o = {
|
|
4
|
-
name: "Elements",
|
|
5
|
-
appearance: "light",
|
|
6
|
-
cssVariables: {
|
|
7
|
-
prefix: "--elements-syntax-",
|
|
8
|
-
defaults: {
|
|
9
|
-
foreground: e.ink,
|
|
10
|
-
background: e.surface,
|
|
11
|
-
keyword: i.keyword,
|
|
12
|
-
string: i.string,
|
|
13
|
-
comment: i.comment,
|
|
14
|
-
number: i.number,
|
|
15
|
-
type: i.type,
|
|
16
|
-
punctuation: e.muted
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
style: {
|
|
20
|
-
"editor.background": "background",
|
|
21
|
-
"editor.foreground": "foreground",
|
|
22
|
-
syntax: {
|
|
23
|
-
keyword: {
|
|
24
|
-
color: "keyword",
|
|
25
|
-
font_weight: 600
|
|
26
|
-
},
|
|
27
|
-
string: "string",
|
|
28
|
-
comment: "comment",
|
|
29
|
-
number: "number",
|
|
30
|
-
type: "type",
|
|
31
|
-
function: "foreground",
|
|
32
|
-
operator: "punctuation",
|
|
33
|
-
punctuation: "punctuation"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}, s = `
|
|
37
|
-
:host {
|
|
38
|
-
color-scheme: inherit;
|
|
39
|
-
--diffs-font-family: ${a.monoFamily};
|
|
40
|
-
--diffs-header-font-family: ${a.fontFamily};
|
|
41
|
-
--diffs-font-size: ${a.captionSize};
|
|
42
|
-
--diffs-line-height: ${a.bodyLineHeight};
|
|
43
|
-
--diffs-gap-inline: ${r.sm};
|
|
44
|
-
--diffs-gap-block: ${r.sm};
|
|
45
|
-
--diffs-bg: ${e.surface};
|
|
46
|
-
--diffs-fg: ${e.ink};
|
|
47
|
-
--diffs-fg-number: ${e.muted};
|
|
48
|
-
--diffs-bg-addition: ${e.accentSoft};
|
|
49
|
-
--diffs-bg-deletion: ${e.dangerSoft};
|
|
50
|
-
--diffs-addition-color-override: ${e.accent};
|
|
51
|
-
--diffs-deletion-color-override: ${e.danger};
|
|
52
|
-
--diffs-modified-color-override: ${e.focus};
|
|
53
|
-
--diffs-bg-context-override: ${e.surface};
|
|
54
|
-
--diffs-bg-context-gutter-override: ${e.canvas};
|
|
55
|
-
--diffs-bg-separator-override: ${e.canvas};
|
|
56
|
-
--diffs-selection-background: ${e.accentSoft};
|
|
57
|
-
font-family: ${a.monoFamily};
|
|
58
|
-
font-size: ${a.captionSize};
|
|
59
|
-
color: ${e.ink};
|
|
60
|
-
background: ${e.surface};
|
|
61
|
-
}
|
|
62
|
-
pre { font-family: ${a.monoFamily}; font-size: ${a.captionSize}; line-height: ${a.bodyLineHeight}; }
|
|
63
|
-
[data-line-number] { color: ${e.muted}; }
|
|
64
|
-
[data-diffs-header] {
|
|
65
|
-
min-height: ${n.height};
|
|
66
|
-
padding-block: ${r.sm};
|
|
67
|
-
padding-inline: ${r.md};
|
|
68
|
-
border-bottom: 1px solid ${e.line};
|
|
69
|
-
font-size: ${a.captionSize};
|
|
70
|
-
line-height: ${a.captionLineHeight};
|
|
71
|
-
font-weight: ${a.mediumWeight};
|
|
72
|
-
flex-wrap: wrap;
|
|
73
|
-
}
|
|
74
|
-
[data-header-content] { flex: 1 1 12ch; }
|
|
75
|
-
`, c = `
|
|
76
|
-
:host {
|
|
77
|
-
color-scheme: inherit;
|
|
78
|
-
color: ${e.ink};
|
|
79
|
-
background: ${e.surface};
|
|
80
|
-
font-family: ${a.fontFamily};
|
|
81
|
-
font-size: ${a.bodySize};
|
|
82
|
-
--trees-font-family-override: ${a.fontFamily};
|
|
83
|
-
--trees-font-size-override: ${a.bodySize};
|
|
84
|
-
--trees-font-weight-regular-override: ${a.regularWeight};
|
|
85
|
-
--trees-font-weight-semibold-override: ${a.strongWeight};
|
|
86
|
-
--trees-search-font-weight-override: ${a.strongWeight};
|
|
87
|
-
--trees-padding-inline-override: ${r.md};
|
|
88
|
-
--trees-item-padding-x-override: ${r.sm};
|
|
89
|
-
--trees-item-row-gap-override: ${n.gap};
|
|
90
|
-
--trees-bg-override: ${e.surface};
|
|
91
|
-
--trees-fg-override: ${e.ink};
|
|
92
|
-
--trees-fg-muted-override: ${e.muted};
|
|
93
|
-
--trees-bg-muted-override: ${e.canvas};
|
|
94
|
-
--trees-input-bg-override: ${e.surface};
|
|
95
|
-
--trees-border-color-override: ${e.line};
|
|
96
|
-
--trees-border-radius-override: 0px;
|
|
97
|
-
--trees-accent-override: ${e.focus};
|
|
98
|
-
--trees-focus-ring-color-override: ${e.focus};
|
|
99
|
-
--trees-focus-ring-width-override: ${n.focusWidth};
|
|
100
|
-
--trees-focus-ring-offset-override: -2px;
|
|
101
|
-
--trees-selected-fg-override: ${e.ink};
|
|
102
|
-
--trees-selected-bg-override: ${e.canvas};
|
|
103
|
-
--trees-selected-focused-border-color-override: ${e.focus};
|
|
104
|
-
--trees-status-added-override: ${e.accent};
|
|
105
|
-
--trees-status-deleted-override: ${e.danger};
|
|
106
|
-
--trees-status-ignored-override: ${e.muted};
|
|
107
|
-
--trees-status-modified-override: ${e.warning};
|
|
108
|
-
--trees-status-renamed-override: ${e.warning};
|
|
109
|
-
--trees-status-untracked-override: ${e.accent};
|
|
110
|
-
}
|
|
111
|
-
[data-type="item"]:hover:not([data-item-selected="true"]):not([data-item-context-hover="true"]) {
|
|
112
|
-
background-color: ${e.surface};
|
|
113
|
-
--truncate-marker-background-overlay-color: transparent;
|
|
114
|
-
}
|
|
115
|
-
${t.hoverPointer} {
|
|
116
|
-
[data-type="item"]:hover:not([data-item-selected="true"]):not([data-item-context-hover="true"]) {
|
|
117
|
-
background-color: ${e.canvas};
|
|
118
|
-
--truncate-marker-background-overlay-color: ${e.canvas};
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
[data-type="item"]:active:not([data-item-selected="true"]):not([data-item-context-hover="true"]) {
|
|
122
|
-
background-color: ${e.canvas};
|
|
123
|
-
--truncate-marker-background-overlay-color: ${e.canvas};
|
|
124
|
-
}
|
|
125
|
-
`;
|
|
126
|
-
export { s as n, c as r, o as t };
|