@invopop/popui 0.0.107 → 0.0.109

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.
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import type { Badge, FeedItemStatus, TableField, TableIcon } from './types';
2
+ import type { Badge, FeedItemStatus, TableField } from './types';
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  field: TableField;
@@ -7,7 +7,7 @@ declare const __propDef: {
7
7
  isMobile?: boolean | undefined;
8
8
  badge?: Badge | null | undefined;
9
9
  status?: FeedItemStatus | null | undefined;
10
- icons?: TableIcon[] | null | undefined;
10
+ icons?: any[] | null | undefined;
11
11
  };
12
12
  events: {
13
13
  copied: CustomEvent<any>;
@@ -1,10 +1,9 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { type IconSource } from '@steeze-ui/svelte-icon';
3
2
  import type { StatusType } from './types.js';
4
3
  declare const __propDef: {
5
4
  props: {
6
5
  [x: string]: any;
7
- icon?: IconSource | undefined;
6
+ icon?: any;
8
7
  name?: string | undefined;
9
8
  disabled?: boolean | undefined;
10
9
  date?: string | undefined;
@@ -20,7 +20,7 @@ function updateItem(event) {
20
20
  </script>
21
21
 
22
22
  <div
23
- class="{widthClass} border border-neutral-200 py-1 rounded-2xl shadow-lg space-y-0.5 bg-white max-h-80 overflow-y-auto"
23
+ class="{widthClass} border border-neutral-200 py-0.5 rounded-2xl shadow-lg space-y-0.5 bg-white max-h-80 overflow-y-auto"
24
24
  >
25
25
  <slot />
26
26
  <ul class="space-y-0.5 max-h-80 overflow-y-auto">
@@ -1,5 +1,5 @@
1
1
  <script>import { Icon } from "@steeze-ui/svelte-icon";
2
- import { Alert, Failure, Queue, Running, Success, CheckBadge, Skip } from "@invopop/ui-icons";
2
+ import { Warning, Failure, Queue, Running, Success, CheckBadge, Skip } from "@invopop/ui-icons";
3
3
  export let status;
4
4
  $:
5
5
  iconStatus = getIconStatus(status);
@@ -9,7 +9,7 @@ function getIconStatus(status2) {
9
9
  success: Success,
10
10
  run: Running,
11
11
  queued: Queue,
12
- alert: Alert,
12
+ alert: Warning,
13
13
  skip: Skip,
14
14
  signed: CheckBadge
15
15
  };
@@ -1,12 +1,11 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { type IconSource } from '@steeze-ui/svelte-icon';
3
2
  declare const __propDef: {
4
3
  props: {
5
4
  [x: string]: any;
6
5
  value?: string | undefined;
7
6
  shortcut?: string | undefined;
8
7
  placeholder?: string | undefined;
9
- icon?: IconSource | undefined;
8
+ icon?: any;
10
9
  focusOnLoad?: boolean | undefined;
11
10
  focus?: (() => void) | undefined;
12
11
  toggle?: (() => void) | undefined;
@@ -1,5 +1,5 @@
1
1
  <script>import clsx from "clsx";
2
- import { Alert, Failure, Success } from "@invopop/ui-icons";
2
+ import { Warning, Failure, Success } from "@invopop/ui-icons";
3
3
  import { Icon } from "@steeze-ui/svelte-icon";
4
4
  export let message = "";
5
5
  export let type = "success";
@@ -24,7 +24,7 @@ function getIcon(type2) {
24
24
  case "error":
25
25
  return Failure;
26
26
  case "warning":
27
- return Alert;
27
+ return Warning;
28
28
  default:
29
29
  return null;
30
30
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.107",
4
+ "version": "0.0.109",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",
@@ -84,9 +84,9 @@
84
84
  "dependencies": {
85
85
  "@beyonk/svelte-datepicker": "^13.0.3",
86
86
  "@floating-ui/core": "^1.5.1",
87
- "@invopop/ui-icons": "0.0.70",
87
+ "@invopop/ui-icons": "0.0.71",
88
88
  "@steeze-ui/heroicons": "^2.2.3",
89
- "@steeze-ui/svelte-icon": "^1.5.0",
89
+ "@steeze-ui/svelte-icon": "1.3.2",
90
90
  "@twind/core": "^1.1.3",
91
91
  "@twind/preset-autoprefix": "^1.0.7",
92
92
  "@twind/preset-tailwind": "^1.1.4",