fluent-svelte-extra 1.1.3 → 1.1.4

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.
@@ -51,12 +51,6 @@ let subMenuQueue = {
51
51
  $: dispatch(open ? "open" : "close");
52
52
  $: if (open && menu && tabbable(subMenuElement).length > 0)
53
53
  tabbable(subMenuElement)[0].focus();
54
- function close(event) {
55
- setTimeout(() => {
56
- if (!cascading && closeFlyout)
57
- closeFlyout(event);
58
- });
59
- }
60
54
  function handleKeyDown(event) {
61
55
  const { key, target } = event;
62
56
  if (key === "Enter" || key === " ") {
@@ -109,7 +103,6 @@ function handleMouseLeave() {
109
103
  class:indented
110
104
  use:forwardEvents
111
105
  bind:this={element}
112
- on:click={close}
113
106
  on:mouseenter={handleMouseEnter}
114
107
  on:mouseleave={handleMouseLeave}
115
108
  on:keydown={handleKeyDown}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluent-svelte-extra",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A faithful implementation of Microsoft's Fluent Design System in Svelte.",
5
5
  "homepage": "https://github.com/OpenAnime/fluent-svelte-extra",
6
6
  "license": "MIT",