svecosystem / paneforge

Resizable pane components for Svelte.
https://paneforge.com
MIT License
370 stars 3 forks source link

Unintentional console.log() in pane-resizer.svelte ? #20

Closed kytozuk closed 4 months ago

kytozuk commented 4 months ago

Describe the bug

I think you accidentally left the console.log in the pane-resizer.svelte file when you merged #17. I'm using PaneForge in a SvelteKit project and it's logging the CSS to the browser console as well as the terminal.

https://github.com/svecosystem/paneforge/blob/2761c17f410be558e621ef3fba0afb12b0d7c3e8/packages/paneforge/src/lib/components/pane-resizer.svelte#L111

Reproduction

Use PaneResizer in a Svelte file will produce the log.

<script>
  import * as ResizablePrimitive from 'paneforge';
</script>

<ResizablePrimitive.PaneResizer />

Logs

No response

System Info

System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M1
    Memory: 91.11 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.1 - /usr/local/bin/node
    npm: 10.5.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 123.0.6312.122
    Safari: 16.5.2
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.5.5 
    paneforge: ^0.0.3 => 0.0.3 
    svelte: ^4.2.7 => 4.2.12

Severity

annoyance