@invopop/popui 0.0.99 → 0.0.100

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.
@@ -56,8 +56,9 @@ onMount(() => {
56
56
  readonly={disabled}
57
57
  {...$$restProps}
58
58
  on:input={handleInput}
59
- on:focus={() => dispatch('focus')}
60
- on:blur={(e) => dispatch('blur', e)}
59
+ on:focus
60
+ on:blur
61
+ on:keydown
61
62
  />
62
63
  {#if errorText}
63
64
  <InputError {errorText} />
@@ -11,8 +11,9 @@ declare const __propDef: {
11
11
  focusOnLoad?: boolean | undefined;
12
12
  };
13
13
  events: {
14
- focus: CustomEvent<any>;
15
- blur: CustomEvent<any>;
14
+ focus: FocusEvent;
15
+ blur: FocusEvent;
16
+ keydown: KeyboardEvent;
16
17
  input: CustomEvent<any>;
17
18
  } & {
18
19
  [evt: string]: CustomEvent<any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.99",
4
+ "version": "0.0.100",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",