@mechane-ai/elements 0.32.0 → 0.33.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.
Files changed (38) hide show
  1. package/README.md +20 -14
  2. package/dist/ai.js +43 -43
  3. package/dist/{categorical-values-BXPE0Cjs.js → categorical-values-bWZBzMpX.js} +2 -2
  4. package/dist/{chart-frame-Degqwy_z.js → chart-frame-Cr4P6MF5.js} +77 -76
  5. package/dist/{chart-input-B12En69_.js → chart-input-3wX0JoPE.js} +2 -2
  6. package/dist/charts/cartesian.js +6 -6
  7. package/dist/charts/distribution.js +2 -2
  8. package/dist/charts/graph.js +2 -2
  9. package/dist/charts/hierarchy.js +3 -3
  10. package/dist/charts/matrix.js +2 -2
  11. package/dist/charts/timeline.js +3 -3
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-B_qJ1JJ3.js → code-block-DT1TCkTC.js} +1 -1
  14. package/dist/collections.js +47 -46
  15. package/dist/content/code.js +1 -1
  16. package/dist/content/diff.js +2 -2
  17. package/dist/content/link.js +1 -1
  18. package/dist/content/markdown.js +2 -2
  19. package/dist/content/tree.js +2 -2
  20. package/dist/{content-link-BtaiSKk8.js → content-link-B3ObdyZY.js} +1 -1
  21. package/dist/content.js +1 -1
  22. package/dist/elements.css +6 -10
  23. package/dist/feedback.js +1 -1
  24. package/dist/forms/dates.js +1 -1
  25. package/dist/forms.js +1 -1
  26. package/dist/header-styles-COxCYFZx.js +90 -0
  27. package/dist/index.js +1 -1
  28. package/dist/layout.js +126 -124
  29. package/dist/navigation/commands.js +1 -1
  30. package/dist/navigation.js +171 -76
  31. package/dist/packages/navigation/src/page-navigation.d.ts +4 -2
  32. package/dist/packages/navigation/src/tab-styles.d.ts +89 -0
  33. package/dist/{pierre-tree-CPhT5CUP.js → pierre-tree-Dd5Vd79M.js} +2 -2
  34. package/dist/{src-BjmKVOb2.js → src-BOZsJ8td.js} +18 -18
  35. package/dist/{src-CALHXF-U.js → src-C-Sx37kz.js} +373 -458
  36. package/dist/{src-BPIIuMeE.js → src-CD6veX7n.js} +133 -133
  37. package/dist/{src-DfPfFOu1.js → src-D9DktxEq.js} +17 -17
  38. package/package.json +1 -1
@@ -1,132 +1,227 @@
1
1
  import { n as e, t } from "./navigation-D2_sGy3C.js";
2
- import { t as n } from "./style-composition-uYlczSsB.js";
3
- import { mergeProps as r } from "@base-ui/react/merge-props";
4
- import "@stylexjs/stylex";
5
- import { useState as i } from "react";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
- import { Tabs as s } from "@base-ui/react/tabs";
8
- // packages/navigation/src/page-navigation.tsx
9
- function c({ items: e, isEmbedded: t = !1 }) {
10
- return /* @__PURE__ */ a("div", {
2
+ import { t as n } from "./header-styles-COxCYFZx.js";
3
+ import { t as r } from "./style-composition-uYlczSsB.js";
4
+ import { mergeProps as i } from "@base-ui/react/merge-props";
5
+ import * as a from "@stylexjs/stylex";
6
+ import { Children as o, useState as s } from "react";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { Tabs as u } from "@base-ui/react/tabs";
9
+ // packages/navigation/src/tab-styles.ts
10
+ var d = {
11
+ list: {
12
+ k1xSpc: "x78zum5",
13
+ kOIVth: "xxhr3t",
14
+ k7Eaqz: "xeuugli",
15
+ kt9PQ7: "xso031l",
16
+ kfdmCh: "x1q0q8m5",
17
+ kL6WhQ: "x1qndepd",
18
+ kXHlph: "xw2csxc",
19
+ kCfx3h: "x16yzcw2",
20
+ k3ag91: "x1mxyneg",
21
+ kkwBia: "xyjviii",
22
+ kc2wEk: "x1y2jzqp",
23
+ k78XZB: "x12ub8kb",
24
+ kVSElv: "xxwvzwo",
25
+ k5sz9g: "x1ci5vm9",
26
+ $$css: !0
27
+ },
28
+ item: {
29
+ kVAEAm: "x1n2onr6",
30
+ kB7OPa: "x9f619",
31
+ k1xSpc: "x3nfvp2",
32
+ kGNEyG: "x6s0dn4",
33
+ kMnn75: "xkrqix3",
34
+ kmuXW: "x2lah0s",
35
+ kMv6JI: "x1hz01jw",
36
+ k63SB2: "xj57cvi",
37
+ khiITx: "xvmahel",
38
+ kMzoRj: "xc342km",
39
+ kAzted: "x1oec0jp",
40
+ k8WAf4: "xn9t2bk",
41
+ kg3NbH: "x1doqdfy",
42
+ kWkggS: "xjbqb8w",
43
+ kMwMTN: "x153jb6y",
44
+ kkrTdU: "x1ypdohk",
45
+ kGuDYH: "xtqrqnz",
46
+ kLWn49: "x1778rvt",
47
+ khDVqt: "xuxw1ft",
48
+ k4DVmp: "xy7uoan",
49
+ k2wZ5d: "xyg3wme",
50
+ kEZPYj: "xoqm7u7",
51
+ k5JduY: "x1s928wv",
52
+ kwXMNM: "x1j6awrg",
53
+ kcktkL: "x1ccaobo",
54
+ k8Iv0R: "x1xrz1ek",
55
+ k4zj60: "x3cntg4",
56
+ ks3ayO: "xyhc2n1",
57
+ kuyoRO: "x1t3xrl9",
58
+ kv1rg7: "xdsp783",
59
+ kKkqFp: "xv7chyw",
60
+ k2znAY: "x1pgiufq",
61
+ kuJC8G: "xrzcr2b",
62
+ kY2PSQ: "x1nten1d",
63
+ k54cxX: "x1wzsryr",
64
+ kxhOdL: "x1hjdyp1",
65
+ kiLJdH: "x1i5oxzy",
66
+ kDPfah: "xx75q12",
67
+ kAm7yQ: "x7dn452",
68
+ kk7Lky: "xwj21n9",
69
+ kXyCmE: "x1m8qfh3",
70
+ kPJHz1: "x13qnu6",
71
+ k7shQP: "x9v5kkp",
72
+ kZs9gx: "x19rmrnh",
73
+ kiEn40: "x1bqaal",
74
+ $$css: !0
75
+ }
76
+ }, f = {
77
+ navigation: {
78
+ kt9PQ7: "x1qhh985",
79
+ kUk6DE: "x12lumcd",
80
+ ks0D6T: "x193iq5w",
81
+ $$css: !0
82
+ },
83
+ actions: {
84
+ k1xSpc: "x78zum5",
85
+ kGNEyG: "x6s0dn4",
86
+ kwnvtZ: "x1a02dak",
87
+ kOIVth: "x1hnptsi",
88
+ keTefX: "xvc5jky",
89
+ k7Eaqz: "xeuugli",
90
+ ks0D6T: "x193iq5w",
91
+ kB7OPa: "x9f619",
92
+ $$css: !0
93
+ }
94
+ };
95
+ function p({ items: e, isEmbedded: t = !1, actions: r }) {
96
+ return /* @__PURE__ */ l("div", {
11
97
  "aria-hidden": !0,
12
98
  inert: !0,
13
99
  ...{
14
- 0: { className: "x78zum5 xxhr3t xeuugli xw2csxc xso031l x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
15
- 1: { className: "x78zum5 xxhr3t xeuugli xw2csxc x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal x1qhh985" }
100
+ 0: { className: "x78zum5 x1a02dak x1qjc9v5 xeuugli x2lah0s xso031l x1q0q8m5 x1qndepd" },
101
+ 1: { className: "x78zum5 x1a02dak x1qjc9v5 xeuugli x2lah0s x1q0q8m5 x1qndepd x1qhh985" }
16
102
  }[!!t | 0],
17
- children: e.map((e) => /* @__PURE__ */ a("span", {
18
- className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft x153jb6y xp9636p x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 xyhc2n1 x13qnu6 x9v5kkp x19rmrnh x1bqaal",
19
- children: e.label
20
- }, e.id))
103
+ children: [/* @__PURE__ */ c("div", {
104
+ ...a.props(d.list, f.navigation),
105
+ children: e.map((e) => /* @__PURE__ */ c("span", {
106
+ ...a.props(d.item),
107
+ children: e.label
108
+ }, e.id))
109
+ }), o.toArray(r).length > 0 && /* @__PURE__ */ c("div", {
110
+ ...a.props(n.row, f.actions),
111
+ children: r
112
+ })]
21
113
  });
22
114
  }
23
- function l({ items: e, selectedId: t, onNavigate: n, label: r = "Page sections", isEmbedded: i = !1 }) {
24
- return /* @__PURE__ */ a("nav", {
25
- "aria-label": r,
115
+ function m({ items: e, selectedId: t, onNavigate: r, label: i = "Page sections", isEmbedded: s = !1, actions: u }) {
116
+ return /* @__PURE__ */ l("div", {
26
117
  ...{
27
- 0: { className: "x78zum5 xxhr3t xeuugli xw2csxc xso031l x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
28
- 1: { className: "x78zum5 xxhr3t xeuugli xw2csxc x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal x1qhh985" }
29
- }[!!i | 0],
30
- children: e.map((e) => /* @__PURE__ */ a("a", {
31
- href: e.href,
32
- "aria-current": e.id === t ? "page" : void 0,
33
- ...{
34
- 0: { className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft x153jb6y xp9636p x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 xyhc2n1 x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
35
- 1: { className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft xp9636p x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 x13qnu6 x9v5kkp x19rmrnh x1bqaal xbixft xtawafa" }
36
- }[e.id === t | 0],
37
- onClick: (t) => {
38
- if (n === void 0 || t.defaultPrevented || t.button !== 0) return;
39
- let r = t.metaKey || t.ctrlKey, i = t.shiftKey || t.altKey;
40
- r || i || (t.preventDefault(), n(e.id));
41
- },
42
- children: e.label
43
- }, e.id))
118
+ 0: { className: "x78zum5 x1a02dak x1qjc9v5 xeuugli x2lah0s xso031l x1q0q8m5 x1qndepd" },
119
+ 1: { className: "x78zum5 x1a02dak x1qjc9v5 xeuugli x2lah0s x1q0q8m5 x1qndepd x1qhh985" }
120
+ }[!!s | 0],
121
+ children: [/* @__PURE__ */ c("nav", {
122
+ "aria-label": i,
123
+ ...a.props(d.list, f.navigation),
124
+ children: e.map((e) => /* @__PURE__ */ c("a", {
125
+ href: e.href,
126
+ "aria-current": e.id === t ? "page" : void 0,
127
+ ...a.props(d.item),
128
+ onClick: (t) => {
129
+ if (r === void 0 || t.defaultPrevented || t.button !== 0) return;
130
+ let n = t.metaKey || t.ctrlKey, i = t.shiftKey || t.altKey;
131
+ n || i || (t.preventDefault(), r(e.id));
132
+ },
133
+ children: e.label
134
+ }, e.id))
135
+ }), o.toArray(u).length > 0 && /* @__PURE__ */ c("div", {
136
+ ...a.props(n.row, f.actions),
137
+ children: u
138
+ })]
44
139
  });
45
140
  }
46
141
  // packages/navigation/src/skip-link.tsx
47
- function u(e) {
48
- return /* @__PURE__ */ a("a", { ...r({ className: "xixxii4 x1ridm32 x12hha37 x1b4oyad x174j0rr x1mvvolr x9f619 xvv7f4i xj0a0fe x1ok0vyi xpvm0e4 xbixft x1hz01jw xk4h15q xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
142
+ function h(e) {
143
+ return /* @__PURE__ */ c("a", { ...i({ className: "xixxii4 x1ridm32 x12hha37 x1b4oyad x174j0rr x1mvvolr x9f619 xvv7f4i xj0a0fe x1ok0vyi xpvm0e4 xbixft x1hz01jw xk4h15q xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
49
144
  }
50
145
  // packages/navigation/src/tabs.tsx
51
- function d({ className: e, style: t, ...r }) {
52
- return /* @__PURE__ */ a(s.Root, {
53
- ...r,
54
- ...n({
146
+ function g({ className: e, style: t, ...n }) {
147
+ return /* @__PURE__ */ c(u.Root, {
148
+ ...n,
149
+ ...r({
55
150
  className: e,
56
151
  style: t,
57
152
  styles: { className: "x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel xeuugli xsg5m96 x7bu0ch x18eqmq0" }
58
153
  })
59
154
  });
60
155
  }
61
- function f({ className: e, style: t, ...r }) {
62
- return /* @__PURE__ */ a(s.List, {
63
- ...r,
64
- ...n({
156
+ function _({ className: e, style: t, ...n }) {
157
+ return /* @__PURE__ */ c(u.List, {
158
+ ...n,
159
+ ...r({
65
160
  className: e,
66
161
  style: t,
67
- styles: { className: "x78zum5 xxhr3t xeuugli xso031l x1q0q8m5 x1qndepd xw2csxc x16yzcw2 x1mxyneg xyjviii x1y2jzqp x12ub8kb xxwvzwo x1ci5vm9" }
162
+ styles: a.props(d.list)
68
163
  })
69
164
  });
70
165
  }
71
- function p({ className: e, style: t, ...r }) {
72
- return /* @__PURE__ */ a(s.Tab, {
73
- ...r,
74
- ...n({
166
+ function v({ className: e, style: t, ...n }) {
167
+ return /* @__PURE__ */ c(u.Tab, {
168
+ ...n,
169
+ ...r({
75
170
  className: e,
76
171
  style: t,
77
- styles: { className: "x1n2onr6 x9f619 x2lah0s x1hz01jw xj57cvi xvmahel xc342km xid9utz xn9t2bk x1doqdfy xjbqb8w x153jb6y x1ypdohk xtqrqnz x1778rvt xuxw1ft xy7uoan 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" }
172
+ styles: a.props(d.item)
78
173
  })
79
174
  });
80
175
  }
81
- function m({ className: e, style: t, ...r }) {
82
- return /* @__PURE__ */ a(s.Panel, {
83
- ...r,
84
- ...n({
176
+ function y({ className: e, style: t, ...n }) {
177
+ return /* @__PURE__ */ c(u.Panel, {
178
+ ...n,
179
+ ...r({
85
180
  className: e,
86
181
  style: t,
87
182
  styles: { className: "x1o3kwql xeuugli x1k57tk5 xcqfl4l xwqq6z6 x13qnu6 x9v5kkp x19rmrnh x7s97pk" }
88
183
  })
89
184
  });
90
185
  }
91
- var h = {
92
- Root: d,
93
- List: f,
94
- Tab: p,
95
- Panel: m
186
+ var b = {
187
+ Root: g,
188
+ List: _,
189
+ Tab: v,
190
+ Panel: y
96
191
  };
97
192
  // packages/navigation/src/content-tabs.tsx
98
- function g(e) {
99
- let [t, n] = i(e.defaultSelectedId ?? e.items[0]?.id), r = e.navigation, s = r?.selectedId ?? t, c = e.items.find((e) => e.id === s) ?? e.items[0];
100
- return r === void 0 ? /* @__PURE__ */ o(h.Root, {
101
- value: c?.id,
193
+ function x(e) {
194
+ let [t, n] = s(e.defaultSelectedId ?? e.items[0]?.id), r = e.navigation, i = r?.selectedId ?? t, a = e.items.find((e) => e.id === i) ?? e.items[0];
195
+ return r === void 0 ? /* @__PURE__ */ l(b.Root, {
196
+ value: a?.id,
102
197
  onValueChange: (e) => n(String(e)),
103
198
  className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
104
- children: [/* @__PURE__ */ a(h.List, {
199
+ children: [/* @__PURE__ */ c(b.List, {
105
200
  "aria-label": e.label,
106
- children: e.items.map((e) => /* @__PURE__ */ a(h.Tab, {
201
+ children: e.items.map((e) => /* @__PURE__ */ c(b.Tab, {
107
202
  value: e.id,
108
203
  children: e.label
109
204
  }, e.id))
110
- }), c !== void 0 && /* @__PURE__ */ a(h.Panel, {
111
- value: c.id,
205
+ }), a !== void 0 && /* @__PURE__ */ c(b.Panel, {
206
+ value: a.id,
112
207
  className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j xexx8yu",
113
- children: c.content
114
- }, c.id)]
115
- }) : /* @__PURE__ */ o("div", {
208
+ children: a.content
209
+ }, a.id)]
210
+ }) : /* @__PURE__ */ l("div", {
116
211
  className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
117
- children: [/* @__PURE__ */ a(l, {
212
+ children: [/* @__PURE__ */ c(m, {
118
213
  label: e.label,
119
214
  items: e.items.map((e) => ({
120
215
  id: e.id,
121
216
  label: e.label,
122
217
  href: r.href(e.id)
123
218
  })),
124
- selectedId: c?.id ?? "",
219
+ selectedId: a?.id ?? "",
125
220
  onNavigate: r.onNavigate
126
- }), /* @__PURE__ */ a("div", {
221
+ }), /* @__PURE__ */ c("div", {
127
222
  className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j xexx8yu",
128
- children: c?.content
223
+ children: a?.content
129
224
  })]
130
225
  });
131
226
  }
132
- export { t as Breadcrumb, g as ContentTabs, e as Kbd, l as PageNavigation, c as PageNavigationPlaceholder, u as SkipLink, h as Tabs };
227
+ export { t as Breadcrumb, x as ContentTabs, e as Kbd, m as PageNavigation, p as PageNavigationPlaceholder, h as SkipLink, b as Tabs };
@@ -10,10 +10,12 @@ export type PageNavigationProps<ItemId extends string = string> = {
10
10
  readonly onNavigate?: (id: ItemId) => void;
11
11
  readonly label?: string;
12
12
  readonly isEmbedded?: boolean;
13
+ readonly actions?: ReactNode;
13
14
  };
14
15
  export type PageNavigationPlaceholderProps = {
15
16
  readonly items: ReadonlyArray<Pick<PageNavigationItem, 'id' | 'label'>>;
16
17
  readonly isEmbedded?: boolean;
18
+ readonly actions?: ReactNode;
17
19
  };
18
- export declare function PageNavigationPlaceholder({ items, isEmbedded }: PageNavigationPlaceholderProps): ReactNode;
19
- export declare function PageNavigation<ItemId extends string>({ items, selectedId, onNavigate, label, isEmbedded, }: PageNavigationProps<ItemId>): ReactNode;
20
+ export declare function PageNavigationPlaceholder({ items, isEmbedded, actions, }: PageNavigationPlaceholderProps): ReactNode;
21
+ export declare function PageNavigation<ItemId extends string>({ items, selectedId, onNavigate, label, isEmbedded, actions, }: PageNavigationProps<ItemId>): ReactNode;
@@ -0,0 +1,89 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ import { conditions } from '../../foundations/src/constants.stylex.ts';
3
+ export declare const tabStyles: Readonly<{
4
+ readonly list: Readonly<{
5
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
6
+ readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
7
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
8
+ readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", 1>;
9
+ readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
10
+ readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
11
+ readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "auto">;
12
+ readonly ':is([data-orientation="vertical"])': stylex.StyleXClassNameFor<":is([data-orientation=\"vertical\"])", {
13
+ readonly flexDirection: "column";
14
+ readonly flexShrink: 0;
15
+ readonly maxWidth: "50%";
16
+ readonly borderBottomWidth: 0;
17
+ readonly borderInlineEndWidth: 1;
18
+ readonly borderInlineEndStyle: "solid";
19
+ readonly borderInlineEndColor: stylex.StyleXVar<string>;
20
+ }>;
21
+ }>;
22
+ readonly item: Readonly<{
23
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
24
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
25
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
26
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
27
+ readonly textDecorationLine: stylex.StyleXClassNameFor<"textDecorationLine", "none">;
28
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
29
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
30
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
31
+ readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
32
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 0>;
33
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
34
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
35
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
36
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
37
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
38
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
39
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
40
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
41
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
42
+ readonly ':hover:not([data-disabled])': stylex.StyleXClassNameFor<":hover:not([data-disabled])", {
43
+ readonly color: {
44
+ readonly [conditions.hoverPointer]: stylex.StyleXVar<string>;
45
+ };
46
+ }>;
47
+ readonly ':active:not([data-disabled])': stylex.StyleXClassNameFor<":active:not([data-disabled])", {
48
+ readonly backgroundColor: stylex.StyleXVar<string>;
49
+ readonly color: stylex.StyleXVar<string>;
50
+ }>;
51
+ readonly '::after': stylex.StyleXClassNameFor<"::after", {
52
+ readonly content: "\"\"";
53
+ readonly position: "absolute";
54
+ readonly insetInline: stylex.StyleXVar<string>;
55
+ readonly bottom: 0;
56
+ readonly height: 2;
57
+ readonly backgroundColor: "transparent";
58
+ }>;
59
+ readonly ':is([data-active], [aria-current="page"])': stylex.StyleXClassNameFor<":is([data-active], [aria-current=\"page\"])", {
60
+ readonly color: stylex.StyleXVar<string>;
61
+ readonly '::after': {
62
+ backgroundColor: stylex.StyleXVar<string>;
63
+ };
64
+ }>;
65
+ readonly ':is([data-orientation="vertical"])': stylex.StyleXClassNameFor<":is([data-orientation=\"vertical\"])", {
66
+ readonly textAlign: "start";
67
+ readonly whiteSpace: "normal";
68
+ readonly overflowWrap: "anywhere";
69
+ readonly '::after': {
70
+ readonly insetInlineStart: "auto";
71
+ readonly insetInlineEnd: 0;
72
+ readonly top: stylex.StyleXVar<string>;
73
+ readonly bottom: stylex.StyleXVar<string>;
74
+ readonly width: 2;
75
+ readonly height: "auto";
76
+ };
77
+ }>;
78
+ readonly ':is([data-disabled])': stylex.StyleXClassNameFor<":is([data-disabled])", {
79
+ readonly opacity: stylex.StyleXVar<string>;
80
+ readonly cursor: "default";
81
+ }>;
82
+ readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
83
+ readonly outlineWidth: stylex.StyleXVar<string>;
84
+ readonly outlineStyle: "solid";
85
+ readonly outlineColor: stylex.StyleXVar<string>;
86
+ readonly outlineOffset: -2;
87
+ }>;
88
+ }>;
89
+ }>;
@@ -1,5 +1,5 @@
1
- import { c as e } from "./src-CALHXF-U.js";
2
- import { l as t } from "./src-BPIIuMeE.js";
1
+ import { c as e } from "./src-C-Sx37kz.js";
2
+ import { l as t } from "./src-CD6veX7n.js";
3
3
  import { p as n } from "./tokens.stylex-CJbIDPB9.js";
4
4
  import { r } from "./pierre-theme-BpNaWn1x.js";
5
5
  import * as i from "@stylexjs/stylex";
@@ -1,4 +1,4 @@
1
- import { A as e, M as t, P as n, i as r, j as i, s as a } from "./src-CALHXF-U.js";
1
+ import { A as e, N as t, i as n, j as r, k as i, s as a } from "./src-C-Sx37kz.js";
2
2
  import { b as o, i as s, u as c, y as l } from "./tokens.stylex-CJbIDPB9.js";
3
3
  import { t as u } from "./accessibility-C-aIZ1Yx.js";
4
4
  import { mergeProps as d } from "@base-ui/react/merge-props";
@@ -10,7 +10,7 @@ import { Meter as E } from "@base-ui/react/meter";
10
10
  import { Progress as D } from "@base-ui/react/progress";
11
11
  import O from "react-dom";
12
12
  // packages/feedback/src/feedback.tsx
13
- function k({ title: e, children: t, action: n, ...i }) {
13
+ function k({ title: e, children: t, action: r, ...i }) {
14
14
  return /* @__PURE__ */ y("div", {
15
15
  ...d({ className: "x78zum5 xdt5ytf x6s0dn4 xl56j7k x2b8uid xeuugli x193iq5w x9f619 x9w77qv xnx3t7k x1n8ia3y x1hz01jw xj57cvi xvmahel xj0a0fe" }, i),
16
16
  children: [
@@ -20,10 +20,10 @@ function k({ title: e, children: t, action: n, ...i }) {
20
20
  className: "x153jb6y x2lah0s"
21
21
  }),
22
22
  /* @__PURE__ */ v(a, { children: e }),
23
- t != null && /* @__PURE__ */ v(r, { children: t }),
24
- n != null && /* @__PURE__ */ v("div", {
23
+ t != null && /* @__PURE__ */ v(n, { children: t }),
24
+ r != null && /* @__PURE__ */ v("div", {
25
25
  className: "x78zum5 xl56j7k x1a02dak x1hnptsi xeuugli x193iq5w",
26
- children: n
26
+ children: r
27
27
  })
28
28
  ]
29
29
  });
@@ -137,37 +137,37 @@ var I = {
137
137
  ],
138
138
  rows: (e) => [L, { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`calc(${e} * 1lh + 2 * ${s.paddingBlock} + 2px)`) }]
139
139
  };
140
- function z({ width: n = "7ch", isIconOnly: r = !1, density: a = "standard", xstyle: o }) {
140
+ function z({ width: t = "7ch", isIconOnly: n = !1, density: a = "standard", xstyle: o }) {
141
141
  return /* @__PURE__ */ v("span", {
142
142
  "aria-hidden": !0,
143
143
  inert: !0,
144
- ...f.props(t.base, t.button, i[a], e[a], r && t.iconButton, R.button, o),
145
- children: r ? /* @__PURE__ */ v(N, {
144
+ ...f.props(r.base, r.button, e[a], i[a], n && r.iconButton, R.button, o),
145
+ children: n ? /* @__PURE__ */ v(N, {
146
146
  width: s.iconSize,
147
147
  height: s.iconSize
148
- }) : /* @__PURE__ */ v(P, { width: n })
148
+ }) : /* @__PURE__ */ v(P, { width: t })
149
149
  });
150
150
  }
151
- function re({ label: e, hint: r, isMultiline: a = !1, density: o = "standard", rows: s = 4, width: c = "100%", xstyle: l }) {
151
+ function re({ label: n, hint: i, isMultiline: a = !1, density: o = "standard", rows: s = 4, width: c = "100%", xstyle: l }) {
152
152
  let u = a ? Math.min(s, 6) : 1;
153
153
  return /* @__PURE__ */ y("div", {
154
154
  "aria-hidden": !0,
155
- ...f.props(t.fieldRoot, R.width(c), l),
155
+ ...f.props(r.fieldRoot, R.width(c), l),
156
156
  children: [
157
- e !== void 0 && /* @__PURE__ */ v("span", {
158
- ...f.props(t.label),
159
- children: e
157
+ n !== void 0 && /* @__PURE__ */ v("span", {
158
+ ...f.props(r.label),
159
+ children: n
160
160
  }),
161
161
  /* @__PURE__ */ v("div", {
162
- ...f.props(t.base, t.field, i[o], !a && t.singleLineField, !a && n[o], !a && R.singleLine, a && t.textarea, a && R.rows(s)),
162
+ ...f.props(r.base, r.field, e[o], !a && r.singleLineField, !a && t[o], !a && R.singleLine, a && r.textarea, a && R.rows(s)),
163
163
  children: /* @__PURE__ */ v(P, {
164
164
  width: "60%",
165
165
  lines: u
166
166
  })
167
167
  }),
168
- r !== void 0 && /* @__PURE__ */ v("span", {
169
- ...f.props(t.description),
170
- children: r
168
+ i !== void 0 && /* @__PURE__ */ v("span", {
169
+ ...f.props(r.description),
170
+ children: i
171
171
  })
172
172
  ]
173
173
  });