@stubber/ui 1.13.4 → 1.13.6

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.
@@ -7,7 +7,7 @@ export let readonly = void 0;
7
7
 
8
8
  <textarea
9
9
  class={cn(
10
- "border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
10
+ "border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid]:border-destructive aria-[invalid]:ring-destructive/50 aria-[invalid]:focus-visible:ring-destructive/50",
11
11
  className
12
12
  )}
13
13
  bind:value
@@ -19,10 +19,10 @@ let builderUrl = `${builderOrigin}/_/drive/folders`;
19
19
  <!-- Stubs -->
20
20
  <Button
21
21
  href={stubsUrl}
22
- class="h-20 w-20 {active_app == 'stubs' ? 'bg-surface-100 opacity-40' : ''}"
22
+ class="h-20 w-20 hover:bg-surface-100 {active_app == 'stubs' ? 'bg-surface-50' : ''}"
23
23
  variant="ghost"
24
24
  >
25
- <div class="flex flex-col items-center space-y-2 text-surface-700">
25
+ <div class="flex flex-col items-center space-y-2 {active_app == 'stubs' ? 'text-primary' : 'text-surface-700'}">
26
26
  <i class="fa-regular fa-list-tree fa-2x" />
27
27
  <p class="text-label">Stubs</p>
28
28
  </div>
@@ -30,10 +30,10 @@ let builderUrl = `${builderOrigin}/_/drive/folders`;
30
30
  <!-- Console -->
31
31
  <Button
32
32
  href={consoleUrl}
33
- class="h-20 w-20 {active_app == 'console' ? 'bg-surface-100 opacity-40' : ''}"
33
+ class="h-20 w-20 hover:bg-surface-100 {active_app == 'console' ? 'bg-surface-50' : ''}"
34
34
  variant="ghost"
35
35
  >
36
- <div class="flex flex-col items-center space-y-2 text-surface-700">
36
+ <div class="flex flex-col items-center space-y-2 {active_app == 'console' ? 'text-primary' : 'text-surface-700'}">
37
37
  <i class="fa-solid fa-sliders-simple fa-2x" />
38
38
  <p class="text-label">Console</p>
39
39
  </div>
@@ -41,10 +41,10 @@ let builderUrl = `${builderOrigin}/_/drive/folders`;
41
41
  <!-- Builder -->
42
42
  <Button
43
43
  href={builderUrl}
44
- class="h-20 w-20 {active_app == 'builder' ? 'bg-surface-100 opacity-40' : ''}"
44
+ class="h-20 w-20 hover:bg-surface-100 {active_app == 'builder' ? 'bg-surface-50' : ''}"
45
45
  variant="ghost"
46
46
  >
47
- <div class="flex flex-col items-center space-y-2 text-surface-700">
47
+ <div class="flex flex-col items-center space-y-2 {active_app == 'builder' ? 'text-primary' : 'text-surface-700'}">
48
48
  <i class="fa-regular fa-diagram-subtask fa-2x" />
49
49
  <p class="text-label">Builder</p>
50
50
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stubber/ui",
3
- "version": "1.13.4",
3
+ "version": "1.13.6",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && pnpm run package && node ./fix_dts_imports.js",