@designa8/vibedesign-v6 1.10.6 → 1.12.1
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 +1 -1
- package/dist/index.cjs +967 -563
- package/dist/index.js +964 -560
- package/dist/styles.css +69 -48
- package/package.json +11 -1
- package/src/atoms/AppLayout/preview.tsx +5 -14
- package/src/atoms/ChatScreen/ChatScreen.tsx +205 -263
- package/src/atoms/ChatScreen/index.ts +1 -1
- package/src/atoms/ChatScreen/preview.tsx +39 -210
- package/src/atoms/ExportDesignMdModal/ExportDesignMdModal.tsx +322 -0
- package/src/atoms/ExportDesignMdModal/index.ts +6 -0
- package/src/atoms/ExportDesignMdModal/preview.tsx +30 -0
- package/src/atoms/Modal/Modal.tsx +11 -4
- package/src/atoms/PublishModal/PublishModal.tsx +342 -0
- package/src/atoms/PublishModal/index.ts +2 -0
- package/src/atoms/PublishModal/preview.tsx +37 -0
- package/src/index.ts +2 -0
package/dist/styles.css
CHANGED
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
45
45
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
46
46
|
--animate-spin: spin 1s linear infinite;
|
|
47
|
-
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
48
47
|
--default-transition-duration: 150ms;
|
|
49
48
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
50
49
|
--default-font-family: var(--font-body);
|
|
@@ -294,6 +293,9 @@
|
|
|
294
293
|
.collapse {
|
|
295
294
|
visibility: collapse;
|
|
296
295
|
}
|
|
296
|
+
.invisible {
|
|
297
|
+
visibility: hidden;
|
|
298
|
+
}
|
|
297
299
|
.visible {
|
|
298
300
|
visibility: visible;
|
|
299
301
|
}
|
|
@@ -326,6 +328,9 @@
|
|
|
326
328
|
.top-1 {
|
|
327
329
|
top: var(--spacing);
|
|
328
330
|
}
|
|
331
|
+
.top-sm {
|
|
332
|
+
top: var(--spacing-sm);
|
|
333
|
+
}
|
|
329
334
|
.-right-1\.5 {
|
|
330
335
|
right: calc(var(--spacing) * -1.5);
|
|
331
336
|
}
|
|
@@ -338,6 +343,9 @@
|
|
|
338
343
|
.right-md {
|
|
339
344
|
right: var(--spacing-md);
|
|
340
345
|
}
|
|
346
|
+
.right-sm {
|
|
347
|
+
right: var(--spacing-sm);
|
|
348
|
+
}
|
|
341
349
|
.bottom-full {
|
|
342
350
|
bottom: 100%;
|
|
343
351
|
}
|
|
@@ -398,6 +406,9 @@
|
|
|
398
406
|
.mt-xxs {
|
|
399
407
|
margin-top: var(--spacing-xxs);
|
|
400
408
|
}
|
|
409
|
+
.-mb-px {
|
|
410
|
+
margin-bottom: -1px;
|
|
411
|
+
}
|
|
401
412
|
.mb-0 {
|
|
402
413
|
margin-bottom: 0;
|
|
403
414
|
}
|
|
@@ -454,10 +465,6 @@
|
|
|
454
465
|
.inline-flex {
|
|
455
466
|
display: inline-flex;
|
|
456
467
|
}
|
|
457
|
-
.size-2\.5 {
|
|
458
|
-
width: calc(var(--spacing) * 2.5);
|
|
459
|
-
height: calc(var(--spacing) * 2.5);
|
|
460
|
-
}
|
|
461
468
|
.size-3 {
|
|
462
469
|
width: calc(var(--spacing) * 3);
|
|
463
470
|
height: calc(var(--spacing) * 3);
|
|
@@ -486,9 +493,6 @@
|
|
|
486
493
|
.\!h-full {
|
|
487
494
|
height: 100% !important;
|
|
488
495
|
}
|
|
489
|
-
.h-1\.5 {
|
|
490
|
-
height: calc(var(--spacing) * 1.5);
|
|
491
|
-
}
|
|
492
496
|
.h-2 {
|
|
493
497
|
height: calc(var(--spacing) * 2);
|
|
494
498
|
}
|
|
@@ -540,6 +544,9 @@
|
|
|
540
544
|
.h-sm {
|
|
541
545
|
height: var(--spacing-sm);
|
|
542
546
|
}
|
|
547
|
+
.max-h-64 {
|
|
548
|
+
max-height: calc(var(--spacing) * 64);
|
|
549
|
+
}
|
|
543
550
|
.min-h-0 {
|
|
544
551
|
min-height: 0;
|
|
545
552
|
}
|
|
@@ -567,9 +574,6 @@
|
|
|
567
574
|
.w-2\.5 {
|
|
568
575
|
width: calc(var(--spacing) * 2.5);
|
|
569
576
|
}
|
|
570
|
-
.w-2\/3 {
|
|
571
|
-
width: calc(2 / 3 * 100%);
|
|
572
|
-
}
|
|
573
577
|
.w-3 {
|
|
574
578
|
width: calc(var(--spacing) * 3);
|
|
575
579
|
}
|
|
@@ -588,6 +592,12 @@
|
|
|
588
592
|
.w-5\/6 {
|
|
589
593
|
width: calc(5 / 6 * 100%);
|
|
590
594
|
}
|
|
595
|
+
.w-6 {
|
|
596
|
+
width: calc(var(--spacing) * 6);
|
|
597
|
+
}
|
|
598
|
+
.w-9 {
|
|
599
|
+
width: calc(var(--spacing) * 9);
|
|
600
|
+
}
|
|
591
601
|
.w-10 {
|
|
592
602
|
width: calc(var(--spacing) * 10);
|
|
593
603
|
}
|
|
@@ -600,9 +610,6 @@
|
|
|
600
610
|
.w-16 {
|
|
601
611
|
width: calc(var(--spacing) * 16);
|
|
602
612
|
}
|
|
603
|
-
.w-28 {
|
|
604
|
-
width: calc(var(--spacing) * 28);
|
|
605
|
-
}
|
|
606
613
|
.w-64 {
|
|
607
614
|
width: calc(var(--spacing) * 64);
|
|
608
615
|
}
|
|
@@ -618,6 +625,9 @@
|
|
|
618
625
|
.w-full {
|
|
619
626
|
width: 100%;
|
|
620
627
|
}
|
|
628
|
+
.w-px {
|
|
629
|
+
width: 1px;
|
|
630
|
+
}
|
|
621
631
|
.max-w-2xl {
|
|
622
632
|
max-width: var(--container-2xl);
|
|
623
633
|
}
|
|
@@ -692,15 +702,15 @@
|
|
|
692
702
|
.rotate-0 {
|
|
693
703
|
rotate: 0deg;
|
|
694
704
|
}
|
|
705
|
+
.rotate-90 {
|
|
706
|
+
rotate: 90deg;
|
|
707
|
+
}
|
|
695
708
|
.rotate-180 {
|
|
696
709
|
rotate: 180deg;
|
|
697
710
|
}
|
|
698
711
|
.transform {
|
|
699
712
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
700
713
|
}
|
|
701
|
-
.animate-pulse {
|
|
702
|
-
animation: var(--animate-pulse);
|
|
703
|
-
}
|
|
704
714
|
.animate-spin {
|
|
705
715
|
animation: var(--animate-spin);
|
|
706
716
|
}
|
|
@@ -725,6 +735,9 @@
|
|
|
725
735
|
.list-none {
|
|
726
736
|
list-style-type: none;
|
|
727
737
|
}
|
|
738
|
+
.grid-cols-1 {
|
|
739
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
740
|
+
}
|
|
728
741
|
.grid-cols-2 {
|
|
729
742
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
730
743
|
}
|
|
@@ -853,20 +866,6 @@
|
|
|
853
866
|
margin-block-end: calc(var(--spacing-xxs) * calc(1 - var(--tw-space-y-reverse)));
|
|
854
867
|
}
|
|
855
868
|
}
|
|
856
|
-
.divide-y {
|
|
857
|
-
:where(& > :not(:last-child)) {
|
|
858
|
-
--tw-divide-y-reverse: 0;
|
|
859
|
-
border-bottom-style: var(--tw-border-style);
|
|
860
|
-
border-top-style: var(--tw-border-style);
|
|
861
|
-
border-top-width: calc(1px * var(--tw-divide-y-reverse));
|
|
862
|
-
border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
.divide-hairline-soft {
|
|
866
|
-
:where(& > :not(:last-child)) {
|
|
867
|
-
border-color: var(--color-hairline-soft);
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
869
|
.truncate {
|
|
871
870
|
overflow: hidden;
|
|
872
871
|
text-overflow: ellipsis;
|
|
@@ -953,6 +952,10 @@
|
|
|
953
952
|
border-bottom-style: var(--tw-border-style);
|
|
954
953
|
border-bottom-width: 1px;
|
|
955
954
|
}
|
|
955
|
+
.border-b-2 {
|
|
956
|
+
border-bottom-style: var(--tw-border-style);
|
|
957
|
+
border-bottom-width: 2px;
|
|
958
|
+
}
|
|
956
959
|
.border-l {
|
|
957
960
|
border-left-style: var(--tw-border-style);
|
|
958
961
|
border-left-width: 1px;
|
|
@@ -976,9 +979,18 @@
|
|
|
976
979
|
.border-primary-disabled {
|
|
977
980
|
border-color: var(--color-primary-disabled);
|
|
978
981
|
}
|
|
982
|
+
.border-primary\/30 {
|
|
983
|
+
border-color: color-mix(in srgb, #6B63D6 30%, transparent);
|
|
984
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
985
|
+
border-color: color-mix(in oklab, var(--color-primary) 30%, transparent);
|
|
986
|
+
}
|
|
987
|
+
}
|
|
979
988
|
.border-semantic-error {
|
|
980
989
|
border-color: var(--color-semantic-error);
|
|
981
990
|
}
|
|
991
|
+
.border-semantic-success {
|
|
992
|
+
border-color: var(--color-semantic-success);
|
|
993
|
+
}
|
|
982
994
|
.border-transparent {
|
|
983
995
|
border-color: transparent;
|
|
984
996
|
}
|
|
@@ -997,6 +1009,9 @@
|
|
|
997
1009
|
.bg-hairline {
|
|
998
1010
|
background-color: var(--color-hairline);
|
|
999
1011
|
}
|
|
1012
|
+
.bg-hairline-soft {
|
|
1013
|
+
background-color: var(--color-hairline-soft);
|
|
1014
|
+
}
|
|
1000
1015
|
.bg-hairline-strong {
|
|
1001
1016
|
background-color: var(--color-hairline-strong);
|
|
1002
1017
|
}
|
|
@@ -1018,6 +1033,12 @@
|
|
|
1018
1033
|
.bg-primary-hover {
|
|
1019
1034
|
background-color: var(--color-primary-hover);
|
|
1020
1035
|
}
|
|
1036
|
+
.bg-primary\/10 {
|
|
1037
|
+
background-color: color-mix(in srgb, #6B63D6 10%, transparent);
|
|
1038
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1039
|
+
background-color: color-mix(in oklab, var(--color-primary) 10%, transparent);
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1021
1042
|
.bg-semantic-error {
|
|
1022
1043
|
background-color: var(--color-semantic-error);
|
|
1023
1044
|
}
|
|
@@ -1102,6 +1123,9 @@
|
|
|
1102
1123
|
.\!py-0 {
|
|
1103
1124
|
padding-block: 0 !important;
|
|
1104
1125
|
}
|
|
1126
|
+
.\!py-sm {
|
|
1127
|
+
padding-block: var(--spacing-sm) !important;
|
|
1128
|
+
}
|
|
1105
1129
|
.\!py-xs {
|
|
1106
1130
|
padding-block: var(--spacing-xs) !important;
|
|
1107
1131
|
}
|
|
@@ -1165,12 +1189,21 @@
|
|
|
1165
1189
|
.pl-sm {
|
|
1166
1190
|
padding-left: var(--spacing-sm);
|
|
1167
1191
|
}
|
|
1192
|
+
.\!text-left {
|
|
1193
|
+
text-align: left !important;
|
|
1194
|
+
}
|
|
1168
1195
|
.text-center {
|
|
1169
1196
|
text-align: center;
|
|
1170
1197
|
}
|
|
1171
1198
|
.text-left {
|
|
1172
1199
|
text-align: left;
|
|
1173
1200
|
}
|
|
1201
|
+
.text-right {
|
|
1202
|
+
text-align: right;
|
|
1203
|
+
}
|
|
1204
|
+
.font-mono {
|
|
1205
|
+
font-family: var(--font-mono);
|
|
1206
|
+
}
|
|
1174
1207
|
.\!text-body-sm {
|
|
1175
1208
|
font-size: var(--text-body-sm) !important;
|
|
1176
1209
|
line-height: var(--tw-leading, var(--text-body-sm--line-height)) !important;
|
|
@@ -1298,18 +1331,12 @@
|
|
|
1298
1331
|
.italic {
|
|
1299
1332
|
font-style: italic;
|
|
1300
1333
|
}
|
|
1301
|
-
.line-through {
|
|
1302
|
-
text-decoration-line: line-through;
|
|
1303
|
-
}
|
|
1304
1334
|
.underline {
|
|
1305
1335
|
text-decoration-line: underline;
|
|
1306
1336
|
}
|
|
1307
1337
|
.opacity-0 {
|
|
1308
1338
|
opacity: 0%;
|
|
1309
1339
|
}
|
|
1310
|
-
.opacity-15 {
|
|
1311
|
-
opacity: 15%;
|
|
1312
|
-
}
|
|
1313
1340
|
.opacity-20 {
|
|
1314
1341
|
opacity: 20%;
|
|
1315
1342
|
}
|
|
@@ -1660,6 +1687,11 @@
|
|
|
1660
1687
|
width: auto;
|
|
1661
1688
|
}
|
|
1662
1689
|
}
|
|
1690
|
+
.md\:grid-cols-2 {
|
|
1691
|
+
@media (width >= 48rem) {
|
|
1692
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1663
1695
|
.md\:flex-nowrap {
|
|
1664
1696
|
@media (width >= 48rem) {
|
|
1665
1697
|
flex-wrap: nowrap;
|
|
@@ -1781,11 +1813,6 @@
|
|
|
1781
1813
|
inherits: false;
|
|
1782
1814
|
initial-value: 0;
|
|
1783
1815
|
}
|
|
1784
|
-
@property --tw-divide-y-reverse {
|
|
1785
|
-
syntax: "*";
|
|
1786
|
-
inherits: false;
|
|
1787
|
-
initial-value: 0;
|
|
1788
|
-
}
|
|
1789
1816
|
@property --tw-border-style {
|
|
1790
1817
|
syntax: "*";
|
|
1791
1818
|
inherits: false;
|
|
@@ -1934,11 +1961,6 @@
|
|
|
1934
1961
|
transform: rotate(360deg);
|
|
1935
1962
|
}
|
|
1936
1963
|
}
|
|
1937
|
-
@keyframes pulse {
|
|
1938
|
-
50% {
|
|
1939
|
-
opacity: 0.5;
|
|
1940
|
-
}
|
|
1941
|
-
}
|
|
1942
1964
|
@layer properties {
|
|
1943
1965
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
1944
1966
|
*, ::before, ::after, ::backdrop {
|
|
@@ -1954,7 +1976,6 @@
|
|
|
1954
1976
|
--tw-skew-x: initial;
|
|
1955
1977
|
--tw-skew-y: initial;
|
|
1956
1978
|
--tw-space-y-reverse: 0;
|
|
1957
|
-
--tw-divide-y-reverse: 0;
|
|
1958
1979
|
--tw-border-style: solid;
|
|
1959
1980
|
--tw-leading: initial;
|
|
1960
1981
|
--tw-font-weight: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designa8/vibedesign-v6",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "Design system \"Plasma Design System\" generated by atom-server.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -74,6 +74,11 @@
|
|
|
74
74
|
"kind": "Atom",
|
|
75
75
|
"description": null
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"name": "ExportDesignMdModal",
|
|
79
|
+
"kind": "Organism",
|
|
80
|
+
"description": null
|
|
81
|
+
},
|
|
77
82
|
{
|
|
78
83
|
"name": "FilterTabBar",
|
|
79
84
|
"kind": "Atom",
|
|
@@ -109,6 +114,11 @@
|
|
|
109
114
|
"kind": "Molecule",
|
|
110
115
|
"description": null
|
|
111
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"name": "PublishModal",
|
|
119
|
+
"kind": "Organism",
|
|
120
|
+
"description": null
|
|
121
|
+
},
|
|
112
122
|
{
|
|
113
123
|
"name": "TopNavbar",
|
|
114
124
|
"kind": "Organism",
|
|
@@ -16,20 +16,11 @@ const sampleMessages: ChatMessage[] = [
|
|
|
16
16
|
role: "ai",
|
|
17
17
|
content:
|
|
18
18
|
"I'll build a polished landing page with a hero, feature grid, and a 3-tier pricing section. Here's the plan:",
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
id: "p3",
|
|
26
|
-
label: "Create pricing card component",
|
|
27
|
-
status: "in_progress",
|
|
28
|
-
currentTool: "Writing atom…",
|
|
29
|
-
},
|
|
30
|
-
{ id: "p4", label: "Wire up responsiveness", status: "pending" },
|
|
31
|
-
],
|
|
32
|
-
},
|
|
19
|
+
timeline: [
|
|
20
|
+
{ id: "p1", kind: "thinking", label: "Scaffold page layout", status: "done" },
|
|
21
|
+
{ id: "p2", kind: "write", label: "Build hero section with CTA", status: "done" },
|
|
22
|
+
{ id: "p3", kind: "write", label: "Create pricing card component", status: "running" },
|
|
23
|
+
],
|
|
33
24
|
},
|
|
34
25
|
{
|
|
35
26
|
id: "3",
|