@invopop/popui 0.0.42 → 0.0.44

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.
@@ -17,6 +17,8 @@ $:
17
17
  country = selectedCompany?.country || "";
18
18
  $:
19
19
  picture = selectedCompany?.logo_url || "";
20
+ $:
21
+ isSandbox = selectedCompany?.sandbox;
20
22
  $:
21
23
  items = [
22
24
  ...companies.map((c) => ({
@@ -64,7 +66,12 @@ function selectCompany(event) {
64
66
  <span class:space-x-2={!collapsed} class="flex items-center">
65
67
  <ProfileAvatar {name} {picture} {country} dark large />
66
68
  {#if !collapsed}
67
- <div class="whitespace-nowrap max-w-[140px] truncate tracking-tight">{name}</div>
69
+ <div>
70
+ <div class="whitespace-nowrap max-w-[140px] truncate tracking-tight">{name}</div>
71
+ {#if isSandbox}
72
+ <div class="text-sm font-medium text-yellow-600">Sandbox</div>
73
+ {/if}
74
+ </div>
68
75
  {/if}
69
76
  </span>
70
77
  {#if !collapsed}
@@ -28,7 +28,7 @@ $:
28
28
  </script>
29
29
 
30
30
  <div class="w-[300px] border border-neutral-200 rounded-md shadow-lg bg-white">
31
- <div class="max-h-[60vh] overflow-y-auto rounded-sm">
31
+ <div class="max-h-[60vh] overflow-y-auto rounded-md">
32
32
  <button
33
33
  class="flex items-center justify-between bg-neutral-50 border-b border-neutral-200 rounded-t-sm h-9 py-2 pl-2.5 pr-3 text-base font-medium text-neutral-800 w-full"
34
34
  on:click={() => {
@@ -59,7 +59,7 @@ $:
59
59
  />
60
60
  </div>
61
61
  {/if}
62
- <ul class="p-1 pb-0.5 space-y-1">
62
+ <ul class="p-1 space-y-1">
63
63
  {#each liveItems as item}
64
64
  <DrawerContextItem {item} {multiple} workspace on:click />
65
65
  {/each}
@@ -97,7 +97,7 @@ $:
97
97
  />
98
98
  </div>
99
99
  {/if}
100
- <ul class="p-1 pb-0.5 space-y-1">
100
+ <ul class="p-1 space-y-1">
101
101
  {#each sandboxItems as item}
102
102
  <DrawerContextItem {item} {multiple} workspace on:click />
103
103
  {/each}
@@ -106,7 +106,7 @@ $:
106
106
  {/if}
107
107
  </div>
108
108
 
109
- <ul class="px-1 space-y-1 bg-neutral-50 rounded-b border-t border-neutral-100">
109
+ <ul class="px-1 space-y-1 bg-neutral-50 rounded-b border-t border-neutral-100 py-1">
110
110
  <li class="pl-1.5 py-1.5 pr-2 hover:bg-neutral-100 rounded-sm">
111
111
  <button
112
112
  class="flex items-center space-x-1.5 w-full"
@@ -93,6 +93,7 @@ declare namespace _default {
93
93
  300: string;
94
94
  400: string;
95
95
  500: string;
96
+ 600: string;
96
97
  };
97
98
  let blue: {
98
99
  50: string;
package/dist/tw.theme.js CHANGED
@@ -96,7 +96,8 @@ export default {
96
96
  200: 'rgba(215, 135, 0, 0.2)',
97
97
  300: 'rgba(215, 135, 0, 0.3)',
98
98
  400: 'rgba(215, 135, 0, 0.4)',
99
- 500: '#D78700'
99
+ 500: '#D78700',
100
+ 600: '#FAD744'
100
101
  },
101
102
  blue: {
102
103
  50: 'rgba(0, 101, 183, 0.05)',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.42",
4
+ "version": "0.0.44",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",