@mechane-ai/elements 0.9.0 → 0.10.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/NOTICE +24 -0
- package/README.md +7 -1
- package/dist/ai.js +129 -125
- package/dist/{categorical-values-DYRiw5Qd.js → categorical-values-DLRE4EEW.js} +4 -4
- package/dist/{chart-frame-RL1hCWBC.js → chart-frame-et6f6Vhg.js} +22 -14
- package/dist/{chart-input-Bm3ot1yD.js → chart-input-CdLkFomi.js} +2 -2
- package/dist/charts/cartesian.js +529 -450
- package/dist/charts/distribution.js +302 -261
- package/dist/charts/graph.js +137 -103
- package/dist/charts/hierarchy.js +7 -7
- package/dist/charts/matrix.js +187 -174
- package/dist/charts/timeline.js +118 -92
- package/dist/charts.js +1 -1
- package/dist/code-block-D77maJBB.js +180 -0
- package/dist/collections.js +280 -236
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +81 -63
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +115 -96
- package/dist/content/tree.js +43 -38
- package/dist/{content-link-BrPrpBof.js → content-link-BpSZeTNK.js} +6 -2
- package/dist/content.js +172 -153
- package/dist/{assets/stylex.css → elements.css} +471 -185
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +25 -25
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +239 -192
- package/dist/navigation/commands.js +45 -42
- package/dist/{navigation-yxK3iQXo.js → navigation-D2_sGy3C.js} +2 -2
- package/dist/navigation.js +10 -10
- package/dist/overlays.js +1 -1
- package/dist/packages/charts/src/cartesian/bar-chart.d.ts +5 -0
- package/dist/packages/charts/src/cartesian/index.d.ts +2 -2
- package/dist/packages/charts/src/chart-frame.d.ts +3 -0
- package/dist/packages/charts/src/chart-theme.d.ts +2 -1
- package/dist/packages/charts/src/distribution/distribution-plot.d.ts +22 -2
- package/dist/packages/collections/src/collection-scroll.d.ts +2 -1
- package/dist/packages/content/src/diff/pierre-diff.d.ts +2 -1
- package/dist/packages/content/src/viewer-styles.d.ts +64 -0
- package/dist/packages/core/src/index.d.ts +1 -1
- package/dist/packages/core/src/surfaces.d.ts +5 -0
- package/dist/packages/feedback/src/index.d.ts +4 -1
- package/dist/packages/feedback/src/toast.d.ts +5 -27
- package/dist/packages/forms/src/field-styles.d.ts +9 -0
- package/dist/packages/forms/src/selection-styles.d.ts +18 -2
- package/dist/packages/foundations/src/overlay-styles.d.ts +3 -1
- package/dist/packages/foundations/src/popup-styles.d.ts +7 -0
- package/dist/packages/foundations/src/tokens.stylex.d.ts +9 -0
- package/dist/packages/layout/src/frame.stylex.d.ts +1 -0
- package/dist/packages/layout/src/sidebar.d.ts +3 -1
- package/dist/packages/overlays/src/alert-dialog.d.ts +5 -2
- package/dist/packages/overlays/src/dialog.d.ts +7 -3
- package/dist/pierre-diff--zsiHCCB.js +71 -0
- package/dist/pierre-theme-D9hnHv3Z.js +126 -0
- package/dist/{pierre-tree-CRk09rx7.js → pierre-tree-BFxEuxwb.js} +3 -3
- package/dist/{src-Cc0Sadzr.js → src-Be7NLG8c.js} +238 -186
- package/dist/src-CBspCKfO.js +969 -0
- package/dist/src-Cs0dRc4X.js +617 -0
- package/dist/{src-elMBQ2Dh.js → src-sU9b0oZW.js} +224 -143
- package/dist/tokens.js +9 -1
- package/dist/viewer-styles-CpHqp5Qv.js +70 -0
- package/package.json +2 -1
- package/packages/foundations/src/tokens.stylex.ts +7 -0
- package/styles.css +1 -1
- package/dist/code-block-B30xQKqg.js +0 -175
- package/dist/pierre-diff-CZdzgiYm.js +0 -66
- package/dist/pierre-theme-BpESNIsV.js +0 -96
- package/dist/popup-styles-CvtZDE2t.js +0 -135
- package/dist/src-CfDf8TY8.js +0 -466
- package/dist/src-DuuAmS-c.js +0 -360
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as e } from "../src-
|
|
2
|
-
import { s as t } from "../src-
|
|
3
|
-
import { n } from "../navigation-
|
|
1
|
+
import { l as e } from "../src-Be7NLG8c.js";
|
|
2
|
+
import { s as t } from "../src-Cs0dRc4X.js";
|
|
3
|
+
import { n } from "../navigation-D2_sGy3C.js";
|
|
4
4
|
import "@stylexjs/stylex";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
6
|
import { Autocomplete as a } from "@base-ui/react/autocomplete";
|
|
@@ -36,45 +36,48 @@ function u({ open: n, onOpenChange: o, title: s, commands: c, trigger: u, placeh
|
|
|
36
36
|
return /* @__PURE__ */ i(t.Root, {
|
|
37
37
|
open: n,
|
|
38
38
|
onOpenChange: o,
|
|
39
|
-
children: [u !== void 0 && /* @__PURE__ */ r(t.Trigger, { render: u }), /* @__PURE__ */ i(t.Portal, { children: [/* @__PURE__ */ r(t.Backdrop, {}), /* @__PURE__ */ r(t.Popup, {
|
|
40
|
-
|
|
41
|
-
children:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
children: [
|
|
65
|
-
className: "
|
|
66
|
-
children: e.description
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
39
|
+
children: [u !== void 0 && /* @__PURE__ */ r(t.Trigger, { render: u }), /* @__PURE__ */ i(t.Portal, { children: [/* @__PURE__ */ r(t.Backdrop, { motion: "none" }), /* @__PURE__ */ r(t.Popup, {
|
|
40
|
+
motion: "none",
|
|
41
|
+
children: /* @__PURE__ */ i("div", {
|
|
42
|
+
className: "x78zum5 xdt5ytf x1n8ia3y",
|
|
43
|
+
children: [/* @__PURE__ */ r(t.Title, { children: s }), /* @__PURE__ */ i(a.Root, {
|
|
44
|
+
items: c,
|
|
45
|
+
itemToStringValue: (e) => e.label,
|
|
46
|
+
inline: !0,
|
|
47
|
+
open: !0,
|
|
48
|
+
autoHighlight: "always",
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ r(a.Input, {
|
|
51
|
+
"aria-label": d,
|
|
52
|
+
placeholder: d,
|
|
53
|
+
render: /* @__PURE__ */ r(e, {})
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ r(a.List, {
|
|
56
|
+
className: "x1717udv x1ghz6dp x1sslpiy x1odjw0f xish69e",
|
|
57
|
+
children: (e) => /* @__PURE__ */ i(a.Item, {
|
|
58
|
+
value: e,
|
|
59
|
+
disabled: e.disabled,
|
|
60
|
+
className: "x78zum5 x9f619 x6s0dn4 xaml1ju x1uey4wk xwu7q15 xn9t2bk x5g2kb4 x1ok0vyi xbixft xpvm0e4 x1hz01jw xj57cvi xtqrqnz x1778rvt x1ypdohk xf2ykmf x1480za7 xd12npn xwj21n9 x1m8qfh3",
|
|
61
|
+
onClick: () => {
|
|
62
|
+
o(!1), e.onSelect();
|
|
63
|
+
},
|
|
64
|
+
children: [/* @__PURE__ */ i("span", {
|
|
65
|
+
className: "x98rzlu xeuugli xj0a0fe",
|
|
66
|
+
children: [e.label, e.description !== void 0 && /* @__PURE__ */ r("span", {
|
|
67
|
+
className: "x1lliihq x153jb6y xy8obcc xas2l8k",
|
|
68
|
+
children: e.description
|
|
69
|
+
})]
|
|
70
|
+
}), e.shortcut !== void 0 && /* @__PURE__ */ r(l, { shortcut: e.shortcut })]
|
|
71
|
+
}, e.id)
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ r(a.Empty, {
|
|
74
|
+
className: "x1c8xbx5 x153jb6y xtqrqnz xjl7jj",
|
|
75
|
+
children: f
|
|
76
|
+
})
|
|
77
|
+
]
|
|
78
|
+
})]
|
|
79
|
+
})
|
|
80
|
+
})] })]
|
|
78
81
|
});
|
|
79
82
|
}
|
|
80
83
|
export { u as CommandPalette, l as ShortcutHint, c as useCommandShortcuts };
|
|
@@ -4,7 +4,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
4
4
|
import { ChevronRight as n } from "lucide-react";
|
|
5
5
|
// packages/navigation/src/navigation.tsx
|
|
6
6
|
function r(n) {
|
|
7
|
-
return /* @__PURE__ */ t("nav", { ...e({ className: "x1hz01jw xtqrqnz x1778rvt x153jb6y" }, n) });
|
|
7
|
+
return /* @__PURE__ */ t("nav", { ...e({ className: "x1hz01jw xj57cvi xtqrqnz x1778rvt x153jb6y" }, n) });
|
|
8
8
|
}
|
|
9
9
|
function i(n) {
|
|
10
10
|
return /* @__PURE__ */ t("ol", { ...e({ className: "x78zum5 x1a02dak x6s0dn4 x1hnptsi x3ct3a4 x1717udv x1ghz6dp" }, n) });
|
|
@@ -27,7 +27,7 @@ function s() {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
function c(n) {
|
|
30
|
-
return /* @__PURE__ */ t("kbd", { ...e({ className: "x3nfvp2 x6s0dn4 xl56j7k xt4ypqs x14w6jbu xt970qd xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi x1r7kqkb x153jb6y xiard35 xy8obcc xas2l8k xuxw1ft" }, n) });
|
|
30
|
+
return /* @__PURE__ */ t("kbd", { ...e({ className: "x3nfvp2 x6s0dn4 xl56j7k xt4ypqs x14w6jbu xt970qd xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi x1r7kqkb x153jb6y xiard35 xj57cvi xy8obcc xas2l8k xuxw1ft" }, n) });
|
|
31
31
|
}
|
|
32
32
|
var l = {
|
|
33
33
|
Root: r,
|
package/dist/navigation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./navigation-
|
|
1
|
+
import { n as e, t } from "./navigation-D2_sGy3C.js";
|
|
2
2
|
import { t as n } from "./style-composition-uYlczSsB.js";
|
|
3
3
|
import { mergeProps as r } from "@base-ui/react/merge-props";
|
|
4
4
|
import "@stylexjs/stylex";
|
|
@@ -10,15 +10,15 @@ function o({ items: e, selectedId: t, onNavigate: n, label: r = "Page sections",
|
|
|
10
10
|
"aria-label": r,
|
|
11
11
|
tabIndex: 0,
|
|
12
12
|
...{
|
|
13
|
-
0: { className: "x78zum5
|
|
14
|
-
1: { className: "x78zum5
|
|
13
|
+
0: { className: "x78zum5 xxhr3t xeuugli xw2csxc xso031l x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
|
|
14
|
+
1: { className: "x78zum5 xxhr3t xeuugli xw2csxc x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal x1qhh985" }
|
|
15
15
|
}[!!a | 0],
|
|
16
16
|
children: e.map((e) => /* @__PURE__ */ i("a", {
|
|
17
17
|
href: e.href,
|
|
18
18
|
"aria-current": e.id === t ? "page" : void 0,
|
|
19
19
|
...{
|
|
20
|
-
0: { className: "x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk
|
|
21
|
-
1: { className: "x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk
|
|
20
|
+
0: { className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft x153jb6y x1mkgjtd x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 xyhc2n1 x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
|
|
21
|
+
1: { className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft x1mkgjtd x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 x13qnu6 x9v5kkp x19rmrnh x1bqaal xbixft xtawafa" }
|
|
22
22
|
}[e.id === t | 0],
|
|
23
23
|
onClick: (t) => {
|
|
24
24
|
if (n === void 0 || t.defaultPrevented || t.button !== 0) return;
|
|
@@ -31,7 +31,7 @@ function o({ items: e, selectedId: t, onNavigate: n, label: r = "Page sections",
|
|
|
31
31
|
}
|
|
32
32
|
// packages/navigation/src/skip-link.tsx
|
|
33
33
|
function s(e) {
|
|
34
|
-
return /* @__PURE__ */ i("a", { ...r({ className: "xixxii4 x1ridm32 x12hha37 xkwijxb x174j0rr x1mvvolr x9f619 xvv7f4i x1ok0vyi xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
|
|
34
|
+
return /* @__PURE__ */ i("a", { ...r({ className: "xixxii4 x1ridm32 x12hha37 xkwijxb x174j0rr x1mvvolr x9f619 xvv7f4i xj0a0fe x1ok0vyi xpvm0e4 xbixft x1hz01jw xk4h15q xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
|
|
35
35
|
}
|
|
36
36
|
// packages/navigation/src/tabs.tsx
|
|
37
37
|
function c({ className: e, style: t, ...r }) {
|
|
@@ -40,7 +40,7 @@ function c({ className: e, style: t, ...r }) {
|
|
|
40
40
|
...n({
|
|
41
41
|
className: e,
|
|
42
42
|
style: t,
|
|
43
|
-
styles: { className: "x1hz01jw xvmahel xeuugli" }
|
|
43
|
+
styles: { className: "x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel xeuugli xsg5m96 x7bu0ch x18eqmq0" }
|
|
44
44
|
})
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -50,7 +50,7 @@ function l({ className: e, style: t, ...r }) {
|
|
|
50
50
|
...n({
|
|
51
51
|
className: e,
|
|
52
52
|
style: t,
|
|
53
|
-
styles: { className: "x78zum5
|
|
53
|
+
styles: { className: "x78zum5 xxhr3t xeuugli xso031l x1q0q8m5 x1qndepd xw2csxc x16yzcw2 x1mxyneg xyjviii x1y2jzqp x12ub8kb xxwvzwo x1ci5vm9" }
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
56
|
}
|
|
@@ -60,7 +60,7 @@ function u({ className: e, style: t, ...r }) {
|
|
|
60
60
|
...n({
|
|
61
61
|
className: e,
|
|
62
62
|
style: t,
|
|
63
|
-
styles: { className: "x1hz01jw xvmahel xc342km xid9utz xn9t2bk
|
|
63
|
+
styles: { className: "x1n2onr6 x9f619 x2lah0s x1hz01jw xj57cvi xvmahel xc342km xid9utz xn9t2bk x1doqdfy xjbqb8w x153jb6y x1ypdohk xtqrqnz x1778rvt xuxw1ft x1wlwa7r xyg3wme xoqm7u7 x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 xyhc2n1 x11v428d x1gkyb9z xv7chyw x1pgiufq xrzcr2b x1nten1d x1wzsryr x1hjdyp1 x1i5oxzy xx75q12 x7dn452 xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x1bqaal" }
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
66
|
}
|
|
@@ -70,7 +70,7 @@ function d({ className: e, style: t, ...r }) {
|
|
|
70
70
|
...n({
|
|
71
71
|
className: e,
|
|
72
72
|
style: t,
|
|
73
|
-
styles: { className: "x1o3kwql x1k57tk5" }
|
|
73
|
+
styles: { className: "x1o3kwql xeuugli x1k57tk5 xcqfl4l xwqq6z6 x13qnu6 x9v5kkp x19rmrnh x7s97pk" }
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}
|
package/dist/overlays.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as AlertDialog, s as Dialog, a as Drawer, i as Menu, r as Popover, n as Preview, t as Tooltip } from "./src-
|
|
1
|
+
export { o as AlertDialog, s as Dialog, a as Drawer, i as Menu, r as Popover, n as Preview, t as Tooltip } from "./src-Cs0dRc4X.js";
|
|
@@ -22,4 +22,9 @@ export type BarChartProps = {
|
|
|
22
22
|
readonly selection?: ChartSelection | undefined;
|
|
23
23
|
readonly height?: number | undefined;
|
|
24
24
|
};
|
|
25
|
+
export type BarChartPlaceholderProps = Pick<BarChartProps, 'description' | 'height'> & {
|
|
26
|
+
readonly title?: string | undefined;
|
|
27
|
+
readonly series?: ReadonlyArray<Pick<BarSeries, 'id' | 'label' | 'tone'>> | undefined;
|
|
28
|
+
};
|
|
29
|
+
export declare function BarChartPlaceholder({ title, description, series, height, }: BarChartPlaceholderProps): ReactNode;
|
|
25
30
|
export declare function BarChart({ title, description, categories, series, domain, mode, formatValue, selection, height, }: BarChartProps): ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { BarSeries, BarChartProps } from './bar-chart.tsx';
|
|
2
|
-
export { BarChart } from './bar-chart.tsx';
|
|
1
|
+
export type { BarSeries, BarChartProps, BarChartPlaceholderProps } from './bar-chart.tsx';
|
|
2
|
+
export { BarChart, BarChartPlaceholder } from './bar-chart.tsx';
|
|
3
3
|
export type { BreakdownBarProps } from './breakdown-bar.tsx';
|
|
4
4
|
export { BreakdownBar } from './breakdown-bar.tsx';
|
|
5
5
|
export type { ScatterPoint, ScatterRange, ScatterRangeSelection, ScatterPlotProps } from './scatter-plot.tsx';
|
|
@@ -28,6 +28,9 @@ export declare function ChartDatumButton({ label, selected, onSelect, children,
|
|
|
28
28
|
readonly onSelect?: (() => void) | undefined;
|
|
29
29
|
readonly children: ReactNode;
|
|
30
30
|
}): ReactNode;
|
|
31
|
+
export declare function ChartReadout({ children }: {
|
|
32
|
+
readonly children: ReactNode;
|
|
33
|
+
}): ReactNode;
|
|
31
34
|
export declare function ChartDataDisclosure({ children, label, }: {
|
|
32
35
|
readonly children: ReactNode;
|
|
33
36
|
readonly label?: string | undefined;
|
|
@@ -26,6 +26,7 @@ export declare const chartStyles: Readonly<{
|
|
|
26
26
|
readonly fill: stylex.StyleXClassNameFor<"fill", string>;
|
|
27
27
|
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
28
28
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
29
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
29
30
|
readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
|
|
30
31
|
}>;
|
|
31
32
|
readonly mark: Readonly<{
|
|
@@ -43,7 +44,7 @@ export declare const chartStyles: Readonly<{
|
|
|
43
44
|
readonly outlineColor: stylex.StyleXVar<string>;
|
|
44
45
|
readonly outlineStyle: "solid";
|
|
45
46
|
readonly outlineWidth: stylex.StyleXVar<string>;
|
|
46
|
-
readonly outlineOffset:
|
|
47
|
+
readonly outlineOffset: `calc(-1 * ${stylex.StyleXVar<string>})`;
|
|
47
48
|
}>;
|
|
48
49
|
}>;
|
|
49
50
|
}>;
|
|
@@ -8,7 +8,7 @@ export declare const distributionStyles: Readonly<{
|
|
|
8
8
|
readonly plot: Readonly<{
|
|
9
9
|
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
10
10
|
readonly display: stylex.StyleXClassNameFor<"display", "grid">;
|
|
11
|
-
readonly gridTemplateColumns: stylex.StyleXClassNameFor<"gridTemplateColumns", "max-content minmax(0, 1fr)">;
|
|
11
|
+
readonly gridTemplateColumns: stylex.StyleXClassNameFor<"gridTemplateColumns", "minmax(0, max-content) minmax(0, 1fr)">;
|
|
12
12
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
13
13
|
}>;
|
|
14
14
|
readonly yAxis: Readonly<{
|
|
@@ -21,6 +21,11 @@ export declare const distributionStyles: Readonly<{
|
|
|
21
21
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
22
22
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
23
23
|
readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
|
|
24
|
+
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", 120>;
|
|
25
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
26
|
+
}>;
|
|
27
|
+
readonly plotArea: Readonly<{
|
|
28
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
24
29
|
}>;
|
|
25
30
|
readonly svg: Readonly<{
|
|
26
31
|
readonly display: stylex.StyleXClassNameFor<"display", "block">;
|
|
@@ -42,6 +47,17 @@ export declare const distributionStyles: Readonly<{
|
|
|
42
47
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
43
48
|
readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
|
|
44
49
|
}>;
|
|
50
|
+
readonly tick: Readonly<{
|
|
51
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 0">;
|
|
52
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
53
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
54
|
+
}>;
|
|
55
|
+
readonly middleTick: Readonly<{
|
|
56
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
|
|
57
|
+
}>;
|
|
58
|
+
readonly endTick: Readonly<{
|
|
59
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "end">;
|
|
60
|
+
}>;
|
|
45
61
|
readonly axisNames: Readonly<{
|
|
46
62
|
readonly gridColumn: stylex.StyleXClassNameFor<"gridColumn", "1 / -1">;
|
|
47
63
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
@@ -57,15 +73,19 @@ export declare const distributionStyles: Readonly<{
|
|
|
57
73
|
readonly values: Readonly<{
|
|
58
74
|
readonly display: stylex.StyleXClassNameFor<"display", "grid">;
|
|
59
75
|
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
76
|
+
readonly containerType: stylex.StyleXClassNameFor<"containerType", "inline-size">;
|
|
60
77
|
}>;
|
|
61
78
|
readonly value: Readonly<{
|
|
62
79
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
80
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
63
81
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
64
|
-
readonly
|
|
82
|
+
readonly columnGap: stylex.StyleXClassNameFor<"columnGap", string>;
|
|
83
|
+
readonly rowGap: stylex.StyleXClassNameFor<"rowGap", string>;
|
|
65
84
|
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
66
85
|
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
67
86
|
}>;
|
|
68
87
|
readonly summary: Readonly<{
|
|
88
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
69
89
|
readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
|
|
70
90
|
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
71
91
|
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "end">;
|
|
@@ -15,5 +15,6 @@ export type CollectionScrollProps = {
|
|
|
15
15
|
readonly onEndReached?: (() => void) | undefined;
|
|
16
16
|
readonly fill?: boolean;
|
|
17
17
|
readonly endPosition?: 'start' | 'end';
|
|
18
|
+
readonly label?: string;
|
|
18
19
|
};
|
|
19
|
-
export declare function CollectionScroll({ children, endContent, onEndReached, fill, endPosition, }: CollectionScrollProps): ReactNode;
|
|
20
|
+
export declare function CollectionScroll({ children, endContent, onEndReached, fill, endPosition, label, }: CollectionScrollProps): ReactNode;
|
|
@@ -5,10 +5,11 @@ type PierreDiffProps = {
|
|
|
5
5
|
readonly files: ReadonlyArray<FileDiffMetadata>;
|
|
6
6
|
readonly layout: 'unified' | 'split';
|
|
7
7
|
readonly wrap: boolean;
|
|
8
|
+
readonly showUnchanged: boolean;
|
|
8
9
|
readonly annotations: ReadonlyArray<DiffAnnotation>;
|
|
9
10
|
readonly maxHeight: number;
|
|
10
11
|
readonly label: string;
|
|
11
12
|
};
|
|
12
13
|
export declare function prepareDiff(source: DiffSource): ReadonlyArray<FileDiffMetadata>;
|
|
13
|
-
export declare function PierreDiff({ files, layout, wrap, annotations, maxHeight, label }: PierreDiffProps): ReactNode;
|
|
14
|
+
export declare function PierreDiff({ files, layout, wrap, showUnchanged, annotations, maxHeight, label, }: PierreDiffProps): ReactNode;
|
|
14
15
|
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const viewerStyles: Readonly<{
|
|
3
|
+
readonly root: Readonly<{
|
|
4
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
5
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
|
|
6
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
7
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
8
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
9
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
10
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
11
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
12
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
13
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
14
|
+
}>;
|
|
15
|
+
readonly header: Readonly<{
|
|
16
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
17
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
18
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
19
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
20
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
21
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
22
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
23
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
24
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
25
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
26
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
27
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
28
|
+
readonly borderBlockEndWidth: stylex.StyleXClassNameFor<"borderBlockEndWidth", 1>;
|
|
29
|
+
readonly borderBlockEndStyle: stylex.StyleXClassNameFor<"borderBlockEndStyle", "solid">;
|
|
30
|
+
readonly borderBlockEndColor: stylex.StyleXClassNameFor<"borderBlockEndColor", string>;
|
|
31
|
+
}>;
|
|
32
|
+
readonly label: Readonly<{
|
|
33
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 24ch">;
|
|
34
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
35
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
36
|
+
}>;
|
|
37
|
+
readonly actions: Readonly<{
|
|
38
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
39
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
40
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
41
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
42
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
43
|
+
}>;
|
|
44
|
+
readonly scrollRegion: Readonly<{
|
|
45
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
46
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "none">;
|
|
47
|
+
readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
|
|
48
|
+
readonly outlineWidth: stylex.StyleXVar<string>;
|
|
49
|
+
readonly outlineStyle: "solid";
|
|
50
|
+
readonly outlineColor: stylex.StyleXVar<string>;
|
|
51
|
+
readonly outlineOffset: `calc(-1 * ${stylex.StyleXVar<string>})`;
|
|
52
|
+
}>;
|
|
53
|
+
}>;
|
|
54
|
+
readonly note: Readonly<{
|
|
55
|
+
readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
|
|
56
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
57
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
58
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
59
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
60
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
61
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
62
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
63
|
+
}>;
|
|
64
|
+
}>;
|
|
@@ -7,5 +7,5 @@ export type { AgentAppearance, AgentAvatarColor, AgentAvatarProps, AgentAvatarSi
|
|
|
7
7
|
export { AgentAvatar, agentAppearance, agentAvatarColors } from './agent-avatar.tsx';
|
|
8
8
|
export { CopyValue } from './copy-value.tsx';
|
|
9
9
|
export { Accordion, Collapsible } from './disclosure.tsx';
|
|
10
|
-
export { Panel, Row, Stack, Columns, Divider } from './surfaces.tsx';
|
|
10
|
+
export { Panel, SurfaceLink, Row, Stack, Columns, Divider } from './surfaces.tsx';
|
|
11
11
|
export { Text, Heading, Subheading, Muted, Identifier, Prose, Badge, Status } from './text.tsx';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
2
3
|
type PanelProps = ComponentProps<'section'> & {
|
|
3
4
|
readonly padded?: boolean;
|
|
4
5
|
};
|
|
6
|
+
type SurfaceLinkProps = ComponentProps<'a'> & {
|
|
7
|
+
readonly xstyle?: PlacementStyle;
|
|
8
|
+
};
|
|
5
9
|
type RowProps = ComponentProps<'div'> & {
|
|
6
10
|
readonly between?: boolean;
|
|
7
11
|
};
|
|
@@ -11,6 +15,7 @@ type StackProps = ComponentProps<'div'> & {
|
|
|
11
15
|
type ColumnsProps = ComponentProps<'div'>;
|
|
12
16
|
type DividerProps = ComponentProps<'hr'>;
|
|
13
17
|
export declare function Panel({ padded, ...props }: PanelProps): ReactNode;
|
|
18
|
+
export declare function SurfaceLink({ xstyle, ...props }: SurfaceLinkProps): ReactNode;
|
|
14
19
|
export declare function Row({ between, ...props }: RowProps): ReactNode;
|
|
15
20
|
export declare function Stack({ compact, ...props }: StackProps): ReactNode;
|
|
16
21
|
export declare function Columns(props: ColumnsProps): ReactNode;
|
|
@@ -4,6 +4,9 @@ export type { ProgressProps, MeterProps } from './progress.tsx';
|
|
|
4
4
|
export { Progress, Meter } from './progress.tsx';
|
|
5
5
|
export type { SkeletonProps, SkeletonTextProps, SpinnerProps } from './skeleton.tsx';
|
|
6
6
|
export { Skeleton, SkeletonText, Spinner } from './skeleton.tsx';
|
|
7
|
-
export {
|
|
7
|
+
export type { ExternalToast as ToastOptions } from 'sonner';
|
|
8
|
+
export { toast } from 'sonner';
|
|
9
|
+
export type { ToasterProps } from './toast.tsx';
|
|
10
|
+
export { Toaster } from './toast.tsx';
|
|
8
11
|
export type { AsyncRegionProps, ContentRevealProps } from './async-region.tsx';
|
|
9
12
|
export { AsyncRegion, ContentReveal } from './async-region.tsx';
|
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
type ToastContentProps = ComponentProps<typeof BaseToast.Content>;
|
|
6
|
-
type ToastTitleProps = ComponentProps<typeof BaseToast.Title>;
|
|
7
|
-
type ToastDescriptionProps = ComponentProps<typeof BaseToast.Description>;
|
|
8
|
-
type ToastCloseProps = ComponentProps<typeof BaseToast.Close>;
|
|
9
|
-
declare function ToastViewport({ className, style, ...props }: ToastViewportProps): ReactNode;
|
|
10
|
-
declare function ToastRoot({ className, style, ...props }: ToastRootProps): ReactNode;
|
|
11
|
-
declare function ToastContent({ className, style, ...props }: ToastContentProps): ReactNode;
|
|
12
|
-
declare function ToastTitle({ className, style, ...props }: ToastTitleProps): ReactNode;
|
|
13
|
-
declare function ToastDescription({ className, style, ...props }: ToastDescriptionProps): ReactNode;
|
|
14
|
-
declare function ToastClose(props: ToastCloseProps): ReactNode;
|
|
15
|
-
export declare const Toast: {
|
|
16
|
-
Provider: import("react").FC<import("@base-ui/react").ToastProviderProps>;
|
|
17
|
-
Portal: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ToastPortalProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
-
Viewport: typeof ToastViewport;
|
|
19
|
-
Root: typeof ToastRoot;
|
|
20
|
-
Content: typeof ToastContent;
|
|
21
|
-
Title: typeof ToastTitle;
|
|
22
|
-
Description: typeof ToastDescription;
|
|
23
|
-
Close: typeof ToastClose;
|
|
24
|
-
Action: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ToastActionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
25
|
-
useManager: typeof BaseToast.useToastManager;
|
|
26
|
-
createManager: typeof BaseToast.createToastManager;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ToasterProps as SonnerToasterProps } from 'sonner';
|
|
3
|
+
export type ToasterProps = Pick<SonnerToasterProps, 'id' | 'position' | 'hotkey' | 'expand' | 'duration' | 'visibleToasts' | 'closeButton' | 'offset' | 'mobileOffset' | 'dir' | 'swipeDirections' | 'containerAriaLabel'> & {
|
|
4
|
+
readonly closeButtonAriaLabel?: string;
|
|
27
5
|
};
|
|
28
|
-
export {};
|
|
6
|
+
export declare function Toaster({ closeButton, closeButtonAriaLabel, offset, mobileOffset, ...props }: ToasterProps): ReactNode;
|
|
@@ -6,27 +6,35 @@ export declare const fieldStyles: Readonly<{
|
|
|
6
6
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
7
7
|
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
8
8
|
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
9
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
10
|
+
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
9
11
|
}>;
|
|
10
12
|
readonly label: Readonly<{
|
|
11
13
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
14
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
12
15
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
16
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
13
17
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
18
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
14
19
|
}>;
|
|
15
20
|
readonly description: Readonly<{
|
|
16
21
|
readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
|
|
17
22
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
18
23
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
19
24
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
25
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
20
26
|
}>;
|
|
21
27
|
readonly error: Readonly<{
|
|
22
28
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
23
29
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
24
30
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
31
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
25
32
|
}>;
|
|
26
33
|
readonly input: Readonly<{
|
|
27
34
|
readonly display: stylex.StyleXClassNameFor<"display", "block">;
|
|
28
35
|
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
29
36
|
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
37
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
30
38
|
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
31
39
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
32
40
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
@@ -37,6 +45,7 @@ export declare const fieldStyles: Readonly<{
|
|
|
37
45
|
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
38
46
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
39
47
|
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
48
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
40
49
|
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
41
50
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
42
51
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
@@ -15,17 +15,21 @@ export declare const selectionStyles: Readonly<{
|
|
|
15
15
|
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
16
16
|
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
17
17
|
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
18
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
18
19
|
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
19
20
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
20
21
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
21
22
|
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "left">;
|
|
22
23
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
23
24
|
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
24
|
-
readonly ':hover:not([data-disabled])': stylex.StyleXClassNameFor<":hover:not([data-disabled])", {
|
|
25
|
+
readonly ':hover:not(:active, [data-disabled])': stylex.StyleXClassNameFor<":hover:not(:active, [data-disabled])", {
|
|
25
26
|
readonly backgroundColor: {
|
|
26
27
|
readonly [conditions.hoverPointer]: stylex.StyleXVar<string>;
|
|
27
28
|
};
|
|
28
29
|
}>;
|
|
30
|
+
readonly ':active:not([data-disabled])': stylex.StyleXClassNameFor<":active:not([data-disabled])", {
|
|
31
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
32
|
+
}>;
|
|
29
33
|
readonly ':is([data-disabled])': stylex.StyleXClassNameFor<":is([data-disabled])", {
|
|
30
34
|
readonly opacity: stylex.StyleXVar<string>;
|
|
31
35
|
readonly cursor: "default";
|
|
@@ -67,6 +71,8 @@ export declare const selectionStyles: Readonly<{
|
|
|
67
71
|
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "calc(100vw - 16px)">;
|
|
68
72
|
}>;
|
|
69
73
|
readonly popup: Readonly<{
|
|
74
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
75
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
70
76
|
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
|
|
71
77
|
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
72
78
|
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
@@ -75,6 +81,9 @@ export declare const selectionStyles: Readonly<{
|
|
|
75
81
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
76
82
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
77
83
|
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
84
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
85
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
86
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
78
87
|
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
79
88
|
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
80
89
|
readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "var(--available-height)">;
|
|
@@ -83,22 +92,29 @@ export declare const selectionStyles: Readonly<{
|
|
|
83
92
|
}>;
|
|
84
93
|
readonly option: Readonly<{
|
|
85
94
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
95
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
86
96
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
87
97
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
88
98
|
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
89
99
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
100
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
90
101
|
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
91
102
|
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
103
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
92
104
|
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
93
105
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
94
106
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
107
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
95
108
|
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
96
109
|
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 0>;
|
|
97
110
|
readonly ':is([data-highlighted])': stylex.StyleXClassNameFor<":is([data-highlighted])", {
|
|
98
111
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
99
112
|
}>;
|
|
113
|
+
readonly ':active:not([data-disabled])': stylex.StyleXClassNameFor<":active:not([data-disabled])", {
|
|
114
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
115
|
+
}>;
|
|
100
116
|
readonly ':is([data-disabled])': stylex.StyleXClassNameFor<":is([data-disabled])", {
|
|
101
|
-
readonly
|
|
117
|
+
readonly opacity: stylex.StyleXVar<string>;
|
|
102
118
|
readonly cursor: "default";
|
|
103
119
|
}>;
|
|
104
120
|
}>;
|
|
@@ -25,8 +25,9 @@ export declare const overlayStyles: Readonly<{
|
|
|
25
25
|
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
26
26
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
27
27
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
28
|
-
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight",
|
|
28
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
29
29
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
30
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
30
31
|
}>;
|
|
31
32
|
readonly description: Readonly<{
|
|
32
33
|
readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
|
|
@@ -34,6 +35,7 @@ export declare const overlayStyles: Readonly<{
|
|
|
34
35
|
readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
|
|
35
36
|
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
36
37
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
38
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
37
39
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
38
40
|
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
39
41
|
}>;
|