@websline/system-components 1.3.8 → 1.3.10

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.
@@ -66,6 +66,7 @@
66
66
  })}
67
67
  onclick={handleClose}
68
68
  onmouseenter={handleMouseOver}
69
+ type="button"
69
70
  {...rest}>
70
71
  <Icon class="relative z-10" name="closeSmall" size={16} />
71
72
  {#if animate}
@@ -37,6 +37,7 @@
37
37
  size,
38
38
  variant,
39
39
  })}
40
+ type="button"
40
41
  {...rest}>
41
42
  {#if icon}
42
43
  <Icon name={icon} size={14} />
@@ -68,7 +68,7 @@
68
68
 
69
69
  <Popover.Root open={isOpen} onOpenChange={(open) => (isOpen = open)}>
70
70
  <Popover.Trigger>
71
- <button class={styles.base({ class: className })} {...rest}>
71
+ <button class={styles.base({ class: className })} type="button" {...rest}>
72
72
  <div class={styles.iconText()} style={style()}>
73
73
  {@render content()}
74
74
  </div>
@@ -44,7 +44,7 @@
44
44
  // prevent input click from colliding with card clicks
45
45
  onclick: (e) => e.stopPropagation(),
46
46
  });
47
- let styles = $derived(selectorCardVariants({ checked, disabled, error, type }));
47
+ let styles = $derived(selectorCardVariants({ disabled, error, type }));
48
48
 
49
49
  let localHelperText = $derived.by(() => {
50
50
  if (error && errorText) {
@@ -25,9 +25,6 @@ const selectorCardVariants = tv({
25
25
  switch: "items-center",
26
26
  },
27
27
  },
28
- compoundVariants: [
29
- { type: "radio", checked: true, class: "bg-neutral-100 dark:bg-neutral-700" },
30
- ],
31
28
  });
32
29
 
33
30
  export { selectorCardVariants };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websline/system-components",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },