@designa8/vibedesign-linear-internal-v1-b737 0.11.4 → 0.11.5
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @designa8/vibedesign-linear-internal-v1-b737
|
|
2
2
|
|
|
3
|
-
Complete design system generated by Atoms Design, version **0.11.
|
|
3
|
+
Complete design system generated by Atoms Design, version **0.11.5**.
|
|
4
4
|
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
5
|
never hardcode visual values in consumer code.
|
|
6
6
|
|
package/dist/styles.css
CHANGED
|
@@ -695,12 +695,6 @@
|
|
|
695
695
|
.h-64 {
|
|
696
696
|
height: calc(var(--spacing) * 64);
|
|
697
697
|
}
|
|
698
|
-
.h-80 {
|
|
699
|
-
height: calc(var(--spacing) * 80);
|
|
700
|
-
}
|
|
701
|
-
.h-96 {
|
|
702
|
-
height: calc(var(--spacing) * 96);
|
|
703
|
-
}
|
|
704
698
|
.h-base {
|
|
705
699
|
height: var(--spacing-base);
|
|
706
700
|
}
|
|
@@ -725,9 +719,6 @@
|
|
|
725
719
|
.max-h-72 {
|
|
726
720
|
max-height: calc(var(--spacing) * 72);
|
|
727
721
|
}
|
|
728
|
-
.max-h-80 {
|
|
729
|
-
max-height: calc(var(--spacing) * 80);
|
|
730
|
-
}
|
|
731
722
|
.max-h-96 {
|
|
732
723
|
max-height: calc(var(--spacing) * 96);
|
|
733
724
|
}
|
package/package.json
CHANGED
|
@@ -12,7 +12,8 @@ export interface CodeEditorFile {
|
|
|
12
12
|
source: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export interface CodeEditorProps
|
|
15
|
+
export interface CodeEditorProps
|
|
16
|
+
extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
16
17
|
files: CodeEditorFile[];
|
|
17
18
|
/** Name of the visible file. Falls back to the first file. */
|
|
18
19
|
activeFile?: string;
|
|
@@ -70,8 +70,8 @@ export default function CodeEditorPreview() {
|
|
|
70
70
|
}));
|
|
71
71
|
|
|
72
72
|
return (
|
|
73
|
-
<div className="mx-auto w-full max-w-3xl space-y-
|
|
74
|
-
<section className="space-y-
|
|
73
|
+
<div className="mx-auto w-full max-w-3xl space-y-md p-md">
|
|
74
|
+
<section className="space-y-xs">
|
|
75
75
|
<p className="text-overline text-muted-soft">Read-only viewer</p>
|
|
76
76
|
<CodeEditor
|
|
77
77
|
files={files}
|
|
@@ -80,7 +80,7 @@ export default function CodeEditorPreview() {
|
|
|
80
80
|
folderLabel="atoms"
|
|
81
81
|
pathPrefix="atoms / CardShell"
|
|
82
82
|
onCopy={() => setCopies((count) => count + 1)}
|
|
83
|
-
className="h-
|
|
83
|
+
className="h-64 max-h-64 min-h-0"
|
|
84
84
|
/>
|
|
85
85
|
<p className="text-caption text-muted" aria-live="polite">
|
|
86
86
|
{copies === 0
|
|
@@ -89,20 +89,7 @@ export default function CodeEditorPreview() {
|
|
|
89
89
|
</p>
|
|
90
90
|
</section>
|
|
91
91
|
|
|
92
|
-
<section className="space-y-
|
|
93
|
-
<p className="text-overline text-muted-soft">Writing (streaming) state</p>
|
|
94
|
-
<CodeEditor
|
|
95
|
-
files={files}
|
|
96
|
-
activeFile="tokens.css"
|
|
97
|
-
onActiveFileChange={() => {}}
|
|
98
|
-
folderLabel="tokens"
|
|
99
|
-
pathPrefix="tokens / generated"
|
|
100
|
-
streamingFileNames={["tokens.css"]}
|
|
101
|
-
className="h-80 max-h-80 min-h-0"
|
|
102
|
-
/>
|
|
103
|
-
</section>
|
|
104
|
-
|
|
105
|
-
<section className="space-y-sm">
|
|
92
|
+
<section className="space-y-xs">
|
|
106
93
|
<p className="text-overline text-muted-soft">Editable with line gutter</p>
|
|
107
94
|
<CodeEditor
|
|
108
95
|
files={files}
|
|
@@ -114,20 +101,7 @@ export default function CodeEditorPreview() {
|
|
|
114
101
|
onChange={(name, source) =>
|
|
115
102
|
setDraft((prev) => ({ ...prev, [name]: source }))
|
|
116
103
|
}
|
|
117
|
-
className="h-
|
|
118
|
-
/>
|
|
119
|
-
</section>
|
|
120
|
-
|
|
121
|
-
<section className="space-y-sm">
|
|
122
|
-
<p className="text-overline text-muted-soft">Scoped dark theme</p>
|
|
123
|
-
<CodeEditor
|
|
124
|
-
files={files}
|
|
125
|
-
activeFile="manifest.json"
|
|
126
|
-
onActiveFileChange={() => {}}
|
|
127
|
-
folderLabel="config"
|
|
128
|
-
pathPrefix="config / manifest"
|
|
129
|
-
dark
|
|
130
|
-
className="h-80 max-h-80 min-h-0"
|
|
104
|
+
className="h-64 max-h-64 min-h-0"
|
|
131
105
|
/>
|
|
132
106
|
</section>
|
|
133
107
|
</div>
|