@canutin/svelte-currency-input 0.11.1 → 0.11.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.
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  value?: number | undefined;
@@ -30,6 +30,6 @@ declare const __propDef: {
30
30
  export type CurrencyInputProps = typeof __propDef.props;
31
31
  export type CurrencyInputEvents = typeof __propDef.events;
32
32
  export type CurrencyInputSlots = typeof __propDef.slots;
33
- export default class CurrencyInput extends SvelteComponent<CurrencyInputProps, CurrencyInputEvents, CurrencyInputSlots> {
33
+ export default class CurrencyInput extends SvelteComponentTyped<CurrencyInputProps, CurrencyInputEvents, CurrencyInputSlots> {
34
34
  }
35
35
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canutin/svelte-currency-input",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",
@@ -24,7 +24,7 @@
24
24
  "!dist/**/*.spec.*"
25
25
  ],
26
26
  "peerDependencies": {
27
- "svelte": "^4.0.0"
27
+ "svelte": "^3.59.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@playwright/test": "^1.39.0",
@@ -49,6 +49,8 @@
49
49
  "typescript": "^5.0.0",
50
50
  "vite": "^4.4.2"
51
51
  },
52
+ "svelte": "./dist/index.js",
53
+ "types": "./dist/index.d.ts",
52
54
  "type": "module",
53
55
  "description": "A form input that converts numbers to currencies as you type in localized formats",
54
56
  "keywords": [