@mechane-ai/elements 0.33.0 → 0.35.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 (35) hide show
  1. package/README.md +3 -1
  2. package/dist/ai.js +2 -2
  3. package/dist/{categorical-values-bWZBzMpX.js → categorical-values-DpnNvPkc.js} +2 -2
  4. package/dist/{chart-frame-Cr4P6MF5.js → chart-frame-BV0IPZtQ.js} +1 -1
  5. package/dist/{chart-input-3wX0JoPE.js → chart-input-CN8PMrni.js} +2 -2
  6. package/dist/charts/cartesian.js +539 -565
  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 +2 -2
  12. package/dist/charts.js +1 -1
  13. package/dist/collections.js +2 -2
  14. package/dist/content/tree.js +1 -1
  15. package/dist/elements.css +28 -0
  16. package/dist/feedback.js +1 -1
  17. package/dist/forms/dates.js +519 -73
  18. package/dist/forms-BQQFas9g.js +118 -0
  19. package/dist/forms.js +3 -1
  20. package/dist/navigation/commands.js +1 -1
  21. package/dist/packages/charts/src/chart-data.d.ts +1 -2
  22. package/dist/packages/forms/src/dates/calendar.d.ts +2 -5
  23. package/dist/packages/forms/src/dates/civil.d.ts +28 -0
  24. package/dist/packages/forms/src/dates/date-inputs.d.ts +20 -0
  25. package/dist/packages/forms/src/dates/date-picker.d.ts +13 -0
  26. package/dist/packages/forms/src/dates/date-range-picker.d.ts +14 -12
  27. package/dist/packages/forms/src/dates/index.d.ts +8 -0
  28. package/dist/packages/forms/src/dates/month-calendar.d.ts +19 -0
  29. package/dist/packages/forms/src/dates/month-picker.d.ts +14 -0
  30. package/dist/packages/forms/src/dates/month-range-picker.d.ts +18 -0
  31. package/dist/packages/forms/src/dates/picker-popover.d.ts +22 -0
  32. package/dist/{pierre-tree-Dd5Vd79M.js → pierre-tree-CYCRjdGG.js} +1 -1
  33. package/dist/{src-BOZsJ8td.js → src-BHllGfI8.js} +4 -4
  34. package/dist/{src-CD6veX7n.js → src-BYKjPC-0.js} +278 -387
  35. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-Cr4P6MF5.js";
2
- import { n as a, r as o, t as s } from "../chart-input-3wX0JoPE.js";
1
+ import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-BV0IPZtQ.js";
2
+ import { n as a, r as o, t as s } from "../chart-input-CN8PMrni.js";
3
3
  import { t as c } from "../plot-width--OgdohB5.js";
4
4
  import * as l from "@stylexjs/stylex";
5
5
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
2
- import { a as t, n, r, s as i, t as a } from "../chart-frame-Cr4P6MF5.js";
3
- import { n as o, t as s } from "../chart-input-3wX0JoPE.js";
2
+ import { a as t, n, r, s as i, t as a } from "../chart-frame-BV0IPZtQ.js";
3
+ import { n as o, t as s } from "../chart-input-CN8PMrni.js";
4
4
  import * as c from "@stylexjs/stylex";
5
5
  import { useId as l } from "react";
6
6
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { i as e, r as t, t as n } from "../categorical-values-bWZBzMpX.js";
2
- import { o as r, r as i, s as a } from "../chart-frame-Cr4P6MF5.js";
3
- import { t as o } from "../chart-input-3wX0JoPE.js";
1
+ import { i as e, r as t, t as n } from "../categorical-values-DpnNvPkc.js";
2
+ import { o as r, r as i, s as a } from "../chart-frame-BV0IPZtQ.js";
3
+ import { t as o } from "../chart-input-CN8PMrni.js";
4
4
  import { t as s } from "../plot-width--OgdohB5.js";
5
5
  import * as c from "@stylexjs/stylex";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "../tokens.stylex-CJbIDPB9.js";
2
- import { n as t, r as n, t as r } from "../chart-input-3wX0JoPE.js";
3
- import { a as i, n as a, r as o, s, t as c } from "../chart-frame-Cr4P6MF5.js";
2
+ import { n as t, r as n, t as r } from "../chart-input-CN8PMrni.js";
3
+ import { a as i, n as a, r as o, s, t as c } from "../chart-frame-BV0IPZtQ.js";
4
4
  import { t as l } from "../use-scroll-tab-index-Dxpdh4W7.js";
5
5
  import * as u from "@stylexjs/stylex";
6
6
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { c as e } from "../src-C-Sx37kz.js";
2
- import { r as t } from "../chart-frame-Cr4P6MF5.js";
3
- import { n, t as r } from "../chart-input-3wX0JoPE.js";
2
+ import { r as t } from "../chart-frame-BV0IPZtQ.js";
3
+ import { n, t as r } from "../chart-input-CN8PMrni.js";
4
4
  import * as i from "@stylexjs/stylex";
5
5
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
6
  import { scaleLinear as s } from "@visx/scale";
package/dist/charts.js CHANGED
@@ -1 +1 @@
1
- export { r as ChartFrame, i as ChartLegend, s as chartToneColors } from "./chart-frame-Cr4P6MF5.js";
1
+ export { r as ChartFrame, i as ChartLegend, s as chartToneColors } from "./chart-frame-BV0IPZtQ.js";
@@ -1,8 +1,8 @@
1
1
  import { T as e, _ as t, c as n, p as r, w as i } from "./src-C-Sx37kz.js";
2
- import { r as a } from "./src-CD6veX7n.js";
2
+ import { r as a } from "./src-BYKjPC-0.js";
3
3
  import { t as o } from "./header-styles-COxCYFZx.js";
4
4
  import { r as s, t as c } from "./src-d7EAi61b.js";
5
- import { d as l } from "./src-BOZsJ8td.js";
5
+ import { d as l } from "./src-BHllGfI8.js";
6
6
  import { t as u } from "./accessibility-C-aIZ1Yx.js";
7
7
  import { p as d, x as ee } from "./tokens.stylex-CJbIDPB9.js";
8
8
  import { t as te } from "./use-scroll-tab-index-Dxpdh4W7.js";
@@ -28,7 +28,7 @@ function f(u) {
28
28
  let e = !0;
29
29
  async function t() {
30
30
  try {
31
- let t = await import("../pierre-tree-Dd5Vd79M.js");
31
+ let t = await import("../pierre-tree-CYCRjdGG.js");
32
32
  e && m({
33
33
  Component: t.PierreTree,
34
34
  hasFailed: !1
package/dist/elements.css CHANGED
@@ -291,6 +291,12 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
291
291
  .x1az1eml:empty {
292
292
  padding: 0;
293
293
  }
294
+
295
+ @media (pointer: coarse) and (width <= 375px) {
296
+ .x1rxfojk.x1rxfojk {
297
+ padding: var(--x1xijsos);
298
+ }
299
+ }
294
300
  }
295
301
 
296
302
  @layer priority3 {
@@ -650,10 +656,18 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
650
656
  }
651
657
 
652
658
  @layer priority4 {
659
+ .x1ua5tub {
660
+ -webkit-box-orient: vertical;
661
+ }
662
+
653
663
  .xvmahel {
654
664
  -webkit-font-smoothing: antialiased;
655
665
  }
656
666
 
667
+ .x1h7i4cw {
668
+ -webkit-line-clamp: 2;
669
+ }
670
+
657
671
  .x1rh3ycu {
658
672
  -webkit-user-select: text;
659
673
  }
@@ -1076,6 +1090,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1076
1090
  cursor: pointer;
1077
1091
  }
1078
1092
 
1093
+ .x104kibb {
1094
+ display: -webkit-box;
1095
+ }
1096
+
1079
1097
  .x1lliihq {
1080
1098
  display: block;
1081
1099
  }
@@ -1304,6 +1322,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1304
1322
  grid-template-columns: repeat(2, minmax(0, 1fr));
1305
1323
  }
1306
1324
 
1325
+ .x185a7wo {
1326
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1327
+ }
1328
+
1307
1329
  .x10yxpwy {
1308
1330
  grid-template-columns: repeat(auto-fill,minmax(var(--x14tmdi9),1fr));
1309
1331
  }
@@ -2996,6 +3018,12 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2996
3018
  min-height: 0;
2997
3019
  }
2998
3020
 
3021
+ @media (pointer: coarse) and (width <= 375px) {
3022
+ .x1vae6as.x1vae6as {
3023
+ max-width: calc(100vw - 2px);
3024
+ }
3025
+ }
3026
+
2999
3027
  @container inspector (width <= 860px) {
3000
3028
  .x1mg79u0.x1mg79u0 {
3001
3029
  border-top-width: 1px;
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-BOZsJ8td.js";
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-BHllGfI8.js";