@r2digisolutions/ui 0.24.10 → 0.25.3

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.
@@ -20,7 +20,7 @@ interface Base<TValue = unknown> {
20
20
  currentTarget: HTMLInputElement;
21
21
  }) => void;
22
22
  }
23
- export interface ITextInputProps extends Base<string | null> {
23
+ export interface ITextInputProps extends Base<string | null | number> {
24
24
  type: 'text';
25
25
  minlength?: number;
26
26
  maxlength?: number;
@@ -7,8 +7,6 @@ export class StoreI18n {
7
7
  this.#translations = translations;
8
8
  }
9
9
  t = $derived.by(() => {
10
- this.#language;
11
- this.#translations;
12
10
  return (key, params = {}) => {
13
11
  const translations = this.#translations?.[this.#language || this.#defaultLanguage];
14
12
  const translation = this.#getTranslationValue(translations, key);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@r2digisolutions/ui",
3
- "version": "0.24.10",
3
+ "version": "0.25.3",
4
4
  "private": false,
5
- "packageManager": "bun@1.2.23",
5
+ "packageManager": "bun@1.3.1",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -44,50 +44,50 @@
44
44
  }
45
45
  },
46
46
  "peerDependencies": {
47
- "svelte": "^5.0.0"
47
+ "svelte": "5.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@changesets/cli": "^2.29.7",
51
- "@chromatic-com/storybook": "^4.1.1",
52
- "@eslint/compat": "^1.4.0",
53
- "@playwright/test": "^1.56.0",
54
- "@storybook/addon-essentials": "^8.6.14",
55
- "@storybook/addon-interactions": "^8.6.14",
50
+ "@changesets/cli": "2.29.7",
51
+ "@chromatic-com/storybook": "4.1.2",
52
+ "@eslint/compat": "1.4.1",
53
+ "@playwright/test": "1.56.1",
54
+ "@storybook/addon-essentials": "8.6.14",
55
+ "@storybook/addon-interactions": "8.6.14",
56
56
  "@storybook/addon-svelte-csf": "5.0.10",
57
- "@storybook/blocks": "^8.6.14",
58
- "@storybook/svelte": "^9.1.10",
59
- "@storybook/sveltekit": "^9.1.10",
60
- "@storybook/test": "^8.6.14",
61
- "@sveltejs/adapter-static": "^3.0.10",
62
- "@sveltejs/kit": "^2.46.1",
63
- "@sveltejs/package": "^2.5.4",
64
- "@sveltejs/vite-plugin-svelte": "^6.2.1",
65
- "@tailwindcss/postcss": "^4.1.14",
66
- "@testing-library/svelte": "^5.2.8",
67
- "@vitest/browser": "^3.2.4",
68
- "changeset": "^0.2.6",
69
- "eslint": "^9.37.0",
70
- "eslint-config-prettier": "^10.1.8",
71
- "eslint-plugin-svelte": "^3.12.4",
72
- "globals": "^16.4.0",
73
- "jsdom": "^27.0.0",
74
- "lucide-svelte": "^0.545.0",
75
- "prettier": "^3.6.2",
76
- "prettier-plugin-svelte": "^3.4.0",
77
- "prettier-plugin-tailwindcss": "^0.6.14",
78
- "publint": "^0.3.14",
79
- "storybook": "^9.1.10",
80
- "svelte": "^5.39.9",
81
- "svelte-check": "^4.3.2",
82
- "tailwindcss": "^4.1.14",
83
- "typescript": "^5.9.3",
84
- "typescript-eslint": "^8.46.0",
85
- "vite": "^7.1.9",
86
- "vitest": "^3.2.4"
57
+ "@storybook/blocks": "8.6.14",
58
+ "@storybook/svelte": "10.0.1",
59
+ "@storybook/sveltekit": "10.0.1",
60
+ "@storybook/test": "8.6.14",
61
+ "@sveltejs/adapter-static": "3.0.10",
62
+ "@sveltejs/kit": "2.48.3",
63
+ "@sveltejs/package": "2.5.4",
64
+ "@sveltejs/vite-plugin-svelte": "6.2.1",
65
+ "@tailwindcss/postcss": "4.1.16",
66
+ "@testing-library/svelte": "5.2.8",
67
+ "@vitest/browser": "4.0.5",
68
+ "changeset": "0.2.6",
69
+ "eslint": "9.38.0",
70
+ "eslint-config-prettier": "10.1.8",
71
+ "eslint-plugin-svelte": "3.13.0",
72
+ "globals": "16.4.0",
73
+ "jsdom": "27.0.1",
74
+ "lucide-svelte": "0.548.0",
75
+ "prettier": "3.6.2",
76
+ "prettier-plugin-svelte": "3.4.0",
77
+ "prettier-plugin-tailwindcss": "0.7.1",
78
+ "publint": "0.3.15",
79
+ "storybook": "10.0.1",
80
+ "svelte": "5.43.1",
81
+ "svelte-check": "4.3.3",
82
+ "tailwindcss": "4.1.16",
83
+ "typescript": "5.9.3",
84
+ "typescript-eslint": "8.46.2",
85
+ "vite": "7.1.12",
86
+ "vitest": "4.0.5"
87
87
  },
88
88
  "dependencies": {
89
- "@tailwindcss/container-queries": "^0.1.1",
90
- "@tailwindcss/forms": "^0.5.10",
91
- "@tailwindcss/typography": "^0.5.19"
89
+ "@tailwindcss/container-queries": "0.1.1",
90
+ "@tailwindcss/forms": "0.5.10",
91
+ "@tailwindcss/typography": "0.5.19"
92
92
  }
93
93
  }