@mechane-ai/elements 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/dist/ai.js +211 -169
- package/dist/{categorical-values-D-sSI9JB.js → categorical-values-Cf-zlA1u.js} +2 -2
- package/dist/{chart-frame-vwS7YVgv.js → chart-frame-Cf6LBA8M.js} +1 -1
- package/dist/{chart-input-D6Fw2UGV.js → chart-input-BTDzeBQU.js} +2 -2
- package/dist/charts/cartesian.js +6 -6
- 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 +2 -2
- package/dist/charts/timeline.js +2 -2
- package/dist/charts.js +1 -1
- package/dist/{code-block-DB42-a0M.js → code-block-D1_kzPrs.js} +2 -2
- package/dist/collections.js +4 -4
- package/dist/{constants.stylex-bbdiv1fD.js → constants.stylex-BILvnwUk.js} +1 -0
- 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 +134 -132
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-rdxJ94P8.js → content-link-BIMrgXbz.js} +1 -1
- package/dist/content.js +3 -3
- package/dist/elements.css +105 -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 +342 -207
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/ai/src/index.d.ts +2 -0
- package/dist/packages/ai/src/message.d.ts +2 -1
- package/dist/packages/ai/src/reply-indicator.d.ts +6 -0
- package/dist/packages/content/src/markdown/markdown.d.ts +1 -1
- package/dist/packages/feedback/src/async-region.d.ts +3 -1
- package/dist/packages/forms/src/field-styles.d.ts +6 -0
- package/dist/packages/forms/src/forms.d.ts +2 -1
- package/dist/packages/foundations/src/constants.stylex.d.ts +1 -0
- package/dist/packages/foundations/src/visible-motion.d.ts +4 -0
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/navigation-rail.d.ts +18 -0
- package/dist/packages/layout/src/sidebar.d.ts +2 -1
- package/dist/{pierre-diff-C_j0nxwS.js → pierre-diff-hAwARDse.js} +1 -1
- package/dist/{pierre-theme-BUeJim8s.js → pierre-theme-CLgk9v3e.js} +1 -1
- package/dist/{pierre-tree-BaIVTNmG.js → pierre-tree-D3XsgEH6.js} +4 -4
- package/dist/{src-BVsyKLQ8.js → src-0mocxTaR.js} +64 -43
- package/dist/{src-R0kgHFPZ.js → src-D4zPPr32.js} +20 -13
- package/dist/{src-BXh4g2VY.js → src-qU5Z5LRH.js} +1 -0
- package/dist/tokens.js +1 -1
- package/dist/visible-motion-1GcUaEi4.js +23 -0
- package/package.json +1 -1
- package/packages/foundations/src/constants.stylex.ts +1 -1
package/dist/elements.css
CHANGED
|
@@ -472,6 +472,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
472
472
|
margin-inline: auto;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
+
.xn92wy8 {
|
|
476
|
+
margin-inline: var(--xxhyxt);
|
|
477
|
+
}
|
|
478
|
+
|
|
475
479
|
.xysyzu8 {
|
|
476
480
|
overflow: auto;
|
|
477
481
|
}
|
|
@@ -652,6 +656,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
652
656
|
align-items: center;
|
|
653
657
|
}
|
|
654
658
|
|
|
659
|
+
.xuk3077 {
|
|
660
|
+
align-items: flex-end;
|
|
661
|
+
}
|
|
662
|
+
|
|
655
663
|
.x1cy8zhl {
|
|
656
664
|
align-items: flex-start;
|
|
657
665
|
}
|
|
@@ -664,10 +672,18 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
664
672
|
align-items: stretch;
|
|
665
673
|
}
|
|
666
674
|
|
|
675
|
+
.xegkacw {
|
|
676
|
+
animation-duration: .9s;
|
|
677
|
+
}
|
|
678
|
+
|
|
667
679
|
.x18usnwx {
|
|
668
680
|
animation-duration: .12s;
|
|
669
681
|
}
|
|
670
682
|
|
|
683
|
+
.x11hm9ij {
|
|
684
|
+
animation-duration: .2s;
|
|
685
|
+
}
|
|
686
|
+
|
|
671
687
|
.x1irg2zc {
|
|
672
688
|
animation-duration: 80ms;
|
|
673
689
|
}
|
|
@@ -676,10 +692,30 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
676
692
|
animation-duration: var(--elements-toast-duration, var(--xjjzqp4)) !important;
|
|
677
693
|
}
|
|
678
694
|
|
|
695
|
+
.xuij49y {
|
|
696
|
+
animation-iteration-count: 2;
|
|
697
|
+
}
|
|
698
|
+
|
|
679
699
|
.xqcmdr3 {
|
|
680
700
|
animation-name: x18re5ia-B;
|
|
681
701
|
}
|
|
682
702
|
|
|
703
|
+
.xil9x82 {
|
|
704
|
+
animation-name: xldo6cm-B;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.xorstpt {
|
|
708
|
+
animation-play-state: paused;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.xoj058f {
|
|
712
|
+
animation-play-state: running;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.x4hg4is {
|
|
716
|
+
animation-timing-function: ease-in-out;
|
|
717
|
+
}
|
|
718
|
+
|
|
683
719
|
.x1c3o69q {
|
|
684
720
|
animation-timing-function: var(--x5xz5r2);
|
|
685
721
|
}
|
|
@@ -688,6 +724,11 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
688
724
|
aspect-ratio: 16 / 9;
|
|
689
725
|
}
|
|
690
726
|
|
|
727
|
+
.x1ta4xzc {
|
|
728
|
+
-webkit-background-clip: text;
|
|
729
|
+
background-clip: text;
|
|
730
|
+
}
|
|
731
|
+
|
|
691
732
|
.xjbqb8w {
|
|
692
733
|
background-color: #0000;
|
|
693
734
|
}
|
|
@@ -736,10 +777,18 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
736
777
|
background-color: var(--xpslqxl);
|
|
737
778
|
}
|
|
738
779
|
|
|
780
|
+
.xslotfi {
|
|
781
|
+
background-image: linear-gradient(100deg,var(--x24btp3) 30%,var(--x169lqhw) 50%,var(--x24btp3) 70%);
|
|
782
|
+
}
|
|
783
|
+
|
|
739
784
|
.x1e87kdn {
|
|
740
785
|
background-image: var(--x-backgroundImage);
|
|
741
786
|
}
|
|
742
787
|
|
|
788
|
+
.x19hqrfe {
|
|
789
|
+
background-size: 250% 100%;
|
|
790
|
+
}
|
|
791
|
+
|
|
743
792
|
.xpu655y {
|
|
744
793
|
border-block-color: var(--xe11pje);
|
|
745
794
|
}
|
|
@@ -817,6 +866,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
817
866
|
color: inherit;
|
|
818
867
|
}
|
|
819
868
|
|
|
869
|
+
.x19co3pv {
|
|
870
|
+
color: #0000;
|
|
871
|
+
}
|
|
872
|
+
|
|
820
873
|
.x14rh7hd {
|
|
821
874
|
color: var(--x-color);
|
|
822
875
|
}
|
|
@@ -1085,6 +1138,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1085
1138
|
flex-direction: column;
|
|
1086
1139
|
}
|
|
1087
1140
|
|
|
1141
|
+
.x1q0g3np {
|
|
1142
|
+
flex-direction: row;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1088
1145
|
.x1iyjqo2 {
|
|
1089
1146
|
flex-grow: 1;
|
|
1090
1147
|
}
|
|
@@ -1169,6 +1226,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1169
1226
|
grid-auto-columns: auto;
|
|
1170
1227
|
}
|
|
1171
1228
|
|
|
1229
|
+
.x1rnidkh {
|
|
1230
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1172
1233
|
.x1mt1orb {
|
|
1173
1234
|
grid-auto-flow: column;
|
|
1174
1235
|
}
|
|
@@ -2311,6 +2372,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2311
2372
|
margin-top: var(--xxhyxt);
|
|
2312
2373
|
}
|
|
2313
2374
|
|
|
2375
|
+
.xp8lc2p {
|
|
2376
|
+
max-height: 16lh;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2314
2379
|
.x1y3glee {
|
|
2315
2380
|
max-height: 30dvh;
|
|
2316
2381
|
}
|
|
@@ -2387,6 +2452,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2387
2452
|
max-width: 80ch;
|
|
2388
2453
|
}
|
|
2389
2454
|
|
|
2455
|
+
.x17na0u1 {
|
|
2456
|
+
max-width: 85%;
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2390
2459
|
.x1tv4vx4 {
|
|
2391
2460
|
max-width: calc(100% - var(--x153fiic));
|
|
2392
2461
|
}
|
|
@@ -2551,6 +2620,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2551
2620
|
padding-bottom: var(--x1qq5i99);
|
|
2552
2621
|
}
|
|
2553
2622
|
|
|
2623
|
+
.xngumbj {
|
|
2624
|
+
padding-bottom: var(--x1xijsos);
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2554
2627
|
.xmmm7uk {
|
|
2555
2628
|
padding-bottom: var(--xxhyxt);
|
|
2556
2629
|
}
|
|
@@ -2695,6 +2768,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2695
2768
|
width: auto;
|
|
2696
2769
|
}
|
|
2697
2770
|
|
|
2771
|
+
.xuqhkz3 {
|
|
2772
|
+
width: calc(var(--xyyn5jb) - var(--x1m0ogk9));
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2698
2775
|
.xeq5yr9 {
|
|
2699
2776
|
width: fit-content;
|
|
2700
2777
|
}
|
|
@@ -2865,6 +2942,14 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2865
2942
|
.x1qme5af.x1qme5af {
|
|
2866
2943
|
animation-name: none;
|
|
2867
2944
|
}
|
|
2945
|
+
|
|
2946
|
+
.x1wel5d5.x1wel5d5 {
|
|
2947
|
+
animation-play-state: paused;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
.xe80r02.xe80r02 {
|
|
2951
|
+
color: var(--x24btp3);
|
|
2952
|
+
}
|
|
2868
2953
|
}
|
|
2869
2954
|
|
|
2870
2955
|
@media (width <= 800px) {
|
|
@@ -3509,6 +3594,16 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3509
3594
|
inherits: false
|
|
3510
3595
|
}
|
|
3511
3596
|
|
|
3597
|
+
@keyframes xldo6cm-B {
|
|
3598
|
+
from {
|
|
3599
|
+
background-position: 200% 0;
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
to {
|
|
3603
|
+
background-position: -100% 0;
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3512
3607
|
@keyframes x18re5ia-B {
|
|
3513
3608
|
from {
|
|
3514
3609
|
opacity: 0;
|
|
@@ -3518,3 +3613,13 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3518
3613
|
opacity: 1;
|
|
3519
3614
|
}
|
|
3520
3615
|
}
|
|
3616
|
+
|
|
3617
|
+
@keyframes xb11x9y-B {
|
|
3618
|
+
from {
|
|
3619
|
+
opacity: .4;
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3622
|
+
to {
|
|
3623
|
+
opacity: 1;
|
|
3624
|
+
}
|
|
3625
|
+
}
|
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-0mocxTaR.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-D4zPPr32.js";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-
|
|
1
|
+
export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-qU5Z5LRH.js";
|