@likable-hair/svelte 3.0.2 → 3.0.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.
@@ -34,12 +34,12 @@ export let input = void 0, value = void 0;
34
34
  placeholder="Find something..."
35
35
  maxlength="512"
36
36
  tabindex="0"
37
- class="input {clazz.input}"
38
37
  bind:this={input}
39
38
  bind:value={value}
40
39
  on:input
41
40
  on:change
42
41
  on:keydown
42
+ class="input {clazz.input}"
43
43
  />
44
44
  </slot>
45
45
  </div>
@@ -22,12 +22,12 @@ function handleOverlayClick() {
22
22
  class={clazz.container || ''}
23
23
  >
24
24
  <header
25
- class="side-bar {clazz.header}"
26
25
  class:opened={drawerOpened}
26
+ class="side-bar {clazz.header}"
27
27
  >
28
28
  <div
29
- class="header-toolbar"
30
29
  class:opened-drawer={drawerOpened}
30
+ class="header-toolbar"
31
31
  >
32
32
  <slot name="menu">
33
33
  <div class="inner-menu">
@@ -54,10 +54,10 @@ function handleOverlayClick() {
54
54
  </header>
55
55
  <div class="main-section {clazz.mainSection || ''}">
56
56
  <div
57
- class="overlay {clazz.overlay || ''}"
58
57
  on:click={handleOverlayClick}
59
58
  on:keypress={handleOverlayClick}
60
59
  class:visible={drawerOpened}
60
+ class="overlay {clazz.overlay || ''}"
61
61
  ></div>
62
62
  <div
63
63
  class="content"
@@ -28,13 +28,13 @@ import CircularLoader from "../loaders/CircularLoader.svelte";
28
28
  <button
29
29
  type={type}
30
30
  style:position
31
- class="button no-select {clazz || ''}"
32
31
  class:button-default={buttonType === "default"}
33
32
  class:button-text={buttonType === "text"}
34
33
  class:button-icon={buttonType === "icon"}
35
34
  on:click={handleClick}
36
35
  on:keypress={handleKeyPress}
37
36
  tabindex={tabindex}
37
+ class="button no-select {clazz || ''}"
38
38
  >
39
39
  {#if loading}
40
40
  <div
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair",
4
- "version": "3.0.2",
4
+ "version": "3.0.3",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",