@mechane-ai/elements 0.48.0 → 0.49.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 (99) hide show
  1. package/dist/ai.js +5 -5
  2. package/dist/{article-BXZr10QQ.js → article-yyNPg6VU.js} +10 -10
  3. package/dist/article.js +1 -1
  4. package/dist/catalog.json +215 -1
  5. package/dist/{categorical-values-BpVq8cFj.js → categorical-values-DCznViFp.js} +1 -1
  6. package/dist/{cells-xVmnQ9oQ.js → cells-CNZE4us2.js} +2 -2
  7. package/dist/charts/cartesian.js +1 -1
  8. package/dist/charts/cells.js +1 -1
  9. package/dist/charts/comparison.js +1 -1
  10. package/dist/charts/distribution.js +1 -1
  11. package/dist/charts/figure.js +12 -12
  12. package/dist/charts/graph.js +1 -1
  13. package/dist/charts/hierarchy.js +1 -1
  14. package/dist/charts/image.js +1 -1
  15. package/dist/charts/matrix.js +1 -1
  16. package/dist/charts/plot.js +6 -6
  17. package/dist/charts/relationship.js +1 -1
  18. package/dist/charts/text.js +1 -1
  19. package/dist/charts/timeline.js +1 -1
  20. package/dist/charts/trend.js +1 -1
  21. package/dist/charts.js +2 -2
  22. package/dist/{code-block-DioAM2bZ.js → code-block-BZsY2sh3.js} +1 -1
  23. package/dist/collections.js +1 -1
  24. package/dist/content/code.js +1 -1
  25. package/dist/content/diff.js +3 -3
  26. package/dist/content/link.js +1 -1
  27. package/dist/content/markdown.js +2 -2
  28. package/dist/content/tree.js +1 -1
  29. package/dist/{content-link-NWuHp5rC.js → content-link-PnpcnTCx.js} +1 -1
  30. package/dist/content.js +1 -1
  31. package/dist/{dates-Cww8UR_n.js → dates-ckJdYF7t.js} +1 -1
  32. package/dist/{dumbbell-plot-DQdTxDeO.js → dumbbell-plot-CMv9llfd.js} +7 -6
  33. package/dist/{embedding-map-CF-J-8JW.js → embedding-map-DC-lgzCq.js} +8 -8
  34. package/dist/feedback.js +1 -1
  35. package/dist/{figure-frame-BJ3REgTA.js → figure-frame-BjFzbl3m.js} +3 -3
  36. package/dist/forms/dates.js +1 -1
  37. package/dist/forms.js +3 -3
  38. package/dist/{image-grid-Dl2sjIMB.js → image-grid-DHqtj_zs.js} +4 -4
  39. package/dist/index.js +1 -1
  40. package/dist/kits/evaluation.js +5 -5
  41. package/dist/kits/interpretability.js +320 -302
  42. package/dist/kits/operations.js +6 -6
  43. package/dist/kits/research.js +558 -0
  44. package/dist/kits/training.js +6 -6
  45. package/dist/layout.js +205 -110
  46. package/dist/lesson.js +2 -2
  47. package/dist/mdx.js +6 -6
  48. package/dist/navigation.js +2 -2
  49. package/dist/packages/charts/src/cartesian/index.d.ts +1 -1
  50. package/dist/packages/charts/src/cartesian/scatter-plot.d.ts +18 -0
  51. package/dist/packages/charts/src/chart-theme.d.ts +1 -1
  52. package/dist/packages/charts/src/plot/plot-surface.d.ts +3 -1
  53. package/dist/packages/collections/src/index.d.ts +1 -1
  54. package/dist/packages/collections/src/metrics.d.ts +9 -1
  55. package/dist/packages/content/src/index.d.ts +2 -0
  56. package/dist/packages/content/src/text-match.d.ts +22 -0
  57. package/dist/packages/core/src/index.d.ts +1 -0
  58. package/dist/packages/core/src/surfaces.d.ts +12 -2
  59. package/dist/packages/forms/src/index.d.ts +2 -0
  60. package/dist/packages/forms/src/token-input.d.ts +24 -0
  61. package/dist/packages/kits/src/interpretability/index.d.ts +1 -1
  62. package/dist/packages/kits/src/interpretability/logit-lens.d.ts +10 -1
  63. package/dist/packages/kits/src/research/finding-card.d.ts +43 -0
  64. package/dist/packages/kits/src/research/index.d.ts +8 -0
  65. package/dist/packages/kits/src/research/milestone-path.d.ts +36 -0
  66. package/dist/packages/kits/src/research/specimen-diff.d.ts +41 -0
  67. package/dist/packages/kits/src/research/work-heartbeat.d.ts +34 -0
  68. package/dist/packages/layout/src/figure-grid.d.ts +8 -0
  69. package/dist/packages/layout/src/index.d.ts +4 -1
  70. package/dist/packages/layout/src/sidebar.d.ts +7 -0
  71. package/dist/packages/layout/src/workbench.d.ts +4 -1
  72. package/dist/{param-CqKUTHaO.js → param-BE3VMSkH.js} +18 -18
  73. package/dist/{pierre-diff-DlvjyuJn.js → pierre-diff-aGyQK5xK.js} +1 -1
  74. package/dist/{plot-axes-DJkLW4wk.js → plot-axes-D5S9BnBa.js} +1 -1
  75. package/dist/{plot-layout-CZVSJ-le.js → plot-layout-Bqe4-0qZ.js} +2 -2
  76. package/dist/{plot-marks-uozcbOIX.js → plot-marks-FVsbFkUs.js} +3 -3
  77. package/dist/{plot-surface-CbVBvgqZ.js → plot-surface-DON6WUmk.js} +11 -11
  78. package/dist/{plot-width-DcqtSgzb.js → plot-width-D3hTycYX.js} +1 -1
  79. package/dist/{reference-lines-BDcttOp0.js → reference-lines-hjuD1rRZ.js} +2 -2
  80. package/dist/{scene-0z2gbaDE.js → scene-BP0Ue0R5.js} +8 -8
  81. package/dist/scene.js +1 -1
  82. package/dist/{slope-chart-BKVEAVCs.js → slope-chart-C8eeSgL4.js} +7 -7
  83. package/dist/{src-CpdJlDhO.js → src-9EJskqB_.js} +73 -31
  84. package/dist/{src-Dcfq8vE4.js → src-B2rgpWap.js} +48 -14
  85. package/dist/{src-BPTDJqt0.js → src-Ci8DeY8J.js} +1 -1
  86. package/dist/{src-CGc_hjxJ.js → src-DFW49IAs.js} +143 -111
  87. package/dist/{src-BD6xlvDt.js → src-Dxs3Buo_.js} +203 -137
  88. package/dist/{src-CExIrXPC.js → src-npqwq3Sa.js} +1 -1
  89. package/dist/styles2.css +67 -3
  90. package/dist/{time-series-BgzGNOk0.js → time-series-BL933QyA.js} +783 -713
  91. package/dist/{token-heatmap-BrW1OsKD.js → token-heatmap-BB65awva.js} +4 -4
  92. package/dist/{token-predictions-yerq_Oet.js → token-predictions-Pa8eUGan.js} +6 -6
  93. package/dist/{transport-BJweqDPj.js → transport-DzyxVXbL.js} +30 -30
  94. package/dist/{tree-diagram-D09BRqE-.js → tree-diagram-DJhKBiia.js} +6 -6
  95. package/dist/{treemap-CW4WsJNL.js → treemap-CxxgABUg.js} +5 -5
  96. package/dist/{violin-plot-DrtPZ1-T.js → violin-plot-CoAEF_7Z.js} +6 -6
  97. package/dist/{waterfall-DYLSnGjm.js → waterfall-DdoEXEkT.js} +7 -7
  98. package/package.json +5 -1
  99. package/skills/use-elements/references/kits.md +7 -6
@@ -1,4 +1,4 @@
1
- import { i as e, s as t } from "./src-CpdJlDhO.js";
1
+ import { i as e, s as t } from "./src-9EJskqB_.js";
2
2
  import { a as n, n as r, r as i, t as a } from "./control-styles-D3q_Qyxi.js";
3
3
  import { i as o } from "./tokens.stylex-dF5CACEJ.js";
4
4
  import { t as s } from "./accessibility-P89UG9-r.js";
package/dist/styles2.css CHANGED
@@ -732,7 +732,7 @@
732
732
  border-color: var(--x5peq9z);
733
733
  }
734
734
 
735
- .x1gd1hh4:focus-within, .xcx2lv2[data-dragging] {
735
+ .x1gd1hh4:focus-within, .x9tegbm[data-selected], .xcx2lv2[data-dragging] {
736
736
  border-color: var(--xzqn2nu);
737
737
  }
738
738
 
@@ -1320,6 +1320,10 @@
1320
1320
  container-name: article;
1321
1321
  }
1322
1322
 
1323
+ .x1rb1qiq {
1324
+ container-name: figure-grid;
1325
+ }
1326
+
1323
1327
  .x9vvk8s {
1324
1328
  container-name: inspector;
1325
1329
  }
@@ -1380,6 +1384,10 @@
1380
1384
  cursor: pointer;
1381
1385
  }
1382
1386
 
1387
+ .x1ed109x {
1388
+ cursor: text;
1389
+ }
1390
+
1383
1391
  .x104kibb {
1384
1392
  display: -webkit-box;
1385
1393
  }
@@ -1720,6 +1728,10 @@
1720
1728
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
1721
1729
  }
1722
1730
 
1731
+ .x1lqi12u {
1732
+ grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
1733
+ }
1734
+
1723
1735
  .xezdspq {
1724
1736
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
1725
1737
  }
@@ -1864,6 +1876,10 @@
1864
1876
  line-height: 0;
1865
1877
  }
1866
1878
 
1879
+ .x1u7k74 {
1880
+ line-height: 1.2;
1881
+ }
1882
+
1867
1883
  .xo5v014 {
1868
1884
  line-height: 1;
1869
1885
  }
@@ -1952,6 +1968,10 @@
1952
1968
  opacity: .35;
1953
1969
  }
1954
1970
 
1971
+ .xyd83as {
1972
+ opacity: .45;
1973
+ }
1974
+
1955
1975
  .x197sbye {
1956
1976
  opacity: .6;
1957
1977
  }
@@ -2252,6 +2272,10 @@
2252
2272
  stroke-dasharray: 4 3;
2253
2273
  }
2254
2274
 
2275
+ .xlz5em3 {
2276
+ stroke-dasharray: 4 4;
2277
+ }
2278
+
2255
2279
  .x1dz65qj {
2256
2280
  stroke-dasharray: 5 4;
2257
2281
  }
@@ -2565,6 +2589,10 @@
2565
2589
  white-space: pre;
2566
2590
  }
2567
2591
 
2592
+ .x13faqbe {
2593
+ word-break: break-word;
2594
+ }
2595
+
2568
2596
  .x98t3bc {
2569
2597
  writing-mode: vertical-rl;
2570
2598
  }
@@ -2645,7 +2673,7 @@
2645
2673
  align-items: stretch;
2646
2674
  }
2647
2675
 
2648
- .x1a2jpx9[aria-selected="true"] {
2676
+ .x1a2jpx9[aria-selected="true"], .x1sxamyl[data-selected] {
2649
2677
  background-color: var(--x197nfi7);
2650
2678
  }
2651
2679
 
@@ -3001,6 +3029,12 @@
3001
3029
  }
3002
3030
  }
3003
3031
 
3032
+ @container figure-grid (width <= 840px) {
3033
+ .x1kgop2p.x1kgop2p {
3034
+ grid-template-columns: minmax(0, 1fr);
3035
+ }
3036
+ }
3037
+
3004
3038
  @container inspector (width <= 860px) {
3005
3039
  .x1y7acmc.x1y7acmc {
3006
3040
  grid-template-columns: minmax(0, 1fr);
@@ -3013,6 +3047,12 @@
3013
3047
  }
3014
3048
  }
3015
3049
 
3050
+ @container figure-grid (width <= 1120px) {
3051
+ .x1u207gz.x1u207gz {
3052
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3053
+ }
3054
+ }
3055
+
3016
3056
  @container inspector (width <= 860px) {
3017
3057
  .xhuqrux.xhuqrux {
3018
3058
  padding-inline-start: 0;
@@ -3519,6 +3559,10 @@
3519
3559
  min-height: 1lh;
3520
3560
  }
3521
3561
 
3562
+ .xu97haq {
3563
+ min-height: 34px;
3564
+ }
3565
+
3522
3566
  .xwnajww {
3523
3567
  min-height: 40vh;
3524
3568
  }
@@ -4205,7 +4249,15 @@
4205
4249
  .x1mbwsne.x1mbwsne {
4206
4250
  display: block;
4207
4251
  }
4252
+ }
4208
4253
 
4254
+ @container workbench (width <= 860px) {
4255
+ .xbv8p1s.xbv8p1s {
4256
+ display: flex;
4257
+ }
4258
+ }
4259
+
4260
+ @container article (width >= 1120px) {
4209
4261
  .xwuzx6.xwuzx6 {
4210
4262
  display: none;
4211
4263
  }
@@ -4580,6 +4632,10 @@
4580
4632
  color: var(--x169lqhw);
4581
4633
  }
4582
4634
 
4635
+ .xxxwwxo:before {
4636
+ color: var(--x1x21x07);
4637
+ }
4638
+
4583
4639
  .xz7023x::placeholder {
4584
4640
  color: var(--x24btp3);
4585
4641
  }
@@ -4612,6 +4668,10 @@
4612
4668
  content: "␣";
4613
4669
  }
4614
4670
 
4671
+ .xnahlnb:before {
4672
+ content: none;
4673
+ }
4674
+
4615
4675
  .x1fgarty:before {
4616
4676
  display: block;
4617
4677
  }
@@ -4632,7 +4692,7 @@
4632
4692
  opacity: .45;
4633
4693
  }
4634
4694
 
4635
- .x2q1x1w:after {
4695
+ .x2q1x1w:after, .xkk1bqk:before {
4636
4696
  pointer-events: none;
4637
4697
  }
4638
4698
 
@@ -4668,6 +4728,10 @@
4668
4728
  border-inline-end-width: 0;
4669
4729
  }
4670
4730
 
4731
+ .xncqip6[data-empty]:before {
4732
+ content: attr(data-placeholder);
4733
+ }
4734
+
4671
4735
  .x1wzsryr[data-orientation="vertical"]:after {
4672
4736
  inset-inline-end: 0;
4673
4737
  }