@foxui/core 0.4.4 → 0.4.6

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.
@@ -14,7 +14,7 @@
14
14
  <div
15
15
  bind:this={ref}
16
16
  class={cn(
17
- 'border-base-300/50 bg-base-300/20 backdrop-blur-2xl dark:border-base-800/50 dark:bg-base-900/30 text-base-900 dark:text-base-100 relative isolate w-full overflow-hidden rounded-2xl border p-4',
17
+ 'border-base-300/50 bg-base-50/70 backdrop-blur-2xl dark:border-base-800/50 dark:bg-base-900/60 text-base-900 dark:text-base-100 relative isolate w-full overflow-hidden rounded-2xl border p-4',
18
18
  className
19
19
  )}
20
20
  {...restProps}
@@ -65,7 +65,6 @@
65
65
  WithElementRef<HTMLAnchorAttributes> & {
66
66
  variant?: ButtonVariant;
67
67
  size?: ButtonSize;
68
- checkCurrent?: boolean;
69
68
  };
70
69
  </script>
71
70
 
@@ -85,7 +84,7 @@
85
84
  {#if href}
86
85
  <a
87
86
  bind:this={ref}
88
- class={cn('rounded-box', buttonVariants({ variant, size }), className)}
87
+ class={cn(buttonVariants({ variant, size }), className)}
89
88
  {href}
90
89
  {...restProps}
91
90
  >
@@ -94,7 +93,7 @@
94
93
  {:else}
95
94
  <button
96
95
  bind:this={ref}
97
- class={cn('rounded-box', buttonVariants({ variant, size }), className)}
96
+ class={cn(buttonVariants({ variant, size }), className)}
98
97
  {type}
99
98
  {...restProps}
100
99
  >
@@ -103,7 +103,6 @@ export type ButtonSize = VariantProps<typeof buttonVariants>['size'];
103
103
  export type ButtonProps = WithElementRef<HTMLButtonAttributes> & WithElementRef<HTMLAnchorAttributes> & {
104
104
  variant?: ButtonVariant;
105
105
  size?: ButtonSize;
106
- checkCurrent?: boolean;
107
106
  };
108
107
  declare const Button: import("svelte").Component<ButtonProps, {}, "ref">;
109
108
  type Button = ReturnType<typeof Button>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@foxui/core",
3
3
  "private": false,
4
- "version": "0.4.4",
4
+ "version": "0.4.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"