@webamoki/web-svelte 0.5.6 → 0.5.7

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.
@@ -54,7 +54,7 @@
54
54
  ...restProps
55
55
  }: ButtonProps = $props();
56
56
 
57
- let pointer = disabled ? '' : 'cursor-pointer';
57
+ let pointer = $derived(disabled ? '' : 'cursor-pointer');
58
58
  </script>
59
59
 
60
60
  <!-- eslint-disable svelte/no-navigation-without-resolve -->
@@ -62,7 +62,7 @@
62
62
  <a
63
63
  bind:this={ref}
64
64
  data-slot="button"
65
- class={cn(buttonVariants({ variant, size }), className, pointer)}
65
+ class={cn(buttonVariants({ variant, size }), pointer, className)}
66
66
  href={disabled ? undefined : href}
67
67
  aria-disabled={disabled}
68
68
  role={disabled ? 'link' : undefined}
@@ -75,7 +75,7 @@
75
75
  <button
76
76
  bind:this={ref}
77
77
  data-slot="button"
78
- class={cn(buttonVariants({ variant, size }), className, pointer)}
78
+ class={cn(buttonVariants({ variant, size }), pointer, className)}
79
79
  {type}
80
80
  {disabled}
81
81
  {...restProps}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.5.6",
6
+ "version": "0.5.7",
7
7
  "license": "MIT",
8
8
  "files": [
9
9
  "dist",