@adea-ai/ui 0.11.0 → 0.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/dist/components/account-drawer.d.ts +1 -1
- package/dist/components/account-drawer.js +12 -12
- package/dist/components/on-screen-controls.js +12 -12
- package/dist/components/scene-settings.d.ts +3 -3
- package/dist/components/scene-settings.js +11 -11
- package/dist/components/theme-provider.d.ts +1 -1
- package/dist/components/theme-provider.js +2 -2
- package/dist/components/theme-toggle.js +8 -8
- package/dist/components/ui/badge.d.ts +3 -3
- package/dist/components/ui/badge.js +15 -15
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.js +19 -19
- package/dist/components/ui/card.d.ts +1 -1
- package/dist/components/ui/card.js +3 -3
- package/dist/components/ui/dialog.d.ts +4 -4
- package/dist/components/ui/dialog.js +10 -10
- package/dist/components/ui/drawer.d.ts +5 -5
- package/dist/components/ui/drawer.js +26 -26
- package/dist/components/ui/dropdown-menu.d.ts +5 -5
- package/dist/components/ui/dropdown-menu.js +12 -12
- package/dist/components/ui/empty.d.ts +7 -7
- package/dist/components/ui/empty.js +11 -11
- package/dist/components/ui/field.d.ts +12 -12
- package/dist/components/ui/field.js +22 -22
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/input.js +3 -3
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/label.js +3 -3
- package/dist/components/ui/radio-group.d.ts +2 -2
- package/dist/components/ui/radio-group.js +6 -6
- package/dist/components/ui/separator.d.ts +1 -1
- package/dist/components/ui/separator.js +5 -5
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton.js +2 -2
- package/dist/components/ui/spinner.d.ts +2 -2
- package/dist/components/ui/spinner.js +3 -3
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/switch.js +5 -5
- package/dist/components/ui/tabs.d.ts +2 -2
- package/dist/components/ui/tabs.js +13 -13
- package/dist/components/ui/toggle-group.d.ts +6 -6
- package/dist/components/ui/toggle-group.js +13 -13
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/toggle.js +11 -11
- package/dist/components/ui/tooltip.d.ts +3 -3
- package/dist/components/ui/tooltip.js +5 -5
- package/dist/components/version-dialog.d.ts +1 -1
- package/dist/components/version-dialog.js +33 -33
- package/dist/components/workspace-brand.js +1 -1
- package/dist/components/workspace-logo.d.ts +1 -1
- package/dist/index.d.ts +19 -19
- package/dist/index.js +19 -19
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.js +2 -2
- package/dist/lib/version-notes.js +18 -18
- package/package.json +9 -9
- package/src/components/account-drawer.tsx +27 -27
- package/src/components/on-screen-controls.tsx +45 -45
- package/src/components/scene-settings.tsx +55 -55
- package/src/components/theme-provider.tsx +7 -7
- package/src/components/theme-toggle.tsx +20 -20
- package/src/components/ui/badge.tsx +20 -20
- package/src/components/ui/button.tsx +24 -24
- package/src/components/ui/card.tsx +6 -6
- package/src/components/ui/dialog.tsx +24 -24
- package/src/components/ui/drawer.tsx +55 -55
- package/src/components/ui/dropdown-menu.tsx +39 -39
- package/src/components/ui/empty.tsx +25 -25
- package/src/components/ui/field.tsx +55 -55
- package/src/components/ui/input.tsx +7 -7
- package/src/components/ui/label.tsx +7 -7
- package/src/components/ui/radio-group.tsx +9 -9
- package/src/components/ui/separator.tsx +7 -7
- package/src/components/ui/skeleton.tsx +5 -5
- package/src/components/ui/spinner.tsx +6 -6
- package/src/components/ui/switch.tsx +8 -8
- package/src/components/ui/tabs.tsx +21 -21
- package/src/components/ui/toggle-group.tsx +25 -25
- package/src/components/ui/toggle.tsx +15 -15
- package/src/components/ui/tooltip.tsx +13 -13
- package/src/components/version-dialog.tsx +113 -113
- package/src/components/workspace-brand.tsx +4 -4
- package/src/components/workspace-logo.tsx +2 -2
- package/src/index.tsx +19 -19
- package/src/lib/utils.ts +3 -3
- package/src/lib/version-notes.ts +23 -23
- package/src/styles/conventional-workspace.css +26 -26
- package/src/styles/globals.css +2 -2
- package/src/styles/theme.css +1 -1
- package/src/styles/workspace-shell.css +2 -2
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
|
|
83
83
|
.global-rail__workspace-menu > button:hover,
|
|
84
84
|
.global-rail__workspace-menu > button:focus-visible,
|
|
85
|
-
.global-rail__workspace-menu > button[aria-checked=
|
|
85
|
+
.global-rail__workspace-menu > button[aria-checked='true'] {
|
|
86
86
|
background: var(--accent);
|
|
87
87
|
color: var(--accent-foreground);
|
|
88
88
|
outline: none;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
height: 1.5rem;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.global-rail__button[aria-pressed=
|
|
108
|
+
.global-rail__button[aria-pressed='true']::after {
|
|
109
109
|
position: absolute;
|
|
110
110
|
top: 0.45rem;
|
|
111
111
|
right: -0.46rem;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
width: 2px;
|
|
114
114
|
border-radius: 999px;
|
|
115
115
|
background: var(--foreground);
|
|
116
|
-
content:
|
|
116
|
+
content: '';
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.global-rail__search {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
|
|
125
125
|
.global-rail__search kbd {
|
|
126
126
|
color: var(--muted-foreground);
|
|
127
|
-
font-family:
|
|
127
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
|
|
128
128
|
font-size: 0.55rem;
|
|
129
129
|
letter-spacing: 0.02em;
|
|
130
130
|
line-height: 1;
|
|
@@ -146,21 +146,21 @@
|
|
|
146
146
|
border-radius: 0.75rem;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.global-account-menu [data-slot=
|
|
149
|
+
.global-account-menu [data-slot='dropdown-menu-item'] {
|
|
150
150
|
min-height: 2.25rem;
|
|
151
151
|
gap: 0.65rem;
|
|
152
152
|
padding: 0.45rem 0.55rem;
|
|
153
153
|
font-size: 0.86rem;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.global-account-menu [data-slot=
|
|
156
|
+
.global-account-menu [data-slot='dropdown-menu-item'] svg {
|
|
157
157
|
width: 1.05rem;
|
|
158
158
|
height: 1.05rem;
|
|
159
159
|
color: var(--muted-foreground);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.global-account-menu [data-slot=
|
|
163
|
-
.global-account-menu [data-slot=
|
|
162
|
+
.global-account-menu [data-slot='dropdown-menu-item']:not([data-disabled]):hover svg,
|
|
163
|
+
.global-account-menu [data-slot='dropdown-menu-item']:focus svg {
|
|
164
164
|
color: currentColor;
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -521,12 +521,12 @@
|
|
|
521
521
|
height: 2rem;
|
|
522
522
|
flex-shrink: 0;
|
|
523
523
|
}
|
|
524
|
-
.conventional-channel-actions [data-slot=
|
|
525
|
-
.conventional-room-actions [data-slot=
|
|
524
|
+
.conventional-channel-actions [data-slot='dropdown-menu-trigger'],
|
|
525
|
+
.conventional-room-actions [data-slot='dropdown-menu-trigger'] {
|
|
526
526
|
background: var(--cw-sidebar-hover);
|
|
527
527
|
}
|
|
528
|
-
.conventional-channel-actions [data-slot=
|
|
529
|
-
.conventional-room-actions [data-slot=
|
|
528
|
+
.conventional-channel-actions [data-slot='dropdown-menu-trigger']:hover,
|
|
529
|
+
.conventional-room-actions [data-slot='dropdown-menu-trigger']:hover {
|
|
530
530
|
background: color-mix(in srgb, var(--cw-sidebar-hover) 70%, var(--cw-text));
|
|
531
531
|
}
|
|
532
532
|
.conventional-room-actions button svg,
|
|
@@ -544,9 +544,9 @@
|
|
|
544
544
|
flex: 1;
|
|
545
545
|
}
|
|
546
546
|
.conventional-room-select:hover,
|
|
547
|
-
.conventional-room-select[aria-current=
|
|
547
|
+
.conventional-room-select[aria-current='page'],
|
|
548
548
|
.conventional-channel-list > li > button:hover,
|
|
549
|
-
.conventional-channel-list > li > button[aria-current=
|
|
549
|
+
.conventional-channel-list > li > button[aria-current='page'] {
|
|
550
550
|
background: var(--cw-sidebar-hover);
|
|
551
551
|
color: var(--cw-text);
|
|
552
552
|
}
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
height: 1px;
|
|
824
824
|
flex: 1;
|
|
825
825
|
background: var(--cw-border);
|
|
826
|
-
content:
|
|
826
|
+
content: '';
|
|
827
827
|
}
|
|
828
828
|
.conventional-date-divider span {
|
|
829
829
|
padding: 0.22rem 0.65rem;
|
|
@@ -1593,7 +1593,7 @@
|
|
|
1593
1593
|
.conventional-dependency-results button:hover {
|
|
1594
1594
|
background: var(--cw-surface-muted);
|
|
1595
1595
|
}
|
|
1596
|
-
.conventional-dependency-results button[aria-pressed=
|
|
1596
|
+
.conventional-dependency-results button[aria-pressed='true'] {
|
|
1597
1597
|
border-color: var(--cw-accent);
|
|
1598
1598
|
background: var(--cw-accent-soft);
|
|
1599
1599
|
color: var(--cw-accent-strong);
|
|
@@ -1743,7 +1743,7 @@
|
|
|
1743
1743
|
color: var(--cw-text);
|
|
1744
1744
|
font-size: 0.82rem;
|
|
1745
1745
|
}
|
|
1746
|
-
.conventional-detail-panel input[type=
|
|
1746
|
+
.conventional-detail-panel input[type='checkbox'] {
|
|
1747
1747
|
width: 1rem;
|
|
1748
1748
|
height: 1rem;
|
|
1749
1749
|
min-height: 0;
|
|
@@ -1789,7 +1789,7 @@
|
|
|
1789
1789
|
color: var(--cw-text);
|
|
1790
1790
|
resize: vertical;
|
|
1791
1791
|
}
|
|
1792
|
-
.conventional-detail-panel input:not([type=
|
|
1792
|
+
.conventional-detail-panel input:not([type='checkbox']),
|
|
1793
1793
|
.conventional-inline-form input,
|
|
1794
1794
|
.conventional-inline-form textarea,
|
|
1795
1795
|
.conventional-inline-form select,
|
|
@@ -1891,7 +1891,7 @@
|
|
|
1891
1891
|
height: 2.5rem;
|
|
1892
1892
|
border-radius: 0.75rem;
|
|
1893
1893
|
}
|
|
1894
|
-
.conventional-dialog > .conventional-dialog__header [data-slot=
|
|
1894
|
+
.conventional-dialog > .conventional-dialog__header [data-slot='dialog-description'] {
|
|
1895
1895
|
margin-top: 0.25rem;
|
|
1896
1896
|
color: var(--cw-muted);
|
|
1897
1897
|
font-size: 0.82rem;
|
|
@@ -1936,7 +1936,7 @@
|
|
|
1936
1936
|
}
|
|
1937
1937
|
.conventional-template-options button:hover,
|
|
1938
1938
|
.conventional-search-results button:hover,
|
|
1939
|
-
.conventional-search-results button[aria-selected=
|
|
1939
|
+
.conventional-search-results button[aria-selected='true'] {
|
|
1940
1940
|
background: var(--cw-surface-muted);
|
|
1941
1941
|
outline: 2px solid var(--cw-focus);
|
|
1942
1942
|
outline-offset: -2px;
|
|
@@ -2130,7 +2130,7 @@
|
|
|
2130
2130
|
overflow: auto;
|
|
2131
2131
|
padding: 0.8rem 1.25rem 1.25rem;
|
|
2132
2132
|
}
|
|
2133
|
-
.plugins-browser[data-filter-open=
|
|
2133
|
+
.plugins-browser[data-filter-open='true'] .plugins-browser__list {
|
|
2134
2134
|
pointer-events: none;
|
|
2135
2135
|
}
|
|
2136
2136
|
.plugins-browser__group + .plugins-browser__group {
|
|
@@ -2380,12 +2380,12 @@
|
|
|
2380
2380
|
color: var(--cw-muted);
|
|
2381
2381
|
}
|
|
2382
2382
|
.conventional-settings-nav button:hover,
|
|
2383
|
-
.conventional-settings-nav button[aria-selected=
|
|
2383
|
+
.conventional-settings-nav button[aria-selected='true'] {
|
|
2384
2384
|
background: var(--cw-surface);
|
|
2385
2385
|
color: var(--cw-accent-strong);
|
|
2386
2386
|
font-weight: 700;
|
|
2387
2387
|
}
|
|
2388
|
-
.conventional-settings-nav button[aria-selected=
|
|
2388
|
+
.conventional-settings-nav button[aria-selected='true'] svg {
|
|
2389
2389
|
color: var(--cw-accent-strong);
|
|
2390
2390
|
}
|
|
2391
2391
|
.conventional-settings-panel {
|
|
@@ -2427,7 +2427,7 @@
|
|
|
2427
2427
|
margin: 0 0 0.2rem;
|
|
2428
2428
|
font-size: 0.9rem;
|
|
2429
2429
|
}
|
|
2430
|
-
.conventional-settings-row input:not([type=
|
|
2430
|
+
.conventional-settings-row input:not([type='checkbox']) {
|
|
2431
2431
|
width: min(13rem, 44%);
|
|
2432
2432
|
min-height: 2.4rem;
|
|
2433
2433
|
padding: 0 0.65rem;
|
|
@@ -2436,7 +2436,7 @@
|
|
|
2436
2436
|
background: var(--cw-surface);
|
|
2437
2437
|
color: var(--cw-text);
|
|
2438
2438
|
}
|
|
2439
|
-
.conventional-settings-row input[type=
|
|
2439
|
+
.conventional-settings-row input[type='checkbox'] {
|
|
2440
2440
|
width: 1.1rem;
|
|
2441
2441
|
height: 1.1rem;
|
|
2442
2442
|
accent-color: var(--cw-accent-strong);
|
|
@@ -2624,7 +2624,7 @@
|
|
|
2624
2624
|
.conventional-settings-row {
|
|
2625
2625
|
align-items: flex-start;
|
|
2626
2626
|
}
|
|
2627
|
-
.conventional-settings-row input:not([type=
|
|
2627
|
+
.conventional-settings-row input:not([type='checkbox']) {
|
|
2628
2628
|
width: 9rem;
|
|
2629
2629
|
flex: none;
|
|
2630
2630
|
}
|
package/src/styles/globals.css
CHANGED
package/src/styles/theme.css
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
/* Product expectation (see cursor-check.spec.ts): every enabled button
|
|
84
84
|
shows the pointer cursor regardless of Tailwind preflight defaults. */
|
|
85
85
|
button:not(:disabled),
|
|
86
|
-
[role=
|
|
86
|
+
[role='button']:not([aria-disabled='true']) {
|
|
87
87
|
cursor: pointer;
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
border-radius: 0.55rem;
|
|
59
59
|
color: var(--hq-shell-accent-foreground);
|
|
60
60
|
background: var(--hq-shell-accent);
|
|
61
|
-
font-family:
|
|
61
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
|
|
62
62
|
font-size: 0.75rem;
|
|
63
63
|
font-weight: 800;
|
|
64
64
|
letter-spacing: -0.08em;
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
/* Room Designer owns the viewport while it is open. Keep the global rail
|
|
124
124
|
* available for workspace, scene, and plugin navigation, but remove controls
|
|
125
125
|
* that would compete with the editor canvas. */
|
|
126
|
-
.workspace-scene-viewport:has([data-room-designer-active=
|
|
126
|
+
.workspace-scene-viewport:has([data-room-designer-active='true'])
|
|
127
127
|
.workspace-ui
|
|
128
128
|
:is(
|
|
129
129
|
.virtual-room-panel,
|