@invopop/popui 0.0.117 → 0.0.118

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,11 +2,10 @@
2
2
  import FeedIconStatus from "./FeedIconStatus.svelte";
3
3
  import BaseFlag from "./BaseFlag.svelte";
4
4
  import { getCountryName } from "./helpers.js";
5
- import UuidCopy from "./UuidCopy.svelte";
6
5
  import { Icon } from "@steeze-ui/svelte-icon";
6
+ import ButtonUuidCopy from "./ButtonUuidCopy.svelte";
7
7
  export let field;
8
8
  export let data = "";
9
- export let isMobile = false;
10
9
  export let badge = null;
11
10
  export let status = null;
12
11
  export let icons = null;
@@ -23,16 +22,7 @@ export let icons = null;
23
22
  <span>{getCountryName(String(data))}</span>
24
23
  </span>
25
24
  {:else if field.copy && data}
26
- <UuidCopy
27
- rightAlign={isMobile ? false : field.rightAlign}
28
- uuid={String(data)}
29
- prefixLength={4}
30
- suffixLength={4}
31
- full
32
- compact
33
- dark={isMobile}
34
- on:copied
35
- />
25
+ <ButtonUuidCopy uuid={String(data)} full on:copied />
36
26
  {:else}
37
27
  <span class="hidden md:inline">{data}</span>
38
28
  <span class="md:hidden">{data ? data : badge || status ? '' : '-'}</span>
@@ -4,7 +4,6 @@ declare const __propDef: {
4
4
  props: {
5
5
  field: TableField;
6
6
  data?: unknown;
7
- isMobile?: boolean | undefined;
8
7
  badge?: Badge | null | undefined;
9
8
  status?: FeedItemStatus | null | undefined;
10
9
  icons?: any[] | null | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.117",
4
+ "version": "0.0.118",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",