@stubber/ui 1.7.0 → 1.7.2

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.
@@ -2,10 +2,10 @@
2
2
  import { createEventDispatcher, tick } from "svelte";
3
3
  import { slide } from "svelte/transition";
4
4
  import { quintOut } from "svelte/easing";
5
- import * as Popover from "@stubber/ui/popover";
6
- import * as Command from "@stubber/ui/command";
7
- import * as Tooltip from "@stubber/ui/tooltip";
8
- import { Button } from "@stubber/ui/button";
5
+ import * as Popover from "./popover/index";
6
+ import * as Command from "./command/index";
7
+ import * as Tooltip from "./tooltip/index";
8
+ import { Button } from "./button/index";
9
9
  import { toast } from "svelte-sonner";
10
10
 
11
11
  export let orgs = [];
@@ -64,7 +64,7 @@
64
64
  class="w-full sm:w-[280px] pl-3 pr-3 py-2 h-auto border-surface-100 transition-colors group justify-start"
65
65
  >
66
66
  <div class="flex items-center w-full">
67
- <div class="flex items-center justify-center mr-3">
67
+ <div class="flex items-center justify-center mr-3 flex-shrink-0">
68
68
  {#if selectedOrg?.filesrc && !loading}
69
69
  <img
70
70
  class="h-[25px] w-[25px] object-cover rounded-full"
@@ -151,7 +151,7 @@
151
151
  class="pr-12"
152
152
  >
153
153
  <div class="flex items-center w-full">
154
- <div class="flex items-center justify-center mr-3">
154
+ <div class="flex items-center justify-center mr-3 flex-shrink-0">
155
155
  {#if org.filesrc}
156
156
  <img
157
157
  class="h-[25px] w-[25px] object-cover rounded-full"
@@ -1,9 +1,9 @@
1
1
  <script>
2
2
  import { createEventDispatcher, tick } from "svelte";
3
- import * as Popover from "@stubber/ui/popover";
4
- import * as Command from "@stubber/ui/command";
5
- import * as Tooltip from "@stubber/ui/tooltip";
6
- import { Button } from "@stubber/ui/button";
3
+ import * as Popover from "./popover/index";
4
+ import * as Command from "./command/index";
5
+ import * as Tooltip from "./tooltip/index";
6
+ import { Button } from "./button/index";
7
7
  import { toast } from "svelte-sonner";
8
8
 
9
9
  export let orgs = [];
@@ -4,7 +4,7 @@ declare const __propDef: {
4
4
  [x: string]: any;
5
5
  class?: string | undefined;
6
6
  href?: string | undefined | undefined;
7
- variant?: "secondary" | "outline" | "default" | "destructive" | undefined;
7
+ variant?: "secondary" | "default" | "destructive" | "outline" | undefined;
8
8
  as?: "span" | "a" | "button" | undefined;
9
9
  };
10
10
  events: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stubber/ui",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && pnpm run package && node ./fix_dts_imports.js",