@elabs-ai/components-editor 4.2.0 → 5.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elabs-ai/components-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"monaco-editor": "^0.55.1",
|
|
70
70
|
"react": "^18.2.0 || ^19.0.0",
|
|
71
71
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
72
|
-
"@elabs-ai/components-tokens": "
|
|
73
|
-
"@elabs-ai/components-ui": "
|
|
72
|
+
"@elabs-ai/components-tokens": "5.0.0",
|
|
73
|
+
"@elabs-ai/components-ui": "5.0.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"typescript": "^5.7.3",
|
|
91
91
|
"vitest": "^3.0.2",
|
|
92
92
|
"@elabs-ai/components-eslint-config": "0.1.0",
|
|
93
|
-
"@elabs-ai/components-tokens": "
|
|
93
|
+
"@elabs-ai/components-tokens": "5.0.0",
|
|
94
94
|
"@elabs-ai/components-typescript-config": "0.1.0",
|
|
95
|
-
"@elabs-ai/components-ui": "
|
|
95
|
+
"@elabs-ai/components-ui": "5.0.0"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"build": "rm -rf dist && tsup && node ../../scripts/link-dist-css.mjs",
|
|
@@ -391,9 +391,7 @@ export const CalcBlock = forwardRef<HTMLDivElement, CalcBlockProps>(function Cal
|
|
|
391
391
|
|
|
392
392
|
{showTotal && resolvedTotal != null && !empty ? (
|
|
393
393
|
<div className="flex items-center justify-between border-t border-border px-4 py-2">
|
|
394
|
-
<span className="text-
|
|
395
|
-
{totalLabel}
|
|
396
|
-
</span>
|
|
394
|
+
<span className="text-eyebrow uppercase text-muted-foreground">{totalLabel}</span>
|
|
397
395
|
<span className="font-mono text-code font-medium tabular-nums text-foreground">
|
|
398
396
|
{totalDisplay}
|
|
399
397
|
</span>
|
|
@@ -530,6 +530,7 @@ export const IterationContextMenu: Story = {
|
|
|
530
530
|
* to localStorage across runs.
|
|
531
531
|
*/
|
|
532
532
|
export const NodeMenuDark: Story = {
|
|
533
|
+
tags: ["!dev"],
|
|
533
534
|
name: "Iteration node menu (⋯ dropdown) — dark",
|
|
534
535
|
decorators: [
|
|
535
536
|
(Story) => (
|
|
@@ -543,6 +544,7 @@ export const NodeMenuDark: Story = {
|
|
|
543
544
|
};
|
|
544
545
|
|
|
545
546
|
export const NodeMenuHighDecoration: Story = {
|
|
547
|
+
tags: ["!dev"],
|
|
546
548
|
name: "Iteration node menu (⋯ dropdown) — high decoration",
|
|
547
549
|
globals: { decoration: "10" },
|
|
548
550
|
render: NodeMenu.render,
|
|
@@ -550,6 +552,7 @@ export const NodeMenuHighDecoration: Story = {
|
|
|
550
552
|
};
|
|
551
553
|
|
|
552
554
|
export const IterationContextMenuDark: Story = {
|
|
555
|
+
tags: ["!dev"],
|
|
553
556
|
name: "Iteration node menu (right-click) — dark",
|
|
554
557
|
decorators: [
|
|
555
558
|
(Story) => (
|
|
@@ -563,6 +566,7 @@ export const IterationContextMenuDark: Story = {
|
|
|
563
566
|
};
|
|
564
567
|
|
|
565
568
|
export const IterationContextMenuHighDecoration: Story = {
|
|
569
|
+
tags: ["!dev"],
|
|
566
570
|
name: "Iteration node menu (right-click) — high decoration",
|
|
567
571
|
globals: { decoration: "10" },
|
|
568
572
|
render: IterationContextMenu.render,
|
|
@@ -580,7 +584,7 @@ export const IterationContextMenuHighDecoration: Story = {
|
|
|
580
584
|
* stylesheet TEXT; this is the rendered-surface proof.
|
|
581
585
|
*/
|
|
582
586
|
export const FocusIndicator: Story = {
|
|
583
|
-
name: "
|
|
587
|
+
name: "Keyboard focus",
|
|
584
588
|
render: () => (
|
|
585
589
|
<div className="mx-auto max-w-3xl p-6">
|
|
586
590
|
<MarkdownEditor
|
|
@@ -661,7 +665,8 @@ export const FocusIndicator: Story = {
|
|
|
661
665
|
};
|
|
662
666
|
|
|
663
667
|
export const FocusIndicatorDark: Story = {
|
|
664
|
-
|
|
668
|
+
tags: ["!dev"],
|
|
669
|
+
name: "Keyboard focus — dark",
|
|
665
670
|
decorators: [
|
|
666
671
|
(Story) => (
|
|
667
672
|
<ThemeProvider defaultTheme="dark" storageKey={null}>
|
|
@@ -674,7 +679,8 @@ export const FocusIndicatorDark: Story = {
|
|
|
674
679
|
};
|
|
675
680
|
|
|
676
681
|
export const FocusIndicatorHighDecoration: Story = {
|
|
677
|
-
|
|
682
|
+
tags: ["!dev"],
|
|
683
|
+
name: "Keyboard focus — high decoration",
|
|
678
684
|
globals: { decoration: "10" },
|
|
679
685
|
render: FocusIndicator.render,
|
|
680
686
|
play: FocusIndicator.play,
|