@tuspe/components 1.9.1 → 1.9.2

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.
@@ -36,7 +36,9 @@
36
36
  )
37
37
 
38
38
  onMount(() => {
39
- classes += outerClass ? ` ${outerClass}` : ' border-bottom'
39
+ if (outerClass) {
40
+ classes += ` ${outerClass}`
41
+ }
40
42
  })
41
43
  </script>
42
44
 
@@ -63,8 +65,9 @@
63
65
 
64
66
  <style scoped>
65
67
  #breadcrumb {
66
- white-space: nowrap;
68
+ overflow: hidden;
67
69
  text-overflow: ellipsis;
70
+ white-space: nowrap;
68
71
  }
69
72
 
70
73
  #breadcrumb li {
@@ -13,7 +13,7 @@
13
13
  color = 'white',
14
14
  colorBg = 'primary',
15
15
  control,
16
- disabled,
16
+ disabled = $bindable(),
17
17
  extraClass,
18
18
  fill,
19
19
  fontWeight = 'bold',
@@ -1,4 +1,4 @@
1
1
  import type { ButtonView } from './types';
2
- declare const Button: import("svelte").Component<ButtonView, {}, "">;
2
+ declare const Button: import("svelte").Component<ButtonView, {}, "disabled">;
3
3
  type Button = ReturnType<typeof Button>;
4
4
  export default Button;
@@ -5,7 +5,7 @@
5
5
  children,
6
6
  onchange,
7
7
  checked = $bindable(false),
8
- disabled,
8
+ disabled = $bindable(false),
9
9
  group = $bindable(),
10
10
  id,
11
11
  outerClass,
@@ -1,4 +1,4 @@
1
1
  import type { CheckboxView } from './types';
2
- declare const Checkbox: import("svelte").Component<CheckboxView, {}, "checked" | "group">;
2
+ declare const Checkbox: import("svelte").Component<CheckboxView, {}, "disabled" | "checked" | "group">;
3
3
  type Checkbox = ReturnType<typeof Checkbox>;
4
4
  export default Checkbox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuspe/components",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "A reusable SvelteKit component library for form elements, breadcrumbs, prices and images.",
5
5
  "keywords": [
6
6
  "svelteKit",
@@ -48,22 +48,23 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@eslint/compat": "^1.2.9",
51
- "@eslint/js": "^9.26.0",
51
+ "@eslint/js": "^9.27.0",
52
52
  "@sveltejs/adapter-static": "^3.0.8",
53
- "@sveltejs/kit": "^2.21.0",
53
+ "@sveltejs/enhanced-img": "^0.6.0",
54
+ "@sveltejs/kit": "^2.21.1",
54
55
  "@sveltejs/package": "^2.3.11",
55
56
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
57
+ "eslint": "^9.27.0",
56
58
  "eslint-config-prettier": "^10.1.5",
57
- "eslint-plugin-svelte": "^3.6.0",
58
- "eslint": "^9.26.0",
59
+ "eslint-plugin-svelte": "^3.8.1",
59
60
  "globals": "^16.1.0",
60
- "prettier-plugin-svelte": "^3.3.3",
61
61
  "prettier": "^3.5.3",
62
+ "prettier-plugin-svelte": "^3.4.0",
62
63
  "publint": "^0.3.12",
63
- "svelte-check": "^4.1.7",
64
- "svelte": "^5.28.6",
65
- "typescript-eslint": "^8.32.1",
64
+ "svelte": "^5.30.2",
65
+ "svelte-check": "^4.2.1",
66
66
  "typescript": "^5.8.3",
67
+ "typescript-eslint": "^8.32.1",
67
68
  "vite": "^6.3.5"
68
69
  },
69
70
  "scripts": {