poe-svelte-ui-lib 1.9.13 → 1.9.14

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.
@@ -447,16 +447,18 @@
447
447
  >
448
448
  {#if text?.modal}
449
449
  <button
450
- class="w-fit cursor-pointer text-left"
450
+ class={twMerge("w-fit cursor-pointer text-left", text.class)}
451
451
  onclick={(e) => {
452
452
  e.stopPropagation()
453
453
  showModal(data, text?.formatting)
454
454
  }}
455
455
  >
456
- {@html data}
456
+ {data}
457
457
  </button>
458
458
  {:else}
459
- {@html data}
459
+ <span class={text.class}>
460
+ {data}
461
+ </span>
460
462
  {/if}
461
463
  </div>
462
464
 
@@ -534,6 +536,7 @@
534
536
  <Button
535
537
  content={{ name: $t("constructor.props.copy") }}
536
538
  wrapperClass="w-50"
539
+ componentClass="bg-blue"
537
540
  onClick={() => {
538
541
  navigator.clipboard.writeText(modalData.rawData ?? "")
539
542
  modalData.isOpen = false
package/dist/types.d.ts CHANGED
@@ -303,6 +303,7 @@ export interface ITableText<T extends object> {
303
303
  formatting?: (text: string) => string;
304
304
  copy?: boolean;
305
305
  modal?: boolean;
306
+ class?: string;
306
307
  }
307
308
  export interface ITableSelect<T extends object> {
308
309
  key: keyof T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-svelte-ui-lib",
3
- "version": "1.9.13",
3
+ "version": "1.9.14",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {