@mechane-ai/elements 0.31.0 → 0.32.1
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/ai.js +19 -19
- package/dist/{categorical-values-Cfn6nwHi.js → categorical-values-Devj1xYe.js} +2 -2
- package/dist/{chart-frame-C8JU2tlM.js → chart-frame-DepdezdL.js} +91 -61
- package/dist/{chart-input-D0hBpH1r.js → chart-input-8sNm47Rp.js} +2 -2
- package/dist/charts/cartesian.js +8 -8
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +2 -2
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +3 -3
- package/dist/charts/timeline.js +3 -3
- package/dist/charts.js +1 -1
- package/dist/{code-block-DlzYynjv.js → code-block-B_qJ1JJ3.js} +3 -3
- package/dist/collections.js +8 -8
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-Dh1hon1m.js → content-link-BtaiSKk8.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/elements.css +56 -0
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +16 -16
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/charts/src/chart-frame.d.ts +6 -4
- package/dist/packages/charts/src/chart-heading.d.ts +9 -0
- package/dist/packages/core/src/actions.d.ts +6 -2
- package/dist/packages/core/src/index.d.ts +1 -0
- package/dist/packages/feedback/src/control-placeholders.d.ts +11 -4
- package/dist/packages/forms/src/combobox.d.ts +5 -2
- package/dist/packages/forms/src/form-controls.d.ts +9 -4
- package/dist/packages/forms/src/forms.d.ts +3 -1
- package/dist/packages/forms/src/select.d.ts +3 -1
- package/dist/packages/foundations/src/control-density.d.ts +1 -0
- package/dist/packages/foundations/src/control-styles.d.ts +33 -1
- package/dist/packages/foundations/src/header-styles.d.ts +38 -0
- package/dist/packages/foundations/src/tokens.d.ts +1 -1
- package/dist/packages/foundations/src/tokens.stylex.d.ts +7 -0
- package/dist/{pierre-diff-DOkqEUqx.js → pierre-diff-CaPsfQRo.js} +1 -1
- package/dist/{pierre-theme-DsrSwl5m.js → pierre-theme-BpNaWn1x.js} +30 -30
- package/dist/{pierre-tree-tdFSl55t.js → pierre-tree-CPhT5CUP.js} +4 -4
- package/dist/src-BPIIuMeE.js +1291 -0
- package/dist/{src-DvLYUTID.js → src-BjmKVOb2.js} +310 -310
- package/dist/{src-SE6QORrJ.js → src-CALHXF-U.js} +331 -229
- package/dist/{src-CVleZrPa.js → src-DfPfFOu1.js} +3 -3
- package/dist/tokens.js +1 -1
- package/dist/{tokens.stylex-BoRZ3D8s.js → tokens.stylex-CJbIDPB9.js} +10 -3
- package/package.json +1 -1
- package/packages/foundations/src/tokens.stylex.ts +6 -0
- package/dist/src-Bb2fDOeE.js +0 -1193
package/dist/elements.css
CHANGED
|
@@ -3,11 +3,15 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3
3
|
@layer priority1 {
|
|
4
4
|
:root, .x1sjug0q {
|
|
5
5
|
--x14tmdi9: 32px;
|
|
6
|
+
--xcmidyz: 28px;
|
|
6
7
|
--x6uufy4: 44px;
|
|
7
8
|
--x1ud0cvw: 16px;
|
|
8
9
|
--xrzkwmd: 10px;
|
|
10
|
+
--x1u2pzhu: 8px;
|
|
9
11
|
--xjz2qh5: 5px;
|
|
12
|
+
--xiys6xd: 3px;
|
|
10
13
|
--x1z0o8cd: 6px;
|
|
14
|
+
--x1kf6g89: 4px;
|
|
11
15
|
--xxx3t85: 2px;
|
|
12
16
|
--x9ngs59: .45;
|
|
13
17
|
}
|
|
@@ -113,6 +117,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
113
117
|
--x1qr3jy8: inset 2px 0 currentColor;
|
|
114
118
|
}
|
|
115
119
|
|
|
120
|
+
:root, .xiqc376 {
|
|
121
|
+
--xfz06zf: 36px;
|
|
122
|
+
}
|
|
123
|
+
|
|
116
124
|
:root, .xi13snk {
|
|
117
125
|
--xjighox: 2px;
|
|
118
126
|
--x1xijsos: 4px;
|
|
@@ -386,6 +394,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
386
394
|
gap: var(--x1iwxfi2);
|
|
387
395
|
}
|
|
388
396
|
|
|
397
|
+
.xva7r70 {
|
|
398
|
+
gap: var(--x1kf6g89);
|
|
399
|
+
}
|
|
400
|
+
|
|
389
401
|
.xaml1ju {
|
|
390
402
|
gap: var(--x1qq5i99);
|
|
391
403
|
}
|
|
@@ -498,6 +510,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
498
510
|
padding-block: calc((var(--x1m0ogk9) - var(--x14tmdi9)) / 2);
|
|
499
511
|
}
|
|
500
512
|
|
|
513
|
+
.x18fcflc {
|
|
514
|
+
padding-block: calc((var(--xfz06zf) - var(--xcmidyz)) / 2);
|
|
515
|
+
}
|
|
516
|
+
|
|
501
517
|
.x9w77qv {
|
|
502
518
|
padding-block: var(--x153fiic);
|
|
503
519
|
}
|
|
@@ -518,6 +534,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
518
534
|
padding-block: var(--x1xijsos);
|
|
519
535
|
}
|
|
520
536
|
|
|
537
|
+
.x17qit1p {
|
|
538
|
+
padding-block: var(--xiys6xd);
|
|
539
|
+
}
|
|
540
|
+
|
|
521
541
|
.x10dazmo {
|
|
522
542
|
padding-block: var(--xjighox);
|
|
523
543
|
}
|
|
@@ -554,6 +574,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
554
574
|
padding-inline: var(--x1qq5i99);
|
|
555
575
|
}
|
|
556
576
|
|
|
577
|
+
.xbsbsya {
|
|
578
|
+
padding-inline: var(--x1u2pzhu);
|
|
579
|
+
}
|
|
580
|
+
|
|
557
581
|
.x14w6jbu {
|
|
558
582
|
padding-inline: var(--x1xijsos);
|
|
559
583
|
}
|
|
@@ -1336,6 +1360,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1336
1360
|
line-height: calc(var(--x14tmdi9) - 2px);
|
|
1337
1361
|
}
|
|
1338
1362
|
|
|
1363
|
+
.x1p8ddxc {
|
|
1364
|
+
line-height: calc(var(--xcmidyz) - 2px);
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1339
1367
|
.x15bjb6t {
|
|
1340
1368
|
line-height: inherit;
|
|
1341
1369
|
}
|
|
@@ -2368,6 +2396,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2368
2396
|
height: var(--x1ud0cvw);
|
|
2369
2397
|
}
|
|
2370
2398
|
|
|
2399
|
+
.x1pn6w2t {
|
|
2400
|
+
height: var(--xcmidyz);
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2371
2403
|
.xu96u03 {
|
|
2372
2404
|
left: 0;
|
|
2373
2405
|
}
|
|
@@ -2588,10 +2620,18 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2588
2620
|
min-height: var(--x6uufy4);
|
|
2589
2621
|
}
|
|
2590
2622
|
|
|
2623
|
+
.x159bbqr {
|
|
2624
|
+
min-height: var(--xcmidyz);
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2591
2627
|
.x1mqbd49 {
|
|
2592
2628
|
min-height: var(--xdvbmuj);
|
|
2593
2629
|
}
|
|
2594
2630
|
|
|
2631
|
+
.xca473s {
|
|
2632
|
+
min-height: var(--xfz06zf);
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2595
2635
|
.x1sy804 {
|
|
2596
2636
|
min-height: var(--xmfa1iy);
|
|
2597
2637
|
}
|
|
@@ -2640,6 +2680,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2640
2680
|
min-width: var(--x6uufy4);
|
|
2641
2681
|
}
|
|
2642
2682
|
|
|
2683
|
+
.xp2p21h {
|
|
2684
|
+
min-width: var(--xcmidyz);
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2643
2687
|
.xw2csxc {
|
|
2644
2688
|
overflow-x: auto;
|
|
2645
2689
|
}
|
|
@@ -3277,6 +3321,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3277
3321
|
}
|
|
3278
3322
|
|
|
3279
3323
|
@media (pointer: coarse) {
|
|
3324
|
+
.xmhh96.xmhh96 {
|
|
3325
|
+
min-height: var(--x1m0ogk9);
|
|
3326
|
+
}
|
|
3327
|
+
|
|
3280
3328
|
.x17oiadl.x17oiadl {
|
|
3281
3329
|
min-height: var(--x6uufy4);
|
|
3282
3330
|
}
|
|
@@ -3304,6 +3352,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3304
3352
|
}
|
|
3305
3353
|
}
|
|
3306
3354
|
|
|
3355
|
+
.xmrrhut::file-selector-button {
|
|
3356
|
+
padding-inline: var(--x1u2pzhu);
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3307
3359
|
.xrc8akj::file-selector-button {
|
|
3308
3360
|
padding-inline: var(--xrzkwmd);
|
|
3309
3361
|
}
|
|
@@ -3548,6 +3600,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3548
3600
|
min-height: calc(var(--x14tmdi9) - 2px);
|
|
3549
3601
|
}
|
|
3550
3602
|
|
|
3603
|
+
.x11rbrfk::file-selector-button {
|
|
3604
|
+
min-height: calc(var(--xcmidyz) - 2px);
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3551
3607
|
.x1m1drc7:after {
|
|
3552
3608
|
top: 0;
|
|
3553
3609
|
}
|
package/dist/feedback.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-
|
|
1
|
+
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-BjmKVOb2.js";
|
package/dist/forms/dates.js
CHANGED
package/dist/forms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _ as AgentAvatarPicker, r as Checkbox, v as Combobox, c as Field, f as Fieldset, p as FilePicker, d as FormActions, l as Input, m as InputGroup, h as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, g as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-
|
|
1
|
+
export { _ as AgentAvatarPicker, r as Checkbox, v as Combobox, c as Field, f as Fieldset, p as FilePicker, d as FormActions, l as Input, m as InputGroup, h as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, g as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-BPIIuMeE.js";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _ as Accordion, b as AgentAvatar, w as Avatar, t as Badge, T as Button, v as Collapsible, d as Columns, y as CopyValue, f as Divider, n as Heading, E as IconButton, D as IconLink, r as Identifier, i as Muted, p as Panel, a as Prose, m as Row, l as SectionHeading, h as Stack, o as Status, s as Subheading, g as SurfaceLink, c as Text, O as TextButton, k as TextLink, x as agentAppearance, S as agentAvatarColors, C as agentAvatarShapes } from "./src-
|
|
1
|
+
export { _ as Accordion, b as AgentAvatar, w as Avatar, t as Badge, T as Button, v as Collapsible, d as Columns, y as CopyValue, f as Divider, n as Heading, E as IconButton, D as IconLink, r as Identifier, i as Muted, p as Panel, a as Prose, m as Row, l as SectionHeading, h as Stack, o as Status, s as Subheading, g as SurfaceLink, c as Text, O as TextButton, k as TextLink, x as agentAppearance, S as agentAvatarColors, C as agentAvatarShapes } from "./src-CALHXF-U.js";
|
package/dist/layout.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, E as t, M as n, T as r, i, n as a, u as o } from "./src-CALHXF-U.js";
|
|
2
2
|
import { a as s, i as c, t as l } from "./src-d7EAi61b.js";
|
|
3
3
|
import { t as u } from "./style-composition-uYlczSsB.js";
|
|
4
4
|
import { t as d } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
@@ -115,7 +115,7 @@ function I() {
|
|
|
115
115
|
return /* @__PURE__ */ C("div", {
|
|
116
116
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
117
117
|
children: /* @__PURE__ */ C(s.Close, {
|
|
118
|
-
render: /* @__PURE__ */ C(
|
|
118
|
+
render: /* @__PURE__ */ C(t, {
|
|
119
119
|
variant: "ghost",
|
|
120
120
|
"aria-label": "Close navigation"
|
|
121
121
|
}),
|
|
@@ -249,7 +249,7 @@ function ie() {
|
|
|
249
249
|
let e = _(M);
|
|
250
250
|
return e === null ? null : /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("div", {
|
|
251
251
|
...m.props(N.toggleCell, o.inlineEnd, N.desktop),
|
|
252
|
-
children: /* @__PURE__ */ C(
|
|
252
|
+
children: /* @__PURE__ */ C(t, {
|
|
253
253
|
ref: e.navigationToggleRef,
|
|
254
254
|
variant: "ghost",
|
|
255
255
|
"aria-label": e.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
@@ -266,7 +266,7 @@ function ie() {
|
|
|
266
266
|
children: /* @__PURE__ */ C(s.Trigger, {
|
|
267
267
|
ref: e.mobileNavigationToggleRef,
|
|
268
268
|
handle: e.drawerHandle,
|
|
269
|
-
render: /* @__PURE__ */ C(
|
|
269
|
+
render: /* @__PURE__ */ C(t, {
|
|
270
270
|
variant: "ghost",
|
|
271
271
|
"aria-label": "Open navigation"
|
|
272
272
|
}),
|
|
@@ -323,17 +323,17 @@ function V({ label: i, links: a, action: o }) {
|
|
|
323
323
|
children: [/* @__PURE__ */ C("nav", {
|
|
324
324
|
"aria-label": i,
|
|
325
325
|
className: "xrvj5dj x1mt1orb x1rnidkh xunmzkg x1s01oa9",
|
|
326
|
-
children: a.map(({ label:
|
|
327
|
-
...p(m.props(
|
|
326
|
+
children: a.map(({ label: e, icon: t, isCurrent: r = !1, ...i }) => /* @__PURE__ */ w("a", {
|
|
327
|
+
...p(m.props(n.base, n.button, B.mobileLink, B.rounded, B.selected), i),
|
|
328
328
|
"aria-current": r ? "location" : void 0,
|
|
329
329
|
onClick: (e) => u(i.onClick, e),
|
|
330
330
|
children: [/* @__PURE__ */ C("span", {
|
|
331
331
|
"aria-hidden": !0,
|
|
332
332
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
333
|
-
children:
|
|
333
|
+
children: t
|
|
334
334
|
}), /* @__PURE__ */ C("span", {
|
|
335
335
|
className: "xeuugli x193iq5w xj0a0fe",
|
|
336
|
-
children:
|
|
336
|
+
children: e
|
|
337
337
|
})]
|
|
338
338
|
}, i.href))
|
|
339
339
|
}), o !== void 0 && /* @__PURE__ */ C("div", {
|
|
@@ -353,25 +353,25 @@ function V({ label: i, links: a, action: o }) {
|
|
|
353
353
|
children: [/* @__PURE__ */ C("nav", {
|
|
354
354
|
"aria-label": i,
|
|
355
355
|
className: "x78zum5 xdt5ytf x1qjc9v5",
|
|
356
|
-
children: a.map(({ label:
|
|
356
|
+
children: a.map(({ label: t, icon: n, isCurrent: r = !1, ...i }) => /* @__PURE__ */ C("div", {
|
|
357
357
|
className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
|
|
358
358
|
children: /* @__PURE__ */ w(l.Root, { children: [/* @__PURE__ */ C(l.Trigger, {
|
|
359
|
-
render: /* @__PURE__ */ C(
|
|
359
|
+
render: /* @__PURE__ */ C(e, {
|
|
360
360
|
...p({ className: "x1yk04ar" }, i),
|
|
361
|
-
"aria-label":
|
|
361
|
+
"aria-label": t,
|
|
362
362
|
"aria-current": r ? "location" : void 0,
|
|
363
363
|
onClick: (e) => u(i.onClick, e)
|
|
364
364
|
}),
|
|
365
365
|
children: n
|
|
366
366
|
}), /* @__PURE__ */ C(l.Portal, { children: /* @__PURE__ */ C(l.Positioner, {
|
|
367
367
|
side: "right",
|
|
368
|
-
children: /* @__PURE__ */ C(l.Popup, { children:
|
|
368
|
+
children: /* @__PURE__ */ C(l.Popup, { children: t })
|
|
369
369
|
}) })] })
|
|
370
370
|
}, i.href))
|
|
371
371
|
}), o !== void 0 && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ C("div", {
|
|
372
372
|
className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
|
|
373
373
|
children: /* @__PURE__ */ w(l.Root, { children: [/* @__PURE__ */ C(l.Trigger, {
|
|
374
|
-
render: /* @__PURE__ */ C(
|
|
374
|
+
render: /* @__PURE__ */ C(t, {
|
|
375
375
|
variant: "ghost",
|
|
376
376
|
"aria-label": o.label
|
|
377
377
|
}),
|
|
@@ -533,7 +533,7 @@ var W = {
|
|
|
533
533
|
align: "start"
|
|
534
534
|
}
|
|
535
535
|
};
|
|
536
|
-
function G({ label: e, icon:
|
|
536
|
+
function G({ label: e, icon: n, children: r }) {
|
|
537
537
|
let i = _(z), [a, o] = x(!1);
|
|
538
538
|
return v(() => {
|
|
539
539
|
let e = globalThis.matchMedia(j.sidebarDesktopQuery);
|
|
@@ -548,11 +548,11 @@ function G({ label: e, icon: t, children: r }) {
|
|
|
548
548
|
children: [/* @__PURE__ */ C(l.Provider, { children: /* @__PURE__ */ w(l.Root, {
|
|
549
549
|
disabled: a || i === "drawer",
|
|
550
550
|
children: [/* @__PURE__ */ C(l.Trigger, {
|
|
551
|
-
render: /* @__PURE__ */ C(c.Trigger, { render: /* @__PURE__ */ C(
|
|
551
|
+
render: /* @__PURE__ */ C(c.Trigger, { render: /* @__PURE__ */ C(t, {
|
|
552
552
|
variant: "ghost",
|
|
553
553
|
"aria-label": e
|
|
554
554
|
}) }),
|
|
555
|
-
children:
|
|
555
|
+
children: n
|
|
556
556
|
}), /* @__PURE__ */ C(l.Portal, { children: /* @__PURE__ */ C(l.Positioner, {
|
|
557
557
|
side: "right",
|
|
558
558
|
children: /* @__PURE__ */ C(l.Popup, { children: e })
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { ChartLegendItem } from './chart-theme.ts';
|
|
3
|
-
|
|
3
|
+
type ChartReportHeading = {
|
|
4
4
|
readonly meta?: ReactNode;
|
|
5
|
+
readonly actions?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export type ChartReport = ChartReportHeading & {
|
|
5
8
|
readonly summary?: ReactNode;
|
|
6
9
|
readonly seriesValues?: never;
|
|
7
10
|
};
|
|
8
|
-
export type ChartSeriesReport = ChartReport | {
|
|
9
|
-
readonly meta?: ReactNode;
|
|
11
|
+
export type ChartSeriesReport = ChartReport | (ChartReportHeading & {
|
|
10
12
|
readonly summary?: never;
|
|
11
13
|
readonly seriesValues: Readonly<Record<string, string | undefined>>;
|
|
12
|
-
};
|
|
14
|
+
});
|
|
13
15
|
export type ChartSelection = {
|
|
14
16
|
readonly selectedId: string | undefined;
|
|
15
17
|
readonly onSelect: (id: string) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
type ChartHeadingProps = {
|
|
3
|
+
readonly title: ReactNode;
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly meta?: ReactNode;
|
|
6
|
+
readonly actions?: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare function ChartHeading({ title, id, meta, actions }: ChartHeadingProps): ReactNode;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Button as BaseButton } from '@base-ui/react/button';
|
|
2
2
|
import { useRender } from '@base-ui/react/use-render';
|
|
3
3
|
import type { ComponentProps, ReactNode } from 'react';
|
|
4
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
4
5
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
5
6
|
type ButtonVariant = 'solid' | 'outline' | 'ghost';
|
|
6
7
|
type ButtonTone = 'neutral' | 'danger';
|
|
@@ -11,6 +12,7 @@ type PendingProps = {
|
|
|
11
12
|
type ButtonProps = ComponentProps<typeof BaseButton> & PendingProps & {
|
|
12
13
|
readonly variant?: ButtonVariant;
|
|
13
14
|
readonly tone?: ButtonTone;
|
|
15
|
+
readonly density?: ControlDensity;
|
|
14
16
|
readonly xstyle?: PlacementStyle;
|
|
15
17
|
};
|
|
16
18
|
type IconButtonProps = Omit<ButtonProps, 'aria-label' | 'pendingLabel'> & {
|
|
@@ -18,10 +20,12 @@ type IconButtonProps = Omit<ButtonProps, 'aria-label' | 'pendingLabel'> & {
|
|
|
18
20
|
};
|
|
19
21
|
type IconLinkProps = Omit<useRender.ComponentProps<'a'>, 'aria-label'> & {
|
|
20
22
|
readonly 'aria-label': string;
|
|
23
|
+
readonly 'density'?: ControlDensity;
|
|
21
24
|
readonly 'xstyle'?: PlacementStyle;
|
|
22
25
|
};
|
|
23
26
|
type TextButtonProps = ComponentProps<typeof BaseButton> & PendingProps & {
|
|
24
27
|
readonly tone?: ButtonTone;
|
|
28
|
+
readonly density?: ControlDensity;
|
|
25
29
|
readonly xstyle?: PlacementStyle;
|
|
26
30
|
};
|
|
27
31
|
type TextLinkProps = ComponentProps<'a'> & {
|
|
@@ -29,7 +33,7 @@ type TextLinkProps = ComponentProps<'a'> & {
|
|
|
29
33
|
};
|
|
30
34
|
export declare function Button(props: ButtonProps): ReactNode;
|
|
31
35
|
export declare function IconButton({ children, ...props }: IconButtonProps): ReactNode;
|
|
32
|
-
export declare function TextButton({ tone, isPending, pendingLabel, children, className, style, xstyle, disabled, ...props }: TextButtonProps): ReactNode;
|
|
36
|
+
export declare function TextButton({ tone, density, isPending, pendingLabel, children, className, style, xstyle, disabled, ...props }: TextButtonProps): ReactNode;
|
|
33
37
|
export declare function TextLink({ xstyle, ...props }: TextLinkProps): ReactNode;
|
|
34
|
-
export declare function IconLink({ children, xstyle, render, ref, ...props }: IconLinkProps): ReactNode;
|
|
38
|
+
export declare function IconLink({ children, density, xstyle, render, ref, ...props }: IconLinkProps): ReactNode;
|
|
35
39
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
2
3
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
3
4
|
export type ButtonPlaceholderProps = {
|
|
5
|
+
readonly density?: ControlDensity;
|
|
4
6
|
readonly xstyle?: PlacementStyle;
|
|
5
7
|
} & ({
|
|
6
8
|
readonly isIconOnly: true;
|
|
@@ -12,10 +14,15 @@ export type ButtonPlaceholderProps = {
|
|
|
12
14
|
export type FieldPlaceholderProps = {
|
|
13
15
|
readonly label?: string;
|
|
14
16
|
readonly hint?: string;
|
|
15
|
-
readonly isMultiline?: boolean;
|
|
16
17
|
readonly rows?: number;
|
|
17
18
|
readonly width?: number | string;
|
|
18
19
|
readonly xstyle?: PlacementStyle;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
} & ({
|
|
21
|
+
readonly isMultiline?: false;
|
|
22
|
+
readonly density?: ControlDensity;
|
|
23
|
+
} | {
|
|
24
|
+
readonly isMultiline: true;
|
|
25
|
+
readonly density?: never;
|
|
26
|
+
});
|
|
27
|
+
export declare function ButtonPlaceholder({ width, isIconOnly, density, xstyle, }: ButtonPlaceholderProps): ReactNode;
|
|
28
|
+
export declare function FieldPlaceholder({ label, hint, isMultiline, density, rows, width, xstyle, }: FieldPlaceholderProps): ReactNode;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Combobox as BaseCombobox } from '@base-ui/react/combobox';
|
|
2
2
|
import type { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
3
4
|
import type { OpenStateProperties, ReadOnlyValueProperties, ValueStateProperties } from '../../foundations/src/control-state.ts';
|
|
4
5
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
5
6
|
type InputQueryProperties<Change> = {
|
|
@@ -11,7 +12,9 @@ type InputQueryProperties<Change> = {
|
|
|
11
12
|
readonly defaultInputValue?: string;
|
|
12
13
|
readonly onInputValueChange?: Change;
|
|
13
14
|
};
|
|
14
|
-
type ComboboxRootProps<Value, Multiple extends boolean | undefined, Item> = Omit<BaseCombobox.Root.Props<Value, Multiple, Item>, 'value' | 'defaultValue' | 'onValueChange' | 'open' | 'defaultOpen' | 'onOpenChange' | 'inputValue' | 'defaultInputValue' | 'onInputValueChange'> & OpenStateProperties<NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onOpenChange']>> & InputQueryProperties<NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onInputValueChange']>> & (ValueStateProperties<Exclude<BaseCombobox.Root.Props<Value, Multiple, Item>['value'], undefined>, NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onValueChange']>> | ReadOnlyValueProperties<Exclude<BaseCombobox.Root.Props<Value, Multiple, Item>['value'], undefined>, NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onValueChange']>>)
|
|
15
|
+
type ComboboxRootProps<Value, Multiple extends boolean | undefined, Item> = Omit<BaseCombobox.Root.Props<Value, Multiple, Item>, 'value' | 'defaultValue' | 'onValueChange' | 'open' | 'defaultOpen' | 'onOpenChange' | 'inputValue' | 'defaultInputValue' | 'onInputValueChange'> & OpenStateProperties<NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onOpenChange']>> & InputQueryProperties<NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onInputValueChange']>> & (ValueStateProperties<Exclude<BaseCombobox.Root.Props<Value, Multiple, Item>['value'], undefined>, NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onValueChange']>> | ReadOnlyValueProperties<Exclude<BaseCombobox.Root.Props<Value, Multiple, Item>['value'], undefined>, NonNullable<BaseCombobox.Root.Props<Value, Multiple, Item>['onValueChange']>>) & {
|
|
16
|
+
readonly density?: ControlDensity;
|
|
17
|
+
};
|
|
15
18
|
type ComboboxInputGroupProps = ComponentProps<typeof BaseCombobox.InputGroup> & {
|
|
16
19
|
readonly xstyle?: PlacementStyle;
|
|
17
20
|
};
|
|
@@ -37,7 +40,7 @@ type ComboboxGroupLabelProps = ComponentProps<typeof BaseCombobox.GroupLabel>;
|
|
|
37
40
|
type ComboboxChipsProps = ComponentProps<typeof BaseCombobox.Chips>;
|
|
38
41
|
type ComboboxChipProps = ComponentProps<typeof BaseCombobox.Chip>;
|
|
39
42
|
type ComboboxChipRemoveProps = ComponentProps<typeof BaseCombobox.ChipRemove>;
|
|
40
|
-
declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false, Item = Value>(props: ComboboxRootProps<Value, Multiple, Item>): ReactNode;
|
|
43
|
+
declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false, Item = Value>({ density, ...props }: ComboboxRootProps<Value, Multiple, Item>): ReactNode;
|
|
41
44
|
declare function ComboboxInputGroup({ className, style, xstyle, ...props }: ComboboxInputGroupProps): ReactNode;
|
|
42
45
|
declare function ComboboxLabel({ className, style, ...props }: ComboboxLabelProps): ReactNode;
|
|
43
46
|
declare function ComboboxValue<Value>(props: ComboboxValueProps<Value>): ReactNode;
|
|
@@ -3,6 +3,7 @@ import { Input as BaseInput } from '@base-ui/react/input';
|
|
|
3
3
|
import { NumberField as BaseNumberField } from '@base-ui/react/number-field';
|
|
4
4
|
import { Slider as BaseSlider } from '@base-ui/react/slider';
|
|
5
5
|
import type { ComponentProps, ReactNode } from 'react';
|
|
6
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
6
7
|
import type { ReadOnlyValueProperties, ValueStateProperties } from '../../foundations/src/control-state.ts';
|
|
7
8
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
8
9
|
import type { InputProps } from './forms.tsx';
|
|
@@ -11,11 +12,14 @@ type FieldsetRootProps = ComponentProps<typeof BaseFieldset.Root> & {
|
|
|
11
12
|
};
|
|
12
13
|
type FieldsetLegendProps = ComponentProps<typeof BaseFieldset.Legend>;
|
|
13
14
|
type InputGroupRootProps = ComponentProps<'div'> & {
|
|
15
|
+
readonly density?: ControlDensity;
|
|
14
16
|
readonly xstyle?: PlacementStyle;
|
|
15
17
|
};
|
|
16
18
|
type InputGroupAddonProps = ComponentProps<'span'>;
|
|
19
|
+
type InputGroupInputProps = Omit<InputProps, 'density'>;
|
|
17
20
|
type NumberFieldRootProps = Omit<ComponentProps<typeof BaseNumberField.Root>, 'value' | 'defaultValue' | 'onValueChange' | 'locale'> & (ValueStateProperties<number | null, NonNullable<BaseNumberField.Root.Props['onValueChange']>, number> | ReadOnlyValueProperties<number | null, NonNullable<BaseNumberField.Root.Props['onValueChange']>>) & {
|
|
18
21
|
readonly locale: string;
|
|
22
|
+
readonly density?: ControlDensity;
|
|
19
23
|
readonly xstyle?: PlacementStyle;
|
|
20
24
|
};
|
|
21
25
|
type NumberFieldGroupProps = ComponentProps<typeof BaseNumberField.Group>;
|
|
@@ -33,14 +37,15 @@ type SliderThumbProps = ComponentProps<typeof BaseSlider.Thumb>;
|
|
|
33
37
|
type SliderLabelProps = ComponentProps<typeof BaseSlider.Label>;
|
|
34
38
|
type SliderValueProps = ComponentProps<typeof BaseSlider.Value>;
|
|
35
39
|
type FilePickerProps = Omit<ComponentProps<typeof BaseInput>, 'type' | 'value' | 'defaultValue' | 'onValueChange'> & {
|
|
40
|
+
readonly density?: ControlDensity;
|
|
36
41
|
readonly xstyle?: PlacementStyle;
|
|
37
42
|
};
|
|
38
43
|
declare function FieldsetRoot({ className, style, xstyle, ...props }: FieldsetRootProps): ReactNode;
|
|
39
44
|
declare function FieldsetLegend({ className, style, ...props }: FieldsetLegendProps): ReactNode;
|
|
40
|
-
declare function InputGroupRoot({ xstyle, ...props }: InputGroupRootProps): ReactNode;
|
|
45
|
+
declare function InputGroupRoot({ density, xstyle, ...props }: InputGroupRootProps): ReactNode;
|
|
41
46
|
declare function InputGroupAddon(props: InputGroupAddonProps): ReactNode;
|
|
42
|
-
declare function InputGroupInput({ className, style, xstyle, ...props }:
|
|
43
|
-
declare function NumberFieldRoot({ className, style, xstyle, ...props }: NumberFieldRootProps): ReactNode;
|
|
47
|
+
declare function InputGroupInput({ className, style, xstyle, ...props }: InputGroupInputProps): ReactNode;
|
|
48
|
+
declare function NumberFieldRoot({ density, className, style, xstyle, ...props }: NumberFieldRootProps): ReactNode;
|
|
44
49
|
declare function NumberFieldGroup({ className, style, ...props }: NumberFieldGroupProps): ReactNode;
|
|
45
50
|
declare function NumberFieldInput({ className, style, ...props }: NumberFieldInputProps): ReactNode;
|
|
46
51
|
declare function NumberFieldIncrement({ children, 'aria-label': label, className, style, ...props }: NumberFieldIncrementProps): ReactNode;
|
|
@@ -52,7 +57,7 @@ declare function SliderIndicator({ className, style, ...props }: SliderIndicator
|
|
|
52
57
|
declare function SliderThumb({ className, style, ...props }: SliderThumbProps): ReactNode;
|
|
53
58
|
declare function SliderLabel({ className, style, ...props }: SliderLabelProps): ReactNode;
|
|
54
59
|
declare function SliderValue({ className, style, ...props }: SliderValueProps): ReactNode;
|
|
55
|
-
export declare function FilePicker({ className, style, xstyle, ...props }: FilePickerProps): ReactNode;
|
|
60
|
+
export declare function FilePicker({ density, className, style, xstyle, ...props }: FilePickerProps): ReactNode;
|
|
56
61
|
export declare const Fieldset: {
|
|
57
62
|
Root: typeof FieldsetRoot;
|
|
58
63
|
Legend: typeof FieldsetLegend;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Field as BaseField } from '@base-ui/react/field';
|
|
2
2
|
import { Input as BaseInput } from '@base-ui/react/input';
|
|
3
3
|
import type { ComponentProps, ReactNode } from 'react';
|
|
4
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
4
5
|
import type { TextValueProperties } from '../../foundations/src/control-state.ts';
|
|
5
6
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
6
7
|
import type { TextareaAppearance } from './field-styles.ts';
|
|
@@ -12,6 +13,7 @@ type FieldDescriptionProps = ComponentProps<typeof BaseField.Description>;
|
|
|
12
13
|
type FieldErrorProps = ComponentProps<typeof BaseField.Error>;
|
|
13
14
|
type BaseInputProps = ComponentProps<typeof BaseInput>;
|
|
14
15
|
export type InputProps = Omit<BaseInputProps, 'value' | 'defaultValue' | 'onChange' | 'onValueChange' | 'readOnly' | 'size'> & TextValueProperties<NonNullable<BaseInputProps['value']>, NonNullable<BaseInputProps['onChange']>, NonNullable<BaseInputProps['onValueChange']>> & {
|
|
16
|
+
readonly density?: ControlDensity;
|
|
15
17
|
readonly xstyle?: PlacementStyle;
|
|
16
18
|
};
|
|
17
19
|
type NativeTextareaProps = ComponentProps<'textarea'>;
|
|
@@ -31,6 +33,6 @@ export declare const Field: {
|
|
|
31
33
|
Description: typeof FieldDescription;
|
|
32
34
|
Error: typeof FieldError;
|
|
33
35
|
};
|
|
34
|
-
export declare function Input({ className, style, xstyle, ...props }: InputProps): ReactNode;
|
|
36
|
+
export declare function Input({ density, className, style, xstyle, ...props }: InputProps): ReactNode;
|
|
35
37
|
export declare function Textarea({ isCompact, shouldGrow, appearance, value, defaultValue, onValueChange, name, disabled, readOnly, required, className, style, xstyle, ...props }: TextareaProps): ReactNode;
|
|
36
38
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Select as BaseSelect } from '@base-ui/react/select';
|
|
2
2
|
import type { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
3
4
|
import type { OpenStateProperties, ReadOnlyValueProperties, ValueStateProperties } from '../../foundations/src/control-state.ts';
|
|
4
5
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
5
6
|
type SelectVariant = 'outline' | 'ghost';
|
|
6
7
|
type SelectRootProps<Value, Multiple extends boolean | undefined> = Omit<BaseSelect.Root.Props<Value, Multiple>, 'value' | 'defaultValue' | 'onValueChange' | 'open' | 'defaultOpen' | 'onOpenChange'> & OpenStateProperties<NonNullable<BaseSelect.Root.Props<Value, Multiple>['onOpenChange']>> & (ValueStateProperties<Exclude<BaseSelect.Root.Props<Value, Multiple>['value'], undefined>, NonNullable<BaseSelect.Root.Props<Value, Multiple>['onValueChange']>> | ReadOnlyValueProperties<Exclude<BaseSelect.Root.Props<Value, Multiple>['value'], undefined>, NonNullable<BaseSelect.Root.Props<Value, Multiple>['onValueChange']>>);
|
|
7
8
|
type SelectTriggerProps = ComponentProps<typeof BaseSelect.Trigger> & {
|
|
8
9
|
readonly variant?: SelectVariant;
|
|
10
|
+
readonly density?: ControlDensity;
|
|
9
11
|
readonly xstyle?: PlacementStyle;
|
|
10
12
|
};
|
|
11
13
|
type SelectValueProps = ComponentProps<typeof BaseSelect.Value> & {
|
|
@@ -20,7 +22,7 @@ type SelectItemProps = ComponentProps<typeof BaseSelect.Item>;
|
|
|
20
22
|
type SelectItemTextProps = ComponentProps<typeof BaseSelect.ItemText>;
|
|
21
23
|
type SelectItemIndicatorProps = ComponentProps<typeof BaseSelect.ItemIndicator>;
|
|
22
24
|
declare function SelectRoot<Value, Multiple extends boolean | undefined = false>(props: SelectRootProps<Value, Multiple>): ReactNode;
|
|
23
|
-
declare function SelectTrigger({ variant, className, style, xstyle, ...props }: SelectTriggerProps): ReactNode;
|
|
25
|
+
declare function SelectTrigger({ variant, density, className, style, xstyle, ...props }: SelectTriggerProps): ReactNode;
|
|
24
26
|
declare function SelectValue({ className, style, xstyle, ...props }: SelectValueProps): ReactNode;
|
|
25
27
|
declare function SelectIcon({ className, style, ...props }: SelectIconProps): ReactNode;
|
|
26
28
|
declare function SelectPositioner({ className, style, xstyle, sideOffset, alignItemWithTrigger, ...props }: SelectPositionerProps): ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ControlDensity = 'standard' | 'compact';
|
|
@@ -26,7 +26,6 @@ export declare const controlStyles: Readonly<{
|
|
|
26
26
|
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
|
|
27
27
|
}>;
|
|
28
28
|
readonly iconButton: Readonly<{
|
|
29
|
-
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", string>;
|
|
30
29
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
|
|
31
30
|
}>;
|
|
32
31
|
readonly field: Readonly<{
|
|
@@ -123,3 +122,36 @@ export declare const controlStyles: Readonly<{
|
|
|
123
122
|
}>;
|
|
124
123
|
}>;
|
|
125
124
|
}>;
|
|
125
|
+
export declare const controlDensityStyles: {
|
|
126
|
+
readonly standard: Readonly<{}>;
|
|
127
|
+
readonly compact: Readonly<{
|
|
128
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
129
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
130
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
131
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
132
|
+
}>;
|
|
133
|
+
};
|
|
134
|
+
export declare const singleLineControlDensityStyles: {
|
|
135
|
+
readonly standard: Readonly<{}>;
|
|
136
|
+
readonly compact: Readonly<{
|
|
137
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
138
|
+
}>;
|
|
139
|
+
};
|
|
140
|
+
export declare const actionTargetDensityStyles: {
|
|
141
|
+
readonly standard: Readonly<{
|
|
142
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", string>;
|
|
143
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
144
|
+
}>;
|
|
145
|
+
readonly compact: Readonly<{
|
|
146
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", string>;
|
|
147
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
148
|
+
}>;
|
|
149
|
+
};
|
|
150
|
+
export declare const controlTargetDensityStyles: {
|
|
151
|
+
readonly standard: Readonly<{
|
|
152
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
153
|
+
}>;
|
|
154
|
+
readonly compact: Readonly<{
|
|
155
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
156
|
+
}>;
|
|
157
|
+
};
|
|
@@ -11,6 +11,44 @@ export declare const headerStyles: Readonly<{
|
|
|
11
11
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
12
12
|
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", `calc((${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>}) / 2)`>;
|
|
13
13
|
}>;
|
|
14
|
+
readonly reportRow: Readonly<{
|
|
15
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
|
|
16
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", `calc((${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>}) / 2)`>;
|
|
17
|
+
}>;
|
|
18
|
+
readonly title: Readonly<{
|
|
19
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 auto">;
|
|
20
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
21
|
+
readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
|
|
22
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
23
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
24
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
25
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
26
|
+
}>;
|
|
27
|
+
readonly trailing: Readonly<{
|
|
28
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
29
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
30
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
31
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
32
|
+
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", "auto">;
|
|
33
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
34
|
+
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "100%">;
|
|
35
|
+
}>;
|
|
36
|
+
readonly meta: Readonly<{
|
|
37
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
38
|
+
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", "auto">;
|
|
39
|
+
readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
|
|
40
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
41
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
42
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
43
|
+
}>;
|
|
44
|
+
readonly actions: Readonly<{
|
|
45
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
46
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
47
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
48
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
49
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
50
|
+
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "100%">;
|
|
51
|
+
}>;
|
|
14
52
|
readonly blockEnd: Readonly<{
|
|
15
53
|
readonly '::after': stylex.StyleXClassNameFor<"::after", {
|
|
16
54
|
readonly content: "\"\"";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { conditions, darkAvatarColors, darkChartColors, darkColors, darkShadows, darkSyntaxColors, layers, loading, tableGeometry, } from './constants.stylex.ts';
|
|
2
|
-
export { avatarColors, chartColors, colors, controls, motion, pageGeometry, radii, shadows, spacing, syntaxColors, typography, } from './tokens.stylex.ts';
|
|
2
|
+
export { avatarColors, chartColors, colors, controls, motion, pageGeometry, radii, reportGeometry, shadows, spacing, syntaxColors, typography, } from './tokens.stylex.ts';
|