poe-svelte-ui-lib 1.0.12 → 1.0.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.
@@ -59,7 +59,7 @@
59
59
  class="{twMerge(
60
60
  `relative m-0 inline-block w-full items-center rounded-2xl
61
61
  px-2 py-1 font-semibold transition duration-200 select-none
62
- ${content.icon && !content.name ? 'bg-transparent p-0' : 'border border-[var(--bg-color)] '}
62
+ ${content.icon && !content.name ? 'bg-transparent p-0' : 'bg-blue border border-[var(--bg-color)] '}
63
63
  ${disabled ? 'cursor-not-allowed opacity-50' : 'cursor-pointer active:scale-97'} `,
64
64
  componentClass,
65
65
  )} bg-[var(--bg-color)]"
@@ -77,7 +77,7 @@
77
77
  {#if content?.icon}
78
78
  <span
79
79
  class={`flex items-center justify-center overflow-visible
80
- ${content.name ? 'h-8 w-8' : `${componentClass}`} [&_svg]:h-full [&_svg]:max-h-full [&_svg]:w-full [&_svg]:max-w-full`}
80
+ ${content.name ? 'h-8 w-8' : `${wrapperClass}`} [&_svg]:h-full [&_svg]:max-h-full [&_svg]:w-full [&_svg]:max-w-full`}
81
81
  >
82
82
  {#if content?.icon}
83
83
  {@const IconComponent = content?.icon}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-svelte-ui-lib",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {