@likable-hair/svelte 0.0.71 → 0.0.72

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
- <script>export let title = "", items = [], hideOnScroll = true, initialRemoveShadow = false, initialBackgroundColor = undefined, backgroundColor = 'white', color = undefined, mobileMenu = true, zIndex = 25;
1
+ <script>export let title = "", items = [], hideOnScroll = true, initialRemoveShadow = false, initialBackgroundColor = undefined, backgroundColor = 'white', color = undefined, drawerBackgroundColor = 'white', drawerColor = undefined, mobileMenu = true, zIndex = 25;
2
2
  let scrollY, lastScrollY, visible = true;
3
3
  function handleScroll() {
4
4
  if (hideOnScroll) {
@@ -33,8 +33,8 @@ import Drawer from './Drawer.svelte';
33
33
  {#if mobileMenu }
34
34
  <Drawer
35
35
  bind:open={openDrawer}
36
- backgroundColor={backgroundColor}
37
- color={color}
36
+ backgroundColor={drawerBackgroundColor}
37
+ color={drawerColor}
38
38
  items={items}
39
39
  on:item-click
40
40
  >
@@ -9,6 +9,8 @@ declare const __propDef: {
9
9
  initialBackgroundColor?: string;
10
10
  backgroundColor?: string;
11
11
  color?: string;
12
+ drawerBackgroundColor?: string;
13
+ drawerColor?: string;
12
14
  mobileMenu?: boolean;
13
15
  zIndex?: number;
14
16
  openDrawer?: boolean;
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": "0.0.71",
4
+ "version": "0.0.72",
5
5
  "devDependencies": {
6
6
  "@sveltejs/adapter-auto": "next",
7
7
  "@sveltejs/kit": "next",